asfernandes
09b6e1b26b
Misc
2009-08-09 22:21:31 +00:00
robocop
757beb29b1
Style (anyway irrelevant since this library contains now only superseded functions except frac).
2009-08-08 06:36:02 +00:00
alexpeshkoff
7f99828baa
Fixed a bug in my recent commit
2009-06-09 10:31:31 +00:00
alexpeshkoff
1502f7d4e0
Declare exported functions correctly - thanks to Paul Beach
2009-06-09 08:40:36 +00:00
robocop
51d3c9b756
Let's use more typical #ifdef to test macros instead o #if.
2009-05-29 11:27:41 +00:00
robocop
66b1227b22
Unused params, some formatting, cleanup.
2009-05-01 17:21:36 +00:00
robocop
4ffeaea47a
Expose frac() in ib_udf but only as udf_frac to not clash with a possible native implementation.
2009-03-05 06:38:43 +00:00
asfernandes
f532f6975e
Misc
2009-01-21 15:42:45 +00:00
robocop
bc2e065baa
Fix CORE-2281 and CORE-2282.
2009-01-21 09:58:04 +00:00
asfernandes
8fbf0e8e8c
Remove trailing spaces (.cpp files)
2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb
Remove trailing spaces (.h files)
2008-12-05 00:56:15 +00:00
asfernandes
8f9b451ce9
Rework of ib_util changes. Dynamically load it in the engine and inform callback functions to alloc and free memory. Allocate memory from the default pool.
2008-07-12 21:23:42 +00:00
asfernandes
52367772ab
Call free after release the mutex - thanks to Nikolay
2008-07-02 00:24:14 +00:00
asfernandes
6f889ba0a4
1) Fixed an error in the POSIX build after usage of GlobalPtr
...
2) Some things observed by Claudio
2008-06-15 16:20:55 +00:00
dimitr
5e0f852254
Misc.
2008-06-15 05:23:16 +00:00
asfernandes
af1d955da6
Improvement CORE-1937 - Detect (instead of crash) FREE_IT UDFs that return pointer not allocated by ib_util_malloc
2008-06-14 22:16:40 +00:00
robocop
5ebd69a9b3
No need to provide parameters with default values.
2008-03-28 13:26:56 +00:00
dimitr
b87b5032ef
Changes in the TimeStamp class by Dmitry Kovalenko.
2008-03-26 10:21:04 +00:00
alexpeshkoff
6e42c542ea
Builtin functions - same changes in legacy file
2007-06-01 13:16:43 +00:00
alexpeshkoff
08c251854b
All this functions became builtin in fb2.1
2007-06-01 12:08:01 +00:00
alexpeshkoff
d63491e3c5
Finished gcc-warnings cleanup
2007-04-11 16:05:40 +00:00
robocop
7274dc89c1
Totally misc.
2007-02-20 08:40:38 +00:00
asfernandes
48d51e53c2
Misc
2006-10-02 02:39:45 +00:00
robocop
74dd3542ba
Fix comment.
2006-09-28 06:27:27 +00:00
alexpeshkoff
bf3b16eb9d
commited patch of Gerard Patel
2006-08-21 08:23:02 +00:00
dimitr
38e557a3d0
Fixed MSVC8 build once more :-)
2006-07-25 08:58:39 +00:00
robocop
74461a8a64
CORE-858
...
Misc, related to the other data type changes.
2006-07-21 06:57:44 +00:00
robocop
92ea43a721
CORE-858
...
In version 1.15, I fixed a bug but introduced a worse one. It went unnoticed for more than two years, but fbudf has memory problem when dealing with varchars due to a silly change in the vary struct definition.
I think these h and cpp can be copied safely from the HEAD to FB2.0.
2006-07-21 06:55:37 +00:00
robocop
4e754ec8e4
Migrate fbudf to platform-neutral integral types.
2006-06-03 05:24:33 +00:00
robocop
c4870f6d2b
Migrate ib_udf to platform-neutral integral types.
2006-06-03 04:53:06 +00:00
asfernandes
da8bc2343c
Misc
2006-06-01 01:46:21 +00:00
dimitr
16aa4ad332
VS8.0 has two implementations of div(). Let's explicitly use the int-aware one.
2006-05-31 15:08:31 +00:00
robocop
38b063b3de
I misread the logic: it's true (not false) that tells Timestamp to not call the operating system to get the current time. Thanks to D. Sibiryakov.
2006-02-04 02:40:20 +00:00
robocop
7a3f8e5cb2
fbudf wasn't really thread safe (despite the Mutex) when dealing with the non-reentrant functions localtime and gmtime because we need to copy the contents of the result pointer to a local variable before releasing the Mutex.
2006-02-02 00:39:02 +00:00
robocop
0c28df8cf2
Declare independence day from client library for fbudf . For builds other than MSVC6, the following has to be done:
...
- add to fbudf project the files timestamp.cpp and timestamp.h
- for the same project, define FBUDF_EXPORTS as preprocessor macro
- for the firebird2 workspace/solution/make/etc get rid of the dependency of fbudf on fbclient. Build files that I indentified that need fixes are:
builds\posix\Makefile.in.client.fbudf
builds\posix\Makefile.in.embed.fbudf
builds\win32\msvc7\fbudf.vcproj
builds\win32\msvc7\Firebird2.sln
MacOs build files ignore fbudf completely.
This change eliminates the problem with the client library having different names depending on the build type (SS, CS, embedded).
2006-02-02 00:28:03 +00:00
alexpeshkoff
64d2be0337
make fbudf use fb2 class Mutex, when needed
2005-12-24 17:05:30 +00:00
robocop
dc007572fb
Add getExactTimestampUTC and put some indications. Alex will fix my stub code.
...
It seems gmtime doesn't work as expected at least with VC6.
2005-12-23 23:08:09 +00:00
robocop
10e313d5bb
Declare UDF lower as "LOWER" in ib_udf2.sql and go on with life.
2005-10-04 05:15:09 +00:00
aafemt
cb4abdfd3c
Plain C don't know namespaces
2005-06-10 10:35:07 +00:00
robocop
3aaa840483
Misc.
2005-05-22 03:11:41 +00:00
robocop
bb31662854
Solve bug with AddMonth when facing January.
...
Include little IsLeapYear function.
2005-03-26 05:01:01 +00:00
robocop
39fbdce193
Totally misc.
2005-01-01 01:54:30 +00:00
robocop
4117b22257
Misc.
2004-12-07 01:40:48 +00:00
robocop
6521e12aaf
Slavomir Skopalik contributed IB_UDF_frac.
2004-12-07 00:29:40 +00:00
fsg
84f6c9c02b
Renamed old rand udf to srand
...
added new rand function without seed
FSG
2004-11-03 14:16:57 +00:00
skidder
1f57ee9f83
Fix POSIX build. It is difficult to teach make to pick up .cpp file when .c file with the same name is present. Thus we delete ib_udf.c.
2004-11-02 07:13:53 +00:00
skidder
06b32c56d9
Fix MSVC7 build
2004-11-02 06:23:59 +00:00
robocop
b67464ddff
Alternative addDay2 function (same usage, more orthodox handling).
...
Same can be done for other Add<part> functions.
2004-10-28 04:47:32 +00:00
robocop
b3dda49b1a
Alternative addDay2 function (same usage, more orthodox handling).
...
Same can be done for other Add<part> functions.
2004-10-28 04:36:24 +00:00
robocop
a80a37cd1b
Make fbudf more civilized:
...
- Functions that use an output argument shouldn't return anything.
- Signal null output blob if the engine understands it.
- Make input parameter const except in some cases where the library plays with input params using internal engine knowledge (not recommended for general usage).
2004-10-04 08:47:41 +00:00