1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-01 01:32:04 +03:00
Commit Graph

149 Commits

Author SHA1 Message Date
Tae Won Ha
695f2ca47e
GH-339 Migrate vim command 2017-01-06 09:23:11 +01:00
Tae Won Ha
f274865256
GH-339 Migrate resize 2017-01-06 08:58:59 +01:00
Tae Won Ha
08283e2081
GH-339 Migrate dirty status 2017-01-06 08:51:01 +01:00
Tae Won Ha
e0ede2a02c
GH-339 Migrate escaped file names 2017-01-06 08:38:13 +01:00
Tae Won Ha
49aa4a2440
GH-339 Migrate get bool option 2017-01-06 08:33:16 +01:00
Tae Won Ha
33b101eba6
GH-339 Migrate set bool option 2017-01-06 08:28:04 +01:00
Tae Won Ha
75186ebc87
GH-339 Migrate vim command output 2017-01-06 08:14:35 +01:00
Tae Won Ha
1aaf8860b1
GH-339 Refactor to use block 2017-01-06 07:12:05 +01:00
Tae Won Ha
63bd4bc94a
GH-339 Move buffers 2017-01-06 06:42:23 +01:00
Tae Won Ha
df7f321082
GH-339 Try to call methods directly in the main loop 2017-01-05 19:35:44 +01:00
Tae Won Ha
279a768bf7
Revert "GH-376 Compute tabs in the main loop"
This reverts commit 5fbc773584.
2017-01-04 17:38:28 +01:00
Tae Won Ha
b03393a3e0
Revert "GH-376 Get buffers in the main loop"
This reverts commit d7dfddec04.
2017-01-04 17:38:18 +01:00
Tae Won Ha
daf16d0fc0
Merge branch 'develop' into issue/339-md-preview 2017-01-03 16:45:25 +01:00
Tae Won Ha
d7dfddec04
GH-376 Get buffers in the main loop 2017-01-03 14:25:22 +01:00
Tae Won Ha
38b301de10
GH-376 Cast to bool 2017-01-03 10:04:27 +01:00
Tae Won Ha
5fbc773584
GH-376 Compute tabs in the main loop 2017-01-03 09:59:52 +01:00
Tae Won Ha
1451b0ba72
GH-339 Pass through current buffer changed event
- ignore cursor events to avoid slowing down scrolling...
2016-12-20 00:01:59 +01:00
Tae Won Ha
9cebb5ab48
GH-339 Pass through auevents... 2016-12-19 23:11:42 +01:00
Tae Won Ha
fabacfd6b3
GH-360 Increase IPC timeout to 10s again 2016-12-07 20:56:03 +01:00
Tae Won Ha
fc8aa77dc5
GH-360 Quit server when the ipc becomes invalid 2016-12-07 20:24:25 +01:00
Tae Won Ha
b6bc89a822
GH-360 Be prepared for buffer being null 2016-12-07 19:19:30 +01:00
Tae Won Ha
16c35ba682
GH-360 Try to react to IPC channels becoming invalid 2016-12-05 21:30:25 +01:00
Tae Won Ha
af718bc3e5
GH-297 Use url instead of unescaped path in neovim buffer 2016-11-24 20:18:43 +01:00
Tae Won Ha
2dde944a46
GH-297 Handle also paths with spaces 2016-11-24 20:18:43 +01:00
Tae Won Ha
5f90b0df19
GH-297 React also to buffer leave 2016-11-23 22:14:20 +01:00
Tae Won Ha
2ec21b1497
GH-297 Add readonly flag to NeoVimBuffer 2016-11-23 22:06:08 +01:00
Tae Won Ha
43c3e69ef3
GH-297 list the buffers 2016-11-22 20:58:15 +01:00
Tae Won Ha
7376b22da4
GH-297 Remove unnec events 2016-11-21 22:14:45 +01:00
Tae Won Ha
c87fde969f
GH-297 Add buffer event 2016-11-21 21:47:31 +01:00
Tae Won Ha
7dcec8a842
Merge branch 'develop' into issue/297-bufferlist 2016-11-21 20:49:51 +01:00
Tae Won Ha
5abe9e95a9
Change timeout to 10 again
- Since changed to 2, I often get no responses... I thought CFTimeInterval was in secs?
2016-11-21 20:36:57 +01:00
Tae Won Ha
ff541a8022
GH-297 Reformat 2016-11-20 21:50:45 +01:00
Tae Won Ha
454317159c
GH-297 Add some stub reaction to many neovim events 2016-11-20 20:45:30 +01:00
Tae Won Ha
cf62d4b25f
GH-341 Set timeout for the IPC to 2sec. 2016-11-20 12:05:52 +01:00
Tae Won Ha
5b82f0d19e
GH-337 Set LANG in the server
- If we set LANG in NeoVimAgent, strangely, on 10.12 init.vim does not
  get read... (and a folder named ~ gets created in the cwd...)
2016-11-13 14:57:59 +01:00
Tae Won Ha
ff9d35abf4
Do not autorelease boxed number 2016-11-11 20:51:40 +01:00
Tae Won Ha
3352f86c3b
GH-332 Refactor slightly 2016-11-11 13:37:38 +01:00
Tae Won Ha
df257ad99e
GH-332 Use combination of normal mode commands to Cmd-V and not
nvim_input
2016-11-11 12:16:37 +01:00
Tae Won Ha
704100bcee
GH-332 Refactor get/set bool option 2016-11-11 12:14:31 +01:00
Tae Won Ha
40a1e9375f
GH-332 Refactor sync result msgs from the server 2016-11-11 12:14:18 +01:00
Tae Won Ha
703201c69f
GH-332 Add get/set bool option 2016-11-10 17:33:37 +01:00
Tae Won Ha
3769633d24
GH-309 Select the neovim window when the file is already open 2016-10-23 19:49:38 +02:00
Tae Won Ha
3f7c51cdcb
GH-309 Add isEqual to NeoVimBuffer 2016-10-23 11:43:21 +02:00
Tae Won Ha
1750af1ce5
GH-309 Add some more neovim objects 2016-10-22 22:23:10 +02:00
Tae Won Ha
3171a0f229
Remove unused enum 2016-10-22 17:37:53 +02:00
Tae Won Ha
21cf7c3fd5
Rename properties 2016-10-22 17:35:36 +02:00
Tae Won Ha
43e96079bd
Reformat and use @import 2016-10-22 17:28:35 +02:00
Tae Won Ha
b5cf060be4
GH-298 Add open in new window menu item 2016-10-09 21:25:34 +02:00
Tae Won Ha
fc15e31aa0
Make compile again 2016-10-09 17:56:50 +02:00
Tae Won Ha
f6ff0696c4
Make it compile again 2016-10-08 19:09:16 +02:00
Tae Won Ha
a90b16d976
GH-284 Remove unused param 2016-10-06 19:49:41 +02:00
Tae Won Ha
9d93513d9d
GH-275 Optimize import 2016-09-15 22:00:42 +02:00
Tae Won Ha
ab458c03a4
GH-271 Remove suspend related code 2016-09-09 20:26:50 +02:00
Tae Won Ha
c5b5707958
GH-264 Monitor and unmonitor urls 2016-09-07 22:29:45 +02:00
Tae Won Ha
74b4740500
GH-264 Call send_dirty_status directly 2016-09-07 22:29:44 +02:00
Tae Won Ha
c9e4626c32
GH-264 Do not use nvim_command_output
- When compiling with -Os nvim_command_output does not work somehow...
  Dunno why. For -O0 it works...
2016-09-03 22:49:09 +02:00
Tae Won Ha
e5e40dfd04
GH-264 Use DLOG 2016-09-02 23:13:58 +02:00
Tae Won Ha
e7ff9750a1
GH-264 Add a cast (to reduce warning...) 2016-09-02 23:13:04 +02:00
Tae Won Ha
0bd9511550
GH-264 Add (sync) NeoVimAgent.vimCommandOutput 2016-09-02 23:07:20 +02:00
Tae Won Ha
f1b09641fa
GH-264 Update neovim and adapt to new function names 2016-09-02 23:05:54 +02:00
Tae Won Ha
137831e367
GH-262 Launch NeoVimServer using login shell. 2016-08-26 17:27:42 +02:00
Tae Won Ha
1c9ccf6e28
GH-260 Use neovim's logging facilities in NeoVimServer 2016-08-26 15:31:30 +02:00
Tae Won Ha
762c1e7267
GH-251, GH-258 Show a warning when there was an error during the initialization of init.vim 2016-08-25 22:52:31 +02:00
Tae Won Ha
a53073e6a0
GH-252 Use different color when drawing cursor
- when bg=dark, then use the foreground
2016-08-25 15:26:45 +02:00
Tae Won Ha
afbdff64c3
Refactor slightly 2016-08-25 14:40:36 +02:00
Tae Won Ha
d36967816b
GH-232 Open files from vimr 2016-08-24 23:12:33 +02:00
Tae Won Ha
07b2dc4e83
GH-229 Comment a log 2016-08-18 23:40:04 +02:00
Tae Won Ha
49cf51077c
GH-229 Send dirty status when changed to the UI 2016-08-18 23:11:33 +02:00
Tae Won Ha
0d6d804925
GH-253 Improve cursor rendering
- Tried to minimize the background filling by only filling the cursor
  rects, but it did not work. Dunno why...
2016-08-16 21:52:36 +02:00
Tae Won Ha
ee8f4fdc06
GH-252 Update cursor when putting 2016-08-15 20:30:44 +02:00
Tae Won Ha
832b05f75f
GH-245 A flag will be sent to agent from server whether there was an error during the initialization. 2016-08-15 16:08:03 +02:00
Tae Won Ha
5efad3603d
GH-248 Modify some logs 2016-08-12 23:45:56 +02:00
Tae Won Ha
4cfb644a0e
GH-248 Deactivate some logs 2016-08-12 23:44:16 +02:00
Tae Won Ha
a7716c5c7e
GH-247 Clean up swap files
- Cleaning the swap files are done by `ml_close_all()` in `mch_exit()`
  and now we call it before stopping UI in neovim.
- When all main windows are closed we quit. Using Observable here, but
  it's messy...
2016-08-12 19:37:03 +02:00
Tae Won Ha
e011498299
GH-228 Rename NeoVimTypes to NeoVimBuffer 2016-08-12 15:19:06 +02:00
Tae Won Ha
45badf6099
GH-228 Remove unnec' import 2016-08-12 15:07:45 +02:00
Tae Won Ha
c2e79e0632
GH-228 Add get all buffers 2016-08-12 14:57:38 +02:00
Tae Won Ha
ecc63fbbfe
GH-228 Open files using escaped file name
- Let NeoVim escape the file names.
2016-08-12 10:51:44 +02:00
Tae Won Ha
127c79985f
GH-228 Remove unused import 2016-08-12 09:52:34 +02:00
Tae Won Ha
d5f50e899f
GH-228 Remove unused function 2016-08-12 09:52:15 +02:00
Tae Won Ha
f46cb9625c
GH-228 Remove unnec' log 2016-08-10 21:38:09 +02:00
Tae Won Ha
b539ed86a2
Delete unused stuff (forceRedraw) 2016-08-09 21:54:56 +02:00
Tae Won Ha
ce18e5cdee
GH-226 Implement cut/copy/paste
- cursor drawing is not yet correct
2016-08-04 23:13:40 +02:00
Tae Won Ha
c967a912da
GH-224 Check null for set title and set icon 2016-07-28 22:14:27 +02:00
Tae Won Ha
89fdab1566
GH-218 Check validity of ports before invalidating 2016-07-18 20:16:56 +02:00
Tae Won Ha
4b4ccd13b3
GH-218 Add hasDirtyDocs()
- Use it to determine whether to close the window or not.
2016-07-18 20:16:56 +02:00
Tae Won Ha
7db9cf1440
GH-216 Change wording 2016-07-17 15:59:01 +02:00
Tae Won Ha
4f46e619cf
Rename nvox to VimR
- hopefully we renamed everything
2016-07-12 17:59:01 +02:00
Tae Won Ha
4699e3db35
Forward almost every keystroke to neovim
- we probably still have to fine-tune this.
2016-07-12 17:58:35 +02:00
Tae Won Ha
f2dd39d80d
Reformat 2016-07-10 16:16:16 +02:00
Tae Won Ha
07f0210841
Add some logging 2016-07-10 14:43:26 +02:00
Tae Won Ha
52f528b33b
Use ARC in NeoVimServer 2016-07-10 14:27:28 +02:00
Tae Won Ha
b1af87bc5c
Refactor slightly 2016-07-10 14:10:09 +02:00
Tae Won Ha
6eca26bbc7
Refactor slightly 2016-07-10 14:00:31 +02:00
Tae Won Ha
b77ac875ad
Delete the XPC service 2016-07-10 11:58:48 +02:00
Tae Won Ha
656746d673
Refactor slightly 2016-07-10 11:58:45 +02:00
Tae Won Ha
f7a2fe770b
Ensure no NeoVimServer processes are left over 2016-07-10 11:38:53 +02:00
Tae Won Ha
4f0a20d2ba
Make NeoVimServer work 2016-07-10 11:38:52 +02:00
Tae Won Ha
2623b351c6
Restructure the project
- add the NeoVimServer binary
- we're on our way to remove the XPC service since only 1-to-1 correspondence
  possible between an XPC and the main app
- NeoVimServer communicates with the main app via two CFMessagePorts
- Use enums to distinguish between messages
2016-07-10 11:38:34 +02:00