Jonas Maebe
aee5380ae0
* merged trunk up to r20882
...
o support for the new codepage-aware ansistrings in the jvm branch
o empty ansistrings are now always represented by a nil pointer rather than
by an empty string, because an empty string also has a code page which
can confuse code (although this will make ansistrings harder to use
in Java code)
o more string helpers code shared between the general and jvm rtl
o support for indexbyte/word in the jvm rtl (warning: first parameter
is an open array rather than an untyped parameter there, so
indexchar(pcharvar^,10,0) will be equivalent to
indexchar[pcharvar^],10,0) there, which is different from what is
intended; changing it to an untyped parameter wouldn't help though)
o default() support is not yet complete
o calling fpcres is currently broken due to limitations in
sysutils.executeprocess() regarding handling unix quoting and
the compiler using the same command lines for scripts and directly
calling external programs
o compiling the Java compiler currently requires adding ALLOW_WARNINGS=1
to the make command line
git-svn-id: branches/jvmbackend@20887 -
2012-04-15 15:54:10 +00:00
michael
86c8b19336
* Patch and testcase from Luiz Americo to fix ExtractFieldName (bug 21777)
...
git-svn-id: trunk@20882 -
2012-04-15 11:52:15 +00:00
michael
5219b118d8
* Fix checkconstraints initialization and property setter (by Luiz Americo)
...
git-svn-id: trunk@20881 -
2012-04-15 09:34:09 +00:00
michael
fcb4bf4854
* Solved name conflict parser.inc is used in classes unit
...
git-svn-id: trunk@20880 -
2012-04-15 09:27:53 +00:00
sergei
86f0a4177d
* SAX cleanup: removed {$ifdef UseDynArrays}, left variant without dynarrays, they don't provide any significant advantage.
...
* Changed TList to TFPList, removed redundant FLength field.
git-svn-id: trunk@20879 -
2012-04-14 22:44:45 +00:00
sergei
931a0f159c
- Removed xmltextreader.TXMLReadState definition, it clashes with one from xmlreader.pp (this was not significant while the entire TXMLTextReader class was implementation-only).
...
git-svn-id: trunk@20873 -
2012-04-14 18:04:55 +00:00
sergei
18079355f5
* fcl-xml, going public with TXMLTextReader: moved most of the code from xmlread.pp to new unit xmltextreader.pp, auxiliary classes moved to xmlreader.pp.
...
git-svn-id: trunk@20868 -
2012-04-14 17:25:40 +00:00
michael
1ee57d4edd
* Applied cleanup patch from Luiz Americo
...
git-svn-id: trunk@20866 -
2012-04-14 14:49:01 +00:00
michael
f993b813b1
* Fixed case of range starting with negative identifier
...
git-svn-id: trunk@20865 -
2012-04-14 14:37:12 +00:00
michael
9e5081cd90
* Fixed bug #21252 (range type with identifiers)
...
git-svn-id: trunk@20864 -
2012-04-14 14:00:49 +00:00
michael
b0077a1155
* Removed some memory leaks
...
git-svn-id: trunk@20863 -
2012-04-14 13:38:33 +00:00
michael
b1f7f84b41
* Fixed parsing of set of range (bug 21642), removed some memory leaks
...
git-svn-id: trunk@20862 -
2012-04-14 13:38:00 +00:00
sergei
ed9146f918
* Simplified CheckName() a bit.
...
* Replaced some checks for terminating #0 with checks against buffer end address.
* Fixed mistake in GetLocalName(), was referring to wrong FColonPos.
* Moved parsing PE references into StartPE, reduces code duplication.
git-svn-id: trunk@20856 -
2012-04-12 21:43:51 +00:00
michael
e74b6087b3
* Dataset.Modified should be read-only
...
git-svn-id: trunk@20853 -
2012-04-12 07:10:31 +00:00
Jonas Maebe
135565e951
* enabled for AIX
...
git-svn-id: trunk@20851 -
2012-04-11 18:07:23 +00:00
Jonas Maebe
829062cd79
* fixed bootstrap rule for aix (why are all unix OSes hardcoded here?)
...
git-svn-id: trunk@20850 -
2012-04-11 18:07:16 +00:00
Jonas Maebe
29111f957e
- don't include the lineinfo unit on AIX, because it doesn't have it; in
...
general, this is also wrong because it won't work on platforms using DWARF
either
git-svn-id: trunk@20848 -
2012-04-11 18:07:06 +00:00
Jonas Maebe
adbad5ab96
+ fcl-res support for xcoff/aix
...
+ compiler support for Delphi-style resources on aix
git-svn-id: trunk@20841 -
2012-04-11 18:06:33 +00:00
Jonas Maebe
3ad16429bf
* enabled database units for aix
...
git-svn-id: trunk@20824 -
2012-04-11 18:05:11 +00:00
Jonas Maebe
44bd889b9b
* regenerated Makefiles with AIX support
...
git-svn-id: trunk@20812 -
2012-04-11 18:03:57 +00:00
Jonas Maebe
2e1b527718
+ AIX support for FV
...
git-svn-id: trunk@20811 -
2012-04-11 18:02:48 +00:00
Jonas Maebe
8335223caf
+ aix support for pthreads package
...
git-svn-id: trunk@20810 -
2012-04-11 18:02:43 +00:00
Jonas Maebe
9ca2ea7fd0
+ AIX support to Makefiles
...
git-svn-id: trunk@20809 -
2012-04-11 18:02:38 +00:00
Jonas Maebe
b0e4263fee
+ aix support in fpcmake and fpmake
...
git-svn-id: trunk@20787 -
2012-04-11 17:59:59 +00:00
sergei
91f770d774
+ TXmlReader.NameTable public property
...
+ report SystemID and PublicID of DTD as attributes
git-svn-id: trunk@20785 -
2012-04-11 16:36:13 +00:00
marco
a9e189ca31
* fix typing of some macro2procedure conversions. Mantis #21696
...
git-svn-id: trunk@20781 -
2012-04-10 13:40:29 +00:00
sergei
bed154d366
* Modified helper TLoader class to access reader node data via an interface, instead of using fields directly.
...
git-svn-id: trunk@20777 -
2012-04-09 22:10:29 +00:00
michael
3112cfbdd3
* Fix for bug #0021687 by Domingo Alvarez Duarte
...
git-svn-id: trunk@20770 -
2012-04-09 15:15:18 +00:00
sergei
69ca1accde
* Added NameTable property to TXMLReaderSettings
...
* Removed redundant ANameTable parameters from some TXMLTextReader constructors
* TDOMParser.ParseWithContext: fixed accessing the document (it may be the context node itself)
git-svn-id: trunk@20769 -
2012-04-08 22:46:41 +00:00
joost
d6033c7890
* Always notice when an external command is executed
...
* Do not change the current dir in ResolveFileNames when this is already done
git-svn-id: trunk@20762 -
2012-04-08 19:44:46 +00:00
joost
f8ab6e8adb
* The hack calling ResolveFileNames directly does not work anymore
...
git-svn-id: trunk@20761 -
2012-04-08 19:25:56 +00:00
marco
dea196cddb
* added some ifdef unicode for mantis #21667
...
git-svn-id: trunk@20760 -
2012-04-08 18:28:50 +00:00
marco
675930bd50
* commited copy-n-pase fix from #21679 , patch by Domingo Alvarez Duarte.
...
git-svn-id: trunk@20758 -
2012-04-08 17:46:14 +00:00
marco
de8427b8ec
* renamed foldstate to fsavedstate. Mantis #19542
...
git-svn-id: trunk@20756 -
2012-04-08 13:00:42 +00:00
joost
77401bda33
* Fixed warning about an example-file not being found
...
git-svn-id: trunk@20755 -
2012-04-07 21:48:40 +00:00
joost
324ad5fd06
* Fixed typo (warning) in fpmake.pp file
...
git-svn-id: trunk@20754 -
2012-04-07 21:31:39 +00:00
sergei
67d6e8d6af
* When parsing end-tags, compare input with element name from start-tag directly, without calling CheckName (performance).
...
git-svn-id: trunk@20748 -
2012-04-07 17:02:41 +00:00
joost
1e62127f20
* Give a proper error message when an external command is not found
...
* Always try to run an external command when the destination file does not
exist
* Give only a warning if the destination file is older then the source
file but the external command could not be found, give give a warning.
git-svn-id: trunk@20735 -
2012-04-06 22:25:14 +00:00
joost
7a07a6c544
* The sourcefilenames have to be resolved to be able to determine if a
...
package has to be compiled. But when not all sources are found, try
to resolve them again after the beforecompile events are triggered. It
could be that some sourcefiles are generated in those events.
git-svn-id: trunk@20724 -
2012-04-06 20:28:21 +00:00
pierre
2c4d8cc9d9
Add x86_64-openbsd target in Makefiles
...
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +00:00
sergei
da5740142e
* Small improvement to parameter entity nesting checks.
...
git-svn-id: trunk@20722 -
2012-04-06 16:31:48 +00:00
michael
84f0d3d99a
* Modified patch from Brainenjii to support multiple testsuites (bug 21655)
...
git-svn-id: trunk@20720 -
2012-04-06 09:41:12 +00:00
sergei
cc3023d55d
* Renamed TDOMParseOptions to TXMLReaderSettings (TDOMParseOptions left as alias).
...
- ResolveExternals option removed, it never actually worked and its functionality should be implemented by means of OnResolveEntity event.
* Moved OnError handler from TDOMParser to TXMLReaderSettings, TDOMParser.OnError redirected to set Options.OnError.
* TDOMParser replaced by TXMLReaderSettings in parameters of TXMLTextReader constructors.
git-svn-id: trunk@20708 -
2012-04-05 13:38:32 +00:00
marco
b2ed134379
* Fix for TField.OldValue state, patch by Lacak2, Mantis #19542
...
git-svn-id: trunk@20704 -
2012-04-04 15:00:23 +00:00
sergei
69802878c6
* xmlread.pp, changed constructor using TXMLCharSource into two constructors using TStream and Text, in order to simplify the upcoming public usage of this class.
...
git-svn-id: trunk@20698 -
2012-04-03 18:02:27 +00:00
marco
e7e486c38a
* Fixes newer protocol versions of year and genre, Mantis #21623
...
git-svn-id: trunk@20693 -
2012-04-02 11:52:40 +00:00
marco
f8e33a7a9c
* reenable dblib/freetds for win64, after successfull test.
...
git-svn-id: trunk@20692 -
2012-04-02 11:46:51 +00:00
sergei
dfec10d430
* Renamed TXMLCharSource.SystemID to SourceURI to better reflect its purpose (System ID should typically be combined with Base URI to get the full URI for the given resource).
...
git-svn-id: trunk@20687 -
2012-04-01 20:44:32 +00:00
sergei
9525abb330
* Simplified TXMLTextReader.ReadTopLevel() a bit.
...
git-svn-id: trunk@20686 -
2012-04-01 19:16:16 +00:00
marco
e0ae28b967
* Original author of GMP package now does wants to be named.
...
git-svn-id: trunk@20684 -
2012-04-01 13:17:24 +00:00