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

103 commits

Author SHA1 Message Date
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
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
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
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 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
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
Galleondragon 32d0811632 (Automated push) Update internal/source/* from qb64.bas 2016-02-27 05:14:57 -08: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
Galleondragon d0293ca7dc (Automated push) Update internal/source/* from qb64.bas 2016-02-13 06:17:39 -08: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
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
Galleondragon c84bc3b981 (Automated push) Update internal/source/* from qb64.bas 2016-01-18 05:14:34 -08:00
Galleondragon c9b829baa2 (Automated push) Update internal/source/* from qb64.bas 2016-01-16 05:14:55 -08:00
Galleondragon 7ec9208718 (Automated push) Update internal/source/* from qb64.bas 2016-01-15 05:13:48 -08:00
Galleondragon 85edad6462 (Automated push) Update internal/source/* from qb64.bas 2016-01-14 05:14:54 -08:00
Galleondragon 9cbcd52968 (Automated push) Update internal/source/* from qb64.bas 2016-01-12 05:13:46 -08:00
Galleondragon 9f749b8002 (Automated push) Update internal/source/* from qb64.bas 2016-01-05 05:12:45 -08:00
Galleondragon 8744ec5e57 (Automated push) Update internal/source/* from qb64.bas 2016-01-01 05:13:03 -08:00
Galleondragon ebd74826a0 (Automated push) Update internal/source/* from qb64.bas 2015-12-30 05:14:04 -08:00
Luke Ceddia 9c17efacf5 Removed non-ASCII characters and many hard tabs from source files, making it easier to use other text editors (special characters were being mangled in some cases). 2015-12-30 21:28:13 +11:00
Galleondragon 41a70085f6 (Automated push) Update internal/source/* from qb64.bas 2015-12-29 05:13:21 -08:00
Galleondragon 3739303e5c (Automated push) Update internal/source/* from qb64.bas 2015-12-27 05:12:48 -08:00
Galleondragon febdb30be3 (Automated push) Update internal/source/* from qb64.bas 2015-12-14 05:13:43 -08:00
Luke Ceddia 18a05b79ee Corrected OSX setup script to use OSX folder instead of Linux one.
Probably a copy/paste error when writing the script.
2015-12-14 11:17:09 +11:00
Luke Ceddia 9595dd37e6 Fixed the SHELL() function to return correct values on Linux (and presumably OSX). 2015-12-11 13:02:44 +11:00
Galleondragon c98a4529f6 (Automated push) Update internal/source/* from qb64.bas 2015-11-02 02:41:24 -08:00
Galleondragon accdaf1ce0 Added support for Android & Virtual Keyboards 2015-10-30 23:18:44 +11:00
Galleondragon be96250867 (Automated push) Update internal/source/* from qb64.bas 2015-08-21 05:14:00 -07:00
Luke Ceddia 3bfd7a799b Fixed MessageBox implementation on Linux and presumably Mac to actually do something. 2015-08-18 18:55:08 +10:00
Luke Ceddia 8abc34c99e Explicitly declare a large integer in qbr() routines to be unsigned, thus averting compiler warning. 2015-08-17 21:53:35 +10:00
Luke Ceddia d4c0a4c5a1 Optimise func_val, especially for common usecases with small integers. 2015-08-16 23:10:22 +10:00
Luke Ceddia ab99f5f837 Added overflow checks to the portable version of qb(), and corrected some missing negative signs in the other version.
Also patched func_val to behave properly when parsing integers > UINT64_MAX.
2015-08-16 01:59:46 +10:00
SteveMcNeill f917da369a Alteration to common.cpp to allow rounding to _UINT64_MAX limit
Floats previously only rounded to the upper limit of a signed integer64;
this alteration will now round them to the unsigned integer64 limit if
possible, or else toss an "OVERFLOW ERROR" if there's no way to squeeze
the float's value into an integer64.
2015-08-15 10:48:35 -04:00
Galleondragon 65a8ee9f33 (Automated push) Update internal/source/* from qb64.bas 2015-08-15 04:44:13 -07:00