1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-10 00:45:13 +00:00
Commit graph

3036 commits

Author SHA1 Message Date
Matt Kilgore 6b9274e642
Merge pull request #296 from mkilgore/fix-build-high-sierra
Fix build on MacOS High Sierra
2023-01-21 13:32:55 -05:00
Matthew Kilgore 42bded9ba9 Fix build on MacOS High Sierra
Fairly simple, MacOS High Sierra's libcurl version is too old and not
have `CURLINFO_CONTENT_LENGTH_DOWNLOAD_T`. This adds a version check to
use the older version of that command which gives back a double instead.

Fixes: #287
2023-01-20 13:30:12 -05:00
github-actions[bot] 48bbcb618e Automatic update of ./internal/source 2023-01-20 01:15:36 +00:00
Roland Heyder 0ce0071a00
Merge pull request #300 from QB64-Phoenix-Edition/wiki-fixes
Wiki fixes
2023-01-20 01:59:06 +01:00
Roland Heyder 163f6eb6e2 Availability gallery
- add handling for the new separator image
2023-01-19 23:48:22 +01:00
Roland Heyder 12e63da7a4 Fix "Update all pages" process
- ignore local link targets here, only the page name is relevant for download
2023-01-19 23:46:51 +01:00
Roland Heyder 7ad57f5c30 Fix F1 key context help
- fully implements local link targets
2023-01-19 23:45:18 +01:00
Roland Heyder fbc6c128e7 Context work
- rewording of some labels for better spelling and context
2023-01-19 23:41:38 +01:00
Samuel Gomes c290aa5f69
Merge pull request #299 from a740g/main
Fix license info
2023-01-18 21:36:27 +05:30
Samuel Gomes 75823c49ad Fix license info 2023-01-18 18:18:24 +05:30
Samuel Gomes a62e3cb155
Merge branch 'QB64-Phoenix-Edition:main' into image-load-from-memory-support 2023-01-18 16:57:00 +05:30
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