Commit Graph

1213 Commits

Author SHA1 Message Date
michael
4dad417429 * Add indexing 2018-12-26 18:57:08 +00:00
michael
8de41029b1 * Remove some debug statements 2018-12-25 11:26:51 +00:00
michael
7f311b408c * Implement FieldValues, Locate, Lookup and lookup fields (no cache yet) 2018-12-25 11:11:49 +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
2905e30982 * Removed some comments 2018-12-23 11:37:56 +00:00
michael
b8e3bcccaf * Add Data Abstract classes and demo (read-only for the moment) 2018-12-23 11:16:40 +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
69f85aaa96 * Fix from Wagner Landgraf to fix missing data events 2018-12-05 14:14:38 +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
mattias
55ac9ab11e rtl: fixed val(hexnumber,nativeint,code) 2018-11-01 13:01:17 +00:00
mattias
52ade4b10c rtl: added TJSError.Stack and Exception.NodeJSError 2018-11-01 10:35:22 +00:00
mattias
75d705cf92 nodejs: clean up 2018-10-31 22:59:14 +00:00
mattias
c076afa3aa nodejs: comments 2018-10-31 13:56:52 +00:00
mattias
79297ed7c1 rt: clean up 2018-10-31 13:28:46 +00:00
mattias
72f17cf5f2 rtl: nodejs findfirst/next/close 2018-10-31 12:11:18 +00:00
michael
e319c9723c * Add Screen definition 2018-10-31 11:53:09 +00:00
mattias
61b2aeb3fe nodejs: fixed typo 2018-10-30 23:17:05 +00:00
mattias
658876f00d nodejs: added fs as NJS_FS:TNJSFS and path as NJS_Path: TNJSPath 2018-10-30 23:14:56 +00:00
mattias
c2de3046cf rtl: added exception classes EStreamError, EFCreateError and friends 2018-10-30 23:13:14 +00:00
mattias
0081d299e2 rtl: fixed typo 2018-10-30 23:12:38 +00:00
mattias
796b00d27f rtl: nodejs: added TNJSOS 2018-10-30 23:12:26 +00:00
mattias
f3db818bb3 rtl: changed LineEnding to a variable, it is determined at runtime 2018-10-30 23:11:56 +00:00
mattias
fe82a58da2 rtl: fixed IsInfinite 2018-10-29 18:17:44 +00:00
mattias
da901ab750 rtl: clean up 2018-10-28 18:29:27 +00:00
michael
8744cbe84f * Fix formatfloat rounding 2018-10-27 10:56:15 +00:00
mattias
972afa471d started nodejsfs 2018-10-25 16:08:07 +00:00
mattias
0e923963eb rtl: added ovrloads Min/Max 2018-10-25 15:42:06 +00:00
mattias
4490c59bca rtl: fixed function result Min/Max(nativelargeint) from double to nativelargeint 2018-10-25 11:13:35 +00:00
mattias
8fe2017c52 rtl: changed PI to const 2018-10-22 09:07:20 +00:00
michael
fd98459d58 * Fix stringofchar for count<=0 2018-10-17 21:36:40 +00:00
michael
0f607847a6 * Fix int not working on IE 2018-10-17 07:49:17 +00:00
mattias
e16c97b01f rtl: StringOfChar: use repeat if available 2018-10-16 10:42:14 +00:00
mattias
73eff95a11 rtl: added val(string;out nativeuint;out integer) 2018-10-16 10:24:03 +00:00
mattias
8e84c3d709 sysutils: added function DeQuoteString 2018-10-13 22:21:22 +00:00
mattias
aabb2c66cf rtl: typinfo: added GetEnumName, GetEnumValue, GetEnumNameCount 2018-10-07 21:01:00 +00:00
michael
abceaab919 * Refactored and improved class2pas 2018-10-06 12:36:34 +00:00
michael
9439a02b76 * Add Value to TJSIDBCursor 2018-08-27 12:00:47 +00:00
michael
5b3bc69a41 * Fix quotestring and add quotedstr 2018-08-10 07:19:14 +00:00
michael
30d57e270c * Remove offset in field, fix warning 2018-07-19 12:54:50 +00:00
michael
53a3015923 * Change OnApplyUpdates to be more future proof. 2018-07-19 07:07:35 +00:00
michael
00300a800d * Change AfterApplyUpdates so it gets all resolveinfo from the batch 2018-07-18 07:25:52 +00:00
michael
6adedb6ade * Enable calculated Fields support 2018-07-17 07:53:30 +00:00
michael
ffc2238def * Avoid extra load at EOF if no pages are used 2018-07-17 07:52:46 +00:00
mattias
e3e8ff02b2 rtl: web: fixed typo 2018-07-13 13:50:55 +00:00
mattias
949b1daf26 rtl: typinfo GetPropList 2018-07-11 23:04:37 +00:00
mattias
55ecc09268 rtl: GetPropInfos: fixed duplicates 2018-07-11 22:27:54 +00:00
mattias
97cb60459e rtl: changed TGUIDString to type string 2018-07-07 19:58:08 +00:00
michael
73c710e93c * Fix hint about hding inerited constructor 2018-07-05 11:30:20 +00:00
michael
dbfbadb3f2 * Component class 2018-07-05 11:29:58 +00:00
michael
ad62d86c9b * Reset update desriptor if it failed in current batch. 2018-07-02 08:23:36 +00:00
michael
04fdabce10 * Add mechanism to get pending updates info 2018-07-01 15:51:27 +00:00
michael
801f362c24 + Timer component by warleyalex 2018-06-30 16:31:32 +00:00
michael
ec92165146 * Added websocket definition 2018-06-30 08:50:10 +00:00
michael
d963787f7f * Added MutationObserver declaration 2018-06-30 08:33:43 +00:00
mattias
9636f88afa rtl: typinfo: GetOrdProp/SetOrdProp for tkSet 2018-06-25 11:51:32 +00:00
michael
cff1e9dde9 * Moved TDateTime/TTime/TDate to system unit 2018-06-25 07:11:12 +00:00
michael
5113c4f198 * Support OldValue 2018-06-23 17:08:56 +00:00
michael
431727c61e * Added ftDataset field type 2018-06-23 16:40:28 +00:00
michael
8bb4d30b8f * Added webbluetooth unit 2018-06-23 16:27:19 +00:00
mattias
5964333408 rtl: typinfo: added GetEnumProp, SetEnumProp, GetSetProp, SetSetProp 2018-06-23 14:51:06 +00:00
michael
0d764b00cc * Auto-generate webgl.pas webaudio.pas from .idl files 2018-06-23 13:37:25 +00:00
mattias
8bda483894 rtl: added JSDelete 2018-06-14 13:54:31 +00:00
mattias
d8e91fc412 rtl: fixed unit path 2018-06-14 13:53:59 +00:00
mattias
03ea3d5f5e rtl: type alias TDateTime, TDate, TTime, Int64, SIngle, Comp, Real, Extended, UnicodeString, WideString 2018-06-14 13:21:42 +00:00
michael
029e1cbbff * Added getModifierState 2018-06-11 04:55:46 +00:00
mattias
f76a76e2e3 lpk: fixed opening in 1.8 2018-06-07 16:50:59 +00:00
michael
355818cd00 * Added IInterface to TComponent 2018-06-06 13:43:06 +00:00
michael
17ff9cfaf5 * Added interfacedobject 2018-06-06 12:15:47 +00:00
mattias
d3e2e69826 typinfo: added GetStrProp, SetStrProp, GetOrdProp, SetStrProp 2018-06-05 22:17:12 +00:00
mattias
e0130a63e0 rtl: added TJSUInt32List 2018-05-28 20:23:36 +00:00
mattias
170e17c7e3 rtl: added UnicodeChar=char 2018-05-28 06:23:07 +00:00
mattias
8d671796a2 rtl: fixed TJSArray and typed array length and index types to nativeint 2018-05-19 18:00:52 +00:00
mattias
79e513a16f fcl: less hints 2018-05-17 13:22:48 +00:00
mattias
9ecd3f5c46 rtl: less hints 2018-05-17 13:11:19 +00:00
mattias
44537c3198 rtl: fixed webgl.pas 2018-05-16 10:45:48 +00:00
michael
19c70fdcad * Added HTMLScriptElement 2018-05-16 07:18:29 +00:00
michael
0f5ce3c78c * Added requestAnimationFrame 2018-05-16 07:06:16 +00:00
mattias
1b5bb6fdae rtl: less hints 2018-05-13 11:48:25 +00:00
michael
999d205768 * Added _set overloads to typed arrays 2018-05-12 08:38:07 +00:00
michael
55f562727b * Remove duplicate definitions of TJSBufferSource and TJSTypedArray 2018-05-11 09:03:05 +00:00
michael
0eae7aed52 * Fix some problems with typed array (_ not setting name, case sensitivity of native names) 2018-05-11 08:23:09 +00:00
michael
6bf2506960 * Fix getrecno, needs a 1-based number 2018-05-10 10:41:06 +00:00
michael
c4206f6d97 * Add constructors and typed class calls to Array classes 2018-05-10 09:52:19 +00:00
michael
7617a9ce1d * Patch from WarleyAlex to add HTMLTable elements 2018-05-10 09:51:46 +00:00
mattias
ed552d5c67 rtl: fixate IUnknown to style COM 2018-05-10 08:01:38 +00:00
mattias
719f42195e lpk: test compile to single js file 2018-05-08 15:47:04 +00:00
mattias
f68fa0f34b rtl: made Nan const 2018-05-02 07:34:58 +00:00
mattias
d03983b70e rtl: shortened TFPCustomHashTable.ChangeTableSize 2018-05-02 07:34:25 +00:00
mattias
38ebbaabed rtl: less hints 2018-05-02 06:15:33 +00:00
mattias
8fc505f54d rtl: less hints 2018-05-01 22:20:40 +00:00
mattias
7d36bee9b7 rtl: pas2js_rtl.lpk: test command creates only one js file in lib/ 2018-05-01 22:20:32 +00:00
michael
c26f48ec26 * Fixed wrong name for TJSWebGLBuffer 2018-05-01 14:54:51 +00:00
michael
d1939e0be2 * Added webgl unit to package 2018-05-01 12:41:51 +00:00
michael
62a7354a77 * Added webgl import unit 2018-05-01 12:36:26 +00:00
michael
016fb2628e * Fixed StrokeStyle typo 2018-05-01 09:51:29 +00:00
mattias
2acf5c93dd rtl: less hints 2018-04-27 08:37:34 +00:00
mattias
f6cee08d5d rtl: HexStr nativeint 2018-04-27 08:36:16 +00:00
mattias
77ee122422 rtl: added HexStr 2018-04-26 08:13:24 +00:00
mattias
78d46bc7ce rtl: overload new() 2018-04-25 00:21:29 +00:00
mattias
ce883581ac rtl: GUIDToString simplified 2018-04-25 00:21:05 +00:00
mattias
3f0b7322ad rtl: note about currency 2018-04-22 11:39:32 +00:00
mattias
a95188db36 rtl: removed currency alias 2018-04-22 11:21:52 +00:00
michael
261cf413ad * Support for currency formatting. Currency type is a double 2018-04-21 09:17:29 +00:00
michael
5dc2adc79f * Fix recno calculation 2018-04-21 07:54:20 +00:00
michael
2cd1d5909a * Initialize next buffers when increasing buffer size 2018-04-21 07:54:00 +00:00
mattias
30fed36605 rtl: added rtti.pas with TVirtualInterface 2018-04-21 06:14:52 +00:00
michael
691d3d8bdc * Patch from mattias to handle GUID as record 2018-04-21 05:52:56 +00:00
michael
edd010c1bc * Add optional start index for Pos() 2018-04-12 18:29:11 +00:00
michael
8e325e7c49 * Fix floattostr in case decimalseparator differs from point 2018-04-11 07:13:59 +00:00
michael
a75ff377bd * Additions from Mattias for interface support 2018-04-07 13:02:57 +00:00
michael
27e3e726ea * Fix case where active record is outside buffer range when buffer count is reduced 2018-04-02 10:45:33 +00:00
michael
604e56270b * Added AddPair 2018-03-27 11:48:15 +00:00
michael
b7e3150635 * Remove some duplicates 2018-03-22 13:17:00 +00:00
michael
75c570f2b2 * Fix Modified setting 2018-03-19 13:33:16 +00:00
michael
2f71f38f31 * Fix duplicate implementations 2018-03-19 13:26:30 +00:00
michael
f607b048ad * Fix GetFieldData for other buffers than the edit buffer 2018-03-18 18:25:16 +00:00
michael
7a02179405 * Implement BookmarkValid 2018-03-15 14:01:36 +00:00
michael
47aa8d9351 * Compiler can now handle initialized arrays with enums (patch from Mattias) 2018-03-09 12:36:40 +00:00
michael
c84cab9d4a * Removed double identifier forward declarations 2018-03-06 14:34:34 +00:00
michael
2c0f7fe9bc * Add overloads for group, groupcollapsed and table calls for console object 2018-03-05 08:41:49 +00:00
michael
4fbdabdc91 * Add TFormatSettings class to ease porting FPC/Delphi code, patch from Bruno Fierens 2018-03-05 08:02:17 +00:00
michael
9e086a3de8 * Fix position after Insert 2018-02-12 08:14:36 +00:00
michael
0dcbd253fa * Fix falsely added duplicate methods in commit 47 2018-02-12 07:59:34 +00:00
michael
433b905142 * Do not use specialized Date/Time fields by default 2018-02-11 22:39:16 +00:00
michael
38f9b72225 * Move published properties to new class TJSONDataset 2018-02-11 21:06:25 +00:00
michael
a3ea761606 * Array length is read-write 2018-02-11 21:00:42 +00:00
michael
787af42a56 * Fix bookmark handling, basic infrastructure for local indexes 2018-02-11 15:56:04 +00:00
michael
eb11d23de7 * Remove some debug statements 2018-02-11 15:55:05 +00:00
michael
959ef209da * Fix delete (Second fix is needed to make sure bookmarks are still correct after deleting) 2018-02-10 21:51:25 +00:00
michael
66ceb76a2c * Correctly initialize AddToChangeList to Nil 2018-02-10 21:09:05 +00:00
michael
14e0b3dff7 * Fix cancel 2018-02-10 20:50:08 +00:00
michael
53c1915185 * Fix AV in case there is no changelist (local dataset) 2018-02-10 20:49:48 +00:00
michael
8c3c8022c9 * Better comments for toNNN functions, changed toInteger to return 0 if the value is not an integer 2018-02-10 14:12:31 +00:00
michael
f61bb3e843 * Add some toNNN functions 2018-02-10 12:21:12 +00:00
michael
5b1f8f55dc * Fix changed TJSJON.Parse definition 2018-02-10 12:20:54 +00:00
michael
8082c6993e * TJSJSON.Parse must return a JSValue, JSON spec was amended (https://tools.ietf.org/html/rfc7159) 2018-02-08 20:28:36 +00:00
michael
c9c60fe061 * Corrected promise object, added examples 2018-02-04 16:41:39 +00:00
michael
0b9ba8f128 * fix missing semilcolon now being caught by compiler 2018-01-31 14:20:22 +00:00
michael
fbbb273a36 * Workaround for compiler bug (not recognizing implicit function calls), fix missing semilcolon now being caught by compiler 2018-01-31 14:19:54 +00:00
michael
896cbe119e * Webrouter unit 2018-01-29 19:57:11 +00:00
michael
a50c08f7fa * Add missing semicolon, detected after bugfix in compiler 2018-01-29 18:38:02 +00:00
michael
0daa2404ea * trunc now dynamically creates Math.trunc on IE 2018-01-29 13:46:05 +00:00
michael
e24a9c6b04 * Add extjsdataset 2018-01-20 14:17:14 +00:00
michael
3dac9ac047 * Extract ExtJS Dataset from jsondataset 2018-01-20 14:16:07 +00:00
michael
f13f7c6167 * Metadata and rows are raw JSON object, freeandnil will not work 2018-01-20 14:10:43 +00:00
michael
6f51b33077 * Clean up of initialization section, patch from Mattias Gaertner. 2018-01-18 14:23:03 +00:00
michael
4860a47620 * Make RTL package like any other 2017-12-28 10:01:55 +00:00
michael
6a5321c1fb * Restructure, phase 1 2017-12-27 12:29:00 +00:00