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

2540 commits

Author SHA1 Message Date
Roland Heyder 0bd6afd389 Step 6: Rename qb64.bas to qb64pe.bas
Mentions in the help (*.txt) files are excluded.
2022-08-11 02:11:35 +02:00
Roland Heyder 96fc1eb3a9 Step 5: Update embedded images in libqb.cpp
- replaced default icon image data, which is used, if _ICON is used w/o parameter, but no $EXEICON is specified either (see also Step 1)
- this step completes icon related changes
2022-08-10 20:02:00 +02:00
Roland Heyder 4dd8d8f5ec Step 4: Update Windows icon & resource file
- int/src/icon.ico (replaced image but same name, dynamically created from given $EXEICON)
- int/src/icon.rc (updated but same name, dynamically created from given $VERSIONINFO)
- int/src/qb64.ico and src/icon.rc removed (not used anymore since dynamic creation was implemented)
- src/qb64.bas updated (rename comes in a later step)
- src/qb64.ico replaced and renamed
2022-08-10 02:03:12 +02:00
Roland Heyder face2c883f Step 3: Update test cases
Replaced and renamed icon files, adjusted references in the test.bas files.
2022-08-10 00:51:12 +02:00
Roland Heyder 9b4b7992d4 Step 2: Update Linux icon file
Replaced and renamed icon file and moved it into the regular source folder, adjusted references in setup_lnx.sh
2022-08-10 00:48:56 +02:00
Roland Heyder d1664a059a Step 1: Remove unused icon images
These two are not referenced/used anywhere in the source and/or make files. However, they are embedded in libqb.cpp, which comes later.
2022-08-09 23:55:15 +02:00
github-actions[bot] edd5867875 Automatic update of ./internal/source 2022-08-03 05:25:10 +00:00
Roland Heyder d9371ef07b
Merge pull request #132 from QB64-Phoenix-Edition/wiki-dev
More Wiki parser improvements and updated help files
2022-08-03 07:14:48 +02:00
Roland Heyder d01c8ed71b Updated plugin templates 2022-08-02 23:02:18 +02:00
Roland Heyder c9e709bc68 Adjust blockquote color
Will use the "Comment color" of the current color scheme.
2022-08-02 14:49:11 +02:00
Roland Heyder 73debad50e Add plugin exchange for tables
If a template plugin is available for a table, then use it in the IDE help.
2022-08-02 13:36:10 +02:00
Roland Heyder 6912727753 Update help files
Help file snapshot as of 07/31/2022.
2022-07-31 23:57:56 +02:00
Roland Heyder 4952f1b873 Allow help file updates 2022-07-31 23:35:11 +02:00
Roland Heyder b25c8b55a9 Improved help rendering
Headings enforce a blank line before it as separation to the previous section. Definition lists are rendered in blockquote style as in the Wiki, also enforce blank line separation.
2022-07-31 23:31:42 +02:00
github-actions[bot] 1efbfd03fe Automatic update of ./internal/source 2022-07-24 07:45:23 +00:00
Roland Heyder e5c778c5ea
Merge pull request #130 from QB64-Phoenix-Edition/wiki-dev
Wiki parser enhancements
2022-07-24 09:33:23 +02:00
Roland Heyder 68fb4df7c0
Merge branch 'main' into wiki-dev 2022-07-24 07:44:16 +02:00
Matt Kilgore 6cfd06a282
Merge pull request #131 from GeorgeMcGinn/patch-1
Update setup_lnx.sh to pass OS=lnx to clean
2022-07-24 01:13:51 -04:00
George McGinn 17878775c2
Update setup_lnx.sh
Added OS=lnx to the 'make clean' statement for Issue #89
2022-07-23 17:12:24 -04:00
Roland Heyder decdde5cdc Some more tweaks
Beside local #toc links also ignore #top links (top of page).
2022-07-20 16:23:18 +02:00
Roland Heyder 5a4687f1b4 Added some comments 2022-07-17 18:59:27 +02:00
Roland Heyder 4aff0cc49c Update plugins recursively
Update current page must include all used plugin templates, hence ignoring the cache for the whole process.
2022-07-17 00:34:51 +02:00
Roland Heyder d6d9c15a14 Added plugin templates
Works like $INCLUDE, but for help text. Meant to outsource recurring text into a template and plug it in where needed.
2022-07-16 23:42:05 +02:00
Roland Heyder 11dae1ccbf Fixed headings
Makes headings detection more reliable, also revised syntax notes.
2022-07-16 23:34:26 +02:00
github-actions[bot] 0a30c91d55 Automatic update of ./internal/source 2022-07-09 21:11:50 +00:00
Matt Kilgore 225c3598cd
Merge pull request #127 from mkilgore/fix-static-libraries-on-windows
Fix linking static libraries on Windows
2022-07-09 17:02:06 -04:00
github-actions[bot] 72d801e0cd Fix linking static libraries on Windows
In QB64, when linking with an external static library `nm.exe` is used
to determine whether the symbol being used is either a C or C++ symbol,
which determines how the function should be declared in the C++ code.

Unfortunately on Windows the `SHELL` command for `nm.exe` is missing the
`cmd /c`, which means the redirection does not work and consequently
we're unable to find the function declaration via `nm.exe`, which causes
the compilation to fail.

In addition to fixing this, I added tests for `DECLARE STATIC LIBRARY`
for all supported platforms.

Fixes: #112
2022-07-09 14:59:33 -04:00
github-actions[bot] 4e3873f420 Automatic update of ./internal/source 2022-07-09 18:48:23 +00:00
Matt Kilgore ae5e327b11
Merge pull request #126 from mkilgore/fix-math-eval-mod-non-integer
Math evaluator: values that round to zero can crash QB64pe
2022-07-09 14:38:20 -04:00
github-actions[bot] 863029ddfd Math evaluator: values that round to zero can crash QB64pe
The math evaluator already contains a few checks for zero when we're
executing operations that could cause a `Divide By Zero` error, but the
actual value input is floating point and can get rounded to zero when
the operation happens. This effectively allows zero values to bypass the
checks to prevent them from being evaluated.

To avoid the error completely we need to check that the rounded value is
not zero, rather than the initial value. FIX() is used to make sure
values such a `-.1` round to zero and are avoided. I also applied FIX()
when we actually execute the operation, just to ensure the same
behavior.
2022-07-09 03:23:20 -04:00
github-actions[bot] 9162e91ba6 Automatic update of ./internal/source 2022-07-06 16:10:33 +00:00
Roland Heyder d2cbf88281
Merge pull request #125 from QB64-Phoenix-Edition/wiki-dev
Semi-support local links
2022-07-06 18:00:24 +02:00
Roland Heyder 04b3d5e42a Semi-support local links
Rather than declining page local links completely, simply link to the top of the respective page, except if it's on the currently displayed page.
2022-07-06 16:13:02 +02:00
github-actions[bot] 7f14714b02 Automatic update of ./internal/source 2022-06-23 22:45:10 +00:00
Roland Heyder 9b3f38c1a4
Merge pull request #122 from QB64-Phoenix-Edition/wiki-dev
Wiki compatibility tweaks
2022-06-24 00:32:18 +02:00
Roland Heyder c20d80235f Improves table info box with direct link 2022-06-23 23:50:56 +02:00
Roland Heyder 5f039415bf Add plus (+) to the list of critical chars 2022-06-15 11:19:26 +02:00
Roland Heyder aba2021b76 Merge branch 'main' into wiki-dev 2022-06-15 10:47:10 +02:00
github-actions[bot] 802f67d6cf Automatic update of ./internal/source 2022-06-15 05:28:32 +00:00
Matt Kilgore 9bdbba9692
Merge pull request #114 from mkilgore/refactor-libqb
Add separate libqb folder with new APIs, along with C++ automated testing.
2022-06-15 01:17:20 -04:00
Matthew Kilgore 94c2b56b69 Use mutex guard in completion implementation 2022-06-14 23:58:04 -04:00
Matthew Kilgore 298331e490 posix mutex shouldn't allow NULL
We shouldn't allow mutex lock/unlock to silently do nothing if NULL is
passed, as that is very likely a bug. Beyond that the Windows version
doesn't do this, so it's inconsistent as well.
2022-06-14 23:56:17 -04:00
Roland Heyder e539497126 Fix command templates
This does fix the human readable syntax entries according to wiki issues #79 and #91.
2022-06-13 02:15:25 +02:00
Roland Heyder bfd12fc44f Add missing CRLF substitution 2022-06-12 17:06:13 +02:00
Roland Heyder 63c523ba38 Fix URLs containing ampersands
Escapes & in Wiki page URLs (eg. &B, &H, &O) and in external links (eg. many MSDN links)
2022-06-12 17:05:18 +02:00
Matthew Kilgore 869e361ee4 Move QB64 compiler settings to libqb-common.h
This moves a lot of the preprocessor flags for what compiler/platform
we're using into a libqb-common.h header inside the libqb/include
folder. This gets included at the top of every libqb .cpp file, and is
intended to be fairly small, providing only necessary things like
_WIN32_WINNT (which needs to be defined before including <windows.h> or
friends).
2022-06-12 00:28:16 -04:00
Matthew Kilgore cde7afef30 Use libqb_mutex in libqb.cpp
libqb_mutex can replace the existing Mutex handling we do in libqb.cpp
2022-06-11 22:47:06 -04:00
Matthew Kilgore 96ecc9e6db Add C++ testing to CI build 2022-06-11 22:47:06 -04:00
Matthew Kilgore f2e55cb507 Add script for running C++ tests 2022-06-11 22:47:06 -04:00
Matthew Kilgore da6ccba535 Add buffer API unit tests 2022-06-11 22:47:06 -04:00