George Sokianos
79f42686a7
Added ability to open files with drag 'n drop
2024-03-18 23:06:01 +00:00
George Sokianos
19e95ed791
Fixed ghmarkdown plugin, added tetris plugin, prepare a new release"
2024-03-09 13:11:31 +00:00
George Sokianos
a7971556d4
Morphos codesets fixes and more
2024-02-23 21:11:13 +00:00
George Sokianos
9c2eec9066
Added AmiUpdate support. Made a lot of changes in paths manipulation
2024-02-17 17:47:15 +00:00
George Sokianos
df8eaa64d1
Paths fixes, Open in System changes and a few others done
2024-02-11 22:11:30 +00:00
George Sokianos
ad4c221dd8
Manual sync with 2.1.3 tag
2024-02-11 17:51:12 +00:00
George Sokianos
66fb996e76
Merge branch 'v2.1.3-upstream' into amiga2.1
2024-02-11 16:02:19 +00:00
George Sokianos
ffc5e25a72
Updated the version and added some info in the readme
2023-12-26 13:58:21 +00:00
George Sokianos
5c983f10b5
Merge branch 'master' into amiga2.1
2023-12-26 13:36:13 +00:00
Jan
7b67a5d81b
turn window_renderer into managed pointer ( #1683 )
...
* turn window_renderer into managed pointer
this will make it easier to move it into userdata in the future
* remove unused function, remove comment
2023-12-26 13:16:33 +00:00
Guldoman
05e7fc4e43
Set SDL hint to prefer software render driver ( #1646 )
2023-12-26 13:16:33 +00:00
Guldoman
17cb2e86ed
Remove DPI detection for default `SCALE`
...
This often leads to `SCALE` values that are way off, and makes Lite XL
unusable, so we now just default it to 1.
2023-12-26 13:16:33 +00:00
George Sokianos
1b00045146
Added codesets support for encoding switch
2023-12-18 17:19:13 +00:00
Guldoman
316fbbe743
Remove DPI detection for default `SCALE`
...
This often leads to `SCALE` values that are way off, and makes Lite XL
unusable, so we now just default it to 1.
2023-10-16 12:04:37 +08:00
Jefferson González
6c17f6e2ee
Close lua state when exiting on a runtime error ( #1487 )
...
* Close lua state when exiting on a runtime error
* This change allows calling the garbage collector before exiting the
application for a cleaner shutdown.
* Components like the shared memory object on #1486 will have a better
chance at destroying no longer needed resources.
* Overriden os.exit to always close the state
* Allow setting close param on os.exit override
* Simplified the os.exit override a bit more
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
---------
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2023-08-19 13:27:02 +08:00
Takase
4e3d6824ff
fix: fix differing stacktrace on stdout and file ( #1404 )
...
* fix(c-bootstrap): produce identical stack traces
2023-08-19 12:41:55 +08:00
Takase
a24432941c
Fix invalid EXEFILE and EXEDIR on Windows ( #1396 )
...
* fix(main): fix get_exe_filename returning invalid result on Windows
* fix(main): fix bootstrap not intepreting UTF-8 properly
2023-08-19 12:40:34 +08:00
Takase
84c7bb9de6
Asynchronous process reaping ( #1412 )
...
* refactor(process): introduce process_stream_handle separate from process_handle
* feat(process): introduce process_handle helper functions
* feat(process): add asynchronous process reaping
* feat(process): wait for shorter period if possible
* style(process): remove unecessary brackets
* style(process): fix parentheses
* refactor(process): remove useless setvbuf call
* style(process): remove unecessary value
* refactor(process): add size field into kill_list
* refactor(process): use SDL_Delay for sleeping
* style(process): remove trailing whitespace
* fix(main): destroy window before closing lua
* fix(process): check for timeout correctly
* refactor(process): remove unecessary if check
* refactor(process): remove size from the list
* fix(process): fix invalid delay calculation
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
---------
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2023-08-19 12:38:49 +08:00
Takase
32860c111e
refactor(main): move SetProcessDPIAware to manifests ( #1413 )
2023-08-19 12:38:35 +08:00
Jan
a951c3cd39
pass RenWindow by argument ( #1321 )
...
* pass RenWindow to all renderer functions that need it
* pass RenWindow to all rencache functions that need it
2023-08-19 12:30:41 +08:00
Jan
c8afe3d1bf
replace uses of SDL_Window with RenWindow ( #1319 )
...
Since Renwindow contains our instance of SDL_Window we can use this
to simplify future logic to create separate window instances
2023-08-19 12:28:21 +08:00
Julien Voisin
1ab320bb9b
Handle readlink errors ( #1292 )
2023-08-19 12:28:19 +08:00
Jefferson González
39182d49d6
Close lua state when exiting on a runtime error ( #1487 )
...
* Close lua state when exiting on a runtime error
* This change allows calling the garbage collector before exiting the
application for a cleaner shutdown.
* Components like the shared memory object on #1486 will have a better
chance at destroying no longer needed resources.
* Overriden os.exit to always close the state
* Allow setting close param on os.exit override
* Simplified the os.exit override a bit more
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
---------
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2023-08-07 15:26:38 +01:00
Guldoman
10bd794d8a
Show error message in crash message box ( #1461 )
...
* Save to `error.txt` the same traceback shown on stdout
* Show error message in crash message box
2023-08-07 15:26:38 +01:00
Takase
b623ad9b35
fix: fix differing stacktrace on stdout and file ( #1404 )
...
* fix(c-bootstrap): produce identical stack traces
2023-08-07 15:26:38 +01:00
Takase
612ebebb1f
Fix invalid EXEFILE and EXEDIR on Windows ( #1396 )
...
* fix(main): fix get_exe_filename returning invalid result on Windows
* fix(main): fix bootstrap not intepreting UTF-8 properly
2023-08-07 15:26:38 +01:00
Adam
acbd8715f4
Added in explicit touchscreen keyboard support. ( #1389 )
2023-08-07 15:26:38 +01:00
Takase
ef70faa2fd
Asynchronous process reaping ( #1412 )
...
* refactor(process): introduce process_stream_handle separate from process_handle
* feat(process): introduce process_handle helper functions
* feat(process): add asynchronous process reaping
* feat(process): wait for shorter period if possible
* style(process): remove unecessary brackets
* style(process): fix parentheses
* refactor(process): remove useless setvbuf call
* style(process): remove unecessary value
* refactor(process): add size field into kill_list
* refactor(process): use SDL_Delay for sleeping
* style(process): remove trailing whitespace
* fix(main): destroy window before closing lua
* fix(process): check for timeout correctly
* refactor(process): remove unecessary if check
* refactor(process): remove size from the list
* fix(process): fix invalid delay calculation
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
---------
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2023-08-07 15:26:37 +01:00
Takase
d31f128ef9
refactor(main): move SetProcessDPIAware to manifests ( #1413 )
2023-08-07 15:25:46 +01:00
Adam
9284e92291
Added in ability to specify prefix via env variable. ( #1388 )
2023-08-07 15:25:30 +01:00
Jan
66815b24b0
pass RenWindow by argument ( #1321 )
...
* pass RenWindow to all renderer functions that need it
* pass RenWindow to all rencache functions that need it
2023-08-07 15:02:06 +01:00
Jan
4d35dc4969
replace uses of SDL_Window with RenWindow ( #1319 )
...
Since Renwindow contains our instance of SDL_Window we can use this
to simplify future logic to create separate window instances
2023-08-07 15:01:31 +01:00
Jefferson González
35647067d8
Close lua state when exiting on a runtime error ( #1487 )
...
* Close lua state when exiting on a runtime error
* This change allows calling the garbage collector before exiting the
application for a cleaner shutdown.
* Components like the shared memory object on #1486 will have a better
chance at destroying no longer needed resources.
* Overriden os.exit to always close the state
* Allow setting close param on os.exit override
* Simplified the os.exit override a bit more
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
---------
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2023-08-07 14:50:59 +01:00
Guldoman
0be18493a9
Show error message in crash message box ( #1461 )
...
* Save to `error.txt` the same traceback shown on stdout
* Show error message in crash message box
2023-08-07 14:50:58 +01:00
Takase
26ff5e28a6
fix: fix differing stacktrace on stdout and file ( #1404 )
...
* fix(c-bootstrap): produce identical stack traces
2023-08-07 14:50:58 +01:00
Takase
e935454992
Fix invalid EXEFILE and EXEDIR on Windows ( #1396 )
...
* fix(main): fix get_exe_filename returning invalid result on Windows
* fix(main): fix bootstrap not intepreting UTF-8 properly
2023-08-07 14:50:58 +01:00
Adam
ee80b451c6
Added in explicit touchscreen keyboard support. ( #1389 )
2023-08-07 14:50:58 +01:00
Takase
350131dabc
Asynchronous process reaping ( #1412 )
...
* refactor(process): introduce process_stream_handle separate from process_handle
* feat(process): introduce process_handle helper functions
* feat(process): add asynchronous process reaping
* feat(process): wait for shorter period if possible
* style(process): remove unecessary brackets
* style(process): fix parentheses
* refactor(process): remove useless setvbuf call
* style(process): remove unecessary value
* refactor(process): add size field into kill_list
* refactor(process): use SDL_Delay for sleeping
* style(process): remove trailing whitespace
* fix(main): destroy window before closing lua
* fix(process): check for timeout correctly
* refactor(process): remove unecessary if check
* refactor(process): remove size from the list
* fix(process): fix invalid delay calculation
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
---------
Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2023-08-07 14:50:58 +01:00
Takase
193871869d
refactor(main): move SetProcessDPIAware to manifests ( #1413 )
2023-08-07 14:50:58 +01:00
Adam
83c27cf9f4
Added in ability to specify prefix via env variable. ( #1388 )
2023-08-07 14:50:58 +01:00
Jan
16182d01d8
pass RenWindow by argument ( #1321 )
...
* pass RenWindow to all renderer functions that need it
* pass RenWindow to all rencache functions that need it
2023-08-07 14:50:58 +01:00
Jan
c44a3cd291
replace uses of SDL_Window with RenWindow ( #1319 )
...
Since Renwindow contains our instance of SDL_Window we can use this
to simplify future logic to create separate window instances
2023-08-07 14:50:43 +01:00
George Sokianos
e4f3f1b744
Prepare 2.1.1r1 release
2023-01-29 12:58:56 +00:00
George Sokianos
62adafb59d
Updates to make latest code compile and work under OS4
2023-01-09 00:45:37 +00:00
George Sokianos
65d95c7f40
Merge branch 'master' into amiga2.1
2023-01-08 21:04:04 +00:00
Julien Voisin
6c6e5e9b99
Handle readlink errors ( #1292 )
2023-01-05 15:59:45 -05:00
Takase
6d0e7f3046
Fix some syntax errors ( #1243 )
...
* move signal.h inclusion outside of if-else block
not sure if this change is appropriate, we need to make sure SIG_IGN
is only set on POSIX targets. To verify this we might need to include
unistd.h,
* fix syntax error
this is often overlooked when compiling for normal platforms
2022-12-20 18:11:05 -04:00
Takase
4107b0c3fe
MSVC Support ( #1199 )
...
* fix stdalign and min/max for MSVC
* add missing ISREG and ISDIR for MSVC
* use MAX_PATH instead of PATH_MAX
* remove unecessary headers inclusion
* add MSVC CI
* add appropriate macros to platform detection
* re-add msvc CI artifacts
* upload the generated artifacts
* patch lua for MSVC CI builds
* update patch for MSVC compatibility
2022-11-15 23:23:45 -04:00
Guldoman
66198eb327
Use a better fallback in case `get_exe_filename` fails
2022-11-13 19:47:32 +01:00
Alexey Dokuchaev
1b1c13e3de
Add missing `get_exe_filename()` implementation for FreeBSD
2022-11-13 19:47:32 +01:00