Re: [Firebird-devel] OO API examples for Object Pascal

2020-08-18 Thread Simonov Denis via Firebird-devel
Paul Reeves wrote Mon, 17 Aug 2020 19:24:44 +0300: On Mon, 17 Aug 2020 18:42:59 +0300 Vlad Khorsun wrote: VCL is overkill of course. We should avoid such dependencies in general samples. Some thin wrappers\helper classes could be very good to have as part of Pascal API. Obviously

Re: [Firebird-devel] OO API examples for Object Pascal

2020-08-18 Thread Roman Simakov
пн, 17 авг. 2020 г. в 20:08, Adriano dos Santos Fernandes : > I'd say its correct place would be a new project under the FirebirdSQL > organization. > > There is no Java, .Net, etc in core, so should not be Pascal examples > there, specially, as you have figured out, the API is not easy to be > dir

Re: [Firebird-devel] OO API examples for Object Pascal

2020-08-18 Thread Tony Whyman
Paul, I am not surprised that you wrote "it is more difficult than I thought". When I set out to upgrade IBX for Lazarus to the new Firebird 3 OO API, I thought that it would be a relatively straightforward task. My intention was to separate out the parts of IBX that were specific to the VCL/

Re: [Firebird-devel] OO API examples for Object Pascal

2020-08-18 Thread Dimitry Sibiryakov
18.08.2020 09:50, Simonov Denis via Firebird-devel wrote: For example, character data from char/varchar is not so easy to convert to delphi strings, given the character sets. Actually it is easy: just set character set to what you expect. For example, set it to UTF8 and use utf8String in Del

Re: [Firebird-devel] OO API examples for Object Pascal

2020-08-18 Thread liviuslivius
For me as a developer i need only udr examples to replace/extend old udf.All other code is not required as i drop TFDConnection and choose FB driver. And thats all. New features should be integrated by Embarcadero for its driver for Delphi. And this other part is for Embarcadero or FreePascal c

Re: [Firebird-devel] OO API examples for Object Pascal

2020-08-18 Thread Paul Reeves
On Mon, 17 Aug 2020 14:07:25 -0300 Adriano dos Santos Fernandes wrote: > > I'd say its correct place would be a new project under the FirebirdSQL > organization. I agree and disagree. Yes - if we create what essentially would be a driver written in object pascal. That should certainly be in a s

Re: [Firebird-devel] OO API examples for Object Pascal

2020-08-18 Thread Paul Reeves
On Tue, 18 Aug 2020 10:38:19 +0100 Tony Whyman wrote: > Paul, > > I am not surprised that you wrote "it is more difficult than I thought". > When I set out to upgrade IBX for Lazarus to the new Firebird 3 OO API, I > thought that it would be a relatively straightforward task. :-) I know you h

[Firebird-devel] [FB-Tracker] Created: (CORE-6390) Installation FirebirdCS 2.5.7 on SLES 15 SP2 "No provider found to "_tmpRPMcache_"

2020-08-18 Thread Marek (JIRA)
Installation FirebirdCS 2.5.7 on SLES 15 SP2 "No provider found to "_tmpRPMcache_" -- Key: CORE-6390 URL: http://tracker.firebirdsql.org/browse/CORE-6390 Project: Firebir

Re: [Firebird-devel] OO API examples for Object Pascal

2020-08-18 Thread Paul Reeves
On Tue, 18 Aug 2020 10:50:23 +0300 Simonov Denis via Firebird-devel wrote: > > Yes, it would be nice to have some wrappers to simplify programming. In fact, you have already done quite a bit of the work in your UDR examples. Especially the contents of the 'common' directory. I'd like to includ

[Firebird-devel] [FB-Tracker] Created: (CORE-6391) NBackup don't validate invalid level in some special occasions, leading to invalid files impossible to restore

2020-08-18 Thread Lucas Schatz (JIRA)
NBackup don't validate invalid level in some special occasions, leading to invalid files impossible to restore -- Key: CORE-6391 URL: http://tracker.firebi

[Firebird-devel] How to build for Android 64 bit

2020-08-18 Thread Karel Rys via Firebird-devel
Hello, I have an application for Android (runs on mobile phones and barcode mobile scanners). Application is written in Delphi, uses Embedded Firebird 3.0.6 and is build for 32 bit. I would like to publish the application in Google Play, so I have to build it for 64 bit Android, too. Please i

Re: [Firebird-devel] OO API examples for Object Pascal

2020-08-18 Thread Norbert Saint Georges
Paul Reeves a écrit : Does anyone have any thoughts on this? Paul First of all, thanks for your code, it's nicer to read than c ++ :-) Just a question about the "read only" transaction in 03.select.pas on line 224, you are not using the ptb initialized on line 217, normal? -- Norbert Sa

[Firebird-devel] [FB-Tracker] Created: (CORE-6392) Space in database path prevent working gbak -se ... -b "pat to/database" backup

2020-08-18 Thread Basil A. Sidorov (JIRA)
Space in database path prevent working gbak -se ... -b "pat to/database" backup --- Key: CORE-6392 URL: http://tracker.firebirdsql.org/browse/CORE-6392 Project: Firebird Core