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

3337 commits

Author SHA1 Message Date
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
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
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
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 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
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 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 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
Samuel Gomes 753ecb9609 Use uint8_t instead of auto / char 2023-12-05 06:44:23 +05:30
Samuel Gomes 4f7d2899c4 Add comments 2023-12-04 07:04:59 +05:30
Samuel Gomes bb4a94a53e Check for bogus data in image_svg_load_from_file() 2023-12-04 06:46:04 +05:30
Samuel Gomes 5f7cfa3747 Avoid segfault on bogus SVG data 2023-12-04 05:48:32 +05:30
Steve McNeill 2e5b2cd43a
Merge pull request #410 from SteveMcNeill/main
Change IDE save method as discussed on Discord
2023-11-29 04:50:15 -05:00
Steve McNeill a7a3a8e8b5
Merge branch 'main' into main 2023-11-29 01:29:12 -05:00
SteveMcNeill 442f620dbe Chance IDE save method as discussed on Discord
String manipulation has too much overhead for larger files to write all at once.   The best write speeds, from multiple testing experiments in various conditions, come from simply using PUT to place the data line by line to the drive.

This change reflects that method of file saving.
2023-11-28 16:04:05 -05:00
github-actions[bot] e634c4b028 Automatic update of ./internal/source 2023-11-08 02:08:45 +00:00
Steve McNeill 73b23abfb5
Merge pull request #407 from SteveMcNeill/main
Update QB64PE for faster file saving
2023-11-07 20:52:15 -05:00
Steve McNeill 7f3469fab4
Merge branch 'main' into main 2023-11-07 20:02:53 -05:00
SteveMcNeill f5800fe9a7 Move IF outside of loop for efficiency 2023-11-07 16:32:02 -05:00
SteveMcNeill 0ec0dd62f3 Update QB64PE for faster file saving
As per the discussion here: https://qb64phoenix.com/forum/showthread.php?tid=2144
2023-11-07 14:36:34 -05:00
Samuel Gomes 4660f55628
Merge pull request #406 from a740g/main 2023-11-04 08:12:10 +05:30
Samuel Gomes 36f73641b1 Remove clean.bat (#363) 2023-11-04 06:46:58 +05:30
github-actions[bot] 9e26592f2d Automatic update of ./internal/source 2023-10-31 16:41:46 +00:00
Steve McNeill 693d002e41
Merge pull request #405 from SteveMcNeill/main
Patch _ARCSEC and _ARCCSC
2023-10-31 12:21:17 -04:00
SteveMcNeill 1be3e366ac Final fixes to math stuff (I hope)
Fix to CONST with the math evaluator to toss a message and error with values out of acceptable range for ARCSEC and ARCCSC.

Tweak to _PI to add constexpr for speedier execution.

Fix to the math tests for the new (and unbuggy) values for ARCSEC and ARCCSC.
2023-10-31 11:32:22 -04:00
SteveMcNeill 64ba64f0bd rename math.h to extended_math.h 2023-10-31 08:45:10 -04:00
SteveMcNeill 01163fb9e9 Create math.h
Move the extended math functions out of libqb and qbx, and place them inside math.h.

Correct the formula for _ARCSEC and _ARCCSC.
2023-10-31 08:34:19 -04:00
Steve McNeill f7b368bec3
Merge branch 'main' into main 2023-10-31 00:25:57 -04:00