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

901 commits

Author SHA1 Message Date
Matthew Kilgore c989be69f6 Disable MIDI support
This will be added back soon with with functionality to be able to
optionally enable it.
2022-08-27 14:27:55 -04:00
Matthew Kilgore 48208e2eda Change miniaudio build logic to always clean all files 2022-08-27 14:27:55 -04:00
Matthew Kilgore 41cc1e6569 Integrate the miniaudio backend into the build
This integrates the miniaudio backend, using a new `DEP_AUDIO_MINIAUDIO`
flag to enable it. This will allow consumers to choose which backend to
use.
2022-08-27 14:27:55 -04:00
Matthew Kilgore 481906977e Add a740g's miniaudio backend
This is a single commit adding all of a740g's audio backend. Later
commits will connect it together with QB64PE itself.
2022-08-27 14:27:55 -04:00
github-actions[bot] 1de7d29ba6 Automatic update of ./internal/source 2022-08-27 14:55:26 +00:00
github-actions[bot] 619f15157b Automatic update of ./internal/source 2022-08-26 14:13:09 +00:00
github-actions[bot] b453426b6b Automatic update of ./internal/source 2022-08-26 12:44:07 +00:00
github-actions[bot] 2de5fc24e0 Automatic update of ./internal/source 2022-08-18 23:36:41 +00:00
Roland Heyder 123f3d80ae Step 20: Lets try this...
- update make_dist.sh to download files from Phoenix homepage and moved befor clean as suggested.
- get rid of internal/help
2022-08-18 19:13:40 +02:00
Roland Heyder 38bb259c4c Step 19: Add more static _GL help pages 2022-08-17 00:33:42 +02:00
Roland Heyder 756eb6ac68 Step 12: Implement automatic help file update
- changes to update code (ignore static _GL pages as mentioned at Discord https://discord.com/channels/975381912350752819/975389657212805160/1007683254792507412 )
- dist script changes
- update internal/help to contain static _GL pages only
2022-08-12 22:54:59 +02:00
Roland Heyder 2ec897b75d Step 10: Update remaining stuff
- checks all remaining occurrences of the term 'qb64', some remain untouched, some are renamed according to context
- also added new logo for README.md
- this step does finalize the 'Phoenix Edition' re-branding
2022-08-12 02:54:12 +02:00
Roland Heyder e68582b6f2 Step 7: Rename qb64.exe to qb64pe.exe
- Includes related LNX/OSX files
- Excludes mentions in the help (*.txt) files
2022-08-11 18:07:57 +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 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 d01c8ed71b Updated plugin templates 2022-08-02 23:02:18 +02:00
Roland Heyder 6912727753 Update help files
Help file snapshot as of 07/31/2022.
2022-07-31 23:57:56 +02:00
github-actions[bot] 1efbfd03fe Automatic update of ./internal/source 2022-07-24 07:45:23 +00:00
github-actions[bot] 0a30c91d55 Automatic update of ./internal/source 2022-07-09 21:11:50 +00:00
github-actions[bot] 4e3873f420 Automatic update of ./internal/source 2022-07-09 18:48:23 +00:00
github-actions[bot] 9162e91ba6 Automatic update of ./internal/source 2022-07-06 16:10:33 +00:00
github-actions[bot] 7f14714b02 Automatic update of ./internal/source 2022-06-23 22:45:10 +00:00
github-actions[bot] 802f67d6cf Automatic update of ./internal/source 2022-06-15 05:28:32 +00: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
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 4052b8cc19 Add append-only buffer API
The Buffer API implements an append-only buffer, where you can write to
the end or read from the beginning. Data that is read is discarded from
the buffer, and you can query the buffer to get the current amount of
data inside.

Internally the buffer API is implemented as a chain of separate buffers.
This is done to avoid having to resize the existing buffer, which is
expensive. We keep track of where the reading currently is, and discard
the internal buffers after all the data in them is read.
2022-06-11 22:47:06 -04:00
Matthew Kilgore ecfc71ef95 Add completion API
Completions are basically a oneshot flag, which provide a `wait()` call
that blocks until 'finish()' has been called on the completion.

The nice aspect of completions is that because it is a oneshot the order
does not matter - if 'finish()' is called before 'wait()' then 'wait()'
returns immediately. It makes the logic for waiting until a thread is
done finishing up some work easy to implement.
2022-06-11 22:47:06 -04:00
Matthew Kilgore 7ef15653fd Add generic thread, mutex, and condvar API
This adds generic APIs to libqb for handling thread's, mutex's, and
condition variables. On Linux and OSX these are implemented via the ones
provided by pthreads. On Windows they're implemented via the ones
provided by the Win32 API.

For compiling, the code itself is not conditional, but the Makefile
includes logic to decide which implementation to pick.

Note that it would have been nice to simply use std::thread and friends
from C++11, however using them on MinGW appears to be a bit messy. Since
using the Windows ones directly isn't that hard this was an easy compromise.
2022-06-11 22:47:06 -04:00
Matthew Kilgore eb815c4220 Prepare for separate libqb, define C++ standard
This sets up a few different flags we'll need for the conditional
compiling, and also sets the C++ standard to gnu++11, which effectively
just matches what we were implicitly using before.
2022-06-11 22:47:05 -04:00
github-actions[bot] df24714a49 Automatic update of ./internal/source 2022-06-12 02:46:10 +00:00
Matthew Kilgore 76c437288a Remove leftover build file 2022-06-11 20:42:23 -04:00
Matthew Kilgore f99407f251 Revert existing libqb split 2022-06-11 20:42:23 -04:00
github-actions[bot] e6a5d4744c Automatic update of ./internal/source 2022-06-11 16:32:22 +00:00
github-actions[bot] 7d06ff2400 Automatic update of ./internal/source 2022-06-10 21:39:18 +00:00
github-actions[bot] 85cdcb2249 Automatic update of ./internal/source 2022-06-10 20:16:55 +00:00
github-actions[bot] 3057adf4dd Automatic update of ./internal/source 2022-06-10 15:12:32 +00:00
Matthew Kilgore 62ec4ebdbd Fix compilation with DEP_DEVICEINPUT
The Makefile changes broke compiling with device input support. This got
missed because no test case for DEP_DEVICEINPUT got added.

Fixes: #100
2022-06-09 21:30:37 -04:00
github-actions[bot] 578268e3a5 Automatic update of ./internal/source 2022-06-08 14:08:37 +00:00
github-actions[bot] 2be869c263 Automatic update of ./internal/source 2022-06-07 21:38:41 +00:00
github-actions[bot] 931d3f5f24 Automatic update of ./internal/source 2022-06-07 16:46:41 +00:00
github-actions[bot] 3816f39bb9 Automatic update of ./internal/source 2022-06-04 10:44:40 +00:00
github-actions[bot] 54f77c2884 Automatic update of ./internal/source 2022-06-01 00:20:31 +00:00
github-actions[bot] c240a71186 Automatic update of ./internal/source 2022-05-31 03:52:23 +00:00
github-actions[bot] fd3cf1ab9f Automatic update of ./internal/source 2022-05-23 04:59:49 +00:00
github-actions[bot] b2226bfe4d Automatic update of ./internal/source 2022-05-22 10:09:52 +00:00