1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-25 10:42:20 -05:00
Commit Graph

554 Commits

Author SHA1 Message Date
Merlijn Wajer
e092f6aadd Script Manager changes.
Just a few changes, committing because I'm switching computers.
2010-06-13 00:07:35 +02:00
Merlijn Wajer
3c8a311844 Parsing of the XML concept.
Adding the rest of the data is peanuts. Now to figure out a good place to
install the scripts to. The hardest part is probably keeping track of installed
scripts, and updating them when possible.
2010-06-12 14:29:56 +02:00
Merlijn Wajer
aa20686346 Python <-> Pascal syntax fuckup 2010-06-08 19:18:48 +02:00
Merlijn Wajer
2134e9a031 PyMML changes, doc additions, fixes. 2010-06-08 19:16:58 +02:00
Merlijn Wajer
14e929decc Just a bit of the Script Manager code.
I need to code a lot more, and it will be a bit hackish.

Basically, the TMMLSettings is not able to handle childs with the same name.
It can parse them into the tree, but the finding methods will not work. (They
will always find the first.)
Three possibilities:
-   Delete the one we just parsed, and search again. (We will get the next
result)
-   Use WalkToNode and then manually parse the node. (This is more dangerous
but doesn't delete the settints)
-   Do the XML parsing semi-manually, kind of like rewriting the settings unit.
2010-06-08 00:15:20 +02:00
Merlijn Wajer
496e4e5dbd Merge branch 'master' of ssh://villavu.com:54367/simba 2010-06-06 13:07:50 +02:00
Merlijn Wajer
535d6f63d7 First few bits of ScriptManager.
Nothing much, just committing from my other computer so I can resume work on it
here.
2010-06-06 13:05:15 +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
1159703b7c 693 rev.. Would be cool if the codehints bug is fixed! 2010-06-03 18:26:40 +02:00
Niels
8265555e82 Turns out I did something wrong =D 2010-06-03 16:35:33 +02:00
Niels
60c7ebce58 Typo 2010-06-03 16:03:27 +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
Merlijn Wajer
9f6cdb2de3 libMML: Swapped tolerance parameters.
pyMML: Added findColorTolerance and findColorsTolerance.
2010-06-01 13:40:51 +02:00
Merlijn Wajer
a103641897 Array passing works, with copy overhead. 2010-06-01 12:52:32 +02:00
Merlijn Wajer
6825eeb179 Fix 2010-06-01 02:03:25 +02:00
Merlijn Wajer
0d2ad4a81a More libMML 2010-06-01 01:59:48 +02:00
Niels
168b8a3c03 Safecall to Register in PSTest. What doesn't work yet from this test in Linux? 2010-05-24 20:02:40 +02:00
Raymond
478ebec14d New rev number + Made writeln convert floats correctly. 2010-05-24 15:07:42 +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
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
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
a2b85fe786 Added MDTM.LoadFromString + MDTM.Normalize; 2010-05-20 11:12:20 +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
00a33a3b20 Added the gutter image.. It seems to SIGSEV Simba though, this syncron edit (sometimes).. Weird 2010-05-20 01:35:50 +02:00
Raymond
716dc93834 Added syncronized editing to Simba! 2010-05-20 01:05:33 +02:00
Raymond
852edf55fc Fixed small issue + new rev number 2010-05-19 23:32:54 +02:00
Raymond
c3cb6ec1ba New rev 2010-05-19 22:50:03 +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
b045268ba5 Woops.. Some shit 2010-05-19 20:05:40 +02:00
Raymond
487e5e5144 Added some stuff.. :) 2010-05-19 20:01:46 +02:00
Niels
9d902708d5 Support to open multiple files at once. 2010-05-19 15:49:55 +02:00
Niels
7f874b710b Added Save as Default 2010-05-19 14:56:10 +02:00
Niels
f31af1d628 Fixed nested comments issue. 2010-05-19 14:22:09 +02:00
Niels
9b2683d61b Merge ssh://villavu.com:54367/simba 2010-05-19 13:35:52 +02:00
Niels
a50a9199d0 AutoShow codecompletion. 2010-05-19 13:34:59 +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
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
Niels
2cfd77c490 You can now click on functions in the function list again :) 2010-05-18 16:24:01 +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
9eef7669c6 Forgot to remove a debugline. 2010-05-18 14:32:14 +02:00
Niels
ac693b663c Added support for DLLs to code completion. 2010-05-18 14:14:22 +02:00
Raymond
4f6ad407e1 Fixed this unicode issue, I think. 2010-05-15 13:57:55 +02:00
Niels
10488dd0f8 Merge ssh://villavu.com:54367/simba 2010-05-13 11:42:10 +02:00
Raymond
84f9ee6587 Fixed bug in Arctan2, added new function ChangeDistPT and ChangeDistTPA. 2010-05-12 23:51:18 +02:00
Raymond
d794c5e420 Fixed small bug in Bitmap Conversion tool. 2010-05-12 19:13:03 +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
12cb2c1513 Bitmap conversion now operational 2010-05-11 20:52:17 +02:00
Raymond
229cdd6886 Fixed bug in freeing, Simba was freeing an already freed component! 2010-05-11 19:04:35 +02:00
Raymond
495c652e9c Added DebugLn 2010-05-11 16:22:25 +02:00
Raymond
8f306ce787 Renamed: The project to Simba, TestUnit to SimbaUnit. 2010-05-11 15:13:27 +02:00
Raymond
906418873c Renamed the containing folder.. 2010-05-11 14:57:27 +02:00
Raymond
98359e445a Renamed the mainform, renamed the testunit added begining for a bitmapConversion tool. 2010-05-11 14:56:11 +02:00
Raymond
07aca712a6 Fixed bug in Constructors for PS. 2010-05-09 23:37:28 +02:00
Merlijn Wajer
b6f2d14ca2 Grr 2010-05-09 22:57:58 +02:00
Merlijn Wajer
3ba7e3a4c4 ... 2010-05-09 22:56:23 +02:00
Raymond
8b7cb5ce26 Volgens mij heb ik dit gesloopt ofzo 2010-05-09 22:54:34 +02:00
Raymond
6c1ba3dc42 Fuck you 2010-05-09 22:53:33 +02:00
Raymond
ab4d147e08 DONNO 2010-05-09 22:50:52 +02:00
Merlijn Wajer
c8103490d8 OCRBench updated. Fix in FontLoader. 2010-05-09 22:46:26 +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
Merlijn Wajer
469d9d02e5 Fix command line args 2010-05-09 13:17:06 +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
4dc83e9397 Stop "fucking" dragging the forms to your 5000th screen and upload this edited lfm.. As a result, I need to manually edit those LFM's the whole time you commit! /me is not amused 2010-05-07 23:48:09 +02:00
Raymond
450c60abd6 Small bug that would cause simba to AV. 2010-05-07 14:45:17 +02:00
Niels
b5cf19a770 Merge ssh://villavu.com:54367/simba 2010-05-04 13:41:12 +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
Merlijn Wajer
c0b780fce5 Small style fix 2010-04-30 23:25:26 +02:00
Merlijn Wajer
af80b2bbe9 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-04-29 19:01:23 +02:00
Merlijn Wajer
9f59e8b3fd Resolve 169 2010-04-29 19:01:20 +02:00
Raymond
cfb407b809 New Rev-number :). 2010-04-29 13:49:48 +02:00
Niels
c3677b57d8 Merge ssh://villavu.com:54367/simba 2010-04-28 10:16:49 +02:00
Niels
51dddfe88a Removed unneeded writeln. 2010-04-28 10:16:37 +02:00
Raymond
f8101a4227 Reverted stupid mistakes. 2010-04-25 23:11:48 +02:00
Raymond
7df5de9fb9 New rev number 2010-04-25 20:35:19 +02:00
Niels
5ee4fef3cb Forgot to remove a little debug writeln. 2010-04-24 12:13:43 +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
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
32149318fc New rev number 2010-04-18 23:30:28 +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
57b4087bb6 Changed rev-number + added two more 'default' dirs. 2010-04-16 16:09:01 +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
f1587b0209 Changed Tray behavior. 2010-04-16 00:30:19 +02:00
Raymond
ebf4b496d6 Try now 2010-04-15 16:58:41 +02:00
Raymond
9d8f4f39fb Redesigned the way RecentFiles are saved/loaded. 2010-04-15 16:47:21 +02:00
Raymond
1e0ccf34ef The functionlist wasn't being filled anymore.. 2010-04-15 16:35:27 +02:00
Merlijn Wajer
e68dab9280 Few small changes. 2010-04-15 00:13:31 +02:00
Raymond
5f6a767750 Speeded up starting time(s) :). 2010-04-14 18:12:06 +02:00
Raymond
fb76831824 New rev-number 2010-04-14 17:46:56 +02:00
Merlijn Wajer
0ab37b325d Fix for deadlock. (Perhaps a FPC issue?) 2010-04-12 13:35:34 +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
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
Raymond
56da32fef0 Updated rev number 2010-04-10 20:22:57 +02:00
Raymond
c379bbba23 Updated rev number 2010-04-09 20:44:55 +02:00
Niels
3e953ae6be PSTest also works with safecall, but I doubt it'll work for Linux.. worth testing though? 2010-04-07 20:09:39 +02:00
Niels
9709bb76b9 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 for functions surrounded by brackets. 2010-04-07 18:50:42 +02:00
Raymond
7c9ec20cfe Fixed issue with code-completion not popping up. 2010-04-07 17:05:11 +02:00
Raymond
8038ebe39a Made the functionlist parse on a timer + in a different thread. 2010-04-07 16:23:48 +02:00
Raymond
af9a1d0c31 Changed project option to change the right resources. 2010-04-07 14:59:37 +02:00
Raymond
1116cbe481 Changed lazarus resources to FPC resources. 2010-04-07 14:44:55 +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
d6ef12ef15 Updated rev number 2010-04-05 14:06:46 +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
d367a1f4ee WriteLn -> MDebugLn... 2010-04-05 11:02:44 +02:00
Merlijn Wajer
0cd5099196 Fixes for Settings form. Had some duplicated code. 2010-04-05 11:00:53 +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
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
Raymond
a12fb8bda1 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-04-02 17:56:17 +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
Merlijn Wajer
0c61053e07 Small fix 2010-04-02 12:00:40 +02:00
Merlijn Wajer
e74cd3a92a Mouse class should be finished for now 2010-04-02 11:36:47 +02:00
Merlijn Wajer
e413c07d61 Small cleanup 2010-04-02 01:56:26 +02:00
Merlijn Wajer
8f416c68e6 Usable mouse class.
Code is readable to the trained eye... I hope.
2010-04-02 01:48:06 +02:00
Raymond
a9e6dc0e25 Changed rev ;) 2010-04-01 00:27:37 +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
Merlijn Wajer
422fc0b923 Forgot this file 2010-03-31 00:28:36 +02:00
Merlijn Wajer
9302dc7de7 Merge branch 'master' of ssh://villavu.com:54367/simba 2010-03-31 00:25:01 +02:00
Merlijn Wajer
605ef21bfe First real pyMML code. 2010-03-31 00:24:16 +02:00
Raymond
4748f5611d Fixed small bug in Code Insight + made a start with code hints. 2010-03-30 19:58:41 +02:00
Raymond
1bf4d9724d Updated rev number 2010-03-29 23:19:22 +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
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
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
Niels
fc4a3b0acf Forgot something :) 2010-03-28 17:10:00 +02:00
Niels
66fcd0a928 Find Declaration fix. 2010-03-28 16:45:46 +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
cf1dbaccc7 Merge ssh://villavu.com:54367/simba 2010-03-27 19:50:13 +01:00