Raymond
b0f960cd34
Added regex support for Simba :).
2010-04-22 00:01:19 +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
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
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
deef894757
I think I've fixed PS for the array-result bug.. :)
2010-04-08 00:40:28 +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
Niels
6f757f3a78
Changed calling convention to safecall, can anyone confirm that arrays in results work now?
2010-04-07 18:23:02 +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
Merlijn Wajer
f5c48a6b43
Small cleanup in mmlpsthread. Bugfix in OCR.
2010-04-05 11:27:16 +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
c918d95b1c
Exported the 'whole' TMufasaBitmap class to PascalScript. Changed rev to 605.
2010-04-03 15:10:13 +02: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
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
Raymond
43c859f317
Fixed some constrcutors (forgot to Inherit Create)
2010-03-25 16:21:21 +01:00
Merlijn
eaeb1669c8
Fix small memory leak
2010-03-25 14:41:01 +01:00
Merlijn
f6a5a18c25
Fix #142 .
2010-03-25 13:37:52 +01:00
Raymond
edf0d61fb8
Made SaveToXML more dynamic, can now mare more root-elements.. (Like Settings/Scripts/Extensions/LastConfig)
2010-03-25 11:57:55 +01:00
Merlijn Wajer
0d10835959
Fix memory leak: Free Properties
2010-03-20 00:16:04 +01:00
Merlijn Wajer
30093069c5
Add TimeStampFunctionality
2010-03-20 00:12:43 +01:00
Merlijn Wajer
33afa26782
No need for trunk/ anymore
2010-03-12 18:10:10 +01:00
BenLand100
8d9a439d49
Moving Simba main development into trunk... to checkout main dev: http://www.villavu.com/repositories/merlijn/mufasa/trunk [folder-here]
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@434 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-20 20:14:50 +00:00
Raymond
5995ac8bde
Made smart work again, and make the mouse move outside target (on windows).
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@429 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 22:30:29 +00:00
Wizzup?
d6014fe316
String -> lowercase.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@428 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 21:04:36 +00:00
Raymond
1e1c08e5a4
Fixed the color conversions (RGB-values should be Bytes, not integers.. IMO), oh and it was taking the wrong methods (from graphics.pas instead of colour_conv.pas)
...
Added testscript for colour conversions, but I cbf to finnish it.
Changed the export limit! We are already exporting more than 200 methods, win!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@427 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 13:38:45 +00:00
Raymond
212e41ecd1
Writeln now writeln's *EVERY* data type...
...
Made a ToStr that accepts *ANY* data type.
See stringtest.mufa
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@426 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 13:24:41 +00:00
Raymond
076f12e2c8
Added some comments to ColourPicker,
...
Edited the way Errors are shown (thread-safe now),
When error occurs in an include Simba will open the tab(if not yet open) and go to the error,
Added Writeln that accepts chars,strings and all kind of integers.. (not sure whether to keep it)
Added format!
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@423 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-18 01:25:02 +00:00
Raymond
ef735ea947
Made it so that hints get the "at line x" text aswell.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@402 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-12 15:38:08 +00:00
Raymond
99e355328a
Fixed #45
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@401 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-12 15:32:59 +00:00
Raymond
9be1743a7f
Added IncludePaths etc
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@394 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-10 22:01:33 +00:00
Wizzup?
c5faba2cb5
Settings added.
...
Lots of TODO's, but it should be functional for programming uses.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@379 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-06 20:43:16 +00:00
Wizzup?
48242e8cb1
Fix in plugins. Small export change for SetTargetArray.
...
Added Pointer as Integer to PS.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@360 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2010-01-02 22:32:46 +00:00
Wizzup?
568484d2e0
Small updates + added core for updater
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@353 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-31 18:17:49 +00:00
Raymond
49b18d677a
GetDebugImage now ported to PS, thanks to Wizzups leet Bitmap.FromRawImage :D
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@340 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-25 23:56:25 +00:00
Raymond
8f88d8a0ab
Made the function list functional! :-)
...
Extra -> Fill Function List
And the dragging w0rks.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@331 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-24 16:21:31 +00:00
Wizzup?
80ce9744c6
More OCR changes, but mainly OCRBench changes.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@314 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-22 01:19:29 +00:00
Raymond
f80a36be1b
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@304 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-20 23:23:16 +00:00
Raymond
4c33f0798a
Exported TMufasaBitmap with LoadFromFile and SaveToFile
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@303 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-20 20:53:54 +00:00
Raymond
2a864cac75
Added some functions to Bitmaps, made a start with exporting TMufasaBitmap..
...
Oh and added some TPA functions, not yet exported to PS.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@288 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-18 16:16:47 +00:00
Raymond
7179add741
Added tpa.pas, (just holds 1 function.. Not sure what to do)
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@275 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-10 22:21:21 +00:00
Wizzup?
d3c03f808b
Fix
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@273 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-08 15:37:59 +00:00
Raymond
6b73686cd0
Methods are now in an Array, instead of directly added into the PS-Script engine.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@271 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-06 23:05:08 +00:00
Raymond
13be2661cf
Added some 'basic' functions
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@270 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-12-06 22:25:28 +00:00
Wizzup?
d0572ddc18
Several bugfixes.
...
For the record:
- One in wait. Integer -> DWord.
- ActivateClient did not call XFlush(), and wasn't exported either.
- Bug in SendKeys where it did not release the VK_SHIFT key.
- Overloaded + and - operators for TPoints
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@253 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-30 19:57:26 +00:00
Raymond
c5d968160f
Added DebugImageForm, see debugimageform.mufa for example.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@251 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-29 19:23:25 +00:00
Wizzup?
cc3b9d401f
Added file writing, reading, etc.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@233 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-17 09:30:09 +00:00
Raymond
fce233838d
Little clean-up; We need to initalize every record!!!!
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@227 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-11 22:35:26 +00:00
Raymond
bfa8b3eb39
Exported vk_codes.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@223 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-10 19:25:45 +00:00
Wizzup?
afca6a0e10
Added ClickMouse, HoldMouse and ReleaseMouse.
...
Also added TClickType and TMousePress.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@222 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-10 00:46:34 +00:00
Wizzup?
270394a397
Added ColorToHSL, so I can run my old neopets script. ^_^
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@217 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 17:39:28 +00:00
Wizzup?
571ea97bd7
Some more changes.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@214 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:55:00 +00:00
Wizzup?
13fe985504
Several changes. Removed support for windows, as KeyInput on Windows tries to synchronize after sending a key. This is not a good idea when not on the main thread; and causes crashes. Either Inherit from TKeyInput on windows, and change the calls so that it doesn't call ProcessMessages, or create your own.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@213 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:45:45 +00:00
Wizzup?
a68d70d456
Added KeyUp/KeyDown/KeyPress and SendText. Should work on Windows as well on Linux.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@211 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-08 16:23:04 +00:00
Wizzup?
2e8c2da42e
Made framescript use formWriteln() as well.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@197 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-07 00:50:02 +00:00
Wizzup?
bc9999cc07
Navatwo wanted to debug in terminal.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@192 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-04 23:01:01 +00:00
Wizzup?
366764d910
Writeln() now goes to debug box on Linux too. ;-)
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@191 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-04 22:41:06 +00:00
Wizzup?
f42c32f1b8
rs_GetUpText should work now in the GUI. It probably still needs internal tweaking, but you can test it now, and report pictures of situations where it does not work.
...
I may have left some debugging writeln's in - remove them when they annoy you.
Also uploaded the old UpChars font.
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@179 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-03 00:40:07 +00:00
Wizzup?
7b1e8d6f6a
Changes.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@175 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-02 10:18:35 +00:00
Raymond
01f971a476
Cleaned up a bit
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@171 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 17:23:16 +00:00
Raymond
c0a090c01c
Some fixes for linux
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@168 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 15:04:03 +00:00
Wizzup?
8a101c65f5
First OCR Function - GetTextAtEx. Currently only for UpText - still much of a stub.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@166 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-11-01 11:07:46 +00:00
Raymond
7e06e85bee
Been messing around a bit, haven't changed much.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@162 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-30 20:21:44 +00:00
Raymond
8538097e9d
Testing linux commit
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@157 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-25 18:18:24 +00:00
Raymond
f3dae9ae78
.include now quite working..
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@144 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-20 20:30:11 +00:00
Raymond
dd3d202b44
Bitmap masks added. Little mistake in the RowCalcs, fixed it. RetData now also has a RowLen property.
...
Added Paths (ScriptPath / AppPath);
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@143 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-20 19:48:18 +00:00
Raymond
ffb90926b6
Added SetTargetBitmap, and made CallThreadSafe work, hell yeah!
...
OnDestroy event for bitmaps..
Added PosterizeBitmap
Added window.inc
Added FormTest.mufa
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@141 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-18 20:11:47 +00:00
Raymond
25d196ee75
Seriously learn the difference between (xe-xs) and Width. KTHNX! Since (xe-xs) <> Width.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@139 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-18 13:56:12 +00:00
Wizzup?
3220330c90
Fix for linux.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@137 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 22:54:08 +00:00
Raymond
50adef2299
Added few functions + made psWriteln use Critical Sections (Not sure wether it w0rks on linux).
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@135 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-17 18:53:08 +00:00
Wizzup?
c59ea10a2c
Zo dan.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@127 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 17:47:46 +00:00
Wizzup?
5f8b9009d1
Fix for time. ;-)
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@126 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 17:35:50 +00:00
Wizzup?
6c1938cc7f
Tell me if I missed anything.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@125 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-12 15:04:52 +00:00
Raymond
50218e9320
Bmp stuff + normal font size in GUI.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@120 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-09 22:17:35 +00:00
Wizzup?
e9d2c0a614
CopyClientToBitmap.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@118 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-08 03:54:14 +00:00
Wizzup?
df029c2fd7
More DTM.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@104 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-04 06:37:34 +00:00
Wizzup?
490c3e1871
Fixed some warnings + added FindDTM and AreaShape.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@100 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 22:11:30 +00:00
Wizzup?
88710ef066
Some DTM functions.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@97 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-10-03 19:17:54 +00:00
Wizzup?
950bf6cfa9
Added freeze() to colour test.
...
Fixed a bug in cts 0, made cst 1 20% faster. Only cts 2 left to optimise.
(Can be optimised a lot!)
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@94 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-29 02:12:29 +00:00
Wizzup?
c49b1d84e9
Some more files for #75 .
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@76 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-22 08:16:52 +00:00
Raymond
d24c929443
Added some math functions to PascalScript, changed the GUI a bit (You can now run scripts with F9).
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@72 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-20 02:08:02 +00:00
Raymond
c477793560
Made plugins global, :-(
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@61 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 23:56:15 +00:00
Raymond
fafda03ad0
Updated + Added plugins
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@59 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 23:22:23 +00:00
Raymond
ade23dff0d
Fixed Finder
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@54 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 18:19:33 +00:00
Wizzup?
5d1ffa2c7d
I removed the cts case from the loop (meta-unrolled), as it *really* eats speed.
...
Feel free to test, though.
Current results are fast enough for now, but I'm sure we can improve the speed a bit more.
I set the optimalisations to -O2 instead of -01, it makes a difference of about 1.5x with CTS 2.
Results:
W, H = 826, 597
FindColorTolerance, with no hit:
CTS0: 11.316831683168 ms
CTS1: 25.396039603960 ms
CTS2: 37.613861386139 ms
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@50 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 08:46:25 +00:00
Raymond
1797201d2a
Updated Bitmaps!
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@49 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 07:25:40 +00:00
Raymond
150ad9fcf1
Added Bitmaps
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@46 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-13 02:18:35 +00:00
Wizzup?
2b0cb40b79
Writeln to GUI -> writeln to console.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@44 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 19:00:21 +00:00
Raymond
02e82f93c3
Wot
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@43 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 18:50:10 +00:00
Wizzup?
1c9e64cb0c
A few more changes. Bedtime. :)
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@42 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 08:24:30 +00:00
Wizzup?
b5e0bbf5ff
Added a few include files, pscompile.inc should probably be split up in more include files.
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@41 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 08:15:52 +00:00
Wizzup?
2abd1feb48
Watch the case sensitivity please. ;)
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@40 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 06:47:21 +00:00
Raymond
6f80c64d9c
PS Added
...
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@38 3f818213-9676-44b0-a9b4-5e4c4e03d09d
2009-09-12 06:24:59 +00:00