Roland Heyder
275a63a2ad
Common changes
...
- correct wrong information
- fix typos and capitalize keywords
- comment unused code
2024-07-15 12:12:57 +02:00
Samuel Gomes
291344d57d
Fixed an old memset bug in midi_ma_vtable.cpp
2024-07-03 08:10:59 +05:30
Samuel Gomes
7f2f3153ce
Deprecate and remove $UNSTABLE:MIDI & $MIDISOUNDFONT
2024-06-30 00:43:42 +05:30
Luke Ceddia
854b907aff
Source formatting
2024-06-27 19:39:20 +10:00
Luke Ceddia
6abe235c41
Avoid eating 0-argument functions used after L/UBOUND
...
This commit reverts 38e0ec37
9f81ba1e
and 55c36576
which attempted
to fix the capitalisation of array names used with L/UBOUND, and
introduced the code-eating bug. It is replaced with an alternative
solution to the capitalisation issue.
2024-06-27 19:22:54 +10:00
Luke Ceddia
ecfd9147aa
Require output name for formatting
2024-06-26 21:52:58 +10:00
Luke Ceddia
e7ef37054a
Format
2024-06-26 21:52:58 +10:00
Luke Ceddia
81d23489ba
Do not apply indentation to $IF-disabled lines
2024-06-26 21:52:58 +10:00
Luke Ceddia
dde46b7092
Support -f options for layout
2024-06-26 21:52:58 +10:00
Luke Ceddia
08315c8b15
Clear traces of line continuation
2024-06-26 21:52:58 +10:00
Luke Ceddia
f514fc7e36
Correctly output $include instead of included content when not formatting
2024-06-26 21:52:58 +10:00
Luke Ceddia
fed1abef3f
Use native line endings
2024-06-26 21:52:58 +10:00
Luke Ceddia
23210b0452
Output formatted code with -y switch
2024-06-26 21:52:58 +10:00
Luke Ceddia
f63a111df4
Name InvalidLine sensibly
2024-06-26 21:52:58 +10:00
Luke Ceddia
e1028d67de
Zero memory on redim array of UDT
...
allocarray() previously assumed a variable size UDT had only
variable-length strings. This caused any numeric elements to
remain uninitialised.
2024-06-01 20:13:20 +10:00
Luke Ceddia
49f0471e03
Assume UDT sizes are whole number of bytes
...
This allows simplifying how the size of UDT arrays are calculated,
and thus not leave memory uninitialised when doing a redim that
expands the array size.
2024-06-01 20:12:59 +10:00
Samuel Gomes
3d43883b6e
Fix NOT working correctly when combined with other operators in an expression
2024-04-28 18:57:44 +05:30
a740g
0504b6f110
Fixes *_start.command bug in macOS
2024-04-28 11:26:37 +05:30
RainRat
f6c1da97fe
fix typos
2024-04-25 21:21:39 -07:00
Samuel Gomes
06101c0a9a
Modify the behavior of the _ANDALSO and _ORELSE operators to return -1 when the result is true
2024-04-10 20:06:57 +05:30
Samuel Gomes
19df445cf3
Merge branch 'QB64-Phoenix-Edition:main' into logical-operators
2024-04-06 17:38:55 +05:30
Samuel Gomes
8bd3ff71c9
Add operator keyword proper case support
2024-04-04 10:34:22 +05:30
Samuel Gomes
321c66dffc
Add initial support for logical boolean operators
2024-04-02 22:13:54 +05:30
Samuel Gomes
cde0ec533d
Remove duplicate DEP_SCREENIMAGE=y
2024-03-30 01:35:41 +05:30
Samuel Gomes
4d771e3a9a
Update to llvm-mingw 20240320 for WoA targets
2024-03-24 23:42:50 +05:30
Samuel Gomes
ab56aeff93
Reduce memory usage
2024-03-11 08:35:17 +05:30
Samuel Gomes
c8e4098fb2
Optimize inline-data generation logic
2024-03-10 18:56:08 +05:30
Samuel Gomes
49bbe94381
Remove objcopy dependency for DATA
2024-03-07 20:18:20 +05:30
RainRat
8cecb665a2
fix typos
2024-02-28 19:20:10 -08:00
Matt Kilgore
bc073d5e29
Merge branch 'main' into fix-auto-quote-adding
2024-02-22 19:18:20 -05:00
Rick Christy
45b4011a53
Fixes #461
2024-02-21 00:15:33 -05:00
Matthew Kilgore
ccfd5f53d3
Fix off-by-one error with ending quote addition
...
The math here is wrong, it accounts for the extra quote when doing `-
2`, but obviously that quote is not there in this situation so it should
just be `- 1`. The result of the current logic is that it cuts off the
last character of the string.
2024-02-19 16:40:53 -05:00
Roland Heyder
dedb94223f
Fix layout of legacy metacommands
...
- adjust the case of legacy metacommands according to IDE layout settings
2024-02-16 20:31:46 +01:00
Roland Heyder
f51da87249
Merge branch 'main' into read-write-file
2024-02-16 19:01:01 +01:00
Roland Heyder
4ad1d0dbf4
Fix wrong indention
...
- this fixes the wrong (additional) indention of the "false" part in precompiler $IF...$ELSE...$ENDIF blocks
2024-02-16 01:30:44 +01:00
Matthew Kilgore
4f4181fbf2
Separate out qbs, command, and error handling
...
Moves the qbs, command, and error handling APIs into separate .cpp files
in libqb/src/. This makes only minor changes to the actual code beyond
moving the logic, many global variables are left in place to be dealt
with in further changes.
Fixes: #146
2024-02-14 17:21:14 -05:00
Roland Heyder
75dd697444
Fix external dependencies checks
...
- exclude DECLARE LIBRARY files loaded w/o path from predefined system locations
2024-02-09 18:29:11 +01:00
Steve McNeill
f67803254a
Move lineformat to AFTER $metacommands in prepass loop
...
As per Discord discussion
2024-02-09 02:46:00 -05:00
Steve McNeill
441e978f74
Fix $IF prioritization
2024-02-08 14:43:27 -05:00
Roland Heyder
7c50499c2f
4.) Implements $INCLUDEONCE handling
...
- placing $INCLUDEONCE in any line in an include file will prevent including the file multiple times (BAS synonym for #pragma once)
- $INCLUDEONCE must be the only thing in the line
- using it in the main program has no effect and will be ignored without error
2024-02-07 21:17:46 +01:00
Roland Heyder
21b9ad99f7
3.) Refactor external dependencies checks
...
- adds filetype IDs
- now includes DECLARE LIBRARY files
- allows immediate recompile after error whitout the need to make a "fake" change to the program first
2024-02-07 21:04:39 +01:00
Roland Heyder
cf71beb796
1.) Some case corrections
2024-02-07 20:45:55 +01:00
Roland Heyder
ba90208c27
Add external dependencies checks
...
- tracks required external files for changes and triggers a rebuild if needed
- $EXEICON file
- $MIDISOUNDFONT (incl. the DEFAULT one)
- $INCLUDE (incl. nested ones)
- $EMBED files
- internal includes as forced by $COLOR or $DEBUG
2024-01-30 13:04:03 +01:00
RainRat
f65a74c22a
fix typos
2024-01-28 10:37:47 -08:00
Roland Heyder
d83b6d9557
Rename internal $CHECKING flag
...
- this completes the previous commit, but as it also swapped the true/false logic, it was made as extra commit
2024-01-26 00:51:29 +01:00
Roland Heyder
f24cabd9ad
Rename internal meta flags
...
- mainly done to avoid faulty highlighting, but also makes more sense IMO
2024-01-26 00:43:38 +01:00
Roland Heyder
b8424f1336
Refactoring $ASSERTS:CONSOLE highlighting
...
- according to other multipart meta-commands, make the CONSOLE part a regular keyword
- grouping meta handling blocks (removed some blank lines)
2024-01-26 00:32:11 +01:00
Matthew Kilgore
90941fffa7
Replace CONSTs while we have the individual elements
...
This moves the CONST replacement up before we turn the elements into a
single string. The advantage is that we don't have to worry about
splitting the string properly to find the CONST names as the elements
are already split for us.t
2024-01-18 13:00:13 -05:00
SteveMcNeill
ef19a046be
fix for CONST issues
...
Yet again, here's another patch to the patch which patches a patch.... /sigh
2023-12-29 01:12:01 -05:00
Roland Heyder
c3d12c7d22
Bump Version
...
- added embed info to docs
- finalizing the new release
2023-12-18 15:25:55 +01:00