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

798 commits

Author SHA1 Message Date
Roland Heyder ba90208c27 Add external dependencies checks
- tracks required external files for changes and triggers a rebuild if needed
- $EXEICON file
- $MIDISOUNDFONT (incl. the DEFAULT one)
- $INCLUDE (incl. nested ones)
- $EMBED files
- internal includes as forced by $COLOR or $DEBUG
2024-01-30 13:04:03 +01:00
RainRat f65a74c22a fix typos 2024-01-28 10:37:47 -08:00
Roland Heyder b8424f1336 Refactoring $ASSERTS:CONSOLE highlighting
- according to other multipart meta-commands, make the CONSOLE part a regular keyword
- grouping meta handling blocks (removed some blank lines)
2024-01-26 00:32:11 +01:00
Roland Heyder 9bbd125e45 Refactoring ExportAs function
- reduce memory impact
- fix $NOPREFIX issue
- improved checks to avoid faulty highligting of unquoted text in DATA lines and meta lines such as $VERSIONINFO or $ERROR
- fixed a wrong Wiki link (SHELL fucntion)
2024-01-26 00:15:41 +01:00
Matthew Kilgore 90941fffa7 Replace CONSTs while we have the individual elements
This moves the CONST replacement up before we turn the elements into a
single string. The advantage is that we don't have to worry about
splitting the string properly to find the CONST names as the elements
are already split for us.t
2024-01-18 13:00:13 -05:00
SteveMcNeill 79d48113f2 IDE Module Error Fix
When loading a font, and that  font wasn't found, we were tossing an IDE Module Error at the users.  This corrects that glitch and even pops up a notification letting them know that the font wasn't found, before reverting back to the old font handle.
2023-12-08 12:48:47 -05:00
SteveMcNeill 442f620dbe Chance IDE save method as discussed on Discord
String manipulation has too much overhead for larger files to write all at once.   The best write speeds, from multiple testing experiments in various conditions, come from simply using PUT to place the data line by line to the drive.

This change reflects that method of file saving.
2023-11-28 16:04:05 -05:00
SteveMcNeill f5800fe9a7 Move IF outside of loop for efficiency 2023-11-07 16:32:02 -05:00
SteveMcNeill 0ec0dd62f3 Update QB64PE for faster file saving
As per the discussion here: https://qb64phoenix.com/forum/showthread.php?tid=2144
2023-11-07 14:36:34 -05:00
SteveMcNeill f27a9129d0 Wait for key release before running
Issue #290
2023-10-15 08:26:16 -04:00
Samuel Gomes bc8047563e Fix MENU ITEM [Run #Only (No EXE) NOT IMPLEMENTED! 2023-10-05 22:20:38 +05:30
Samuel Gomes dae6beba08 Few IDE menu cosmetic fixes 2023-09-22 10:28:39 +05:30
Samuel Gomes 28d1bf1aac Remove legacy audio code from the compiler 2023-09-22 10:10:04 +05:30
Roland Heyder 7cd648c143 Feature request
see https://qb64phoenix.com/forum/showthread.php?tid=2017&pid=19971#pid19971
2023-09-22 00:34:19 +02:00
Samuel Gomes 1a43246c65 Add additional case sensitive file filters for *nix 2023-08-24 22:07:13 +05:30
Samuel Gomes 1fc5792d57 Default_StartDir is now shared between SaveFile() & OpenFile() 2023-08-24 21:57:35 +05:30
Samuel Gomes 634bee63eb Fix save dialog filter 2023-08-23 00:51:00 +05:30
Samuel Gomes 3b44191330 Make SaveFile$ return "C" on cancel 2023-08-23 00:01:48 +05:30
SteveMcNeill adf46cdf62 Add GUI option to #Save
Correct glitch on not canceling properly with GUI input.
2023-07-11 22:05:10 -04:00
SteveMcNeill 00921c6d84 Savefile GUI added to IDE
Added the ability to use the Save Dialogs in the IDE.
2023-07-11 10:49:58 -04:00
Roland Heyder 3393f899bb Some refactoring
- also fix meta command color in new forum export
2023-06-09 15:58:54 +02:00
Roland Heyder 8eda570604 Improves code export
- added ability to export as new [qb=export] Forum codebox
- Forum/Wiki exports now go to the clipboard and can directly be pasted into the Forum post or Wiki page
2023-06-09 10:37:03 +02:00
RainRat 3914037c0f fix typos 2023-04-30 15:20:42 -07:00
Roland Heyder c2df60db6f Fix pre-compiler highlighting
- in pre-compiler lines, the regular keywords such as AND, OR, XOR and the final THEN are rendered with meta command color
2023-03-28 23:43:46 +02:00
Roland Heyder 84e51c20e2 Add link titles in HTML export
- titles are usually shown as tool tip in a browser
- almost useless, but made to be in line with Wiki behavior
2023-03-28 12:43:33 +02:00
Roland Heyder a34907edef Export finetuning
- strip useless line feeds after last code line
- fix some wrong wiki links
2023-03-28 10:19:17 +02:00
Roland Heyder da5f789fd3 Fix File menu
Fix a bad interaction between "Export As" and the recent files list.
2023-03-20 01:30:55 +01:00
Roland Heyder 9d9e063b67 Multiple IDE instance fix
When exporting "Untitled" code, then take current IDE instance into account.
2023-03-19 22:56:11 +01:00
Roland Heyder 7038e2527d Fix Wiki downloads (Update all pages)
Better detect deleted/new pages and prevent the problem discussed here: https://qb64phoenix.com/forum/showthread.php?tid=1521
2023-03-19 12:33:24 +01:00
Roland Heyder c52d3bcd28 Add code export abilities
Use File menu > Export As... to export current code as HTML, Rich Text or Wiki example.
2023-03-19 12:27:54 +01:00
Roland Heyder 275ca24c9a General refactoring
- things not fitting into the previous commits
2023-02-12 19:47:01 +01:00
Roland Heyder b1c9733420 Removes old code
- unused (commented) code
- no longer needed HTML tag handling (eliminated from Wiki pages)
- #toc/#top link filters removed (those links are supported now)
2023-02-12 19:41:25 +01:00
Roland Heyder dacff9e1b8 Improve local linking for #toc/#top links
- designate the help page header as target for #toc/#top links (Return to Top, Return to Table of Contents in the Wiki)
- include bottom {{PageNavigation}} links
- implement <h4> headings (==== in the Wiki), used as letter anchors in the alphabetic index
2023-02-12 19:32:47 +01:00
Roland Heyder 08b000b71c Skip more useless line feeds
- ignore line feeds after HTML comments and <br> and <br /> tags
2023-02-12 19:20:50 +01:00
Roland Heyder dfa65b8fdd Add more Entities/UTF-8 chars
- adds some 20+ more chars to the list
- re-grouping and some comment changes
2023-02-12 19:13:05 +01:00
Roland Heyder 174a95b052 Change flow logic (Entity/UTF-8 related)
- targets especially links, templates and centered text
- every char must properly run through the Entity/UTF-8 substitution stage
2023-02-12 15:01:21 +01:00
Roland Heyder 6399068293 Change line end detection
- use color bit 7 instead of the CR char to mark the end of a help line
2023-02-12 14:37:51 +01:00
Roland Heyder 9c7e067990 Improve Entity/UTF-8 handling
- UTF-8 handling changed to signal missing/unknown chars
- old entity handling (see 1st commit) removed and replaced by a similar method as UTF-8 handling incl. signalling missing/unknown entities
- added dynamic warnings at the top of pages which are using missing/unknown entities or UTF-8
2023-02-02 00:10:31 +01:00
Roland Heyder 01ed59c1d3 Add Interwiki link support
- wikipedia pages can be linked simply as Winkipedia:page instead of the full URL
- advantage: the new syntax can be used in internal links as well and will automatically expanded into external links when clicked
2023-02-02 00:02:05 +01:00
Roland Heyder ceb3d18c1e General refactoring 2023-02-01 23:52:13 +01:00
Roland Heyder 61513cbcd8 Remove obsolete code
- wiki pages have been fixed, so the handling for these old things is no longer required
2023-02-01 23:48:43 +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
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
Roland Heyder d243ff4b74 Wiki changes
- allow word wrap in text blocks
- add <pre> block handling
2022-12-20 01:18:56 +01:00