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

333 commits

Author SHA1 Message Date
Galleondragon 66ea905192 (Automated push) Update internal/source/* from qb64.bas 2016-03-24 05:14:56 -07:00
FellippeHeitor c93af699bd Add instructions for Linux and OS X users to fix install scripts.
Temporary workaround while scripts are being made available with Windows line endings.
2016-03-24 08:41:35 -03:00
FellippeHeitor 310eb662d0 Use the new _INCLERRORLINE to give more detailed error messages (IDE). 2016-03-23 11:22:22 -03:00
Galleondragon b8ad8987cc (Automated push) Update internal/source/* from qb64.bas 2016-03-23 05:18:29 -07:00
FellippeHeitor fca4a96ef3 Remove unnecessary optional parameter in fix_error().
Also:
- "Unhandled error" message now only shows included line number when it's > 0.
- qb64.bas adds include line number to every evnt() call.
2016-03-23 08:29:32 -03:00
FellippeHeitor 398781b4af Build number increase. 2016-03-23 08:00:25 -03:00
FellippeHeitor e891ce0891 Extended error reporting, pointing to included lines.
The "Unhandled error" message will now display "Line: #### (included line: ####)" with the line number in the included file that generated the error. 0 will be reported if the error wasn't in an included line.

Also:
- Add function _INCLERRORLINE, which returns a value greater than zero when _ERRORLINE points to an $INCLUDEd file.
2016-03-23 07:45:51 -03:00
Galleondragon a23a733bf0 (Automated push) Update internal/source/* from qb64.bas 2016-03-21 05:14:45 -07:00
FellippeHeitor 3557828e95 Fix $precompiler layout.
$ELSEIF FLAG THEN was being turned into $ELSEIF IF FLAG THEN THEN when a precompiler condition had already been met in an $IF block before the current $ELSEIF.
2016-03-20 22:19:35 -03:00
FellippeHeitor 8d459da508 Increase build number to mark Galleon's latest additions 2016-03-20 15:44:37 -03:00
Galleondragon 9758e11417 Merge remote-tracking branch 'origin/master' 2016-03-20 23:25:05 +11:00
Galleondragon 9b17aa8bca Added accidentally removed line #include <fcntl.h> 2016-03-20 23:23:50 +11:00
Galleondragon 1af305e433 (Automated push) Update internal/source/* from qb64.bas 2016-03-20 05:14:41 -07:00
Galleondragon 0ea631d375 Implements the _DIR$("desktop") function which returns OS specific paths.
Implements changes to allow programs to run on ARMBI-v7 Android devices which also provides a massive performance boost to but runtime and startup time.
Implements changes to allow programs to run on x86-based Android devices.
Fix to ensure variables allocated in the "stack" are aligned on appropriate boundaries which would have otherwise crashed on Android.
Fix to _DEVICES to ensure variables are aligned on appropriate boundaries which would have otherwise crashed on Android (includes some refactoring).
Added permissions to allow reading from/writing to external storage. Use the _DIR$(...) function to help locate appropriate paths.
2016-03-20 18:56:10 +11:00
Galleondragon ff2802131a (Automated push) Update internal/source/* from qb64.bas 2016-03-19 05:15:17 -07:00
Luke Ceddia 773291198c Added a date and id stamp to appear in the About box.
This must be manually updated whenever you make a change to the code.
See source/global/version.bas for details.
2016-03-18 23:22:03 +11:00
FellippeHeitor 00b9b6a37f Updated offline wiki. 2016-03-18 08:36:04 -03:00
Galleondragon afc995ddc1 (Automated push) Update internal/source/* from qb64.bas 2016-03-09 05:14:37 -08:00
SteveMcNeill 0c3c6f25d1 Merge branch 'master' of https://github.com/Galleondragon/qb64 2016-03-08 20:53:46 -05:00
SteveMcNeill 9761af33d5 Fix to precompiler to work inside $INCLUDE files 2016-03-08 20:53:35 -05:00
Galleondragon 384869f0e3 (Automated push) Update internal/source/* from qb64.bas 2016-03-05 05:14:49 -08:00
SteveMcNeill d9aa69afb9 Change to INPUT routine so when reading a byte at a time, we'll find proper EOF markers.
A fix to the issue described here:
http://www.qb64.net/forum/index.php?topic=13195.msg113782#msg113782
2016-03-04 23:06:22 -05:00
SteveMcNeill 87b4783dd7 Fix so IDE will catch DO WHILE (nothing) syntax errors 2016-03-04 22:34:28 -05:00
SteveMcNeill e9472743e5 Path to IDE Auto-position
Since _SCREENHIDE doesn't currently work on Linux, alterations were made
to the auto-position routine to keep the IDE from storing screen
positions when minimized and closed that would make it reopen off-screen
and impossible to move/position.
2016-03-04 14:51:08 -05:00
SteveMcNeill 117f12e4d4 Patch to correct IDE error messages
IDE error messages would give invalid reports if the program encountered
an error on the automatically included QB64 virtual keyboard files.
This should correct that and have the IDE reporting the proper messages
once again.
2016-03-04 11:21:16 -05:00
FellippeHeitor e26f63f8c1 Fix to PNG import CRC-check returning False failure results sometimes.
Fix by Steve McNeill.
2016-03-04 00:17:02 -03:00
Galleondragon adee4e38af (Automated push) Update internal/source/* from qb64.bas 2016-02-28 05:17:07 -08:00
Fellippe Heitor 6af23d8039 Fix keyboard hotkey indicator in contextual menu.
When two 'Go to...' are shown (when label and procedure share the same name), the item that goes to procedure will have G highlighted and the item that goes to a label will have L highlighted.
2016-02-27 16:17:28 -03:00
Fellippe Heitor 95af7ff6a6 Improves the .command file generated to launch executables
The same improvements made to qb64_start_osx.command are now present in the .command file that is generated in OS X after a program is compiled into an executable. This way, Terminal is closed as soon as the program is launched.
2016-02-27 15:40:24 -03:00
Galleondragon 32d0811632 (Automated push) Update internal/source/* from qb64.bas 2016-02-27 05:14:57 -08:00
FellippeHeitor 3931b6aee3 Merge branch 'master' of https://github.com/Galleondragon/qb64 2016-02-26 22:01:54 -03:00
FellippeHeitor 517f512c76 Add "Go to..." to contextual menu, for SUB/FUNCTION/Labels.
If a user right-clicks a SUB/FUNCTION name or a label name anywhere in the code, the contextual menu now offers to jump to the line where such procedure/label is defined, providing a quick way to navigate through code. Even if there are multiple identical labels in different procedures, scope is taken into consideration, leading you to the definition that's located inside the current procedure.
2016-02-26 22:01:03 -03:00
Fellippe Heitor 4ecf981909 Improve the start script in OS X.
Starts qb64 as an independent process and closes Terminal window after it's done. If no more Terminal windows remain open, quits Terminal app.
2016-02-25 01:08:53 -03:00
Galleondragon ed03cc992f (Automated push) Update internal/source/* from qb64.bas 2016-02-23 05:14:58 -08:00
Galleondragon fecdbf995f (Automated push) Update internal/source/* from qb64.bas 2016-02-22 05:14:14 -08:00
FellippeHeitor 2293beb692 Fix a leak when assigning values to an array of type STRING.
The issue happened with both fixed and variable length string arrays and variables with user defined types containing fixed string elements.
2016-02-22 08:19:54 -03:00
Galleondragon d0293ca7dc (Automated push) Update internal/source/* from qb64.bas 2016-02-13 06:17:39 -08:00
FellippeHeitor ce0c8a4507 Add option to restore last window position at startup (Display dialog).
Setting already existed in config.txt and could be manually set (actual code to remember window position written by Steve).
2016-02-12 07:20:17 -02:00
FellippeHeitor 48c99d2247 Fix title alignment of manually positioned dialog boxes. 2016-02-12 06:49:26 -02:00
Luke Ceddia 10ce118bec Extra cast to satisfy compiler on OSX. 2016-02-10 00:26:33 +11:00
Galleondragon adf797014f (Automated push) Update internal/source/* from qb64.bas 2016-02-08 05:19:02 -08:00
FellippeHeitor 4901270af3 Fix an error invoking the contextual menu.
If the ide window was too small (e.g. default size 80x25) and a subwindow was being shown (help window) drawing the contextual menu caused an error.
2016-02-07 18:01:43 -02:00
SteveMcNeill 71a7a3e2a9 Update .gitignore to ignore internal/help folder 2016-02-07 13:27:29 -05:00
Luke Ceddia 46e8ce414b Fix conditional compilation statements in libqb. 2016-02-04 13:58:53 +11:00
Luke Ceddia ff27678f98 Merge branch 'linux_tcpip' 2016-02-03 16:27:58 +11:00
Luke Ceddia 992a74c7ee Implemented a better _CONNECTED
It is no longer confused by buffered data. However, it no longer makes
an explicit call to send()/recv(), so one of those must first fail to
signal the disconnection. This allows _CONNECTED to be used to check
if a GET/PUT succeeded (on the local end, anyway).
2016-02-03 15:42:57 +11:00
Luke Ceddia 264ad29f22 Make tcp_out try harder to send data.
The function now interprets the return value from send() and recalls if
needed to transmit all data.
2016-01-30 19:10:14 +11:00
Luke Ceddia 976f757c2f Fix memory leak in _PRINTSTRING
FontRenderTextUTF32 now frees the 'render' array, which is allocated for multi-character strings.
2016-01-28 13:58:08 +11:00
Luke Ceddia 6d49cff3ee Add preliminary support for tcp/ip on Linux
_OPEN{CONNECTION, HOST, CLIENT}, _CONNECTIONADDRESS$ now do something, as the underlying tcp routines
are implemented (with the exception of tcp_connected and thus _CONNECTED).
2016-01-26 23:11:05 +11:00
Luke Ceddia b0edf45d47 Fix _EXIT race condition that prevents exit; make _EXIT work on Linux. 2016-01-21 00:37:27 +11:00