Commit Graph

5184 Commits

Author SHA1 Message Date
pierre
1b3fd997fc + Regenerate all Makefiles's after adding x86_64 netbsd target
git-svn-id: trunk@21031 -
2012-04-24 23:15:18 +00:00
marco
7800cd4ff5 * Cleanup of adding records to bufdatasets with indexes. Mantis #20514, patch by Lacak2.
git-svn-id: trunk@21023 -
2012-04-24 17:47:18 +00:00
marco
abaf2eaf12 * sqlDB update SQLParser to parse DML statements WITH common table expressions
Patch by Lacak2, Mantis #21851

git-svn-id: trunk@21010 -
2012-04-24 08:45:16 +00:00
marco
61c4366c8e * fcl-db test for opening non-select statements, which return data by Lacak2, Mantis #21850
* Test for already fixed bugs #0016842 "show tables from <dbname>" and #0014519 "check table <tablename>"
    * Test for common table expressions used with select statement
    * plus reformating of test values (which I forgot did in rev.20585) 
   

git-svn-id: trunk@21009 -
2012-04-24 08:35:29 +00:00
michael
c664a1b921 * Added context info (method/classname/id) and fixed access violation in case of (ID<>Nil) or not (jdoNotifications in Options) error
git-svn-id: trunk@21007 -
2012-04-23 21:00:35 +00:00
michael
b5b0388f17 * Indexed is by default false, in sync with usepalette which is false by default
git-svn-id: trunk@21003 -
2012-04-23 09:44:30 +00:00
michael
a49112dcc2 * Patch from Michalis Kamburelis to fix memory leak (bug 21835)
git-svn-id: trunk@21002 -
2012-04-23 09:42:34 +00:00
marco
d8101679fa * chunk protected instead of private, Mantis #20543
git-svn-id: trunk@20969 -
2012-04-21 22:52:58 +00:00
marco
9f6121e878 * assembler wouldn't include always anymore ->changed i386 to cpui386.
Changed assembler SELF reference from ESI to EAX. (probably now hidden param instead of fixed register ESI)
    Alternative solution for Mantis #21242

git-svn-id: trunk@20968 -
2012-04-21 21:32:27 +00:00
sergei
12a4e1a37d * xmlwrite.pp, continuing with streaming API:
* Factored WriteStartElement, WriteEndElement and WriteXmlDecl into separate procedures
  * Handle element names independent from DOM.

git-svn-id: trunk@20949 -
2012-04-21 01:16:48 +00:00
marco
e76a0c1d46 * Allow setting autoinc fields in dsFilter,dsSetKey,dsInsert. Mantis #17624, patch by Lacak2.
git-svn-id: trunk@20943 -
2012-04-20 15:01:34 +00:00
joost
c820c4e586 * Better fix for r20940 based on patch from Marcelo B Paula, bug #17813
git-svn-id: trunk@20941 -
2012-04-20 14:02:41 +00:00
joost
c16b79c1a6 Improved working with stand-alone TBufDataset:
* Added tests
 * Raise exception when trying to refresh data when there are updates
 * CreateDataset now also creates a dataset based on the fields when there
   are no fielddefs available.

git-svn-id: trunk@20940 -
2012-04-20 13:45:41 +00:00
joost
3568f8a3fe * Also recognize parameters wich starts with lowercase old
git-svn-id: trunk@20939 -
2012-04-20 13:38:58 +00:00
sergei
901eb84b3d * xmlwrite.pp, started implementing the streaming API.
git-svn-id: trunk@20924 -
2012-04-19 00:21:55 +00:00
marco
86ec9c367c * Patch from Lacak2 for #16842. Fix parsing of FROM (mysql show..from)
git-svn-id: trunk@20919 -
2012-04-18 13:31:35 +00:00
marco
304db43604 * Patch from Lacak2 (Mantis #14519) that fixes "Check Table" having a
resultset (folding it onto select)

git-svn-id: trunk@20917 -
2012-04-18 10:45:21 +00:00
marco
a680c4f1d6 * Patch from Ludo that fixes that Event handlers were only created for the first CoClass that used the shared events
Mantis #21779

git-svn-id: trunk@20899 -
2012-04-16 07:47:11 +00:00
michael
3d366bca44 * Reverse erronous commit of unchecked patch
git-svn-id: trunk@20885 -
2012-04-15 14:02:16 +00:00
michael
b2ce6b2cab * Reinstated SetFound
git-svn-id: trunk@20884 -
2012-04-15 14:00:06 +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