michael
6d93a762fd
* And once more fixed formatfloat. All results consistent with Delphi now
...
git-svn-id: trunk@12323 -
2008-12-10 20:39:16 +00:00
Jonas Maebe
53a638ad9f
- removed no longer needed alias names
...
git-svn-id: trunk@12322 -
2008-12-10 19:24:01 +00:00
michael
73c40daa30
* Better TeX escape character checking
...
git-svn-id: trunk@12321 -
2008-12-10 19:03:36 +00:00
marco
a82cb6d899
* updated "pending" to longint, as a possible solution for bug #12514
...
git-svn-id: trunk@12319 -
2008-12-09 13:36:35 +00:00
michael
7666920852
* Patch from Sergei Gorelkin:
...
xmlread.pp:
* Remove TXMLReader.FCurChar, by replacing it by FSource.FBuf^.
* Aiming to support any input encoding, the parser has been refactored
to consume UTF-16 produced by 'xml-unaware' decoder (i.e. with line
endings unadjusted and possibly containing chars that are invalid for
XML). The majority of parsing is now done in SkipUntil methods of
TXMLCharSource and TXMLDecodingSource. This design also considerably
increases performance because it processed chars in batches instead of
one-by-one (the decoders still process chars one-by-one, but they are
subject for soon replacement).
* Signature of BufAppendChunk changed to take starting and ending
addresses of the buffer instead of starting address and length.
* More sophisticated parsing of end-tags, avoids calls to StoreLocation
if possible (despite its trvial look, StoreLocation is quite expensive
in CPU cycles).
dom.pp:
* Some progress with DOM level 2. Implemented namespaceURI, prefix,
localName properties for Elements and Attributes. The namespace
information occupies only 32 bits per node.
* Implemented storing names of elements and attributes in a hash table.
This considerably reduces amount of used memory because each unique
string is stored only once. Reducing memory allocation count also
improves parsing speed.
* Using the hash table also allows to link DTD declarations directly to
the element nodes, avoiding any lookup at all.
dom_htmp.pp:
* Merely fixes compilation after changes to the DOM.
git-svn-id: trunk@12318 -
2008-12-08 19:51:46 +00:00
joost
18d7882659
* Removed some invalid debug-code
...
git-svn-id: trunk@12315 -
2008-12-08 12:59:54 +00:00
joost
853b5e83fd
* The size=-1 case it not necessary anymore after r12313
...
git-svn-id: trunk@12314 -
2008-12-07 23:02:06 +00:00
joost
b3ebc67be2
* Only the lowest 16 bits of pqfmod gives the scale
...
git-svn-id: trunk@12313 -
2008-12-07 22:19:07 +00:00
florian
ee1961fdf0
* merged ColorSel implementations of Marco van de Voort and Andreas Jakobsche
...
git-svn-id: trunk@12311 -
2008-12-07 12:21:05 +00:00
marco
899809777c
* a local buffer for pchar based filename handling was still at TP sizes
...
(80), and did not follow the libraries abstraction (array [tfsize]) for
length of paths. (Reporter Lichtwicht, lazarusforum.de)
git-svn-id: trunk@12306 -
2008-12-06 12:22:10 +00:00
marco
cba8503e2b
* added skeleton for colorsel I still had lying around, derived from IDE src. Should be possible to expand them based on PD C++ TV code?
...
git-svn-id: trunk@12305 -
2008-12-06 11:37:56 +00:00
michael
87a6193f4f
* Hopefully fixed formatfloat negative value bugs once and for all
...
git-svn-id: trunk@12303 -
2008-12-05 10:54:22 +00:00
michael
bcc1287bbc
* Patch from Graeme Geldenhuys to improve DUnit compatibility
...
git-svn-id: trunk@12302 -
2008-12-05 09:46:42 +00:00
joost
f70cc85509
* Reverted accidentally committed files in r12300
...
git-svn-id: trunk@12301 -
2008-12-04 21:22:07 +00:00
joost
0a7b499443
* Added sqlite3-test configuration example
...
git-svn-id: trunk@12300 -
2008-12-04 21:20:25 +00:00
joost
51d5320fdb
* Call mysql_library_init and mysql_library_end automatically when loading the mysqlclient dynamically. Fixes bug #9751
...
* Initializes refcount
git-svn-id: trunk@12297 -
2008-12-04 20:22:16 +00:00
sekelsenmat
557fd1e1c6
Moves gettext test to correct position
...
git-svn-id: trunk@12291 -
2008-12-02 16:35:29 +00:00
sekelsenmat
15e597682e
Fixes gettext crash under Windows CE and adds test case for it.
...
git-svn-id: trunk@12290 -
2008-12-02 16:01:25 +00:00
joost
19a73853bd
* Use DynLibs.Sharedsuffix for postgres,sqlite and odbc
...
git-svn-id: trunk@12289 -
2008-12-02 13:30:33 +00:00
joost
332fcd325d
* Improved error-handling
...
git-svn-id: trunk@12288 -
2008-12-02 12:57:17 +00:00
joost
a41ccd5a70
* Fixed oracle-cursor leak
...
git-svn-id: trunk@12287 -
2008-12-02 12:33:27 +00:00
joost
1099eabc87
Patch from Luiz Americo
...
* Publish FieldDefs property
git-svn-id: trunk@12286 -
2008-12-01 20:55:47 +00:00
joost
ae73acefcf
* Made EODBCExcetion derrive from EDatabaseError instead of Exception directly
...
git-svn-id: trunk@12285 -
2008-12-01 13:29:37 +00:00
joost
a7086e7164
* Allow parameter-names between double-quotes
...
* Place parameter-names between double-quotes in TBufDataset.ApplyUpdates +tests (bug 12275)
git-svn-id: trunk@12284 -
2008-12-01 13:13:48 +00:00
michael
e9976b6ced
* Some fixes for the case of inexact matches
...
git-svn-id: trunk@12283 -
2008-11-30 22:32:54 +00:00
joost
c8467353ea
* Fix for two columns with the same name
...
git-svn-id: trunk@12280 -
2008-11-29 22:43:54 +00:00
joost
c3112bd7cb
* Reverted accidently committed files in r12278
...
git-svn-id: trunk@12279 -
2008-11-29 22:41:53 +00:00
joost
27e3bc5240
* Ignore TestParametersAndDates for sqlite since it uses a semicolon as a cast, which is not supported by sqlite
...
git-svn-id: trunk@12278 -
2008-11-29 22:39:39 +00:00
joost
41af4c76ac
* Fixed TestStringParamQuery
...
git-svn-id: trunk@12277 -
2008-11-29 19:44:54 +00:00
joost
55c866f9d3
* Added missing brackets in r12266
...
git-svn-id: trunk@12276 -
2008-11-29 19:02:37 +00:00
micha
aa38b10011
* attempt to fix powerpc64-linux sync_file_range compilation
...
git-svn-id: trunk@12274 -
2008-11-29 15:43:09 +00:00
michael
feb9549f85
* Patch from Mattias Gaertner to reduce memory usage for interpolations
...
git-svn-id: trunk@12272 -
2008-11-29 15:32:33 +00:00
florian
dbd037afcc
* link against libc when profiling
...
git-svn-id: trunk@12269 -
2008-11-29 12:28:43 +00:00
joost
3bc585684b
* Changed TFieldDef.Size, TField.Size and TField.DataSize from word to integer. Delphi compatible, reported by Paul Ishenin
...
git-svn-id: trunk@12268 -
2008-11-29 12:18:46 +00:00
joost
af7b064157
* Because of some logic-error, only deletes were handled by ApplyUpdates
...
git-svn-id: trunk@12266 -
2008-11-29 10:45:37 +00:00
joost
b0cf2a2dc6
* Use TField.Assignvalue to set the fieldvalues in DoInsertAppend
...
git-svn-id: trunk@12262 -
2008-11-29 09:13:10 +00:00
michael
bd36bdc577
* Patch from Mattias Gaertner to fix memory leak, improve speed and compute correcter
...
git-svn-id: trunk@12261 -
2008-11-28 19:08:45 +00:00
michael
5ef7b7fd04
* Patch from Mattias Gaertner to fix compilation
...
git-svn-id: trunk@12260 -
2008-11-28 19:06:40 +00:00
michael
fc9405b822
* Patch from Mattias Gaertner:
...
- extends the tiff writer with some default values to write
tiffs out of the box like the other fpimage writers.
- progress events
- basic CMYK support
- allow reading non standard planarconfiguration attributes as created
by some scanners
- allow to create the image after reading the header - needed for big
tiffs
- removed TGA dependency
- LZW-decompression was started. There is a bug I didn't found yet.
git-svn-id: trunk@12258 -
2008-11-28 07:31:14 +00:00
joost
5059d9220d
* Added TTestFieldTypes.TestBCDParamQuery
...
git-svn-id: trunk@12257 -
2008-11-27 21:18:07 +00:00
joost
2363357f80
* Also collect parameter fieldnames when master dataset is inactive, patch from Jesus Reyes, bug #12129
...
git-svn-id: trunk@12256 -
2008-11-27 21:14:36 +00:00
marco
397539edf3
* fix for 0012697. crcs were used using a unit from the compiler.
...
Maybe polynomals were changed there since this was originally implemented
git-svn-id: trunk@12255 -
2008-11-27 20:54:41 +00:00
joost
e407bb5780
* Implemented TDataset.Dataconvert for WideStrings
...
* Reverted r11612, see bug #11706
* Raise exception if TDataset.Locate is called for an unidirectional dataset
git-svn-id: trunk@12254 -
2008-11-27 19:33:42 +00:00
peter
570ffacb92
* fix virtual without constructor warning for forward classes
...
git-svn-id: trunk@12253 -
2008-11-27 19:04:54 +00:00
joost
dd4b94357e
Implemented the as abstract defined methods of TDataset as empty stubs as listed in bug #12136 for Delphi compatibility
...
git-svn-id: trunk@12245 -
2008-11-27 12:14:47 +00:00
joost
138280cb6d
* UsePrimaryKeyAsKey default value is true, bug #12257
...
git-svn-id: trunk@12244 -
2008-11-27 11:51:24 +00:00
joost
8fce9ba897
* Removed empty implementation of TBlobField.Assign(to), uses inherited implementation. Bug #12578
...
git-svn-id: trunk@12243 -
2008-11-27 11:40:18 +00:00
joost
332d850f1e
Patch from Luiz Americo, bug #12703
...
- Format code to get consistent use of spacing, indentation and capitalization.
git-svn-id: trunk@12242 -
2008-11-27 11:03:02 +00:00
Almindor
1446eb9dc2
* separate static and dynamic loadable aspell
...
git-svn-id: trunk@12241 -
2008-11-27 10:51:20 +00:00
joost
668e50b88c
* Fixed ftBCD support, partly bug #12143 . Note that a TParam with a datatype of ftBCD in practice never occurs
...
git-svn-id: trunk@12240 -
2008-11-27 10:18:55 +00:00