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

2387 commits

Author SHA1 Message Date
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
github-actions[bot] 15622d1f0c Automatic update of ./internal/source 2022-05-20 21:50:26 +00:00
Matt Kilgore fa2001bace
Merge pull request #68 from mkilgore/report-non-release-version
Report if the version of QB64 being used is unknown/manually-built
2022-05-20 17:40:11 -04:00
Matthew Kilgore fc7c48bb29 Remove unnecessary files from ./internal/source
searched.bin was added in error and should not show up when updating
./internal/source.

The symbol files are useless since the coresponding executable is not
something we preserve, and due to them changing practically every build
they result in unnecessary updates of ./internal/source
2022-05-20 16:58:18 -04: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
github-actions[bot] 6fde9c6b5f Automatic update of ./internal/source 2022-05-19 13:49:23 +00:00
Matt Kilgore b66bc3f3b6
Merge pull request #70 from mkilgore/remove-old-build-process
Remove old build process
2022-05-19 09:37:26 -04:00
Matthew Kilgore 437cfc3ab7 Remove old build system
Mostly old build scripts and helper files that are now covered by the
Makefile.

A notable deletion is the glew dll and lib files. These are unnecessary
because we compile `glew.c` directly rather than link against the dll or
lib copies we have.
2022-05-19 09:17:13 -04:00
Matthew Kilgore e0ef818522 Change purge scripts to use make clean 2022-05-19 09:17:13 -04:00
github-actions[bot] b7f05e73ff Automatic update of ./internal/source 2022-05-18 16:50:57 +00:00
Steve McNeill c441c22524
Merge pull request #72 from SteveMcNeill/main
Further fix to searched.bin issues
2022-05-18 12:41:03 -04: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
github-actions[bot] 306994663e Automatic update of ./internal/source 2022-05-18 14:36:18 +00:00
Matt Kilgore 9f99fb45ee
Merge pull request #69 from mkilgore/consolidate-compilelog
Redirect stderr to compilelog rather than errorcompilelog
2022-05-18 10:25:22 -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
github-actions[bot] 0c19b70a1b Automatic update of ./internal/source 2022-05-18 09:42:56 +00:00
Steve McNeill 3edbc4a11e
Merge pull request #67 from SteveMcNeill/main
Fix to endless loop in retrieving search History
2022-05-18 05:30:13 -04:00
Steve McNeill d0435fb629
Merge branch 'main' into main 2022-05-18 05:00:47 -04:00
SteveMcNeill 7420504f42 reorder ubound check 2022-05-17 09:25:21 -04:00
github-actions[bot] b44bd54db9 Automatic update of ./internal/source 2022-05-17 11:59:50 +00: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
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
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
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
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