1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-06 18:40:23 +00:00
Commit graph

3464 commits

Author SHA1 Message Date
Roland Heyder 395af5c486 Avoid OS differences in tests 2023-12-15 19:59:48 +01:00
Roland Heyder 84c9761d51 Fixed include path separators 2023-12-15 19:01:40 +01:00
Roland Heyder d37d0ffc48 Fixing the test 2023-12-15 18:31:47 +01:00
Roland Heyder 84cd58162c Adds an test case
simple test case, which just embeds the `test.output` file and prints it
2023-12-15 18:03:36 +01:00
Samuel Gomes 5d037775af Add support for _FILES$() 2023-12-15 20:54:11 +05:30
a740g 9760895f92 Fix func__files() to return empty qbs on error 2023-12-15 13:48:04 +05:30
a740g 5c078a1ec1 Implement func__files() 2023-12-15 13:43:49 +05:30
a740g 260adbfe6b Update more macOS known directories 2023-12-15 12:02:44 +05:30
Roland Heyder 45ffc8c9e6 Minor flow changes
- As suggested by @mkilgore , moved the embed list array reset out of the $EMBED block
- Imposed a 20% least ratio for compression
- Moved the handle comparison into `func__embedded()` to avoid some unnecessary function calls
2023-12-15 00:22:28 +01:00
a740g 3dd2495cee Add more Linux known directories 2023-12-14 23:56:14 +05:30
Samuel Gomes ef142ecd52 Update comments 2023-12-14 20:00:19 +05:30
Roland Heyder 2d9018ca85 Add missing changes
ideally these should have been part of the 1st commit
2023-12-14 00:30:03 +01:00
Roland Heyder acfcd4f50a Fixing Makefile
as suggested by Matt...
2023-12-13 22:56:56 +01:00
a740g 4d4b99ddd9 Fix some known directories 2023-12-14 02:47:29 +05:30
Roland Heyder 1358716115 Fixing tests
forget AddQuotes$(), rather make file.bas self-contained using CHR$(34)
2023-12-13 22:11:14 +01:00
Roland Heyder 34bbdae052 Fixing tests
try again...
2023-12-13 21:42:53 +01:00
Roland Heyder 38eed18fc4 Implement file embedding
$EMBED:'filename','handle' and _EMBEDDED$("handle")
2023-12-13 20:49:53 +01:00
Samuel Gomes 901bdb4cd3 Add filesys test 2023-12-13 12:26:09 +05:30
Samuel Gomes 941f3583a4 Update comments 2023-12-13 10:59:04 +05:30
Samuel Gomes ede0d38165
Merge branch 'QB64-Phoenix-Edition:main' into filesystem-refactor-and-update 2023-12-13 09:38:19 +05:30
Samuel Gomes 9572850494
Merge branch 'QB64-Phoenix-Edition:main' into toolchain-upgrade 2023-12-13 09:37:40 +05:30
Samuel Gomes 57eaa8d119
Merge branch 'QB64-Phoenix-Edition:main' into miniaudio-upgrade 2023-12-13 09:37:25 +05:30
Samuel Gomes f8576b218b
Merge pull request #412 from a740g/main
Avoid segfault on bogus SVG data
2023-12-13 07:35:39 +05:30
Matt Kilgore 71b5ddd432
Merge branch 'main' into main 2023-12-12 12:04:12 -05:00
github-actions[bot] f3fb398c54 Automatic update of ./internal/source 2023-12-12 17:02:12 +00:00
Matt Kilgore 9fe381dd5d
Merge pull request #413 from mkilgore/fix-pulseaudio-issue
Add a short delay after killing pulseaudio
2023-12-12 11:09:40 -05:00
Samuel Gomes a52c3ba977 Simplify sub_kill() 2023-12-12 15:40:35 +05:30
a740g ed30f7c211 Add some known directory support for macOS & Linux 2023-12-11 20:10:40 +05:30
a740g 3353364cf8 Make PATHNAME_LENGTH_MAX > 4k or FILENAME_MAX 2023-12-11 19:04:18 +05:30
Samuel Gomes 3604a7a7f7 Update sub_kill() to handle file spec without wildcard correctly 2023-12-11 16:17:53 +05:30
Samuel Gomes 07c8554f89 Cross-platform full sub_kill() implementation 2023-12-11 15:31:06 +05:30
Samuel Gomes 4ca0cf3a7b Add initial support for FILES$() 2023-12-11 04:46:28 +05:30
Samuel Gomes 1b3a5a72f4 Simplify and remove magic numbers 2023-12-11 04:06:38 +05:30
Samuel Gomes 20e5789ffd Simplify func__direxists() and func__fileexists() 2023-12-11 02:43:26 +05:30
Samuel Gomes ffcd045da1 Make func__dir() cross-platform ready 2023-12-11 01:26:43 +05:30
Samuel Gomes 96a2ffcb1e Simplify func__cwd() 2023-12-10 12:25:38 +05:30
Samuel Gomes 7a1f5100f2 Use Win32 ANSI API names 2023-12-10 11:40:34 +05:30
Samuel Gomes a11a66fb63 Rename startDir to g_startDir 2023-12-10 11:25:01 +05:30
Samuel Gomes 48539861f3 Repace fixdir() with filepath_fix_directory() 2023-12-10 11:15:41 +05:30
Samuel Gomes 0e251eb8e8 Consolidate all filesystem related functions to it's own translation unit 2023-12-10 01:16:29 +05:30
Matthew Kilgore 9c0b4d599c Build the bootstrap QB64-PE with DEP_CONSOLE=y
The bootstrap build settings in the Makefile were missing DEP_CONSOLE,
which meant that the console output from the bootstrap qb64pe did not
work.
2023-12-08 21:48:07 -05:00
Samuel Gomes 8ea89bb863
Merge branch 'QB64-Phoenix-Edition:main' into toolchain-upgrade 2023-12-09 07:17:56 +05:30
Samuel Gomes 7a062a46aa
Merge branch 'QB64-Phoenix-Edition:main' into miniaudio-upgrade 2023-12-09 07:17:44 +05:30
Samuel Gomes d27a4eb4d2
Merge branch 'QB64-Phoenix-Edition:main' into main 2023-12-09 07:05:21 +05:30
Matthew Kilgore 06941f1aaf Add a short delay after killing pulseaudio
It seems to sometimes not be dead when we go to start it, presumably the
`puleaudio -k` doesn't actually wait for the process to exit.
2023-12-08 13:06:36 -05:00
SteveMcNeill 79d48113f2 IDE Module Error Fix
When loading a font, and that  font wasn't found, we were tossing an IDE Module Error at the users.  This corrects that glitch and even pops up a notification letting them know that the font wasn't found, before reverting back to the old font handle.
2023-12-08 12:48:47 -05:00
Samuel Gomes 2835d2dde2 Update miniaudio to v0.11.21 2023-12-08 14:40:58 +05:30
Samuel Gomes fbaff265d1 Add CHDIR _STARTDIR$ to svg_test.bas 2023-12-05 09:49:03 +05:30
Samuel Gomes bb269c0d40 Fix svg_test.bas test image path 2023-12-05 09:30:30 +05:30
Samuel Gomes bbfd228597 Check for SVG start tag and add tests 2023-12-05 09:20:25 +05:30