Commit Graph

3166 Commits

Author SHA1 Message Date
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
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
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
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
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
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
63b8ff87c8 * fixes for go32v2 compilation by John Lee (approved by Tomas)
git-svn-id: trunk@13791 -
2009-10-02 12:55:52 +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
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
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
marco
27f0028dcc * deduping #urlstr and #strings
git-svn-id: trunk@13767 -
2009-09-27 16:03:08 +00:00
marco
9c0e066d25 * removed stale debug writeln
git-svn-id: trunk@13759 -
2009-09-25 21:34:45 +00:00
joost
1e3b13842e * Patch from Jesus Reyes to fix streaming of TDatabase.Params property, bug #14438
git-svn-id: trunk@13758 -
2009-09-25 16:59:00 +00:00
joost
45b20dac4e * Added the global variable CustomApplication. If this variable is set
when a Application-object is initialized, other units can access this
   Application-object without knowing its exact type or unit it is 
   defined in.

git-svn-id: trunk@13747 -
2009-09-20 12:42:25 +00:00
andrew
5c64c75dd7 * fixed bug #14595
* small speed improvements

git-svn-id: trunk@13740 -
2009-09-19 01:19:35 +00:00
Jonas Maebe
2db72437e8 * fixed range check errors
git-svn-id: trunk@13736 -
2009-09-18 10:34:06 +00:00
joost
b52af4cd53 * Introduced TCustomWebApplication.DoHandleRequest
git-svn-id: trunk@13735 -
2009-09-18 09:34:05 +00:00
sergei
fc34dc84ff domunit.pp:
+ Added TDOMTestBase.LoadStringData method, allows loading documents from string.
* Don't return empty string from GetResourceURI when file doesn't exist. Thus we can see the problematic filename in the test output.

+ Added extras.pp, contains a few tests not present in w3.org test suite.
+ Added extras2.pp, contains some tests ported by hand because no automatic conversion possible yet. It addresses namespace fixup during serialization and canonical-form issues.

README_DOM.txt: updated to reflect the added units.

git-svn-id: trunk@13729 -
2009-09-17 09:58:15 +00:00
marco
56e15073bb * sha1test demo + fpmake
git-svn-id: trunk@13728 -
2009-09-16 20:32:07 +00:00
florian
ce773b759d + sha1 unit by Sergei Gorelkin, resolves #14604
git-svn-id: trunk@13727 -
2009-09-16 20:24:40 +00:00
ivost
d9099daa9c * fixed InitializeSqlite and ReleaseSqlite functions (segfault after a call
to ReleaseSqlite with refcount=0)
* changed all shortstrings to ansistrings ({$h+})

git-svn-id: trunk@13719 -
2009-09-16 08:50:42 +00:00
marco
be6322be9e * note about location win32 dll
git-svn-id: trunk@13715 -
2009-09-15 11:10:34 +00:00
marco
4eeeb3298e * enabled gmp for Win32 after verification
git-svn-id: trunk@13714 -
2009-09-15 11:10:20 +00:00
marco
33d09f97e6 * gmp disabled for go32v2
git-svn-id: trunk@13713 -
2009-09-15 10:59:32 +00:00
marco
abda06eb20 * enabled gmp for Linux,FreeBSD and Darwin (Mischi tested)
git-svn-id: trunk@13704 -
2009-09-13 14:00:06 +00:00
marco
66240c1204 * fixes that I though were committed
git-svn-id: trunk@13694 -
2009-09-12 11:13:19 +00:00
Vincent Snijders
d0c608609e * fixed linking with libcairo on darwin in a similar way as done in r13674
git-svn-id: trunk@13675 -
2009-09-08 10:06:56 +00:00
paul
f9d5d01ab4 gtk2: fix compilation on OS X (by Vincent Snijders, issue #0014533)
git-svn-id: trunk@13674 -
2009-09-08 04:54:24 +00:00
andrew
76769d8e18 * Added reading and writing binary TOC for chms.
* Fixed a small bug in chmwriter where strings could have been written across blocks.
* Added a methon to TChmReader to get the toc sitemap. Will use binary toc first if available then text if not.

git-svn-id: trunk@13673 -
2009-09-08 02:35:27 +00:00
Jonas Maebe
40c5ed111c * copy/paste errors for building units shared fixed (patch by Pierre Pede,
part of mantis #12492)

git-svn-id: trunk@13672 -
2009-09-07 19:47:13 +00:00
marco
da9458587d * GMP initial version.
git-svn-id: trunk@13667 -
2009-09-07 13:50:31 +00:00
Legolas
00a3dae729 * Enabled -Xm switch for NDS and GBA and switched from abi_default to abi_eabi
* Fixed NDS libfat linking

git-svn-id: trunk@13664 -
2009-09-06 18:47:22 +00:00
marco
f60a4e31a2 * Two demoes for htmlhelp header.
git-svn-id: trunk@13656 -
2009-09-05 23:36:19 +00:00
florian
1b04684d78 o more MingW support, see also discussion of #7412:
+ automatic detection of MingW libgdb
  + additional libraries

git-svn-id: trunk@13652 -
2009-09-05 17:05:26 +00:00
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
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
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