1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-01 09:10:37 +00:00
Commit graph

2245 commits

Author SHA1 Message Date
Luke Ceddia c7b6f85075 Support internal clipboard on Linux
It's not true cross-program clipboard support, but the clipboard now functions
within a QB64 program. Importantly, this means you can copy/paste code around
in the IDE.
2014-09-17 20:56:55 +10:00
SMcNeill 3aa8bc8a27 Removed non-used string support in the CONST math routines. Added _CONTROLCHR function. Changed _OS$ to detect and report x64 compilers for Windows. 2014-09-17 06:10:11 -04:00
SMcNeill 22e0a75b05 Fix to _PRINTWIDTH so it doesn't interfer with _FREEFONT. 2014-09-06 16:58:11 -04:00
Luke Ceddia d7218cd301 Modify linux setup script to exit if it has root permissions. 2014-08-29 22:57:45 +10:00
Galleon 54a0e14ef5 (Automated push) Update internal/source/* from qb64.bas 2014-08-15 05:19:53 -07:00
SMcNeill 1b7f25aaba Fix to the IDE Resizing and changing fonts. Patch to ELSE allowing invalid syntax in various cases. 2014-08-14 03:55:38 -04:00
Galleon 4e73933e74 Fix bug in sub__depthbuffer where primary depthbuffer could not be turned off 2014-08-09 18:31:08 -07:00
Galleon a73e482de5 (Automated push) Update internal/source/* from qb64.bas 2014-08-09 04:04:35 -07:00
Galleon ba99b3cb97 _MAPTRIANGLE 3D Upgrade:
[{_CLOCKWISE|_ANTICLOCKWISE}][{_SEAMLESS}](?,?)-(?,?)-(?,?)[,?]{TO}(?,?[,?])-(?,?[,?])-(?,?[,?])[,[?][,{_SMOOTH|_SMOOTHSHRUNK|_SMOOTHSTRETCHED}]]

Refactor/rewrite of how OpenGL state is monitored/maintained

Critical fix to stop _MAPTRIANGLE (2D hardware version) not freeing old commands in the pipeline

Critical fix to stop intermittent QB64 crashing in 32-bit mode when screen size expanded
2014-08-09 03:55:53 -07:00
Galleon 8c793da56f (Automated push) Update internal/source/* from qb64.bas 2014-08-04 05:15:48 -07:00
Luke Ceddia a34f40bc74 Changed command-line parsing routine
Removed the ad-hoc system and insert ParseCMDLineArgs$(), which
should be easily extensible. Also supports the -- option for using
a filename that looks like an option (I would have liked to just be
able to use quotes on the command line, but COMMAND$ doesn't preserve
that information unfortunately.
2014-08-03 23:08:05 +10:00
Galleon 7c971c936c (Automated push) Update internal/source/* from qb64.bas 2014-07-29 05:16:19 -07:00
SMcNeill 33f652e0cc Changed QB64.bas to use BINARY for LINE INPUT files fot the performance increase.
Added new _SCREENEXISTS command to see if a screen has been made yet for the user.
Fixed the string < comparison bug.
2014-07-28 08:34:00 -04:00
Galleon d3a9052604 (Automated push) Update internal/source/* from qb64.bas 2014-07-27 05:19:30 -07:00
Luke Ceddia 69598a1a13 Merge 2014-07-27 00:39:23 +10:00
Galleon aa45425139 (Automated push) Update internal/source/* from qb64.bas 2014-07-26 07:12:35 -07:00
Luke Ceddia b586eafd3b Integrated _BLINEINPUT into regular LINE INPUT for BINARY files
LINE INPUT will now use the faster method if passed a file handle
that has been opened FOR BINARY. As such, the _BLINEINPUT command
has been removed.

qb64.bas now takes advantage of this for reading from '$include files,
at least in Include Manager 1. Some tweaking of internal/source/main.txt
was required to get things into a sane state, so I'm holing off changing
the compiler any further so the auto-builder can make sure everything's
smoothed over.

Note: Everything should still compile as normal; I'm just being overcautious.
2014-07-27 00:06:17 +10:00
Galleon 5155570c54 Added missing function hardware_img_tri2d 2014-07-26 07:04:41 -07:00
Galleon 5e2c5acc74 Added support for hardware _MAPTRIANGLE
_SEAMLESS option is not available for hardware yet and will generate an Illegal Func Call error. This is due to it failing to be pixel-perfect with the non-hardware version.
2014-07-26 06:56:15 -07:00
Galleon e593cf5719 (Automated push) Update internal/source/* from qb64.bas 2014-07-24 05:16:40 -07:00
Luke Ceddia fe8f56a7e7 Fix Press any key to continue closing on Alt/Ctrl/Shift
We now call Sleep() instead of sub_sleep()
2014-07-24 21:27:34 +10:00
SMcNeill 83489ad292 [mq]: 2014-07-24_07-03-40_r72+.diff 2014-07-24 07:03:56 -04:00
SMcNeill e149393a93 Deleted unneeded files to keep the repo clean. 2014-07-24 06:10:53 -04:00
Luke Ceddia c460dbb808 Fix glut-calling commands, make IDE use _BLINEINPUT for '$includes (for Steve).
Glut commands _SCREENX, _SCREENY, _SCREENMOVE, _DESKTOPHEIGHT, _DESKTOPWIDTH,
_SCREENICON now wait for the screen to be created before trying to work.
Change to QB64.bas source to use _BLINEINPUT instead of LINE INPUT for INCLUDE$.
This should make the IDE much more responsive when Includes are used from now on.
2014-07-24 19:24:00 +10:00
Luke Ceddia 83681345b2 Fixed GDB Debugging option (broken by qb64.bas split)
idedebuginfo stopped being shared, and thus was not accessible
in the sub that drew the dialog box.
2014-07-23 23:09:56 +10:00
Galleon a39a8d2ae8 (Automated push) Update internal/source/* from qb64.bas 2014-07-21 03:21:48 -07:00
SMcNeill 8f294a82ba Adding _BLINEINPUT for an alternative to LINE INPUT, which seems much faster. 2014-07-20 17:34:28 -04:00
Galleon 0b27c85a6e (Automated push) Update internal/source/* from qb64.bas 2014-07-20 06:23:29 -07:00
Galleon d6d4eb0c28 Moved qb64.bas to source\qb64.bas
Split qb64.bas into $included components: notably settings, version, gloabal, ide (& wiki downloader), subs/functions (and extensions including user mods and opengl)
Moved 'user mods' to source\subs_functions\extensions
Removed legacy functionality of the QB64 update system (including compression functions)
QB64.BAS can be compiled independent of its IDE $includes (just comment them out)
QUI commeted out (needs minor revision)
Updated version to 1.000 (just ran out of numbers)
2014-07-20 06:11:05 -07:00
Galleon b9f23d7a7a (Automated push) Update internal/source/* from qb64.bas 2014-07-15 07:06:09 -07:00
Galleon 4942dd7a9a Added solutions for non-FBO & non-NPOT GL versions
(non-NPOT solution results in blury display at NPOT resolutions but this is better than no display at all!)
2014-07-15 06:45:01 -07:00
SMcNeill 6995827479 Fix for _SCREENX and _SCREENY for Windows Users. 2014-07-12 04:15:07 -04:00
SMcNeill 3941732ed5 Push for Luke that fixes the CLOCK routine to stop massive IDE lag for LINUX users.
Also set name for new commands to _DESKTOPWIDTH, _DESKTOPHEIHT, _SCREENICON as the community seemed to prefer them.
2014-07-11 02:57:14 -04:00
SMcNeill 9a001f9dbc (Adding missing file for _SCREENMOVE to actually work!) 2014-07-09 23:02:32 -04:00
SMcNeill 379984d860 Fix to _SCREENMOVE using the glut commands. Should work in both WIN and LINUX. 2014-07-09 22:22:03 -04:00
SMcNeill ef083bb4af Fixed ASCII tool colors to match QB64 IDE, and added in EXIT dupport with the red X on top.
Pushed changes introduced by LUKE (Johny B on the QB64 forums) as follows :

Fixed setup_lnx.sh, added _CWD$, fixed handling of errno.
Converted setup_lnx.sh to Linux line endings (was preventing the script from running).
We now include <errno.h>, so the errno variable actually works - before it was just a regular variable that wasn't being set on error.
Added a _CWD$ function that returns the current working directory.  Should work on all 3 systems, but testing is needed on Win/Mac.
Can cause the following runtime errors: 7 (Out of memory), 51 (Internal error).
2014-07-09 06:40:12 -04:00
SMcNeill 9d2c936189 Update to internal/source to reflect all the recent changes. Minor bug fix for math routine and ide text colors. 2014-07-08 11:41:15 -04:00
SMcNeill 086f13cbd5 Patch to generate an error message if someone attempts to use commands between SELECT CASE and CASE. Minor bug fix for math routines which could generate errors in cases of extreme bad syntax. 2014-07-05 17:01:16 -04:00
SMcNeill 25c5988bbf Minor tweak to allow keypad support for entering extended ASCII characters as well as the number keys. 2014-07-04 15:38:10 -04:00
SMcNeill 463e0929af Added support for ALT-numkeys to generate ASCII codes in the IDE. 2014-07-04 11:44:28 -04:00
SMcNeill 9118329366 Push to fix ESC printing CHR$(27) to the IDE text and giving an "unexpected character" error. 2014-07-04 07:33:12 -04:00
steve mcneill 73 d0125f461e Push to finally fix $INCLUDE so that it works for cross-platform code. 2014-07-01 12:48:49 -04:00
steve mcneill 73 d3d32505dd Patch to adjust paths so the work for Linux as well as Windows. Minor change to libqb.cpp so _PRINTSTRING can print to SCREEN 0 without errors. 2014-07-01 10:16:27 -04:00
SMcNeill 539303a833 Change to a new _PRINTWIDTH routine which allows use in SCREEN 0, as well as wors with Variable-Width custom fonts. 2014-06-26 06:24:43 -04:00
SMcNeill d18fdc9769 Change to qbx.cpp to add proper support for Linux directory structure for User Mods. 2014-06-20 16:20:56 -04:00
SMcNeill 12fdb2c77a Change to make adding user functions modular without having to go in and change the main source directly everytime.
Added in new math functions for converting between Degrees, Radians, and Gradians.
2014-06-19 14:43:38 -04:00
Galleon 88592b4588 One line fix for OSX compatibility (was broken in prev Linux update) 2014-04-24 18:34:19 +10:00
Galleon 21331e9399 Fix to load bmp library so _LOADIMAGE works in Linux
Refer to: http://www.qb64.net/forum/index.php?topic=11223.msg95770#msg95770
2014-04-21 19:18:13 +10:00
Galleon a22f15697c Changed legacy GL_QUADS calls to triangle vertex-buffer calls for (yet to be tested) OpenGLES1 Android compatibility.
Made changes for QB64 to run in latest version in Ubuntu (14.04 desktop)[tested under VirtualBox with and without hardware acceleration).
Above changes made exclusively of each other. Further testing required.
2014-04-21 17:30:53 +10:00
Galleon 05054928b1 Fixes letter-boxing offset bug in full screen mode 2014-03-30 22:04:33 +11:00