Commit Graph

35960 Commits

Author SHA1 Message Date
marco
54066744ac * Added ftcurrency to TODBCConnection.SetParameters. Patch by Lacak2, Mantis 21349
git-svn-id: trunk@20404 -
2012-02-22 20:57:43 +00:00
marco
fc50e764c9 * Maps mysql year data type. Mantis #21347, patch by Lacak2.
git-svn-id: trunk@20403 -
2012-02-22 20:55:41 +00:00
marco
49f15aa271 * Fixes date arithmetic before tdatetime epoch. Mantis #21348, patch by Lacak2
git-svn-id: trunk@20402 -
2012-02-22 20:53:30 +00:00
marco
8d6ed78b8e * Improved tests from Lacak2, Mantis #20182
git-svn-id: trunk@20401 -
2012-02-22 20:49:25 +00:00
marco
e866049f49 * Fix compilation of sqldbtoolsunit
git-svn-id: trunk@20400 -
2012-02-22 20:48:31 +00:00
florian
e2c9a8c6a1 * fold <arithmed. op> ...; cmp ...,#0into cmps on arm
* remove unnecessary ldr after str to the same memoy location, however, to do this optimization safely, we should add support for volatile variables

git-svn-id: trunk@20399 -
2012-02-22 20:16:06 +00:00
florian
f0f64a573b * don't pack softfpu helper records and added dummy for proper alignment, generates much better code on CPUs like arm
git-svn-id: trunk@20398 -
2012-02-22 20:13:38 +00:00
florian
6278c2473e * version updated
git-svn-id: trunk@20397 -
2012-02-22 17:47:54 +00:00
sergei
042f5264bb * fcl-xml, replacing more occurrences of WideString with XMLString.
git-svn-id: trunk@20396 -
2012-02-22 15:50:40 +00:00
pierre
67f4886cde * Fix wrong include file name
git-svn-id: trunk@20395 -
2012-02-22 08:55:42 +00:00
sergei
8df23e7bd0 * Declared the XMLString type to serve as a base string type for entire package, and aliased DOMString and SAXString to it (the type remains WideString; once all other units are adjusted it may be changed to UnicodeString).
* Replaced WideString by XMLString in xmlutils.pp.

git-svn-id: trunk@20394 -
2012-02-21 20:23:35 +00:00
joost
e7a8bc567d * When a dependency on a package is given without a checksum, accept every checksum
git-svn-id: trunk@20393 -
2012-02-21 18:21:52 +00:00
joost
e6582e502a * Fixed checking of changed files which got broken in r20352
git-svn-id: trunk@20392 -
2012-02-21 17:31:51 +00:00
sergei
b781311670 * sax_html.pp: accumulate token chars in ansistring in order to handle multi-byte encodings without errors (counterpart of sax_xml.pp r15738). Mantis #21070.
git-svn-id: trunk@20391 -
2012-02-21 16:51:02 +00:00
sergei
6498df861b * xmlutils.pp: calculate hash with both range and overflow checks disabled (went unnoticed this far probably because range errors do not manifest on 32-bit platforms).
* sax_xml.pp: don't handle processing instructions as elements.

git-svn-id: trunk@20390 -
2012-02-21 16:46:08 +00:00
joost
942c2d035e * Fixed AV while filtering datasets with null-fields
git-svn-id: trunk@20389 -
2012-02-21 16:32:51 +00:00
marco
c29ce4c891 * Check autoincrement based on field properties instead of ft-type. This to improve support for autoincrement
types larger than integer. (bigserial). Patch by Lacak2, Mantis #20722

git-svn-id: trunk@20386 -
2012-02-20 11:25:42 +00:00
marco
99892a7e45 * SimpleIPC, avoid stale server state files (Unix). Patch by Andrew, Mantis #21289
git-svn-id: trunk@20385 -
2012-02-20 11:17:02 +00:00
marco
48d780b920 * Patch from Lacak2 for Mantis #18699 Improve numeric formatting for
interbase.

git-svn-id: trunk@20382 -
2012-02-20 09:10:49 +00:00
paul
950ef49b5c fpc: don't treat codepage as different if one element of array has CP_ACP codepage in fpc_AnsiStr_Concat_multi
git-svn-id: trunk@20381 -
2012-02-20 00:30:03 +00:00
pierre
7d53c2af45 + Regenerate Makefile with mips-linux target
git-svn-id: trunk@20379 -
2012-02-19 19:03:28 +00:00
pierre
18432ea848 + Add mips and mipsel cpus, enabled for linux only
git-svn-id: trunk@20378 -
2012-02-19 19:02:53 +00:00
pierre
9576664f20 + Add ifdef USE_MIPS_STK2_ASM to disable assmebler code using alterante stack with r23 by default
git-svn-id: trunk@20377 -
2012-02-19 19:00:21 +00:00
sergei
eda5511ef9 * Don't widen boolean operands of taddnode if they will be converted to pasbool8 immediately thereafter, doing so only causes generation of useless code. Mantis #20843.
git-svn-id: trunk@20376 -
2012-02-19 18:49:50 +00:00
marco
f8f5c3cd23 * alias a few more types on windows. This makes developing portable software easier, since one doesn't have to conditionally import windows for e.g. tfiletime.
git-svn-id: trunk@20375 -
2012-02-18 19:20:07 +00:00
Jonas Maebe
cc736fe115 * use same code path for iphonesim as for darwin (should fix mantis #21190)
git-svn-id: trunk@20374 -
2012-02-17 20:28:43 +00:00
Jonas Maebe
bacdd8be81 * don't ever mark the function result as vs_initialised, also not when
it is passed as a hidden parameter (mantis #20907)

git-svn-id: trunk@20373 -
2012-02-17 16:25:50 +00:00
marco
b31c15fbcc * Patch from Lacak2 for initial Pg interval support.
git-svn-id: trunk@20370 -
2012-02-17 14:00:27 +00:00
Jonas Maebe
aa9aeeada0 * fixed compilation on platforms without ansistring support since assigning
one ansistring to another requires a helper (mantis #21260, patch by
    Koenraad Lelong)

git-svn-id: trunk@20369 -
2012-02-17 13:16:32 +00:00
Jonas Maebe
e8dae4f30a * set result of exp() to 0 in case of underflow with masked exceptions
(mantis #21265)

git-svn-id: trunk@20368 -
2012-02-17 13:07:50 +00:00
sergei
cd44c5f45c Win32 and Win64, fixed DLL exit sequence, resolves #14603:
* Unwind to DllEntry context only if called from DllEntry. Otherwise, terminate the entire process, making sure that RTL won't be finalized twice.
* Call DLL_process_detach_hook before RTL is finalized, not after.

git-svn-id: trunk@20367 -
2012-02-16 23:39:03 +00:00
sergei
ea37d71f67 - win64: removed empty procedures remove_exception_handlers and fpc_cpucodeinit.
git-svn-id: trunk@20366 -
2012-02-16 23:22:42 +00:00
marco
136b7dee9b * fix for bug #21281, some functions were missing dllname.
git-svn-id: trunk@20364 -
2012-02-16 20:54:37 +00:00
sergei
167ee9867e * Moved DLL_xxx declarations to sysos.inc, so they can be reused by wince.
* systlsdir.inc: don't invent own symbols for the same purpose, defining DLL_xx conditionally is enough to avoid duplicate declarations.

git-svn-id: trunk@20363 -
2012-02-16 17:13:32 +00:00
pierre
c45914fc27 * Fix loss of OPT variable content on last part of cross-cpu cycles
git-svn-id: trunk@20362 -
2012-02-16 14:26:12 +00:00
pierre
c453baf0b9 + Enable stabs debuginfo, dwarf disabled for now
git-svn-id: trunk@20361 -
2012-02-16 14:25:03 +00:00
paul
4c1fa31c11 packages: add opengl as required for win32 and win64 for gtk1
git-svn-id: trunk@20360 -
2012-02-16 06:46:00 +00:00
paul
357d644891 tests: fix test for systems where widestring=unicodestring
git-svn-id: trunk@20359 -
2012-02-16 00:57:46 +00:00
Tomas Hajny
4f36dc3539 * fixed dependency on opengl wrongly marked as valid for all targets
git-svn-id: trunk@20358 -
2012-02-15 21:15:33 +00:00
Tomas Hajny
f597d18f24 * include imlib for OS/2 and EMX too
git-svn-id: trunk@20357 -
2012-02-15 21:14:07 +00:00
pierre
79c8234c8b Protect against nil values for info or SigContext
git-svn-id: trunk@20356 -
2012-02-15 13:20:26 +00:00
pierre
65ec3cfe4e Fix SigActionRec record field order
git-svn-id: trunk@20355 -
2012-02-15 13:19:22 +00:00
pierre
ea9f152d64 * Remove local redefinition of types and clarify TIPC_Perm record
git-svn-id: trunk@20354 -
2012-02-15 13:18:30 +00:00
pierre
5b71a7597a i386 NetBSD uses GOT for position independent code
git-svn-id: trunk@20353 -
2012-02-15 13:08:49 +00:00
joost
3c02dc25f2 * Do not change the current directory, that does not work well with multiple threads
git-svn-id: trunk@20352 -
2012-02-14 20:31:00 +00:00
sergei
724227c962 * Cleaned out code marked as originated from glibc:
- strlen.inc: removed, was never actually used anywhere.
  - StrCopy: removed, its generic version is optimized well enough now.
  * StrComp: rewritten, speed somewhat improved.

git-svn-id: trunk@20349 -
2012-02-14 16:09:45 +00:00
paul
2499b5514f compiler: change overload search for char constants (for delphi compatibility):
- for AnsiChar prefer ShortString, AnsiString, UnicodeString, WideString, ... (LongString?)
  - for WideChar prefer UnicodeString, WideString, AnsiString, ShortString, ... (LongString?)
  - remove old code from htypechk which made AnsiChar const = AnsiString,ShortString and WideChar const = WideString,UnicodeString - it is no longer needed since defcmp performs the required comparisons
  + test

git-svn-id: trunk@20348 -
2012-02-14 06:52:33 +00:00
paul
4d863aff03 compiler: fix accidentally committed code in r20285
git-svn-id: trunk@20347 -
2012-02-14 00:25:29 +00:00
florian
b19b8badf9 * fix volatible integer register set on mips
* fix available registers on mips

git-svn-id: trunk@20346 -
2012-02-13 21:37:22 +00:00
svenbarth
2a872978dc Fix Mantis #21179
* defcmp.pas:
        + Extend compare_def_ext by the possiblity to specify whether strict or
          loose comparison of undefined defs should be applied.
          * in strict mode undefined defs are incompatible to all other defs
            except other undefined defs
          * in loose mode undefined defs are equal to anything (this is how
            FPC behaved up to now)
        + Enable the strict mode in compare_paras so that overloads with
          generic type parameters are possible
* ptype.pas, single_type:
        If the generic dummy of the currently parsed generic is encountered in
        non-Delphi modes then we need to return the current genericdef. This
        condition needs to be checked using the ObjName of the def, because
        the link from the type symbol to the current def is not yet 
        established 
+ added test for bug report

git-svn-id: trunk@20345 -
2012-02-13 21:17:54 +00:00