lacak
9c2ffc30ee
fcl-db:
...
- introduce ESQLDatabaseError (with fields: ErrorCode and SQLState) as direct descendant of EDatabaseError and an ancestor for all SQLConnection specific exceptions (like EPQDatabaseError, EIBDatabaseError, EODBCException, etc.)
- add overriden method PSGetUpdateException to create EUpdateException with ErrorCode taken from this new ESQLDatabaseException
- adapted some connections to use this new TSQLDatabaseError
Bug #23798
git-svn-id: trunk@26765 -
2014-02-14 11:43:54 +00:00
michael
4154f531ff
* Fixed bug ID #22611
...
git-svn-id: trunk@26764 -
2014-02-13 16:31:19 +00:00
sergei
da019b889c
* i386-freebsd shared library startup:
...
* Don't mess with FPU control word, libraries should leave it alone.
* Don't call FPC_LIB_EXIT from haltproc, unit finalization is performed before haltproc.
+ non-executable stack marker.
git-svn-id: trunk@26763 -
2014-02-13 14:45:21 +00:00
michael
e65fd31b0b
* Create key when writing (fix bug ID #25483 )
...
git-svn-id: trunk@26762 -
2014-02-13 14:22:48 +00:00
michael
2152622803
* Changed signature of initializesqlite3 to unicodestring
...
git-svn-id: trunk@26761 -
2014-02-13 10:56:33 +00:00
michael
70c0243992
* Updated to version 7.22.0 (as installed on ubuntu 12.04
...
git-svn-id: trunk@26760 -
2014-02-13 10:32:07 +00:00
sergei
ead8d0c1d4
* Clean up i386-Linux startup code for shared libraries:
...
* The initialization code is a normal function called by runtime linker, stack layout at process startup is irrelevant.
* Stack pointer can be replaced by frame pointer, they are just a few bytes away.
* IsLibrary is set to true in fpc_libinitializeunits and therefore assigning it here is redundant.
* The exitcode is passed as argument to haltproc, so messing with PIC is not necessary.
git-svn-id: trunk@26759 -
2014-02-13 04:54:21 +00:00
sergei
df6837fa12
* Fixed cloning of varargs parameters in tcallnode.dogetcopy, resolves #23981 .
...
git-svn-id: trunk@26758 -
2014-02-13 01:12:58 +00:00
sergei
ed1555b918
* Moved generation of .ent/.end directives out of generic code generator.
...
* Generation of .ent/.end directives for Alpha is dropped, but that target has more important issues to solve.
git-svn-id: trunk@26757 -
2014-02-12 17:30:48 +00:00
michael
4da9805007
* Updated till version 3.7.9 (as distributed with ubuntu 12.04)
...
git-svn-id: trunk@26756 -
2014-02-12 12:39:01 +00:00
sergei
e1cf19d05d
+ Require -d and -u command line options to have an argument, Mantis #25082 .
...
+ Check that argument of -d and -u is a Pascal identifier, Mantis #17056 .
git-svn-id: trunk@26755 -
2014-02-12 04:44:35 +00:00
sergei
6c66b8ffe3
* Fixed upper limit in tbits.findnextbit, Mantis #25398 .
...
git-svn-id: trunk@26754 -
2014-02-11 16:39:45 +00:00
michael
0f7e1af3bb
* Fixed bug #23464
...
git-svn-id: trunk@26753 -
2014-02-11 16:36:07 +00:00
michael
dafd3c3934
* Changed signature of TForkEvent
...
git-svn-id: trunk@26752 -
2014-02-11 16:05:03 +00:00
michael
8c3e98ef9f
* Patch by Thaddy De Koning to optionally remove the X dependency on Linux (bug ID 24919)
...
git-svn-id: trunk@26751 -
2014-02-11 15:29:14 +00:00
michael
ff985ba97d
* Fix use of exeext from wrong unit
...
git-svn-id: trunk@26750 -
2014-02-11 14:43:35 +00:00
michael
42db0408cc
* Fixed bug ID #25704 (visibility specifiers in records in Delphi mode)
...
git-svn-id: trunk@26749 -
2014-02-11 14:26:41 +00:00
michael
1c9560f52e
* Added test for IsWild function by Karl-Michael Schindler
...
git-svn-id: trunk@26748 -
2014-02-11 13:18:11 +00:00
michael
249a83ee83
* Fix for bug ID #25464 by Karl-Michael Schindler
...
git-svn-id: trunk@26747 -
2014-02-11 13:17:04 +00:00
lacak
f88b0474c9
fcl-db: dataset: after rev.26661 some tests are broken. They use locate in form: Locate('ID', VarArrayOf([1])); So one field with one element array.
...
This patch takes into account:
- most common situation is, when we assign simple variant (not array) to one field, so optimise code to it
- when assign array to one field, do not restrict array dimensions on "dataset level" , but postpone it to "field level" and let field raise SFieldValueError if it cannot handle supplied variant value.
git-svn-id: trunk@26746 -
2014-02-10 11:23:13 +00:00
sergei
3c5345cb4e
+ Write 'non-executable stack' marker to object files also on FreeBSD (verified for version 9.0 for i386).
...
+ Write correct ABI value into ELF header for FreeBSD.
git-svn-id: trunk@26745 -
2014-02-10 05:46:46 +00:00
sergei
74089039e7
- Don't output 'begin/end asmlist xxx' comments for empty asmlists.
...
git-svn-id: trunk@26744 -
2014-02-09 21:29:20 +00:00
florian
37b34edbc6
* do not reuse registers when calculating addresses in pic mode
...
git-svn-id: trunk@26743 -
2014-02-09 21:12:07 +00:00
sergei
07ce8f46a4
* loadvmtaddrnode accesses global data only when left.nodetype=typen.
...
git-svn-id: trunk@26742 -
2014-02-09 17:44:14 +00:00
florian
25fc10b556
* do not store references to dyn. arrays
...
git-svn-id: trunk@26741 -
2014-02-09 08:41:51 +00:00
florian
3e4198ea45
* take care of dyn. arrays in cse
...
git-svn-id: trunk@26740 -
2014-02-08 21:47:46 +00:00
florian
a8643410c4
* fix trgx86.do_spill_replace for bmi rotating/shifting instructions
...
git-svn-id: trunk@26739 -
2014-02-08 21:38:23 +00:00
florian
be0a29da95
* fix modification information for bmi instructions
...
git-svn-id: trunk@26738 -
2014-02-08 21:38:21 +00:00
florian
9d84b83475
* fix comment
...
git-svn-id: trunk@26737 -
2014-02-08 21:38:18 +00:00
sergei
d7c7ee2c2a
* MIPS: fixed 8/16 bit arithmetic shifting to be done without using an additional register.
...
git-svn-id: trunk@26736 -
2014-02-08 21:13:58 +00:00
sergei
d29300df13
* tMIPSELnotnode.second_boolean: reuse common handle_locjump method.
...
git-svn-id: trunk@26735 -
2014-02-08 21:10:01 +00:00
sergei
83fda1e6a9
* Frame size on MIPS must be divisible by 8, thanks to Vsevolod Alekseyev for spotting this.
...
git-svn-id: trunk@26734 -
2014-02-08 21:06:30 +00:00
florian
5dcb59c2d4
* renamed test, resolves #25696
...
git-svn-id: trunk@26733 -
2014-02-08 19:21:08 +00:00
yury
e0c8a4701e
* Fixed compilation for mips-linux.
...
git-svn-id: trunk@26732 -
2014-02-08 19:08:21 +00:00
florian
e5aa0e4316
* set pi_uses_exceptions flag only if the try...finally frame is not an implicit frame
...
git-svn-id: trunk@26731 -
2014-02-08 16:43:23 +00:00
michael
2e912b6c68
* Added LibKinect10.pp
...
git-svn-id: trunk@26730 -
2014-02-08 15:39:16 +00:00
florian
1df293679d
* fixed setting of pi_uses_exception flags and unified usage, they should be set in pass_1
...
git-svn-id: trunk@26729 -
2014-02-08 14:59:07 +00:00
michael
4490a61981
* Added AddReplacesExisting
...
git-svn-id: trunk@26728 -
2014-02-08 13:14:25 +00:00
michael
b7c6455b89
* Added TStringHash class
...
git-svn-id: trunk@26727 -
2014-02-08 13:08:18 +00:00
yury
735b921bad
* Modified SVN property "bugtraq:logregex" to also extract bug IDs when "Bug ID X" or "Issue ID X" is specified in a commit message.
...
git-svn-id: trunk@26726 -
2014-02-08 12:03:35 +00:00
michael
1abce09e3c
* Made GetStatementInfo public (bug ID 24113)
...
git-svn-id: trunk@26725 -
2014-02-08 11:58:36 +00:00
michael
7846bec140
* Fix bug ID #24109
...
git-svn-id: trunk@26724 -
2014-02-08 11:51:21 +00:00
michael
c0ea463b7f
* Fixed bug ID #25675
...
git-svn-id: trunk@26723 -
2014-02-08 11:45:56 +00:00
michael
576eadf6c9
* Allow width 0 (bug ID 23662)
...
git-svn-id: trunk@26722 -
2014-02-08 11:43:14 +00:00
michael
68429834a7
* Fixed bug #25049
...
git-svn-id: trunk@26721 -
2014-02-08 11:39:31 +00:00
michael
ddda356ee8
* Applied patch from Bug ID #25048 , fixing write of TPersistent (TCollection)
...
git-svn-id: trunk@26720 -
2014-02-08 11:16:12 +00:00
michael
f59a2272d9
* Applied slightly modified patch from bug ID #24110
...
git-svn-id: trunk@26719 -
2014-02-08 11:03:21 +00:00
michael
c4918b6329
* Demo for OnData and OnHeaders events
...
git-svn-id: trunk@26718 -
2014-02-08 10:41:08 +00:00
michael
0fefb74a12
* OnData and OnHeaders events implemented
...
git-svn-id: trunk@26717 -
2014-02-08 10:40:15 +00:00
florian
53ddaf03ff
* fixes masking error in tx8664shlshrnode.pass_generate_code
...
* cleaned up tx8664shlshrnode.pass_generate_code and fix register loading of the right node, resolves #25664
git-svn-id: trunk@26716 -
2014-02-08 10:15:47 +00:00