Commit Graph

428 Commits

Author SHA1 Message Date
daa
0a7edbc602 Add base code for add plugin dialog 2017-10-29 23:45:05 +03:00
daa
4aec520746 Implement remove button 2017-10-29 22:16:55 +03:00
daa
512b63a37a Load configuration on nvim startup/ small ui updates 2017-10-29 13:55:36 +03:00
daa
db9bbc03f3 Small ui update 2017-10-29 00:28:32 +03:00
daa
b07196f980 Ui refactoring 2017-10-28 23:18:42 +03:00
daa84
ae5d46eb6a Add enable button, remove unneeded buttons 2017-10-27 18:06:18 +03:00
daa84
ba179f715d Generate and use plug-vim config on nvim startup 2017-10-26 17:56:53 +03:00
daa84
2cefb06063 Change state management 2017-10-24 18:03:34 +03:00
daa84
ea85f78350 Add remove button 2017-10-23 18:07:04 +03:00
daa
46c3061a13 Small ui improvements 2017-10-21 20:40:55 +03:00
daa
15bcb1f25d List plugins 2017-10-21 20:20:55 +03:00
daa84
c1b6bbca88 Load vim-plug configuration 2017-10-20 18:06:05 +03:00
daa84
a286d39b48 General code for load/store settings 2017-10-19 17:04:58 +03:00
daa84
4068fc5a43 Make middle mouse event be processed by neovim itself (#14) 2017-10-18 18:12:29 +03:00
daa84
fbe25e1a1c Code reorganisation 2017-10-18 17:49:56 +03:00
daa
b0477c36f6 Check vim-plug loaded 2017-10-17 21:34:49 +03:00
daa84
a3eba12b24 Check loaded state 2017-10-16 18:34:26 +03:00
daa
86e18562b5 Seleton for plug manager 2017-10-15 22:50:59 +03:00
daa
d9af1b9477 nvim handler refactoring 2017-10-15 14:34:48 +03:00
daa
35d9592b9b Merge branch 'master' into plug-manager 2017-10-14 14:54:48 +03:00
daa
cda55e0f7d Make ui attach really async 2017-10-14 14:50:13 +03:00
daa
e7cd39607f Insert before cursor 2017-10-14 14:42:50 +03:00
daa84
c5ee1ab586 Starting point for plug manager implementation 2017-10-13 18:27:10 +03:00
daa84
42b6bdcd64 Disable swap files
In case neovim ends unexpected on next start - neovim ask user for
recovery but gui have not access to this event. So temprorary disable
this.
Also do some improvemnt, so error message can be shown to user on nvim
start errors
2017-10-13 13:16:52 +03:00
daa84
dcdd6d98d1 Ignore mappings in paste code (#14) 2017-10-13 12:04:40 +03:00
daa84
968f5762c4 Support right mouse and release events 2017-10-13 11:43:07 +03:00
daa
3714817604 Implement #14
allow paste from PRIMARY by middle mouse button
allow paste to command box
paste from toolbar now paste CLIPBOARD
2017-10-12 08:59:16 +03:00
daa
7065fbe2c7 Resize check 2017-10-11 19:10:24 +03:00
daa
557f3dd0f6 Small code cleanup 2017-10-11 18:59:23 +03:00
daa
08d8408adc Fix crush on startup (#17, #13)
Solution: on_resize/ui_attach events must always update model, so model manipulation commands will always works right
2017-10-11 18:55:29 +03:00
daa84
0f4234a622 Limit tab title len (fix #16) 2017-09-26 16:59:28 +03:00
daa84
dd62733e66 Fix gnome panel issues (#12)
Display icon for application
Allow application to be pinned
2017-09-22 18:05:12 +03:00
daa84
ea71ec2b3f Fix #12
Set default icon, update desktop file settings, show icon in about
dialog
2017-09-21 18:10:48 +03:00
daa
0ff5c29de2 Fix #11 2017-09-15 16:20:59 +03:00
daa84
faeac76607 Speed optimization 2017-09-14 18:34:08 +03:00
daa84
211ef0de58 Thread check improvement 2017-09-14 16:29:03 +03:00
daa84
3d8dcba9e6 Merge branch 'master' into render 2017-09-14 16:19:16 +03:00
daa84
3ddf1b2ec7 Fix resizing 2017-09-14 16:17:50 +03:00
daa
857f78fe51 Still problems with resize 2017-09-14 15:08:45 +03:00
daa84
90fad0fe9c Resize nvim on font change, not window 2017-09-13 18:34:18 +03:00
daa84
94747615af Move out resize/init code from draw handler 2017-09-13 17:40:43 +03:00
daa84
dc8d6d5a70 Support double_width chars 2017-09-13 12:39:02 +03:00
daa
31a0fea819 Small code update 2017-09-12 23:27:45 +03:00
daa84
531c900d66 Draw optimization 2017-09-12 18:28:01 +03:00
daa
39db875b6f Fix underline rendering 2017-09-12 15:09:17 +03:00
daa84
61fdb83427 Fix rendering, draw curved underline 2017-09-12 12:56:40 +03:00
daa
8b15361a84 Small optimization 2017-09-11 22:00:26 +03:00
Fabian Knorr
ae646507d4 Simplified header bar environment variable handling
Removed unnecessary comment
2017-09-11 20:52:28 +02:00
daa84
945cea6acf Clippy code cleanup 2017-09-11 18:31:15 +03:00
daa84
f7710ca912 Drawing optimization 2017-09-11 18:00:51 +03:00
Fabian Knorr
3f2386885b Optionally disable header bars with NVIM_GTK_NO_HEADERBAR=1 2017-09-10 20:56:35 +02:00
daa
ab6052705a Underline 2017-09-09 23:02:06 +03:00
daa
47ccbdcec5 Fix repaint issue 2017-09-09 22:44:28 +03:00
daa84
837fcb7b45 Fix redraw clip rect calculation 2017-09-08 18:26:16 +03:00
daa
a00d1ff65c Fix cursor repaint. 2017-09-07 22:53:32 +03:00
daa84
fab0002a56 Cursor rendering 2017-09-07 18:51:12 +03:00
daa84
e4bbce3be4 Rendering fix 2017-09-07 18:01:04 +03:00
daa84
7f05e11e84 Add new repaint logic 2017-09-07 17:48:10 +03:00
daa84
6963c7ab95 Starting update queue area code rewriting 2017-09-06 18:31:13 +03:00
daa84
ecae1d09c6 Draw background as items 2017-09-06 17:18:30 +03:00
daa84
2f1f4e02c3 Same attribute for same properties 2017-09-06 12:05:12 +03:00
daa
26493977be add fixmes 2017-09-05 20:31:52 +03:00
daa84
05dee3251f Get sizes from FontMetrics 2017-09-05 18:23:46 +03:00
daa84
bc31984362 Fix text coloring 2017-09-05 17:03:20 +03:00
daa84
c4ecd43ea0 Fix rendering 2017-09-04 18:32:12 +03:00
daa84
3bb326c8aa Fix repaint 2017-09-04 12:47:23 +03:00
daa84
f8a10b2c27 Fix crash 2017-09-04 12:20:03 +03:00
daa84
a591bda6ee Small fixes 2017-09-01 16:49:10 +03:00
daa84
e8b23f18f5 Fix render issues 2017-09-01 13:14:16 +03:00
daa84
40f5492ba8 reimplement merge 2017-08-31 18:37:55 +03:00
daa84
6e0909ea95 Small fixes 2017-08-28 18:05:58 +03:00
daa
e8161919a7 Render fixes 2017-08-27 22:29:43 +03:00
daa
8aeac2b819 Render fixes 2017-08-26 23:17:09 +03:00
daa
5cf2a6ca3b Test + fix 2017-08-26 19:53:37 +03:00
daa84
d6f6b04ca3 pango_itemize/pango_shape 2017-08-25 18:32:30 +03:00
daa84
17063d5216 Itemizer 2017-08-24 17:41:20 +03:00
daa84
aad5dc2112 Progress... 2017-08-23 12:45:56 +03:00
daa84
9120c02d83 Cleanup 2017-08-22 12:31:14 +03:00
daa84
b6e16cc969 Show text 2017-08-22 12:27:59 +03:00
daa84
c8da929681 Merge branch 'master' into render 2017-08-22 12:04:51 +03:00
daa84
3759a9121c Fix ImContext positioning 2017-08-22 11:59:06 +03:00
daa84
20327e4311 Merge branch 'imcontext' 2017-08-21 18:14:32 +03:00
daa84
197fa9534e Update versions 2017-08-21 18:10:52 +03:00
daa
6964d2e756 Progress.. 2017-08-20 21:09:57 +03:00
daa
a1fe06843e Fix underline color 2017-08-19 20:58:12 +03:00
daa84
063bd86fd7 pango_itemize/pango_shape implementation 2017-08-18 18:35:33 +03:00
daa84
b2ae40982f Cleanup 2017-08-17 17:06:09 +03:00
daa84
367a7815f8 Update to new lib versions, small cleanup 2017-08-16 12:41:22 +03:00
daa
ab98faa157 Merge branch 'master' into imcontext 2017-07-25 20:51:18 +03:00
daa84
80d89157e9 Fix clippy issues 2017-07-25 17:55:31 +03:00
daa
808b40d8a8 Merge branch 'master' into imcontext 2017-07-22 23:32:13 +03:00
daa
2106b69c15 Try to keep window size on font change 2017-07-22 16:27:17 +03:00
daa
d0ca58d7be Show loading message 2017-07-22 13:32:56 +03:00
daa84
4d3e9689be Code refactor 2017-07-13 18:12:20 +03:00
daa84
ba20088bc6 Fix compilation, show errors 2017-07-12 18:32:10 +03:00
daa84
7a46e1cac5 Starting point 2017-07-11 18:14:46 +03:00
daa84
0987518b58 Merge branch 'master' into imcontext 2017-07-11 12:33:55 +03:00
daa
bfee0c2ddf Merge branch 'mode-info-set' 2017-07-09 23:51:39 +03:00
daa
59a735c521 Fix quit by :q 2017-07-09 14:05:55 +03:00
daa
609d593db5 Draw gui cursor shape 2017-07-09 12:40:31 +03:00
daa
90dc2d4a53 Basic functions 2017-07-09 01:29:52 +03:00
daa
5a6f7d7581 Extract mode struct 2017-07-08 23:45:55 +03:00
daa
27b498a36d Neovim message process cleanup 2017-07-08 14:02:56 +03:00
daa
f8ddd0e732 Fix error message 2017-07-06 19:45:30 +03:00
daa84
a22594ac80 Starting point for mode_info_set processing 2017-07-06 17:50:55 +03:00
daa84
62a996f7db Add general nvim start error message (fix #8) 2017-07-06 12:41:35 +03:00
daa84
c2bdaac4ba Use open signal for files 2017-06-08 17:17:08 +03:00
daa
5260d78418 Initialize nvim after gui size is nown
ALos some code cleanup
2017-06-04 13:14:09 +03:00
daa84
be6c872280 Implement imcontext (also must fix #6 on linux) 2017-06-03 12:27:18 +03:00
daa84
d9b7b1a1cc Move menubar to app_menu, fix #7 2017-05-31 17:14:58 +03:00
daa
dcd8f48072 Tab switch event 2017-05-28 12:29:50 +03:00
daa
30f9ea98a1 Finish tabline implementation 2017-05-27 23:51:22 +03:00
daa
42538027bf Basic implementation of tabline 2017-05-27 19:50:25 +03:00
daa
68963ab628 Move option set from args to ginit.vim 2017-05-27 11:56:47 +03:00
daa84
f32ddbd69c Bg/Fg colors, fix popup in case of string wrap 2017-05-25 17:50:56 +03:00
daa84
5f7019dd0d Adapt size to contents 2017-05-24 17:51:16 +03:00
daa84
04c60cd61f Merge branch 'master' into popup-to-popover 2017-05-24 16:55:14 +03:00
daa
64c5fb1147 Add neovim-qt compatible layer (#5)
Add shim to rtp, add gtk gui flag
2017-05-24 14:01:51 +03:00
daa84
905b95343d Code reorganisation 2017-05-23 18:17:45 +03:00
daa84
14a154f628 Popup menu refactor 2017-05-22 18:38:36 +03:00
daa
6b1840549d Small code cleanup 2017-05-21 16:52:49 +03:00
daa
e9ef55cc96 Merge branch 'master' into popup-to-popover 2017-05-21 16:42:18 +03:00
daa
243df1cb72 Migrate to new libs versions 2017-05-21 15:47:29 +03:00
daa84
6f8ed8c1fe Use popover instead of popup 2017-05-17 18:25:50 +03:00
daa
c3a22dccf9 Resize window on font change 2017-05-16 22:37:13 +03:00
daa84
1f929023f4 Fix: resize some time does not work 2017-05-16 12:01:32 +03:00
daa84
9cf24e0950 set termguicolors 2017-05-15 17:44:37 +03:00
daa
48a16528a8 Change application id for debug mode 2017-05-14 00:30:34 +03:00
daa
31731c6f5b Fix display of wrong path 2017-05-13 21:59:56 +03:00
daa
9eccd4599d Project/oldfiles manager 2017-05-13 17:31:19 +03:00
daa84
1b1af1f8d8 Add log of nvim path in case of error 2017-04-27 18:49:09 +03:00
daa84
389f47738e Fix two times repaint 2017-04-26 12:35:09 +03:00
daa
83b5798f6f Small code cleanup 2017-04-23 13:42:05 +03:00
daa
37c8b48015 Fix italic repaint problem 2017-04-23 12:54:46 +03:00
daa
da82d2dd88 Fix test 2017-04-23 11:48:00 +03:00
daa
910baed09e Small code cleanup 2017-04-22 22:25:05 +03:00
daa
0f919ec390 Number of fixes 2017-04-22 22:18:59 +03:00
daa
552021d2be Make repaint by regions 2017-04-22 18:00:06 +03:00
daa
ee0af91043 Fix calculation error 2017-04-22 17:22:01 +03:00
daa
682660107a Multiple send 2017-04-22 14:31:06 +03:00
daa
0f19874048 Merge branch 'master' into draw_rect 2017-04-22 13:15:02 +03:00
daa
751c4eb6fa Fix repaint of underscore 2017-04-22 12:33:36 +03:00
daa
9413af5a4e Fix repaint underscore problem 2017-04-22 12:08:03 +03:00
daa
c7fd289816 Fix test 2017-04-21 22:15:32 +03:00
daa84
73e1980256 New joint rect algorithm 2017-04-21 18:26:06 +03:00
daa84
d0aa5f1cf7 Fix test 2017-04-21 13:02:47 +03:00
daa84
1c4e43a26c Implement external popup menu
As solution have some restrictions - it disabled by default
2017-04-19 11:40:53 +03:00
daa
b2ee054d6d Fix compilation warinings 2017-04-15 20:12:40 +03:00
daa
2443c7d705 Fix mouse scroll bug 2017-04-15 20:07:09 +03:00
daa84
ade1f9a5de Refactoring for remove global variables. 2017-04-12 13:12:05 +03:00
daa84
057fad0e87 Implement busy_start/stop cursor hiding 2017-04-03 18:16:04 +03:00
daa84
1a2e2a4d9b Fix #3 2017-04-03 15:54:36 +03:00
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