File Release Notes and Changelog

Release Name: wxPostgres-0.3.0

Release Notes

* Redisigned bindings to use binding objects instead of callbacks.
* New class wxPg::Grid - a grid for browsing large query results.
* New class wxPg::Updatable_row for updating a single row in table.
* Made possible to use wxPostgres without having libpq-fe.h (required to compile library, not to use it).
* Added Code::Blocks project to compile library.
* New macro wxPG_BIND_HYPERLINK_CTRL_WLABEL to update both Label and URL update in wxHyperlinkCtrl.
* Improved documentation.
* Fixed bug - when field is NULL, clear selection in list controls.
* Fixed bug - get_time() return wrong value for timestamp fields in both Data_row and Cached_result.
* Fixed bug - wrong labels set to wxGrid columns when using Grid_binding in some cases.

Change Log

2009-09-05	Aurimas Černius	<aurisc4@gmail.com>
    * demos/connectdlg/connectdlg.cpp: new file.

    * demos/connectdlg/connectdlg.h: new file.

    * demos/ctrlbind_demo/ctrlbind_demo.cbp: new file.

    * demos/ctrlbind_demo/ctrlbind_demo.cpp: new file.

    * demos/grid_demo/grid_demo.cbp: new file.

    * demos/grid_demo/grid_demo.cpp: new file.

    * demos/aclocal.m4: new file.

    * demos/config.guess: new file.

    * demos/config.h.in: new file.

    * demos/config.sub: new file.

    * demos/configure: new file.

    * demos/configure.ac: new file.

    * demos/depcomp: new file.

    * demos/install-sh: new file.

    * demos/ltmain.sh: new file.

    * demos/Makefile.am: new file.

    * demos/Makefile.in: new file.

    * demos/missing: new file.

    * demos/README: new file.

    * wxPostgres.cbp: in MSW targets changed to static library.

    * NEWS: added news for version 0.3.0.

2009-08-27	Aurimas Černius	<aurisc4@gmail.com>
    * grid.cpp: open - added return at the end.

2009-08-21	Aurimas Černius	<aurisc4@gmail.com>
    * binding_list.cpp: included wx/combo.h
                        wxWindow_list_updater::wxWindow_list_updater - new method.
                        wxItemContainer_list_updater::wxItemContainer_list_updater (all version) - 
                                call base constructor wxWindow_list_updater().

    * list_binding.cpp: bind - argument type changed to wxWindow_list_updater*.
                        unbind - use wxWindow_list_updater* as template argument for vector.
                        update_UI - use wxWindow_list_updater* as template argument for vector.

    * binding_ctrl.h: added forward declaration for wxWindow.

    * binding_list.h: removed include of list_binding.h.
                      included result_data_provider.h.
                      added #ifdef's around each forward declaration of class.
                      wxWindow_list_updater - new class.
                      wxItemContainer_list_updater (class) - derived from wxWindow_list_updater.

    * list_binding.h: removed include of result_data_provider.h.
                      included binding_list.h.
                      List_binding - removed inner class wxWindow_updater.
                      bind - argument type changed to wxWindow_list_updater*.
                      ctrl_bindings_ - template argument changed to wxWindow_list_updater*.

    * wxPg.h: included row_binding.h.
              include list_binding.h.

2009-08-19	Aurimas Černius	<aurisc4@gmail.com>
    * Makefile.am: nobase_include_HEADERS - added updatable_row_binding.h.
                   libwxpostgres_la_SOURCES - added updatable_row_binding.cpp.

    * Makefile.in: regenerated.

    * binding_ctrl.cpp: wxWindow_updater (constructor) - new method.
                        wxWindow_def_updater (constructor) - call wxWindow_updater() without context.
                        wxCalendarCtrl_updater::operator()(Updatable_row*) - new method.
                        wxComboBox_updater::operator()(Updatable_row*) - new method.
                        wxComboCtrl_updater::operator()(Updatable_row*) - new method.
                        wxRichTextCtrl_updater::operator()(Updatable_row*) - new method.
                        wxTextCtrl_updater::operator()(Updatable_row*) - new method.
                        wxSpinCtrl_updater::operator()(Updatable_row*) - new method.
                        wxDatePickerCtrl_updater::operator()(Updatable_row*) - new method.
                        wxCheckBox_updater::operator()(Updatable_row*) - new method.
                        wxSpinButton_updater::operator()(Updatable_row*) - new method.
                        wxItemContainer_updater::operator()(Data_row_provider*) - clear selection on null,
                                                                                  set selection otherwise.
                        wxItemContainer_updater::operator()(Updatable_row*) - new method.
                        wxRadioBox_updater::operator()(Updatable_row*) - new method.
                        wxVListBox_updater::operator()(Updatable_row*) - new method.

    * updatable_row_binding.cpp: new file.

    * binding_ctrl.h: removed include row_binding.h.
                      included data_row_provider.h and updatable_row.h.
                      wxWindow_updater - new class.
                      wxWindow_def_updater (class) - derived from wxWindow_updater.
                      wxCalendarCtrl_updater::operator()(Updatable_row*) - new method.
                      wxComboBox_updater::operator()(Updatable_row*) - new method.
                      wxComboCtrl_updater::operator()(Updatable_row*) - new method.
                      wxRichTextCtrl_updater::operator()(Updatable_row*) - new method.
                      wxTextCtrl_updater::operator()(Updatable_row*) - new method.
                      wxSpinCtrl_updater::operator()(Updatable_row*) - new method.
                      wxDatePickerCtrl_updater::operator()(Updatable_row*) - new method.
                      wxCheckBox_updater::operator()(Updatable_row*) - new method.
                      wxSpinButton_updater::operator()(Updatable_row*) - new method.
                      wxItemContainer_updater::operator()(Updatable_row*) - new method.
                      wxRadioBox_updater::operator()(Updatable_row*) - new method.
                      wxVListBox_updater::operator()(Updatable_row*) - new method.

    * row_binding.h: included binding_ctrl.h.
                     Row_binding (class) - removed inner class wxWindow_updater.
                     bind - fixed documentation.

    * updatable_row_binding.h: new file.

    * wxPg.h: included updatable_row_binding.h.

    * wxPostgres.cbp: added wx_gtk2u_richtext-2.8 to libraries in GTK targets.
                      added updatable_row_binding.cpp and updatable_row_binding.h to all targets.

2009-08-11	Aurimas Černius	<aurisc4@gmail.com>
    * Makefile.am: nobase_include_HEADERS - added updatable_row.h.
                   libwxpostgres_la_SOURCES - added updatable_row.cpp.

    * Makefile.in: regenerated.

    * binding_ctrl.cpp: wxHyperlinkCtrl_updater_wlabel (constructor) - new method.
                        wxHyperlinkCtrl_updater_wlabel::operator() - new method.

    * binding_ctrl.h: wxWindow_def_updater::field() - changed to return reference, not object.
                      wxHyperlinkCtrl_updater_wlabel - new class.

    * binding_macros.h: wxPG_BIND_HYPERLINK_CTRL_WLABEL - new macro.

2009-08-10	Aurimas Černius	<aurisc4@gmail.com>
    * cached_result.cpp: store - caching value rewritten to use format_cached_value().

    * cached_row_provider.cpp: get_time - separate handling for TYPE_STRING.
                               Cached_row_provider (class) - format_cached_value - new method.

    * updatable_row.cpp: new file.

    * updatable_row_test.cpp: new file.

    * cached_result.h: added forward declaration for Database class.

    * cached_row_provider.h: added forward declaration for Database class.
                             format_cached_value - new method.

    * database.h: added forward declaration for Updatable_row.
                  Database (class) - added friend class Updatable_row.

    * updatable_row.h: new file.

    * wxPostgres.cbp: added updatable_row.cpp and updatable_row.h to all targets.

2009-08-04	Aurimas Černius	<aurisc4@gmail.com>
    * cached_result.cpp: store - store field types and indices in the same loop as values,
                                 store date and time values as ISO date and ISO time.

    * cached_row_provider.cpp: get_int(int) - added special handling for boolean data.
                               get_float(int) - added special handling for boolean data.
                               get_date(int) - do parsing only if data type is TYPE_DATE, TYPE_TIMESTAMP or TYPE_STRING.
                               get_time(int) - do parsing only if data type is TYPE_TIME or TYPE_STRING,
                                               special handling for timestamp data.
                               get_date_time(int) - special handlings for date, time, timestamp and string data,
                                                    do nothing for other data types.

    * cached_result_test.cpp: fixed incorrect header.
                              removed unnecessairy comment.
                              drop_test_table - added clear of src global object.

2009-08-03	Aurimas Černius	<aurisc4@gmail.com>
    * data_row.cpp: included cstring.
                    type_simple(const wxString&) - reimplemented to call type_simple(int).
                    null(const wxString&) - reimplemented to call null(int).
                    get_int(int) - added type switch, special handling for boolean data.
                    get_int(const wxString&) - reimplemented to call get_int(int).
                    get_float(int) - added type switch, handle boolen data.
                    get_float(const wxString&) - reimplemented to call get_float(int).
                    get_str(const wxString&) - reimplemented to call get_str(int).
                    get_date(int) - added type switch.
                    get_date(const wxString&) - reimplemented to call get_date(int).
                    get_time(int) - added type switch, special handling for timestamp fields.
                    get_time(const wxString&) - reimplemented to call get_time(int).
                    get_date_time(int) - added type switch, special handling for date, time and string fields.
                    get_date_time(const wxString&) - reimplemented to call get_date_time(int).
                    get_bool(const wxString&) - reimplemented to call get_bool(int).

    * type.cpp: oid_to_type_simple - added support for text fields.

    * data_row_test.cpp: new file.

    * qb_test.cpp: removed unnecessairy comment.

2009-07-18	Aurimas Černius	<aurisc4@gmail.com>
    * Makefile.am: nobase_include_HEADERS - added cached_row_provider.h.
                   libwxpostgres_la_SOURCES - added cached_row_provider.cpp.

    * Makefile.in: regenerated.

    * cached_result.cpp: removed includes utils.h and cstdlib.
                         type_simple(const wxString&) - removed method.
                         null(const wxString&) - removed method.
                         get_int (both versions) - removed methods.
                         get_float (both versions) - removed methods.
                         get_str(const wxString&) - removed method.
                         get_date (both versions) - removed methods.
                         get_time (both versions) - removed methods.
                         get_date_time (both versions) - removed methods.
                         get_bool (both versions) - removed methods.

    * cached_row_provider.cpp: new file.

    * cached_result_test.cpp: new file.

    * qb_test.cpp: CONINFO - removed define.
                   included coninfo.h, testdb.h, test_logger.h.
                   Database - removed class.
                   test_logger - removed class.
                   logger - removed variable.
                   test_logger (constuctor) - removed method.
                   ~test_logger - removed method.
                   log_success - removed method.
                   log_error - removed method.
                   log_check_point - removed method.
                   output_summary - removed method.
                   prepare_test_env - database connection rewritten to use db_connect().

    * coninfo.h: new file.

    * testdb.cpp: new file.

    * testdb.h: new file.

    * test_logger.cpp: new file.

    * test_logger.h: new file.

    * cached_result.h: included cached_row_provider.h.
                       Cached_result (class) - changed to virtually derive from Result_data_provider
                                               and Cached_row_provider.
                       type_simple(const wxString&) - removed method.
                       null(const wxString&) - removed method.
                       get_int (both versions) - removed methods.
                       get_float (both versions) - removed methods.
                       get_str(const wxString&) - removed method.
                       get_date (both versions) - removed methods.
                       get_time (both versions) - removed methods.
                       get_date_time (both versions) - removed methods.
                       get_bool (both versions) - removed methods.

    * cached_row_provider.h: new file.

    * wxPostgres.cbp: added cached_row_provider.cpp and cached_row_provider.h to all targets.

2009-07-02	Aurimas Černius	<aurisc4@gmail.com>
    * Makefile.am: nobase_include_HEADERS - added widgets.h, grid_table.h and grid.h.
                   libwxpostgres_la_SOURCES - added grid_table.cpp and grid.cpp.

    * Makefile.in: regenerated.

    * grid_bind_def.cpp: field_binding - new method.

    * grid_table.cpp: new file.

    * grid.cpp: new file.

    * grid_bind_def.h: field_binding - new method.

    * grid_table.h: new file.

    * grid.h: new file.

    * widgets.h: new file.

    * wxPostgres.cbp: added grid_table.cpp, grid.cpp, widgets.h, grid_table.h, grid.h to all targets.

2009-06-24	Aurimas Černius	<aurisc4@gmail.com>
    * qb_test.cpp: run_test_goto - randomly generate buf_pos and pass as second argument to go_to_record.

    * query_browser.cpp: go_to_record - added argument buf_pos,
                                        pass buf_pos as second argument to go_to_record_.
                         go_to_record_ - added argument buf_pos,
                                         call fetch_from_ according buf_pos.

    * query_browser.h: go_to_record - added argument buf_pos.
                       go_to_record_ - added argument buf_pos.

2009-06-23	Aurimas Černius	<aurisc4@gmail.com>
    * binding_ctrl.cpp: included wx/odcombo.h.
                        include of binding_ctrl.h moved after all other includes.

    * binding_ctrl.h: wxCalendarCtrl - declared only if _WX_CALCTRL_H_ is not defined.
                      wxComboBox - declared only if _WX_COMBOBOX_H_BASE_ is not defined.
                      wxComboCtrl - declared only if _WX_COMBOCONTROL_H_BASE_ is not defined.
                      wxRichTextCtrl - declared only if _WX_RICHTEXTCTRL_H_ is not defined.
                      wxTextCtrl - declared only if _WX_TEXTCTRL_H_BASE_ is not defined.
                      wxSpinCtrl - declared only if _WX_SPINCTRL_H_ is not defined.
                      wxStaticText - declared only if _WX_STATTEXT_H_BASE_ is not defined.
                      wxHyperlinkCtrl - declared only if _WX_HYPERLINK_H__ is not defined.
                      wxDatePickerCtrl - declared only if _WX_DATECTRL_H_ is not defined.
                      wxCheckBox - declared only if _WX_CHECKBOX_H_BASE_ is not defined.
                      wxGauge - declared only if _WX_GAUGE_H_BASE_ is not defined.
                      wxSpinButton - declared only if _WX_SPINBUTT_H_BASE_ is not defined.
                      wxItemContainer - removed declaration.
                      wxBitmapComboBox - declared only if _WX_BMPCBOX_H_BASE_ is not defined.
                      wxListBox - declared only if _WX_LISTBOX_H_BASE_ is not defined.
                      wxChoice - declared only if _WX_CHOICE_H_BASE_ is not defined.
                      wxComboBox - removed duplicate declaration.
                      wxSimpleHtmlListBox - declared only if _WX_HTMLLBOX_H_ is not defined.
                      wxOwnerDrawnComboBox - declared only if _WX_ODCOMBO_H_ is not defined.
                      wxRadioBox - declared only if _WX_RADIOBOX_H_BASE_ is not defined.
                      wxVListBox - declared only if _WX_VLBOX_H_ is not defined.
                      wxHtmlWindow - declared only if _WX_HTMLWIN_H_ is not defined.

2009-06-22	Aurimas Černius	<aurisc4@gmail.com>
    * aclocal.m4: regenerated.

    * configure: regenerated.

    * configure.ac: AC_INIT - version changed to 0.3.0.

    * Doxyfile: PROJECT_NUMBER - version changed to 0.3.0.

    * ltmain.sh: regenerated.

    * ltsugar.m4: regenerated.

    * ltversion.m4: regenerated.

    * Makefile.am: libwxpostgres_la_LDFLAGS - added -release options, version info changed to 0:0:0.

    * Makefile.in: regenerated.

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

    * grid_binding.cpp: prepare_grid_ - set col label to field name, when definitions return empty string.

    * wxPostgres.cbp: encoded library version into file name, version info changed to 0.0.0 in all targets.

2009-06-17	Aurimas Černius	<aurisc4@gmail.com>
    * query_browser.cpp: first - assign abs_cursor_pos_ rows only if rows == buffer_size(), 
                                 assign (rows + 1) otherwise,
                                 do not modify total_recs_ here.
                         open - assign abs_cursor_pos_ rows only if rows == buffer_size(), 
                                assign (rows + 1) otherwise,
                                set end_reached_ in the same if.
                         fetch - call to fetch_absolute_ changed to pass rows as argument,
                                 removed ambiguous comment before this call,
                                 removed FM_ALL.
                         move - removed documentation comment,
                                changed to just call coresponding sub method.
                         go_to_record - rewritten to just call go_to_record_() and fetch_from_().
                         fetch_first_, fetch_last_, fetch_absolute_, fetch_backward_all_ - rewritten completely.
                         fetch_relative_ - in call to fetch_absolute_ changed argument to (abs_cursor_pos_ + offset).
                         fetch_forward_ - added position check at beginning,
                                          check for fetched == 0 changed to fetched > 0,
                                          update position variables only if if above is true.
                         fetch_forward_all_ - set abs_cursor_pos_ to (fetched + 1) and after assigning it to abs_pos_,
                                              update total_recs_ as well,
                                              set abs_cursor_pos_ to (this->total_recs_ + 1), if no rows fetched.
                         fetch_backward_ - compare (abs_cursor_pos_ == 0) in first if,
                                           when rows <= 0, assign 0 to abs_cursor_pos_ and return true,
                                           removed last if and just update abs_pos_ and current_.
                         move_forward_all_, move_absolute_, move_relative_,
                         move_last_, move_forward_, move_backward_,
                         move_backward_all_, go_to_record_, fetch_from_ - new method.

    * query_browser.h: move_forward_all_, move_absolute_, move_relative_,
                       move_last_, move_forward_, move_backward_,
                       move_backward_all_, go_to_record_, fetch_from_ - new method.

    * Doxyfile: ALPHABETICAL_INDEX - changed to YES,
                GENERATE_TREEVIEW - changed to YES.

    * query.cpp: fetch_move_ - removed FM_ALL.

    * query.h: Query (class) - removed constant FM_ALL.

    * wxPg.h: documentation update - move documentation licence to separate page.

    * qb_test.cpp: new file.

2009-05-30	Aurimas Černius	<aurisc4@gmail.com>
    * query_browser.cpp: Query_browser (constructor) - initialization of abs_cursor_pos_ changed to 0.
                         ~Query_browser - removed.
                         buffer_size (both versions) - removed.
                         first - _abs_pos changed to abs_pos_ in documentation,
                                 _current changed to current() in documentation,
                                 current_ changed to current() in first if,
                                 buffer_size_ changed to buffer_size(),
                                 set abs_cursor_pos_ to number of fetched rows,
                                 set end_reached_ to true, if fetched less than buffer_size(),
                                 assign abs_cursor_pos_ to total_recs_, if is greater.
                         last - compare abs_cursor_pos_ with total_recs_, when checking for last buffer,
                                buffer_size_ changed to buffer_size(),
                                assign total_recs_ to abs_cursor_pos_, when in last buffer,
                                add 1 to result of PQcmdTuples(), before assigning to abs_cursor_pos_,
                                set total_recs_ to abs_cursor_pos_ - 1,
                                set abs_pos_ to total_recs_ - 1,
                                update documentation according to new implementation.
                         next - current_ changed to current(),
                                buffer_size_ changed to buffer_size(),
                                unconditionally increment abs_pos_, when some rows are fetched,
                                assign abs_cursor_pos_ to total_recs_, when abs_cursor_pos_ is greater.
                         prev - _buffer_size changed to buffer_size_,
                                buffer_size_ changed to buffer_size() when calling fetch(),
                                when calculating fetch_from, buffer_size_ + 1 changed to buffer_size(),
                                do not subtract 1 when calculating abs_cursor_pos_,
                                do not subtract 1 when calculating current_.
                         open - buffer_size_ changed to buffer_size(),
                                set abs_cursor_pos_ equal to rows(),
                                set total_recs_ equal to rows(),
                                set end_reached_ to true, when returned less than buffer_size() of rows.
                         abs_pos - removed.
                         cursor_pos - removed.
                         is_last - removed.
                         record_count - removed.
                         go_to_record - new method.

    * query_browser.h: ~Query_browser - inlined here.
                       buffer_size (both versions) - inlined here.
                       abs_pos - inlined here.
                       cursor_pos - return type changed to unsigned long long, inlined here.
                       is_last - inlined here.
                       record_count - inlined here.
                       end_reached - new method.
                       go_to_record - new method.
                       total_recs_ - type changed to unsigned long long.
                       abs_cursor_pos_ - type changed to unsigned long long.

2009-05-11	Aurimas Černius	<aurisc4@gmail.com>
    * grid_bind_def.cpp: col_count - new method.
                         col_label - new method.

    * grid_binding.cpp: prepare_grid_ - calculating total_cols changed to use col_count() from bind_defs,
                                        and set to field count, if col_count() returns 0.
                                        call to col_label_ changed to use of col_label from bind_defs.
                        col_label_ - removed method.

    * grid_bind_def.h: col_count - new method.
                       col_label - new method.
                       col_bindings_ - fixed gramma in comment.

    * grid_binding.h: col_label_ - removed method.

2009-05-10	Aurimas Černius	<aurisc4@gmail.com>
    * INSTALL: link to project page changed to link to wxpostgres-users mailing list.

    * Makefile.am: nobase_include_HEADERS - added grid_bind_def.h.
                   libwxpostgres_la_SOURCES - added grid_bind_def.cpp.

    * Makefile.in: regenerated.

    * grid_bind_def.cpp: new file.

    * grid_binding.cpp: Grid_binding (all constructors) - added bind_defs_ and delete_defs_
                                                          to initializer list.
                        ~Grid_binding - new method.
                        bind_defs - new method.
                        bind(int, const wxString&) - fully rewritten implementation.
                        bind(const wxString&) - fully rewritten implementation.
                        bind(const std::map<int, wxString>&) - new method.
                        bindings - new method.
                        unbind(col_idx) - new method.
                        unbind() - new method.
                        col_label - new method.
                        rem_col_label - new method.
                        col_labels (setter) - new method.
                        col_labels (getter) - new method.
                        col_labels_clear - new method.
                        update_UI - added call to make_bind_defs_() at beginning,
                                    access bindings map size by calling bind_defs() in do-while loop.
                        prepare_grid_ - new variable col_bindings, initialized to bindings map,
                                        use variable col_bindings when calculating total_cols,
                                        pass i as argument to col_label_() when setting labels of grid columns.
                        col_label_ - argument type changed to int, name to col_idx,
                                     implementation fully rewritten.
                        fill_row_ - access bindings map by calling bind_defs().
                        make_bind_defs_ - new method.

    * grid_bind_def.h: new file.

    * grid_binding.h: included grid_bind_def.h.
                      removed include map.
                      ~Grid_binding - changed to declaration.
                      bind_defs (setter) - new method.
                      bind_defs (getter) - new method.
                      bind(const std::map<int, wxString>&) - changed to declaration.
                      bindings (getter) - changed to declaration, changed to non const.
                      unbind(int) - changed to declaration.
                      unbind() - changed to declaration.
                      col_label - changed to declaration.
                      rem_col_label - changed to declaration.
                      col_labels (both versions) - changed to declaration.
                      col_labels_clear - changed to declaration.
                      col_bindings_ - removed member.
                      col_labels_ - removed member.
                      col_label_ - argument type changed to int, name to col_idx.
                      make_bind_defs_ - new method.
                      bind_defs_ - new member.
                      delete_defs_ - new member.

    * wxPostgres.cbp: added "-Wl,--no-undefined" to linker options in gtk targets.
                      added wx_baseu-2.8 to library list in gtk targets.
                      added grid_bind_def.cpp to all targets.
                      added grid_bind_def.h to all targets.

2009-05-09	Aurimas Černius	<aurisc4@gmail.com>
    * binding_list.cpp: removed include wx/arrstr.h.
                        included wx/bmpcbox.h.
                        included wx/choice.h.
                        included wx/combo.h.
                        included wx/combobox.h.
                        included wx/htmllbox.h.
                        included wx/listbox.h.
                        included wx/radiobox.h.
                        update_ctrl_str - removed function.
                        bind_list_str - removed function.
                        wxItemContainer_list_updater(wxBitmapComboBox*, const wxString&) - new method.
                        wxItemContainer_list_updater(wxChoice*, const wxString&) - new method.
                        wxItemContainer_list_updater(wxComboBox*, const wxString&) - new method.
                        wxItemContainer_list_updater(wxSimpleHtmlListBox*, const wxString&) - new method.
                        wxItemContainer_list_updater(wxListBox*, const wxString&) - new method.
                        wxItemContainer_list_updater(wxOwnerDrawnComboBox*, const wxString&) - new method.
                        wxItemContainer_list_updater(wxRadioBox*, const wxString&) - new method.
                        wxItemContainer_list_updater::begin_update - new method.
                        wxItemContainer_list_updater::update_row - new method.
                        wxItemContainer_list_updater::end_update - new method.
                        wxItemContainer_list_updater::operator() - new method.

    * list_binding.cpp: data (both versions) - removed.
                        bind - changed to accept wxWindow_updater* as argument, fully rewritten.
                        unbind - fully rewritten.
                        unbind - changed argument name to w, fully rewritten.
                        update_UI - changed to call data() instead accessing member variable,
                                    code, updating controls fully rewritten.

    * binding_ctrl.h: "functions" changed to "classes" in file description.

    * binding_list.h: "functions" changed to "classes" in file description.
                      removed include wx/ctrlsub.h.
                      included wx/arrstr.h.
                      added forward declarations for wxItemContainer, wxBitmapComboBox, wxListBox
                                                     wxChoice, wxComboBox, wxSimpleHtmlListBox,
                                                     wxOwnerDrawnComboBox, wxRadioBox, wxVListBox.
                      bind_list_str - removed function.
                      wxItemContainer_list_updater - new class.

    * binding_macros.h: wxPG_BIND_HYPERLINK_CTRL - added notice in documentation about updating URL.
                        wxPG_BIND_LIST - changed to use wxItemContainer_list_updater.

    * list_binding.h: wxItemContainer changed to wxWindow in file description.
                      removed include map.
                      removed include wx/ctrlsub.h.
                      included vector.
                      append_ctrl_f - removed typedef.
                      wxWindow_updater - new inner class.
                      data (both versions) - inlined here.
                      bind - changed to accept wxWindow_updater* as argument.
                      unbind(wxWindow*) - made public, argument name changed to w.
                      unbind(wxItemContainer*) - removed method.
                      ctrl_binding - removed typedef.
                      ctrl_bindings_ - type changed to std::vector<wxWindow_updater*>.

    * row_binding.h: bind - removed non-existing argument w from documentation.

2009-05-02	Aurimas Černius	<aurisc4@gmail.com>
    * cached_result.cpp: check_data_ - return type changed to int.

    * cached_result.h: check_data_ - return type changed to int.

    * wxPostgres.cbp: wxPostgres.cbp - new file.

2009-05-01	Aurimas Černius	<aurisc4@gmail.com>
    * binding_ctrl.cpp: included wx/bmpcbox.h, wx/choice.h, wx/htmllbox.h, wx/listbox.h.
                        wxWindow_def_updater (constructor) - new method.
                        wxCalendarCtrl_updater (constructor) - new method.
                        wxCalendarCtrl_updater::operator() - new method.
                        update_calendar_ctrl - removed function.
                        wxComboBox_updater (constructor) - new method.
                        wxComboBox_updater::operator() - new method.
                        update_combo_box - removed function.
                        wxComboCtrl_updater (constructor) - new method.
                        wxComboCtrl_updater::operator() - new method.
                        update_combo_ctrl - removed function.
                        wxRichTextCtrl_updater (constructor) - new method.
                        wxRichTextCtrl_updater::operator() - new method.
                        update_rich_text_ctrl - removed function.
                        wxTextCtrl_updater (constructor) - new method.
                        wxTextCtrl_updater::operator() - new method.
                        update_text_ctrl - removed function.
                        wxSpinCtrl_updater (constructor) - new method.
                        wxSpinCtrl_updater::operator() - new method.
                        update_spin_ctrl - removed function.
                        wxStaticText_updater (constructor) - new method.
                        wxStaticText_updater::operator() - new method.
                        update_static_text - removed function.
                        wxHyperlinkCtrl_updater (constructor) - new method.
                        wxHyperlinkCtrl_updater::operator() - new method.
                        update_hyperlink_ctrl - removed function.
                        wxDatePickerCtrl_updater (constructor) - new method.
                        wxDatePickerCtrl_updater::operator() - new method.
                        update_date_picker_ctrl - removed function.
                        wxCheckBox_updater (constructor) - new method.
                        wxCheckBox_updater::operator() - new method.
                        update_check_box - removed function.
                        wxGauge_updater (constructor) - new method.
                        wxGauge_updater::operator() - new method.
                        update_gauge - removed function.
                        wxSpinButton_updater (constructor) - new method.
                        wxSpinButton_updater::operator() - new method.
                        update_spin_button - removed function.
                        wxItemContainer_updater(wxBitmapComboBox*, const wxString&) (constructor) - new method.
                        wxItemContainer_updater(wxChoice*, const wxString&) (constructor) - new method.
                        wxItemContainer_updater(wxComboBox*, const wxString&) (constructor) - new method.
                        wxItemContainer_updater(wxSimpleHtmlListBox*, const wxString&) (constructor) - new method.
                        wxItemContainer_updater(wxListBox*, const wxString&) (constructor) - new method.
                        wxItemContainer_updater(wxOwnerDrawnComboBox*, const wxString&) (constructor) - new method.
                        wxItemContainer_updater(wxRadioBox*, const wxString&) (constructor) - new method.
                        wxItemContainer_updater::operator() - new method.
                        update_item_container - removed function.
                        wxRadioBox_updater (constructor) - new method.
                        wxRadioBox_updater::operator() - new method.
                        update_radio_box - removed function.
                        wxVListBox_updater (constructor) - new method.
                        wxVListBox_updater::operator() - new method.
                        update_vlist_box - removed function.
                        wxHtmlWindow_updater (constructor) - new method.
                        wxHtmlWindow_updater::operator() - new method.
                        update_html_window - removed function.
    * row_binding.cpp: data (both versions) - removed.
                       ~Row_binding - new method.
                       bind - changed to accept wxWindow_updater* as argument, fully rewritten implementation.
                       unbind - fully rewritten implementation.
                       update_UI - for loop fully rewritten.
    * binding_ctrl.h: added forward declarations for wxCalendarCtrl, wxComboBox, wxComboCtrl, wxRichTextCtrl,
                                                     wxTextCtrl, wxSpinCtrl, wxStaticText, wxHyperlinkCtrl,
                                                     wxDatePickerCtrl, wxCheckBox, wxGauge, wxSpinButton,
                                                     wxItemContainer, wxBitmapComboBox, wxListBox, wxChoice,
                                                     wxComboBox, wxSimpleHtmlListBox, wxOwnerDrawnComboBox,
                                                     wxRadioBox, wxVListBox, wxHtmlWindow.
                      wxWindow_def_updater - new class.
                      wxCalendarCtrl_updater - new class.
                      update_calendar_ctrl - removed function.
                      wxComboBox_updater - new class.
                      update_combo_box - removed function.
                      wxComboCtrl_updater - new class.
                      update_combo_ctrl - removed function.
                      wxRichTextCtrl_updater - new class.
                      update_rich_text_ctrl - removed function.
                      wxTextCtrl_updater - new class.
                      update_text_ctrl - removed function.
                      wxSpinCtrl_updater - new class.
                      update_spin_ctrl - removed function.
                      wxStaticText_updater - new class.
                      update_static_text - removed function.
                      wxHyperlinkCtrl_updater - new class.
                      update_hyperlink_ctrl - removed function.
                      wxDatePickerCtrl_updater - new class.
                      update_date_picker_ctrl - removed function.
                      wxCheckBox_updater - new class.
                      update_check_box - removed function.
                      wxGauge_updater - new class.
                      update_gauge - removed function.
                      wxSpinButton_updater - new class.
                      update_spin_button - removed function.
                      wxItemContainer_updater - new class.
                      update_item_container - removed function.
                      wxRadioBox_updater - new class.
                      update_radio_box - removed function.
                      wxVListBox_updater - new class.
                      update_vlist_box - removed function.
                      wxHtmlWindow_updater - new class.
                      update_html_window - removed function.
    * binding_macros.h: wxPG_BIND_CALENDAR_CTRL - changed to use wxCalendarCtrl_updater.
                        wxPG_BIND_COMBO_BOX - changed to use wxComboBox_updater.
                        wxPG_BIND_COMBO_CTRL - changed to use wxComboCtrl_updater.
                        wxPG_BIND_RICH_TEXT_CTRL - changed to use wxRichTextCtrl_updater.
                        wxPG_BIND_TEXT_CTRL - changed to use wxTextCtrl_updater.
                        wxPG_BIND_SPIN_CTRL - changed to use wxSpinCtrl_updater.
                        wxPG_BIND_STATIC_TEXT - changed to use wxStaticText_updater.
                        wxPG_BIND_HYPERLINK_CTRL - changed to use wxHyperlinkCtrl_updater.
                        wxPG_BIND_DATE_PICKER_CTRL - changed to use wxDatePickerCtrl_updater.
                        wxPG_BIND_CHECK_BOX - changed to use wxCheckBox_updater.
                        wxPG_BIND_GAUGE - changed to use wxGauge_updater.
                        wxPG_BIND_SPIN_BUTTON - changed to use wxSpinButton_updater.
                        wxPG_BIND_LIST_ITEM - changed to use wxItemContainer_updater.
                        wxPG_BIND_RADIO_BOX - changed to use wxRadioBox_updater, added details about updating value.
                        wxPG_BIND_VLIST_BOX - changed to use wxVListBox_updater.
                        wxPG_BIND_HTML_WINDOW - changed to use wxHtmlWindow_updater.
    * row_binding.h: removed include map.
                     included vector.
                     upd_ctrl_f - removed typedef.
                     wxWindow_updater - new class.
                     ~Row_binding - changed from inline implementation to declaration.
                     data (both versions) - implementation inlined here.
                     bind - changed to accept wxWindow_updater* as argument, documentation updated accordingly.
                     ctrl_binding - removed typedef.
                     ctrl_bindings_ - changed type to std::vector<wxWindow_updater*>.

2009-04-17	Aurimas Černius	<aurisc4@gmail.com>
    * query_browser.cpp: last - move to the end changed to use FM_FORWARD_ALL instead of FM_LAST,
                                last argument in call to strtoull changed to 10,
                                move backward changed to move by 1 record more.
                         next - bofore both calls to last() removed assignement to end_reached_.
                         prev - abs_pos_ changed to abs_cursor_pos_ when initializing fetch_from.

2009-03-31	Aurimas Černius	<aurisc4@gmail.com>
    * cached_result.cpp, database.cpp, data_row.cpp,
      query_browser.cpp, result_data.cpp, utils.cpp: included libpq-fe.h.

    * config.h: removed include libpq-fe.h.

    * cached_result.h: added foreward declaration of PGresult.

    * database.h: added foreward declarations of PGconn and PGresult.
Powered By FusionForge