Commit Graph

349 Commits

Author SHA1 Message Date
michael
2d309499e9 * MediaStreamTrack skeleton 2020-04-19 14:18:47 +00:00
michael
e6d18fc1b4 * Add easy access method RouteFromURL 2020-03-23 13:52:15 +00:00
michael
6ba4e00741 * WEBRTC classes 2020-03-23 13:51:28 +00:00
michael
a5a202af2a * HTMLHeaders class 2020-03-23 13:50:57 +00:00
michael
9141c50a2c * Fix bug in FormatFloat: missing thousand sep when no decimal separator present. Patch by Bruno Fierens 2020-03-21 14:39:56 +00:00
michael
de05c1f807 * Remove todos 2020-03-10 22:24:31 +00:00
michael
18452a754b * Copyright notice 2020-03-10 22:23:52 +00:00
michael
8944471cc6 * ByteDynArray 2020-02-21 15:12:12 +00:00
michael
df2250da28 * Completed bugger, added events and timers 2020-02-21 15:11:29 +00:00
michael
482d7d0690 * IteratorResult & AsyncIterator 2020-02-21 15:10:56 +00:00
michael
e3db23ef42 * Patch from Silvio Clecio to implement cookie on TJSDocument (bug ID 0035357). 2020-02-09 18:13:07 +00:00
michael
b028be4ec2 * Fix bug 35558: Add SortList 2020-02-08 09:50:34 +00:00
michael
9840999646 * Patch from Sven Barth to implement TJSWindow.onresize (bug ID 36677) 2020-02-08 09:39:42 +00:00
michael
20646eb432 * Fix from Sven Barth for bug ID 36676 : TParser reads too many bytes in certain cases 2020-02-08 09:37:11 +00:00
michael
17896572b8 * Fix case of removeEventListener (bug ID 36567, patch by Sven Barth) 2020-01-14 21:54:46 +00:00
michael
5dfaca424e * Fix origin property in TJSLocation 2019-11-19 23:01:38 +00:00
michael
9e2c77792d * Fix EndsWith declaration 2019-11-11 12:00:38 +00:00
michael
0bc30e88e8 * Correct getcurrentlocation 2019-11-02 17:33:45 +00:00
michael
7d531e888c * Complete TJSPath2D, add ellipse 2019-11-02 17:33:28 +00:00
mattias
a16ec5bdc1 rtl: added tkExtClass 2019-10-30 11:56:41 +00:00
michael
d1f79594de * Autofocus and disabled for select element 2019-10-30 09:01:05 +00:00
michael
717a4381b1 * Add escaping of specials ^ and $ to stringreplace 2019-10-27 17:11:33 +00:00
michael
2b0c7ffa88 * Add support for resources 2019-10-27 13:14:34 +00:00
michael
116614c42c * Add EncodeHTMLEntities 2019-10-27 13:13:23 +00:00
michael
7a882c55b8 * Arraybuffer is a JSObject 2019-10-27 13:12:30 +00:00
michael
68eefbea8e * Add Anchor and Template element classes 2019-10-27 13:12:09 +00:00
michael
10c84c0875 * Correct name of Buffer class 2019-10-27 13:11:48 +00:00
mattias
07c76c5111 rtl: fixed SetMethodProp normal function 2019-10-22 11:39:31 +00:00
mattias
c79684f8d9 rtl: MethodName: support callbacks with function reference 2019-10-21 17:05:49 +00:00
mattias
a72e7bf311 rtl: MethodName: support callbacks with function reference 2019-10-21 16:44:47 +00:00
mattias
b1c084790f rtl: SetMethodProp: reuse callback if possible 2019-10-21 16:36:27 +00:00
michael
d7d47e1439 * Allow to log message on create, so event handler exceptions can be traced in debugger console 2019-10-18 08:01:02 +00:00
michael
848ea3e0bf * Replace callbacks, split using regexp 2019-10-18 07:58:51 +00:00
michael
9a7c83dabf Add TObjectDynArray 2019-10-18 07:58:21 +00:00
michael
6587b4df8e * Some additions: window.postmessage, form.checkvalidity, overload for image constructor 2019-10-18 07:58:00 +00:00
michael
5621ab1a1f * Add array of separators overload 2019-10-04 21:32:36 +00:00
michael
1d588bea49 * Fix AM/PM for strtotime 2019-10-02 19:16:20 +00:00
michael
cc0cee2387 * Add IsDate 2019-10-01 18:26:37 +00:00
michael
9640756fc2 * Fix day names in formatdatetime, fix DateTimeToJSDate 2019-09-30 13:48:08 +00:00
michael
3485d5252b * Fix case of TJSHTMLElement native name 2019-09-27 13:17:32 +00:00
michael
1e31931375 * Fix strtoint64def 2019-09-27 13:17:06 +00:00
michael
abd08459c4 * First version of webassembly interface 2019-09-22 11:20:41 +00:00
mattias
d77f936d0e rtl: less hints 2019-09-18 17:33:09 +00:00
michael
7dc3c9659f * Undo last patch, too much committed 2019-09-13 09:48:21 +00:00
michael
d53de8e426 * Remove debug output and add DoPush to RouteRequest 2019-09-13 09:46:45 +00:00
michael
466aadfba9 * Template loader and demo 2019-09-12 20:38:59 +00:00
michael
ec6b4841f2 * raise error on non-existing route 2019-09-12 20:32:35 +00:00
michael
7030886a98 * Added link element & script element correction 2019-08-30 12:21:53 +00:00
michael
6e4276df35 * Additional classes/methods, suggested by WarleyAlex 2019-08-29 07:15:52 +00:00
mattias
ddc8bafa81 rtl: started generic TList 2019-08-26 13:44:05 +00:00
michael
2553ef17ad * TJSAttr is a descendent of TJSNode 2019-08-20 11:19:11 +00:00
michael
6fcea916a2 * Add some missing HTMLFormElement methods 2019-08-20 07:42:14 +00:00
michael
69ca0ce68a * Fix event handler signature 2019-08-20 07:25:39 +00:00
michael
1f3db78f37 * Added HTMLOutputElement 2019-08-20 07:14:20 +00:00
mattias
ac227214f3 rtl: less hints 2019-08-17 08:58:08 +00:00
michael
f14118704c * Fix casing of substring 2019-08-13 06:07:48 +00:00
michael
6bc0de13f9 * Added missing value to TJSHTMLButtonElement 2019-08-09 06:44:59 +00:00
michael
8a3692b9fd * Correct DefaultHandler/DeefaultHandlerStr 2019-08-04 21:30:02 +00:00
michael
a89cc4b9ab * Add some extra functions 2019-08-04 21:23:21 +00:00
michael
f0deef7fcc * Add Label and TextArea elements 2019-07-28 21:07:26 +00:00
michael
d472e24793 * Add Fetch API by Simon Ameis 2019-07-27 11:17:07 +00:00
michael
e2b9a878ad * Add FormData class 2019-07-24 16:31:19 +00:00
michael
64e17d4954 * Switch to resource strings 2019-07-18 16:30:32 +00:00
michael
b9187c5ad3 * New HTML media elements 2019-07-18 16:30:16 +00:00
michael
021964c4d0 * Copyright header added 2019-07-15 13:14:26 +00:00
michael
a99f117940 * Show how to translate resource strings 2019-07-15 12:58:03 +00:00
michael
0b21ea3b26 * Add ObjectTextToBinary and TParser 2019-07-14 09:56:12 +00:00
michael
ca8aae9072 * Implement TStringStream, ObjectBinaryToText 2019-07-12 20:49:11 +00:00
michael
f76abc2f8d * Correct HTMLImageElement, space key 2019-07-12 20:48:21 +00:00
michael
2742723507 * Replace asm block with pascal in setreference 2019-07-11 06:57:30 +00:00
michael
ee110fbed3 * Needed for classes unit 2019-07-07 18:38:55 +00:00
michael
1b44527498 * Implement (binary) streaming 2019-07-07 18:36:49 +00:00
michael
3a623b5dc3 * Add MethodName, FieldAddress 2019-07-07 18:35:46 +00:00
michael
cb834b582f * Escape < > 2019-07-07 18:35:08 +00:00
michael
5db4d0571c * Add ClassInfo and MethodAddress 2019-07-01 08:22:30 +00:00
michael
aa62138a70 * Fix case in 2 places 2019-06-27 06:23:46 +00:00
michael
fd996c12f9 * Add $M+ to TPersistent 2019-06-24 11:45:02 +00:00
michael
7d58ca83c2 * Fix use of public keyword 2019-06-22 09:06:44 +00:00
michael
01edbe957a * Implement TStream 2019-06-19 07:52:34 +00:00
michael
0d3122c452 * Add some overload keywords 2019-06-10 10:59:22 +00:00
michael
2c68cfda8c * Some IntN types 2019-06-10 10:58:57 +00:00
michael
46f7c2d5dc * Allow indent to work 2019-06-10 10:58:21 +00:00
michael
e3ef3fc9aa * Fix ArcTan definition (bug ID 35655) 2019-06-01 12:21:12 +00:00
michael
9c2926cf96 * Add external name TJSMessageEvent class 2019-05-25 09:45:11 +00:00
michael
5505894bb0 * Add TJSMessageEvent class 2019-05-25 09:43:08 +00:00
michael
485f43abca * Constructors for TJSWebSocket 2019-05-23 11:58:50 +00:00
mattias
0a5fe28683 rtl: added GetInterfaceProp, SetInterfaceProp 2019-05-22 12:43:39 +00:00
mattias
87f96a7724 rtl: added SetMethodProp 2019-05-21 15:34:37 +00:00
mattias
c465228571 rtl: added GetMethodProp 2019-05-21 15:12:07 +00:00
michael
c149455dce * Add SetReading 2019-05-11 15:23:50 +00:00
michael
8ec22dc064 * Added SetWriting() 2019-05-11 15:13:37 +00:00
michael
1d83758b3f * Fix Cyrpto.Subtle api 2019-04-23 21:20:07 +00:00
michael
a751522df8 * Add dynamic unit loader and demo 2019-04-12 20:38:40 +00:00
mattias
bbdda51fee rtl: clean up 2019-04-11 10:50:49 +00:00
michael
f2f782f6cc * Overloaded form of _then 2019-04-04 18:35:04 +00:00
michael
20561ff2d9 * Add FileReader class 2019-04-01 08:50:00 +00:00
michael
643fc182b4 * Fix stringreplace with + char. 2019-03-18 11:29:40 +00:00
mattias
33328ecf5a rtl: added TObject.Dispatch and DispatchStr 2019-03-12 12:12:02 +00:00
mattias
66ab817361 rtl: clean up 2019-03-11 10:17:19 +00:00
michael
06ee490db9 * Fix detection of push state api 2019-03-09 20:03:01 +00:00
mattias
5cdcf80eb7 rtl: added overload TryStrToFloat with type extended 2019-03-05 10:58:35 +00:00
mattias
a8430a243b rtl: less hints 2019-03-04 13:52:35 +00:00
mattias
6c0a7e59d1 rtl: clean up 2019-02-26 17:45:43 +00:00
mattias
75bae04c58 rtl: made TValue a record, started TRttiType 2019-02-26 08:32:09 +00:00
mattias
36a5a5a3a9 rtl: added simple TRttiContext to support querying attributes like Delphi 2019-02-24 15:50:11 +00:00
mattias
dcb5c10cac rtl: added TCustomAttribute 2019-02-24 09:45:01 +00:00
mattias
ebdaed7149 rtl: fixed Min/MaxCurrency 2019-02-24 09:43:52 +00:00
michael
e2fba2b61a * Added some missing functions 2019-02-18 12:25:30 +00:00
mattias
509afdceac pas2js_rtl: added files 2019-02-18 08:19:50 +00:00
mattias
1559d1f4b6 rtl: TFormatSettings class constructor 2019-02-17 20:49:59 +00:00
mattias
218736588c rtl: clean up 2019-02-17 20:49:27 +00:00
michael
a0f2fb0a8f * Fix getdelimitedtext, quoting was wrong 2019-02-17 19:27:10 +00:00
michael
d41a04d1a4 * Websvg generated from web SVG IDL 2019-02-17 16:38:51 +00:00
mattias
371dc7c97c rtl: using const to avoid cloning on calls 2019-02-16 08:20:05 +00:00
mattias
ccfc40d11f rtl: less hints 2019-02-15 22:44:49 +00:00
mattias
6daad959fb rtl: added TVarRec and compiler utility function VarRecs 2019-02-15 22:43:18 +00:00
mattias
eff31f67be rtl: fixed AnsiCompareStr 2019-02-15 22:41:33 +00:00
mattias
fb5f97355d rtl: updated isRecord 2019-02-11 15:15:11 +00:00
michael
f1851f5d83 * Add progress element, patch from Silvio Clecio (bug ID 0034975) 2019-02-02 12:07:50 +00:00
mattias
9f11002d42 rtl: clean up 2019-01-30 16:52:56 +00:00
mattias
e86dfef5de rtl: clean up 2019-01-29 12:40:57 +00:00
mattias
731dcd8eb2 rtl: clean up 2019-01-27 22:01:27 +00:00
mattias
01b3be4a07 rtl: added tkHelper 2019-01-27 22:01:14 +00:00
mattias
84e7aa5e90 rtl: changed JSArguments from array to TJSFunctionArguments 2019-01-26 20:12:48 +00:00
mattias
1a3c5c5a48 rtl: added lo, hi for word, smallint, longword, longint 2019-01-24 16:28:21 +00:00
michael
b6eebedfea * Forgot a class 2019-01-14 15:48:02 +00:00
michael
6a47ea6920 * Fix some dependency issues (bug is 34872) 2019-01-14 15:45:45 +00:00
michael
b69e9bbc36 * Patch from Silvio Clecio to add THTMLImageElement 2019-01-13 17:51:46 +00:00
mattias
7b1596cb91 rtl: added typinfo functions for TTypeInfoStruct to access advanced record RTTI 2019-01-07 16:07:42 +00:00
mattias
74b4d41274 rtl: fixed TryStringToGUID for new record var arg 2019-01-07 16:06:53 +00:00
mattias
6244b933ac rtl: cache IObjectInstance as string 2019-01-07 16:05:29 +00:00
mattias
2ed1cff471 rtl: changed Null and Undefined from var to const, issue 34801 2019-01-07 16:03:43 +00:00
mattias
ce1b671e0d webgl: clean up and made TJSWebGLRenderingContextBase a TJSObject 2018-12-23 13:50:42 +00:00
mattias
7a3645e7d4 rtl: fixed pas2js_rtl.lpk building with -Tbrowser 2018-12-23 13:10:58 +00:00
michael
16e88a1a38 * Patch by Silvio Clecio to add TJSHTMLButtonElement and TJSHTMLElement 2018-12-21 17:47:19 +00:00
mattias
5791ba170e rtl: initial Rtti.Invoke(), issue 34710 2018-12-18 23:33:17 +00:00
mattias
ac757558fe rtl: added val(s,bool,code), fixed range check error MinInteger 2018-12-15 11:33:54 +00:00
mattias
1f3e008591 rtl: system val integers support for hexnumbers 2018-12-14 08:44:08 +00:00
michael
0c812655ec Correct XMLHTTPRequest constants 2018-12-08 23:33:07 +00:00
michael
81f641814a * Filename functions as in SysUtils 2018-12-01 18:57:29 +00:00
mattias
bea50b5047 rtl: accelerated StringOf 2018-11-21 08:39:01 +00:00
mattias
5c7c57af41 rtl: added BytesOf and StringOf, issue 34580, from silvioprog 2018-11-21 08:36:51 +00:00
mattias
6b98060678 rtl: fixed compile 2018-11-13 19:03:24 +00:00
mattias
67afd2d765 rtl: simplified FormatNumberCurrency 2018-11-13 14:09:50 +00:00
michael
dbf97bddc2 * Fix FormatNumberCurrency 2018-11-12 20:21:21 +00:00
mattias
a73cf3423a rtl: fixed isNaN for ecmascript6 2018-11-02 22:15:40 +00:00
mattias
23f2598421 rtl: added tjsstring.normalize overload 2018-11-02 22:15:03 +00:00
michael
4bcf9d8eb9 * Fix formatfloat digits after decimalsepararor in case of 0 2018-11-02 09:38:20 +00:00
mattias
d99f435093 rtl: clean up 2018-11-01 15:23:55 +00:00
mattias
5075b5f4d6 rtl: clean up, fixed strtoint $FF 2018-11-01 14:13:49 +00:00