1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-12-01 13:22:16 -05:00
Commit Graph

429 Commits

Author SHA1 Message Date
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
Raymond
2141e1d016 Minor changes + added todo list. 2010-04-05 01:36:21 +02:00
Raymond
72539efffd Added 'LoadSystemFont' which allows you to load a font based on one of your system fonts (just like LoadChars2 in scar). 2010-04-05 00:35:49 +02:00
Raymond
6fe68d1267 Added destructor for the paramhints. 2010-04-04 13:21:28 +02:00
Merlijn Wajer
7007f28939 Rename Setting, Create Setting and Delete Setting.
** Untested due to Lazarus crashes with InputQuery & InputBox **
2010-04-03 23:27:10 +02:00
Raymond
c918d95b1c Exported the 'whole' TMufasaBitmap class to PascalScript. Changed rev to 605. 2010-04-03 15:10:13 +02:00
Raymond
5ce90afbd6 Cleaned up a bit, re-arranged some DTM stuff. Speeded FindDTMsRotated up a lil bit.. (Nanosec). Added some 'const' parameters. Fixed a small bug in File saving/opening. 2010-04-03 14:05:15 +02:00
Niels
b0a64c3331 Changed the way tabs are handled (no more SmartTabs by default). 2010-04-03 10:05:59 +02:00
Niels
87440431fb Little style fix in code completion. 2010-04-03 09:34:58 +02:00
Niels
1b44904328 Made code insight recognize function/constructor types in objects. 2010-04-02 21:34:09 +02:00
Raymond
61f3c1ce98 Added {$H+} to units where it was missing.. Should solve some string-issues! Started with cleaning up the units a bit.. Adding 'const' where needed (all of those big record structures like DTMs should require to be passed as a const.. Saves some (unneeded) memory copying).
Settings in extensions should work now, see test extension.
2010-04-02 17:55:54 +02:00
Niels
3ed1f42aab Fixed a bug in code insight so indexed properties should work better. 2010-04-01 16:06:42 +02:00
Niels
1d001eb8d7 Merge ssh://villavu.com:54367/simba 2010-04-01 07:45:13 +02:00
Raymond
001a593789 Added settings to the extensions.. Should work allright, however there is some bug in Pascalscript that makes it fail, for now..
Renamed all the setting methods..
2010-04-01 00:22:46 +02:00
Raymond
bd27789eb2 Fixed codehints (you can now actually space ;)) 2010-03-31 21:40:53 +02:00
Raymond
d5c29d57ef Code hints work! Press ctrl + shift + space to activate it :). 2010-03-31 20:23:39 +02:00
Raymond
4748f5611d Fixed small bug in Code Insight + made a start with code hints. 2010-03-30 19:58:41 +02:00
Niels
cea3e066a6 Merge ssh://villavu.com:54367/simba 2010-03-30 14:03:17 +02:00
Raymond
492821587d Font downloading works =). 2010-03-29 23:01:54 +02:00
Raymond
f85f24e6dd Added BZip2 decompressing, + lil fix with freeing Frame Function List items. 2010-03-29 18:24:21 +02:00
Niels
11d2fa0fc6 Merge ssh://villavu.com:54367/simba 2010-03-28 22:39:23 +02:00
Raymond
7b3b694b09 Ctrl click now works better, goes to new files etc.. Tree is now generated using Niels' parser (has an include tree to, not sure if its too slow). And fixed some other stuff.. 2010-03-28 22:11:12 +02:00
Niels
14be0488ae Reverted something, because it was not needed :) 2010-03-28 20:08:50 +02:00
Raymond
9235a38b95 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-03-28 20:03:03 +02:00
Raymond
4e5f79cd67 MY SHIT 2010-03-28 20:02:57 +02:00
Merlijn Wajer
16c6bfbddd Fix for autocompletion drawing on Linux 2010-03-28 20:00:02 +02:00
Niels
fc4a3b0acf Forgot something :) 2010-03-28 17:10:00 +02:00
Niels
1f25b99b8a Workaround for a weird "bug". 2010-03-28 15:51:26 +02:00
Niels
9e8b0fba13 Small changes. 2010-03-28 15:31:08 +02:00
Niels
9237cdecef Hopefully fixed a bug in code completion. 2010-03-28 11:38:06 +02:00
Niels
c12064bcb1 OnFindInclude will also look in the script dir now. 2010-03-27 21:17:00 +01:00
Niels
c8166da3a1 Moved directive. 2010-03-27 21:05:32 +01:00
Niels
7d65466a5e Added defines for code completion to set the border mode (ccFORMCAPTION and ccFORMRESIZE). I think it's best for linux to not define either of them and for windows define ccFORMRESIZE (see ValistusDefines.inc). 2010-03-27 20:59:25 +01:00
Raymond
245f9819fd Merge branch 'master' of ssh://villavu.com:54367/simba 2010-03-27 14:10:27 +01:00
Raymond
980e801f50 Added a basic OnFindInclude for the codecompletion, it can now parse (the latest) SRL succesfully ;-). 2010-03-27 14:10:16 +01:00
Merlijn Wajer
c100563622 Fix 64 bit compilation 2010-03-27 13:15:48 +01:00
Raymond
f5669af1d9 Filling the core now actually works :-).. Still needs someway to do this after the formcreate, kinda slows down the program :(. 2010-03-27 13:12:06 +01:00
Niels
90e1e538a6 Added core functions to code completion. 2010-03-27 00:28:36 +01:00
Niels
b9414c8139 Hmmm 2010-03-26 23:16:12 +01:00
Merlijn Wajer
1b15e29991 Missing units 2010-03-26 22:21:07 +01:00
Niels
e1d5f0788f Didn't compile for me? 2010-03-26 17:36:55 +01:00