1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-04 14:42:23 -05:00
Commit Graph

569 Commits

Author SHA1 Message Date
Merlijn Wajer
522973fdfa Small bitmaps change 2010-09-04 20:23:23 +02:00
Merlijn Wajer
5ff48ae017 Fix casing 2010-08-27 15:22:55 +02:00
Merlijn Wajer
bb4a3ed614 Fix casing in unit names 2010-08-27 14:41:55 +02:00
Merlijn Wajer
a95f9ea14a Documentation 2010-08-26 23:48:22 +02:00
Merlijn Wajer
b8f4f97084 Changes to RUTIS to allow it to work on Linux. Additional units may have to be touched when we start using them. This also does not yet touch the x64 compilation issues 2010-08-24 00:09:05 +02:00
Merlijn Wajer
ff86c034e8 Fix compilation on Linux 2010-08-24 00:01:25 +02:00
Raymond
932f0fd8f9 Minor changes 2010-08-20 17:55:03 +02:00
Raymond
9d162c1bfb RUTIS to the source 2010-08-20 17:21:43 +02:00
Raymond
1eba2fdb8f Added RUTIS to Simba (You can now choose between RUTIS and PascalScript) 2010-08-20 17:21:04 +02:00
Raymond
64e2bd4d5e +extdecl 2010-08-20 13:30:58 +02:00
Raymond
807905c896 Added Disguise+Status+ClearDebugImg..
Redesigned the way form-interactions are done.
2010-08-18 01:22:03 +02:00
Niels
cd8d3a7a84 Added operator support for arrays: "=", "<>", "+". Still in test phase, still needs support for static arrays. 2010-08-06 15:47:03 +02:00
Merlijn Wajer
5826ca19f0 Fix hypot part 2... ;-) 2010-07-31 19:18:57 +02:00
Merlijn Wajer
5556583ce0 Fix hypot. 2010-07-31 19:11:15 +02:00
Merlijn Wajer
b1f6726627 Added PosEx. 2010-07-27 10:26:27 +02:00
Merlijn Wajer
4983e9220c Add more math functions. 2010-07-26 15:04:56 +02:00
Merlijn Wajer
b1d5943c02 Revert "First code for Simba with only one script thread."
This reverts commit f38da4bc8c.
2010-07-24 14:41:53 +02:00
Merlijn Wajer
312519e3e8 Allow tab to finish the autocompletion as well.
Patch by Sabzi
2010-07-24 14:03:02 +02:00
Merlijn Wajer
f38da4bc8c First code for Simba with only one script thread. 2010-07-22 23:32:32 +02:00
Merlijn Wajer
556657097c TODO cleanup 2010-07-15 23:22:36 +02:00
Merlijn Wajer
fef9fc5a7f Small change/fix 2010-07-09 12:07:08 +02:00
Merlijn Wajer
5355117a10 Made API calls optional with Settings.
Settings/Interpreter/ALlowSysCalls {True,False}
2010-07-09 11:36:44 +02:00
Merlijn Wajer
c999497606 Small debug fix 2010-06-29 18:18:18 +02:00
Niels
4ba71fb94f Fixed InvertTIA 2010-06-21 20:46:08 +02:00
Raymond
385bea53e3 DTM editor now works! (As extension and normal script ;)).. It was a silly bug 2010-06-16 22:25:04 +02:00
Raymond
7f333388bb Merge branch 'master' of ssh://villavu.com:54367/simba 2010-06-15 19:56:42 +02:00
Raymond
1277cd76a2 DTM editor now works in normal mode (and should work in extension mode.. Just doesn't, check it out later tonight). 2010-06-15 19:56:30 +02:00
Merlijn Wajer
b22e4774d7 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-06-15 19:15:59 +02:00
Merlijn Wajer
57b0f143c7 More documentation. 2010-06-15 19:15:52 +02:00
Raymond
c558f564f6 Fixed some stuff regarding extensions. 2010-06-15 18:30:39 +02:00
Cazax
903299b580 Fixed SetProxy 2010-06-10 12:43:25 -04:00
Cazax
2647cf14c5 Added proxy support for HHTP Clients 2010-06-10 12:35:49 -04:00
Merlijn Wajer
8fa17d8189 Made WalkToNode public. 2010-06-08 00:17:47 +02:00
Raymond
fe18850679 Made IncludeBuffer more threadsafe! + rev number = 695 2010-06-05 23:32:40 +02:00
Raymond
aa0edf3ffe Exported the MML to Simba 2010-06-05 00:43:12 +02:00
Raymond
b61153e634 Tried to fix zeh codehints error. + latest Smart. 2010-06-04 13:46:38 +02:00
Niels
8265555e82 Turns out I did something wrong =D 2010-06-03 16:35:33 +02:00
Niels
8d791a0e96 Ran through code hints again to see if I could find some things that may result in errors and changed some things again.
Fixed param hint for functions which are separated over several lines. For example:
"TBitmap.

OnChange("

Also changed the way hints are showed for anonymous functions, it now shows the type/var/field name instead of nothing.
2010-06-03 15:55:36 +02:00
Raymond
f370f865d4 ReadFileString didn't return a correct value. 2010-05-24 17:57:43 +02:00
Raymond
478ebec14d New rev number + Made writeln convert floats correctly. 2010-05-24 15:07:42 +02:00
Merlijn Wajer
b450298085 Fix compilation 2010-05-24 12:19:52 +02:00
Merlijn Wajer
f736f3c7cf Merge branch 'master' of ssh://villavu.com:54367/simba 2010-05-24 12:08:42 +02:00
Merlijn Wajer
e0198ddb91 AppendFile. 2010-05-24 12:08:23 +02:00
Niels
a1fb0742ab Few changes. 2010-05-24 11:06:39 +02:00
Niels
2d8389be3e Fixed another (possible) memory leak in param hints 2010-05-24 00:17:21 +02:00
Niels
21286973fd Merge ssh://villavu.com:54367/simba 2010-05-24 00:07:04 +02:00
Niels
f7aa6ddc93 Fixed (possible) memory leak in param hints.
Fixed an error that I got at closing.
Fixed param hints for anonymous functions (var a: procedure(b: Integer) and OnChange for example).
2010-05-24 00:06:56 +02:00
Raymond
89e30c1af5 Minor fixes 2010-05-23 11:55:27 +02:00
Niels
c29d3b66e4 Merge ssh://villavu.com:54367/simba 2010-05-22 16:07:49 +02:00
Niels
67f73ad6c1 API-Calls added (can't be turned off at the moment)
Added file association extension (only works for windows)
2010-05-22 16:07:35 +02:00
Raymond
1ef12150dc Made it possible to create a TClient without letting it create a new IOManager :). 2010-05-20 13:35:38 +02:00
Raymond
952f0c6d5e See last message. 2010-05-20 11:13:19 +02:00
Raymond
a2b85fe786 Added MDTM.LoadFromString + MDTM.Normalize; 2010-05-20 11:12:20 +02:00
Raymond
dd0a88e965 Some functions did require the CurrThread variable. 2010-05-20 10:29:17 +02:00
Niels
3cb659dbf6 Merge ssh://villavu.com:54367/simba 2010-05-20 10:09:08 +02:00
Niels
0acdef9d72 Tried to got DTM editor working as extension, but it still needs a lot of work. 2010-05-20 10:08:54 +02:00
Raymond
852edf55fc Fixed small issue + new rev number 2010-05-19 23:32:54 +02:00
Raymond
363e7d394f left some debug info 2010-05-19 22:58:52 +02:00
Raymond
0a2ec3af12 Added MDTM.Index + rev number 2010-05-19 22:47:12 +02:00
Raymond
780190e2c7 Added ScrollMouse, BiDiMode and added CopyClientToBitmap to the TMufasaBitmap 2010-05-19 22:36:45 +02:00
Raymond
65f37d861e Extensions should have acces to some MML-objects now as well! 2010-05-19 20:24:30 +02:00
Raymond
6ecc1ce2ad Eventjes overwriten ofzo 2010-05-19 20:03:26 +02:00
Raymond
487e5e5144 Added some stuff.. :) 2010-05-19 20:01:46 +02:00
Niels
1eaac406b5 Fixed a lil' bug.
Should AddDTM be in the constructor of TMDTM?
Now you need to do AddDTM(mdtm) in the script?
2010-05-19 19:40:07 +02:00
Raymond
1a936b4500 Revised DTM system.. Now DTM is an object, holding an Array of MDTM Points. 2010-05-19 16:01:01 +02:00
Raymond
51d7f5a4b2 Added default case-statement highlighting to the Laz-color scheme. (You'd need the latest LCL for this). 2010-05-19 11:56:11 +02:00
Raymond
5dc6d43595 We need to revise the DTM-system.. 2010-05-19 11:44:25 +02:00
Niels
f5c6880829 Believe directives are supposed to be processed like this. 2010-05-19 10:50:29 +02:00
Raymond
e3d359b088 LoadDLL is now LoadLib (and it can also be used as a compiler directive {$loadlib libsmart}). Fixed a bug in PS-Script. Also fixed a segfault which would occur if you would do Ctrl + Space before it was done filling the corebuffer.. 2010-05-18 20:58:15 +02:00
Raymond
a4c7c30e77 Updated PascalScript 2010-05-18 18:53:11 +02:00
Niels
86b0077021 Added a Sleep(1) to the Idle handler in param hint, so CPU usage gets cut down to ~1% 2010-05-18 15:50:21 +02:00
Niels
7c49e4b9f7 Made sure you can't open files that don't exist in function list (for libraries), also added IS_INCLUDE to the parser. 2010-05-18 15:01:08 +02:00
Niels
ac693b663c Added support for DLLs to code completion. 2010-05-18 14:14:22 +02:00
Niels
48eba95926 Fixed a serious bug in codeinsight. 2010-05-15 23:56:45 +02:00
Raymond
4f6ad407e1 Fixed this unicode issue, I think. 2010-05-15 13:57:55 +02:00
Raymond
62bfea8be2 Added TPicture, and made this a property at the TImage. 2010-05-14 22:03:18 +02:00
Raymond
9686a4cd86 Shortcut boolean evaluation + fix for non-exported canvas stuff. 2010-05-13 16:42:51 +02:00
Niels
6799faca66 Forgot something. 2010-05-13 12:26:38 +02:00
Niels
7f7d95a497 Added define IS_INCLUDE to included files (may be useful for SRL). 2010-05-13 12:14:33 +02:00
Raymond
d47ded5f5c Typo 2010-05-13 00:35:47 +02:00
Raymond
84f9ee6587 Fixed bug in Arctan2, added new function ChangeDistPT and ChangeDistTPA. 2010-05-12 23:51:18 +02:00
Raymond
6bbdc985ba Added & fixed GetFiles/GetDirectories. 2010-05-12 22:55:36 +02:00
Raymond
559a3f977c Added Compress/Decompress String; Base64 conversion and 'procedure Simba' 2010-05-12 19:05:56 +02:00
Raymond
adcc10fc58 Fixed *dickish* bug! 2010-05-12 13:01:29 +02:00
Raymond
495c652e9c Added DebugLn 2010-05-11 16:22:25 +02:00
Raymond
db2c2d3b72 Added Sar,Ror and Rol for bitwise operations. 2010-05-11 02:26:47 +02:00
Raymond
b10ecdc9ff Typo in PixelShift. 2010-05-10 23:58:18 +02:00
Raymond
b7ac0e8dec Fixed unwanted Segfault + small update in UntarEx 2010-05-10 14:39:49 +02:00
Raymond
07aca712a6 Fixed bug in Constructors for PS. 2010-05-09 23:37:28 +02:00
Raymond
8b7cb5ce26 Volgens mij heb ik dit gesloopt ofzo 2010-05-09 22:54:34 +02:00
Raymond
486e22d0db Fixed bug with open parameter. Added new TPA function. Fixed bug with interpreter where it wouldn't return right in case of a class as result. 2010-05-09 14:34:40 +02:00
Raymond
12fca93826 Silly mistake :$ 2010-05-09 01:12:42 +02:00
Raymond
1cd909537d New TPA function 2010-05-08 23:36:46 +02:00
Raymond
1575c1ec11 Added few TPA functions (OffsetTPA,OffsetATPA,FloodFillTPA,CopyTPA,CopyATPA).. Changed most of the Array parameters to be Consts (this saves the need of copying the whole array just to pass it to the method). Changed the debug image borders back to toolwin.. Added constants MaxInt/MaxLongInt 2010-05-08 03:20:26 +02:00
Raymond
450c60abd6 Small bug that would cause simba to AV. 2010-05-07 14:45:17 +02:00
Raymond
a8091d58b9 So... SRL Player form now compiles and sort-off runs.. Doesn't work though.
Added InputQuery (which is a sort of ReadLn) and did a lot of shit in PS to make it work with SRL playerform.

And new version number, now @ 650! Yay.
2010-05-02 00:44:30 +02:00
Raymond
038ab65706 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-05-01 15:00:33 +02:00
Raymond
2baf3670df Donno, need to commit somehow. 2010-05-01 15:00:23 +02:00
Merlijn Wajer
e4fe1fae56 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-04-30 23:26:05 +02:00
Merlijn Wajer
e2712ad9a7 Add LoadFont and FreeFont 2010-04-30 23:25:15 +02:00
Raymond
46262acec6 DTMs are now stored as pointers internally. 2010-04-30 14:37:01 +02:00
Merlijn Wajer
204ae425c0 Resolve #154 2010-04-29 19:21:56 +02:00
Raymond
325493c8e2 Fixed small bug. 2010-04-29 11:33:04 +02:00
Raymond
b082c75daa Hex-conversion functions added. 2010-04-27 20:30:51 +02:00
Raymond
bd97c9162c Merge branch 'master' of ssh://villavu.com:54367/simba 2010-04-25 18:53:49 +02:00
Raymond
15024f16d7 Fixed small, but rather serious bug. 2010-04-25 18:53:33 +02:00
Niels
b1d38fff4a Narrowed down the black-screen-colourpicker problem to the bitblt in ReturnData (I think). Removed an unneeded unit from os_windows and didn't get the black screen anymore, so I'm committing anyway =D 2010-04-24 21:04:39 +02:00
Niels
d352c13764 Added defines to code completion and changed functionlist to find declaration at doubleclick instead of onchange. Also deleted Code Insight folder. 2010-04-24 12:11:50 +02:00
Raymond
b0f960cd34 Added regex support for Simba :). 2010-04-22 00:01:19 +02:00
Raymond
e1a11367f4 Fixed #170, fixed bug in debug image popping up everytime you call DisplayDebugImgWindow, updated rev number added 2 new functions to the OCR (GetTextATPA and GetTextAtEx). Added a new way of determing the max height/width of a font-set. 2010-04-21 17:10:40 +02:00
Raymond
544294fbe6 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-04-18 23:31:30 +02:00
Raymond
77420fa172 Small typo + some var -> out params. 2010-04-18 23:26:21 +02:00
Merlijn Wajer
a6da52fbb3 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-04-18 18:09:25 +02:00
Merlijn Wajer
b8a0d6b0a5 Comment 2010-04-18 18:09:23 +02:00
Raymond
850620d946 Added s0me log st00f + new vers number. 2010-04-18 18:08:30 +02:00
Raymond
a7eccb53d2 Mem leak fix 2010-04-18 17:14:19 +02:00
Raymond
1a8e3977b7 No more leaks in TestUnit 2010-04-16 20:50:10 +02:00
Raymond
9c21ec3ae9 Added SRL-update extension. Made a decompress/untar thread, so that this is no long thread-blocking :). 2010-04-16 16:03:26 +02:00
Raymond
0ba578ee9f Fixed lil bug in PS + Updated Todo.txt 2010-04-14 16:13:03 +02:00
Merlijn Wajer
48ad089549 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-04-14 00:24:09 +02:00
Merlijn Wajer
66e07cb5ae Comment fix 2010-04-14 00:24:01 +02:00
Raymond
0b416fa05f Left a unneeded writeln in there. 2010-04-13 20:15:59 +02:00
Raymond
dd44f6f007 Fixed small (but nasty) bug in DTM, added two functions to MufasaBitmap (rectangle + FloodFill). 2010-04-13 20:10:30 +02:00
Merlijn Wajer
28b12851e0 Changed Handbook URL again + DTM cleanup. 2010-04-12 11:00:43 +02:00
Raymond
c7f5ce6b31 if the target window doesn't exist, retarget! 2010-04-12 00:02:28 +02:00
Raymond
aa57a27f12 Revnumber + compiling filestream fix, yay! 2010-04-11 21:58:06 +02:00
Raymond
6d8da49050 Fixed filestreams, yay! 2010-04-11 21:54:22 +02:00
Raymond
2759ad3a03 Made some changes; Fixed some bitmap issues; Added some functions to extensions; fixed bug in PS 2010-04-11 21:42:42 +02:00
Niels
f4a443db05 CodeCompletion Fix? 2010-04-11 20:38:55 +02:00
Raymond
fb6a8be038 Fixed #166 2010-04-10 16:26:26 +02:00
Raymond
6183f771c9 Added script property SP_OnTerminate.. This way you can add functions to a OnTerminate event list, these functions will be called at the end of the script. 2010-04-10 14:34:24 +02:00
Raymond
e8c0e53f68 Fixed some issues with TTarget_Exported (hope so) 2010-04-10 13:36:09 +02:00
Raymond
44c4322d0f Fixed the len-parameter.. :-) 2010-04-09 23:12:55 +02:00
Raymond
deef894757 I think I've fixed PS for the array-result bug.. :) 2010-04-08 00:40:28 +02:00
Raymond
2d58a145fc So.. Did the TPA stuff.. PS should now work correctly (?) 2010-04-07 23:32:17 +02:00
Raymond
2a3868e8c7 Fixed wrappers (made them have ps_ prefix and made sure they have the 'extdecl' macro).
Todo is the TPA-unit.. Create wrappers :(
2010-04-07 23:04:25 +02:00
Raymond
2c425d107f Added colourconv.inc 2010-04-07 23:03:39 +02:00
Raymond
4db2ccf52a Updated PS.. 2010-04-07 21:43:34 +02:00
Niels
9d67a02b99 Instead of only showing code completion/hints with identifiers and symbols, I changed to to show it if it's not in a string/comment/directive). I also fixed a little bug in codehints which involves functions surrounded by brackets (not sure if this is the second time I commit this? =D) 2010-04-07 18:52:22 +02:00
Niels
dfe3b23319 Merge ssh://villavu.com:54367/simba 2010-04-07 18:23:20 +02:00
Niels
6f757f3a78 Changed calling convention to safecall, can anyone confirm that arrays in results work now? 2010-04-07 18:23:02 +02:00
Niels
f08e191344 Small fix. 2010-04-07 17:07:01 +02:00
Raymond
bc954e095d Fixed issue with CodeHints 2010-04-07 16:48:56 +02:00
Raymond
8038ebe39a Made the functionlist parse on a timer + in a different thread. 2010-04-07 16:23:48 +02:00
Raymond
0d5f9b7b89 Added event-hooks for extensions! Extensions now have 5 events that they listen to, see virtualextension.pas for which. Fixed bug in codehints and a small one in padl/padr/padz. 2010-04-07 14:01:26 +02:00
Raymond
5503164d91 Added bzip decompression + untarring support for extensions + updated the test extension to be a font updater. 2010-04-05 13:56:20 +02:00
Merlijn Wajer
f5c48a6b43 Small cleanup in mmlpsthread. Bugfix in OCR. 2010-04-05 11:27:16 +02:00
Merlijn Wajer
ea931dec9c Merge branch 'master' of ssh://villavu.com:54367/simba 2010-04-05 11:01:39 +02:00
Merlijn Wajer
f9733bd3fb Commented os_linux (a bit) 2010-04-05 11:01:18 +02:00
Merlijn Wajer
0cd5099196 Fixes for Settings form. Had some duplicated code. 2010-04-05 11:00:53 +02:00