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

2576 commits

Author SHA1 Message Date
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
Steve McNeill b3e97de9e2
Merge pull request #60 from SteveMcNeill/main
Fix to _desktopwidth, _desktopheight, _screenicon
2022-05-17 07:48:08 -04:00
Steve McNeill 00ff460706
Merge branch 'main' into main 2022-05-17 06:29:00 -04:00
SteveMcNeill ecfa18a109 change numerics to more descriptive constants 2022-05-17 05:04:41 -04:00
Matt Kilgore f939b7ee6f
Merge pull request #58 from mkilgore/setup-win-report-error
Add error handling to setup_win.bat, fix objcopy command
2022-05-16 23:55:07 -04:00
SteveMcNeill 8574c1f921 Change to _screenwidth and _screenheight
Having windows call GetSystemMetrics without relying on glutGet, gets rid of the seg fault that can occur at program start up.  screenicon was restored to it's previous state so that larger issues with it can be addressed at a future date.
2022-05-16 11:37:58 -04:00
SteveMcNeill acbeca81b9 Fix to _desktopwidth, _desktopheight, _screenicon
Fixes the issue as brought up on the forums here: https://qb64phoenix.com/forum/showthread.php?tid=408

Also added a small set of logic so we don't end up inside an endless loop if the screen is hidden (via _SCREENHIDE), or if it doesn't exist for whatever reason.
2022-05-16 07:55:08 -04:00
Matthew Kilgore bc4b9a0a24 Also silence errors from clean in setup_win.bat
Missing files during the clean get reported on stderr. These are
expected so we're just ignoring them. Functionally it's the compilation
step that matters anyway.
2022-05-16 01:58:24 -04:00
Matthew Kilgore 6adac0842e Remove unnecessary else logic from Makefile 2022-05-16 00:16:18 -04:00
Matthew Kilgore bac798bc17 Remove quotes 2022-05-16 00:16:02 -04:00
Roland Heyder acf9e0ff02 Fixes to Blocks and centered text 2022-05-16 01:35:22 +02:00
Roland Heyder 6a1386c014 Merge branch 'main' into wiki-dev 2022-05-16 01:32:00 +02:00
Matthew Kilgore 774a391969 Silence clean when running setup_win.bat 2022-05-15 17:47:58 -04:00
Matthew Kilgore 790129dcef Skip the symbol stripping on OSX
The `objcopy` logic to produce a symbol file doesn't work on OSX, and it
seems it needs different lgoic to produce debug information, so for now
we're just going to skip it.
2022-05-15 17:13:10 -04:00
Matthew Kilgore b5ea3a081d Fix BUILD_QB64=y usage on Windows
BUILD_QB64=y sets the default EXE name to 'qb64', which is actually
wrong on Windows because it does not include the `.exe` extention. It
also works anyway but `objcopy` doesn't recognize the file without the
extension present.
2022-05-15 17:12:17 -04:00
Matthew Kilgore b110e816c7 Add error handling to setup_win.bat 2022-05-15 16:56:37 -04:00
github-actions[bot] 4ad1816507 Automatic update of ./internal/source 2022-05-15 20:28:21 +00:00
Matt Kilgore 24ab11fa84
Merge pull request #56 from mkilgore/fix-windows-build
Fix quoting in Windows-specific files in ./internal/source
2022-05-15 16:17:48 -04: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 8c0fc1b3d2 Fix quoting in Windows-specific files
This issue was fixed in 4d61ff79, but due to how ./internal/source is
updated the new ./internal/source files were compiled using a QB64
without the fix, producing files with the wrong quoting. Previously this
was worked around because the build process overwrote these files, but
the `Makefile` build requires them to be fixed.

./internal/source itself is fine, so it's easy enough to simply fix the
files by hand. Since ./internal/source now contains a compiled QB64 that
contains the fix from 4d61ff79 it's generated files will have proper
quoting and won't need to be manually updated.
2022-05-14 17:09:02 -04:00
github-actions[bot] c3cd310f72 Automatic update of ./internal/source 2022-05-14 20:59:49 +00:00
Matt Kilgore 6bc35d302f
Merge pull request #51 from mkilgore/add-make-build-system
Replace existing build system with make
2022-05-14 16:48:11 -04:00
Matthew Kilgore e097a1942a Remvoe unnecessary cd 2022-05-14 15:34:39 -04:00
Matthew Kilgore e191abfdad Update ./internal/source when building on Windows
On Windows we don't distribute the ./setup_win.bat, so the contents of
./internal/source are not actually relevant for them. Since the QB64
symbol file will be located in it though, it is important that they get
an updated copy. It does also just make basic sense that if we're
distributing an ./internal/source with the Windows version it should
match whatever QB64 it was shipped with.
2022-05-14 15:07:20 -04:00
Matthew Kilgore f399406f8f Produce a symbol file along with the executable
The symbol file is a file that aids in debugging by allowing a crash
dump from a stripped executable to have it's symbols applied to it. The
file itself ends up in ./internal/temp after compilation and is called
`EXEFILE.sym`.

FIxes: #53
2022-05-14 15:06:56 -04: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
Matthew Kilgore 7a5ca0c49c Cleanup unused Makefile stuff 2022-05-14 12:13:00 -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 75e96dba8d Fix quoting in ./internal/source/ files 2022-05-12 00:54:24 -04:00
Matthew Kilgore 4d61ff7995 Fix quoting on Windows Resource files 2022-05-12 00:53:24 -04:00
Matthew Kilgore 336a7c3085 Build QB64 with icon 2022-05-12 00:34:48 -04:00
Matthew Kilgore fd6a201046 Require OS to be set when using the Makefile 2022-05-12 00:21:02 -04:00
Matthew Kilgore 9b2ea9e1f8 Test that ./internal/temp is empty 2022-05-12 00:21:02 -04:00
Matthew Kilgore 317a216c71 Fix make-dist.sh 2022-05-12 00:21:02 -04:00
Matthew Kilgore 794f76a534 Provide CFLAGS_EXTRA 2022-05-12 00:21:02 -04:00
Matthew Kilgore 10d12eddb8 Reorganize, add 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 f1d9063980 Add support for CXXFLAGS_EXTRA and CXXLIBS_EXTRA 2022-05-12 00:21:02 -04:00
Matthew Kilgore 8f337a7333 Run make clean before creating distribution 2022-05-12 00:21:02 -04:00
Matthew Kilgore cf7cb21258 Remove unnecessary build and clean steps 2022-05-12 00:21:02 -04:00
Matthew Kilgore bc7df798c3 make clean should clear ./internal/temp 2022-05-12 00:21:02 -04:00
Matthew Kilgore ec484f5b1e Add make to Linux dependency list 2022-05-12 00:21:02 -04:00
Matthew Kilgore cf807de366 Add test of DATA linking 2022-05-12 00:21:02 -04:00
Matthew Kilgore 60cb0c6f82 Clear ./internal/temp between each test 2022-05-12 00:21:02 -04:00
Matthew Kilgore 867dddb1b4 Only copy compilelog files if they exist 2022-05-12 00:21:02 -04:00
Matthew Kilgore 5c4dcdc8aa Use dlfcn.h on OSX 2022-05-12 00:21:02 -04:00
Matthew Kilgore 64d32616ea Audio tests cannot be run on Linux
The GitHub runners do not have any sound cards available. We could
potentially install a dummy one but that's a bit too much work right
now.
2022-05-12 00:21:02 -04:00