Commit Graph

29205 Commits

Author SHA1 Message Date
joost
1f960d8d59 * Implemented abstract class TBufDatasetReader and TXMLBufDatasetReader
git-svn-id: trunk@11740 -
2008-09-10 20:23:33 +00:00
florian
b178b08ba7 Merged revisions 11665-11738 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/unicodestring

........
  r11665 | florian | 2008-08-30 13:30:17 +0200 (Sat, 30 Aug 2008) | 1 line
  
  * continued to work on unicodestring type support
........
  r11666 | florian | 2008-08-30 19:02:26 +0200 (Sat, 30 Aug 2008) | 2 lines
  
  * expectloc for wide/ansi/unicode strings is LOC_CONSTANT or LOC_REGISTER now
........
  r11667 | florian | 2008-08-30 20:42:37 +0200 (Sat, 30 Aug 2008) | 1 line
  
  * more unicodestring stuff fixed, test results on win32 are already good
........
  r11670 | florian | 2008-08-30 23:21:48 +0200 (Sat, 30 Aug 2008) | 2 lines
  
  * first fixes for unix bootstrapping
........
  r11683 | ivost | 2008-09-01 12:46:39 +0200 (Mon, 01 Sep 2008) | 2 lines
  
      * fixed 64bit bug in iconvenc.pas
........
  r11689 | florian | 2008-09-01 23:12:34 +0200 (Mon, 01 Sep 2008) | 1 line
  
  * fixed several errors when building on unix
........
  r11694 | florian | 2008-09-03 20:32:43 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * fixed unix compilation
........
  r11695 | florian | 2008-09-03 21:01:04 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * bootstrapping fix
........
  r11696 | florian | 2008-09-03 21:07:18 +0200 (Wed, 03 Sep 2008) | 1 line
  
  * more bootstrapping fixed
........
  r11698 | florian | 2008-09-03 22:47:54 +0200 (Wed, 03 Sep 2008) | 1 line
  
  + two missing compiler procs exported
........
  r11701 | florian | 2008-09-04 16:42:34 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  + lazarus project for the linux rtl
........
  r11702 | florian | 2008-09-04 16:43:27 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  + set unicode string procedures
........
  r11707 | florian | 2008-09-04 23:23:02 +0200 (Thu, 04 Sep 2008) | 2 lines
  
  * fixed several type casting stuff
........
  r11712 | florian | 2008-09-05 22:46:03 +0200 (Fri, 05 Sep 2008) | 1 line
  
  * fixed unicodestring compilation on windows after recent unix changes
........
  r11713 | florian | 2008-09-05 23:35:12 +0200 (Fri, 05 Sep 2008) | 1 line
  
  + UnicodeString support for Variants
........
  r11715 | florian | 2008-09-06 20:59:54 +0200 (Sat, 06 Sep 2008) | 1 line
  
  * patch by Martin Schreiber for UnicodeString streaming
........
  r11716 | florian | 2008-09-06 22:22:55 +0200 (Sat, 06 Sep 2008) | 2 lines
  
  * fixed test
........
  r11717 | florian | 2008-09-07 10:25:51 +0200 (Sun, 07 Sep 2008) | 1 line
  
  * fixed typo when converting tunicodestring to punicodechar
........
  r11718 | florian | 2008-09-07 11:29:52 +0200 (Sun, 07 Sep 2008) | 3 lines
  
  * fixed writing of UnicodeString properties
  * moved some helper routines to unicode headers
........
  r11734 | florian | 2008-09-09 22:38:55 +0200 (Tue, 09 Sep 2008) | 1 line
  
  * fixed bootstrapping
........
  r11735 | florian | 2008-09-10 11:25:28 +0200 (Wed, 10 Sep 2008) | 2 lines
  
  * first fixes for persisten unicodestrings
........
  r11736 | florian | 2008-09-10 14:31:00 +0200 (Wed, 10 Sep 2008) | 3 lines
  
  Initialized merge tracking via "svnmerge" with revisions "1-11663" from 
  http://svn.freepascal.org/svn/fpc/trunk
........
  r11737 | florian | 2008-09-10 21:06:57 +0200 (Wed, 10 Sep 2008) | 3 lines
  
  * fixed unicodestring <-> variant handling
  * fixed unicodestring property reading
........

git-svn-id: trunk@11739 -
2008-09-10 20:14:31 +00:00
florian
ffed6aae86 Initialized merge tracking via "svnmerge" with revisions "1-11664" from
http://svn.freepascal.org/svn/fpc/branches/unicodestring

git-svn-id: trunk@11738 -
2008-09-10 19:12:38 +00:00
michael
89b8e2e9e7 * Fixed SetItem as per bugreport of Paul Ishenin
git-svn-id: trunk@11732 -
2008-09-09 06:41:57 +00:00
Jonas Maebe
4f5513466a * reverted r11671 because it breaks tthread.waitfor on unix
git-svn-id: trunk@11731 -
2008-09-08 21:10:38 +00:00
sekelsenmat
fb8ffb0b99 Renames MaxRecordLength to the better DefaultRecordLength and fixes default size setting in sdfdata
git-svn-id: trunk@11730 -
2008-09-08 18:19:33 +00:00
sekelsenmat
b573908e93 Allows the maximum record size in TFixedDataset and descendents to be modifyed.
git-svn-id: trunk@11727 -
2008-09-07 19:17:12 +00:00
Jonas Maebe
156acf3817 * fixed version of r11719 (faster parsing of units with lots of declarations
in many different type blocks)

git-svn-id: trunk@11722 -
2008-09-07 13:51:04 +00:00
Jonas Maebe
e43ae1ceee * use p.resultdef (representing a property array range) before freeing p
git-svn-id: trunk@11721 -
2008-09-07 13:31:39 +00:00
Jonas Maebe
f35051f76e - reverted r11719, there are still some problems with it
git-svn-id: trunk@11720 -
2008-09-07 12:45:08 +00:00
Jonas Maebe
632abdace8 * keep the syms that need to be checked for forward definitions in a
separate list, so that procsyms, constsym, varsyms etc are not checked
    and so that every sym is checked only once (rather than at the end
    of every type block). This makes parsing units with lots of declarations
    much faster (e.g., compiling MacOSAll is now 2 to 3 times faster)

git-svn-id: trunk@11719 -
2008-09-07 12:24:57 +00:00
Jonas Maebe
bc9e7c5580 * fixed syntax errors in r11708 (and it wasn't tested in the nightly
Sparc regressions tests because Solaris is an FPC_USE_LIBC platform,
    and these use memset rather than the generic fillchar)

git-svn-id: trunk@11711 -
2008-09-05 13:14:41 +00:00
marco
ca0bdc816b * shared suffix use for fb (for mac os x compat), bug #12062
git-svn-id: trunk@11710 -
2008-09-05 07:47:25 +00:00
Jonas Maebe
a933a70cfc * fixed test (it should fail)
git-svn-id: trunk@11709 -
2008-09-05 07:28:05 +00:00
Jonas Maebe
af05770a7c * fixed alignment code in generic fillchar (not sure why
tests/test/tfillchr didn't fail in the nightly sparc tests)

git-svn-id: trunk@11708 -
2008-09-04 21:42:51 +00:00
Jonas Maebe
65f5557fc4 + test for mantis #12051 (already works correctly in 2.3.1)
git-svn-id: trunk@11704 -
2008-09-04 18:48:25 +00:00
Jonas Maebe
2b067a427d * give warning if a routine in the interface of a non-interface-only
macpas routine is not implemented and therefore considered to be
    external

git-svn-id: trunk@11703 -
2008-09-04 18:15:26 +00:00
florian
ceb071d649 + missing {$goto on} added
git-svn-id: trunk@11700 -
2008-09-04 08:52:04 +00:00
peter
e90ce867d9 * fphashlist, update hashcapacity also if capacity is changed
git-svn-id: trunk@11699 -
2008-09-03 21:04:53 +00:00
peter
060bdbcb47 * fix writing of goto node to ppu
* replace derefnode with resolveppuidx method that only needs to be
    implemented for nodes referencing other nodes
  * fix IE when a label is not defined in inline function

git-svn-id: trunk@11697 -
2008-09-03 20:46:04 +00:00
Jonas Maebe
7aee2f3d71 * moved fplstat(ansistring,pstat) overload to bunxovl(h).inc, so all
platforms have (fixes compilation for FPC_USE_LIBC platforms after
    r11681)

git-svn-id: trunk@11693 -
2008-09-02 10:14:45 +00:00
ivost
5c33285229 * fixed 64bit bug in iconvenc.pas
git-svn-id: trunk@11688 -
2008-09-01 18:46:40 +00:00
michael
0ed810b6b0 * Fixed default value for floats (mantis #9183)
git-svn-id: trunk@11687 -
2008-09-01 16:54:05 +00:00
michael
64e6d68a64 * Implemented StrictDelimiter without the delphi bugs (mantis #8910)
git-svn-id: trunk@11686 -
2008-09-01 16:06:28 +00:00
marco
42f8738003 * shappbarmessage missed a indirection (pointer), bug #12024
git-svn-id: trunk@11684 -
2008-09-01 11:54:49 +00:00
michael
d2169a7e43 * In case no default is specified and no NoDefault is present, act as if NoDefault was given. (bug ID 10080, now we are Delphi compatible)
git-svn-id: trunk@11682 -
2008-09-01 10:05:52 +00:00
michael
7a058a9bf2 * Added overloaded call for fplstat which has var argument (as for stat)
* Implemented support for faSymlink, as per 9915

git-svn-id: trunk@11681 -
2008-09-01 09:17:58 +00:00
michael
ca4fa01f8f * Fixed formaatfloat for negative numbers (Bug ID 11711) objpas/sysutils/sysstr.inc
git-svn-id: trunk@11680 -
2008-08-31 22:25:19 +00:00
michael
d0d3a79731 * Patch from Martin Schreiber to fix streaming inherited collections
(mantis #11774)

git-svn-id: trunk@11679 -
2008-08-31 21:57:27 +00:00
michael
e4b4875bb0 * Added support for interface delegation (Implements)
git-svn-id: trunk@11678 -
2008-08-31 21:25:53 +00:00
michael
53deaee379 * Added support for interface delegation (Implements)
git-svn-id: trunk@11677 -
2008-08-31 21:25:21 +00:00
michael
461ba64623 * Fixed link detection to units that have not yet been scanned
git-svn-id: trunk@11676 -
2008-08-31 21:09:21 +00:00
michael
1e563e9718 * Patch from Zolotov Alex to include apr_hash
git-svn-id: trunk@11675 -
2008-08-31 20:22:21 +00:00
michael
b0d803c0a8 * Fixed bug #0011528,
* StripQuotes now also does single quotes.
* Note that for TMemIniFile the previous behaviour (StripQuotes=False) is kept, which
  is Delphi compatible.

git-svn-id: trunk@11674 -
2008-08-31 20:14:05 +00:00
michael
46f9928054 * Patch so uninitialized sockets are not closed
git-svn-id: trunk@11673 -
2008-08-31 15:01:05 +00:00
Jonas Maebe
65f217ed02 * only set dynarray pointer to nil in decref in case the last reference
has been destroyed (mantis #12000)

git-svn-id: trunk@11672 -
2008-08-31 10:07:53 +00:00
michael
c179162028 * Call EndThread manually if thread function returns (mantis #11490)
git-svn-id: trunk@11671 -
2008-08-30 21:48:39 +00:00
michael
d9255c3220 * Added RunArguments
git-svn-id: trunk@11669 -
2008-08-30 21:15:04 +00:00
michael
10511e99ed * Print short description of linked node in class overview
git-svn-id: trunk@11668 -
2008-08-30 21:05:52 +00:00
yury
2637f29ec4 * Keep declaration of CeOidGetInfoEx2 with var parameter for backward compatibility.
git-svn-id: trunk@11663 -
2008-08-29 08:56:22 +00:00
Jonas Maebe
02913dc738 * fixed oo_is_forward flag (from old patch by Dave Strodt)
git-svn-id: trunk@11662 -
2008-08-29 07:42:21 +00:00
Jonas Maebe
ffeba2fd10 * use LOC_REGISTER instead of LOC_CREGISTER for constant string pointers
git-svn-id: trunk@11661 -
2008-08-28 21:03:14 +00:00
yury
3e7ab056a9 * Patch by Carolos Foscolos.
git-svn-id: trunk@11660 -
2008-08-28 15:45:04 +00:00
Almindor
e5a798c01f * applied patch from Hansi, fixes TInetSocket.DoConnect
git-svn-id: trunk@11659 -
2008-08-28 09:54:48 +00:00
Jonas Maebe
3f39c95163 * fixed asd_references for ansi/widestrings on Darwin
git-svn-id: trunk@11658 -
2008-08-27 22:38:05 +00:00
florian
9955d5b061 o patch from Sergej Gorelkin to improvement code generation for string literals
* Replaces linear search through assembler list by the hash lookup. 
    This considerably improves performance on large projects 
    (one example is winunits-jedi package, in which tcgstringconstnode.pass_generate_code 
     was top #1 in calltree, consuming about 12% IRefs).
  * Enables reusing memory locations for widestring constants 
    (and in general, the same approach may be used for any other type of constants).
  * Saves a sizeof(pointer) bytes per constant, by removing a location 
    which points to the string. This location is necessary for the 
    typed consts which may be modified, but redundant for string literals 
    because the language does not allow to modify string literals in any way. 

git-svn-id: trunk@11657 -
2008-08-27 15:16:45 +00:00
yury
a01db888c2 * Patch by Carolos Foscolos. PCEOID, CREATE_INVALIDGUID and cleaned up file also included windbase_edb.inc which is now called by windbase.
git-svn-id: trunk@11656 -
2008-08-26 08:02:20 +00:00
ivost
5eb4081bc0 * fixed bug in libxml2 tree.inc
* added new xsd helper functions

git-svn-id: trunk@11655 -
2008-08-25 22:19:48 +00:00
ivost
01dc3a0e12 * xmlxsd helper unit
* removed csrc from libxml directory

git-svn-id: trunk@11654 -
2008-08-25 21:14:23 +00:00
Almindor
a2ff73bd8f * fix lua_alloc callback definition
git-svn-id: trunk@11653 -
2008-08-25 20:31:00 +00:00