Commit Graph

34389 Commits

Author SHA1 Message Date
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
florian
5c9e0a7a1b + V is avr help screen option
git-svn-id: trunk@18013 -
2011-07-17 20:44:10 +00:00
florian
57cdf34a6b * put -Wpxxxx switch on the help screen
git-svn-id: trunk@18012 -
2011-07-17 20:42:56 +00:00
florian
ecb04d1620 * use tcgint instead of aint in ttempcreatenode
git-svn-id: trunk@18011 -
2011-07-17 20:10:05 +00:00
florian
aae20fd488 * enable loading of the stack pointer
git-svn-id: trunk@18010 -
2011-07-17 17:14:06 +00:00
florian
98d3007580 + support to parse hi8/lo8(...) in inline assembler
git-svn-id: trunk@18009 -
2011-07-17 16:26:57 +00:00
Mattias Gaertner
e18d5e1f61 avltree: made nodemgr protected
git-svn-id: trunk@18008 -
2011-07-17 09:54:14 +00:00
florian
04e2321724 * avr cpuflags renames
+ cpuflagsstr

git-svn-id: trunk@18007 -
2011-07-17 08:55:16 +00:00
florian
ac17ee8acb * fix compilation of atmega128 startup code, not working yet
git-svn-id: trunk@18006 -
2011-07-17 08:54:24 +00:00
michael
840b158eb8 * Fixed DeleteKey. Deleting the last key does not delete the section (Delphi/Windows compatible)
git-svn-id: trunk@18000 -
2011-07-16 14:11:30 +00:00
michael
066a001afe * Fixed WriteString to be Windows/Delphi compatible. Writing an empty value does not delete the value
git-svn-id: trunk@17994 -
2011-07-16 14:05:42 +00:00
Jonas Maebe
d85ccd7418 * fixed compilation on targets where tthreadid is not an integer type after
r17992

git-svn-id: trunk@17993 -
2011-07-16 12:03:35 +00:00