Todo List

Class QlFileData
Need a ReportView as well. Then have only one fileView and one fileData for each fileTab.

Global QlFileData::filter_ptr
zero is none - replace with GList

Global QlFileData::sort_ptr
zero is none - replace with GList

Global QlFileData::report_ptr
zero is none - replace with GList

Global QlFileData::col_to_field [MAX_FIELDS+1]
FIXME

Global QlFileData::sorts [MAX_SORTS+1]
replace with GList

Global QlFileData::filters [MAX_FILTERS+1]
replace with GList

Global QlFileData::reports [MAX_REPORTS+1]
replace with GList

Global QlFileData::current_file
make into a list

Global QlFileData::last_field
replace these with functions

Class QlReportInfo
Revise to remove the fixed length buffers in preference for GList and the GtkHTML QlTHead data.

Global QlTHead::txt_format
standardise and localise the format specifier for plain text.

Global QlTHead::temp
remove this placeholder when the stream is part of the tab context.

Class QlViewData
Split monolithic QlViewData into views for reports, sort and filters wherever possible make the widget pointers local.

Global QlViewData::width
put width, height, x and y in gconf

Global QlViewData::report_sel_col
make local to report.c (currently checked by menus)

Global QlViewData::cb [MAX_CLIPBOARD]
find a substitute

Global main_window
move to gconf

Global put_range_on_clipboard
does QL really need to manage the clipboard itself?

Global num_formats
make locale sensitive

Global column_edit
simplify the notation further

Global ENUM_BODY
remove if quicklist uses QOF directly.

Global QL_ERRORS
rationalise the error codes.

Global remove_ql_chars
Replace with glib functions g_strchug and g_strchomp

Global write_all_types
stop using f

Global write_all_types
stop passing f

Global write_delimited
replace this static buffer!

Global write_html
replace with gtkhtml.

Global QlRuleName
move elsewhere.

Global rules
move elsewhere and handle init and clean up separately.

Global filter_compare_record
why the duplicate ?

Global filter_do_delete
make this go away

Global filter_do_edit
replace with GList

Global filter_menuitem_select
these casts stink. replace.

Global filter_select
complete migration to Gtk2.

Global check_if_changed
replace with safe_strcmp from QOF

Global d2qls
check why this is empty.

Global front_is_changed
Rename function to indicate the move away from a static 'front' to a notebook tab, as used internally.

Global get_window_size_loc
retain for next session using GConf

Global make_basic_dialog1
replace with custom dialog functions

Global qls2d
replace with QOF/GLib functions.

File quicklist.c
  1. quicklist.c|h : replacement for dialog_initial to handle the main window and notebook tabs.
  2. object.c|h : New code to convert QlFieldInfo into QofObject and other QofObjects into QlFieldInfo.
  3. plugin.c|h : Add code to support plugging in libqofexpensesobjects and libqofcashobjects (libpilotobjects once available too). This will require support in QOF for handling QofObject in a similar manner to QofBackend.
  4. fold dim_list_menu into menus.c
  5. remove types.h
  6. remove tools.c|h
  7. split report.c into reportshow and reportnew
  8. remove d2qls and qls2d, fold the rest of main.c into quicklist.c and remove main.c

Global page_num
migrate into the tab context

Global newrow
replace with dynamic allocation.

Global pos_delete
move to a GList and do this properly!

Global report_col_add
same as below, abstract this routine

Global report_col_add
use a callback here

Global report_col_del
use a GList instead.

Global report_select
Convert tab->file->reports to a GHashTable

Global report_set_col_field
remove old report_set_col_field code

Global report_totals_group
WTF? group = !group ?

Global report_totals_total
WTF? total = !total?

Global sort_filter_menu
create a drop-down toolbar button + suitable menu?

Global tab_label_box
enable tooltip via context

Global to_clicked
revise as treeview selection handler.

Global field_menu
replace with a callback

File types.h
relocate definitions into respective files

Global MAX_RECORDS
remove or rationalise limits.

Generated on Mon Jan 28 22:02:11 2008 for quicklist by  doxygen 1.5.4