File Release Notes and Changelog

Release Name: wxPostgres-0.2.2

Release Notes

* Fixed Query_browser methods fetch() and move(), that made cursor position incorrect.
* Fixed Grid_binding column caption setting, that set wrong captions when no labels
        for columns are defined, but columns are defined (bug 2789452).
* Added Query_browser::go_to_record() - move to some record by its index.
* Removed Query::FM_ALL - duplicated the behaviour of FM_FORWARD_ALL.

Change Log

2009-06-20	Aurimas ńĆernius	<aurisc4@gmail.com>
    * aclocal.m4: regerated.

    * configure: regenerated.

    * configure.ac: AC_INIT - versions changed to 0.2.2.

    * Doxyfile: PROJECT_NUMBER - changed to 0.2.2.
                ALPHABETICAL_INDEX - changed to YES.
                GENERATE_TREEVIEW - changed to YES.

    * INSTALL: removed Help and Feedback sections.

    * ltmain.sh: regenerated.

    * ltsugar.m4: regenerated.

    * ltversion.m4: regenerated.

    * Makefile.am: libwxpostgres_la_LDFLAGS - versions info changed to 2:0:0.

    * Makefile.in: regenerated.

    * NEWS: added version 0.2.2 news.

    * conf.h: PACKAGE_STRING - changed to version 0.2.2.
              PACKAGE_VERSION - changed to 0.2.2.
              VERSION - changed to 0.2.2.

    * README: new file.

    * wxPg.h: documentation licence moved to separate page.

    * wxPostgres.cbp: output file changed to libwxpostgres.so.2.0.0 in Debug_gtk and Release_gtk targets.
                      Soname changed to libwxpostgres.so.2 in Debug_gtk and Release_gtk targets.

    * grid_binding.cpp: prepare_grid_ - pass i as argument to col_label_.
                        col_label_ - argument type changed to unsigned,
                                     complettely rewritten.

    * query_browser.cpp: included libpq-fe.h.
                         Query_browser (constructor) - initialize abs_cursor_pos_ to 0.
                         ~Query_browser - removed.
                         buffer_size (both versions) - removed.
                         first - rewritten.
                         last - rewritten.
                         next - rewritten.
                         prev - when calculating fetch_from, do not add 1 to buffer_size(),
                                do not subtract 1 when calculating abs_cursor_pos_,
                                when calculating current_, do not add 1 to abs_pos_.
                         open - rewritten.
                         fetch - pass rows as argument to fetch_absolute_,
                                 removed FM_ALL.
                         move - rewritten.
                         abs_pos - removed.
                         cursor_pos - removed.
                         is_last - removed.
                         record_count - removed.
                         go_to_record - new method.
                         fetch_first_ - rewritten.
                         fetch_last_ - rewritten.
                         fetch_absolute_ - rewritten.
                         fetch_relative_ - do not add 1 when calling fetch_absolute_.
                         fetch_forward_ - added extra check at beginning,
                                          check (fetched > 0) instead of (fetched == 0) and update all
                                            position variables, when true,
                                          removed non conditional position variable update.
                         fetch_forward_all_ - rewritten.
                         fetch_backward_ - check if abs_cursor_pos_ is exactly 0 at beginning,
                                           when (rows <= 0), set abs_cursor_pos_ to 0 and return true,
                                           after fetch, set abs_pos_ to (abs_cursor_pos_ - 1),
                                           after fetch, set current_ to rows() - 1.
                         fetch_backward_all_ - rewritten.
                         move_forward_all_ - new method.
                         move_absolute_ - new method.
                         move_relative_ - new method.
                         move_last_ - new method.
                         move_forward_ - new method.
                         move_backward_ - new method.
                         move_backward_all_ - new method.
                         go_to_record_ - new method.
                         fetch_from_ - new method.

    * query.cpp: fetch_move_ - removed FM_ALL.

    * grid_binding.h: col_label_ - argument changed to unsigned.

    * query_browser.h: ~Query_browser - inlined here.
                       buffer_size (both versions) - inlined here.
                       abs_pos - inlined here.
                       cursor_pos - inlined here, return type changed to unsigned long long.
                       is_last - inlined here.
                       record_count - inlined here.
                       end_reached - new method.
                       go_to_record - new method.
                       total_recs_, abs_cursor_pos_ - type changed to unsigned long long.
                       move_forward_all_ - new method.
                       move_absolute_ - new method.
                       move_relative_ - new method.
                       move_last_ - new method.
                       move_forward_ - new method.
                       move_backward_ - new method.
                       move_backward_all_ - new method.
                       go_to_record_ - new method.
                       fetch_from_ - new method.

    * query.h: Query (class) - removed FM_ALL.
Powered By FusionForge