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
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