takase1121
b8b41b7fa8
Merge branch 'dev' of github.com:lite-xl/lite-xl into process-refactor
2021-07-07 14:44:51 +08:00
takase1121
0059b4a1cc
remove duplicated constants
2021-07-07 12:37:07 +08:00
takase1121
8e9034b965
Merge branch 'process-refactor' of github.com:lite-xl/lite-xl into process-refactor
2021-07-07 01:18:52 +08:00
takase1121
116109f069
move constants to the process table
...
reduce code clutter because they're already namespaced
2021-07-07 01:17:11 +08:00
takase1121
050f131261
fix number of parameters passed to self:move_towards
...
self:move_towards(self) causes self to be passed twice, ignoring rate
2021-07-06 17:28:38 +08:00
takase1121
1b0a2bc1aa
add compile_commands.json to gitignore
...
Apparently ccls needs it to work, and it's usually located in project
root. I symlinked it from the build folder and now I should put it in
gitignore
2021-07-06 17:22:55 +08:00
Takase
57fca752a2
Merge branch 'dev' into process-refactor
2021-07-06 17:16:07 +08:00
takase1121
ccbf676f50
major refactor to the process API
...
- process.new() is replaced by the Process class
- Process() accepts redirection options and environment variables
- Process:read() does not accept `tries`
- Process:read_stdout() and process:read_stderr() is introduced
- Process:read() now accepts stream as it's first parameter
- Process:running() actually detects if process is running
- Process.returncode() returns the exit code (or exit SIGNAL on POSIX when available)
- constants are moved to process.constants
- process_t.L is removed
2021-07-06 17:00:41 +08:00
takase1121
79581b551b
change double quotes to single quotes to reduce escaping
2021-06-27 23:14:48 +08:00
takase1121
022f92bcd4
do not terminate process when read fails
2021-06-24 16:01:45 +08:00
takase1121
9fa43dbdcb
Merge branch 'master' of github.com:lite-xl/lite-xl into dev
2021-06-23 18:37:15 +08:00
takase1121
257cb47cd1
fix wrongly spaced variable name
2021-06-23 18:29:38 +08:00
takase1121
ab0bdd5017
add generic read function
...
process_read and process_read_errors no longer contain redundant code
2021-06-23 18:23:19 +08:00
takase1121
b5e9e2a7bc
refactor process.c
...
- include api.h instead of individual #includes
- moved metatable name to API_TYPE_PROCESS
- moved read buffer size to READ_BUF_SIZE
2021-06-23 18:21:36 +08:00
takase1121
bbfb6167f1
add .ccls-cache to .gitignore
...
For that one user that uses ccls :)
2021-06-23 18:18:13 +08:00
jgmdev
88704c6ecb
[api/process] added missing fields and minor fix to pid()
2021-06-22 15:01:30 -04:00
takase1121
daa0720c6d
remove deprecated code
2021-06-22 16:09:36 +08:00
takase1121
dad6d3d218
fix undefined variable
2021-06-22 09:18:40 +08:00
jgmdev
69cea72f90
Merge branch 'master' into dev
2021-06-21 19:47:50 -04:00
Francesco Abbate
98663461bb
Merge branch 'master-fix'
2021-06-21 23:41:53 +02:00
Ulhar
a2cf0019ff
update application icon files
2021-06-21 23:29:14 +02:00
Adam Harrison
f9edca712d
Added in lineguide to core.
2021-06-21 23:21:07 +02:00
Adam Harrison
8b2fb67b9b
Fixed regex replace.
2021-06-20 22:24:20 -04:00
Adam Harrison
46e939a3e6
Fixed a minor bug.
2021-06-20 21:34:42 -04:00
Adam Harrison
305921299f
Added in tooltips, the ability to swap between different find modes with a keybind.
2021-06-20 21:22:37 -04:00
Francesco Abbate
b086db24e8
Integrate language_cpp plugins from lite-pugins
2021-06-20 23:10:52 +02:00
Francesco Abbate
ee404965a1
Bump version 1.16.2 and update changelog
2021-06-20 23:09:58 +02:00
Adam
2486f253eb
Abstracted out draw caret, so that the line guide can draw under it. ( #287 )
...
* Abstracted out draw caret, so that the line guide can draw under it.
* Moved caret drawing out to draw_overlay.
2021-06-20 22:16:35 +02:00
jgmdev
a6efb6147c
Merge branch 'master' into dev
2021-06-20 12:30:54 -04:00
Jefferson González
559be66e80
Merge pull request #289 from jgmdev/close-hook
...
Added Doc:on_close() method.
2021-06-20 11:37:31 -04:00
jgmdev
1a51dad23c
Added Doc:on_close() for plugins
2021-06-20 00:13:07 -04:00
jgmdev
35758a5942
Merge branch 'master' into dev
2021-06-19 22:32:46 -04:00
Adam Harrison
bd02095a13
Fixed minor bugs; swap no longer returns from get.
2021-06-18 23:58:55 -04:00
Adam
4931110208
Merge pull request #255 from adamharrison/Multicursor
...
Multicursor Implementation
2021-06-18 17:38:54 -04:00
Adam Harrison
704e04396f
Rebased, and added the ability for ctrl to just create new cursors.
2021-06-18 17:33:55 -04:00
Adam Harrison
292c98935c
Fixed recursion error.
2021-06-18 17:33:55 -04:00
Adam Harrison
3541ab4aa1
Removed unecessary check.
2021-06-18 17:33:55 -04:00
Adam Harrison
0210264552
Made get_selections a bit more flexible.
2021-06-18 17:33:55 -04:00
Adam Harrison
b5cbe3a2fb
Added in the ability to iterate through cursors backwards.
2021-06-18 17:33:55 -04:00
Adam Harrison
dfc57bd884
Used routine to add cursors in order correctly.
2021-06-18 17:33:55 -04:00
Adam Harrison
6915d86d59
Introduced the constraint that all cursors must be in order.
2021-06-18 17:33:55 -04:00
Adam Harrison
b065b52067
Ensured that textual inputs sort cursors so that we don't get *real* weird behaviour.
2021-06-18 17:33:55 -04:00
Adam Harrison
0f229b039d
Fixed merging. Fixed selection undo stack.
2021-06-18 17:33:55 -04:00
Adam Harrison
c494d52caf
Used an inappropriate function in a selection loop.
2021-06-18 17:33:55 -04:00
Adam Harrison
d3b3f26316
Added in cursor merging behaviour.
2021-06-18 17:33:55 -04:00
Adam Harrison
c6f7e473f0
That's what I get for not testing after a 'simple' refactor.
2021-06-18 17:33:55 -04:00
Adam Harrison
858f7a2a50
Added in missing boolean.
2021-06-18 17:33:55 -04:00
Adam Harrison
75658b4f3f
Removed unecessary elses.
2021-06-18 17:33:55 -04:00
Adam Harrison
2475b1624f
Fixed error.
2021-06-18 17:33:55 -04:00
Adam Harrison
b42708fe56
Cleaned up functions.
2021-06-18 17:33:55 -04:00