Commit Graph

226 Commits

Author SHA1 Message Date
daa
e6c3b01cc9 Add key logging facility 2017-04-03 14:17:06 +03:00
daa
48e2287773 Solution try for #3 2017-04-02 22:09:03 +03:00
daa
b5b3d115e3 Make save dialog work 2017-04-01 21:25:33 +03:00
daa
0cd782991c Update dialog behaviour 2017-04-01 20:32:14 +03:00
daa
41ac04f5c2 Moved to new version of neovim-lib, that fixes some issues 2017-04-01 17:48:11 +03:00
daa
e717c92f33 First try to find changed values 2017-04-01 13:00:14 +03:00
daa
4b3d93e9a1 Make ctrl+6 work as ctrl+^ 2017-04-01 00:12:00 +03:00
daa
25b52c34ff Add menu 2017-03-31 23:19:50 +03:00
daa
6b4c1a9a39 Fix linux build 2017-03-31 22:04:10 +03:00
daa84
5f523b8896 Make shell global variable due to borrow check conflict 2017-03-31 13:22:05 +03:00
daa84
0bd7356cd6 Disable cursor when window not in focus 2017-03-31 12:49:14 +03:00
daa84
a04a035b84 Render optimization + fix resize bug 2017-03-30 18:25:54 +03:00
daa
be2626fb8d Use ui_check instead of real mutex 2017-03-26 14:34:38 +03:00
daa
e020a5825b Make cursor reset animation state on input 2017-03-26 00:38:22 +03:00
daa
e9839b641d Repaint speed optimization 2017-03-25 11:31:52 +03:00
daa
cd55351042 Optimization of cursor animation 2017-03-24 23:34:03 +03:00
daa
0c5d57346b Make only changed area repaintable 2017-03-24 22:23:22 +03:00
daa84
865054e36e Implement base cursor animation, still need a lot of improvements 2017-03-23 18:04:24 +03:00
daa84
75eac4bc7d Merge branch 'master' into cursor-anim 2017-03-23 16:54:02 +03:00
daa84
f337b63f1e Thoughts 2017-03-22 18:37:34 +03:00
daa84
7eb721bfcc Commit cursor changes 2017-03-22 18:37:18 +03:00
daa84
c458f90740 Exctract cursor code 2017-03-22 13:05:10 +03:00
daa
4e00df7b0b Merge branch 'invalidate-area' 2017-03-21 22:27:42 +03:00
daa84
e676af8f91 Finish area readrawing optimization 2017-03-21 13:10:55 +03:00
daa84
778cbd0af2 Clip Iterator 2017-03-20 18:18:08 +03:00
daa
975d0e5f83 Update application name 2017-03-19 16:51:27 +03:00
daa
c2a6ec88c7 fn from_area 2017-03-18 14:19:36 +03:00
daa
f7c088eca7 Cleanup 2017-03-18 13:21:42 +03:00
daa
ff4aa6c848 Fix scroll 2017-03-18 13:21:20 +03:00
daa
700c8cd522 Fix borrow error, rustfmt 2017-03-18 12:49:30 +03:00
daa
89e6600325 Invalidate rect passed to draw 2017-03-18 12:45:05 +03:00
daa
51dcd7f4e8 Repaint event on given area 2017-03-18 01:18:41 +03:00
daa
a92b42f784 Calculate changed area for given event 2017-03-17 23:38:12 +03:00
daa84
ba4e8bc3aa Implement mouse scroll, enable mouse by default 2017-03-16 18:12:56 +03:00
daa
f1e98a4899 Fix linux compilation 2017-03-16 15:03:00 +03:00
daa84
b1507a0334 Finish migration to shell.rs 2017-03-16 13:18:13 +03:00
daa84
61a429d2f1 Start extracting vim shell ui processing to shell file 2017-03-15 18:33:47 +03:00
daa
e719535d2a Fix two time run 2017-03-14 23:12:31 +03:00
daa
10afc750e8 Move back to insert mode after paste 2017-03-14 22:51:26 +03:00
daa
147483288b Fix rustfmt problem 2017-03-14 22:35:54 +03:00
daa
b910c9ba6a Rustfmt 2017-03-14 22:31:56 +03:00
daa
b7aff3e7ac Fix open file bug 2017-03-14 22:31:07 +03:00
daa84
fde94bd64a Fixes #1 Temproray fix that allows open single file
To make good fix wait for gtk-rs bindings udpate for optons/open support
inside GtkApplication
2017-03-14 12:37:06 +03:00
daa84
b68d2470c3 Fix compilation warnings 2017-03-14 10:48:04 +03:00
daa
7915541a7d Fix linux compilation error 2017-03-14 00:02:31 +03:00
daa84
d7b2c313f8 Fix application starting for windows 2017-03-13 18:03:32 +03:00
daa
baf86716d1 Use monospace font from gnome settings by default 2017-03-12 22:50:03 +03:00
daa
18fe7b9bbc Fix non ascii input 2017-03-12 18:11:43 +03:00
daa
b4deb823aa Support for double width chars 2017-03-12 12:20:18 +03:00
daa
df3b54b8a4 Changes due to api update of neovim-lib 2017-03-11 23:06:45 +03:00
daa84
c72eb65ebf Small rendering optimization 2017-03-10 16:50:37 +03:00
daa84
fbdf897d48 small speed improvements, undercurl render improvement 2017-03-10 12:32:58 +03:00
daa
df0f6a8478 Merge branch 'master' of https://github.com/daa84/neovim-gtk 2017-03-09 23:46:07 +03:00
daa
b7da77ca24 Small cleanup 2017-03-09 23:45:45 +03:00
daa84
37cd154f89 fix scroll bug 2017-03-09 16:51:34 +03:00
daa84
75e28ceedb Small cleanup 2017-03-09 16:18:13 +03:00
daa
35d2dd1868 Fix underline/curl rendering 2017-03-09 15:07:19 +03:00
daa84
0b7810ce5b Base code for underline/undercurl implementation
not usable for now, one reason is not finished gtk-rs bindings
2017-03-09 13:19:44 +03:00
daa84
2fe5b0a249 Use constants for icon size 2017-03-09 11:44:22 +03:00
daa
c3d30177b1 paste command improvement 2017-03-08 22:22:58 +03:00
daa
5316b37919 Improve paste action 2017-03-07 19:24:45 +03:00
daa84
efd9826324 Add --nvim-bin-path command line option 2017-03-07 18:20:48 +03:00
daa84
bde70d7797 Update UI. Fix quotes input. 2017-03-07 17:12:22 +03:00
daa
df496e2d27 small speed optimization 2017-03-07 14:36:29 +03:00
daa
714b6059f1 Make save button work 2017-03-07 13:52:01 +03:00
daa
f961bf045e Add ginit.vim support 2017-03-07 13:44:28 +03:00
daa
7f2e5835e4 Support font setup. Small improvements 2017-03-07 00:05:48 +03:00
daa84
fb8c55a4f0 Small rendering speed optimisation 2017-03-06 17:13:32 +03:00
daa84
15bb4e5e2d Use GtkApplication 2017-03-06 16:58:10 +03:00
daa84
3171a5d397 Fix windows resize 2017-03-06 13:03:13 +03:00
daa
2a9b71b0fb Move rendering to pangocairo 2017-03-06 01:28:07 +03:00
daa
265f525cb6 Move to new gtk-rs version 2017-03-05 20:52:46 +03:00
daa84
a948d6dbc7 default font update 2017-02-28 17:08:07 +03:00
daa84
f2ccb2c6ee Remove fix for old nvim 2017-02-28 11:53:56 +03:00
daa84
fa31e8b0b0 Make toolbar smaller 2017-02-27 18:09:27 +03:00
daa
b49d93dc96 cargo-fmt, version update 2017-02-26 22:33:44 +03:00
daa
f41d3dd55a Migrate to new neovim-lib version.
update dependencies versions, fix some new problems due to version
update
2017-02-26 22:31:13 +03:00
daa84
c7813afe19 Update version dependency, fix compilations 2016-06-23 17:32:30 +03:00
daa84
4e0d3e2e5a Quit from neovim - quits application 2016-05-05 17:27:45 +03:00
daa84
1a0adf0a82 Fix quit exception 2016-05-05 16:48:21 +03:00
daa84
b1d5e3a36d Implement mouse drag support 2016-05-05 11:44:21 +03:00
daa84
78caf6f340 Mouse calculation fix 2016-05-05 11:22:18 +03:00
daa
c8e78fd697 Enable mouse event 2016-05-05 10:23:04 +03:00
daa84
54449aed83 Some starting point on mouse implementation 2016-05-04 17:59:51 +03:00
daa84
2a566d1d51 Quit nvim 2016-05-04 11:52:57 +03:00
daa
60539e0ccf Edit mode cursor 2016-05-04 09:23:39 +03:00
daa
a11581748c Add cursor 2016-05-03 20:25:52 +03:00
daa
59b00b392a Don't process keys that was passed to nvim instance 2016-05-03 13:36:59 +03:00
daa
d071cabce6 Code style update 2016-05-03 13:34:36 +03:00
daa
f2911beee3 Fix resize to smaller size. 2016-05-03 13:30:36 +03:00
daa84
3b5e26f95c Resize underline nvim instance 2016-04-06 17:53:16 +03:00
daa84
118faaca25 Update key bindings, improve render of background highlight 2016-04-06 13:16:41 +03:00
daa84
209c71aa4b fix initial size 2016-04-06 11:31:00 +03:00
daa84
27669e035b Merge branch 'master' of ssh://daaparts.info/home/git/neovim-gtk 2016-04-06 11:20:45 +03:00
daa
71e0db64e7 make background and foreground colors to work 2016-04-06 01:04:40 +03:00
daa84
6c80fd3e8c fix keypress 2016-04-04 13:14:57 +03:00
daa
a19c28473e Resize from nvim settings 2016-04-04 01:34:44 +03:00
daa
b3c2744e2d Implement scroll 2016-04-03 18:13:18 +03:00
daa
0c64c43278 Fix colors, some update of buttons bindings, eol_clear implementation,
quit button
2016-04-03 16:04:52 +03:00
daa
3c45aff96e Input key map 2016-04-03 13:06:35 +03:00
daa
dc1539d0d3 Add key map converter table 2016-04-02 23:00:18 +03:00
daa
52ec77137d Use fixed width for any font character 2016-04-02 00:14:22 +03:00
daa84
a2813a84c7 add bold/italic settings 2016-04-01 12:34:55 +03:00
daa84
8a763c928e background / foreground highlight 2016-03-31 19:19:08 +03:00
daa84
8d2c22e571 Repaint + some basic input 2016-03-31 16:52:22 +03:00
daa
62eeeec201 Fix event processing 2016-03-31 15:08:32 +03:00
daa84
2d04cbbdc0 Make ui as thread local variable 2016-03-31 13:09:34 +03:00
daa84
183f600e1b resize implemented 2016-03-29 12:43:01 +03:00
daa84
ffed15e697 add clear method 2016-03-29 12:22:16 +03:00
daa84
d52311cafa implement put event 2016-03-28 18:05:10 +03:00
daa84
0b4504e6d7 Fix idle add problem 2016-03-28 17:14:10 +03:00
daa84
fae82271d1 First event 2016-03-28 17:03:21 +03:00
daa84
f553fd5f42 Build ui object as central point of all event processing 2016-03-28 13:09:31 +03:00
daa84
193b4d573c Implement mutex for ui thread idle function 2016-03-25 17:36:51 +03:00
daa84
e15727ff74 Start safe event call implementation 2016-03-25 12:51:28 +03:00
daa84
8e57752e97 Event loop 2016-03-24 12:21:27 +03:00
daa84
edaa867103 some small step to implement events listener 2016-03-23 18:22:28 +03:00
daa
b5265c41f6 Merge branch 'master' of ssh://daaparts.info/home/git/neovim-gtk 2016-03-23 14:59:40 +03:00
daa
3fc2c3322d Add events callback 2016-03-23 14:59:18 +03:00
daa84
c83fc54270 Merge branch 'master' of ssh://daaparts.info/home/git/neovim-gtk 2016-03-23 12:18:40 +03:00
daa
dc1bf55a46 Fix embed mode 2016-03-19 14:32:59 +03:00
daa
1043d9ac8e Nvim connection with events handler 2016-03-19 13:27:39 +03:00
daa
bd9dde064e Add screen model 2016-03-19 11:47:23 +03:00
daa84
9f8638baa6 Add toolbar button with images 2016-03-17 16:58:21 +03:00
daa84
64d4746545 ui refactoring/update 2016-03-16 18:25:25 +03:00
daa84
9d44052099 Initial gtk ui 2016-03-16 17:39:53 +03:00