Commit Graph

6819 Commits

Author SHA1 Message Date
marcus
be9e44a821 amunits: adapted library unit changes to example sources
git-svn-id: trunk@28650 -
2014-09-13 14:03:58 +00:00
Károly Balogh
1442a495b1 amunits: syscallified Workbench unit
git-svn-id: trunk@28649 -
2014-09-13 01:47:14 +00:00
marcus
4c3e25549d AROS: syscall-ified ASL, GadTools and MUI from AROS branch
git-svn-id: trunk@28646 -
2014-09-12 21:28:29 +00:00
marcus
8c5c6588f2 Amiga/AROS/MorphOS: some more path fixed in FV, userscreen for all 3 platforms
git-svn-id: trunk@28639 -
2014-09-11 19:03:19 +00:00
Károly Balogh
736f3bef25 amunits: syscallified DataTypes
git-svn-id: trunk@28638 -
2014-09-11 19:02:07 +00:00
Károly Balogh
d4db59b44f amunits: syscallified Rexx unit
git-svn-id: trunk@28637 -
2014-09-10 10:22:16 +00:00
Károly Balogh
ab726d665e IDE: don't spam the strerr with unconditional debug when the ASCII window is open (introduced in r26288)
git-svn-id: trunk@28632 -
2014-09-09 00:46:06 +00:00
Károly Balogh
d9e61b2e01 amunits: syscallified pastoc. This unit is deprecated, but since it's still used inside amunits, it's better have it safe
git-svn-id: trunk@28619 -
2014-09-08 10:32:54 +00:00
Károly Balogh
f7d5b1beb6 amunits: syscallified nonvolatile and translator
git-svn-id: trunk@28618 -
2014-09-08 10:28:46 +00:00
Károly Balogh
2722421d96 amunits: syscallified lowlevel unit
git-svn-id: trunk@28610 -
2014-09-06 23:48:39 +00:00
Károly Balogh
6c4833ab6b amunits: removed the old useamigasmartlink includes from syscallified units, it's no longer necessary
git-svn-id: trunk@28606 -
2014-09-05 23:31:51 +00:00
Károly Balogh
e178ece821 amunits: syscallified Input
git-svn-id: trunk@28605 -
2014-09-05 23:27:53 +00:00
Károly Balogh
5b79b1bab2 amunits: syscallified IFFParse
git-svn-id: trunk@28604 -
2014-09-05 23:26:09 +00:00
Károly Balogh
6cd5b41d8f amunits: syscall-ified console and diskfont
git-svn-id: trunk@28603 -
2014-09-05 22:21:45 +00:00
marco
f8c7290dbb * made ipicture,ifont and itagenumvariant aliases for the activex versions. The importtl generated versions did process safecall like constructs properly. Mantis 025907
git-svn-id: trunk@28600 -
2014-09-05 13:29:58 +00:00
marco
dfa6b03b95 * patches from Ocean, mantis #26675
* small enum and pointer aliases
     * parameters in several interfaces changed to bool (same as MSDN)

git-svn-id: trunk@28595 -
2014-09-04 20:11:14 +00:00
Károly Balogh
c9f91258eb fpmkunit: disable process unit and threading on Amiga and AROS for now
git-svn-id: trunk@28594 -
2014-09-04 10:39:40 +00:00
reiniero
aae9a5b8b9 + fcl-db: mysql 5.6 connector: add support for MariaDB 10.0. Should fix isseu #26620. Needs testing.
git-svn-id: trunk@28593 -
2014-09-04 10:18:01 +00:00
Károly Balogh
e126b787a3 Amiga: moved the remnants of the old CRT unit from Amiga RTL to rtl-console package and made it to build at least. It's probably still very broken, and needs fixing.
git-svn-id: trunk@28592 -
2014-09-03 22:43:22 +00:00
marcus
e86504af04 amunits: syscall-ified AGraphics, AmigaDos, Utility.library units
git-svn-id: trunk@28586 -
2014-09-03 10:11:21 +00:00
Károly Balogh
842a5ecc4d amunits: syscall-ified ASL
git-svn-id: trunk@28585 -
2014-09-02 23:56:19 +00:00
marcus
bb4659ceb6 Amiga: syscall-fied exec and intuition.library units
git-svn-id: trunk@28584 -
2014-09-02 20:25:21 +00:00
Károly Balogh
94a84d3286 amunits: some random functions syscall-ified. Mostly things used by rtl-console and FV.
git-svn-id: trunk@28578 -
2014-09-01 20:29:52 +00:00
Károly Balogh
05b249f204 Amiga: do not use tagsarray in rtl-console/video
git-svn-id: trunk@28577 -
2014-09-01 20:11:01 +00:00
Károly Balogh
5471a399e3 amunits: syscall-ified timer, fixed keymap to build (oops...)
git-svn-id: trunk@28574 -
2014-09-01 09:22:53 +00:00
Károly Balogh
e92e2349e7 amunits: syscall-ified keymap unit
git-svn-id: trunk@28573 -
2014-09-01 08:33:36 +00:00
Károly Balogh
604b277183 Amiga: rtl-console and fv now builds for classic Amiga. It probably still nukes badly though, due to problems in the age-old AmUnits interface units. To be fixed soon.
git-svn-id: trunk@28567 -
2014-08-31 17:54:00 +00:00
Károly Balogh
fb6d7ca1da amunits: MsgBox unit renamed to AMsgBox, conflicts with FV
git-svn-id: trunk@28566 -
2014-08-31 17:48:20 +00:00
Károly Balogh
6873588b0f FV: use DOSDelay() on all Amiga platforms
git-svn-id: trunk@28565 -
2014-08-31 17:41:01 +00:00
Károly Balogh
2001f6982d amunits: renamed keyboard.pas to akeyboard.pas to avoid name conflict with rtl-console/keyboard
git-svn-id: trunk@28563 -
2014-08-31 17:22:39 +00:00
Károly Balogh
832ac8332e amunits: renamed agraphics/Move to gfxMove to match other platforms and avoid the conflict with System.Move()
git-svn-id: trunk@28562 -
2014-08-31 17:21:58 +00:00
marcus
9b40b6dcc1 AROS: FP-IDE, System clipboard, execute programs/Shell, keycode Ctrl-A for Select All
git-svn-id: trunk@28561 -
2014-08-31 17:13:30 +00:00
Károly Balogh
782baeca29 fpmkunit: Amiga, MorphOS and AROS are the AllAmigaLikeOSes
git-svn-id: trunk@28559 -
2014-08-31 16:34:12 +00:00
Károly Balogh
3a256424f7 amunits: even more PACKRECORDS 2 madness
git-svn-id: trunk@28558 -
2014-08-31 16:13:11 +00:00
Károly Balogh
55e2893f39 amunits: renamed Graphics unit to AGraphics to match AROS and MorphOS, added PACKRECORDS 2 at a few places
git-svn-id: trunk@28557 -
2014-08-31 15:55:54 +00:00
Károly Balogh
1e86d2ba2f rtl-console: don't forget to open libraries on MorphOS
git-svn-id: trunk@28555 -
2014-08-31 14:59:05 +00:00
Károly Balogh
143d7d7dd4 rtl-console: unified AROS and MorphOS units except video (for now). but upgraded MorphOS' video unit to AROS level
git-svn-id: trunk@28554 -
2014-08-31 14:48:58 +00:00
Károly Balogh
4ae5441757 Amiga, MorphOS, AROS: renamed a constant named "SINGLE" in intuition unit and unified across all systems
git-svn-id: trunk@28553 -
2014-08-31 14:39:59 +00:00
marcus
49b0c18c53 AROS: rtl-console, fv, FP-IDE added
git-svn-id: trunk@28552 -
2014-08-31 13:48:16 +00:00
Károly Balogh
434e199f0b arosunits: removed the executable bit from some of the source files
git-svn-id: trunk@28551 -
2014-08-31 13:31:49 +00:00
Károly Balogh
bf35dae486 rtl-console: fixed TKeyEvent to TKeyRecord mapping on big endian systems
git-svn-id: trunk@28550 -
2014-08-31 13:17:53 +00:00
marcus
b962e61847 AROS: arosunits for aros system library units
git-svn-id: trunk@28547 -
2014-08-31 06:39:28 +00:00
Károly Balogh
581e4ac28d + amunits, morphunits: added PUBLICSCREEN_F define, which was missing (verified against NDK3.9 and MorphOS SDK)
git-svn-id: trunk@28544 -
2014-08-30 21:40:22 +00:00
lacak
9703d14149 fcl-db: base: if either MinValue or MaxValue is <> 0 then use range MinValue-MaxValue instead of MinRange-MaxRange (for TLongintField). It is compatible with other Fields and allows set range 0-X or X-0. Bug #26606
git-svn-id: trunk@28531 -
2014-08-28 12:28:36 +00:00
Károly Balogh
220bcbe37e amunits: fixed exec unit to actually build...
git-svn-id: trunk@28524 -
2014-08-26 22:57:20 +00:00
marco
c41c74d78a * fix for Mantis 26630.
git-svn-id: trunk@28521 -
2014-08-25 11:55:04 +00:00
Károly Balogh
4c0499a70c morphunits: forgot to add the required Makefiles before the previous commit...
git-svn-id: trunk@28520 -
2014-08-25 07:43:23 +00:00
Károly Balogh
85953d5e99 MorphOS: moved system dependent units outside the RTL into the new morphunits package. also renamed some units to match classic Amiga and/or AROS naming
git-svn-id: trunk@28519 -
2014-08-25 02:17:16 +00:00
marco
0539923b68 * Mantis #26622, patch by Ocean, a few fields to bool and some cleanup
git-svn-id: trunk@28515 -
2014-08-23 21:25:50 +00:00
lacak
bfb08c957e fcl-db: base: when reporting RangeError take into account also user defined MinValue, MaxValue. Bug #26606
git-svn-id: trunk@28514 -
2014-08-23 17:21:02 +00:00
marco
95bb0e0fd1 * VT_DECIMAL added, patch by Ocean, mantis #26539
git-svn-id: trunk@28468 -
2014-08-19 14:00:16 +00:00
Károly Balogh
6062f96ca1 AROS: enable some basic set of Packages to build with AROS
git-svn-id: trunk@28441 -
2014-08-18 13:01:46 +00:00
Károly Balogh
da7efb8607 AROS: regenerated Makefiles to support i386-aros
git-svn-id: trunk@28438 -
2014-08-17 23:16:47 +00:00
Károly Balogh
4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run.
git-svn-id: trunk@28432 -
2014-08-17 18:18:07 +00:00
Károly Balogh
d72e46f199 Amiga: deprecated PasToC unit and added some lengthy comments about the reasons.
git-svn-id: trunk@28424 -
2014-08-16 17:39:01 +00:00
Jonas Maebe
6a3907dfd6 - disabled i386 assembler implementations of md5/sha1 on Darwin, they fail
there

git-svn-id: trunk@28421 -
2014-08-16 12:43:59 +00:00
marco
d37a2e65ec * *result_cint -> *result_int. Mantis #26583 Probably leftover of some int to cint replace.
git-svn-id: trunk@28385 -
2014-08-12 09:13:23 +00:00
lacak
56e83ce5dd fcl-db: interbase: fix cases when client library is not loaded dynamically but link statically
git-svn-id: trunk@28383 -
2014-08-12 05:13:14 +00:00
reiniero
24b406aed7 + fcl-db: SQlite3: accept more date/time formats:
YYYY-MM-DDTHH:MM
YYYY-MM-DDTHH:MM:SS
YYYY-MM-DDTHH:MM:SS.SSS
as defined in http://www.sqlite.org/lang_datefunc.html

Fixes mantis issue #26551

git-svn-id: trunk@28337 -
2014-08-08 11:24:17 +00:00
michael
6f6dd75e77 * Fix patch of reinier
git-svn-id: trunk@28336 -
2014-08-08 07:23:56 +00:00
michael
71d20abcaa * Patch from reinier to import fb_shutdown and fb_sqlstate
git-svn-id: trunk@28335 -
2014-08-08 07:17:54 +00:00
marco
ff77bd1bf2 * Fix font name changing issues, patch by Dirk F, mantis #26550
git-svn-id: trunk@28331 -
2014-08-07 10:44:19 +00:00
reiniero
bd37d804fc * fcl-db: cosmetic
git-svn-id: trunk@28314 -
2014-08-05 10:30:23 +00:00
Károly Balogh
6e27aaebbb libndsfpc: regenerated Makefile with -Tall, which is required
git-svn-id: trunk@28313 -
2014-08-05 07:34:25 +00:00
Legolas
ca0ff3d2ea * libndsfpc: forgot to commit a file
+ libndsfpc: added two new examples and regenerated makefiles

git-svn-id: trunk@28310 -
2014-08-04 19:39:02 +00:00
reiniero
935a3f1bc9 * fcl-db: cosmetic
git-svn-id: trunk@28309 -
2014-08-04 08:09:40 +00:00
marco
1ab8e2381f * fix #26007 move size=0 of r27762 to OS specific code, otherwise it prohibits
async reading of the stream. (windows first reads streams, then executes
   readmessage)

git-svn-id: trunk@28305 -
2014-08-03 11:00:53 +00:00
marco
6b01f96034 * Add assigned check to reading fileinfo for case there is no fileinfo section.
Mantis #26549, patch by Reinier.

git-svn-id: trunk@28304 -
2014-08-03 10:48:16 +00:00
Legolas
c09d2e2096 * Fixed filesystem handling in libogc
git-svn-id: trunk@28300 -
2014-08-02 15:34:58 +00:00
Legolas
a52e51d0b7 * Updated libndsfpc and nds linkerscript to Ver. 1.5.8
git-svn-id: trunk@28299 -
2014-08-02 15:23:51 +00:00
marco
98b4e77b4f * fixed 64-bit issue.
git-svn-id: trunk@28288 -
2014-08-01 10:18:17 +00:00
Mattias Gaertner
0d4fa26c51 fpreadtif: fixed read LZW stream at end of a bit length increase, bug #22724
git-svn-id: trunk@28287 -
2014-08-01 07:41:01 +00:00
lacak
00f85c52ab fcl-db: oracle:
- for ftBlob parameters binding use temporary LOBs instead of long varraw to bypass 64KB limit of current implementation
- initial support for NCLOB data type (if client uses for NCHAR "variable width" charset (like UTF-8) then there is character length <> byte length which is currently not handled correctly)

git-svn-id: trunk@28286 -
2014-08-01 05:48:24 +00:00
michael
9efce39e06 * Optimized version of SHA1 and MD5 hashes (speed doubles on x64) by Engkin
git-svn-id: trunk@28281 -
2014-07-31 12:12:54 +00:00
michael
347742ba80 * For large times, use [[hh:]nn:]ss date/time format
git-svn-id: trunk@28278 -
2014-07-30 14:53:37 +00:00
michael
7a096b20f6 * For large times, use [[hh:]nn:]ss date/time format
git-svn-id: trunk@28277 -
2014-07-30 14:53:29 +00:00
michael
1a6d734ca8 * Correct formatdatetime string
git-svn-id: trunk@28276 -
2014-07-30 14:52:42 +00:00
marco
968ddb6ad9 * add two implicit units, mantis #26533
git-svn-id: trunk@28272 -
2014-07-28 14:40:07 +00:00
marco
f0f628798b * fixes from José Mejuto, mantis #26352 generating a parameter if the tlb says the param is there but the string is empty in the tlb + small cleanups
git-svn-id: trunk@28243 -
2014-07-20 14:49:37 +00:00
marco
2fdb701f9a * fix for compilation breakage due to windows header fix. (reported by Reinier on ML)
git-svn-id: trunk@28241 -
2014-07-20 10:53:25 +00:00
reiniero
0cb92962e3 * fcld-db: oracle: cosmetic
git-svn-id: trunk@28224 -
2014-07-15 11:35:29 +00:00
reiniero
0ebd33180e * fcl-db: oracle connection: speed up getting indexes in TOracleConnection.UpdateIndexDefs; issue #25247
git-svn-id: trunk@28223 -
2014-07-15 11:28:07 +00:00
reiniero
cc90409dc9 * fcl-db: cosmetic: Oracle connection description/copyright
git-svn-id: trunk@28222 -
2014-07-15 11:13:40 +00:00
michael
a89a52310c * Introduce class method to register a web module
git-svn-id: trunk@28200 -
2014-07-12 19:26:18 +00:00
michael
74955c4e20 * No longer needed, all tests are in tczipper
git-svn-id: trunk@28199 -
2014-07-11 12:44:39 +00:00
michael
c281c4d036 * Patch from Reinier Olislagers to let filenames conform to standard / (bug id 26468)
git-svn-id: trunk@28198 -
2014-07-11 12:41:22 +00:00
joost
e81593d34b * Fixed make install: fpdispextdirect.pp does not have a resource-file
git-svn-id: trunk@28197 -
2014-07-11 11:19:14 +00:00
michael
c204153604 * Improved exception handling. Introduced StatusCode/Text in EHTTPError, is used to set HTTP status code/text when sending the response.
git-svn-id: trunk@28196 -
2014-07-11 08:19:23 +00:00
michael
6013e4d8c7 * Added copyright notice
git-svn-id: trunk@28195 -
2014-07-11 07:34:11 +00:00
michael
15ef9a2599 * Cleaner design refactoring: Separate out ExtDirect support in non-http part and http part
git-svn-id: trunk@28194 -
2014-07-11 07:32:01 +00:00
michael
ad574ca377 * Allow selectively adding handlers to reported API
git-svn-id: trunk@28193 -
2014-07-11 07:09:36 +00:00
michael
7db9fbc234 * APIString virtual, allow formatting
git-svn-id: trunk@28192 -
2014-07-11 06:58:35 +00:00
michael
0a220476a3 * Introduce ExecuteHandler in dispatcher, allows overriding
git-svn-id: trunk@28191 -
2014-07-11 06:55:36 +00:00
michael
c3f24cc775 * Added small improvement to JSONRPCHandlermanager to ease creating descendents with customized behaviour:
moved creation of defs to virtual procedure. Uses a global classvar to determine default item type.
* Implemented GetClassNames and GetMethodsOfClass
* Added Clear.

git-svn-id: trunk@28190 -
2014-07-11 06:49:19 +00:00
lacak
96a3a667c5 fcl-db: tests: fix of previous commit
git-svn-id: trunk@28057 -
2014-06-25 09:55:46 +00:00
lacak
9d5c2717c8 fcl-db: tests:
- remove unused variables
- fix tests for Oracle - first test Values and then Field type

git-svn-id: trunk@28055 -
2014-06-25 09:05:59 +00:00
lacak
da4fc8aca2 fcl-db: tests: small correction of previous commit
git-svn-id: trunk@28049 -
2014-06-24 13:58:12 +00:00
lacak
41e8a0da2c fcl-db: tests:
- add TestSupportDateTimeFields 
- small rework for Oracle case

git-svn-id: trunk@28045 -
2014-06-24 10:41:21 +00:00
lacak
dac058e462 fcl-db: oracle: let EOraDatabaseError descend from ESQLDatabaseError instead of EDatabaseError
git-svn-id: trunk@28044 -
2014-06-24 09:52:13 +00:00
lacak
742faaed92 fcl-db: oracle:
- bind date and datetime params using Oracle external data type SQLT_TIMESTAMP instead of SQLT_ODT to support fraction seconds
- introduce support for ftBlob and ftMemo params, but only with max.length up to 64K

git-svn-id: trunk@28041 -
2014-06-24 08:57:37 +00:00
lacak
da041f9ae6 fcl-db: oracle: map TIMESTAMP data type to SQLT_TIMESTAMP instead of SQLT_ODT to have fraction seconds
git-svn-id: trunk@28036 -
2014-06-23 09:03:37 +00:00
reiniero
7441885f5a * fcl-db: dbase: language string is only supported on Visual DBaseVII formats. Return empty for other formats.
git-svn-id: trunk@28030 -
2014-06-22 08:50:50 +00:00
reiniero
e2c58f9f89 * fcl-db: cosmetic
git-svn-id: trunk@28029 -
2014-06-22 07:28:55 +00:00
reiniero
bfb21cb4a0 * fcl-db: tests: better error reporting
git-svn-id: trunk@28028 -
2014-06-22 07:24:37 +00:00
reiniero
4515ff7b77 * fcl-db: backlinks: allow clearing backlinks in any tablelevel
git-svn-id: trunk@28021 -
2014-06-21 09:05:51 +00:00
reiniero
115a64d62c * fcl-db: dbase: backlinks:
- allow auto-upgrade from FoxPro to VisualFoxpro when backlink specified
- check on required tablelevel when assigning backlinks
- translation for error messages (Spanish,Italian,Polish,Portugues,Russian) needed
- layout/comment fixes

git-svn-id: trunk@28020 -
2014-06-21 08:59:29 +00:00
reiniero
08efada1df * fcl-db: dbase:
- Visual Foxpro support for reading/writing backlink (to .dbc database container file)
- No support yet for the .dbc format itself, e.g. larger field/table names and referential integrity
- Renamed header parts to properly reflect status (i.e. at end of header rather than after header)
- Updated comments
- code layout

git-svn-id: trunk@28017 -
2014-06-21 08:12:25 +00:00
Jonas Maebe
2df1d5ec58 * don't allow default parameter values for parameter types that don't accept
constant values (i.e., anything non-value/const/constref) (mantis #263363)
   o fixed default parameter value for var-parameter in chmreader

git-svn-id: trunk@28016 -
2014-06-20 19:50:20 +00:00
lacak
f71480b281 fcl-db: oracle: add experimental support for LONG data type (needs more testing)
git-svn-id: trunk@28013 -
2014-06-20 12:03:10 +00:00
lacak
af2130d558 fcl-db: tests: add more data type mappings for Oracle
git-svn-id: trunk@28012 -
2014-06-20 11:55:58 +00:00
lacak
a6205b83ef fcl-db: oracle:
- add basic support for BLOB, CLOB data types (needs more testing)

git-svn-id: trunk@28010 -
2014-06-20 10:53:26 +00:00
michael
f1bd08acce * Add enable/disablecontrols for target dataset (patch from Luiz Americo, bug ID #26364)
git-svn-id: trunk@28004 -
2014-06-19 17:34:25 +00:00
michael
5bf2b9f8d2 * Patch from Luiz Americo to allow reading data in blockread state
git-svn-id: trunk@28003 -
2014-06-19 17:29:56 +00:00
reiniero
2557f1bfa3 * fcl-db: oracle: roll back some overzealous changes. Comment fixes.
git-svn-id: trunk@28001 -
2014-06-19 13:30:18 +00:00
reiniero
5c1eec309d * fcl-db: cosmetic: document integer precision; layout
git-svn-id: trunk@28000 -
2014-06-19 12:25:11 +00:00
lacak
0106f860eb fcl-db: oracle:
- map NUMBER columns with precision < 5 to ftSmallint
- fix some tests for Oracle

git-svn-id: trunk@27997 -
2014-06-18 11:54:58 +00:00
reiniero
b871247238 * fcl-db: tests: bufdataset: test ftVariant & ftVarbytes as issue #19930 is marked eesolve.d
No regression in test suite.

git-svn-id: trunk@27996 -
2014-06-18 11:46:45 +00:00
lacak
98f5e7cd57 fcl-db: oracle:
- add support for ftSmallInt, ftLargeInt, ftFixedChar params
- add support for BINARY_FLOAT, BINARY_DOUBLE data types

git-svn-id: trunk@27995 -
2014-06-18 10:59:46 +00:00
reiniero
e4fa4a72d2 * fcl-db: cosmetic
git-svn-id: trunk@27994 -
2014-06-18 06:43:07 +00:00
reiniero
39ae91a66f * fcl-db: tdbf: detect some files as DBaseIV instead of III given version signature $03,$8B regardless of language ID. Mantis issue #26332
git-svn-id: trunk@27993 -
2014-06-18 06:42:47 +00:00
reiniero
5e7a4c4819 fcl-db: cosmetic: error message language fixes
git-svn-id: trunk@27988 -
2014-06-17 13:59:04 +00:00
reiniero
4d92b003a7 * fcl-db: tests: adjust TTestDBBasics.TestSupportIntegerFields to reflect that Oracle does not map integer fields to ftInteger but to ftFMTBCD
git-svn-id: trunk@27987 -
2014-06-17 10:21:51 +00:00
reiniero
eb16231869 * fcl-db: Oracle: improved date/time support, issue #26321
git-svn-id: trunk@27982 -
2014-06-16 12:04:30 +00:00
lacak
bafe66a3f0 fcl-db: mssql: add support for new MS SQL 2008 datetime data types. Depends on rev.27979 and requires new FreeTDS dblib library
git-svn-id: trunk@27981 -
2014-06-16 10:08:41 +00:00
reiniero
f7b6bbdf8b * fcl-db: oracle connection
+ metadata retrieval: fix retrieving DATA_DEFAULT column with LONG datatype from ALL_TAB_COLUMNS: oracleconnection does not support the legacy LONG datatype.

git-svn-id: trunk@27980 -
2014-06-16 09:10:42 +00:00
michael
beed60ac0d * Patch from Laco to implement Date/time structures in tds (Bug ID 26235)
git-svn-id: trunk@27979 -
2014-06-16 08:36:30 +00:00
lacak
85ae7c2aaa fcl-db: tests: add check for Oracle native single floating point data type
git-svn-id: trunk@27978 -
2014-06-16 08:04:12 +00:00
Jeppe Johansen
5ad478b252 Fixed compilation of packages on win32 after r27966.
git-svn-id: trunk@27968 -
2014-06-15 14:12:27 +00:00
Jonas Maebe
159a35da4e * check for read/write after a newly declared property (mantis #26011)
o this reverts the support that was added for such declarations when
     mantis #4676 was fixed, but this was done for Delphi compatibility
     and
    a) current Delphi versions don't accept such declarations anymore either
    b) such declarations are meaningless
   o fixed a number of such invalid property declarations in packages

git-svn-id: trunk@27966 -
2014-06-15 10:59:47 +00:00
reiniero
421139e77a * fcl-db: sql parser: update readme after previous commit
git-svn-id: trunk@27962 -
2014-06-15 09:25:56 +00:00
reiniero
951d128042 - fcl-db: sql parser
- remove support for SET TERM/SET AUTODDL as it does not fall within Firebird SQL

git-svn-id: trunk@27961 -
2014-06-15 09:10:24 +00:00
michael
7cd6b3cea6 * Support for -- comments, speedup, made some methods protected/virtual so behaviour is more customizable
git-svn-id: trunk@27949 -
2014-06-14 07:48:39 +00:00
reiniero
e8eaa94cab * fcl-db: sql parser: cosmetic (todo list)
git-svn-id: trunk@27946 -
2014-06-13 13:52:28 +00:00
reiniero
7863213048 * fcl-db: oracle connection fixes:
- unregister on finalization instead of register
- check cursor is assigned in rowsaffected
Patch by Laco.

git-svn-id: trunk@27944 -
2014-06-13 12:31:04 +00:00
michael
f8e828ac46 * Patch from Michal Gawrycki to add GetDatabaseStats (Bug ID 26334)
git-svn-id: trunk@27942 -
2014-06-13 06:22:21 +00:00
michael
8ccd3fb9d9 * Patch from Michal Gawrycki to add some missing constants (Bug ID 26333)
git-svn-id: trunk@27941 -
2014-06-13 06:15:28 +00:00
michael
07626f029a * Fixed bug ID #26137 (script stops on empty statement)
git-svn-id: trunk@27931 -
2014-06-11 06:39:18 +00:00
reiniero
e9f99fb3d2 * fcl-db: bufdataset: free up cached blob buffers in unidirectional mode; alternate solution to issue #24509. Patch by Laco.
git-svn-id: trunk@27925 -
2014-06-10 11:56:24 +00:00
reiniero
95a1a2552c * fcl-db: cosmetic
git-svn-id: trunk@27924 -
2014-06-10 10:34:56 +00:00
reiniero
81548f0e9c * fcl-db: sql parser:
- fix parsing scripts containing SET AUTODDL and SET TERM statements
- SET TERM/SET AUTODDL will be output as SQL comments when regenerating SQL so thethe commands work with e.g. sqldb

git-svn-id: trunk@27923 -
2014-06-10 10:01:22 +00:00
reiniero
0782f4f853 * fcl-db: sql parser:
- support reading (and ignoring) SET AUTODDL statements generated by isql.
  This allows the parser to read isql-generated metadata extraction scripts from Firebird databases
- tests

git-svn-id: trunk@27921 -
2014-06-10 08:47:56 +00:00
lacak
041b4681e9 fcl-db: sqldb: cosmetic
git-svn-id: trunk@27920 -
2014-06-10 08:45:53 +00:00
lacak
5c936f0ecf fcl-db: sqldb: always call in TSQLQuery.InternalOpen BindFields so all private variables are calculated properly (f.e. FBlobFieldCount)
git-svn-id: trunk@27919 -
2014-06-10 08:41:06 +00:00
reiniero
ff28acbaad * fcl-db: sql parser:
- support for variables in array access (e.g. myarray[:localvar] as happens in stored procs)
- rename TSQLSymbolLiteral to TSQLSymbolString to avoid confusion between enum and the TSQL*Literal classes
- Noted to do: array access via variables results in ElementIndex not being set. Need to verify what impact (if any) this has

git-svn-id: trunk@27918 -
2014-06-10 07:30:13 +00:00
reiniero
a2ce52963a * fcl-db: sql parser tests: correct SET TERM/CREATE PROCEDURE tests
- One test currently fails indicating the need for more support for variables in select statements

git-svn-id: trunk@27917 -
2014-06-10 06:39:00 +00:00
reiniero
575a082272 * fcl-db: fix set terminator tests when run within suite/all tests instead of single test
git-svn-id: trunk@27916 -
2014-06-10 05:51:51 +00:00
reiniero
ebb2f38e08 * fcl-db: sql parser:
- simplify code, thanks Michael & Laco. 
  - Tests for STARTING WITH
  - Work in progress on SET TERM+CREATE PROCEDURE test

git-svn-id: trunk@27915 -
2014-06-10 05:27:56 +00:00
reiniero
c7a045af49 * fcl-db: sql parser: basic set term/create procedure test
git-svn-id: trunk@27914 -
2014-06-09 13:09:04 +00:00
reiniero
37e44f52eb * fcl-db:: sql parser: deal with table.column notation introduced in previous commit
git-svn-id: trunk@27913 -
2014-06-09 12:52:38 +00:00
reiniero
c63b31c839 * fcl-db: sql parser: support table.column notation for fields like
- SELECT A.B FROM A
- SELECT B FROM A ORDER BY C.D
- tests
Note: failing test due to needed implementation of parsing table.field into table and field references

git-svn-id: trunk@27912 -
2014-06-09 12:34:52 +00:00