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
744d20d086
* allow "array of const" parameters again for objcclass/objcprotocol methods
...
after merge of r13618 from trunk
* also allow "varargs" for objclass/objcprotocol methods
* set the cdecl calling convention for objcclass/objcprotocol methods in
handle_calling_convention() rather than in a separate routine in
pdecobj (and do the same for cppclass methods)
* check that array of const parameters and varargs are only used with
external objc-methods (can only be done after the class is parsed,
because earlier on it's not known yet whether or not it is external)
git-svn-id: branches/objc@13624 -
2009-08-30 11:02:28 +00:00
Jonas Maebe
ed38015758
* release allocated object at the end
...
git-svn-id: branches/objc@13623 -
2009-08-30 10:57:54 +00:00
Jonas Maebe
15cb7aa49c
* added { %norun }
...
git-svn-id: branches/objc@13622 -
2009-08-30 10:56:09 +00:00
Jonas Maebe
5082e23d57
Merged revisions 13599-13600,13602-13604,13608,13615-13618 via svnmerge from
...
svn+ssh://jonas@svn.freepascal.org/FPC/svn/fpc/trunk
git-svn-id: branches/objc@13621 -
2009-08-30 09:50:36 +00:00
Jonas Maebe
b15fb4afb5
* renamed hidden selector parameter to Objective-C methods from msgsel to
...
_cmd for naming consistency with the Objective-C runtime (no effects
on existing code)
git-svn-id: branches/objc@13620 -
2009-08-30 09:34:45 +00:00
Jonas Maebe
b3737214b0
* use paraloc info to obtain parameter size (instead of (re)calulcating it
...
from the def)
+ added (disabled) code to correctly calculate the parameter offsets for
ppc, see comments why it's not activated
git-svn-id: branches/objc@13619 -
2009-08-30 09:30:59 +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
a149674a75
Merged revisions 13458-13596 via svnmerge from
...
svn+ssh://jonas@svn.freepascal.org/FPC/svn/fpc/trunk
git-svn-id: branches/objc@13598 -
2009-08-25 19:47:36 +00:00
Jonas Maebe
8def2c2ac3
* fixed compilation after introduction of strict class type checking
...
for var/out parameters
git-svn-id: branches/objc@13597 -
2009-08-25 19:43:45 +00:00
Jonas Maebe
1a34492990
* fixed test after merge in r13458 (selector() -> objcselector())
...
git-svn-id: branches/objc@13596 -
2009-08-25 19:10:18 +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
Jonas Maebe
ea520d1c6b
* NSZone is a record, not a class (thanks to Gorazd Krosl for the remark)
...
git-svn-id: branches/objc@13594 -
2009-08-25 18:52:30 +00:00
Jonas Maebe
bf7456d8eb
* also change performSelector_withObject_withObject_ in NSObject
...
(previous change was in NSObjectProtocol)
git-svn-id: branches/objc@13593 -
2009-08-25 18:50:53 +00:00
Jonas Maebe
4f3aa80b4d
* corrected performSelector_withObject_withObject_ method name (added
...
ending _)
git-svn-id: branches/objc@13592 -
2009-08-25 18:44:29 +00:00
Jonas Maebe
666f345df4
* allow objcclasstype.classmethod()
...
git-svn-id: branches/objc@13591 -
2009-08-25 18:26:06 +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