Adriano dos Santos Fernandes
c07101e929
Misc.
2016-06-08 21:50:01 -03:00
5d6030db2e
Make example 01 built on Windows. Add example of backup ( #33 )
2016-06-02 13:43:14 +03:00
24ba968d34
Cleanup and minor enhancement in database crypt example
2016-04-04 20:06:55 +03:00
Adriano dos Santos Fernandes
ede09bf269
Misc.
2016-04-03 16:26:11 -03:00
a0bf23492e
Added services example
2016-04-01 16:02:18 +03:00
c133e0db89
Little example fix
2016-04-01 15:54:56 +03:00
f92f2a1b09
Implemented CORE-5176: Add interface replacing isc_event_block() and isc_event_counts() functions
2016-03-28 21:10:01 +03:00
69e6c4c07f
Fixed docs - thanks to Adriano
2016-03-28 12:02:47 +03:00
Dmitry Yemanov
a958ee4fe2
Minimize dependencies on ODS number in project files.
2016-03-25 09:47:13 +03:00
260fc675dc
Added sample of using blobs
2016-03-23 17:04:30 +03:00
1c548a533c
Updated samples, added sample 6
2016-03-18 18:29:25 +03:00
alexpeshkoff
0e32c78489
Fixed CORE-5134: Samples of dbcrypt-related plugins contain references to internal files
2016-03-11 15:11:04 +00:00
asfernandes
983b12b676
Warnings.
2016-03-03 22:52:03 +00:00
alexpeshkoff
be9bef903e
Sample of writing plugin using pascal
2016-02-23 16:54:19 +00:00
alexpeshkoff
2e04326709
Misc changes in example
2016-02-23 16:53:32 +00:00
alexpeshkoff
7379705b9d
Fixed bug in a sample - thanks to Adriano
2016-02-19 10:39:11 +00:00
asfernandes
6259b1b1e0
Misc.
2016-02-15 02:53:24 +00:00
alexpeshkoff
0c2f694ead
Postfix for CORE-5100: restored binary compatibility with crypt plugins for RC1
2016-02-04 09:22:03 +00:00
alexpeshkoff
bebf1d5a70
Implemented CORE-5100: Improve control over database crypt keys
2016-02-03 13:20:41 +00:00
alexpeshkoff
081bbb72d8
comment
2016-02-01 16:13:29 +00:00
asfernandes
0e228836a8
Correction.
2016-01-30 23:40:20 +00:00
alexpeshkoff
ffa487a1bc
Implemented CORE-5083: Provide method to correcty set offsets in implemented by user IMessageMetadata
2016-01-25 18:34:27 +00:00
asfernandes
c2a0ec08c0
Missing dispose.
2016-01-17 01:14:51 +00:00
alexpeshkoff
474538c7ff
Added support for using pascal to access OO API
2015-12-21 17:01:26 +00:00
alexpeshkoff
e3a73a20a6
Fixed crypt application
2015-11-16 16:13:33 +00:00
aafemt
556175ca45
Missing export direcrive
2015-11-06 16:43:49 +00:00
alexpeshkoff
f001ede048
Update samples - use IUtil and IXpbBuilder
...
Avoid plain isc_ calls
2015-11-05 17:15:10 +00:00
paul_reeves
7224a0ac91
Disconnect from empbuild database on error.
2015-06-26 15:52:56 +00:00
paul_reeves
2daf347b4f
Improve error handling and document addlang correctly as a function that updates an array, not a blob.
2015-06-26 13:23:04 +00:00
egorpugin
0e02f91a72
Add cloop to CMake build.
2015-04-07 10:08:58 +00:00
robocop
939feab036
Misc.
2015-03-13 15:26:22 +00:00
alexpeshkoff
adee7ab4b6
Fixed error handlig in test
2015-02-27 15:59:11 +00:00
alexpeshkoff
88f3e7e266
misc
2015-02-27 15:42:53 +00:00
asfernandes
47f64b0da4
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
asfernandes
c861f0cd54
Revert my last change after it broke the Windows build.
2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
asfernandes
9ece682387
Misc.
2015-02-14 18:55:00 +00:00
asfernandes
e02bf841ad
Move Helper class from UDR to the main interface header. Use proper (argh) ref. counting in the ExternalContext::get* methods.
2015-02-11 15:12:18 +00:00
alexpeshkoff
9e627f3c64
Bring examples up-to-date, use ThrowStatusWrapper in them
2015-02-10 13:32:03 +00:00
egorpugin
25fd28f604
[build] [cmake] Call custom commands via scripts.
2015-02-06 12:58:17 +00:00
egorpugin
0fbb859f43
[build] [cmake] Bump minimal cmake version. Add missed dependency.
2015-02-05 17:10:41 +00:00
egorpugin
e50c2a4708
[build] [cmake] Do not place boot targets into output directory.
2015-02-05 06:36:23 +00:00
asfernandes
69ccf374b7
Fix Windows (cmake only) build. Linux build currently is not using udr_plugin.vers when linking examples/udr.
2015-02-03 14:56:20 +00:00
egorpugin
23178f0d09
[build] [cmake] Move some projects to Boot folder. Improve generating of build_msg and codes. Fix Windows issue with databases.
2015-02-01 16:43:35 +00:00
egorpugin
acbd633e45
[build] [cmake] Make 'remote' and 'common' targets private for 'yvalve' target.
2015-01-30 20:23:34 +00:00
egorpugin
7fbb9837ae
[build] [cmake] Fix crosscompiling for android on linux.
2015-01-26 19:20:48 +00:00
egorpugin
d75a3ec4d6
[build] [cmake] Update build according to the last changes.
2015-01-26 15:23:27 +00:00
asfernandes
157d5c4eb1
Split the UDR examples in multiple files to demonstrate how it should be done.
2015-01-26 14:52:54 +00:00
egorpugin
4ea86e5205
[build] [cmake] Fix build, typos. Move some projects to 'Boot' dir.
2015-01-26 07:56:51 +00:00
asfernandes
e9f74f04d1
Improvements to the UDR plugin.
2015-01-25 20:27:46 +00:00
egorpugin
14163d7e3e
[build] [cmake] Initial CMake build system commit.
2015-01-21 11:21:51 +00:00
asfernandes
c697a0268a
Fixed problem of local templates being not allowed in pre-C++-11 code.
2015-01-18 14:53:06 +00:00
asfernandes
efa3067233
Remove old hacks.
2015-01-15 01:16:16 +00:00
asfernandes
7f7887e895
Make UDR StatusType customizable.
2015-01-13 14:43:24 +00:00
asfernandes
b99311dd1e
Make the API usable with different type of IStatus classes, throwing (what class?) or not throwing. Builtin are CheckStatusWrapper (no throw) and ThrowStatusWrapper (throws FbException).
2015-01-12 00:21:38 +00:00
asfernandes
d8a0ff5f4b
Generate interfaces with I-prefix.
2014-12-19 15:24:44 +00:00
alexpeshkoff
88925cd92a
Changed struct DtcStart to interface. Make external programs build again with minimum changes.
2014-12-18 16:54:44 +00:00
asfernandes
49d1a73994
Get rid of upgradeInterface API method and some adjustments. To be continued.
2014-11-10 14:45:40 +00:00
alexpeshkoff
f2193f088e
Fixed build errors
2014-10-16 10:36:23 +00:00
asfernandes
c642ddca82
Misc.
2014-10-12 02:25:02 +00:00
alexpeshkoff
153de0f271
Language independent API
2014-09-29 11:03:47 +00:00
alexpeshkoff
d513daa574
Divide IStatus information into 3 parts: errors, warnings and completion code.
...
Errors and warnings are processed in IStatus independently. Completion code
is moved away from IStatus and returned directly by appropriate functions.
Replaced isSuccess() with more generic function getStatus(), which sets
appropriate bits in returned value when errors/warnings are present.
Also use same style when returning bytes' array and it's length in different
interfaces.
2014-08-27 09:24:30 +00:00
alexpeshkoff
94f9a7e6e2
Make a dbCrypt sample a little more interesting
2014-08-25 14:04:50 +00:00
alexpeshkoff
900fb824fe
Fixed CORE-4505: Use of named cursor fails if statement was not executed. Should also fix CORE-4489, but I cannot check.
2014-07-31 11:43:38 +00:00
asfernandes
fa0c3dd11c
Misc.
2014-07-10 02:21:18 +00:00
alexpeshkoff
a9721f18e0
Added first parameter IStatus* to a lot of functions in API interfaces
2014-07-02 12:57:12 +00:00
mapopa
2adce12d57
FB_ALIGN is always defined in src/include/types_pub.h ((n+b-1)&~(b-1))
2014-05-07 15:14:41 +00:00
mapopa
654c3562a3
cleanup VMS FB_ALIGN define
2014-05-07 14:51:49 +00:00
robocop
2810026363
Misc and warnings.
2013-12-29 00:35:50 +00:00
alexpeshkoff
9efc7cb4d2
It's better to always check isql return code
2013-11-20 12:03:22 +00:00
alexpeshkoff
b15fd23511
Very strange that it compiled and worked as expected with 2 unused and unneded lines of code
2013-10-17 13:22:32 +00:00
alexpeshkoff
0bee401fc9
fixed interface usage
2013-09-09 09:14:38 +00:00
asfernandes
21b23ef28d
Misc.
2013-06-28 02:03:10 +00:00
alexpeshkoff
d272748f29
no more need in plan here
2013-06-26 07:17:20 +00:00
alexpeshkoff
d0136fb54e
Examples reworked, added, commented better
2013-06-25 13:37:03 +00:00
alexpeshkoff
a0c505eb05
A sample of running prepared update statement multiple times. Based on old sample api3 with appropriate license.
2013-06-24 13:40:04 +00:00
alexpeshkoff
d7b6b83dfa
Make sample buildable after API changes. Make it look a bit like old sample api3.
2013-06-24 12:36:14 +00:00
alexpeshkoff
3ab9a6bacc
Example on how to create database and table
2013-06-24 12:26:02 +00:00
asfernandes
768b79c361
Improvements and corrections to message builder and UDR.
2013-06-18 15:50:48 +00:00
asfernandes
fc9b47b63d
UDR C++ interface and examples improvements.
2013-06-06 16:05:02 +00:00
asfernandes
4caf8d0d5b
RAII improvements and better usage of initializer in UDR examples.
2013-06-03 15:24:44 +00:00
asfernandes
6aa9a5bf6c
RAII usage in UdrCpp example.
2013-05-27 15:51:21 +00:00
asfernandes
cf42eaf4d5
Make the master interface available in UDR.
2013-05-23 15:53:06 +00:00
asfernandes
bdbd54b81e
Improve external triggers messages to work by field name (instead of field order).
2013-05-22 15:44:05 +00:00
asfernandes
6e4fbfdba7
Changed package routines syntax to not need (nor accept) a semi-colon after "END".
2013-05-13 01:49:34 +00:00
asfernandes
1e373aa1a7
Corrections.
2013-04-12 15:20:31 +00:00
asfernandes
e0567463bf
Revert external routines to request-based (*) code, but now using a totally different internal approach.
...
* This is not ideal IMO, but much more easier to currently support stack traces, and domain's defaults and validations.
2013-04-11 15:44:17 +00:00
asfernandes
b9bc308a72
Work in progress fixing external triggers.
2013-03-23 21:12:27 +00:00
alexpeshkoff
c18bbe99a2
fixed sample
2013-03-12 12:37:17 +00:00
asfernandes
48fd751c6e
Fixing FB_MESSAGE macro and external functions and procedures.
...
Isolate external routines them from request-based ones.
2013-03-04 01:42:58 +00:00
alexpeshkoff
33b4336028
Enhancements of IMetadataBuilder
2013-02-21 14:59:24 +00:00
alexpeshkoff
0099e61d67
misc
2013-02-18 11:42:45 +00:00
alexpeshkoff
cc4b4195bb
A sample of using OO API
2013-02-18 11:07:38 +00:00
asfernandes
491fdd82b2
Unifying the external engines API with the new ones.
2013-02-15 02:48:54 +00:00
alexpeshkoff
5aa85c8bba
Fixed employee build - avoid CHECK constraint errors
2013-02-07 12:51:56 +00:00
asfernandes
dc8e42e9bb
Migrate external triggers to the new message-based style.
2013-01-29 01:21:32 +00:00
mapopa
8f918288a8
Update salaries and the currency in the intl version for employee db
2012-11-09 14:56:42 +00:00
mapopa
0f1d1f2e80
use dialect 3
2012-11-09 14:37:38 +00:00
mapopa
69fe81bdca
update currency cross rates to current ones
2012-11-09 14:28:33 +00:00
alexpeshkoff
f9297d19f1
Make example runnable with dialect-3 employee database
2012-11-09 13:35:53 +00:00