daniel
2139a229d3
+ If no unit is used, no symbol inside the system unit is used,
...
and no language features requiring initialization are used,
do not initialize units, but just configure the fpu and
signal handlers.
git-svn-id: trunk@16124 -
2010-10-10 17:40:39 +00:00
daniel
f4ec65add8
- Remove unused variable fpustate.
...
git-svn-id: trunk@16123 -
2010-10-10 15:09:05 +00:00
Jonas Maebe
d1ed076618
* changed r16080 so that global debug labels are only created on linux
...
systems when smart linking and PIC are on, because on Darwin this
breaks smart linking and it's not necessary there (probably should be
disabled completely and the problem should be solved in another way)
(mantis #17593 )
git-svn-id: trunk@16122 -
2010-10-10 13:39:46 +00:00
Jonas Maebe
31dab28eca
* when checking for stack tainting parameters, verify all locations of every
...
parameter instead of only the first location (mantis #17590 )
git-svn-id: trunk@16121 -
2010-10-10 12:36:59 +00:00
joost
1844ff4c01
* Improved safecall test. Added code to test parameter-values
...
git-svn-id: trunk@16120 -
2010-10-10 10:52:54 +00:00
Jonas Maebe
d5bc1c972f
* don't generate init/fini sections in the al_procedures list, because the
...
compiler assumes it remains a sec_code (fixes linking problems with the
iOS SDK 3.2 simulator tool chain when using debug info)
git-svn-id: trunk@16119 -
2010-10-09 21:27:07 +00:00
Jonas Maebe
769eb3f604
* moved the initialisation of the nodetree and tai class reference constants
...
from the unit initialisation sections to the variable declaration sections
to prevent the base units from overriding derived classes (based on patch
by Hans-Peter Dietrich, mantis #17516 )
git-svn-id: trunk@16118 -
2010-10-09 18:52:22 +00:00
Jonas Maebe
15846bf3d1
- disabled {$modeswitch result} for macpas mode by default (mantis #17382 )
...
git-svn-id: trunk@16117 -
2010-10-09 18:43:07 +00:00
Jonas Maebe
4b4f10b9e8
r331 | jonas | 2010-10-09 20:41:18 +0200 (Sat, 09 Oct 2010) | 3 lines
...
+ {$modeswitch result} so it still compiles once {$modeswitch result} is
no longer on by default for {$mode macpas}
git-svn-id: trunk@16116 -
2010-10-09 18:42:10 +00:00
nickysn
6310b37bd5
+ added ptcgraph implementation of SetBkColor and GetBkColor in 640x480x2 (MCGAHi) mode
...
git-svn-id: trunk@16115 -
2010-10-09 16:17:41 +00:00
joost
799b0368ac
* place the function result parameter last for safecall routines on
...
all platforms that support a safecall calling convention
git-svn-id: trunk@16114 -
2010-10-08 22:38:30 +00:00
Jonas Maebe
ff9ca6ee17
- reverted spelling fixes from r16094 because these headers are
...
automatically translated, and spelling fixes will make future
updates harder
git-svn-id: trunk@16113 -
2010-10-08 17:53:19 +00:00
Jonas Maebe
db8a67747d
* give an error when trying to use (bit)sizeof on a type that is not yet
...
resolved by the compiler (mantis #14354 )
git-svn-id: trunk@16112 -
2010-10-08 17:42:53 +00:00
pierre
41e388ace8
* Revert rev 16108
...
git-svn-id: trunk@16111 -
2010-10-08 13:39:11 +00:00
pierre
386478cd77
* Allow any register for GOT if current procedure has assembler code
...
git-svn-id: trunk@16110 -
2010-10-08 13:20:28 +00:00
pierre
207e0b58f5
* Support Intel [ebx].offset var PIC construct
...
git-svn-id: trunk@16109 -
2010-10-08 13:19:50 +00:00
pierre
1d2581b6d9
labels need to be non-local for PIC code using GOT
...
git-svn-id: trunk@16108 -
2010-10-08 13:16:04 +00:00
Jonas Maebe
ea706f6271
+ use "Terminal" under Haiku to launch external programs (patch by
...
Olivier Coursiere, mantis #17392 )
git-svn-id: trunk@16107 -
2010-10-08 13:06:06 +00:00
Jonas Maebe
92997a0249
* store/load tloopnode.loopflags to/from ppu files so that for/repeat/while
...
loops are correctly inlined (mantis #17493 )
git-svn-id: trunk@16106 -
2010-10-08 13:01:25 +00:00
pierre
1f362c35f3
* _GLOBAL_OFFSET_TABLE is not a local label
...
git-svn-id: trunk@16105 -
2010-10-08 09:04:15 +00:00
pierre
7f200ab27e
* Use asmsearchsym in assembler readers
...
git-svn-id: trunk@16104 -
2010-10-08 07:58:18 +00:00
pierre
f23695cf92
* Also declare GOT in main program
...
git-svn-id: trunk@16103 -
2010-10-07 22:14:58 +00:00
Jonas Maebe
94d976bc87
* when simplifying ordinal expressions during inlining, keep the resultdef
...
that was set during the typecheck pass because typeconversion nodes
may have been optimised away previously and sometimes the resultdef is
important (e.g. for the value of callparanodes) (mantis #17458 )
git-svn-id: trunk@16101 -
2010-10-07 15:08:52 +00:00
pierre
d2939bce3d
* i386 _GLOBAL_OFFSET_TABLE_ label special treatment moved to taicpu.pass2
...
git-svn-id: trunk@16100 -
2010-10-07 14:14:25 +00:00
sergei
6a9a991dca
* Fixed TryStrToDateTime so it returns True only if both date and time are parsed successfully, resolves #17541 .
...
git-svn-id: trunk@16099 -
2010-10-07 09:48:18 +00:00
michael
69d85d5b2d
* Fixed typo
...
git-svn-id: trunk@16095 -
2010-10-07 07:46:11 +00:00
mazen
b127fc154a
* Fixed spell error revealed by lintian.
...
git-svn-id: trunk@16094 -
2010-10-06 20:33:57 +00:00
sergei
1f215ecc86
+ Test for System.Delete() with Size argument equal to MaxInt, Mantis #17514
...
git-svn-id: trunk@16093 -
2010-10-06 17:33:29 +00:00
sergei
1e11244ddf
* Fix overflow in Delete procedure for Wide- and UnicodeStrings when its Size argument is MaxInt. Now using the same code as in AnsiString version. Mantis #17514 .
...
git-svn-id: trunk@16092 -
2010-10-06 17:31:08 +00:00
sergei
a66876704b
* Windows platforms: always start a thread in suspended state and resume it later in AfterConstruction if necessary, prevents race conditions in constructor. Fixes Mantis #16884 on Windows.
...
git-svn-id: trunk@16091 -
2010-10-06 16:57:15 +00:00
pierre
45b526eff9
* New bug test
...
git-svn-id: trunk@16090 -
2010-10-06 16:37:14 +00:00
pierre
bdefb849fc
* Fix for Bug report 17550
...
git-svn-id: trunk@16089 -
2010-10-06 16:04:46 +00:00
sekelsenmat
7961fec295
Patch from Leonardo M. Ramé, updates the ImageMagick library name in UNIXes
...
git-svn-id: trunk@16088 -
2010-10-06 13:13:35 +00:00
Jonas Maebe
8b21987df2
* zapped gremlin that prevented dotest from parsing the %opt line
...
git-svn-id: trunk@16087 -
2010-10-06 08:46:36 +00:00
Jonas Maebe
13399280dc
* don't write rtti for static fields so we don't try to initialise/finalise
...
them (mantis #17546 )
* fixed the various field rtti methods so that they only operate on fields
and skip the rest (at the end they always typecast the sym to a
tfieldvarsym, so this could result in wrong memory accesses)
git-svn-id: trunk@16086 -
2010-10-05 14:56:48 +00:00
michael
747a5c804b
* Added reference to fptemplate (saying it is moved to fcl-base)
...
git-svn-id: trunk@16085 -
2010-10-05 12:15:54 +00:00
michael
4f55b436a1
* Corrected references to examples (they are in the lazarus package)
...
git-svn-id: trunk@16084 -
2010-10-05 12:12:11 +00:00
michael
86ff7c57e4
* Renamed to be more in line with other readme files
...
git-svn-id: trunk@16083 -
2010-10-05 12:10:03 +00:00
michael
39cb7a3ae5
* Added reference to jsonviewer in Lazarus
...
git-svn-id: trunk@16082 -
2010-10-05 12:09:04 +00:00
michael
8952ae07b8
* Moved description of fptemplate to fcl-base
...
git-svn-id: trunk@16081 -
2010-10-05 12:06:33 +00:00
pierre
292e85a59a
* Partial fix for i386 linux PIC code generation
...
git-svn-id: trunk@16080 -
2010-10-05 08:07:15 +00:00
sergei
6cc206ac77
* xmlread.pp: started implementing the streaming API, aka XmlTextReader from .net world.
...
git-svn-id: trunk@16079 -
2010-10-05 07:35:00 +00:00
sergei
1dc083438e
* xmlread.pp, renamed all parameters and local vars named 'Name', 'Prefix', 'BaseUri' and 'Value', so it becomes possible to add properties with these names to TXMLReader without duplicate identifier errors.
...
git-svn-id: trunk@16078 -
2010-10-04 15:41:47 +00:00
michael
1251291ca4
* Renamed lazwebdata to lazwebextra
...
git-svn-id: trunk@16077 -
2010-10-04 07:24:28 +00:00
Jonas Maebe
ae1fb2bf74
+ documented darwin, iphonesim, solaris and win64 options for -T
...
* removed "for <achitecture>" from all -T option help messages, because
only targets supported on the current architecture are shown anyway
git-svn-id: trunk@16076 -
2010-10-03 11:24:23 +00:00
florian
f90acc40d9
* made GetMemory, FreeMemory, ReallocMemory delphi compatible, resolves #17530
...
git-svn-id: trunk@16075 -
2010-10-02 19:15:58 +00:00
Jonas Maebe
eda7a8d672
* replaced the "quick exit" instruction sequences from the syscall variants
...
lacking "nostackframe" with branches to an exit label, because in that
case the compiler-generated exit code must be executed to balance the
stack (only done for EABI; should probably also be done for OABI, but
I can't test that)
git-svn-id: trunk@16073 -
2010-10-01 15:06:57 +00:00
sergei
594919cc70
* dom.pp, fixed TDOMText.SplitText() to use custom allocation, so newly created node won't leak if initial node has no parent .
...
git-svn-id: trunk@16072 -
2010-10-01 11:05:30 +00:00
Jonas Maebe
d1206c6279
* also set the persistent typedef of simplified ordconstn type conversions
...
(related to mantis #17458 )
git-svn-id: trunk@16071 -
2010-09-30 20:45:31 +00:00
sergei
fd892533c3
* xmlread.pp, a bit better separation of DOM-specific and DOM-independent code in ParseComment() and ParsePI().
...
git-svn-id: trunk@16070 -
2010-09-30 15:30:49 +00:00