Adam
6229f74ccd
Merge branch 'master' into master-2.1
2022-05-09 21:36:10 -04:00
Adam
f1f8a9b3f2
TreeView Changes ( #898 )
...
* Change to 1 click as per RFC on discord, with 100% in favour.
* Added in the ability to specify as a view name, so it doesn't modify the title, and also fixed a bug where if you clicked *over* the amount of times your config says, it wouldn't regsiter.
* Changed plugin to use keymap.
2022-05-09 21:33:22 -04:00
Adam Harrison
ddc3a8842b
Fixed dirwatch dummy, and scanning.
2022-05-09 21:30:13 -04:00
Adam Harrison
d8436d1e92
Bumped verison number in meson.
2022-05-06 11:51:30 -04:00
Adam Harrison
2eaba8ab92
Erroneously added padding.
2022-05-04 20:08:08 -04:00
Adam Harrison
09bfb8d869
Updated linewrap and autocomplete to use the new get_line_screen_position which takes a col.
2022-05-04 20:05:41 -04:00
Adam Harrison
8345a04d04
Updated treeview to match convention.
2022-05-03 23:13:49 -04:00
Adam Harrison
94abf66444
Fixed minor race condition.
2022-05-02 22:36:54 -04:00
Adam Harrison
91797d65d1
Fixed minor race condition.
2022-05-02 22:35:21 -04:00
Adam Harrison
548dbf67c2
Added in log to show total time.
2022-04-30 16:23:05 -04:00
Adam Harrison
b7db7cd533
Added plugin load-time log.
2022-04-28 21:42:53 -04:00
Adam
4934e741b3
TreeView Changes ( #898 )
...
* Change to 1 click as per RFC on discord, with 100% in favour.
* Added in the ability to specify as a view name, so it doesn't modify the title, and also fixed a bug where if you clicked *over* the amount of times your config says, it wouldn't regsiter.
* Changed plugin to use keymap.
2022-04-26 18:29:05 -04:00
Adam Harrison
9f7c6974ae
Make sure pipes are closed on exec.
2022-04-26 12:14:38 -04:00
Adam
4bf4851736
Asynchronous Reads for Dirmonitor ( #930 )
...
Change dirmonitor reads to be synchronous, in a secondary thread.
2022-04-26 12:13:39 -04:00
Adam Harrison
6f65168b0d
Fixed windows dirmonitor issues.
2022-04-26 12:04:41 -04:00
Adam Harrison
d8f202e251
Make sure pipes are closed on exec.
2022-04-24 21:13:18 -04:00
Adam
5df1640595
Merge branch 'master' into master-2.1
2022-04-24 13:42:24 -04:00
Adam
97174706fe
Asynchronous Reads for Dirmonitor ( #930 )
...
Change dirmonitor reads to be synchronous, in a secondary thread.
2022-04-24 13:40:58 -04:00
Adam Harrison
c112bd8d7c
Significantly improved performance of tokenization for larger documents by by default not requiring tokenization.
2022-04-17 13:01:45 -04:00
Adam Harrison
d323917538
Added in check in case of nil.
2022-04-15 00:07:20 +02:00
Adam
683d23e3ba
Changed calculation to use ascender, which should work better. ( #912 )
2022-04-04 10:38:43 -04:00
Adam Harrison
04adb10f97
Added in check in case of nil.
2022-04-03 16:44:02 -04:00
Adam Harrison
974fd9c8d5
Fixed windows dirmonitor issues.
2022-04-03 16:44:02 -04:00
Adam Harrison
562e284d04
Fixed some minor issues with linewrapping.
2022-04-03 16:44:02 -04:00
Adam Harrison
11dfb5b1ca
Apparenlty these were issues? What?
2022-04-03 16:44:02 -04:00
Adam
3479890ce5
Soft Line Wrapping ( #636 )
...
Added in soft line wrapping.
2022-04-03 16:44:02 -04:00
Adam Harrison
048d250f5e
Added in notes to the changelog.
2022-04-03 16:44:02 -04:00
Adam Harrison
45a0382d50
Bumping version numbers.
2022-04-03 16:44:02 -04:00
Adam Harrison
3e7a97737e
Re-enabled comment cache.
2022-03-22 10:35:44 -04:00
Adam Harrison
17645ba4ec
Fixed anonyous syntaxes.
2022-03-22 10:17:42 -04:00
Adam Harrison
ba5289dc75
Typo.
2022-03-17 16:57:18 -04:00
Adam Harrison
82325b6a08
Fixed a bunch of problems. Fixed left+click not allowing for square selections, fixed esc not exiting multicursor mode, and allowed cntrl+click to remove a cursor.
2022-03-17 16:55:52 -04:00
Adam
960b482061
Fixed some issues with inotify and multiple events at the same time. ( #872 )
...
* Fixed some issues with inotify and multiple events at the same time. Seems to be working now.
* Cleaned up and simplified function, and commented, and fixed a number of bugs.
* Simplifying and fixing further.
* Improved performance for skipping large amounts of files.
* Added in extra checks, and changed paths. We should probably unify these path styles.
* Fixed stutter.
* Removed extraneous functions.
* Cleaned up more, added more testing; dealt with multiple sequential events correctly.
2022-03-08 19:30:25 -05:00
Adam and Jan200101
f85612e0f0
Fix Project Scanning ( #746 )
...
Removed dmon, and replaced with logic that works across Linux, Mac, FreeBSD and Windows. Have tested on all platforms, and seems to work.
Co-authored-by: Jan200101 <sentrycraft123@gmail.com >
2022-03-06 00:59:22 -05:00
Adam
61e712db12
Fixed rendering computations for y offset. ( #843 )
...
* Fixed rendering computations for y offset.
* Force monospacing if every ascii character has the same integer advance.
* Added in explanatory comment.
* Fixed issues.
* Made lines less long.
2022-02-15 15:57:07 -05:00
Adam
05e1968b0b
Merge pull request #845 from Guldoman/file_drop_override
...
Add `View:on_file_dropped`
2022-02-15 11:44:37 -05:00
Adam
a6f32ca0d0
Merge pull request #822 from AlexSol/update_contextMenu
...
Travel by contextMenu using keyboard
2022-02-11 12:10:14 -05:00
Adam
3a0af6ee04
Merge pull request #828 from adamharrison/signal-processes
...
Changed signalling so it'll target the whole process group.
2022-02-11 12:01:53 -05:00
Adam
af6a06bc8b
Merge pull request #832 from jgmdev/autocomplete-update
...
Update autocomplete with changes needed for latest LSP plugin.
2022-02-11 12:01:35 -05:00
Adam
b05a02cb28
Merge pull request #839 from jgmdev/nil-nodes-fix
...
Fix cases of nil node.
2022-02-11 11:52:43 -05:00
Adam
a4833b21e4
Merge pull request #842 from Guldoman/no_scroll_selection
...
Don't scroll when selecting the whole doc
2022-02-11 11:48:01 -05:00
Adam
212d4e2729
Merge pull request #833 from jgmdev/add-system-get_process_id
...
Implemented system.get_process_id()
2022-02-04 12:24:54 -05:00
Adam
e5f17aea4b
Merge pull request #821 from dheisom-gomes/improvements
...
Improvements on core.add_thread function
2022-02-03 19:23:54 -05:00
Adam
d78f310a4e
Merge pull request #829 from Guldoman/draw_rect_alpha_format
...
Use SDL to manage color format mapping in `ren_draw_rect`
2022-02-03 17:02:49 -05:00
Adam Harrison
d2d5617774
Changed signalling so it'll target the whole process group.
2022-01-30 20:51:30 -05:00
Adam Harrison
af76f544be
Fixing performance regression. Due to the way the hashes work, we must 0 out the whole thing.
2022-01-29 15:19:22 -05:00
Adam
3d40725b8f
Merge pull request #816 from adamharrison/fix-process-api
...
Fixing up Process API
2022-01-28 23:53:37 -05:00
Adam Harrison
941523868e
Merge branch 'fix-process-api' of github.com:adamharrison/lite-xl into fix-process-api
2022-01-28 15:44:16 -05:00
Adam Harrison
3773a812bd
Incorporate realtakase's suggestions.
2022-01-28 15:39:57 -05:00
Adam
0a70b13a73
Merge pull request #809 from lite-xl/merge-master-2.0
...
Merge master 2.0
2022-01-28 14:38:22 -05:00
Adam Harrison
456126400a
Added in new merge method, and run it on plugins. Also made it so plugin configs can be set anywhere, even if we don't know the plugin beforehand.
2022-01-22 18:39:23 -05:00
Adam
7e6d9df58d
Merge pull request #805 from Jan200101/PR/fallback-force
...
use lua fallback earlier when fallbacks are forced
2022-01-22 17:30:01 -05:00
Adam Harrison
f9ad83e53e
Fixed windows not converting utf8 environment block to utf16.
2022-01-22 13:34:47 -05:00
Adam Harrison
ed4128bc65
Added in support for env on linux.
2022-01-22 12:36:30 -05:00
Adam Harrison
428c757a13
Implemented @guldoman's suggestion for how to close file handles.
2022-01-22 12:02:59 -05:00
Adam
9cb25acd7b
Merge pull request #815 from takase1121/fix-subprocess-read
...
fix invalid memory access
2022-01-22 11:18:19 -05:00
Adam
8c8bd4692c
Merge pull request #808 from adamharrison/fix-commenting
...
Fix commenting selections.
2022-01-20 23:28:05 -05:00
Adam Harrison
b523bd5cee
Fixed end of block-style line comments.
2022-01-20 22:17:21 -05:00
Adam
6025c43241
Merge pull request #743 from takase1121/better-logview
...
multiple improvements to logging
2022-01-18 23:25:36 -05:00
Adam Harrison
cdbfecc5ce
Streamlined, and fixed guldo's problem.
2022-01-18 21:38:43 -05:00
Adam Harrison
30cc205cd4
Fixed issue first mentioned in #771 .
2022-01-18 21:38:38 -05:00
Adam
d3e1636881
Merge pull request #771 from takase1121/multiline-comment-command
...
add toggle-block-comment
2022-01-18 21:07:46 -05:00
Adam
3b3e41c095
Merge pull request #799 from Guldoman/bit32_polyfill
...
Improve bit32 polyfill
2022-01-18 21:06:48 -05:00
Adam
a4e5d9f043
Merge pull request #798 from Jan200101/PR/wrap
...
Add fallbacks to all common dependencies
2022-01-18 20:54:36 -05:00
Adam Harrison
31d448971a
Restored floating point time granularity.
2022-01-08 12:59:15 -05:00
Adam
93076bdc41
Merge pull request #781 from Jan200101/PR/lua54
...
Migrate to Lua 5.4
2022-01-08 12:11:48 -05:00
Adam
067e7cc6cd
Merge pull request #784 from Jan200101/PR/label-update
...
add Libraries label
2022-01-01 12:18:41 -05:00
Adam
186248911a
Merge pull request #782 from Nightwing13/patch-2
...
[Fix] Pointer Bug in ToolBar plugin
2021-12-30 19:25:03 -05:00
Adam
1552f18a87
Merge pull request #753 from Jipok/highlight_selection
...
Add for config.highlight_current_line new variant: no_selection
2021-12-29 14:43:17 -05:00
Adam
416a06c566
Merge pull request #765 from Guldoman/treeview_remove_deleted
...
Better "Remove changed files/dirs from `TreeView` cache"
2021-12-29 12:41:36 -05:00
Adam
3696937fec
Merge pull request #769 from takase1121/font_gc
...
fix FontGroup __gc method
2021-12-29 12:18:28 -05:00
Adam
d2e02bbed3
Merge pull request #778 from eli-schwartz/meson
...
Meson: retain compatibility for very old versions
2021-12-29 12:13:59 -05:00
Adam
1e6046e499
Merge pull request #763 from Jipok/portable_try
...
Support portable user config(Fix #762 )
2021-12-26 16:59:13 -05:00
Adam
4be8a8b582
Merge pull request #764 from lorsatti/master
...
Add CFBundleIdentifier to Info.plist.in
2021-12-23 19:55:41 -05:00
Adam
590c8bb456
Merge pull request #759 from Jipok/again
...
Support for remaped special keys(Fix #757 )
2021-12-21 19:56:33 -05:00
Adam
e0d0d17c4d
Merge pull request #760 from adamharrison/fix-multiline-paste-system-clipboard
...
Restore External Paste to Non-Multiline Paste
2021-12-21 17:15:03 -05:00
Adam Harrison
978550d2a2
Restores external pastes to be normal pastes.
2021-12-21 16:23:34 -05:00
Adam
61379a9ab8
Merge pull request #713 from Jipok/master
...
Copy/cut whole line if selection empty
2021-12-21 15:53:12 -05:00
Adam
8101c1eae3
Merge pull request #749 from Jipok/new_colors
...
Add predefined colors to style.lua: good, warn, error, modified
2021-12-20 23:06:28 -05:00
Adam
19c239de42
Merge pull request #752 from Jipok/rgba_hex_fix
...
Support rgba hex format
2021-12-20 19:07:38 -05:00
Adam Harrison
5ee465f382
Removed legacy reproc.wrap.
2021-12-20 18:35:24 -05:00
Adam Harrison
e512c57637
Added an exclusion for lineguide in the commandview.
2021-12-20 08:43:48 +01:00
Adam
4d5d3e2565
Update README.md
2021-12-18 22:37:33 -05:00
Adam Harrison
9cf795dabf
Forgot a line or two.
2021-12-18 15:43:44 -05:00
Adam Harrison
443177cc1c
Cleaned up links.
2021-12-18 15:42:57 -05:00
Adam Harrison
cb13afd749
Changed operator to be more correct for utf8.
2021-12-18 15:11:50 -05:00
Adam Harrison
b4384eb49d
Added in @Jipok's comment.
2021-12-18 15:09:00 -05:00
Adam
baf43084b6
Merge pull request #745 from Jipok/keycode_fix
...
Correct definition of the pressed key for different layouts and languages
2021-12-18 14:55:14 -05:00
Adam
7ae33bf6f4
Merge pull request #738 from adamharrison/restart-keymap
...
Added in restart keymapping.
2021-12-18 13:44:04 -05:00
Adam
a019420bf9
Merge pull request #739 from adamharrison/include-fixes
...
Takes kivutar's changes into account, cleaning things up slightly.
2021-12-18 13:43:54 -05:00
Adam Harrison
eb9918089a
Takes kivutar's changes into account, cleaning things up slightly.
2021-12-15 20:31:24 -05:00
Adam Harrison
b7631ba44a
Added in restart keymapping.
2021-12-15 16:50:38 -05:00
Adam
997b3efbb7
Merge pull request #708 from Guldoman/treeview_styling
...
Allow `TreeView` item icon and text styling
2021-12-12 12:04:59 -05:00
Adam
dadfa4b3e8
Merge pull request #729 from adamharrison/fix-treeview-clicking
...
Fix TreeView and StatusView clicking
2021-12-11 19:05:52 -05:00
Adam
9a813c818b
Merge pull request #715 from Guldoman/split_rootview
...
Split `Node` and `EmptyView` from `RootView`
2021-12-11 18:15:33 -05:00
Adam Harrison
ff5c3c1492
Also fixed statusview.
2021-12-11 18:00:42 -05:00
Adam Harrison
95945d86ab
Removed erroneously added file.
2021-12-11 17:51:51 -05:00
Adam Harrison
7b55470159
Fixed treeview clicking not being caught.
2021-12-11 17:51:19 -05:00
Adam
29ece95962
Merge pull request #725 from Guldoman/fix_consume_no_match
...
Consume unmatched character correctly
2021-12-11 15:35:22 -05:00
Adam
f1054b8280
Replace Reproc ( #535 )
...
Replace reproc with simpler non-dependency-based process API.
2021-12-11 15:25:35 -05:00