michael
8535da3e99
* Use actual class instead of hard-coded base class in class methods
...
git-svn-id: trunk@23053 -
2012-11-23 22:25:55 +00:00
michael
9f054632a1
* Added some convenience methods
...
git-svn-id: trunk@23052 -
2012-11-23 22:13:35 +00:00
michael
8e67bf6e15
* Fix (adapted) from bug #23372
...
git-svn-id: trunk@23051 -
2012-11-23 20:00:58 +00:00
marco
d4ac343e3a
* LE and BE streamhelpers for tstream. Simplifies writing stream formats in a different endianness. (mostly CHM)
...
git-svn-id: trunk@23050 -
2012-11-23 17:17:16 +00:00
lacak
9e17ba4102
fcl-db: odbc: fix error when loading blobs.
...
(revealed by TestSQLClob)
git-svn-id: trunk@23049 -
2012-11-23 13:01:10 +00:00
lacak
b91969c407
fcl-db: tests: use SQLServerType instead of SQLConnType.
...
To allow correctly testing TODBCConnection.
(we need know remote DB server to setup some tests)
git-svn-id: trunk@23048 -
2012-11-23 12:52:42 +00:00
masta
e982f4789d
Removed unused register allocation in tarminlinenode.second_abs_long
...
git-svn-id: trunk@23047 -
2012-11-22 19:20:39 +00:00
pierre
d956808080
Fix bug introduced by myself for win32 dwarf info generation Bug #23365 and 23330
...
git-svn-id: trunk@23046 -
2012-11-22 13:49:21 +00:00
Jonas Maebe
631fa329e5
- disabled assembler implementations for darwin/i386 because they don't
...
work on i386 targets that require a 16-byte aligned stack
git-svn-id: trunk@23045 -
2012-11-22 13:34:21 +00:00
Jonas Maebe
dfe3ca5328
* prevent invalid typecast on targets using nestedfpstruct functionality
...
in case of type errors in the source (the compiler will already have
printed an error at this point)
git-svn-id: trunk@23044 -
2012-11-22 12:22:00 +00:00
Jonas Maebe
3eb527b532
* make use_fixed_stack for i386 more generic (any target with more than
...
4 byte stack alignment needs a fixed stack)
git-svn-id: trunk@23043 -
2012-11-22 12:17:52 +00:00
michael
ea848beb13
* Changed GetLastInsertID to GetInsertID so it is the same as in GetLastID
...
git-svn-id: trunk@23042 -
2012-11-22 09:45:15 +00:00
michael
58d0d3c593
* Added GetLastInsertID
...
git-svn-id: trunk@23041 -
2012-11-22 08:23:53 +00:00
joost
ca179908e2
* Implemented zipinstall command for fpmake, see also bug #21481
...
git-svn-id: trunk@23040 -
2012-11-21 20:48:14 +00:00
florian
4aca018f62
* setelement nodes itself should not be considered, since setelement
...
nodes generate no code except loading data into registers, this does
not hurt, resolves #23342
git-svn-id: trunk@23039 -
2012-11-20 21:15:38 +00:00
florian
fcc6d3dcd9
+ VarIsBool function by Alexander Strokach, resolves #23358
...
git-svn-id: trunk@23038 -
2012-11-20 20:30:08 +00:00
lacak
31fa3c9db2
fcl-db: tests: basic test for ftWideString and ftWideMemo for SQLite. Tests if these field types are recognized when saving/restoring to XML format. See rev.22997
...
git-svn-id: trunk@23037 -
2012-11-20 12:44:12 +00:00
svenbarth
bb5dc545f8
rtl/objpas/fgl.pp:
...
Fix typo in comment; fixes Mantis #23352
git-svn-id: trunk@23036 -
2012-11-19 19:23:58 +00:00
lacak
0775705e8f
fcl-db: change fieldtype for ftWideString and ftFixedWideChar from 'string' to 'string.uni' (Delphi compatibility).
...
Corrects my prior commit.
Note: Delphi stores characters outside ASCII as numeric character references in form: &#D;
git-svn-id: trunk@23035 -
2012-11-19 13:50:23 +00:00
Jonas Maebe
e4740a27e1
- removed tthreadid/pthreadid definitions for haiku/beos/*bsd/darwin:
...
they're not in the other versions either, they're not part of the
libpthread api, and hide the tthreadid definition from the system unit
git-svn-id: trunk@23034 -
2012-11-19 13:17:50 +00:00
lacak
66f458467f
fcl-db: sqlite: Always add null terminator to end of moved strings. (in case of length of data in db > FieldDef.Size null terminator is not moved).
...
Bug #0023338 .
Fixes also already existing failed test.
git-svn-id: trunk@23033 -
2012-11-19 09:54:25 +00:00
sergei
a7e7d97da6
* ELF linker: fixed written values of STT_TLS symbols, they must be relative to PT_TLS segment address.
...
* Made name of dynamic interpreter variable, it is now set correctly for each target.
- Removed setting header flags for ARM. This functionality belongs to CPU-specific unit anyway, and probably must be implemented using object attributes in modern ABIs.
git-svn-id: trunk@23032 -
2012-11-19 09:07:45 +00:00
florian
ab1815273c
+ added comment on movsd hack
...
git-svn-id: trunk@23031 -
2012-11-18 21:34:38 +00:00
florian
d49a88c3c8
* merge fixes by Torsten Grundke
...
git-svn-id: trunk@23030 -
2012-11-18 21:18:49 +00:00
florian
2aaa7514f4
+ started cpupara for aarch64
...
git-svn-id: trunk@23029 -
2012-11-18 20:42:11 +00:00
nickysn
5640b654c9
* only enable I386_ASSEMBLER on certain platforms
...
git-svn-id: trunk@23028 -
2012-11-18 20:37:32 +00:00
joost
69437fcc1a
* Remove fpmake.o and fpmake.dbg on distclean
...
git-svn-id: trunk@23027 -
2012-11-18 20:24:25 +00:00
joost
44c3ef9e7e
* Clean *.dbg files. Bug #20466
...
git-svn-id: trunk@23026 -
2012-11-18 17:55:29 +00:00
sergei
0369a30f49
* Internal linker: made sec_rodata_norel read-only.
...
* For Win32 and Win64 targets made sec_rodata read-only, too (for these targets it doesn't matter if read-only section contains relocations).
git-svn-id: trunk@23025 -
2012-11-18 17:40:17 +00:00
joost
5ee506d64e
* Do not cross-compile binaries from packages, unless BUILDFULLNATIVE is defined
...
git-svn-id: trunk@23024 -
2012-11-18 17:32:06 +00:00
florian
a42b934c69
* introduce FPC_SUPPORT_X87_TYPES_ON_WIN64 define which allows to build
...
a win64 compiler support the x87 types extended and comp/currency handled by the FPU, this
requires to use a i386 compiler as starting compiler and cross compilation because the starting
compiler must support the 80 bit extended type
git-svn-id: trunk@23023 -
2012-11-18 17:30:51 +00:00
florian
45f60bc4b5
* small changes (copyright, typo, readability)
...
git-svn-id: trunk@23022 -
2012-11-18 17:28:30 +00:00
joost
87bb1fe33e
* In the case that there is no object-file for a unit, do not try to install it. Bug #21230 , patch by Sergei
...
git-svn-id: trunk@23021 -
2012-11-18 17:24:02 +00:00
michael
b1a6601ef6
* Fixed compilation
...
git-svn-id: trunk@23020 -
2012-11-18 17:16:59 +00:00
florian
f6109d7c65
* improved error reporting by printing the type being found in with expressions
...
git-svn-id: trunk@23019 -
2012-11-18 17:09:36 +00:00
florian
0e92f68032
- 2.0 overlefts removed
...
git-svn-id: trunk@23018 -
2012-11-18 17:07:57 +00:00
sergei
afd34cf9d5
* Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations.
...
git-svn-id: trunk@23017 -
2012-11-18 17:00:18 +00:00
michael
e8580b5d9c
* Changes to make it more compatible to other connectors
...
git-svn-id: trunk@23016 -
2012-11-18 16:23:46 +00:00
nickysn
8222b8d956
* enable the assembler by default in hermes.pp
...
git-svn-id: trunk@23015 -
2012-11-18 15:46:32 +00:00
marco
31e5ac3836
* Patch from Reinier to cache libraryname in a global.
...
git-svn-id: trunk@23014 -
2012-11-18 13:34:39 +00:00
joost
e26f4ac798
* Added SkipCrossPrograms parameter to fpmkunit
...
git-svn-id: trunk@23013 -
2012-11-18 10:36:18 +00:00
Jonas Maebe
dfe59e6838
- removed unimplemented/unsupported rtleventsync (mantis #23332 )
...
git-svn-id: trunk@23012 -
2012-11-18 10:23:48 +00:00
Jonas Maebe
d3d0df6e4d
* terminate with an error when initializing a critical section and recursive
...
mutexes are not available, since one of the expected properties of
(Delphi/Windows-compatible) critical sections is that they ar
re-entrant (mantis #23334 )
git-svn-id: trunk@23011 -
2012-11-18 10:23:44 +00:00
Jonas Maebe
676db6d377
* removed stray try/finally statement (mantis #23333 )
...
git-svn-id: trunk@23010 -
2012-11-18 10:23:38 +00:00
nickysn
3de0f0d7b5
* ptcpas: prefix all x11 include files with 'x11'
...
git-svn-id: trunk@23009 -
2012-11-17 23:54:33 +00:00
nickysn
f2cb80f639
* ptcpas: prefix all win32/win64 include files with 'win32' to avoid include file name duplications
...
git-svn-id: trunk@23008 -
2012-11-17 22:24:06 +00:00
joost
b61960a0fb
* Implemented BuildCPU, BuildOS en BuildString properties
...
git-svn-id: trunk@23007 -
2012-11-17 21:38:15 +00:00
nickysn
b3d86072b8
* updated ptcpas fpmake.pp
...
git-svn-id: trunk@23006 -
2012-11-17 21:08:34 +00:00
nickysn
e616d0b7f0
* updated ptcpas to 0.99.13
...
git-svn-id: trunk@23005 -
2012-11-17 19:03:53 +00:00
nickysn
504b2bc544
* fixed hermes author and license info - it's a full library translation and not just header translation, the original author is Christian Nentwich and the license of the pascal version is modified LGPL (changed from LGPL with Christian's permission)
...
git-svn-id: trunk@23004 -
2012-11-17 18:11:35 +00:00