pierre
af03c0208b
Use tcgint typecast instead of aint, as it is the type of the second parameter of loadconst taicpu method
...
git-svn-id: trunk@42281 -
2019-06-25 04:24:56 +00:00
michael
4cd5a72d13
* Fix Bug ID #35759
...
git-svn-id: trunk@42280 -
2019-06-24 10:42:37 +00:00
michael
16b827aa88
* Allow using of connection charset if none is specified at DB level (bug ID 35755)
...
git-svn-id: trunk@42279 -
2019-06-24 07:51:45 +00:00
michael
73b365cd30
* Smarter handling of DispatchOptions options
...
git-svn-id: trunk@42278 -
2019-06-24 07:22:02 +00:00
michael
abf6c99304
* Correctly handle use in restmodule: use pathinfo to configure dispatcher
...
git-svn-id: trunk@42277 -
2019-06-24 07:18:34 +00:00
lacak
f53878c0db
fcl-db: sqldb: add connection charset aliases "win1250" (Firebird) and "cp1250" (MySQL) (although unicode is preferred nowadays and these SBCS are just a remnant of the past)
...
git-svn-id: trunk@42276 -
2019-06-23 18:02:38 +00:00
Jonas Maebe
c038e4c3f2
* relaxation of r42272: again only show warnings rather than errors for
...
out-of-range constants, because of the comments mentioned in #35753
(except for enums, as apparently Delphi does the same)
* added range check warnings about explicit type casts that throw away
bits (e.g. byte($fff)), without giving warnings for most common cases
(like cardinal(-1))
* fixed masking/sign exting constant array indices (must be based on index
range type size/signedness rather than on array size/"signedness")
git-svn-id: trunk@42275 -
2019-06-23 14:12:33 +00:00
Jonas Maebe
b1a41aa5b8
* fixed NR_INVALID declaration
...
git-svn-id: trunk@42274 -
2019-06-23 14:12:28 +00:00
michael
28b87bed39
* Fix setusessl
...
git-svn-id: trunk@42273 -
2019-06-22 22:38:02 +00:00
Jonas Maebe
3a2fe24f49
* report range errors for assigning out-of-range constants to enums in
...
Delphi mode (mantis #35671 )
* always give an error (rather than only a warning in case range checking
is disabled) when assigning an out-of-range constant to an ordinal variable
whose type does not span the entire range that its bits can hold (because
the result is undefined and FPC's optimisers rely on variables only
holding values that are valid for the type)
git-svn-id: trunk@42272 -
2019-06-22 17:30:42 +00:00
pierre
243c967967
Commit of new debug feature implemented by J. Gareth Moreton
...
Allows compilation of compiler using -dDEBUG_NODE_XML
which will generate a NAME-node-dump.xml file for each
unit, program or library compiled,
containing a XML description of the nodes handled during
compilation of the unit, program or library.
git-svn-id: trunk@42271 -
2019-06-22 14:08:47 +00:00
michael
c22982383f
* Fix parsing of command-line in ParseSource
...
git-svn-id: trunk@42270 -
2019-06-22 14:01:06 +00:00
michael
bf54543518
* Add SplitCommandLine
...
git-svn-id: trunk@42269 -
2019-06-22 13:37:47 +00:00
Jonas Maebe
fb387da807
* use variables of correct size with movd (test checks whether movd only
...
reads 32 bit even when destination is xmm register) (mantis #35701 ,
as noted by J. Gareth Moreton)
git-svn-id: trunk@42268 -
2019-06-22 13:31:02 +00:00
michael
67172ef705
* Correct autoincrement handling
...
git-svn-id: trunk@42267 -
2019-06-22 08:22:30 +00:00
michael
01e5861255
* Make sure output contains something in case of empty dataset
...
git-svn-id: trunk@42266 -
2019-06-22 08:19:16 +00:00
michael
ba1fb2c0cf
* Unregister routes
...
git-svn-id: trunk@42265 -
2019-06-22 07:44:18 +00:00
michael
961b27b4a7
* Add RoutesRegistered property to TSQLDBRestBridge
...
git-svn-id: trunk@42264 -
2019-06-22 07:33:49 +00:00
michael
4cb612252a
* Correct registration of metadata resource in case rdoConnectionInURL is specified
...
git-svn-id: trunk@42263 -
2019-06-22 07:29:34 +00:00
michael
ce528e1808
* Make sure error content is sent
...
git-svn-id: trunk@42262 -
2019-06-22 07:16:19 +00:00
marcus
2651f867e8
MorphOS: overloads for Get/SetRGB32 to be compatible with other Amiga flavours
...
OS4: Missing forward declaration
git-svn-id: trunk@42261 -
2019-06-21 18:07:39 +00:00
Jonas Maebe
ee1be45df9
* reintegrated debug_eh branch
...
o the LLVM compiler is now functional for Darwin/x86-64, and also (but less
tested) for Linux/x86-64, Linux/AArch64 and Linux/ARMHF. See
https://wiki.freepascal.org/LLVM for details and the current state
o Dwarf-eh-based "zero-cost" exceptions are available with the regular
code generators for Linux/x86-64 and Linux/i386 if the compiler is
compiled with -dpsabieh
git-svn-id: trunk@42260 -
2019-06-21 16:56:44 +00:00
Jonas Maebe
b08b6a17bd
* synchronised with trunk till r42258
...
git-svn-id: branches/debug_eh@42259 -
2019-06-20 20:57:37 +00:00
Mattias Gaertner
b9c16b98d1
pastojs: fixed pas2jsfiler
...
git-svn-id: trunk@42258 -
2019-06-20 20:38:53 +00:00
Jonas Maebe
c262c5dbc9
* synchronised with trunk till r42256
...
git-svn-id: branches/debug_eh@42257 -
2019-06-20 17:21:34 +00:00
florian
b71164deca
* fix warnings
...
git-svn-id: branches/debug_eh@42256 -
2019-06-20 17:13:59 +00:00
florian
1ed0000ae8
+ Encode(U/S)leb128 take now a third parameter to force that the constant has a certain minimum size
...
+ tai_const has a new field fixed_size which is used to fix the size of an s/uleb128. This is needed to ensure convergence during assembling when calculating offsets
git-svn-id: branches/debug_eh@42255 -
2019-06-20 17:13:28 +00:00
florian
adb8e1b76c
* fix writing of augmentation size
...
git-svn-id: branches/debug_eh@42254 -
2019-06-20 15:33:49 +00:00
florian
e4f821487d
* write correct s/uleb types
...
git-svn-id: branches/debug_eh@42253 -
2019-06-20 15:30:07 +00:00
Mattias Gaertner
783505b4d7
fcl-passrc: starting test generics
...
git-svn-id: trunk@42252 -
2019-06-20 08:47:30 +00:00
Mattias Gaertner
fb29815fbf
fcl-passrc: fixed parsing objfpc inline specialize
...
git-svn-id: trunk@42251 -
2019-06-20 08:47:04 +00:00
michael
6c1593652b
* Patch from Ondrej Pokorny to support streaming to position 0 (bug ID 35724)
...
git-svn-id: trunk@42250 -
2019-06-19 12:24:59 +00:00
michael
024714fa20
* Fix non-threading platforms
...
git-svn-id: trunk@42249 -
2019-06-19 08:10:26 +00:00
michael
ade808cb43
* Patch from Pascal Riekenberg to make component loading thread safe (bug ID 35638)
...
git-svn-id: trunk@42248 -
2019-06-19 06:25:02 +00:00
michael
db2c9183f1
* Fix bug ID #35731 (ReadSectionRaw needs to read comments)
...
git-svn-id: trunk@42247 -
2019-06-19 06:12:15 +00:00
Jonas Maebe
d6174499b1
* disable array and record regvars for all cpuhighleveltarget platforms
...
git-svn-id: trunk@42246 -
2019-06-18 19:16:33 +00:00
svenbarth
cc5549f3e7
* change Value argument of SetToString and result of of StringToSet from Integer to LongInt so that small sets are handled on 8/16-bit platforms as they are on 32- and 64-bit
...
git-svn-id: trunk@42245 -
2019-06-17 20:48:58 +00:00
svenbarth
15d0deff81
* fix SetToString/StringToSet for 8/16-bit platforms
...
git-svn-id: trunk@42244 -
2019-06-17 20:48:49 +00:00
Károly Balogh
25878f9eb2
put #ifdef TARGETOS / #endif around the gcclib section, otherwise the various host paths can cause a hard to debug mess during crosscompiling in some cases
...
git-svn-id: trunk@42243 -
2019-06-17 20:19:48 +00:00
nickysn
5d4af28c0f
+ implemented TOmfRecord_COMENT_IMPDEF.DecodeFrom
...
git-svn-id: trunk@42242 -
2019-06-17 01:53:38 +00:00
florian
d80dc03ccb
* building on powerpc and arm fixed
...
git-svn-id: trunk@42241 -
2019-06-16 21:43:46 +00:00
svenbarth
89e454aca8
* rework/extend SetToString/StringToSet so that sets with a size > 4 can be converted as well (this is Delphi compatible)
...
+ added test
git-svn-id: trunk@42240 -
2019-06-16 21:36:25 +00:00
florian
749c4d4e47
+ keep (certain) arrays in registers if they are used with constants indices only
...
git-svn-id: trunk@42239 -
2019-06-16 21:29:48 +00:00
nickysn
fbbf1f4f1c
+ Implemented TOmfRecord_COMENT_EXPDEF.DecodeFrom
...
git-svn-id: trunk@42238 -
2019-06-15 22:14:09 +00:00
nickysn
cbf95aebf4
+ introduced the TOmfRecord_COMENT_EXPDEF class. Use that to generate export
...
libraries instead of generating the magic string directly.
git-svn-id: trunk@42237 -
2019-06-15 00:30:07 +00:00
nickysn
eea3eb1a8e
+ introduced the TOmfRecord_COMENT_IMPDEF class. Use it to encode the IMPDEF
...
records instead of encoding them directly.
git-svn-id: trunk@42236 -
2019-06-14 23:50:48 +00:00
nickysn
85684eb66d
+ introduced the TOmfRecord_COMENT_Subtype abstract class
...
git-svn-id: trunk@42235 -
2019-06-14 23:26:37 +00:00
nickysn
9fe80d7416
+ use the new CC_OmfExtension_IMPDEF constant instead of the direct magic value
...
when writing IMPDEF records
git-svn-id: trunk@42234 -
2019-06-14 23:11:25 +00:00
nickysn
4f3a5cfd1e
+ use the new CC_OmfExtension_EXPDEF constant instead of the direct magic value
...
when writing export libraries
git-svn-id: trunk@42233 -
2019-06-14 23:10:38 +00:00
nickysn
0db19546ef
+ dispatch the IMPDEF and EXPDEF records to the newly introduced ReadImpDef and
...
ReadExpDef methods (not implemented yet)
git-svn-id: trunk@42232 -
2019-06-14 23:06:58 +00:00