FellippeHeitor
5fb0bc3050
"Double-click to launch $INCLUDE file" now waits for new window to close.
...
- The IDE will wait until the second instance is closed, check if the file was changed and recompile accordingly.
- Interface lights dim while the second instance is being used.
2017-10-23 10:19:08 -02:00
FellippeHeitor
5a84de731f
Fix to C++ errors due to empty parameters passed to FUNCTIONS.
...
- QB64 now warns users of syntax errors in cases such as a& = _RGB32(255, , 255)
2017-10-23 10:16:06 -02:00
FellippeHeitor
3f7a0a59d4
Bypass saving invalid window coordinates at first run.
2017-10-22 20:40:37 -02:00
FellippeHeitor
498f189754
Build number update.
2017-10-22 19:36:32 -02:00
Luke Ceddia
8956a1ee4f
Merge branch 'errorlogging'
2017-10-23 08:19:26 +11:00
FellippeHeitor
1113a11107
And now we try to please *nix systems.
2017-10-22 17:40:59 -02:00
FellippeHeitor
f223cfe028
Restore SUB Build's "count separators" method to please Windows XP.
2017-10-22 17:16:54 -02:00
Fellippe Heitor
50b1002aa4
Remove reference to undeclared identifier preventing compilation (macOS)
...
Details at http://www.qb64.net/forum/index.php?topic=14553.msg126181#msg126181
Signed-off-by: Fellippe Heitor <fellippeheitor@gmail.com>
2017-10-18 19:48:17 -02:00
FellippeHeitor
959307033e
Avoid moving the IDE window to 0,0 in the first run (Windows).
2017-10-17 02:29:47 -02:00
FellippeHeitor
0761c1f20f
Minor IDE nuisances fixed (i).
...
- Fixes CTRL+letter being inserted in the text area even after combos were processed.
- Fixes CTRL+letter activating menu items.
- Fixes a menu being preselected when activated with ALT if the mouse was hovering it (hovering still works *after* the menu is launched)
2017-10-17 02:07:47 -02:00
FellippeHeitor
23406bc4d4
Reset compfailed to 0 when the source is edited again.
2017-10-15 20:00:12 -03:00
FellippeHeitor
677f5cd2ea
Adds link to compilelog.txt in the Status area when compfailed = 1.
2017-10-15 19:46:16 -03:00
Luke Ceddia
1eef0d29e5
Add c++ error logging for windows too
2017-10-15 18:56:59 +11:00
FellippeHeitor
fc02c623c8
Write new window position as soon as it's detected.
2017-10-14 20:07:35 -03:00
FellippeHeitor
b62e39b9f9
Tweak to auto-position (IDE) - allows coordinates (0, 0).
2017-10-14 19:52:32 -03:00
FellippeHeitor
cff8ae7561
Make AutoPosition setting default to true.
2017-10-14 17:34:33 -03:00
FellippeHeitor
c8a219bb70
Restore "OK" in the status bar after translation to C++ is done.
2017-10-14 14:33:38 -03:00
Luke Ceddia
ecd1897c44
Log C++ errors to temp/compile.log for Linux/OSX
2017-10-15 01:03:38 +11:00
FellippeHeitor
f971af8328
Resizing the IDE while a menu is open now works as expected.
2017-10-14 04:21:50 -03:00
FellippeHeitor
292dbbf49d
Add "Show compilation errors immediately" to Options menu.
...
By unchecking the new switch in the Options menu, the IDE won't warn and "red-light" every single mistake until you tell it to start compilation with F5.
Signed-off-by: FellippeHeitor <fellippeheitor@gmail.com>
2017-10-14 04:09:54 -03:00
FellippeHeitor
9ab94215db
Custom keywords highlighting (SUB/FUNCTION/custom dictionary).
...
- SUBs and FUNCTIONs names will be highlighted throughout the code.
- The same color assigned to metacommands is used for custom keywords.
- A custom dictionary can also be added to internal/config.txt.
- SUBs and FUNCTIONs in $INCLUDEd files also get highlighted, as long as there aren't any errors preventing compilation.
Signed-off-by: FellippeHeitor <fellippeheitor@gmail.com>
2017-10-14 01:15:09 -03:00
FellippeHeitor
0f9207ccda
Build number update.
2017-10-10 02:26:54 -03:00
FellippeHeitor
623f733d69
Updated list of keywords.
2017-10-10 01:38:56 -03:00
FellippeHeitor
5ba4cde9ac
Tweak to previous commit "close menus when IDE loses focus".
2017-10-10 00:19:50 -03:00
FellippeHeitor
ce201095a7
Build number update.
2017-10-08 22:49:06 -03:00
FellippeHeitor
749ec5222f
Improved copy/paste; Improved "cursor after pasted content" behavior.
...
Empty lines now get properly copied/pasted.
2017-10-08 22:48:34 -03:00
FellippeHeitor
18a43777e7
Improved focus detection behavior (Windows-only).
...
Menus are closed when the IDE loses focus.
2017-10-08 22:47:42 -03:00
FellippeHeitor
83c1afdb52
Add IDE cursor start and end values to config.txt.
...
Default cursor height for non-insert mode is LOCATE , , , 8, 8. Start and End values can now be customized in the config.txt settings file (values range from 0 to 31).
2017-10-08 22:46:35 -03:00
FellippeHeitor
a16c9a4093
Makes bracket highlight/multi-selection highlight color customizable. Also:
...
- Minor improvements to syntax highlighter;
- Hides cursor and line highlight when window loses focus (Windows-only);
2017-10-08 22:44:40 -03:00
FellippeHeitor
f5bb8a90bd
Adds ENDIF to valid keyword for highlight.
2017-10-08 22:38:59 -03:00
FellippeHeitor
7d842c9927
Allow ? to be highlighted even if immediately followed by another "word".
...
Cases like ?myVar% get properly highlighted.
2017-10-07 03:35:51 -03:00
FellippeHeitor
70fd9d872e
Allow multihighlight for var.element items. Also:
...
- Improved number detection (negatives, decimals, trailing type suffixes);
- Properly clear the status area before showing "converting..." message for QB45BIN.
2017-10-07 03:16:46 -03:00
FellippeHeitor
e8e1da2987
Add ENDIF (no space) and ? (question mark) to valid keywords.
2017-10-07 03:08:43 -03:00
FellippeHeitor
65c87a0da8
Prevent "Erase" confirmation from closing "IDE Colors" dialog.
2017-10-06 03:42:06 -03:00
FellippeHeitor
d54a5cc2e3
Allows non-destructive retrieval of version 1.1 color schemes.
...
Version 1.1 color schemes contained only 6 colors. This patch allows users to maintain their existing schemes while adding keyword and number highlight colors to them. Also:
- Invalid schemes are now just skipped, instead of destroyed.
- Scheme selection arrows and "Save"/"Erase" buttons are more visible/distinguishable between active/hovered/inactive states.
- Confirmation dialog before erasing user schemes.
2017-10-06 03:15:49 -03:00
FellippeHeitor
a1f22afa22
Prevent IDE colors from reverting back to default when resizing.
2017-10-05 22:57:25 -03:00
FellippeHeitor
d8ea561736
Fix color of inactive menu items.
2017-10-04 23:08:51 -03:00
FellippeHeitor
35105dc9c1
New preset theme: 'Dark side'.
...
'Classic QB4.5' theme fixed.
2017-10-04 04:06:27 -03:00
FellippeHeitor
1f6b88e7f5
Numbers highlight.
2017-10-04 03:42:39 -03:00
FellippeHeitor
6caa67261c
Tweak to bracket highlight and multi-highlight selection.
2017-10-04 01:36:59 -03:00
FellippeHeitor
7c383a05a7
Add SMOOTH and STRETCH to keywords list. Fixes $IF block highlighting.
2017-10-04 00:50:49 -03:00
FellippeHeitor
8e68dd06d4
Cleaned up list of keywords. Minor tweak to $END IF colorization.
2017-10-03 23:43:47 -03:00
FellippeHeitor
68a2ec44f9
Fixes sticky ALT key in Windows.
...
Minor tweak to Dark blue preset theme.
2017-10-03 23:13:08 -03:00
FellippeHeitor
997d2bb734
Improved highlighting of metacommands in comments.
2017-10-03 21:12:22 -03:00
FellippeHeitor
b60fdb780a
Fine adjustments to syntax highlighting.
2017-10-03 11:52:03 -03:00
FellippeHeitor
739aaef7ac
Improves syntax highlighter with Keyword Highlight.
2017-10-02 01:16:35 -03:00
FellippeHeitor
19bbf5fde6
Build number update.
2017-10-01 19:06:46 -03:00
FellippeHeitor
e6a265f0e4
Integrates qarnos's QB45BIN.
...
Upon attempting to load a binary file, the IDE will detect that the file type is a QuickBASIC 4.5 binary file and offer to convert it to plain text using qarnos's QB45BIN utility.
2017-10-01 17:51:28 -03:00
FellippeHeitor
89f2e12cc8
Remove references to DEPENDENCY_USER_MODS from subs_functions.bas.
2017-09-27 22:04:40 -03:00
FellippeHeitor
204ad079c9
Tweak to multihighlight.
...
Highlights only full matches.
2017-09-27 11:53:05 -03:00
FellippeHeitor
0e7b1c41af
Window resizing improved (changes apply in real time). Also:
...
- Disable resizing when the help system is open and when dialogs are displayed.
- Minor fix to multi-highlighting to also allow it to hightlight instances of the same text seleted in the current line.
2017-09-27 10:10:04 -03:00
Luke Ceddia
bdc3250b89
Resolved the issue of user mods not working for $console:only programs
2017-09-25 21:56:24 +10:00
FellippeHeitor
1330f8fa14
Make the "Change" dialog stay out of the way when "Find and verify"ing.
2017-09-25 03:11:38 -03:00
FellippeHeitor
37ab5feb0e
Minor adjustments to menu shortcuts; Also:
...
- Fix to ALT+Key entering text in textboxes (dialogs).
2017-09-25 02:50:13 -03:00
FellippeHeitor
5f822f21ce
Adds multi-highlight.
...
When a a single-line selection is made, every instance of the same "word" on the current screen gets highlighted. Can be disabled in Options->IDE colors.
2017-09-25 02:30:40 -03:00
FellippeHeitor
0a7099be53
Make sub indenting and "cursor after pasted content" default.
2017-09-25 02:29:18 -03:00
FellippeHeitor
f0692d55b2
New IDE shortcuts.
...
- Ctrl+N = New file
- Ctrl+O = Open file
- Ctrl+R = Comment selection (add ')
- Ctrl+Shift+R = Uncomment selection (remove ')
2017-09-25 02:28:41 -03:00
SteveMcNeill
4f23fd9b7b
Add function _AUTODISPLAY so user can get display/autodisplay staus
2017-09-24 18:41:00 -04:00
FellippeHeitor
5922d112bf
Adds _WINDOWHANDLE, _WINDOWHASFOCUS and _TITLE$ (function).
...
- _WINDOWHANDLE exposes the current window's handle (Windows-only).
- _WINDOWHASFOCUS returns true (-1) when the program is the foremost window (Windows-only). Always returns -1 in other OSes.
- _TITLE$ (function) returns the last title set using the _TITLE statement.
2017-09-24 08:12:13 -03:00
SteveMcNeill
d3a2424b73
Added right and middle button support for _SCREENCLICK with Windows
2017-09-24 01:08:29 -04:00
FellippeHeitor
887aff63dd
Build number update.
2017-09-21 23:55:59 -03:00
FellippeHeitor
70ec5930a3
Build number update.
2017-09-11 10:30:49 -03:00
FellippeHeitor
8fe5804fa2
Sets the proper dependency (DEPENDENCY_SCREENIMAGE) for clipboard features.
...
Using $CONSOLE:ONLY without the above causes compilation fails.
2017-09-11 10:29:45 -03:00
FellippeHeitor
f337403cd5
Build number update.
2017-09-09 13:18:34 -03:00
FellippeHeitor
8af68290e9
$EXEICON now automatically sets the window's _ICON.
...
Previously you'd have to call _ICON right after $EXEICON.
Old code that call _ICON after $EXEICON doesn't need to be adapted.
2017-09-06 11:21:39 -03:00
FellippeHeitor
e3bb55da1a
Add _CLIPBOARDIMAGE (statement and function)
...
- Fetch an image from the clipboard with handle& = _CLIPBOARDIMAGE
- If there isn't an image in the clipboard, handle& will be -1.
- Copy a valid image to the clipboard (All screen modes, except 0) with _CLIPBOARDIMAGE = handle&
2017-09-06 11:19:54 -03:00
FellippeHeitor
862aacdeac
Fix TAB + ELSE bug for command line compilation.
...
A line starting with a TAB character and an ELSE clause would be incorrectly regarded as having a syntax error when compiling via command line interface. This fixes that issue.
2017-08-22 00:30:44 -03:00
FellippeHeitor
34d6b239bf
Build number update.
2017-08-17 23:15:30 -03:00
FellippeHeitor
2f217fce6b
Function _BLINK returns -1 if blinking is enabled; 0 if disabled.
2017-08-16 00:40:37 -03:00
FellippeHeitor
2c153b3db0
Adds _BLINK {ON|OFF} to disable blinking in SCREEN 0 for colors 16-31.
...
Thanks to _vince for finding the right spots where blinking was set. Or flashing, you choose the naming.
2017-08-16 00:11:31 -03:00
Luke Ceddia
8238feba75
Squash annoying message from openal on quit
2017-08-11 21:47:05 +10:00
Luke Ceddia
2089a95b8b
Separate left/right audio channels for stereo audio files.
...
No _SNDRAW or PLAY yet. Also removed need for sound capability strings.
2017-08-10 22:05:16 +10:00
FellippeHeitor
b3afefe0dc
Adds the ability to show contextual help (syntax) for SUB/FUNCTIONs.
2017-08-04 10:59:11 -03:00
SteveMcNeill
dc22c6e5a8
Print Output Simplification
...
Minor change to simplify and clean up the output which QB64 creates with
PRINT statements with multiple print segments such as PRINT "A"; "B";
"C".
2017-08-02 21:40:32 -04:00
SteveMcNeill
78d4b607bd
Minor change to mem structure
...
Change to mem.TYPE from LONG variable type to OFFSET. This prevents
4-bytes padding from throwing off values for mem.ELEMENTSIZE and
mem.IMAGE on 64-bit systems.
Patch should work on Mac, Linux, and Windows; both 32-bit and 64-bit
versions, giving the correct results for mem.ELEMENTSIZE and mem.IMAGE
from now on.
2017-08-02 01:00:01 -04:00
FellippeHeitor
47437d28d0
Update version.bas
...
Build number update following commit b75eed2
2017-07-24 15:54:21 -03:00
FellippeHeitor
f01d7252c2
Build number update (following changes introduced in cf99f38
).
2017-06-28 22:48:47 -03:00
FellippeHeitor
cf99f38bcf
Add _CONTINUE, to jump to the end of FOR..NEXT/DO..LOOP/WHILE..WEND blocks.
2017-06-28 22:47:17 -03:00
FellippeHeitor
fa75937aad
Build number update (following changes introduced in 4a950c7
).
2017-05-22 11:34:01 -03:00
FellippeHeitor
4a950c7c94
Implements multiple temp folders for Linux/macOS.
2017-05-18 01:08:06 -03:00
FellippeHeitor
60e4054aa5
Double-clicking on an $INCLUDE statement opens the file in a new window.
2017-05-14 23:10:47 -03:00
FellippeHeitor
0b9f507565
Add "Web" as a valid key for $VERSIONINFO
2017-04-29 17:41:04 -03:00
FellippeHeitor
8d961597d9
Implements $VERSIONINFO metacommand.
...
Allows embedding meta information on the final binary (Windows only).
2017-04-29 04:09:20 -03:00
FellippeHeitor
d3fd0be2a4
[minor] Fix the status message for $EXEICON.
2017-04-29 00:34:16 -03:00
Luke Ceddia
380c7bc15e
Restore SUB/FUNCTION sorting
2017-02-14 09:27:49 +11:00
FellippeHeitor
665dd67641
Remove SUB sorting in the SUBs dialog.
2017-01-20 22:56:50 -02:00
Luke Ceddia
2d065c3681
Add files for building via Travis
2016-11-09 15:23:02 +11:00
Luke Ceddia
e3e1bde227
Update Buildnum$
2016-10-10 23:21:02 +11:00
Galleondragon
bb46b6d75c
Updated version number to 1.1
2016-09-10 17:19:49 -07:00
FellippeHeitor
b9ff7ce9b7
Proper embedding of qb64.ico into the Windows binary.
...
Changes made to the setup batch file used internally.
2016-09-04 12:12:30 -03:00
Luke Ceddia
01a697689b
Revert "Add QB64's icon to the Windows binary."
...
This reverts commit cca11e8f90
.
This and previous reverts remove ICON-related changes, which were
simply too questionable (in stability terms) this close to a planned
release.
2016-09-04 23:31:28 +10:00
Luke Ceddia
9a0bc93473
Revert "Make $EXEICON errors only a warning when compiling via command line."
...
This reverts commit 6ac4f79294
.
2016-09-04 23:30:59 +10:00
Luke Ceddia
2655a35b3c
Revert "Bring back the $EXEICON for Windows binaries."
...
This reverts commit 2e2a3de2be
.
2016-09-04 23:30:50 +10:00
FellippeHeitor
2e2a3de2be
Bring back the $EXEICON for Windows binaries.
2016-09-03 14:13:34 -03:00
FellippeHeitor
6ac4f79294
Make $EXEICON errors only a warning when compiling via command line.
2016-09-03 08:46:22 -03:00
FellippeHeitor
cca11e8f90
Add QB64's icon to the Windows binary.
2016-09-03 00:53:21 -03:00
FellippeHeitor
b4d71085bd
BuildNum$ Update.
2016-09-01 23:43:11 -03:00
FellippeHeitor
f829b4b640
Temporary remedy for confusing error messages after internal errors.
...
Bringing back the old "Compiler error (check for syntax errors)" message.
2016-09-01 23:37:37 -03:00
FellippeHeitor
e6425a5f11
Give proper error message when 'internal' folder can't be found.
2016-09-01 21:38:24 -03:00
FellippeHeitor
d93a2812bf
Fix OPTION _EXPLICIT ignoring variables created with SHARED in SUBs.
...
Also:
- When a "variable not defined" error is triggered, the expected type is now also reported.
2016-08-27 15:09:15 -03:00