Giter VIP home page Giter VIP logo

lime-qml's People

Contributors

deadsnakes-issues-bot avatar erbridge avatar palob avatar ricochet1k avatar thewhitetulip avatar zoli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lime-qml's Issues

AppImage for Linux

Providing an AppImage would have, among others, these advantages:

  • Applications packaged as an AppImage can run on many distributions (including Ubuntu, Fedora, openSUSE, CentOS, elementaryOS, Linux Mint, and others)
  • One app = one file = super simple for users: just download one AppImage file, make it executable, and run
  • No unpacking or installation necessary
  • No root needed
  • No system libraries changed
  • Works out of the box, no installation of runtimes needed
  • Optional desktop integration with appimaged
  • Optional binary delta updates, e.g., for continuous builds (only download the binary diff) using AppImageUpdate
  • Can optionally GPG2-sign your AppImages (inside the file)
  • Works on Live ISOs
  • Can use the same AppImages when dual-booting multiple distributions
  • Can be listed in the AppImageHub central directory of available AppImages
  • Can double as a self-extracting compressed archive with the --appimage-extract parameter

Here is an overview of projects that are already distributing upstream-provided, official AppImages.

If you have questions, AppImage developers are on #AppImage on irc.freenode.net.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Message dialog button text

Frontend OkCancelDialog has option for ok button text, but currently we dont support setting button text in message function.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36455727-message-dialog-button-text?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github).

build success with only 1 warning, but cannot run

  • macOS 10.12.5
  • Go 1.5.4
  • qt5 5.9.1

build success, only 1 warning

~/.gopath/src/github.com/limetext/lime-qml/main
% go build
# github.com/limetext/qml-go
In file included from ../../qml-go/all.cpp:6:
In file included from ../../qml-go/cpp/goitemmodel_api.cpp:4:
In file included from ./cpp/util.cpp:2:
./cpp/util.h:13:9: warning: 'QStringFromGoString' has C-linkage specified, but returns user-defined type 'QString' which is incompatible with C [-Wreturn-type-c-linkage]

but it can't run properly

./main
[1]    71984 killed     ./main

Dependency has vanished

gosubli.me/something-borrowed/gocode is not resolving, so I can't download/run the code for this repo.

Would this project be open to using one of the available vendoring schemes (e.g. gb vendor)?

frontend.Show

Implement frontend Show method.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36429316-frontend-show?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github).

frontend.VisibleRegion

Implement frontend VisibleRegion method.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36429334-frontend-visibleregion?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github).

Respect show_* settings

reopening limetext/lime#518.

This applies to all toggle commands here.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/33500140-respect-show_-settings?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github).

Respect color scheme global settings

Some related discussions #1

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/33413131-respect-color-scheme-global-settings?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github).

Unable to build

I followed the following guide: https://github.com/limetext/lime/wiki/Building

When I reached the end and tried to build the QML it gave me this error.

github.com/limetext/qml-go
In file included from ../../qml-go/all.cpp:2:
../../qml-go/cpp/capi.cpp:215:22: error: no type named 'setDesktopFileName' in 'QGuiApplication'
In file included from ../../qml-go/all.cpp:6:
In file included from ../../qml-go/cpp/goitemmodel_api.cpp:4:
In file included from ./cpp/util.cpp:2:
./cpp/util.h:13:9: warning: 'QStringFromGoString' has C-linkage specified, but returns user-defined type 'QString' which is incompatible with C [-Wreturn-type-c-linkage]

qml: display caret pos in status bar

As stated on #14 I'd like to display the caret position inside the status bar.

I tried to add a signal going from the LimeView Mouse Area to the main view.
The signal is fired on mouse pressed, but it's not caught by the main view.

I tried another way to register the signal handler, with a Component.onCompleted but it doesn't seem to be called either.

It's my first experience with qml, so I may be missing something simple. I read various documentation on signals, and created a toy application with a similar structure without problem. So I don't know where to look next. Any help would be welcome.

lime-qml start fails

Startup on arch via
alias lime-qml="cd $GOPATH/src/github.com/limetext/lime-qml/main && git submodule update --recursive && go build && ./main"

ERROR
[02/18/16 23:07:23] [EROR] Failed to register command nop: Command wasn't registered in any list: nop
[02/18/16 23:07:23] [DEBG] calling newEngine
[02/18/16 23:07:23] [DEBG] calling newEngine
[02/18/16 23:07:23] [INFO] Initializing
[02/18/16 23:07:23] [INFO] Initializing
[02/18/16 23:07:24] [INFO] Loaded ../packages/Default/Default.sublime-keymap
[02/18/16 23:07:24] [INFO] Loaded ../packages/Default/Default (Linux).sublime-keymap
[02/18/16 23:07:24] [INFO] Loaded ../packages/Default/Default.sublime-keymap
[02/18/16 23:07:24] [INFO] Loaded ../packages/Default/Default (Linux).sublime-keymap
[02/18/16 23:07:24] [INFO] Loaded ../packages/User/Default.sublime-keymap
[02/18/16 23:07:24] [INFO] Loaded ../packages/User/Default (Linux).sublime-keymap
[02/18/16 23:07:24] [DEBG] ../packages/User is watched already
[02/18/16 23:07:24] [INFO] Loaded ../packages/Default/Preferences.sublime-settings
[02/18/16 23:07:24] [INFO] Loaded ../packages/Default/Preferences (Linux).sublime-settings
[02/18/16 23:07:24] [INFO] Loaded ../packages/User/Preferences.sublime-settings
[02/18/16 23:07:24] [DEBG] ../packages/User is watched already
[02/18/16 23:07:24] [DEBG] OnInit callbacks executing
[02/18/16 23:07:24] [INFO] Loaded ../packages/User/Default.sublime-keymap
[02/18/16 23:07:24] [INFO] Loaded ../packages/User/Default (Linux).sublime-keymap
[02/18/16 23:07:24] [DEBG] ../packages/User is watched already
[02/18/16 23:07:24] [INFO] Loaded ../packages/Default/Preferences.sublime-settings
[02/18/16 23:07:24] [INFO] Loaded ../packages/Default/Preferences (Linux).sublime-settings
[02/18/16 23:07:24] [INFO] Loaded ../packages/User/Preferences.sublime-settings
[02/18/16 23:07:24] [DEBG] ../packages/User is watched already
[02/18/16 23:07:24] [DEBG] OnInit callbacks executing
panic: runtime error: cgo argument has Go pointer to Go pointer

goroutine 1 [running, locked to thread]:
panic(0x7edbc0, 0xc8203ec040)
/usr/lib/go/src/runtime/panic.go:464 +0x3e6
gopkg.in/qml%2ev1._cgoCheckPointer0(0x7573c0, 0xc8203ec010, 0xc8203ec020, 0x1, 0x1, 0x2256c50)
??:0 +0x4d
gopkg.in/qml%2ev1.(*Common).On.func1()
/home/darkstar999/git/go/src/gopkg.in/qml.v1/qml.go:802 +0x1e3
gopkg.in/qml%2ev1.hookIdleTimer()
/home/darkstar999/git/go/src/gopkg.in/qml.v1/bridge.go:190 +0x5d
gopkg.in/qml%2ev1._cgoexpwrap_0ae46c052b10_hookIdleTimer()
??:0 +0x14
gopkg.in/qml%2ev1._Cfunc_applicationExec()
??:0 +0x36
gopkg.in/qml%2ev1.Run(0xc820344f40, 0x0, 0x0)
/home/darkstar999/git/go/src/gopkg.in/qml.v1/bridge.go:63 +0x16e
main.main()
/home/darkstar999/git/go/src/github.com/limetext/lime-qml/main/main.go:37 +0x1e3

Is there any solution?

QML dynamic status bar

Reopening old Issue in relevant Repo
limetext/lime#486

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/13197753-qml-dynamic-status-bar?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github).

Save As dialog

We need a save as dialog also we should connect it to prompt method so prompt_save_as command could use it.

lime-qml crashes when using RGBA and render

I've gotten lime-qmp/main to build. When it runs, it crashes with a panic that something is null

Specifically:

2016/04/25 19:49:58 View.qml:50: Buffer: updateMyView:  frontendView(0x7c7be50)
[04/25/16 19:49:58] [INFO] Fix: &{0xfa9eab0 0xc82022e150}  59  7452
2016/04/25 19:49:58 Buffer.qml:457: Bad currentSelection! null
[04/25/16 19:49:58] [INFO] Python sez:
[04/25/16 19:49:58] [INFO] Python sez:
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x28 pc=0x4005999]

goroutine 1 [running, locked to thread]:
main.(*qmlfrontend).DefaultBg(0xc820275170, 0x0)
    /Users/zrg/go/src/github.com/limetext/lime-qml/main/frontend.go:131 +0x99
reflect.Value.call(0x442c840, 0xc820275170, 0x313, 0x444b210, 0x4, 0xc820405ad8, 0x0, 0xa, 0x0, 0x0, ...)
    /usr/local/go/src/reflect/value.go:432 +0x120a
reflect.Value.Call(0x442c840, 0xc820275170, 0x313, 0xc820405ad8, 0x0, 0xa, 0x0, 0x0, 0x0)
    /usr/local/go/src/reflect/value.go:300 +0xb1
github.com/limetext/qml-go.hookGoValueCallMethod(0x7c1a1f0, 0xc820240000, 0x7fff00000001, 0x7fff5fbfcd40)
    /Users/zrg/go/src/github.com/limetext/qml-go/bridge.go:515 +0x425
github.com/limetext/qml-go._Cfunc_componentCreateWindow(0x7d66c50, 0x0, 0x0)
    ??:0 +0x36

Based on this, I assume DefaultBg was the issue.
Changing the return of DefaultBg (and DefaultFg) to a constant, it returns properly and lime-qml runs.. but with bad colors.

Changed code that makes it run instead of crash:

@@ -18,7 +18,6 @@ import (
        "github.com/limetext/backend"
        "github.com/limetext/backend/keys"
        "github.com/limetext/backend/log"
-       "github.com/limetext/backend/render"
        . "github.com/limetext/text"
        "github.com/limetext/util"
 )
@@ -128,15 +127,11 @@ func (t *qmlfrontend) qmlChanged(value, field interface{}) {
 }

 func (t *qmlfrontend) DefaultBg() color.RGBA {
-       c := t.ColorScheme().Spice(&render.ViewRegions{})
-       c.Background.A = 0xff
-       return color.RGBA(c.Background)
+       return color.RGBA{ R: 100, G: 105, B: 255, A: 0}
 }

 func (t *qmlfrontend) DefaultFg() color.RGBA {
-       c := t.ColorScheme().Spice(&render.ViewRegions{})
-       c.Foreground.A = 0xff
-       return color.RGBA(c.Foreground)
+       return color.RGBA{ R: 255, G: 100, B: 255, A: 0}
 }

My guess is that likely render.ViewRegions{} is broke, but I don't know enough about it.

Will research more, but if someone knows, perhaps it's an easy fix.

lime-qml crashes at startup with "too many open files"

( moving from unrelated issue )
lime-qml crashes at startup with "too many open files". Technically, the program actually launches, and I get a pop-up standard OS X window saying that "main has crashed".. so it does run, but I think with all the files not opening it doesnt have enough internal components to properly launch.

Default ulimit -n on a OS X is 256 files, which means lime-qml needs more than 256 files open simultaneously to open.. it seems a bit much. If I run ulimit -n 1024, it launches fine.
Perhaps files can be opened, read in, and closed once the read is complete. I can't imagine files like ../packages/RestructuredText/Default.sublime-keymap need to be continuously open.
It could be a watcher routing.. in which case perhaps watching keymaps etc shouldnt be as carefully watched as say a source file that is being actively edited.. Maybe they can be polled instead or an inotify can be used. I don't think those contribute to open files..
idk.. something different is needed.

Full Startup and crash:

$ cd $GOPATH/src/github.com/limetext/lime-qml/
$ cd
$ cd $GOPATH/src/github.com/limetext/lime-qml/main
$ ./main
[04/27/16 12:08:51] [INFO] Initializing
[04/27/16 12:08:51] [DEBG] OnInit callbacks executing
[04/27/16 12:08:51] [DEBG] OnInit callbacks finished
[04/27/16 12:08:51] [DEBG] Scanning ../packages for packages
[04/27/16 12:08:51] [DEBG] Loading package ASP
[04/27/16 12:08:51] [DEBG] Loading package ActionScript
[04/27/16 12:08:51] [DEBG] Loading package AppleScript
[04/27/16 12:08:51] [DEBG] Loading package Batch File
[04/27/16 12:08:51] [DEBG] Loading package C#
[04/27/16 12:08:51] [DEBG] Loading package C++
[04/27/16 12:08:51] [DEBG] Loading package CSS
[04/27/16 12:08:51] [DEBG] Loading plugin CSS.css_completions
[04/27/16 12:08:51] [INFO] Python sez: Loading plugin CSS.css_completions
[04/27/16 12:08:51] [DEBG] Loading package Clojure
[04/27/16 12:08:51] [DEBG] Loading package D
[04/27/16 12:08:51] [DEBG] Loading package Default
[04/27/16 12:08:51] [DEBG] Loading plugin Default.history_list
[04/27/16 12:08:51] [INFO] Python sez: Loading plugin Default.history_list
[04/27/16 12:08:51] [DEBG] Loading package Diff
[04/27/16 12:08:51] [DEBG] Loading plugin Diff.diff
[04/27/16 12:08:51] [INFO] Python sez: Loading plugin Diff.diff
[04/27/16 12:08:51] [DEBG] Loading package Erlang
[04/27/16 12:08:51] [DEBG] Loading package Go
[04/27/16 12:08:51] [DEBG] Loading package Graphviz
[04/27/16 12:08:51] [DEBG] Loading package Groovy
[04/27/16 12:08:51] [DEBG] Loading package HTML
[04/27/16 12:08:51] [DEBG] Loading plugin HTML.encode_html_entities
[04/27/16 12:08:51] [INFO] Python sez: Loading plugin HTML.encode_html_entities
[04/27/16 12:08:51] [DEBG] Loading plugin HTML.html_completions
[04/27/16 12:08:51] [INFO] Python sez: Loading plugin HTML.html_completions
[04/27/16 12:08:52] [DEBG] Loading package Haskell
[04/27/16 12:08:52] [DEBG] Loading package Java
[04/27/16 12:08:52] [DEBG] Loading package JavaScript
[04/27/16 12:08:52] [DEBG] Loading package LaTeX
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/LaTeX/Default.sublime-keymap: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/LaTeX, open ../packages/LaTeX: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Lisp
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Lisp/Default.sublime-keymap: open ../packages/Lisp: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Lisp, open ../packages/Lisp: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Lua
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Lua/Default.sublime-keymap: open ../packages/Lua: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Lua, open ../packages/Lua: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Makefile
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Makefile/Default.sublime-keymap: open ../packages/Makefile: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Makefile, open ../packages/Makefile: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Markdown
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Markdown/Default.sublime-keymap: open ../packages/Markdown: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Markdown, open ../packages/Markdown: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Matlab
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Matlab/Default.sublime-keymap: open ../packages/Matlab: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Matlab, open ../packages/Matlab: too many open files
[04/27/16 12:08:52] [DEBG] Loading package OCaml
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/OCaml/Default.sublime-keymap: open ../packages/OCaml: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/OCaml, open ../packages/OCaml: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Objective-C
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Objective-C/Default.sublime-keymap: open ../packages/Objective-C: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Objective-C, open ../packages/Objective-C: too many open files
[04/27/16 12:08:52] [DEBG] Loading package PHP
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/PHP/Default.sublime-keymap: open ../packages/PHP: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/PHP, open ../packages/PHP: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Pascal
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Pascal/Default.sublime-keymap: open ../packages/Pascal: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Pascal, open ../packages/Pascal: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Perl
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Perl/Default.sublime-keymap: open ../packages/Perl: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Perl, open ../packages/Perl: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Python
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Python/Default.sublime-keymap: open ../packages/Python: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Python, open ../packages/Python: too many open files
[04/27/16 12:08:52] [DEBG] Loading package R
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/R/Default.sublime-keymap: open ../packages/R: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/R, open ../packages/R: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Rails
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Rails/Default.sublime-keymap: open ../packages/Rails: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Rails, open ../packages/Rails: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Regular Expressions
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Regular Expressions/Default.sublime-keymap: open ../packages/Regular Expressions: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Regular Expressions, open ../packages/Regular Expressions: too many open files
[04/27/16 12:08:52] [DEBG] Loading package RestructuredText
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/RestructuredText/Default.sublime-keymap: open ../packages/RestructuredText: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/RestructuredText, open ../packages/RestructuredText: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Ruby
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Ruby/Default.sublime-keymap: too many open files
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Ruby/Default (OSX).sublime-keymap: open ../packages/Ruby: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Ruby, open ../packages/Ruby: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Rust
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Rust/Default.sublime-keymap: too many open files
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Rust/Default (OSX).sublime-keymap: open ../packages/Rust: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Rust, open ../packages/Rust: too many open files
[04/27/16 12:08:52] [DEBG] Loading package SQL
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/SQL/Default.sublime-keymap: open ../packages/SQL: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/SQL, open ../packages/SQL: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Scala
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Scala/Default.sublime-keymap: open ../packages/Scala: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Scala, open ../packages/Scala: too many open files
[04/27/16 12:08:52] [DEBG] Loading package ShellScript
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/ShellScript/Default.sublime-keymap: open ../packages/ShellScript: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/ShellScript, open ../packages/ShellScript: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Soda
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Soda/Default.sublime-keymap: open ../packages/Soda: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Soda, open ../packages/Soda: too many open files
[04/27/16 12:08:52] [DEBG] Loading package TCL
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/TCL/Default.sublime-keymap: open ../packages/TCL: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/TCL, open ../packages/TCL: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Text
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Text/Default.sublime-keymap: open ../packages/Text: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Text, open ../packages/Text: too many open files
[04/27/16 12:08:52] [DEBG] Loading package TextMate-Themes
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/TextMate-Themes/Default.sublime-keymap: open ../packages/TextMate-Themes: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/TextMate-Themes, open ../packages/TextMate-Themes: too many open files
[04/27/16 12:08:52] [DEBG] Loading package Textile
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/Textile/Default.sublime-keymap: open ../packages/Textile: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/Textile, open ../packages/Textile: too many open files
[04/27/16 12:08:52] [DEBG] Loading package User
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/User, open ../packages/User: too many open files
[04/27/16 12:08:52] [DEBG] Loading package XML
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/XML/Default.sublime-keymap: open ../packages/XML: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/XML, open ../packages/XML: too many open files
[04/27/16 12:08:52] [DEBG] Loading package YAML
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/YAML/Default.sublime-keymap: open ../packages/YAML: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/YAML, open ../packages/YAML: too many open files
[04/27/16 12:08:52] [DEBG] Loading package go-tmbundle
[04/27/16 12:08:52] [WARN] Couldn't watch ../packages/go-tmbundle/Default.sublime-keymap: open ../packages/go-tmbundle: too many open files
[04/27/16 12:08:52] [WARN] Error on reading directory ../packages/go-tmbundle, open ../packages/go-tmbundle: too many open files
[04/27/16 12:08:52] [DEBG] calling newEngine
QEventDispatcherUNIXPrivate(): Unable to create thread pipe: Too many open files
2016/04/27 12:08:52 .:0: QEventDispatcherUNIXPrivate(): Can not continue without a thread pipe
Abort trap: 6
$ ulimit -n
256

move up down

move by lines up and down doesn't work correctly when there is a blank line probably this is commmands package problem

Initialize editor and load packages in separate go routines

This is possible now that limetext/backend#103 is resolved.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/35912573-initialize-editor-and-load-packages-in-separate-go-routines?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github).

qml: menu not showing

issue moved from limetext/support#5

Hey, I'm interested in contributing.
But I'm surprised by the look of the qml frontend versus the code.

For instance in main.qml there is a menu bar.
But when I launch it, I don't have any menus (it's neither on the top of the screen like for other linux app).
lime

Is this normal ?

As a warmup task I wanted to try to replace the 'xx' and 'yy' in the status bar by the actual coordinates.
Do you think it's a good start, or it may reveal harder than it looks like ?

Answer from @zoli :

About the menu its not normal the menu was showing before
I'll look at that later and about the status bar i think you are starting at good point because you can get help from limetext/lime#487
also there was an issue for qml to in limetext/lime#486 and the code for the termbox front end is here.

Support word wrap

reopening limetext/lime#377.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34773636-support-word-wrap?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github).

qml/main/main.qml.:19: TypeError: Cannot read property 'item' of undefined

I saw the following debug log. Looks like "item" is undefined and is hence causing problem. Im running the front-end in os x el capitan.

[03/09/16 00:12:08] [DEBG] OnInit callbacks finished
2016/03/09 00:12:08 LimeView.qml:44: file:////Users/home/work/src/github.com/limetext/lime-qml/main/LimeView.qml:44:5: QML ListView: Cannot set a negative cache buffer
2016/03/09 00:12:08 LimeView.qml:44: file:////Users/home/work/src/github.com/limetext/lime-qml/main/LimeView.qml:44:5: QML ListView: Cannot set a negative cache buffer
2016/03/09 00:12:08 LimeView.qml:44: file:////Users/home/work/src/github.com/limetext/lime-qml/main/LimeView.qml:44:5: QML ListView: Cannot set a negative cache buffer
2016/03/09 00:12:08 LimeView.qml:44: file:////Users/home/work/src/github.com/limetext/lime-qml/main/LimeView.qml:44:5: QML ListView: Binding loop detected for property "cacheBuffer"
2016/03/09 00:12:08 main.qml.:19: file:////Users/home/work/src/github.com/limetext/lime-qml/main/main.qml.:19: TypeError: Cannot read property 'item' of undefined
2016/03/09 00:12:08 main.qml.:295: file:////Users/home/work/src/github.com/limetext/lime-qml/main/main.qml.:295: TypeError: Cannot read property 'visibleArea' of undefined
2016/03/09 00:12:08 main.qml.:295: file:////Users/home/work/src/github.com/limetext/lime-qml/main/main.qml.:295: TypeError: Cannot read property 'visibleArea' of undefined
2016/03/09 00:12:08 main.qml.:295: file:////Users/home/work/src/github.com/limetext/lime-qml/main/main.qml.:295: TypeError: Cannot read property 'visibleArea' of undefined
2016/03/09 00:12:09 LimeView.qml.:44: file:////Users/home/work/src/github.com/limetext/lime-qml/main/LimeView.qml.:44:5: QML ListView: Cannot set a negative cache buffer
2016/03/09 00:12:09 LimeView.qml.:44: file:////Users/home/work/src/github.com/limetext/lime-qml/main/LimeView.qml.:44:5: QML ListView: Cannot set a negative cache buffer
[03/09/16 00:12:09] [INFO] Loaded ../packages/Go/Go.sublime-settings```

panic: runtime error: cgo result has Go pointer

Ubuntu 16.04, successfuly built lime-qml, but not withou ta problem...

me@mymachine:~/gopath/src/github.com/limetext/lime-qml/main$ ./main 
[07/18/16 20:50:24] [INFO] Initializing
[07/18/16 20:50:24] [DEBG] OnInit callbacks executing
[07/18/16 20:50:25] [DEBG] OnInit callbacks finished
[07/18/16 20:50:25] [DEBG] Scanning ../packages for packages
[07/18/16 20:50:25] [DEBG] Loading package ASP
[07/18/16 20:50:25] [DEBG] Loading package ActionScript
[07/18/16 20:50:25] [DEBG] Loading package AppleScript
[07/18/16 20:50:25] [DEBG] Loading package Batch File
[07/18/16 20:50:25] [DEBG] Loading package C#
[07/18/16 20:50:25] [DEBG] Loading package C++
[07/18/16 20:50:25] [DEBG] Loading package CSS
[07/18/16 20:50:25] [DEBG] Loading plugin CSS.css_completions
[07/18/16 20:50:25] [INFO] Python sez: Loading plugin CSS.css_completions
[07/18/16 20:50:25] [DEBG] Loading package Clojure
[07/18/16 20:50:25] [DEBG] Loading package D
[07/18/16 20:50:25] [DEBG] Loading package Default
[07/18/16 20:50:25] [DEBG] Loading plugin Default.history_list
[07/18/16 20:50:25] [INFO] Python sez: Loading plugin Default.history_list
[07/18/16 20:50:25] [DEBG] Loading package Diff
[07/18/16 20:50:25] [DEBG] Loading plugin Diff.diff
[07/18/16 20:50:25] [INFO] Python sez: Loading plugin Diff.diff
panic: runtime error: cgo result has Go pointer

goroutine 34 [running]:
panic(0x835180, 0xc82025f4d0)
    /usr/lib/go-1.6/src/runtime/panic.go:481 +0x3e6
github.com/limetext/gopy/lib._cgoexpwrap_14798609a186_goGenericAlloc.func1(0xc820350f80)
    ??:0 +0x3a
github.com/limetext/gopy/lib._cgoexpwrap_14798609a186_goGenericAlloc(0x26bdbe0, 0x0, 0xc8204a7240)
    ??:0 +0x6f
github.com/limetext/gopy/lib._Cfunc_typeAlloc(0x26bdbe0, 0x0, 0x0)
    ??:0 +0x42
github.com/limetext/gopy/lib.(*Type).Alloc(0x26bdbe0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /home/me/gopath/src/github.com/limetext/gopy/lib/type.go:40 +0xd9
github.com/limetext/gopy/lib.goClassNew(0x26bdbe0, 0x7f223a307400, 0x0, 0x4b25e0)
    /home/me/gopath/src/github.com/limetext/gopy/lib/class.go:449 +0x35d
github.com/limetext/gopy/lib._cgoexpwrap_14798609a186_goClassNew(0x26bdbe0, 0x7f223a307400, 0x0, 0x0)
    ??:0 +0x6e
github.com/limetext/gopy/lib._Cfunc_PyObject_CallObject(0x7f2239ff9ea0, 0x7f225c05e7f0, 0x0)
    ??:0 +0x42
github.com/limetext/gopy/lib.(*BaseObject).CallMethodObjArgs(0x7f225c059e08, 0x8ca9e0, 0xd, 0xc820351540, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0)
    /home/me/gopath/src/github.com/limetext/gopy/lib/base.go:230 +0x6c7
github.com/limetext/sublime.(*plugin).Load(0xc82008c360)
    /home/me/gopath/src/github.com/limetext/sublime/plugin.go:40 +0x469
github.com/limetext/sublime.(*pkg).loadPlugin(0xc8203be790, 0xc82008c2e0, 0x18)
    /home/me/gopath/src/github.com/limetext/sublime/package.go:122 +0xcd
github.com/limetext/sublime.(*pkg).loadPlugins(0xc8203be790)
    /home/me/gopath/src/github.com/limetext/sublime/package.go:115 +0x5f5
github.com/limetext/sublime.(*pkg).Load(0xc8203be790)
    /home/me/gopath/src/github.com/limetext/sublime/package.go:86 +0x1ef
github.com/limetext/backend/packages.load(0x7f2239f8d238, 0xc8203be790)
    /home/me/gopath/src/github.com/limetext/backend/packages/package.go:109 +0x2b
github.com/limetext/backend/packages.Scan.func1(0xc820059000, 0x2f, 0x40)
    /home/me/gopath/src/github.com/limetext/backend/packages/package.go:83 +0x82
github.com/limetext/backend/packages.Scan(0x8c0410, 0xb)
    /home/me/gopath/src/github.com/limetext/backend/packages/package.go:85 +0x5d9
github.com/limetext/backend.(*PathEvent).call(0xcfab00, 0x8c0410, 0xb)
    /home/me/gopath/src/github.com/limetext/backend/events.go:141 +0x258
github.com/limetext/backend.(*Editor).AddPackagesPath(0xc820066c00, 0x8c0410, 0xb)
    /home/me/gopath/src/github.com/limetext/backend/editor.go:412 +0x8e
main.(*frontend).loop(0xc8202f72c0, 0x0, 0x0)
    /home/me/gopath/src/github.com/limetext/lime-qml/main/frontend.go:385 +0x15b
main.(*frontend).(main.loop)-fm(0x0, 0x0)
    /home/me/gopath/src/github.com/limetext/lime-qml/main/frontend.go:57 +0x2e
github.com/limetext/qml-go.Run.func1(0xc8203a6000, 0xc820395420)
    /home/me/gopath/src/github.com/limetext/qml-go/bridge.go:69 +0x2d
created by github.com/limetext/qml-go.Run
    /home/me/gopath/src/github.com/limetext/qml-go/bridge.go:71 +0x169

v0.1

Tracking issues on all repositories related to v0.1

backend:

commands:

sublime

qml:

  • #21 move up down
  • #29 Deleting line
  • #33 Save As dialog
  • #3 QML dynamic status bar
  • #37 frontend.Show
  • #38 frontend.VisibleRegion

There are more issues mostly on editing in qml frontend which will be added later.

Deleting line

on deleting a line the line below comes up but it will be duplicate I think this issue is related to rendering.

Central styling/themeing

Reopening old Issue in relevant Repo
limetext/lime#288

Waiting for limetext/backend#71 for .sublime-theme loading support.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/13198105-central-styling-themeing?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F15718991&utm_medium=issues&utm_source=github).

Every log is showing twice

I dont know why but I'm seeing this on running the frontend

[03/17/16 23:36:44] [DEBG] calling newEngine
[03/17/16 23:36:44] [DEBG] calling newEngine
[03/17/16 23:36:44] [DEBG] setvar frontend
[03/17/16 23:36:44] [DEBG] setvar frontend
[03/17/16 23:36:44] [DEBG] setvar editor
[03/17/16 23:36:44] [DEBG] setvar editor
[03/17/16 23:36:44] [DEBG] loadfile
[03/17/16 23:36:44] [DEBG] loadfile
[03/17/16 23:36:44] [INFO] Initializing
[03/17/16 23:36:44] [DEBG] Loading Default.sublime-keymap
[03/17/16 23:36:44] [WARN] open Default.sublime-keymap: no such file or directory
[03/17/16 23:36:44] [INFO] Initializing
[03/17/16 23:36:44] [DEBG] Loading Default.sublime-keymap

every log is repeated twice, This is also happening in termbox frontend

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.