Mattias Gaertner
0a30e6ef26
pastojs: static array: multi dim: const init
...
git-svn-id: trunk@37994 -
2018-01-18 14:36:19 +00:00
Mattias Gaertner
700b2fdb03
pas2js: doc
...
git-svn-id: trunk@37993 -
2018-01-18 12:36:16 +00:00
Mattias Gaertner
e7f6808c9f
pastojs: Assert with EAssertFailed
...
git-svn-id: trunk@37992 -
2018-01-18 12:30:44 +00:00
Mattias Gaertner
8adf783350
fcl-passrc: resolver: store Assert constructor, useanalyzer: mark EAssertFailed
...
git-svn-id: trunk@37991 -
2018-01-18 12:30:11 +00:00
Mattias Gaertner
dad73e69bd
pas2js: set version 0.8.44
...
git-svn-id: trunk@37990 -
2018-01-17 15:54:07 +00:00
Mattias Gaertner
f108ec82a9
fcl-passrc: resolver: started searching assert class
...
git-svn-id: trunk@37989 -
2018-01-17 15:48:54 +00:00
Mattias Gaertner
b53adba12d
pastojs: assert() without sysutils
...
git-svn-id: trunk@37988 -
2018-01-17 15:01:48 +00:00
Mattias Gaertner
e768efdddc
fcl-passrc: comment
...
git-svn-id: trunk@37987 -
2018-01-17 15:01:28 +00:00
Mattias Gaertner
096c386aac
fcl-js: write ?: with empty B and C
...
git-svn-id: trunk@37986 -
2018-01-17 15:01:03 +00:00
Mattias Gaertner
f980a24541
fcl-passrc: resolver $assertions
...
git-svn-id: trunk@37985 -
2018-01-17 14:08:50 +00:00
Mattias Gaertner
8ae94b7a70
fcl-passrc: resolver: assert()
...
git-svn-id: trunk@37984 -
2018-01-17 11:40:53 +00:00
Mattias Gaertner
a2164135f1
pastojs: formatting
...
git-svn-id: trunk@37983 -
2018-01-17 10:57:49 +00:00
Mattias Gaertner
3e82c18a82
pastojs: fixed update dir cache
...
git-svn-id: trunk@37982 -
2018-01-16 23:13:00 +00:00
Mattias Gaertner
c7ea58e86c
fc-passrc: fixed error message on empty file
...
git-svn-id: trunk@37981 -
2018-01-16 23:03:14 +00:00
Mattias Gaertner
204d381337
fcl-passrc: analyzer: check $hints on/off at end of proc
...
git-svn-id: trunk@37980 -
2018-01-15 23:23:38 +00:00
florian
8d52be0d10
* package enabled for embedded-*
...
git-svn-id: trunk@37979 -
2018-01-15 22:03:07 +00:00
svenbarth
ecda183153
* revert r37968: it does more harm than good
...
git-svn-id: trunk@37978 -
2018-01-15 16:41:22 +00:00
Mattias Gaertner
62ae07bdaa
pastojs: version 0.8.43
...
git-svn-id: trunk@37977 -
2018-01-15 11:24:11 +00:00
lacak
ac32de1a69
sql-db: mysql: make MariaDB 10.0, 10.1, 10.2 also alias of MySQL 5.7.
...
As far as there are only very small changes between 10.0, 10.1, 10.2 client api
Bug #32834
git-svn-id: trunk@37976 -
2018-01-15 10:03:36 +00:00
lacak
f51f09414b
fcl-db: mssql: cancel all pending results in case of unpreparation statement and in case dataset is closed.
...
git-svn-id: trunk@37975 -
2018-01-15 09:43:08 +00:00
lacak
d47be9c3f7
fcl-db: sqldb: reverting previous commit 37947.
...
- leave in sqldb.pp ANSI SQL compliant format of datetime literals <unquoted timestamp string> ::= <unquoted date string> <space> <unquoted time string>
- in case of MS SQL there is datetime format affected by SET DATEFORMAT and SET LANGUAGE so here use ISO 8601 format which is unambiguous.
Bug #32979
git-svn-id: trunk@37974 -
2018-01-15 08:45:24 +00:00
Jonas Maebe
a73b723c1d
* when using a dummy file position for an interface wrapper, set
...
the module to the current module. This is required in case of -al,
because when writing source lines to the assembly output the input
file position gets changed. Since the wrappers are generated at the
end of a unit's compilation, that's no problem if that input file
belongs to the current unit. It was hardcoded to the unit with id 1
before though, which is the main unit specified on the command line
and that one could be different (fixes compilation of win32 buildrtl
with -al after r37961)
git-svn-id: trunk@37973 -
2018-01-14 22:06:52 +00:00
svenbarth
d50848174a
+ add putboolean and getboolean convenience methods to tentfile
...
* use putboolean and getboolean where approbiate
git-svn-id: trunk@37972 -
2018-01-14 21:36:02 +00:00
svenbarth
9eb5f07538
* check that the PPU version of a unit loaded for package adjustment matches exactly (we don't accept different versions when loading PPUs normally, so why should we with packages?)
...
git-svn-id: trunk@37971 -
2018-01-14 21:16:37 +00:00
Jonas Maebe
a1df776167
* changed function name emitted for interface wrappers, as otherwise the
...
stabs debug info uses the wrong symbol name (fixes win32 compilation
with stabs after r37961)
git-svn-id: trunk@37970 -
2018-01-14 21:07:41 +00:00
svenbarth
22932493b9
* if the debug info of a parent def is considered as queued then ensure that it is indeed queued (if it should already be in the list then the duplicate entry would have the state written if it's checked and thus ignored)
...
+ added test
git-svn-id: trunk@37969 -
2018-01-14 16:46:10 +00:00
svenbarth
ff44f51292
* generate an internal error to avoid infinite loops if nothing changed during a loop pass to write the debug info of remaining defs
...
git-svn-id: trunk@37968 -
2018-01-14 16:43:46 +00:00
Mattias Gaertner
1d4d34a52e
pas2jslib: added SetPas2JSReadDirCallBack, AddPas2JSDirectoryEntry
...
git-svn-id: trunk@37967 -
2018-01-14 15:45:35 +00:00
michael
56fae4697a
* Accidentally removed keyword virtual from loadfromfile
...
git-svn-id: trunk@37966 -
2018-01-14 11:52:13 +00:00
michael
cbc50c5fe6
* Restore signature of loadfromstream/loadfromfile, make default delphi compatible
...
git-svn-id: trunk@37965 -
2018-01-14 10:11:56 +00:00
florian
5c4b1737c4
* in the generate_code normally imaginary registers are used, so just resize the register to 8 bit, the register allocator takes care of the rest
...
git-svn-id: trunk@37964 -
2018-01-13 22:05:38 +00:00
florian
823c77e6cc
* avoid overflow error in ispowerof2 for -2^bitsize, the routine does not handle negative values
...
git-svn-id: trunk@37963 -
2018-01-13 22:03:29 +00:00
michael
5c1df42fa4
* Fix bug #32871
...
git-svn-id: trunk@37962 -
2018-01-13 18:21:44 +00:00
Jonas Maebe
d35377fdee
* workaround for debug info for interface method wrappers: give them the
...
line number information of the method declaration if it's in the current
unit, and otherwise the first line of the current unit (mantis #14399 )
git-svn-id: trunk@37961 -
2018-01-13 16:54:22 +00:00
Mattias Gaertner
393b74380c
pas2jslib: added readdir callbacks
...
git-svn-id: trunk@37960 -
2018-01-13 14:08:46 +00:00
Mattias Gaertner
38837bde9b
pas2jslib: added readdir callbacks
...
git-svn-id: trunk@37959 -
2018-01-13 13:40:03 +00:00
Mattias Gaertner
4af3029bba
pas2js: callback for read directory
...
git-svn-id: trunk@37958 -
2018-01-13 13:02:23 +00:00
Mattias Gaertner
42ce6db215
pastojs: platform independent globbing
...
git-svn-id: trunk@37957 -
2018-01-13 12:37:01 +00:00
Mattias Gaertner
cb2101388d
pastojs: added cache for directories
...
git-svn-id: trunk@37956 -
2018-01-13 11:39:07 +00:00
michael
f455b6f4df
* Made FindMatchesBoyerMoore a function, returns true if matches are found (Bug ID 32928)
...
git-svn-id: trunk@37955 -
2018-01-13 11:07:28 +00:00
michael
f6a08a2c74
* Patch from Ondrej Pokorny to allow correct nodefault/stored for strings
...
git-svn-id: trunk@37954 -
2018-01-13 10:22:16 +00:00
michael
29badfe5af
* Patch from Martok to allow unregistering image handlers (Bug ID 32973)
...
git-svn-id: trunk@37953 -
2018-01-13 10:04:41 +00:00
michael
b4375fd37a
* Fix bug ID #33012 (duplicate module), patch from Sven Barth
...
git-svn-id: trunk@37952 -
2018-01-13 10:01:10 +00:00
michael
f930d186f0
* Patch from Ondrej Pokorny to set prepared in Prepare (bug ID 33010)
...
git-svn-id: trunk@37951 -
2018-01-13 09:57:30 +00:00
florian
4a98fcb9d3
* patch by J. Gareth Moreton: reorganises the produced machine code for large unsigned divisions, resolves #32984
...
git-svn-id: trunk@37950 -
2018-01-12 22:03:52 +00:00
svenbarth
16fb199902
* allow port to be specified on command line
...
* use a standard port as default
git-svn-id: trunk@37949 -
2018-01-12 16:14:25 +00:00
svenbarth
84632a39e0
+ add a variant of the echo example based on FPC's HTTP server
...
git-svn-id: trunk@37948 -
2018-01-12 16:01:58 +00:00
lacak
a4354e3801
fcl-db: sqldb: use ISO-8601 format for DateTime literals, which is not locale dependant and supported by PostgreSQL,MSSQL,MySQL,Sqlite. Bug #32979
...
git-svn-id: trunk@37947 -
2018-01-12 14:08:33 +00:00
florian
52aa40c3b0
* remove explicit cast to int64 to avoid an internalerror 200706094, resolves #33004
...
git-svn-id: trunk@37946 -
2018-01-11 21:02:39 +00:00
florian
1a69c49e81
* fix range check errors by explicit casts
...
git-svn-id: trunk@37945 -
2018-01-11 21:00:18 +00:00