1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-02 03:50:36 +00:00
Commit graph

3492 commits

Author SHA1 Message Date
a740g d8cb77e2d1 Change FS_GetKnownDirectory() to return "/Applications" on macOS 2023-12-29 04:42:32 +05:30
a740g 77122d475a Update func__dir() to support "PROGRAMFILES(X86)" 2023-12-29 04:04:02 +05:30
Samuel Gomes d4437d1b32 Update func__loadfont() to use filepath_fix_directory() 2023-12-29 03:01:24 +05:30
Samuel Gomes 035a12e76e Update func__loadimage() & sub__saveimage() to use filepath_fix_directory() 2023-12-29 02:55:52 +05:30
Samuel Gomes 84b58c0fde Update func__sndopen() to use filepath_fix_directory() 2023-12-29 02:49:30 +05:30
Samuel Gomes cd5a60546f Remove new_error check in func__FQN() 2023-12-29 02:41:12 +05:30
Samuel Gomes 0d71d08a9c Replace most qbs stuff with std::string 2023-12-29 02:34:09 +05:30
Samuel Gomes fa395b7c58 Implement func__FQN() 2023-12-29 02:09:02 +05:30
Samuel Gomes 35e44a620d Update func__files() to handle fileSpec directory name without trailing slash 2023-12-29 01:17:05 +05:30
Samuel Gomes 85afb4b84a Make FS_GetFQN() return trailing slash for directories 2023-12-29 00:58:15 +05:30
Samuel Gomes fcabef61ce Implement cross-platform sub_files() 2023-12-28 23:35:20 +05:30
Samuel Gomes a29d2b5955 Prefix function names with FS_ to avoid possible collisions 2023-12-28 02:28:53 +05:30
Samuel Gomes c558d2a2d2 Update func__files() to return directory names with trailing slash 2023-12-28 01:50:24 +05:30
Samuel Gomes 28c9964d09 Add _FILES$ to syntax_highlighter_list.bas 2023-12-28 00:11:51 +05:30
Samuel Gomes 8c61cac457 Merge branch 'filesystem-refactor-and-update' of https://github.com/a740g/QB64pe into filesystem-refactor-and-update 2023-12-28 00:10:52 +05:30
Samuel Gomes 416968f117
Merge branch 'QB64-Phoenix-Edition:main' into toolchain-upgrade 2023-12-27 23:59:39 +05:30
Samuel Gomes 4fc7fa3fd4
Merge branch 'QB64-Phoenix-Edition:main' into miniaudio-upgrade 2023-12-27 23:59:26 +05:30
github-actions[bot] 5447a3258e Automatic update of ./internal/source 2023-12-18 15:46:30 +00:00
Roland Heyder 437f351bb9
Merge pull request #417 from QB64-Phoenix-Edition/version-bump
Bump Version
2023-12-18 16:28:34 +01:00
Roland Heyder c3d12c7d22 Bump Version
- added embed info to docs
- finalizing the new release
2023-12-18 15:25:55 +01:00
github-actions[bot] 2531b9d1a3 Automatic update of ./internal/source 2023-12-18 00:02:43 +00:00
Roland Heyder fe86be9323
Merge pull request #416 from QB64-Phoenix-Edition/revert-head
Fixing $EMBED stuff
2023-12-18 00:45:15 +01:00
Roland Heyder cf378672e0 Moved handle checks
into FUNCTION evaluatefunc, where we have access to tokenized arguments, which makes checking a lot easier
2023-12-17 10:17:31 +01:00
Roland Heyder b10a055d28 Finetuned handle checks
- better check if _EMBEDDED$ appears inside a string or after a REM or apostrophe
- make sure REM is a valid command and not just part of a variable name
- better enforcement for 'handle' being a single literal string, i.e. not allowing stuff before or after
2023-12-16 16:38:09 +01:00
Roland Heyder 86a1a8e0f5 Revert "Automatic update of ./internal/source"
This reverts commit ec12524d2b.
2023-12-16 15:23:28 +01:00
github-actions[bot] ec12524d2b Automatic update of ./internal/source 2023-12-16 08:47:04 +00:00
Roland Heyder 7bb6fb3e43
Merge pull request #414 from QB64-Phoenix-Edition/file-embedding
Implement file embedding
2023-12-16 09:29:38 +01:00
Roland Heyder 0adcd6c5a7 Another try... 2023-12-15 20:45:02 +01:00
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