Francesco Abbate
9e8e8f7543
Remove priority run mechanism
2020-12-26 11:30:20 +01:00
Francesco Abbate
9a12d47afd
Add HOME directory expansion also for open file command
2020-12-20 00:31:49 +01:00
Francesco Abbate
4401f33c19
Move HOME expand/encode into common module
2020-12-19 23:53:29 +01:00
Francesco Abbate
35c87462a6
Use ~ for HOME directory in folder search
2020-12-19 16:31:42 +01:00
rxi
806f0e39e3
Added support for `.pyw` files in language_python plugin
2020-12-19 10:19:37 +00:00
Francesco Abbate
03e95b2cc3
Ensure lite executable has x permission in repackage
2020-12-16 18:22:15 +01:00
Francesco
4df4a1e958
Update README for 1.14 release
2020-12-16 18:05:41 +01:00
Francesco Abbate
7aefb5e99c
Fix install directory for data folder
2020-12-16 18:03:36 +01:00
Francesco Abbate
18edaef4be
Improve repackage script
2020-12-16 12:21:39 +01:00
Francesco Abbate
2ad9bbf0a6
Add repackage script in dev-utils folder
2020-12-16 11:33:42 +01:00
Francesco Abbate
c3dd506bd7
Fix bug with lost primary node in rootview
...
It was possible to lose the primary node thus possibly preventing the
opening of new documents.
2020-12-15 13:30:49 +01:00
Francesco Abbate
499f085045
Use get_primary_node instead of Rootview:get_primary_view
2020-12-15 12:51:36 +01:00
Francesco Abbate
d18eef4ef0
Update recipe for Lua subproject
...
Previous recipe was not working with shared build
2020-12-14 18:40:08 +01:00
Francesco Abbate
eadbe41064
Add core.on_quit function for plugins
...
To be used for plugins like workspace from exi/lite-plugins
2020-12-14 13:57:24 +01:00
Francesco Abbate
e50d67df85
Update readme and changelog for release 1.14
2020-12-13 13:04:29 +01:00
Francesco Abbate
3a38ded396
Use core.reload_module instead of style.load
2020-12-13 13:04:06 +01:00
Francesco Abbate
1fc0409163
Merge branch 'project-manager'
2020-12-12 20:27:07 +01:00
Francesco Abbate
3b30bfa18b
Improve left/right scrolling behavior for DocView
...
With the new behavior when moving right and triggering a scroll in the
right direction a subsequent movement left do not longer triggers a
scrolling to the left.
The scrolling to the left happens only when needed for the visibility of
the current position.
In other terms with the old behavior the scrolling was purely a function
of the position and was adjusted even when not strictly needed for the
visibility of the cursor.
Now the scrolling is no longer a pure function of the position but it
has a "memory" behavior. The scrolling will be adjusted only if needed
to accommodate the position of the cursor.
Reduce also the width of the margin when the scrolling will be
triggered and calculate as a function of the font character width.
With the modification now Lite behaves like the other editors. In
addition the selection of text with the mouse is much more easy when
a scrolling of the line is needed.
2020-12-12 20:26:27 +01:00
Francesco Abbate
40ac899360
Restore core.quit and core.temp_filename to be compatible with Lite
2020-12-12 00:05:11 +01:00
Francesco Abbate
7cf37999df
Include rxi/lite-colors when building a package
2020-12-11 15:14:57 +01:00
Francesco Abbate
b396556df4
Print warning about the portable option based on OS
2020-12-11 15:14:13 +01:00
Francesco Abbate
2373c63a0b
Complete the initial user configuration file
2020-12-11 14:49:03 +01:00
Francesco Abbate
a41754b382
Fix font hinting when using subpixel rendering
...
Ensure we set the font's size with freetype to the intended size so that
hinting works as expected and perform subpixel scaling using affine
matrix coefficient.
2020-12-11 14:36:32 +01:00
Francesco Abbate
9114148b45
Automatically reload style when saving the project user module
2020-12-10 17:56:53 +01:00
Francesco Abbate
6409b67ea2
Add core:restart function to restart the editor
2020-12-10 12:44:01 +01:00
Francesco Abbate
33109e6110
Fix responsiveness problem of open-folder command
2020-12-09 15:45:16 +01:00
Francesco Abbate
ebcfa63de1
Fix centerings of text in EmptyView
2020-12-08 23:36:50 +01:00
Francesco Abbate
ba898b50fc
Force a clear of treeview on switch project
2020-12-08 23:35:49 +01:00
Francesco Abbate
8448eee79f
More accurate list of recent projects
2020-12-08 18:49:58 +01:00
Francesco Abbate
f882957ebc
Experimentally add priority run when scanning project files
...
Avoid yielding when a first scan is required but seems quite
ineffective.
2020-12-08 16:59:05 +01:00
Francesco Abbate
e88adc0567
Move project manager into core init file
2020-12-08 16:57:57 +01:00
Francesco Abbate
9c7e477cd1
Do not use a separate director for userdir in run-local
2020-12-08 09:42:31 +01:00
Francesco Abbate
c0f0325bbb
Fix behavior of project manager to store directories
2020-12-08 09:42:11 +01:00
Francesco Abbate
a3adfeb8f6
Begin reworks of project manager
2020-12-07 18:06:58 +01:00
Francesco Abbate
48ad8a8392
Run locally using a local user directory for testing
2020-12-07 17:42:50 +01:00
Francesco Abbate
ebaa2b4f26
Fix bug related to creation of user's init file
2020-12-07 17:38:36 +01:00
Francesco Abbate
ca9bf21819
Reword name for identifying primary view
2020-12-06 13:24:55 +01:00
Francesco Abbate
ffaf5e0ea5
Use USERDIR to store projects
2020-12-06 13:10:46 +01:00
Francesco Abbate
23575b309e
Fix syntax error with previous commit
2020-12-06 11:37:05 +01:00
Francesco Abbate
1c4b8cf315
Fix documentation and behavior for 1.13 release
2020-12-06 11:23:33 +01:00
Francesco Abbate
3cb52881fc
Pass options to Lite with script run-local
2020-12-06 01:04:14 +01:00
Francesco Abbate
745dd99e97
Use original document views node to open a new document
...
Used when the active view is a locked node.
2020-12-06 01:03:54 +01:00
Francesco Abbate
926e004c41
Preliminary version of project manager
...
Adapted from contribute rxi/lite-plugins but changed to avoid restarting
the application when switching project.
Current problem:
- the reload of the treeview take some time without any feedback for the
user
2020-12-06 00:57:27 +01:00
Francesco Abbate
afda299fe4
Implement optional font rendering options
...
The user can now choose antialiasing grayscale and subpixel and hinting
non, slight or full.
2020-12-04 16:15:54 +01:00
Francesco Abbate
549ac806e9
Fix build-package script with the portable option
2020-12-04 14:20:11 +01:00
Francesco Abbate
be189fda0d
Always use HOME based user's config independently from portable option
2020-12-04 12:01:49 +01:00
Francesco Abbate
f88fd0f6cd
Add missing colors directory from build and run scripts
2020-12-04 12:00:42 +01:00
Francesco Abbate
dc240fadcd
Implement script to run locally a build without installing
2020-12-03 23:01:01 +01:00
Francesco Abbate
d379f9c737
Add missing meson_options file from previous commit
2020-12-03 16:47:33 +01:00
Francesco Abbate
c41dedafad
Improve the implementation of unix-like directories usage
...
Add a Meson option "portable" to choose between "portable" and unix-like
directories. Add information about this option in the README.
To determine the user's directory use the variable USERPROFILE only on
Windows and use HOME otherwise.
Implement the "portable" option in the package build script.
2020-12-03 16:46:18 +01:00