Jonas Maebe
ae6200ce72
+ tests forgotten to commit as part of r13334
...
git-svn-id: trunk@13617 -
2009-08-30 08:37:53 +00:00
Jonas Maebe
1b6657cf21
* make test fail if the wrong method is called
...
git-svn-id: trunk@13616 -
2009-08-30 08:33:43 +00:00
florian
e8dff46f8e
* several small bugs in the handling of implements fixed, resolves #14418
...
git-svn-id: trunk@13615 -
2009-08-30 08:01:10 +00:00
florian
a8c6d9ec3a
* partially reverted 13571, I didn't get it work on W7 x64 in win32 mode
...
* use $ffffffff to signal an unsed TLSKey, 0 is a valid TLSKey and could be returned by Windows in theory
git-svn-id: trunk@13608 -
2009-08-29 20:46:06 +00:00
sergei
e9e6439345
* dom.pp: fixed one possible reason of crashing in Delphi 2009
...
* xmlutils.pp: clean up
git-svn-id: trunk@13604 -
2009-08-29 18:11:08 +00:00
michael
f853ac4c63
* Undid previous patch, because not all compiles
...
git-svn-id: trunk@13603 -
2009-08-27 20:10:54 +00:00
michael
612d58c80f
* Patch from Dariusz Mazur to fix compilation with Delphi
...
git-svn-id: trunk@13602 -
2009-08-27 18:40:17 +00:00
Jonas Maebe
ec8364904c
* set the size of the (invalid) page at address zero to 64kb for 32 bit
...
Darwin platforms, so that no data can be placed below that address.
This fixes the strange Windows-compatible resource API, which
assumes that addresses <64kb do not exist.
git-svn-id: trunk@13600 -
2009-08-26 21:18:53 +00:00
marco
1399b7f8fb
* open chm in nonexclusive mode. Could cause problems on Windows Vista where filelocks last even longer after closing.
...
git-svn-id: trunk@13599 -
2009-08-26 20:13:55 +00:00
Jonas Maebe
106c0673c0
* allow passing records to C varargs (also allowed by C)
...
git-svn-id: trunk@13595 -
2009-08-25 19:04:34 +00:00
marco
8864f510e0
* lowercased a PQprepare's second p. As per mantis 14430
...
git-svn-id: trunk@13590 -
2009-08-25 15:14:53 +00:00
florian
6d2a9dd173
+ file forgotten to add in r13588
...
git-svn-id: trunk@13589 -
2009-08-24 17:22:25 +00:00
florian
1bbc9b3e13
* implicit units in a Makefile.fpc are installed when doing a cross install, however if they are referenced only from a program they won't be build so a cross install fails: added build unit, resolves #14409
...
git-svn-id: trunk@13588 -
2009-08-23 18:20:29 +00:00
Jonas Maebe
84cefb5eba
* fixed dynamic linking of programs that only link with libc after r13584
...
git-svn-id: trunk@13587 -
2009-08-23 16:05:59 +00:00
marco
f2883ac9ed
* small fix for argument parsing by Joao Morais (via maillist)
...
git-svn-id: trunk@13586 -
2009-08-23 14:24:05 +00:00
Legolas
3f9327d340
* NDS: updated the rtl, libnds and fixed the examples. Now it should work fine with devkitARM r26
...
- Removed (again) old libgba examples
git-svn-id: trunk@13585 -
2009-08-23 13:57:45 +00:00
Jonas Maebe
9a84dee059
* fixed static linking under Linux for ppc64; test still crashes under
...
linux/i386 and linux/x86_64 (but at least it links now, mantis #14265 )
git-svn-id: trunk@13584 -
2009-08-23 11:53:00 +00:00
Jonas Maebe
c2c68ddb8f
- removed FPC_NEW_BIGENDIAN_SETS define and if(n)defs
...
* left old cpu-specific set helper code under ifdef FPC_OLD_BIGENDIAN_SETS
in case someone wants to write new assembler set helpers (although most
of them should be optimally generated by the compiler already if
http://wiki.freepascal.org/FPC_HowToDo#Bit.28field.29_getting.2Fsetting_primitives
are optimally implemented)
git-svn-id: trunk@13582 -
2009-08-23 08:16:40 +00:00
Jonas Maebe
0eec337a00
- removed SUPPORT_UNALIGNED, FPC_SUPPORTS_UNALIGNED and FPC_UNALIGNED_FIXED
...
defines and ifdefs (already all defined by 2.2.4)
git-svn-id: trunk@13581 -
2009-08-23 07:51:26 +00:00
Jonas Maebe
a64c5a7b23
* fixed bug that sporadically caused the column of certain nodes to
...
change, resulting in slightly different DWARF debug information
(mantis #13508 )
The cause was saving a node pointer in a local variable, processing
it further, and later on checking whether it changed by comparing
the stored and the current instance pointer. The problem was that
the node could have been freed and reallocated at the same address
(but with different contents), so this check sometimes resulted
in (hard to reproduce) false negatives.
git-svn-id: trunk@13580 -
2009-08-22 22:15:27 +00:00
Jonas Maebe
2f7457f37e
* set the fileinfo of typeconversions created using inserttypeconv*()
...
to that of the left node
* same for a typeconversion inserted in the typecheck pass of
taddrnode
git-svn-id: trunk@13579 -
2009-08-22 22:11:03 +00:00
Jonas Maebe
1f5d9b932f
* various fixes for fully setting/restoring the token position, seems to
...
fix the random garbage before the initial "const" of msgidx.inc in
verbose.s when compiling with -al
git-svn-id: trunk@13578 -
2009-08-22 22:09:17 +00:00
Jonas Maebe
acdb0bbb3e
* don't change current_filepos in pass_typecheck when not generating
...
errornodes (so the that the parser won't afterwards suddenly start
creating nodes with this different fileinfo)
git-svn-id: trunk@13577 -
2009-08-22 20:21:56 +00:00
Jonas Maebe
8dbc728926
* changed InputFileBufSize from 32kb to 32kb+1byte, because the last
...
byte is used for zero-termination (so we now always read blocks of
exactly 32kb from disk)
* set the first byte of the buffer to #0 when opening a file initially
git-svn-id: trunk@13576 -
2009-08-22 20:20:11 +00:00
Jonas Maebe
f2691c4ebf
* fixed indentation
...
git-svn-id: trunk@13575 -
2009-08-22 20:13:57 +00:00
Jonas Maebe
a1363e95f7
* no longer perform precision correction for single precision values, because
...
we support writing more digits than are defined (due to Delphi-
compatibility) and
a) correcting the precision of undefined digits makes no sense
b) as a result, this precision correction made some numbers that can be
represented exactly in single precision inexact
-- fixes mantis #14230
* no longer perform precision correction while determining the whole part
of numbers (usually did nothing anyway, and the rest is caught by the
final rounding)
git-svn-id: trunk@13574 -
2009-08-22 07:49:06 +00:00
Jonas Maebe
146a819615
* fixed spilling of and operations on spilled 32 bit values for x86_64
...
(mantis #14403 )
git-svn-id: trunk@13573 -
2009-08-21 16:20:16 +00:00
Jonas Maebe
2eebadf944
* allow disabling the wpo cycle with NOWPOCYCLE=1
...
git-svn-id: trunk@13572 -
2009-08-21 14:27:37 +00:00
florian
d3d3596cd6
* accelerated/fixed TLS access on win32 by Pierre Muller
...
git-svn-id: trunk@13571 -
2009-08-21 09:15:11 +00:00
Jonas Maebe
d11764fe8c
- removed 1.0.x-specific checks
...
git-svn-id: trunk@13570 -
2009-08-20 20:33:15 +00:00
michael
a7ed599879
* Patch from martin friebe (bug id 14380) to fix streaming of frames
...
git-svn-id: trunk@13567 -
2009-08-20 11:29:06 +00:00
Jonas Maebe
df1c366428
- removed stray "SINGLEDOTESTRUNS" after "endif" (caused make warning)
...
git-svn-id: trunk@13565 -
2009-08-20 08:44:48 +00:00
Jonas Maebe
d9a65f5fcc
* clean wpo files with distclean
...
* don't delete utilities while performing wpo cycle
git-svn-id: trunk@13564 -
2009-08-20 08:34:02 +00:00
michael
e8a375c774
* Patch from Henry Vermaak to fix EABI kernel API for arm.
...
git-svn-id: trunk@13563 -
2009-08-20 08:00:50 +00:00
Jonas Maebe
c8f9cfe9ed
* only specify -Xs- when actually using -OWsymbolliveness
...
git-svn-id: trunk@13561 -
2009-08-19 21:51:45 +00:00
Jonas Maebe
6c948f0970
* when RELEASE=1, also perform two compilations of the compiler/rtl with WPO
...
(and use the resulting compiler as final compiler to compile the rest of
the source tree and to install)
Note: this means that if you manually use "make cycle RELEASE=1", the RTL
afterwards will not be usable, because it will have been compiled with
WPO for the compiler; if you use "make all" in the root FPC dir, there
is no problem since that makefile recompiles the RTL anyway.
git-svn-id: trunk@13560 -
2009-08-19 21:36:28 +00:00
Jonas Maebe
c6b5038d5e
* removed unnecessary internalerror triggered when reading wpo info for a
...
program whereby no methods can be optimized for the last class in the
contextinsensitive_devirtualization section
git-svn-id: trunk@13559 -
2009-08-19 20:25:41 +00:00
Jonas Maebe
125b9e79d7
* fixed an error with trashing (-gt) of open shortstring "out" parameters
...
causing crashes if strings with a maximum length < 255 were passed
git-svn-id: trunk@13558 -
2009-08-19 20:24:32 +00:00
Jonas Maebe
3ed4734f85
* fixed position where error message is given about wrong "class of"
...
type definitions (was at the position of the invalid x type in
"class of x", rather than at the position of the "class of x" definition
itself)
git-svn-id: trunk@13555 -
2009-08-18 18:04:55 +00:00
florian
3ce72907c2
+ implementation of WriteBarrier
...
git-svn-id: trunk@13554 -
2009-08-18 16:31:18 +00:00
Jonas Maebe
e0c51caa7d
* fixed compilation after r13551
...
git-svn-id: trunk@13553 -
2009-08-18 15:01:57 +00:00
florian
f2a1d8edf6
* moved test to proper location
...
git-svn-id: trunk@13552 -
2009-08-18 06:53:50 +00:00
florian
c0d4efed2e
* forbid passing derived classes to call by reference parent classes (for objects, this is still allowed), resolves #13135
...
git-svn-id: trunk@13551 -
2009-08-17 21:46:25 +00:00
Jonas Maebe
e7c9a380f7
* fixed comment describing pshortstring2pchar
...
git-svn-id: trunk@13550 -
2009-08-17 18:09:43 +00:00
sergei
a4c60f81a0
Fixed buffer reloading logic which happened to crash on x64 when reading DTD with unterminated ignore section.
...
git-svn-id: trunk@13549 -
2009-08-17 15:57:31 +00:00
sergei
d6244f680a
* InstanceSize must be rounded up to sizeof(Pointer) everywhere, fixes #14348
...
git-svn-id: trunk@13548 -
2009-08-17 13:41:02 +00:00
florian
dd013a8987
* updated ide copyright and version
...
git-svn-id: trunk@13546 -
2009-08-16 21:25:18 +00:00
Jonas Maebe
7e7e7b34e1
- disabled cs_opt_asmcse for -O2/-O3 on i386. It can still be enabled
...
explicitly using -Ooasmcse for now. It will probably be completely
removed before the next major release after 2.4.0 (fixes mantis
#14363 )
git-svn-id: trunk@13545 -
2009-08-16 15:29:47 +00:00
florian
6ea40be296
* fixed more properties, I still wonder how this could be commited
...
git-svn-id: trunk@13543 -
2009-08-16 10:57:52 +00:00
florian
212da45205
* don't send Update messages during loading of files, makes the IDE startup much faster when a lot of files are loaded
...
git-svn-id: trunk@13541 -
2009-08-16 10:26:29 +00:00