Francesco Abbate
68c1cc606f
Bring back min len autocomplete default to 3
2021-09-07 15:03:00 +02:00
Francesco Abbate
8dde1dbb86
Add renderer build options in build-packages.sh
2021-09-07 15:03:00 +02:00
Zack A
97ca19c73f
build script: check if .git is present
2021-09-07 15:03:00 +02:00
boppyt
e34ec195b4
build script: check for BUILD_PROHIBIT_GIT
2021-09-07 15:03:00 +02:00
boppyt
ea795aa411
build script: add .git fallback
2021-09-07 15:03:00 +02:00
Guldoman
e93bbc559c
Fix crash in project search when project has no files
2021-09-07 15:03:00 +02:00
Guldoman
d3bd35b577
Use plain `string:find` when matching plugin directories
2021-09-07 15:03:00 +02:00
Guldoman
7f338fc993
Allow tabs to always be visible
2021-09-07 14:59:03 +02:00
Francesco Abbate
e23b6176f4
Fix lua subproject options removed by error
2021-09-07 14:59:03 +02:00
Jan200101
fc4c7a29ee
use dependency fallbacks, use system reproc if available
2021-09-07 14:59:03 +02:00
Takase
fb907c9bf4
increase code readibility
2021-09-07 14:59:03 +02:00
takase1121
97493a1a4e
add doc:get_selection_text()
2021-09-07 14:59:03 +02:00
takase1121
30d3751632
remove unused variable
2021-09-07 14:59:03 +02:00
takase1121
14565b5226
more changes to logview
...
- remove draw_text_elipsis
- remove clip rect operations
- fix text drawing when expanded
- simplify code
2021-09-07 14:59:03 +02:00
takase1121
e25ea1196a
add context menu options for logview
2021-09-07 14:59:03 +02:00
takase1121
622b162225
add core.get_log()
2021-09-07 14:59:03 +02:00
takase1121
afaf0a718d
improve logview
...
The logview is now less cluttered.
The filename and stack trace (if any) is hidden by default.
The user can click on the log entry to expand it.
2021-09-07 14:59:03 +02:00
Francesco Abbate
28e8a98ffc
Fix error in change-project-folder command
2021-09-07 05:21:45 -07:00
Francesco Abbate
368ffca40a
Fix macOS minimum system version in info.plist
2021-09-07 05:10:00 -07:00
Francesco Abbate
3cc4cd1ada
Fix error when opening root directory
2021-09-07 05:09:26 -07:00
Francesco Abbate
f1c004411c
Add missing home_encode for change-project-folder
2021-08-28 08:08:53 -07:00
Francesco Abbate
eeac85d4b4
Bump new version number
2021-08-28 16:44:25 +02:00
Daniel Rocha
2b1c157a36
Refactored minimum scale bug fix code
2021-08-28 16:00:41 +02:00
Daniel Rocha
49ec7c88e8
Fix the additional four spaces to two spaces in the indent
2021-08-28 16:00:41 +02:00
Daniel Rocha
dac3a9cba5
Fix minimal scale possible
2021-08-28 16:00:41 +02:00
Guldoman
5e80149295
Avoid having no `pixel_width`
...
On small scales `pixel_width` could become `0`. This caused the creation
of buffers of size `0` with consequent overflows.
2021-08-28 15:56:35 +02:00
Francesco Abbate
06252382ec
Fix focus problem with NagView with root:close-all
...
Fix provided by @Guldoman in PR:
https://github.com/lite-xl/lite-xl/pull/419
2021-08-28 00:21:29 +02:00
Francesco Abbate
4f8de02bcf
Remove unused Object's method "implement"
...
Not used in the code base.
2021-08-28 00:08:30 +02:00
Francesco Abbate
d46475532f
Introduce View objects context property
...
Used to determine if an instance of the given class should
be closed or not when a project session is terminated.
2021-08-27 23:55:17 +02:00
Francesco Abbate
9592ce85f5
Revert "Further simplifies logic for active view in close-all command"
...
This reverts commit bb6b99b167
.
2021-08-27 23:20:08 +02:00
Francesco Abbate
a8f4c0c4e5
Set initial text for core:change-project-folder
2021-08-27 15:22:09 +02:00
Francesco Abbate
bb6b99b167
Further simplifies logic for active view in close-all command
2021-08-27 14:42:57 +02:00
Francesco Abbate
7f4d9789d6
Simplify commit daf91676
about active view setting
2021-08-27 13:02:28 +02:00
Francesco Abbate
456f6eda65
Do not use os.exit to exit the application
...
Properly quit the application by terminating the core.run()
function. Otherwise a BadWindow event was happening when
closing the window.
2021-08-27 00:17:50 +02:00
Francesco Abbate
daf916769f
Fix bug with close-all command
...
There are really multiple things here in the close_all_docviews
function:
1. we reset the Node's tab_offset
2. we ensure the core's active_view is properly set
3. we close LogViews as well as DocViews
Some conditions seems to never happen but we stay safe and try
to cover all possible cases.
2021-08-27 00:13:40 +02:00
Francesco Abbate
dc501cb41a
Fix plugin version check
2021-08-25 23:45:18 +02:00
Francesco Abbate
b76917ef9e
Require modversion 2
2021-08-19 14:37:03 -07:00
Francesco Abbate
c9669410ad
Fix macOS build issue with recent commit
...
Add objc_args in meson when compiling to pass C defines also to
bundle_open.m.
Default "bundle" option to false to have by default a unix-like
build and install.
In the run-local script always expect that "bundle" option is to
false to have a unix-like install.
In the build-package script pass the -Dbundle=true option when
building on macos.
When setting the resouce path revert to original method using
[[NSBundle mainBundle] resourcePath]
to have the real resource path when the bundle option will be
activated. With the recent commit the function
set_macos_bundle_resources will be called only if the "bundle"
option is activate and is not used in unix-like mode.
2021-08-19 14:33:39 -07:00
Francesco Abbate
717f4eb782
Conditionally disable macos bundle function
2021-08-19 11:33:03 +02:00
Francesco Abbate
d9e73a97ea
Merge remote-tracking branch 'harens/macos-bundle'
2021-08-19 11:32:36 +02:00
Francesco Abbate
e0722448a3
Merge remote-tracking branch 'sprainbrains/master'
2021-08-19 09:47:53 +02:00
Nikolai Sinyov
1687bbd92d
Update main.c
...
Fixed interface Scale in MacOS in get_scale function
2021-08-19 10:07:46 +03:00
harens
2d088256b1
Add unix-like behaviour on macOS
...
Closes https://github.com/lite-xl/lite-xl/issues/398
2021-08-18 13:26:51 +01:00
redtide
dd7c345fd9
Added missing resource files in build-packages.sh
2021-08-17 23:58:19 +02:00
Adam Harrison
b6af395fc7
2.0 changelog and modversion updates.
2021-08-17 20:24:44 +02:00
takase1121
419cd58c8f
remove x11 dependency in meson.build
2021-08-17 07:53:44 -07:00
takase1121
35fd29fc39
remove extraneous DPI code
...
since 5 months ago (ttps://github.com/libsdl-org/SDL/commit/c289bad9007cb672c994f726d967f6e5682f200d)
SDL2 now reads Xft.dpi. There is no need to link to X11 anymore.
2021-08-17 07:53:44 -07:00
redtide
02d59c8ec2
Added GH Actions CI badge on README.md
2021-08-16 15:47:11 +02:00
Francesco Abbate
7ffe1b49d7
Reference latest reproc subproject version
2021-08-16 11:54:25 +02:00
Adam
2ea62eee8f
Merge pull request #391 from adamharrison/fix-replace-tooltip
...
Added in additional function to remove tooltip after cancelling replace.
2021-08-14 09:12:20 -04:00