marco
80c25bda92
* make onprogress public. Mantis #23476
...
git-svn-id: trunk@23218 -
2012-12-23 19:52:52 +00:00
marco
2b70085b61
* removed debug writeln.
...
git-svn-id: trunk@23216 -
2012-12-23 18:32:53 +00:00
svenbarth
e914ec7f00
Add platform independant support for "GetTickCount" and "GetTickCount64" to unit "SysUtils". "GetTickCount" is declared as deprecated from the beginning and thus "GetTickCount64" should be used instead.
...
The default implementation of "GetTickCount" just uses the lower 32-Bit from the result of "GetTickCount64".
The default implementation of "GetTickCount64" is based upon "Now" for systems that support a floating point unit (and thus "Now").
Other systems can define a "SysTimerTick" function which is used instead if "HAS_SYSTIMERTICK" is defined.
The Windows implementation of "GetTickCount" uses Windows' "GetTickCount" function.
The implemenation of "GetTickCount64" checks whether the system is a Windows Vista or newer and then uses Windows' "GetTickCount64" function. Otherwise Windows' "GetTickCount" is used also.
The Unix implementation of "GetTickCount" is the default one.
The "GetTickCount64" implementation uses "fpgettimeofday".
git-svn-id: trunk@23215 -
2012-12-23 16:12:57 +00:00
sergei
d967566a37
* Changed TExternalAssembler.CreateSmartLinkPath to use ansistrings (TPathStr), like the rest of file handling routines do.
...
git-svn-id: trunk@23214 -
2012-12-23 14:11:27 +00:00
sergei
27c626245b
* Reuse RecordRTTI to finalize class instances. This is possible because RTTI for classes is the same as for records (except different value of tkKind field), and RecordRTTI ignores tkKind (assuming that required checks are done by its caller).
...
git-svn-id: trunk@23213 -
2012-12-23 12:10:11 +00:00
marco
4dbe24d375
* some position 64-bit fixes found when I did a quick investigation of #23482
...
Don't know if this solves that though.
git-svn-id: trunk@23211 -
2012-12-22 19:59:58 +00:00
michael
3f1111649b
* Small improvement to dumprecord
...
git-svn-id: trunk@23210 -
2012-12-22 17:01:57 +00:00
michael
0602984934
* Compile fpapache24
...
git-svn-id: trunk@23209 -
2012-12-22 16:39:18 +00:00
michael
17ec1d4266
* Version of apache module application that works with Apache 2.4
...
git-svn-id: trunk@23208 -
2012-12-22 16:37:50 +00:00
michael
5180320841
* Avoid nameclash in apr too
...
git-svn-id: trunk@23207 -
2012-12-22 16:36:43 +00:00
michael
26bab0d14f
* Also compile httpd24
...
git-svn-id: trunk@23206 -
2012-12-22 16:31:41 +00:00
yury
2012220aec
* Fixed HKEY_xxx defines for win64. For example HKEY_CLASSES_ROOT should be $FFFFFFFF80000000 on win64 instead of $80000000. Most registry API functions accept invalid HKEY_xxx values. But some registry functions like RegOverridePredefKey() require proper values. I had spent several hours fighting with RegOverridePredefKey() on win64 until I have found what had been wrong.
...
git-svn-id: trunk@23205 -
2012-12-22 16:15:32 +00:00
michael
6ee8cade08
* httpd 2.4 (Apache 2.4) headers by A. Borka
...
git-svn-id: trunk@23204 -
2012-12-22 12:41:25 +00:00
marco
a929eb36cb
* Fix for #23470 , also free fcommands
...
git-svn-id: trunk@23203 -
2012-12-21 21:49:23 +00:00
yury
5556fecdf0
* Include regdef.inc only if XMLREG is defined (non-Windows platforms). On Windows it is not needed since the Windows unit is included and it has all necessary declarations. Keeping duplicate declarations in regdef.inc on Windows is dangerous since it leads to out of sync problems.
...
* Cleanup regdef.inc to contain only necessary types and constants to work with registry unit on non-Windows platforms.
git-svn-id: trunk@23202 -
2012-12-21 14:53:44 +00:00
sergei
1116bc3542
* Fixed incorrect condition (a linked list always has at least one dummy element) which was causing every unit to have a threadvar table, regardless of actual presence of threadvars. For units without code, this was causing creation of .o files which aren't necessary otherwise.
...
git-svn-id: trunk@23201 -
2012-12-21 14:13:30 +00:00
lacak
30f96442ca
fcl-db: postgresql: catalog_name for GetSchemaInfoSQL
...
git-svn-id: trunk@23200 -
2012-12-21 12:48:32 +00:00
sergei
f9dbcbd0c3
- Removed duplicate file header
...
git-svn-id: trunk@23199 -
2012-12-21 09:16:23 +00:00
lacak
7e1dcce60b
fcl-db: postgresql: increase max allowed string field length. Fix for existing test TTestFieldTypes.TestStringLargerThen8192.
...
(using MaxSamllint is inspired by Delphi dbExpress, where my tests shows, that max supported length is 32767 if used char/varchar with length above this limit various errors appears like "Invalid field size")
git-svn-id: trunk@23198 -
2012-12-21 06:49:27 +00:00
sergei
278fbb742e
* mips-linux: call SetErrno in order to remove dependence on threadvar implementation details.
...
git-svn-id: trunk@23197 -
2012-12-21 04:42:41 +00:00
michael
2ab822c5f0
* Forgot to commit images
...
git-svn-id: trunk@23196 -
2012-12-20 17:16:17 +00:00
michael
366cd2d9c2
* Fixed unresolved elements in tree
...
git-svn-id: trunk@23195 -
2012-12-20 16:21:14 +00:00
michael
bc60ea4713
* Added ability to create class chart
...
git-svn-id: trunk@23194 -
2012-12-20 15:54:24 +00:00
michael
2c26d53f9b
* Added ability to create class chart
...
git-svn-id: trunk@23193 -
2012-12-20 15:00:10 +00:00
reiniero
c9e838e2f9
+ FCL-DB: db test framework: add test for issue #23509 : locate must ignore lopartialkey for non-string fields
...
git-svn-id: trunk@23192 -
2012-12-19 15:58:58 +00:00
reiniero
e4ed8ea35b
- FCL-DB: db test framework: clean up dbf export code (duplicate functionality since r23164)
...
git-svn-id: trunk@23191 -
2012-12-19 13:21:22 +00:00
reiniero
4556129de7
* FCL-DB: only honour lopartialkey for locate on indexed fields if field is string type.
...
This aligns behaviour with non-indexed locate as well as fpc bufdataset.
Partly addresses issue #23509
git-svn-id: trunk@23190 -
2012-12-19 13:11:47 +00:00
lacak
9f60eca94f
fcl-db: tests: move IFDEF to proper position
...
git-svn-id: trunk@23189 -
2012-12-19 08:27:04 +00:00
sergei
c766c50907
* Proper fix for SPARC cycling with -dCHECK_PIC, pi_needs_got additionally must be set in following cases:
...
1) tguidconstnode.pass_1 (location is LOC_CREFERENCE)
2) tonnode.pass_1 (generic secondpass references VMT of exception class)
3) Conversion from unsigned to floating-point involves 'magic constant' as GOT-relative data object.
4) Case jumptable address is loaded relative to GOT.
(1) and (2) also provide more accurate setting of pi_needs_got for all targets.
git-svn-id: trunk@23188 -
2012-12-18 17:56:56 +00:00
pierre
658968ef44
Add debugging generation ability for m68k compiler
...
git-svn-id: trunk@23187 -
2012-12-18 15:57:40 +00:00
pierre
c979ded1f9
Use FPUSOFT instead of CPUCOLDFIRE for settings some m68k software macors
...
git-svn-id: trunk@23186 -
2012-12-18 15:20:33 +00:00
pierre
14c5fceb45
Add fpc_longword_to_double
...
git-svn-id: trunk@23185 -
2012-12-18 15:17:48 +00:00
pierre
6d5f2e0cf2
Regenerated after: Add lineinfo
...
git-svn-id: trunk@23184 -
2012-12-18 15:16:37 +00:00
pierre
bb6355e716
Add lineinfo
...
git-svn-id: trunk@23183 -
2012-12-18 15:15:26 +00:00
pierre
daccd0d283
Add aliases fro mkdir/rmdir/chdir
...
git-svn-id: trunk@23182 -
2012-12-18 15:14:13 +00:00
pierre
11e743e5b8
Use FPC_INCLUDE_LONGWORD_TO_DOUBLE for m68k
...
git-svn-id: trunk@23181 -
2012-12-18 15:11:48 +00:00
pierre
ab52c48520
Add DynLinkStr support
...
git-svn-id: trunk@23180 -
2012-12-18 15:08:59 +00:00
pierre
39219cc30f
Also handle fpu_soft
...
git-svn-id: trunk@23179 -
2012-12-18 15:07:13 +00:00
pierre
2a610e74b7
Also handle fpu_soft
...
git-svn-id: trunk@23178 -
2012-12-18 15:06:24 +00:00
pierre
080034982f
Use GasCpuTypeStr array: GAS uses different names for cpu variants
...
git-svn-id: trunk@23177 -
2012-12-18 15:04:57 +00:00
pierre
0af0da69b1
New GasCpuTypeStr array: GAS uses different names for cpu variants
...
git-svn-id: trunk@23176 -
2012-12-18 15:00:38 +00:00
pierre
548a687a17
LOC_FPUREGISTER is not used for func_getretloc ig using fpu_soft
...
git-svn-id: trunk@23175 -
2012-12-18 14:58:53 +00:00
pierre
76ba2ea6c7
Save complete register set for setjmp/longjmp
...
git-svn-id: trunk@23174 -
2012-12-18 14:05:52 +00:00
pierre
0e14a3c5bd
add fpc_longword_to_double if needed
...
git-svn-id: trunk@23173 -
2012-12-18 14:04:14 +00:00
michael
d965748048
* Patch from Graeme geldenhuys to introduce class hierarchy in IPF
...
git-svn-id: trunk@23172 -
2012-12-18 13:03:53 +00:00
michael
813b91a596
* Patch from Reinier Olislaghers - some cosmetic changes (Bug ID 23506)
...
git-svn-id: trunk@23171 -
2012-12-18 11:06:01 +00:00
sergei
0196c62ee8
+ Initial work to support versions of ELF dynamic symbols.
...
git-svn-id: trunk@23170 -
2012-12-18 08:25:57 +00:00
lacak
da67d3be15
fcl-db: tests: formatting (reorder methods)
...
git-svn-id: trunk@23169 -
2012-12-18 07:34:41 +00:00
lacak
e8d236e3b4
fcl-db: postgresql:
...
* check transaction state to determine failed transaction. To avoid "current transaction is aborted commands ignored until end of transaction block"
* move GetPQErrorMessage into CheckResultError as it was originally in rev.21750
git-svn-id: trunk@23168 -
2012-12-18 07:17:10 +00:00
Károly Balogh
e2f02faca0
do not refer reg a6 directly, base pointer might differ among platforms (a5 on m68k-amiga)
...
git-svn-id: trunk@23167 -
2012-12-18 02:13:43 +00:00