Commit Graph

34377 Commits

Author SHA1 Message Date
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
sergei
5c3aca5148 * thread.inc, DoneThread: allow CurrentTM.ReleaseThreadVars to be unassigned and reset ThreadID (in preparation to support Windows native threadvars)
* win/systhrd.inc: added error checking in several places. Fail with code 226 if resources cannot be allocated, as Delphi does.
* win/syswin.inc, Dll_entry: Don't call DoneThread in PROCESS_DETACH callback, it is redundant because the main thread is finalized by FPC_DO_EXIT. SysReleaseThreadVars is still necessary. Also removed redundant assignments to return value.

git-svn-id: trunk@17992 -
2011-07-15 23:57:23 +00:00
sekelsenmat
e21749d6d4 fpvectorial: Finishes fixing the colors in the PostScript reader
git-svn-id: trunk@17991 -
2011-07-15 11:12:51 +00:00
sekelsenmat
d37d0ae1a4 fpvectorial: Fixes some bugs in the PostScript interpreter, previously it didnt run some procedures, and adds more commands to it
git-svn-id: trunk@17990 -
2011-07-15 10:19:21 +00:00
sergei
ae4cdf25f8 + aggas.pas: Write section attributes when long section names are used for smart linking (enabled for win32 and win64). It is needed because GAS does not understand that '.text.something' is part of '.text' and assigns default attributes (writable data) to all such sections, which is not the desired behavior.
git-svn-id: trunk@17989 -
2011-07-13 23:45:28 +00:00
sergei
35a2ed9a6c - Removed unused variable
- Removed inline directive (formal arguments are unsupported and only cause compiler noise)

git-svn-id: trunk@17988 -
2011-07-13 22:14:39 +00:00
joost
b156dc5ad9 * Use new fpmake distclean command. After all targets are cleaned by fpmake distclean, cleanup the fpmake executable
git-svn-id: trunk@17987 -
2011-07-13 21:07:23 +00:00
joost
08ee418513 * Reverted r17969, now fpmake distclean is implemented
git-svn-id: trunk@17986 -
2011-07-13 20:25:02 +00:00
joost
25a9052ced * Implemented distclean command, which cleans up all targets
git-svn-id: trunk@17985 -
2011-07-12 20:45:52 +00:00
sergei
e32317bca4 * Fixed x86_64 compilation further (rev. 17940 was not enough).
git-svn-id: trunk@17983 -
2011-07-12 13:42:27 +00:00
marco
ad60e9a467 * some notes I had in an old checkout.
git-svn-id: trunk@17982 -
2011-07-12 09:50:04 +00:00
marco
d2ccb1f564 * added fpvectorial -> fcl-base -j 2 deps, and regenned packages/ and fpvectorial makefile with up to date fpcmake
fpvectorial makefile had deps on fcl-process instead of fcl-base?

git-svn-id: trunk@17981 -
2011-07-12 09:34:31 +00:00
joost
c0d54a0fb2 * Added fcl-base dependency (epsvectorialreader.pas depends on contnrs)
git-svn-id: trunk@17980 -
2011-07-12 07:31:00 +00:00