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

3025 commits

Author SHA1 Message Date
github-actions[bot]
474281133e Automatic update of ./internal/source 2023-01-17 20:48:07 +00:00
Roland Heyder
7003b8f21d
Merge pull request #298 from QB64-Phoenix-Edition/wiki-dev
Wiki dev
2023-01-17 21:34:31 +01:00
Roland Heyder
c61757f689 Wiki download refactoring
- removed the old (commented out) curl stuff
- add another note to the error message
- simplified the libcurl download loop to use only EOF and not LOF anymore
- add a hidden external curl fallback option, read comments from line 1140 for more info
2023-01-17 18:41:44 +01:00
Roland Heyder
af7dffb88c Local links support improved
- former versions did simply link to the top of the referenced page, ignoring the link anchor value (#)
- now links can point to any page section heading and the section (if found) is placed in the visible area
- to try use the links in the bottom nav section on the alphabetical index
2023-01-17 18:22:28 +01:00
Roland Heyder
e2674f0157 Add code to handle Wiki galleries
- Availability sections will become icon galleries in the future
- as the IDE can't display it as images, we need to substitute it by text
2023-01-17 18:05:32 +01:00
Roland Heyder
eeb6ca3f11 Fix some minor newline issues
- just a wrong branch
2023-01-17 17:58:29 +01:00
Samuel Gomes
1448a0f4c6
Merge branch 'main' into image-load-from-memory-support 2023-01-11 22:54:57 +05:30
Samuel Gomes
68234d4786 Fix ambiguous overload 2023-01-11 22:09:24 +05:30
Samuel Gomes
f0f0a9a420 Overload _LOADIMAGE to allow strings as the 2nd parameter 2023-01-11 16:18:43 +05:30
Steve McNeill
1a1a5d8300
Merge pull request #288 from SteveMcNeill/main
Add missing words to syntax highlighter
2023-01-10 13:28:30 -05:00
SteveMcNeill
9338d40921 Add missing words to syntax highlighter
_ScaledWidth and _ScaledHeight are two keywords which never got added to the syntax highlighter.  This corrects that.
2023-01-10 05:57:56 -05:00
Samuel Gomes
05392054a4 Image will load in the write page's bpp (if not specified) 2023-01-09 22:33:45 +05:30
Samuel Gomes
00ccc61fcb Add load from memory feature for images 2023-01-09 13:01:56 +05:30
github-actions[bot]
c166e11460 Automatic update of ./internal/source 2023-01-09 03:58:25 +00:00
Matt Kilgore
3df271df7a
Merge pull request #285 from mkilgore/release-3.5.0
Version 3.5.0
2023-01-08 22:42:11 -05:00
Matthew Kilgore
95fa515aca Version 3.5.0 2023-01-08 21:56:40 -05:00
github-actions[bot]
638a5d0fa9 Automatic update of ./internal/source 2023-01-09 02:53:05 +00:00
Matt Kilgore
59e1713f36
Merge pull request #284 from mkilgore/fix-startup-time-delay
Fix startup time delay in QB64-PE programs
2023-01-08 21:34:22 -05:00
Matthew Kilgore
4a2808905c Delete qbx.o before every compile
This helps when compiling several files in a row very quickly, Mac OS
only has a one second accuracy on the file modification time which can
cause Make to not notice a file has been modified. With the changes to
avoid startup delays it's possible to have compiles happen that quickly
in succession now.
2023-01-08 20:24:25 -05:00
Matthew Kilgore
f082889c1f Remove unused code from tinyfiledialogs.c 2023-01-08 20:24:25 -05:00
Matthew Kilgore
f21ce09e2d Replace time() with std::chrono, fix startup delay
Currently main() includes logic that is intended to sync time() with
GetTicks() for the purpose of using GetTicks() to get millisecond
accuracy with time(), which only has second accuracy. Unfortunately, the
'syncing' up of these time sources results in an average of a half
second delay in starting a QB64-PE program.

This logic is easly replaced with std::chrono, which provides a real
time clock which is also millisecond accurate. That removes the need to
use time() and GetTicks() together to get millisecond accuracy, and
means the delay syncing them is no longer necessary.

I also separated most of the "delay" and "time" related functions into
datetime.cpp, and included the new std::chrono code into that file.

Since I needed to call some of the rounding functions in datetime.cpp I
also moved that stuff out into its own .cpp and header files to clean
things up a bit.

Fixes: #282
2023-01-08 20:24:25 -05:00
Matthew Kilgore
a3cea42e0d Move icon image creation to sub__icon
The icon image creation is actually fairly expensive because the first
time you create a 32-bit image init_blend() is called, which is fairly
slow. Since only sub__icon makes use of these images (non-Windows
platforms and $Console:Only programs can't even use them) it's easy
enough to move the creation into sub__icon so the creation cost is
avoided on startup.
2023-01-08 20:24:25 -05:00
Matthew Kilgore
f88960966b Fix use-after-free bug in buffer.cpp
Fairly simple, the finished entry is free'd and then removed from the
list, but that order results in us accessing the entry's next member
after it has been free'd. Swapping the order of the operations fixes the
issue.

Fixes: #281
2023-01-08 20:24:25 -05:00
Samuel Gomes
9ce19d0405
Merge pull request #279 from a740g/miniaudio-fixes
Miniaudio fixes
2023-01-09 06:53:03 +05:30
Samuel Gomes
9686676324 BufferMap: only delete assignment operators 2023-01-09 06:11:21 +05:30
Samuel Gomes
60204afc8e Update delete copy and move constructors and assignments for BufferMap 2023-01-09 06:06:58 +05:30
Samuel Gomes
d48df65282 Delete copy and move constructors and assignments operators for BufferMap class 2023-01-09 06:02:29 +05:30
Samuel Gomes
8c0590acee Add workaround for _SNDCOPY for sound created using _SNDOPEN(buffer, "memory") 2023-01-09 05:33:39 +05:30
Samuel Gomes
2e176ebf98 Set AUDIO_DEBUG to 0 2023-01-08 00:34:58 +05:30
Samuel Gomes
2957c41061 Workaround for _SNDCOPY for _SNDNEW sounds. Another one to follow for _SNDOPEN(buffer, "memory") 2023-01-08 00:14:59 +05:30
Samuel Gomes
5a893b8ffc Update comments and some beautification 2023-01-06 20:32:03 +05:30
Samuel Gomes
845931bf39 Fix all test failures 2023-01-06 18:31:27 +05:30
Samuel Gomes
66ad42e573 Add HivelyTracker license. This is going to fail some tests. 2023-01-06 17:39:47 +05:30
Samuel Gomes
e5b5a86b96 Update test to inlcude invalid parameters for _NEWSND 2023-01-06 12:39:44 +05:30
Samuel Gomes
eacee1f609 Add PushMonoSampleFrames 2023-01-06 12:21:17 +05:30
Samuel Gomes
f7690aea17 Update comments 2023-01-02 16:24:08 +05:30
Samuel Gomes
ecfe4fb1be Format code 2023-01-01 23:17:56 +05:30
Samuel Gomes
6c72deafc1 Improve _SNDOPEN test and supress printfs in Hively replayer code 2023-01-01 23:14:05 +05:30
Samuel Gomes
e4273c0a68 Add Amiga AHX & HVL decoder 2023-01-01 22:56:02 +05:30
Samuel Gomes
061bf6af3d Rename _NEWSOUND to _SNDNEW to align with _SND* APIs 2022-12-31 12:00:38 +05:30
Samuel Gomes
1179d3c084 Update sndopen_mem_test to not use any file I/O 2022-12-31 07:47:20 +05:30
Samuel Gomes
b2723cf057 Fix path for file in test for *nix 2022-12-31 05:40:39 +05:30
Samuel Gomes
da9d9e871c Fix for template argument deduction/substitution failed 2022-12-31 05:18:22 +05:30
Samuel Gomes
31257262a8 Add tests for _NEWSOUND and _SNDOPEN 2022-12-31 04:22:42 +05:30
Samuel Gomes
4c80f6bcea Implement feature request #28 2022-12-31 01:49:23 +05:30
Samuel Gomes
eebb56afd5 Implement load sound from memory #232 2022-12-22 20:42:27 +05:30
Samuel Gomes
a72f80258f Address #186 2022-12-22 15:11:20 +05:30
Samuel Gomes
bc65076feb Reduce mutex locks by using 2 vectors for _SNDRAW 2022-12-21 11:47:41 +05:30
Samuel Gomes
b187102668
Merge branch 'QB64-Phoenix-Edition:main' into miniaudio-fixes 2022-12-21 04:22:23 +05:30
github-actions[bot]
55b168db6c Automatic update of ./internal/source 2022-12-20 13:31:46 +00:00