Commit Graph

34400 Commits

Author SHA1 Message Date
Jonas Maebe
ec8c7b4888 + when compiling for Darwin/ARM, pass the subarchitecture to the linker.
The old linker option to accept object files from all subarchitecture
    types no longer works.
  + support for subarchitectures in fcl-res/fpcres

git-svn-id: trunk@18070 -
2011-08-02 20:41:39 +00:00
Jonas Maebe
da056da20f + added armv7 identifier (no special code generation, but required to
link against Xcode 3.2.6/4-generated code for ARMv7 -- use -Cparmv7,
    but note that you also have to compile the RTL and all other units with
    this option for them to be linkable against other ARMv7 code when using
    those tools)

git-svn-id: trunk@18069 -
2011-08-02 20:36:43 +00:00
Jonas Maebe
d7c1967351 * fixed switched around lists for read-only/read-write typed consts
git-svn-id: trunk@18068 -
2011-08-02 20:32:48 +00:00
joost
6bad75a1eb * When the fpmake executable is deleted, perform a regular fpcmake distclean. See bug #19655
git-svn-id: trunk@18067 -
2011-08-02 19:29:59 +00:00
marco
079831b50e * Deref old content of node in FPSList.put. Mantis #19854
git-svn-id: trunk@18063 -
2011-08-02 15:15:27 +00:00
joost
59e51c0bc2 * Fixed possible AV in DistClean (uninitialized variable)
* Also perform a distclean if a package is not compiled for the current target

git-svn-id: trunk@18060 -
2011-08-02 14:41:47 +00:00
marco
1308a777ac * fix compilation non win32/64. Patch from Vincent on IRC
git-svn-id: trunk@18057 -
2011-08-02 10:38:00 +00:00
joost
bea736b00f * Fixed fpmake.pp file
git-svn-id: trunk@18056 -
2011-08-01 20:48:26 +00:00
joost
7bcf71f342 * Remove the unit-directory entirely on a distclean. To avoid problems when units got renamed, or in similar circumstances
git-svn-id: trunk@18055 -
2011-08-01 20:29:22 +00:00
sergei
65b41a6c73 * xmlread.pp, renamed TXMLReader to TXMLTextReader.
git-svn-id: trunk@18054 -
2011-08-01 19:46:30 +00:00
Jonas Maebe
da3fb5de0f * prevent double freeing temps containing int64-sized parameters
(mantis #19700)

git-svn-id: trunk@18053 -
2011-08-01 17:12:45 +00:00
Jonas Maebe
e7b85a6175 - removed cleaning ../../rtl and ../../packages when performing a
"make distclean" in the tests directory after r17782, because that
    breaks doing a "make FPC=newppc TEST_FPC=newppc distclean all digest"
    (because first the distclean will wipe away the rtl, and then the
     newppc will try to use it to compile the utilities etc).

    "make distclean" in the tests directory should only clean stuff
    under tests, nothing in parent directories. If you want to recompile
    the rtl, then do so before running the tests and don't rely on the
    makefile in tests to do that for you.

git-svn-id: trunk@18052 -
2011-08-01 16:32:30 +00:00
marco
064ecf3d6c * fix decimalseparator locale issues in fcl-db testsuite, mantis #19564
git-svn-id: trunk@18051 -
2011-08-01 16:22:18 +00:00
joost
6d5e16d9e6 * Added procedure-events to TPackage
* Added public property TBuildEngine.Startdir
 * Made TCustomInstaller.BuildEngine public (to be able to use it to copy files in fpmake.pp files)

git-svn-id: trunk@18050 -
2011-08-01 16:15:25 +00:00
joost
d567d2e950 * More fpmake.pp-files fixes
git-svn-id: trunk@18049 -
2011-08-01 16:08:51 +00:00
joost
429b9563d8 * ptc and hermes fpmake.pp fixes
git-svn-id: trunk@18048 -
2011-08-01 15:03:12 +00:00
joost
e8c3e94010 * Enabled ptc and hermes building for fpmake
git-svn-id: trunk@18047 -
2011-08-01 14:38:04 +00:00
marco
8265854813 * more cleanup testsuite (per database typing), mantis #18703
git-svn-id: trunk@18046 -
2011-08-01 14:11:40 +00:00
marco
5bc46002b9 * sqlite datasets adapted to also take BIGINT as ftlargeint type as per
sqlite docs. Mantis #18649

git-svn-id: trunk@18045 -
2011-08-01 14:01:10 +00:00
marco
dd00510c64 * fix epoch difference TDateTime and sqlite julian. Mantis bug #16886
git-svn-id: trunk@18044 -
2011-08-01 13:55:26 +00:00
marco
7eeb4ab539 * also return fasymbolic if dir is found.
* update getattr to also return fasymbolic
  Patch by Dimitri B. Mantis #16817	

git-svn-id: trunk@18043 -
2011-08-01 11:36:28 +00:00
marco
2c00a2a0b3 * fixed FPC_USE_LIBC building for Linux and exception handling (mantis #13450)
- fixed a platform modifier in ipc.pp
   - fixed different layout sigaction record in libc. (field order)
   - fixed many bad use_libc fixes in linux. Most of these were only checked
      for compilation, not linking. (e.g. futex doesn't link)

git-svn-id: trunk@18042 -
2011-07-31 23:36:17 +00:00
joost
4392dd13a4 * fpmake.pp-files fixes
git-svn-id: trunk@18041 -
2011-07-31 21:51:11 +00:00
joost
473df6f6f1 * Updated fpmake_add and fpmake_proc files, effectively added fcl-js and libogcfpc
git-svn-id: trunk@18040 -
2011-07-31 20:37:09 +00:00
marco
db05a07412 * Support for BOOLEAN and BIGINT in fcl-db tests, initial version, patch by Lacak2
git-svn-id: trunk@18039 -
2011-07-31 19:33:38 +00:00
marco
0fb5540d25 * Left over testsuite parts of Mantis #17108, patch by Lacak2
git-svn-id: trunk@18038 -
2011-07-31 19:25:32 +00:00
sergei
c7dceaf266 * xmlread.pp, implemented a separate parsing loop for top-level content
+ Implemented reporting fake top-level text nodes with #10 character in canonical mode. This fixes level3/ls/canonicalform08 and level3/ls/canonocalform09 and completes c14n support in the reader.

git-svn-id: trunk@18037 -
2011-07-31 17:20:48 +00:00
sekelsenmat
9fe7e691b0 fpvectorial: Implements support for clipping regions, specially for PostScript
git-svn-id: trunk@18036 -
2011-07-29 11:12:09 +00:00
marco
0976115115 * patch from mantis #12928 fixing precision of numeric type. FPC specific patch (but no effect on Delphi, so compat).
git-svn-id: trunk@18035 -
2011-07-29 10:57:34 +00:00
sergei
72dcf89350 * Output the encoding label (still fixed to "utf-8", others are not yet supported), Mantis #19827, #19172.
git-svn-id: trunk@18034 -
2011-07-29 06:08:04 +00:00
sergei
70bc36da85 + Implemented TDOMDocument.xmlStandalone property
git-svn-id: trunk@18033 -
2011-07-29 04:03:30 +00:00
sergei
7e102d12ca * Escape '>' characters in attribute values, resolves #19831
git-svn-id: trunk@18032 -
2011-07-29 01:38:26 +00:00
marco
8bb66f5e07 * add bigint. sqlite compat.
git-svn-id: trunk@18031 -
2011-07-28 21:48:12 +00:00
sekelsenmat
abdc672fe3 fpvectorial: Implements support for arc in the postscript reader
git-svn-id: trunk@18030 -
2011-07-28 14:43:29 +00:00
Mattias Gaertner
391f268bbb instantfpc: fixed compilation for 2.4.4
git-svn-id: trunk@18029 -
2011-07-28 06:56:40 +00:00
sergei
ad94e5e719 * Link TLS directory and callbacks only into executables. It is not necessary for DLLs, because callback functionality is contained in DllMain. Moreover, DLLs with TLS directory cannot be dynamically loaded in Windows versions prior to Vista.
* In Win32, reference TLS directory from SysInit units, allowing the module which needs TLS to be different from module which contains system unit.
* Don't write to TLS directory, as it can be placed into read-only memory.

git-svn-id: trunk@18028 -
2011-07-27 23:22:09 +00:00
michael
888ea8121c * Patch from Reinier Olislaegers to handle multiline data
git-svn-id: trunk@18027 -
2011-07-27 18:53:47 +00:00
michael
f0bbea9319 * Tester for XSD export
git-svn-id: trunk@18026 -
2011-07-27 18:35:16 +00:00
michael
03133e4980 * fpxmlxsdexport.pp(2285,41) Error: Illegal type conversion: "LongInt" to "AnsiString"
git-svn-id: trunk@18025 -
2011-07-27 18:27:07 +00:00
sergei
c9f92c0323 * Excluded oso_executable from attributes of user sections. User sections may currently be specified only for variables and typed consts, which are not executable.
* Fixed TLS directory size written to PE header when cross-compiling. It must be the value for target, not for host.

git-svn-id: trunk@18024 -
2011-07-27 14:10:22 +00:00
marco
134f941937 * widestring fields for odbc. Patch from Mantis #19773
git-svn-id: trunk@18023 -
2011-07-26 16:39:53 +00:00
marco
e7375bf76f * add some wide* cases to bufdataset index building, fixes bug #19807
git-svn-id: trunk@18022 -
2011-07-26 15:38:30 +00:00
marco
eef37e69c5 * use ctypes types in structs, fixes Mantis #19778 and 64-bit linux
git-svn-id: trunk@18021 -
2011-07-26 12:58:00 +00:00
sergei
32c868d83e * Modified test so recent Windows TLS changes do not break it (these changes cause threadvar Output to move from .bss to thread-local storage, and heaptrc no longer treats it as a valid pointer). Adding support for tls pointer checks to heaptrc could solve this, too (and would be fine anyway), but it is a separate issue. This test is about checking pointers from .data and .bss.
git-svn-id: trunk@18020 -
2011-07-25 22:38:33 +00:00
sergei
ef48f93d85 * win/systhrd.inc: modified ThreadMain so it initializes RTL if not already done, allowing TLS callbacks to be optional.
* win/syswin.inc: added a workaround for buggy ld on win64, see comments in source for details.

git-svn-id: trunk@18019 -
2011-07-25 07:41:32 +00:00
sergei
24c3a43b35 * Call SysFlushStdio from FlushThread, instead of duplicating its functionality.
* Don't call FlushThread from EndThread, since r17798 it is called from DoneThread.

git-svn-id: trunk@18018 -
2011-07-25 06:03:40 +00:00
sergei
4d0e8ca896 * Fixed compilation of the test after r16326
git-svn-id: trunk@18017 -
2011-07-25 05:29:51 +00:00
Jonas Maebe
cb1da8de85 * fixed getcopy order for ttempcreatenode in case it has tempinitcode
(this tempinitcode contains a reference to the tempcreatenode itself
     -> hookoncopy must be set before copying the tempinitnode)

git-svn-id: trunk@18016 -
2011-07-18 00:38:47 +00:00
florian
95ad75c7bf * hack to set stack top for atmega128
* default output for avr-embedded is .hex

git-svn-id: trunk@18015 -
2011-07-17 20:46:05 +00:00
florian
57613d1bb9 + add avr-embedded to systems_embedded
git-svn-id: trunk@18014 -
2011-07-17 20:44:43 +00:00