Commit Graph

31172 Commits

Author SHA1 Message Date
sergei
d156a08593 * Hunted down another node pool bug, thanks to Vincent Snijders and mighty valgrind. Due to wrong condition, the last block of extent wasn't used to put an object there, but later a cleanup attempt at that address was attempted.
git-svn-id: trunk@13824 -
2009-10-09 15:37:15 +00:00
florian
81813fb64f * output style more like the coding style fpc sources commonly are using
git-svn-id: trunk@13823 -
2009-10-09 12:57:50 +00:00
florian
e17d6c1624 * handle postfix type declations in typedefs properly
* small indention fixes
* omit empty lines after TypeName

git-svn-id: trunk@13822 -
2009-10-09 12:37:33 +00:00
florian
48e259876b * support LL as int number postfix
git-svn-id: trunk@13821 -
2009-10-09 12:07:36 +00:00
florian
41c5735b40 + handle unary plus
git-svn-id: trunk@13820 -
2009-10-09 12:03:48 +00:00
andrew
8ebab7b2c1 * added multithreaded lzx compression for lzx. Must be enabled with -dLZX_USETHREADS
* Updated makefile.fpc and Makefile for packages/chm

git-svn-id: trunk@13819 -
2009-10-09 10:50:41 +00:00
sergei
8798a9d558 xmlread.pp:
* Report unclosed Ignore section as soon as it is detected, improves error messages and simplifies the code.
* Since SkipUntilSeq is only ever called with 1 or 2 delimiter chars, support just that rather than arbitrary-length array. Simplifies code.

git-svn-id: trunk@13818 -
2009-10-08 14:48:34 +00:00
sergei
dbf48c0535 * Fixed (runtime) overflows and range checks, so the package runs after compiling with OPT="-Criot -gtl". That Delphi compatibility patch is starting to cause more trouble than benefit...
git-svn-id: trunk@13817 -
2009-10-08 00:46:27 +00:00
sergei
2a924d0335 * For some reason, any assignment of NaN cannot be compiled with overflow checking, issue #14748.
git-svn-id: trunk@13816 -
2009-10-07 21:27:11 +00:00
sergei
5e6bc7d36c * Also updated errorr.msg, cp866 encoding is needed for Windows console.
git-svn-id: trunk@13815 -
2009-10-07 17:43:44 +00:00
sergei
337d0b1b21 Updated Russian message file, and changed cp1251 encoding to UTF-8.
git-svn-id: trunk@13814 -
2009-10-07 17:36:27 +00:00
Jonas Maebe
da58a01ce6 * fixed stabs debug information for parameters copied into local variables
(fixes displaying value shortstring parameters on SPARC, as reported on
     fpc-devel mailing list on 20091005 by Mark Morgan Lloyd)

git-svn-id: trunk@13813 -
2009-10-06 13:51:16 +00:00
florian
bc9cffa739 * properties fixed
git-svn-id: trunk@13812 -
2009-10-06 12:04:09 +00:00
florian
cbfcb00ded * don't eat char directly after a comment
git-svn-id: trunk@13811 -
2009-10-06 12:01:26 +00:00
marco
63ae28d9f7 * Some structures for BTree purposes.
git-svn-id: trunk@13810 -
2009-10-06 11:14:24 +00:00
sergei
4d2e6bac7f * TDOMDocument now checks its children and allows only a single Element/DocType child. This fixes about 8 test cases at Level 3.
+ Initial moves to implement TDOMNode.BaseURI (not yet functional)

git-svn-id: trunk@13809 -
2009-10-06 11:03:25 +00:00
marco
6113876842 * skeleton function for binary index reading.
* toc and index now have a boolean parameter that allows to force reading
      the XML components. E.g. in case binary reading is broken in a release,
      Lazarus can simply switch to textual for a while.

git-svn-id: trunk@13808 -
2009-10-06 10:59:04 +00:00
marco
04247a4840 * more memory leaks fixed. Fpdoc is now memsafe except for the fcl-passrc bits
git-svn-id: trunk@13807 -
2009-10-05 21:10:47 +00:00
marco
8438ec58f7 * memleak fixed
git-svn-id: trunk@13806 -
2009-10-05 20:45:46 +00:00
marco
9764ea95d1 * check for css-file existance
git-svn-id: trunk@13805 -
2009-10-05 18:19:36 +00:00
marco
b884462ac4 * winutils unit, for simple api wrapper functions.
* First function in it: isadmin, to check if an user is admin.

git-svn-id: trunk@13804 -
2009-10-04 17:43:08 +00:00
marco
1e7ee7aef4 * Patch from Paul Ishenin, load stringlists with fmdenywrite. (improves sharing behaviour)
git-svn-id: trunk@13803 -
2009-10-04 13:36:43 +00:00
joost
271ed77004 * patch from José Mejuto to fix applying more then one update when there is an update or insert query present, bug #14331
git-svn-id: trunk@13802 -
2009-10-04 11:04:31 +00:00
florian
515774b864 * merged armthum branch
-- Zusammenführen der Unterschiede zwischen Projektarchiv-URLs in ».«:
U    rtl/arm/setjump.inc
A    rtl/arm/thumb2.inc
U    rtl/arm/divide.inc
A    rtl/embedded/arm/stm32f103.pp
U    rtl/inc/system.inc
U    compiler/alpha/cgcpu.pas
U    compiler/sparc/cgcpu.pas
U    compiler/i386/cgcpu.pas
U    compiler/ncgld.pas
U    compiler/powerpc/cgcpu.pas
U    compiler/avr/cgcpu.pas
U    compiler/aggas.pas
U    compiler/powerpc64/cgcpu.pas
U    compiler/x86_64/cgcpu.pas
U    compiler/cgobj.pas
U    compiler/psystem.pas
U    compiler/aasmtai.pas
U    compiler/m68k/cgcpu.pas
U    compiler/ncgutil.pas
U    compiler/rautils.pas
U    compiler/arm/raarmgas.pas
U    compiler/arm/armatts.inc
U    compiler/arm/cgcpu.pas
U    compiler/arm/armins.dat
U    compiler/arm/rgcpu.pas
U    compiler/arm/cpubase.pas
U    compiler/arm/agarmgas.pas
U    compiler/arm/cpuinfo.pas
U    compiler/arm/armop.inc
U    compiler/arm/narmadd.pas
U    compiler/arm/aoptcpu.pas
U    compiler/arm/armatt.inc
U    compiler/arm/aasmcpu.pas
U    compiler/systems/t_embed.pas
U    compiler/psub.pas
U    compiler/options.pas

git-svn-id: trunk@13801 -
2009-10-04 09:03:44 +00:00
sergei
0c41473f7b Two more DOM Level 3 functions + tests for them:
+ TDOMNode.lookupPrefix()
+ TDOMNode.isDefaultNamespaceURI()

git-svn-id: trunk@13800 -
2009-10-03 23:35:20 +00:00
florian
cfe0702494 * set localalignmax properly for arm-oabi, fixes arm-oabi-linux building
git-svn-id: trunk@13799 -
2009-10-03 21:58:46 +00:00
Jonas Maebe
b8a28ff5da * zapped gremlins that threw off dotest's detection of the %fail
git-svn-id: trunk@13798 -
2009-10-03 20:32:46 +00:00
Jonas Maebe
1be734afdf * compile new WebKit and CoreData units
git-svn-id: branches/objc@13797 -
2009-10-03 17:12:10 +00:00
josef
ca6ef63ad2 * NSRange is defined correctly
+ Added CoreData framework
  + Added WebKit framework

git-svn-id: branches/objc@13796 -
2009-10-03 10:32:49 +00:00
Jonas Maebe
762a0c7059 * try to prevent addresses from being PICified multiple times (should fix
regressions after r13760)

git-svn-id: trunk@13795 -
2009-10-02 14:13:10 +00:00
Jonas Maebe
1eceb2ca65 * don't allow properties to expose private fields of parent classes
(mantis #14650)

git-svn-id: trunk@13794 -
2009-10-02 13:50:52 +00:00
Jonas Maebe
da8355c830 * made FPathInfo field of TServletRequest protected instead of private,
because it's exposed by a property in a derived class

git-svn-id: trunk@13793 -
2009-10-02 13:42:30 +00:00
Jonas Maebe
0cec8832f7 - removed svn:executable flags
git-svn-id: branches/objc@13792 -
2009-10-02 13:04:57 +00:00
Jonas Maebe
63b8ff87c8 * fixes for go32v2 compilation by John Lee (approved by Tomas)
git-svn-id: trunk@13791 -
2009-10-02 12:55:52 +00:00
Jonas Maebe
d5bc9c09c6 * fixed CGFloat definition after r13786
git-svn-id: branches/objc@13790 -
2009-10-02 08:34:24 +00:00
sergei
78b41cd8f6 + XML writer now performs the namespace normalization.
git-svn-id: trunk@13789 -
2009-10-01 19:29:13 +00:00
sergei
eb18aa8831 + 3 more tests for verifying the namespace fixup
git-svn-id: trunk@13788 -
2009-10-01 19:14:36 +00:00
sergei
d2c3ab0730 * r13729 was broken due to missing typecast, shame on me. Fixed.
git-svn-id: trunk@13787 -
2009-10-01 19:11:47 +00:00
josef
a2c6e6e65d * User patches are now working
* Pointers to classes are no longer untyped.

git-svn-id: branches/objc@13786 -
2009-10-01 14:44:45 +00:00
Jonas Maebe
606b7f4f80 * fixed (harmless) range error in cross-endian crosscompiling code for
parsing constant sets

git-svn-id: trunk@13785 -
2009-10-01 12:08:30 +00:00
Jonas Maebe
8700874a96 * don't call class_getSuperClass() anymore to obtain the superclass, but
load it inline. This should be safe even on the non-fragile ABI, because
    the isa and superclass fields are expected at fixed offsets by the runtime
    (and gcc and clang also use direct memory accesses in this case)

git-svn-id: branches/objc@13784 -
2009-10-01 12:07:22 +00:00
Jonas Maebe
3660bf7f98 * integrated the transformation of an Objective-C method call into a call
to objc_msgSend* into the callnode. This allows reusing the current
    call node rather than having to create a new one, and is in particular
    necessary because even though the objc_msgSend* functions are declared
    as varargs, you're supposed to typecast them to the function type
    describing the method before calling them (so they should *not* use
    varargs calling conventions!)
  * for the above, a field called fobjcforcedprocname has been added to the
    callnode, which can be set to a string that will be used as the (mangled)
    name of the function to call instead of the mangled name of the procsym
  -> fixes calling obj-c methods with floating point arguments on ppc

git-svn-id: branches/objc@13783 -
2009-10-01 12:05:11 +00:00
Jonas Maebe
97ba8de56c * don't export the symbols for "strict private" fields (it was only not
done for regular private fields)

git-svn-id: branches/objc@13782 -
2009-10-01 11:55:23 +00:00
joost
1ea6307a78 * Allow the use of the mysql client version 5.1 with TMysqlClient50Connection
git-svn-id: trunk@13781 -
2009-09-30 18:10:51 +00:00
josef
602d0ffa54 * Parser was ignoring -root input in previous version.
git-svn-id: branches/objc@13772 -
2009-09-28 13:11:23 +00:00
mazen
591878da36 * Source coude don't need to be executable (removes Debian lintian error).
git-svn-id: trunk@13771 -
2009-09-28 11:25:25 +00:00
josef
5a669ebd54 * Procedures with varargs are parsed properly.
* Fixed macro that was causing CFString constants to fail.
  * Removed MacOSAll dependency from iPhoneAll.pas.
  * More enumerations are parsed in all frameworks.
  * Properties that returned values in iPhone headers are now fixed.
  * Properties from categories are included now.
  + Users can add hand parsed patches by putting them in the patches directory and they will be included during parsing.

git-svn-id: branches/objc@13770 -
2009-09-28 10:39:28 +00:00
Jonas Maebe
50f37ad445 + support for single character message names (patch by Dmitry Boyarintsev,
mantis #14680)

git-svn-id: branches/objc@13769 -
2009-09-28 09:43:34 +00:00
Jonas Maebe
3f0eee741a * fixed checking whether first character of a selector is valid (patch by
Dmitry Boyarintsev, mantis #14680)

git-svn-id: branches/objc@13768 -
2009-09-28 08:40:27 +00:00
marco
27f0028dcc * deduping #urlstr and #strings
git-svn-id: trunk@13767 -
2009-09-27 16:03:08 +00:00