Francesco Abbate
f6a0e12e31
Merge branch 'master-2.0'
2022-01-19 20:31:33 +01:00
Jan200101
192c577966
Add fallbacks to all common dependencies
2022-01-15 00:53:46 +01:00
Francesco Abbate
ae1890d29a
Fix project files reading with symlink
2022-01-12 00:32:10 +01:00
Francesco Abbate
44a8dc320b
Fix some errors with previous commits
2022-01-09 23:26:11 +01:00
Francesco Abbate
f0aea5b1a4
Report error codes from dmon_watch_add
2022-01-09 23:26:11 +01:00
Francesco Abbate
1520c12580
Remove DMON_LOG_ERROR to return an error code
2022-01-09 23:26:11 +01:00
Adam Harrison
31d448971a
Restored floating point time granularity.
2022-01-08 12:59:15 -05:00
Jan200101
99ddf1fb92
Migrate to Lua 5.4
2021-12-31 13:53:01 +01:00
Francesco Abbate
adaf023541
Always watch/unwatch subdirectories on all systems
...
Simplifies and uniformize the logic on the Lua side for the
setting of directories' watches. Now we always use the methods:
systems.watch_dir_add / rm
on all the project's directories at any depth when we are not
in files limit mode.
In files limited mode the functions systems.watch_dir_add/rm are
called only on the expanded folders. The shown_subdir table is also
updated only in files limited mode.
On the C side, using the dmon library, we remove the recursive argument
from the system.watch_dir and we always call it recursively except on
Linux. At the same time the functions:
systems.watch_dir_add / rm
are provided but as dummy functions that does nothing except on Linux
where they work as before to add / remove sub-directories in the inotify
watch.
In this was on the Lua side we always act we if the watches needed to be
set for each sub-directory explicitly, independently of the system.
The important improvement introduced is that we always avoid calling
dmon_watch recursively on Linux. This latter thing is problematic with
inotify and is therefore avoided on Linux.
On the other side we simplifies the logic on the Lua side and remove
conditions based on the OS used.
2021-12-30 15:25:27 +01:00
takase1121
84a3906323
fix FontGroup __gc method
2021-12-24 15:04:52 +08:00
Guldoman
a122d7e916
Correct `get_key_name` comment
2021-12-23 00:06:24 +01:00
Jipok
773a85cd2d
Support for remaped special keys( Fix #757 )
2021-12-22 02:22:34 +05:00
Francesco Abbate
3109263c5d
Call dmon_unwatch when changing project
...
Fix a conspicuous omission to call the dmon_unwatch function
when changing project directory.
This uncovered a bug or a quirk of the dmon library where the watch_ids
can change as a result of calling dmon_unwatch because they are just
indexes on a contiguous array. Use a workaround to always unwatch the
first valid watch_id N times.
2021-12-20 14:42:48 +01: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
Jipok
a8f7e9a35e
Correct definition of the pressed key for different layouts and languages
2021-12-19 00:24:28 +05:00
Adam Harrison
eb9918089a
Takes kivutar's changes into account, cleaning things up slightly.
2021-12-15 20:31:24 -05:00
Adam
f1054b8280
Replace Reproc ( #535 )
...
Replace reproc with simpler non-dependency-based process API.
2021-12-11 15:25:35 -05:00
Jipok
c3b7234315
Keyboard layout independent shortcuts
2021-12-11 23:42:15 +05:00
Adam
8120654c59
Merge branch 'master' into plugin_api_h_fix
2021-12-05 22:11:47 -05:00
takase1121
aff1261b08
move NULL check to import side
2021-12-01 20:42:49 +08:00
Adam
d7b6fe3d42
Merge pull request #688 from adamharrison/mono-font
...
Add Support for `none` Antialiasing
2021-11-23 15:59:07 -05:00
Adam Harrison
96db380c73
Manual merge of into .
2021-11-23 15:57:22 -05:00
Adam Harrison
bc5be3c9b7
Support no antialiasing.
2021-11-22 18:13:43 -05:00
takase1121
b42f48782b
revert system.c
...
do not generate the exported symbols with the script
2021-11-17 08:58:44 +08:00
Adam Harrison
6750ddca2a
Changed name of x1 and x2 to x and y.
2021-11-14 15:46:33 -05:00
Adam Harrison
ce2ec9f442
Moved commands out to the outer event loop.
2021-11-14 15:41:28 -05:00
Adam
0db3648966
Merge pull request #660 from adamharrison/improved-heuristic
...
Improved heuristic to pay more attention to string length.
2021-11-12 17:47:46 -05:00
takase1121
68eb6810d9
update headers
2021-11-08 12:18:13 +08:00
Adam
4e26a9fb2d
Merge pull request #621 from adamharrison/fix-renderer-mappings
...
Handles occasions where our color bytes aren't in the order we expected.
2021-11-07 15:30:57 -05:00
Adam Harrison
934f9c05d4
Screwed up checks.
2021-11-07 15:01:03 -05:00
Adam Harrison
a184ec9cc3
Improved heuristic to pay more attention to string length.
2021-11-07 14:04:42 -05:00
takase1121
e785bbf1bf
update generated headers
2021-11-06 20:39:10 +08:00
takase1121
d0a54227d8
update generated headers
2021-11-06 20:25:20 +08:00
takase1121
9003a9124a
refactor api_require function into a machine generated file
2021-11-06 19:24:12 +08:00
Adam
90714c48e1
Update renderer.c
...
Upped limit to 1024.
2021-11-01 10:03:36 -04:00
Adam Harrison
b7cb7e2b67
Just added MAX. More inline with other constant.
2021-10-31 13:34:46 -04:00
Adam Harrison
9e67995feb
Expand glyphsets to accomodate emojis.
2021-10-31 13:27:51 -04:00
Jan200101
e313eb0e2e
ensure command alignment is correct
2021-10-28 08:40:18 +02:00
Francesco
6f732f67f9
Merge pull request #612 from Guldoman/fix_regex
...
Fix regex in tokenizer
2021-10-22 21:44:44 +02:00
Francesco Abbate
ddb6196e9e
Force project rescan on network filesystems
2021-10-21 23:57:17 +02:00
Francesco Abbate
7bdfcd529e
Add a function to detect filesystem type on linux
2021-10-21 23:24:38 +02:00
Adam Harrison
461533eabf
Handles occasions where our color bytes aren't in the order we expected.
2021-10-20 18:43:22 -04:00
Adam
3f1378ab2e
Merge pull request #616 from adamharrison/font-groupings
...
Added in support for fallback font groupings.
2021-10-20 11:00:40 -04:00
Adam Harrison
b816a04d27
Added in a missing static.
2021-10-17 00:39:08 -04:00
Adam Harrison
16fc15daee
Allowed for a white square as part of the other groups.
2021-10-17 00:26:20 -04:00
Adam Harrison
cab315bed1
Added in a rectdraw when a fallback glyph isn't present.
2021-10-17 00:22:27 -04:00
Adam Harrison
c7c4a3c528
Clarified.
2021-10-17 00:10:40 -04:00
Adam Harrison
d1fcdacacd
Broke out font groupings.
2021-10-16 23:49:42 -04:00