Jonas Maebe
196e9f74e4
* freetype and cairo building for BeOS and Haiku (patch from Olivier,
...
mantis #14490 )
git-svn-id: trunk@13643 -
2009-09-04 08:16:39 +00:00
florian
cf215d5097
o patch by Michael V. Denisenko to handle case <string> of (see also #13700 )
...
+ compiler implementation
+ tests
git-svn-id: trunk@13642 -
2009-09-03 20:21:30 +00:00
Jonas Maebe
eb12fdb617
* give an error for -Xr on platforms where this parameter is ignored
...
git-svn-id: trunk@13640 -
2009-09-03 12:48:06 +00:00
marco
fe20d5546e
* initial ms-its: cross chm linking support.
...
git-svn-id: trunk@13638 -
2009-09-02 20:54:06 +00:00
Jonas Maebe
b93ff4c71c
* tests should fail (see added comment)
...
git-svn-id: trunk@13637 -
2009-09-01 22:22:41 +00:00
Jonas Maebe
1f4bb21c6e
- reverted r13629-r13630, because dbf actually should support big endian
...
systems nowadays
git-svn-id: trunk@13631 -
2009-08-31 12:59:25 +00:00
Jonas Maebe
3cbad406b5
* forgot to move src/export (which depends on src/dbase) also to the
...
little endian targets for Linux in r13629
git-svn-id: trunk@13630 -
2009-08-31 12:20:22 +00:00
Jonas Maebe
26b296a6ba
- disabled dbase/dbf for big endian targets, because it's apparently known
...
to not work there and it frustrates people who are not aware of that:
http://forum.lazarus.freepascal.org/index.php/topic,7356.msg34782.html#msg34782
git-svn-id: trunk@13629 -
2009-08-31 12:11:32 +00:00
Jonas Maebe
099eb19ac9
* fixed luaL_error declaration after r13618
...
git-svn-id: trunk@13628 -
2009-08-31 08:55:09 +00:00
sergei
425170167d
* Base units of the package now can be compiled also with Delphi, patch from Dariusz Mazur (with some modifications).
...
git-svn-id: trunk@13627 -
2009-08-30 21:01:08 +00:00
Jonas Maebe
ceb547d027
* only allow cdecl "array of const" parameters for procvars and for external
...
routines (just like "varargs"), because if implemented in Pascal then
on the callee side this array of const parameter is treated as a Pascal-
style array of const
* don't give the "cdecl'ared functions have no high parameter" warning for
array of const parameters for cdecl external routines and procvars
git-svn-id: trunk@13618 -
2009-08-30 08:52:38 +00:00
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