1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-05-12 08:00:12 +00:00
Commit graph

123 commits

Author SHA1 Message Date
boxgaming 95b2be9d60 Added numerous runtime assertions for better error reporting. 2024-03-25 16:02:44 -05:00
boxgaming b169ba7b86 Updated sleep to exit execution when the script has been stopped 2024-02-01 17:45:36 -06:00
boxgaming 9d367351f3 Updated OPEN with ability to read files from URLs (105) 2024-01-31 14:18:51 -06:00
boxgaming 1995561f29 Added support for _EnvironCount 2024-01-20 06:21:14 -06:00
boxgaming 708d5b02c4 Corrected _Arccsc calculation. Updated _Limit delay implementation to be more consistent across browsers 2024-01-16 09:32:56 -06:00
boxgaming 25d146c8e4 Implement remaining extended QB64 math functions 2024-01-15 15:22:24 -06:00
boxgaming 84b095a971 Allow QB64 keywords to be referenced with or without leading underscore (#68). Add modifier key functions (#77). Add LOC keyword (#97). Add _Inflate$ and _Deflate$ methods (#74). 2024-01-13 07:16:42 -06:00
boxgaming a6de3c57d8 updated dos font to eliminate need for -1px letter-spacing hacks 2024-01-11 14:32:18 -06:00
boxgaming 000d4f35b7 Updates for default font rendering for browsers (primarily safari) that do not support the letterSpacing attribute in the 2d canvas 2024-01-11 11:44:17 -06:00
boxgaming 3ed28f6895 Fixed text scrolling with Input (#93). Display input prompt (#94). Firefox-specific text placement issues (#88). 2024-01-11 08:09:20 -06:00
boxgaming 10bac0aa35 Minor fix to Put keyword 2024-01-08 12:08:52 -06:00
boxgaming b4574e9876 Fix for parser error when IF statement follows ":" separator (#79). Fix for parser error for conditional keywords (#85). Removed obsolete FromJSON, ToJSON keywords. 2023-09-29 09:35:29 -05:00
boxgaming 1aa1ee17a6 added support for misc low-hanging fruit keywords (#78) 2023-06-19 17:48:17 -05:00
boxgaming fb0af807b2
Merge pull request #71 from boxgaming/v0.7
V0.7
2023-06-14 10:44:57 -05:00
boxgaming 3bc5502258 Fixed Locate bug introduced by new custom font functionality 2023-06-14 10:17:25 -05:00
Fellippe Heitor 71fb48c14b Allow GET to read from a file into a STRING
```dim a$
open "test.txt" for binary as #1
a$=space$(lof(1))
get #1,,a$
print a$
close
```
2023-06-01 01:21:37 -03:00
Fellippe Heitor 1f20565471 Allows CLOSE to be called without parameters
CLOSE should invalidate all open handles when called with no parameters;
2023-06-01 00:30:34 -03:00
grymmjack a4ddafb5c8 Added type validation - when fail use default 2023-05-31 17:01:56 -04:00
grymmjack 7faf4a4e85 Added support for decay and gain 2023-05-31 16:52:11 -04:00
grymmjack 3f6454c134 Added QB SOUND keyword with validation and support for additional shapes as provded by the WebAudio API OscillatorNode object. 2023-05-30 20:09:23 -04:00
boxgaming 565c1369b9 updated primt method to prefix non-negative numbers with a space character 2023-05-25 18:45:52 -05:00
boxgaming c005873aa1 wrap text lines longer than display in print method. fixed input method to work with variable width fonts 2023-05-17 00:50:18 -05:00
Fellippe Heitor e8b01ca60c
Updating x seems necessary here.
Wonder why it was commented out. That line is still in the live version at qbjs.org; will do some research, sorry for the mess.
2023-05-13 17:54:51 -03:00
Fellippe Heitor c3b6e10955
Prevents printing offscreen
Similar to QB64's makefit(), maybe a tad too simplified.
2023-05-13 17:33:20 -03:00
Fellippe Heitor 551fd8ee43
Advance row when printing on next column if width reached 2023-05-13 17:12:22 -03:00
boxgaming d709d1fa9e removed unused code 2023-05-13 09:02:32 -05:00
David W. Box eb605ac9f7 Added support for _MouseWheel 2023-05-13 08:48:36 -05:00
boxgaming ab72bb6e74 Added support for loading fonts from urls or virtual file system. Updated Line logic to use the same width and height as QBasic when in block mode (e.g. B, BF). 2023-05-12 07:20:45 -05:00
boxgaming d5c0cf9f13 font support updates 2023-04-26 17:10:46 -05:00
boxgaming bb4b354379 added support for custom fonts 2023-04-18 14:27:09 -05:00
boxgaming 2bf17466d9 implemented screen cache to improve performance of PSet-intensive programs 2022-11-21 09:42:27 -06:00
boxgaming fb4d246578
Merge pull request #36 from WFBarnes/main
Fixed slope bug in lineStyle for diagonal lines.
2022-11-01 16:59:39 -05:00
William Barnes 3609741b28 Fixed slope bug in lineStyle for diagonal lines. 2022-11-01 00:26:07 -04:00
boxgaming 2466482f59 miscellaneous 0.6.0 fixes 2022-10-31 22:55:08 -05:00
boxgaming 9058e9c536 File I/O Support - Part 2 2022-10-27 09:04:15 -05:00
boxgaming 6d8fa317df Initial File I/O support - excluding RANDOM 2022-09-17 11:50:08 -05:00
boxgaming 230e7ba591 post-0.5.0 release fixes 2022-07-08 15:01:39 -05:00
boxgaming 73bf11f3c0 updated to fix auto-limit functionality for "limitless" long running loops 2022-07-06 10:14:06 -05:00
boxgaming 914212a564 Merge branch 'main' of https://github.com/boxgaming/qbjs 2022-06-23 08:55:34 -05:00
boxgaming c19cbc10fc Parsing and error handling improvements 2022-06-23 08:43:19 -05:00
William Barnes 8c4e324cb4 Fixed spacing issue. 2022-06-22 01:14:10 -04:00
William Barnes a7a0fbedbb Framed accommodations for Screen 1. 2022-06-22 00:41:47 -04:00
William Barnes 62153b8001 Tamed the horizontal growth of qb-lang.js. 2022-06-19 14:11:53 -04:00
William Barnes 3a133d85d9 Tweaked threshold value in Paint. 2022-06-18 02:02:52 -04:00
William Barnes c418b6083e Added keywords: Date$, CINT, CDBL, CLNG (, CSNG - partial) 2022-06-15 23:26:28 -04:00
William Barnes f5fc0c9cd3 Added keywords: _Readbit, _Setbit, _Resetbit, _Togglebit. 2022-06-15 14:59:47 -04:00
William Barnes 181d7ac281 Added keywords: _Strcmp, _Stricmp 2022-06-15 14:31:57 -04:00
William Barnes 68ae74e5ee Added gradian conversion keywords. 2022-06-15 14:16:49 -04:00
William Barnes ebc7c02b5a Added keywords: _Hypot, _Ceil, _Shl, _SHr 2022-06-15 14:05:04 -04:00
William Barnes 4d092eb680 Added remaining trig and hyperbolic functions. 2022-06-11 12:04:55 -04:00