1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-29 11:40:38 +00:00
Commit graph

1173 commits

Author SHA1 Message Date
Matthew Kilgore 58cccc19fa Update version to v0.8.2 2022-06-10 22:35:38 -04:00
Matthew Kilgore 931a9dd272 Fix C++ Compiler Settings menu 2022-06-10 22:31:56 -04:00
Matthew Kilgore 5bb2c7017c Update version to v0.8.1 2022-06-10 16:53:12 -04:00
Matthew Kilgore f7b1427a89 The C++ settings menu reuses existing shortcut key
The C++ compiler Settings menu uses the shortcut key 'o', but that's
actually already in use and thus creates a conflict. We're switching it
to use the option 'm', which does not conflict.

Fixes: #105
2022-06-10 12:51:35 -04:00
Matthew Kilgore d36edad30c Fix compilation of files with $ in the name
This is a bit of an odd one, but files with $ in the name don't compile
correctly due to expansion being done on the $.

The culprit here is `make`, as the syntax '$x' is interpreted to mean to
insert the expansion of the variable 'x'. To avoid this behavior we have
to replace every single $ with $$. Make will interpret the $$ to mean it
should insert a single $ and not do any expansion, which is what we
want.

Fixes: #96
2022-06-10 10:42:49 -04:00
Prajwal Borkar 23f45ea5cf
Fixed Typo 2022-06-08 12:25:31 +05:30
Matthew Kilgore 734f653ce8 Update version to 0.8.0 2022-06-07 16:57:33 -04:00
Roland Heyder f6d4e27b54 Different colors for bold/italic styles 2022-06-07 13:24:11 +02:00
Roland Heyder 8d8fc3b7fb Implement handling for 'Parameter' template 2022-06-07 00:50:13 +02:00
Roland Heyder a4ffe65525 Reset text styles on block entry
Avoid leaking of unclosed text styles from regular text into any block.
2022-06-07 00:46:43 +02:00
Roland Heyder 97c04c5552 Fixes to blank line checks. 2022-06-03 16:53:30 +02:00
Roland Heyder 021d8068c1 Merge branch 'main' into wiki-dev 2022-05-31 17:53:05 +02:00
Matthew Kilgore 738aed5fd1 Combined Advanced C++ with C++ Compiler settings
The "Advanced (C++)" dialog was removed, putting the single setting into
the new C++ Compiler Settings dialog.
2022-05-30 23:15:04 -04:00
Matthew Kilgore 2d919768ac Add C++ compiler settings dialog
The new dialogs includes 5 settings:

1. Flag to turn on Optimization (off by default)
2. Flag to strip symbols (On by default)
3. String for extra compiler flags
4. String for extra linker flags
5. Setting for max compiler processes (default of 3)

Fixes: #65
Fixes: #40
2022-05-30 23:15:04 -04:00
Roland Heyder a4d0347ce8 Add support for number (ordered) lists
The respective wiki tokens are recognized, but will be handled as simple dot list.
2022-05-31 01:31:01 +02:00
Roland Heyder 7b91fdc592 Add -u command line switch
- `qb64 -u` can be used during build to populate internal/help, it basically invokes the "Update all pages" action from the IDE's Help menu
- switch is not listed in -? usage help, as I consider it a hidden build-only option
2022-05-31 00:56:32 +02:00
Roland Heyder 24250e4ce2 Addressed issue #76
- Update loop is aborted on error.
- Instead of the error popup, a dynamically generated error page is shown with a link to the `curl` download page and some simple instructions.
2022-05-30 03:15:36 +02:00
Roland Heyder 7f66c30bb4 Do CRLF substitution once in download stage. 2022-05-28 10:26:49 +02:00
Matthew Kilgore 182a48db95 Bump version to v0.7.1 2022-05-22 23:59:16 -04:00
Matthew Kilgore 9e2177deff Allow EXE name to have spaces in it
Makefile's generally hate spaces in filenames, and it's largely
impossible to make them work. Due to that, with the change to use a
`Makefile` the `EXE=` parameter did not work with spaces, and programs
such as "foo bar.bas" would not compile because it produces "foo
bar.exe" which has a space in the name.

There were options here, but in this very specific case it is actually
possible to allow the Makefile to work with spaces. `EXE` is only a
single filename, so as long as we always quote it correctly and the
provided `EXE=` parameter escapes the spaces with `\` then it will work.

Thus, we modified the Makefile to always do the quoting, and modified
QB64 to automatically escape the spaces in the executable name provided
to the Makefile.

I also modified the `compile_tests` to test that spaces in filenames and
paths of the executable correctly compile.

Fixes: #80
2022-05-22 23:59:06 -04:00
Roland Heyder 77642ba91b Merge branch 'main' into wiki-dev 2022-05-22 01:04:02 +02:00
Roland Heyder 3304aab884 Fixes to pending PR issues
3. Fixed click sensibility, external links are not triggered randomly.
2022-05-22 00:40:03 +02:00
Roland Heyder c0a7ea1d85 Fixes to pending PR issues
1. Fix missing links.bin issue (pop up to request user choice).
2. Fix increasing number of files when selecting "Update all pages" multiple times.
2022-05-21 19:53:54 +02:00
SteveMcNeill c1d12259cb Added to win setup to clean up the mingw compiler after installation.
Fixed the issue where some Linux distros won't clean up the exe when Run Only is selected in the menu bar.

Fixes: #16
Fixes: #54
2022-05-21 12:25:41 -04:00
Roland Heyder bec7e9cdf4 Merge branch 'main' into wiki-dev 2022-05-21 00:23:32 +02:00
Roland Heyder 78a04387b3 New Wiki parser finished 2022-05-20 23:44:55 +02:00
Matthew Kilgore 95c57c182c Supply a default version label when no version has been calculated
When building directly from the repo (either from a git clone or a
download of the zip of the repository) the version reported is very
misleading because it will not have a version label, suggesting it is
actually a 'release' version when in fact it could be anything.

The ./.ci/calculate-version.sh logic is already setup to delete an
existing ./internal/version.txt during a detected release build, so we
can just place one in the repositroy and it won't impact the versioning
of CI and release builds, but will show up when building locally.

Fixes: #63
2022-05-20 16:57:45 -04:00
Roland Heyder f5dbe9bc17 Improved cache filename handling and external links
Cached wiki file names get a spelling label for case insensitive systems. External links are working (clickable) now and open in the standard application.
2022-05-20 01:41:05 +02:00
Roland Heyder 27a59e5b5e Useless style removal in blocks 2022-05-19 01:45:25 +02:00
Roland Heyder 4af4db7584 Merge branch 'main' into wiki-dev 2022-05-19 01:40:16 +02:00
Steve McNeill da1978915a
Merge branch 'main' into main 2022-05-18 12:14:17 -04:00
SteveMcNeill 459c8a216d Update ide_methods.bas 2022-05-18 11:12:49 -04:00
Matthew Kilgore 4a8a7ce594 Redirect stderr to compilelog rather than errorcompilelog
Having two separate files for the compile output is just too confusing,
and it adds an extra file users need to look at and give us when there
are issues. This change simply makes qb64.bas send both the stdout and
stderr output to compilelog.txt.

Fixes: #61
2022-05-18 09:20:30 -04:00
SteveMcNeill bd3b673996 test change to IdeAddSearched 2022-05-18 07:10:59 -04:00
Roland Heyder 3391b83682 Improve underline and list appearance
Also added a page header with title and last update.
2022-05-18 02:15:36 +02:00
SteveMcNeill 7420504f42 reorder ubound check 2022-05-17 09:25:21 -04:00
SteveMcNeill ef875607ff Fix to endless loop in retrieving search History
Replaced both instances with one single sub to reduce code and make things easier to maintain and upkeep.  It's always easier to work in one spot than it is in multiple.
2022-05-17 07:50:18 -04:00
Roland Heyder acf9e0ff02 Fixes to Blocks and centered text 2022-05-16 01:35:22 +02:00
Roland Heyder a62e74ae31 Merge branch 'main' into wiki-dev 2022-05-15 11:28:35 +02:00
Roland Heyder 40937c906d Tidy up wiki stuff
Moved code blocks into more logic order, added comments, almost done now
2022-05-15 02:45:45 +02:00
Matthew Kilgore 73c1c7245d Turn off optimization for now
We'll turn this on later when we have it better sorted out.
2022-05-14 12:15:35 -04:00
Roland Heyder eab0e4cd45 Add handling of InlineCode template 2022-05-13 22:49:53 +02:00
Roland Heyder 6266fab2bd Improves 'small' template handling
Also <span... inline elements got fixed + some minor code optimization
2022-05-13 13:53:58 +02:00
Roland Heyder 64fa73aab7 Improved wiki page/file name validation 2022-05-13 13:49:19 +02:00
Matthew Kilgore 4d61ff7995 Fix quoting on Windows Resource files 2022-05-12 00:53:24 -04:00
Matthew Kilgore 794f76a534 Provide CFLAGS_EXTRA 2022-05-12 00:21:02 -04:00
Matthew Kilgore 11ec9237a3 Add support for mylib$ and mylibopt$ 2022-05-12 00:21:02 -04:00
Matthew Kilgore 23ef0aeca8 Add more tests and dynamic library support 2022-05-12 00:21:02 -04:00
Matthew Kilgore d18fc78fcd Formatting 2022-05-12 00:21:02 -04:00
Matthew Kilgore 2a4b637412 Separate _ICON usage from icon.rc
The Makefile was incorrectly tying together _ICON and icon.rc, making it
impossible to use one without the other. To fix this we introduce a new
DEP_ICON_RC flag, which indicates we need to use the icon.rc file (in
addition to regular icon support). DEP_ICON now only indicates we need
to support _ICON, and does not attempt to build the resource
information.
2022-05-12 00:21:02 -04:00