marco
1556751109
* also quote ftguid fields. Mantis 20219.
...
git-svn-id: trunk@19060 -
2011-09-14 07:48:24 +00:00
pierre
53d3d518fa
Check warning for %es:0 in assmebler code
...
git-svn-id: trunk@19058 -
2011-09-13 16:21:31 +00:00
pierre
5a671336c7
Fix go32v2 rtl compilation error and add warning for %es:Const
...
git-svn-id: trunk@19057 -
2011-09-13 16:20:12 +00:00
paul
67008470ea
tests: fix record helper test
...
git-svn-id: trunk@19056 -
2011-09-13 00:20:24 +00:00
vladob
863da422df
doc update for fcl-stl
...
git-svn-id: trunk@19054 -
2011-09-12 10:15:17 +00:00
vladob
76b511bec5
new examples for fcl-stl
...
git-svn-id: trunk@19053 -
2011-09-12 08:46:05 +00:00
Jonas Maebe
fd908a70f1
* added missing { %fail }
...
git-svn-id: trunk@19051 -
2011-09-12 06:53:54 +00:00
michael
942cc99bfe
* Better warnings
...
git-svn-id: trunk@19050 -
2011-09-11 17:39:17 +00:00
marco
2aebae2846
* commented a few left over "alias" debug msg
...
git-svn-id: trunk@19049 -
2011-09-11 15:05:45 +00:00
joost
89f3b4d838
* When TProcess is available, pipe compiler console output to log instead of stdout. So that GUI applications can show it
...
git-svn-id: trunk@19046 -
2011-09-11 08:53:46 +00:00
paul
ec29fddda7
compiler: implement Delphi like dynamic array constructors. E.g.: SomeArrayVar := TSomeDynArrayType.Create(value1, value2). (issue #0015385 )
...
git-svn-id: trunk@19045 -
2011-09-11 04:41:46 +00:00
joost
eb6f381a18
* Do not add the file to compile twice to compiler command line
...
git-svn-id: trunk@19044 -
2011-09-10 15:52:05 +00:00
marco
91b017a985
* ansi(start/ends)(str/text) MBCS compatible (via widestringmgr), mantis #16153 + tests
...
Patch by Flavio Etrusco.
git-svn-id: trunk@19043 -
2011-09-10 15:01:46 +00:00
marco
47af891513
* change resourcestream.handle from thandle to TPFResourceHGlobal, since it is
...
a pointer, and handle is a 32-bit integer on 64-bit *nix.
git-svn-id: trunk@19042 -
2011-09-10 10:00:27 +00:00
pierre
daa27f636d
+ exeinstall: New phony target to install only current cpu taret compiler.
...
+ fullinstall: New phony target to install all posible compilers.
git-svn-id: trunk@19041 -
2011-09-10 08:54:50 +00:00
marco
d6962106b9
* typecast that fixes range error, part of mantis #16172
...
git-svn-id: trunk@19040 -
2011-09-09 20:03:08 +00:00
marco
367be2cd7a
* adds some checks to sqldb avoid AV and memleaks. Mantis #19326 and #18669
...
git-svn-id: trunk@19039 -
2011-09-09 18:13:03 +00:00
sergei
a9515e9446
* Don't include ShortString constants into resourcestring reference table, because current design allows RTL to handle only a single string type.
...
git-svn-id: trunk@19038 -
2011-09-09 17:58:32 +00:00
Jonas Maebe
fcc56d271a
* replaced some parameter definitions based on their value in the
...
FreeB-licensed SGI version
* deleted constants that belong in glext.pp (and which are already
defined there)
* replaced "This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon
Graphics, Inc." license header with FreeB license; see
http://bugs.freepascal.org/view.php?id=20200 for details)
-> fixes http://bugs.freepascal.org/view.php?id=20200
git-svn-id: trunk@19037 -
2011-09-09 12:03:09 +00:00
tom_at_work
9ce34c63c9
Fix shared library loading and unloading for Linux platforms. Shared library initialization and finalization are now called correctly at program startup for compile-time linked dynamic libraries on powerpc-/powerpc64-/arm-/i386- and x86_64-linux.
...
Every startup code must now provide an additional entry point called "_dynamic_start" that is set as new the entry point if the program links to a Pascal shared library. Its purpose is to set up an exit hook usually passed via a register, which should be called during program finalization if non-nil.
We use this additional entry point because this register only has meaningful content when there are any compile-time linked shared libraries, otherwise it often contains random garbage. The difference between the _dynamic_start and the original code is minimal; actually in all implementations the _dynamic_start code passes on control to the old startup code, so we use an additional entry point instead of an additional startup file.
Detailed changes and fixes list:
compiler:
always link to the dynamic loader (ld.so) when compiling shared libraries. Fixes crashes in the loader during shared library finalization on some Linuxes
remove additional ENTRY() section in arm linker script
select either _dynamic_start or _start as entry point depending on whether this is a static or dynamic executable
powerpc*:
do not set System.isLibrary in startup code, it will be set during library initialization anyway
trap in case of reaching code locations that should not be reached instead of looping (possibly endlessly)
powerpc:
register atexit() function pointer if supplied to the executable and call it during shutdown
correctly set argc/argv/envp in shared library code and return correctly to the caller after initialization
pass on exitcode in shared library haltproc
use the more recent exit_group system call if available for shutdown
powerpc64
fix .ptrgl stub, do not set the environment register to the value of the GOT entry in the function descriptor
arm
do not set System.isLibrary in startup code, it will be set during library initialization anyway
reload exitcode to pass to shutdown
mips,mipsel,sparc
added stubs to allow correct linking
git-svn-id: trunk@19036 -
2011-09-08 21:17:35 +00:00
marco
1f5333a80a
* fixes from Mantis #20194 , derived from patch and description by G. Fink.
...
git-svn-id: trunk@19035 -
2011-09-08 20:42:39 +00:00
sergei
0c3c8a8745
* Cast HashValue to Longint, otherwise empty strings (which have hash=$FFFFFFFF) cause range check error when RTL is compiled with -Cr.
...
git-svn-id: trunk@19034 -
2011-09-08 19:15:34 +00:00
sergei
376d34ebdf
* Fixed type of dwCallback member in 44 remaining MCI_xx_PARAMS records ;-)
...
* MCI_STATUS_PARAMS.dwReturn is pointer-sized, too.
git-svn-id: trunk@19033 -
2011-09-08 18:32:12 +00:00
Mattias Gaertner
14d13bc004
avl_tree: added enumerator
...
git-svn-id: trunk@19032 -
2011-09-08 17:53:31 +00:00
marco
51e61b5df7
* 64-bit fix for mci_open_params structure. Mantis #20197
...
git-svn-id: trunk@19031 -
2011-09-08 17:43:09 +00:00
sekelsenmat
c9545e24a0
Regenerates the makefiles for opengles
...
git-svn-id: trunk@19029 -
2011-09-08 13:17:07 +00:00
sekelsenmat
727da08c0c
opengles updates the Makefile.fpc
...
git-svn-id: trunk@19028 -
2011-09-08 13:03:42 +00:00
sekelsenmat
64232f7876
Patch from bug #15632 : OpenGL ES 2.0 headers
...
git-svn-id: trunk@19027 -
2011-09-08 13:00:30 +00:00
sekelsenmat
7a7c574d1a
Patch from bug #15632 : OpenGL ES 2.0 headers
...
git-svn-id: trunk@19026 -
2011-09-08 13:00:09 +00:00
sekelsenmat
2ea96e08fa
Fixes bug #19986 : Patch zipper.pp for create zip file output to TStream support
...
git-svn-id: trunk@19025 -
2011-09-08 12:49:15 +00:00
pierre
a1c5b7c118
+ Add property options display
...
git-svn-id: trunk@19024 -
2011-09-07 23:20:47 +00:00
pierre
a17390126a
Fix an error in reading real variable for change_endian
...
git-svn-id: trunk@19023 -
2011-09-07 23:19:48 +00:00
pierre
4b743a7a61
* IsLibrary is a byte-sized boolean, thus use stb instruction to set value
...
git-svn-id: trunk@19022 -
2011-09-07 21:57:37 +00:00
tom_at_work
61ef4b0a1c
fix compilation after r19007: also update makefile.fpc and regenerated makefile
...
git-svn-id: trunk@19021 -
2011-09-07 21:55:34 +00:00
marco
7d717cde37
* regex patch from Joao Morais, fixed random exceptions. Mantis #14425
...
git-svn-id: trunk@19020 -
2011-09-07 19:59:57 +00:00
pierre
01526fa582
* Remove forgotten wrong increments
...
git-svn-id: trunk@19019 -
2011-09-07 19:43:50 +00:00
florian
b270a1922b
* reverts r18960, should solve sparc trouble
...
git-svn-id: trunk@19017 -
2011-09-07 18:33:22 +00:00
pierre
47f39748f6
Handle FileIndex/Line/Column for change_nedian in token buffer for generics
...
git-svn-id: trunk@19014 -
2011-09-07 16:27:33 +00:00
florian
bbed546f56
* make code and data size in status independent of target alu size
...
git-svn-id: trunk@19013 -
2011-09-07 16:04:38 +00:00
pierre
57f3f0a82b
scanner unit:
...
treplaystack class: added change_endian boolean field
treplaystack.create added achange_endian parameter
tscannerfile class: added tokenbuf_change_endian boolean field
readsizeint method: use tokenbuf_change_endian to maybe swap sizeint
startreplaytokens method: added achange_endian field
psub and ptype units:
adapt to tscannerfile.startreplaytokens change above.
git-svn-id: trunk@19012 -
2011-09-07 13:13:15 +00:00
pierre
9073beffec
Remember change_endian from ppufile for generictokenbuf reading
...
git-svn-id: trunk@19011 -
2011-09-07 13:04:55 +00:00
pierre
d3d91e40ab
+ Add procinfo options
...
git-svn-id: trunk@19010 -
2011-09-07 13:02:41 +00:00
pierre
958425157f
* Try to implement dllprt0 for linux powerpc processor
...
git-svn-id: trunk@19009 -
2011-09-07 12:53:50 +00:00
marco
b1c0d35dbe
* postgres part of sqldb returning support, fixes Mantis #20133
...
Patch by Lacak2
git-svn-id: trunk@19008 -
2011-09-07 12:21:52 +00:00
sekelsenmat
3401a3be83
fpvectorial: Merges a large change: Disables the obsolete PDF reader and modified all the structure to support multiple pages per document
...
git-svn-id: trunk@19007 -
2011-09-07 12:15:11 +00:00
marco
9d974c2ca4
* postgres header support for PQdescribePrepared, part of mantis #20133
...
git-svn-id: trunk@19006 -
2011-09-07 12:13:10 +00:00
marco
81d94b9d91
* Test for mapping numeric to bcd type fields, and a fix for issues in
...
ibconnection found with it, Mantis #20182
git-svn-id: trunk@19005 -
2011-09-07 11:52:06 +00:00
michael
9c434ffedf
* Register paramdefs in JSONRPC handler manager
...
git-svn-id: trunk@19004 -
2011-09-07 11:33:37 +00:00
michael
8fd9e8ea29
* Move conversion of handler(def) to JSON Object to separatr, virtual methods
...
git-svn-id: trunk@19002 -
2011-09-07 10:42:07 +00:00
paul
7e88628b02
compiler: clear vd_class option if it was added by _STATIC token (issue #0020119 )
...
git-svn-id: trunk@19001 -
2011-09-07 02:22:03 +00:00