Commit Graph

37230 Commits

Author SHA1 Message Date
Jonas Maebe
ab914a8ae3 * the code page of unicodestring/widestring on big endian targets is
UTF-16BE, not UTF-16LE

git-svn-id: trunk@21255 -
2012-05-08 13:38:16 +00:00
joost
67ab61dcc8 * Moved .ReadOnly property from TSQLQuery to TBufDataset
git-svn-id: trunk@21254 -
2012-05-08 12:21:50 +00:00
joost
e2d43a63b2 * Added Lazarus gui-frontend for db unit-tests.
git-svn-id: trunk@21253 -
2012-05-08 10:22:39 +00:00
joost
a5bfcb026d * Fixed case-insensitive filtering on filters like *blah*
git-svn-id: trunk@21252 -
2012-05-08 09:33:21 +00:00
svenbarth
5b1b194b47 * pdecvar.pas, read_record_fields: don't generate BSS-data for generic static fields (doesn't fix any specific bug, but we don't need space reserved for the field)
* pgenutil.pas, generate_specialization: fix a stupid "don't iterate upwards if deleting/extracting" mistake (twice!); this fixes Mantis #21550 and Mantis #21654 (tests added)

git-svn-id: trunk@21251 -
2012-05-08 07:31:37 +00:00
Jonas Maebe
f8c815b3db * print expected output when an error occurs, rather than two times the
actual output

git-svn-id: trunk@21250 -
2012-05-07 12:55:57 +00:00
marco
2661bd406c * Patch to correct parameter types in IDropSource by Cobines, mantis #21971
git-svn-id: trunk@21249 -
2012-05-07 06:52:28 +00:00
Jonas Maebe
64f3ba3299 * clarified description of -Xd, it is not always required for
cross-compiling (mantis #21963)

git-svn-id: trunk@21248 -
2012-05-06 15:44:52 +00:00
Jonas Maebe
50d2fa7134 * after changing a modeswitch, only change related module/localswitches that
depend on the modeswitch that was just changed (so that e.g. changing
    the nested procvars setting has no effect on the state of $h+/$h-)
    (mantis #21951)

git-svn-id: trunk@21247 -
2012-05-06 14:56:49 +00:00
Jonas Maebe
9568693664 * removed superfluous sign extension from a_load_subsetreg_reg() (the value
is already sign extended at that point if required)

git-svn-id: trunk@21246 -
2012-05-06 14:50:38 +00:00
michael
82cf4cd89a * Default Modulename can be set
git-svn-id: trunk@21245 -
2012-05-06 07:59:28 +00:00
marco
e1283a3e0e * handle milliseconds in IB timestamps, patch by Zipfelvo, improved by Lacak2.
Mantis #17199

git-svn-id: trunk@21244 -
2012-05-05 22:19:25 +00:00
marco
a0becaa727 * fix size of pthread_rwlock_t. Mantis #21552 Fields are now opaque.
git-svn-id: trunk@21243 -
2012-05-05 22:04:08 +00:00
marco
9e03a58c3d * Patch to implement TSQLite3ConnectionDef from Silvio Clecio, Mantis #21930
git-svn-id: trunk@21242 -
2012-05-05 20:37:31 +00:00
marco
4edd31b41e * helper procedure to calc min/max of a spline. Mantis #19669, Patch by A. Klenin.
git-svn-id: trunk@21241 -
2012-05-05 20:20:43 +00:00
marco
4a782b1411 * tcflow and tcsendbreak fix for open/net
git-svn-id: trunk@21240 -
2012-05-05 20:15:43 +00:00
florian
6b8f452804 * get_frame_*/get_caller_* does not work yet on MIPS
git-svn-id: trunk@21239 -
2012-05-05 18:35:22 +00:00
florian
edbb826521 * generate correct entry code on mips for subroutines with a stack frame >2^15-1
git-svn-id: trunk@21238 -
2012-05-05 18:34:31 +00:00
florian
5cfc865889 * version update
git-svn-id: trunk@21237 -
2012-05-05 18:33:15 +00:00
florian
69ce5fa66b * patch by Max Nazhalov to improve real2str performance, resolves #21825
git-svn-id: trunk@21236 -
2012-05-05 18:29:32 +00:00
marco
0584cfe9d5 * improve tcflow
git-svn-id: trunk@21234 -
2012-05-05 15:18:50 +00:00
marco
833318e6fb * Improved tcsendbreak
git-svn-id: trunk@21233 -
2012-05-05 15:10:10 +00:00
marco
2213b67134 * fix Mantis #21665 for net/free/openbsd
git-svn-id: trunk@21232 -
2012-05-05 15:03:12 +00:00
marco
6f0861e666 * Applied patch from Ludo Brands wrt constant used in termio.TCFlush.
Mantis #21665, but that remains open because it must be investigated
   for other oses too.

git-svn-id: trunk@21231 -
2012-05-05 14:48:49 +00:00
michael
87d3a48174 * Run test decorators when picking single tests below a testdecorator
git-svn-id: trunk@21230 -
2012-05-05 10:52:03 +00:00
florian
77ae218556 * safer calculation of pool placement on arm
git-svn-id: trunk@21226 -
2012-05-04 19:10:30 +00:00
Marc Weustink
f4874e4d9c open lookup dataset before checking lookup fields (delphi compat)
git-svn-id: trunk@21224 -
2012-05-04 13:28:25 +00:00
paul
aad9294c27 compiler: when explicit codepage modeswitch is installed and compiler has no codepage map for the DefaultSystemCodepage use default compiler codepage
git-svn-id: trunk@21223 -
2012-05-04 06:09:35 +00:00
sergei
78c0215447 Preparations to native threadvar support:
- i386/cgcpu.pas: removed segment check, rejecting references with segment here is too early. These references are passed to tcgx86.a_loadaddr_ref_reg, which can generate required code for them (or reject if they are not allowed for the target).
- ncgld.pas: removed "not tf_section_threadvars in target_info" condition, it is inverse to one on the following line, making non-generic branch impossible to execute.
+ Define FPC_SECTION_THREADVARS macro if corresponding flag is set for the target.

git-svn-id: trunk@21210 -
2012-05-03 16:26:44 +00:00
Jonas Maebe
0841ee6e4f * GNU ld only supports double quotes in its response file -> requote there
as well under Unix (mantis #21928, caused by r21069)

git-svn-id: trunk@21208 -
2012-05-03 12:41:16 +00:00
paul
923e939170 tests: use known to compiler codepage since it crashes in other case
git-svn-id: trunk@21206 -
2012-05-03 07:03:19 +00:00
paul
098227a9a0 tests: mark test as should fail
git-svn-id: trunk@21205 -
2012-05-03 06:47:42 +00:00
svenbarth
3d6e08ed59 + Add support for the JVM architecture to the compiler driver "fpc"
git-svn-id: trunk@21204 -
2012-05-03 06:26:30 +00:00
svenbarth
7ebbebc877 - removed a duplicated include statement
git-svn-id: trunk@21203 -
2012-05-03 06:24:52 +00:00
paul
a70eb8ae0e test: fix typo
git-svn-id: trunk@21202 -
2012-05-03 06:10:17 +00:00
paul
9127442c97 tests: fix test for systems with WideString=UnicodeString
git-svn-id: trunk@21201 -
2012-05-03 03:32:36 +00:00
marco
87e010462b * Mantis #21922, improve testsuite for bufdatasets.
Joint patch of Lacak2, Ludo Brands & Reinier Olislagers 

git-svn-id: trunk@21200 -
2012-05-02 20:46:26 +00:00
marco
614a192d87 * Improved comments in toolsunit. Mantis #21910, patch by Reinier Olislagers
git-svn-id: trunk@21199 -
2012-05-02 20:42:39 +00:00
marco
1f4676a3f9 * fix for mantis #21919, rebuild indexes after loadrecordsfromfile, Mantis #21919 patch by Lacak2.
git-svn-id: trunk@21198 -
2012-05-02 20:15:09 +00:00
marco
7d49788693 * Patch from Lacak2 for mantis #19593, exception while saving bufdataset to file.
git-svn-id: trunk@21197 -
2012-05-02 20:09:10 +00:00
paul
5217b7011b tests: add test to check overload precedence for ShortString type passed to other string types
git-svn-id: trunk@21192 -
2012-05-02 08:45:54 +00:00
paul
548cdece84 tests: add test to check overload precedence for AnsiString type passed to other string types
git-svn-id: trunk@21191 -
2012-05-02 02:52:10 +00:00
paul
50ddd16619 tests: add string constant overload precedence tests when default string type is UnicodeString
git-svn-id: trunk@21190 -
2012-05-02 02:34:12 +00:00
michael
881e1a4935 * Remove linking of .res file (patch from Luiz Americo, bug #21908)
git-svn-id: trunk@21160 -
2012-05-01 11:28:04 +00:00
michael
4cb04074d6 * Remove empty destructors (patch from Luiz Americo, bug #21907)
git-svn-id: trunk@21159 -
2012-05-01 11:23:57 +00:00
michael
27840f247c * Applied patch from Luiz Americo not to send events when setting datasource to same value again (bug #21906)
git-svn-id: trunk@21158 -
2012-05-01 11:21:03 +00:00
Jonas Maebe
5e6aaccca9 * removed spaces from empty line at start to prevent (unpatched) dbdigest
from crashing

git-svn-id: trunk@21150 -
2012-04-30 20:13:09 +00:00
michael
1515e397bb * Fix memory leak (patch by Marcos Douglas, ID #21900)
git-svn-id: trunk@21149 -
2012-04-30 20:06:41 +00:00
marco
71a4778ba6 * additions by Reinier, mantis #21895
git-svn-id: trunk@21148 -
2012-04-30 14:58:39 +00:00
Jonas Maebe
9c0ec8ee8c * part of r21120, forgot to commit
git-svn-id: trunk@21128 -
2012-04-29 22:27:05 +00:00