Adam Harrison
0dda252096
Reverted find fixes.
2021-07-15 18:15:05 -04:00
takase1121
6bcdaa9d7a
Revert "fix number of parameters passed to self:move_towards"
...
Apparently the LSP intellisense is wrong on this one, this actually
causes an infinite loop
2021-07-15 18:01:27 -04:00
takase1121
169b8abae5
fix number of parameters passed to self:move_towards
...
self:move_towards(self) causes self to be passed twice, ignoring rate
2021-07-15 18:01:24 -04:00
takase1121
4ef707e941
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-15 18:01:24 -04:00
takase1121
c7bbf221ee
remove duplicated constants
2021-07-15 18:01:24 -04:00
takase1121
192a93014d
change double quotes to single quotes to reduce escaping
2021-07-15 18:01:24 -04:00
takase1121
818e21610c
do not terminate process when read fails
2021-07-15 18:01:24 -04:00
takase1121
de3013ce88
fix wrongly spaced variable name
2021-07-15 18:01:24 -04:00
takase1121
e7b025203b
add generic read function
...
process_read and process_read_errors no longer contain redundant code
2021-07-15 18:01:24 -04:00
takase1121
8bbb26a469
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-07-15 18:01:24 -04:00
takase1121
c41747c8fb
add .ccls-cache to .gitignore
...
For that one user that uses ccls :)
2021-07-15 18:01:24 -04:00
takase1121
f4f33bd36b
remove deprecated code
2021-07-15 18:01:24 -04:00
redtide
6e460a20ac
Added Editorconfig for the project ( #228 )
2021-07-15 18:01:22 -04:00
Francesco Abbate
265501bb9e
Fix problem with previous commit
...
Desastrous problem where core.normalize_path was removing the leading /.
2021-07-15 18:01:18 -04:00
Francesco Abbate
e1530c0951
Remove duplicate normalize_path function
...
Use the function defined in the "common" module.
Move the check for not-nil filename from common.normalize_path
to core.open_doc. In this latter the filename can be nil if a
new unnamed document is created.
2021-07-15 18:01:17 -04:00
Adam
0426fc26c2
Merge pull request #333 from adamharrison/namespace-config
...
Namespace plugin configs
2021-07-15 17:58:51 -04:00
Adam Harrison
423cd33810
Typo.
2021-07-15 17:58:14 -04:00
Adam Harrison
e539310e6d
Namespace plugin-specific configuration settings.
2021-07-15 17:58:14 -04:00
Adam
d10865bcc4
Merge pull request #303 from jgmdev/treeview-contextmenu
...
Added context menu to treeview.
2021-07-13 22:59:24 -04:00
redtide
0ed707c68f
InnoSetup build scripts
2021-07-13 23:41:32 +02:00
jgmdev
afa0c175e8
Added delete confirmation using NagView.
2021-07-12 11:41:31 -04:00
jgmdev
a4d5622eda
Make use of core.reschedule_project_scan()
2021-07-11 23:03:33 -04:00
Francesco Abbate
ad0530dafa
Remove unused script run-plugin
...
The script was most a duplication of run-local and was
not actually used.
2021-07-11 18:38:01 +02:00
Francesco Abbate
b3b99b9dcd
Fix run-local script to use new executable name
...
Updated the script to use the new name on the executable,
lite-xl instead of line.
2021-07-11 18:36:49 +02:00
jgmdev
900e9d1422
Namespaced aliases, virtual classes and added missing returns.
2021-07-09 18:33:25 -04:00
Adam
e1ae94a01b
Merge pull request #318 from lite-xl/MacOSClose
...
Created an extra command, to implement appropriate cmd+w behaviour on Mac.
2021-07-09 14:30:48 -04:00
Adam
1a87d0e4fd
Merge pull request #323 from lite-xl/liquidev-multicursor-reset-blink
...
Reset blink timer when a new cursor is created
2021-07-04 19:31:40 -04:00
lqdev
e5b2a7cbe8
reset blink timer when a new cursor is created
2021-07-01 14:50:28 +02:00
Adam
f29b6d1cc8
Merge pull request #309 from redtide/git-line-endings
...
Set default documents line endings behavior
2021-06-30 11:13:42 -04:00
Adam
9126b5e64d
Merge pull request #313 from jgmdev/add-system-rmdir
...
Added `system.rmdir(path)`, and `common.rm(path, recursive)`
2021-06-29 17:44:58 -04:00
jgmdev
68459a9199
Added context menu to treeview.
2021-06-28 11:11:49 -04:00
jgmdev
4188269cef
Added system.rmdir(path)
...
It is reported that the built-in lua function os.remove(path) does
not removes empty directories on windows. To fix this a system.rmdir
function is introduced that calls a native win32 function.
Also common.rm(path, recursively) was added which wraps system.rmdir()
to easily delete an entire folder with all its contents.
2021-06-28 11:07:27 -04:00
Adam Harrison
c2c59e9c99
Fixed XDG issue.
2021-06-28 10:44:40 -04:00
Adam
4d4c49e36e
Merge pull request #312 from redtide/application-name
...
Use lite-xl as project and executable names
2021-06-27 17:12:23 -04:00
Adam Harrison
f899848631
Added in checks so that the entire thing isn't consumed.
2021-06-27 13:27:20 -04:00
Adam Harrison
fd3f25608f
Created an extra command, to implement appropriat cmd+w behaviour on mac.
2021-06-27 13:18:54 -04:00
redtide
df63775dca
Use lite-xl as project and exacutable names
2021-06-25 22:54:02 +02:00
jgmdev
18eee34aa9
Added README to docs directory.
2021-06-25 03:03:07 -04:00
jgmdev
bd50401687
Documented with EmmyLua the C API using .lua interface files.
2021-06-25 02:25:05 -04:00
Adam Harrison
cc568e65fc
Changed over ctrl+w keybinding over to cmd+w, as per #311 .
2021-06-24 18:00:50 -04:00
redtide
36ff3b1c76
Renamed dev-utils directory to scripts
2021-06-24 22:53:14 +02:00
redtide
3f58e554ba
Reorganization of data resources
2021-06-24 22:53:14 +02:00
Adam
83a604dfb7
Merge pull request #296 from lite-xl/font-copy-api
...
Add a C API copy method for font_desc objects
2021-06-24 12:47:16 -04:00
redtide
8c71b35888
Set default documents line endings behavior
2021-06-24 14:00:04 +02:00
jgmdev
88704c6ecb
[api/process] added missing fields and minor fix to pid()
2021-06-22 15:01:30 -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
Francesco Abbate
1cf0f2009c
Add a C API copy method for font_desc objects
...
Add a renderer.font's method "copy" to clone the font object
by specifying an optional new size. In the size is not given
the size of the original object is used.
Should fulfill the request from issue #288 .
2021-06-21 11:18:52 +02:00
Adam Harrison
8b2fb67b9b
Fixed regex replace.
2021-06-20 22:24:20 -04:00