Permalink
Commits on Nov 2, 2011
  1. release 0.90

    real-dam committed Nov 2, 2011
Commits on Nov 1, 2011
  1. MANIFEST.SKIP: skip t/emped-*

    real-dam committed Nov 1, 2011
    these are generated
  2. avoid using warn(char*)

    real-dam committed Nov 1, 2011
    the contents of the char* may contain format strings
    (like %d), which would be interpreted making warn()
    access illegal instead, use warn("%s", char*) to clearly
    state the intent
Commits on Oct 28, 2011
  1. Merge 'optional-libfbembed' into master

    real-dam committed Oct 28, 2011
    Closes #21. First-grade embedded support available now
    
    Conflicts:
    	Makefile.PL -- compiler flags and objects
Commits on Oct 27, 2011
Commits on Oct 26, 2011
  1. add $ENV{CFLAGS} to CCFLAGS

    real-dam committed Oct 26, 2011
    this allows influencing the compiler flags from the environment
    Useful for situations where certain flags are imposed by
    the builder, for example Debian/Ubuntu auto-builders
Commits on Oct 25, 2011
  1. support DBD_FIREBIRD_REQUIRE_EMBEDDED env. variable

    real-dam committed Oct 25, 2011
    this is useful in automated build environments (like
    Debian build daemons) where one would expect consistent
    results wrt embedded availability both accross architectures
    and across different versions
  2. db_login6, gfix: abort if DPB length doesn't match projected

    real-dam committed Oct 25, 2011
    getting this wrong easily leads to memory overwrites
  3. rework populating of DPB

    real-dam committed Oct 25, 2011
    preparing and populating DPB is now done via centralized
    set of macros, so it should be easier to keep accurate.
    
    No longer need to remember that integers require 6
    bytes, and strings 2 bytes + string length (excluding NUL
    terminator)
  4. db_login/charset: copy only SV content

    real-dam committed Oct 23, 2011
    there is no guarantee that there is a trailing NUL
  5. db_login6: fix dbp ingrements for strings and integers

    real-dam committed Oct 23, 2011
    for strings we have 1 byte for the dpb key, 1 byte for
    the string length, followed by the string itself,
    *without* NUL terminator
    
    for integers we have 1 byte for the dpb key, 1 byte for
    the length and 4 bytes for the integer itself
    
    It seems to have worked before, but this is some kind
    of a coincidence -- allocating more for strings and
    less for integers and depends on given parameters,
    memory layout and the phase of the moon :)
  6. db_login6: use determined database length

    real-dam committed Oct 23, 2011
    should be noop in the common case, but who knows
  7. build/test without ISQL

    real-dam committed Oct 22, 2011
  8. tests: rework database dropping without ISQL

    real-dam committed Oct 22, 2011
    avoids depending on external, hard to locate binary and
    tests the driver code. works with client/embedded
  9. add ib_drop_database function

    real-dam committed Oct 22, 2011
  10. check_database: rework without ISQL

    real-dam committed Oct 22, 2011
    Instead of depending on external binary (finding of
    which is a burden by itself), try connecting to the
    database and find its dialect using the driver
  11. generic create_test_database

    real-dam committed Oct 22, 2011
  12. turn forced writes off using the driver method

    real-dam committed Oct 22, 2011
    elliminates the need to call external gfix, tests the code
    and makes turning forced writes off work in embedded
    mode even if gfix is linked with fbclient
  13. implement DBD::Firebird->gfix

    real-dam committed Oct 22, 2011
    For now it provides changing only the forced writes flag
    and the default number of cache buffers
  14. use the driver instead of isql for creating the test database

    real-dam committed Oct 22, 2011
    simplifies code, drops one place where isql is needed,
    tests the create_database method, and works with embedded
    even if isql is linked with fbclient
  15. add DPB_FILL_STRING_LEN macro for when we know the length

    real-dam committed Oct 22, 2011
    the SvPV macro gives it to us anyway
  16. move decoding of status into ib_error_decode

    real-dam committed Oct 20, 2011
    makes it possible to get a string (char*) representation
    of the error, without having a dbh at hand