OChangeLog-2003-12-23 14.7 KB
Newer Older
Jody Goldberg's avatar
Jody Goldberg committed
1 2 3 4 5
2002-02-06  Jody Goldberg <jody@gnome.org>

	* src/auto-format.c (auto_style_format_suggest) : it is now the
	  primitive.

6 7 8 9 10 11 12 13 14 15 16 17 18 19
2002-02-06  Michael Meeks  <michael@ximian.com>

	* src/workbook.c (workbook_bonobo_setup): don't
	setup the item container.

	* src/gnumeric-graph.c: porting action.
	(bonobo_activation_exception_id): kill.

	* src/corba-args.c (gnumeric_arg_parse): upd.

	* src/bonobo-io.c: porting action.

	* src/sheet-object-bonobo.c: porting action.

20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
2002-02-06  Jody Goldberg <jody@gnome.org>

	* src/sheet-autofill.c (autofill_create_fill_items) : changes to the
	classification interface.  It will continue to evolve.

	* src/formats.c (cell_format_classify) : change the signature.  In the
	  future this should really be split.  This routine is
	  1) stupid
	  2) wrong
	  It is really only useful in the context of the format dialog.
	  however, our desire to call it elsewhere indicates what the new
	  format engine should make easiliy accessible.

	* src/expr.c (expr_eval_real) : quick and easy support for autoformat
	  style formating for percent operator.  Just a quick test to see how
	  hard it would be, and it wasn't.

	* src/auto-format.c : Convert to StyleFormat.  Nothing actually uses
	  this anymore but I have not merged its logic into the eval structure
	  yet.

	* src/format-template.c (format_template_check_valid) : warning
	  suppression.

	* src/format.c (style_format_general) : new.
	(style_format_default_date) : new.
	(style_format_default_time) : new.
	(style_format_default_percentage) : new.
	(style_format_default_money) : new.

	* src/cell.c (cell_get_format) : finish the conversion.

52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
2002-02-05  Jon K Hellan  <hellan@acm.org>

	* src/style-color.c (style_color_new_uninterned): New
	function. Factored out of style_color_new. Creates color
	unconditionally, without using the hash table.
	(style_color_new): Factor out style_color_new_uninterned.
	(style_color_new_i8): New function. Create a style color from 8
	bit rgb values by cloning to 16 bits.
	(style_color_auto_font): New function. Returns an uninterned black
	to represent Excel auto font color.
	(style_color_auto_back): New function. Returns an uninterned white
	to represent Excel auto background color.
	(style_color_auto_pattern): New function. Returns an uninterned black
	to represent Excel auto pattern color.
	(color_equal): Include is_auto flag in comparison.
	(color_hash): Include is_auto flag in hash function.

	* src/style-color.h (style_color_new_i8, style_color_auto_font,
	style_color_auto_back, style_color_auto_pattern): Declare

	* src/sheet-style.c (struct _SheetStyleData): Add
	auto_pattern_color.
	(sheet_style_init): Initialize auto_pattern_color.
	(sheet_style_shutdown): Unref auto_pattern_color.
	(sheet_style_set_auto_pattern_color): New function. Set the auto
	pattern color for this sheet.
	(sheet_style_get_auto_pattern_color): New function. Get the auto
	pattern color for this sheet.

	* src/sheet-style.h (sheet_style_set_auto_pattern_color,
	sheet_style_get_auto_pattern_color): Declare.

84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
2002-02-03  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_insert_current_date) : don't actually
	  store the value, just start editing with it.
	(cb_insert_current_time) : ditto.

2002-02-03  Jody Goldberg <jody@gnome.org>

	* src/value.c (value_new_*) : init Value*::fmt
	(value_duplicate) : ref the fmt too.
	(value_set_fmt) : new.

	* src/cell.c (cell_cleanout) : no more format.
	(cell_copy) : ditto.
	(cell_set_text) : ditto.
	(cell_set_expr_internal) : ditto.
	(cell_set_expr_unsafe) : ditto.
	(cell_get_format) : ditto.

	Change all callers.
	* src/sheet.c (sheet_cell_set_value) : remove format assingment.
	* src/cell.c (cell_set_expr_and_value) : remove format assignment.
	(cell_assign_value) : ditto.
	(cell_set_value) : ditto.
	(cell_set_expr) : ditto.
	* src/parser.y (expr_parse_str) : remove arg to return the suggested
	  format.  That will be handled at run time.
	* src/number-match.c (format_match) : remove arg to return the parse
	  formula.  Store it in the value instead.

114 115 116 117 118 119 120 121
2002-02-02  Jody Goldberg <jody@gnome.org>

	* src/main.c (main) : disable the removal of Shift as an accelerator
	  fixes the double movement in treeviews strangeness.

	* src/workbook-control-gui.c : reorganize the insert menu.
	* src/GNOME_Gnumeric.xml : ditto.

122 123 124 125 126
2002-02-01  Jody Goldberg <jody@gnome.org>

	* src/xml-io-autoft.c : port to libxml2 and begin merging into
	* src/format-template.c : here.

127 128 129 130
2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_dialog_question_yes_no) : port to gnome2

131 132 133 134 135 136 137 138 139 140 141
2002-02-01  Jody Goldberg <jody@gnome.org>

	* configure.in : cleanup the includes a bit and make the libole2
	  requirement specific to the XL plugin.  Tidy up the gda, and gb
	  tests to be consistent and more informative.

	* src/main.c : remove ole debug flag.

	* src/gnumeric-graph.c (gnm_graph_new) : return a GObject
	  makes it easier to handle NULL.

Andreas J. Guelzow's avatar
Andreas J. Guelzow committed
142 143 144 145 146
2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.h : add `warning' to GENERIC_TOOL_STATE
	  and some clean-up
	
Jody Goldberg's avatar
Jody Goldberg committed
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186
2002-01-31  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (wbcg_focus_cur_scg) : warning
	  suppression.
	(sheet_control_gui_new) : enable partial scrollbar support.

	* src/workbook-control.c (wb_control_parse_and_jump) : make defined
	  names absolute.

2002-01-30  Jody Goldberg <jody@gnome.org>

	* src/dialogs/dialog-autoformat.c (templates_load) : changes to
	  category_group_get_templates_list.

	* src/xml-io-autoft.c (gnumeric_xml_write_format_template) : take a
	  context not a control to clarify things.
	(gnumeric_xml_read_format_template) : ditto.

	* src/workbook.c (workbook_persist_file_save) : changes to
	  wb_view_save_as.

	* src/io-context.c (io_context_destroy) : impl is a command context now.
	(gnumeric_io_context_new) : weaken requirements so that all we need is
	  a command context.  Not strictly necessary, but makes it less likely
	  that people will get confused.

	* src/workbook-view.c (wb_view_save_as) : Take a command context not a
	  workbook control to avoid confusing what we are saving.
	(wb_view_save) : ditto.
	(wb_view_selection_desc) : Implement using an explicit control.
	(wb_view_open_custom) : add a missing precondition.
	* src/gui-file.c (do_save_as) : changes to wb_view_save_as.
	(gui_file_save_to_stream) :  changes to gnumeric_io_context_new.

	* src/file-autoft.c (category_get_templates_list) : take a command
	context, not a workbookcontrol.
	(category_group_get_templates_list) : ditto.
	* src/format-template.c (format_template_new) : ditto.
	(format_template_new_from_file) : ditto.

187 188 189 190 191 192 193
2002-01-31  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/analysis-tools.h : include type definitions and function
	  prototypes previously in src/dialogs/dialog-analysis-tools.c
	* src/analysis-tools.c (autofit_columns) : make non-static
	* src/func-util.h (parse_database_criteria) : new

194 195 196 197 198 199 200 201 202 203 204 205 206 207
2002-01-30  Jody Goldberg <jody@gnome.org>

	* src/application.c : merge in the new object icons from jimmac.
	* src/pixmaps/Makefile.am : ditto.
	* src/workbook-control-gui.c : ditto.
	* src/GNOME_Gnumeric.xml : ditto.
	s/^/Object/
	s/Rect/Rectangle/
	s/Oval/Ellipse/
	s/Checkbutton/Checkbox/

	* src/gui-util.c (gnumeric_error_info_dialog_show) : center error
	  dialog on the mouse.

208 209 210 211 212 213 214 215 216 217 218 219
2002-01-29  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c (cb_notebook_switch_page) : fix changing
	  sheets.

2002-01-29  Jody Goldberg <jody@gnome.org>

	* src/workbook-format-toolbar.c (workbook_create_format_toolbar) :
	  hard code relief.
	* src/workbook-control-gui.c (workbook_create_standard_toolbar) :
	  ditto.

220 221 222 223 224 225
2002-01-29  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/workbook-control-gui.c (sheet_action_rename_sheet) : move most 
	  code into dialog_sheet_name and friends
	(cb_sheet_change_name) : ditto, also rename to cb_sheet_name

226 227 228 229 230
2002-01-28 Joshua R. Odom <jrodom@stic.net>

	* src/application.c : clean up the file names to match the code.
	* src/pixmaps/Makefile.am : ditto.

231 232
2002-01-28  Jody Goldberg <jody@gnome.org>

233 234 235
	* src/workbook.c (workbook_sheet_move) : flag if the move did
	  anything.

236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
	* src/workbook-object-toolbar.c :  adjust to the new creation format.

	* src/workbook-edit.c (wbcg_edit_has_guru) : return the actual guru.

	* src/workbook-control-gui.c : Explicitly use the STOCK items rather
	  than just the stock icon names.  This enables the accelerators too.

	* src/sheet-object-widget.c : cleanup.
	  Use _init functions, no need to create a silly _new wrapper that calls
	  construct.  Remove unused Sheet arguments.

	* src/gnumeric-canvas.c (gnm_canvas_guru_key) : new.
	(gnm_canvas_key_mode_sheet) : be more careful about what how to handle
	  keys when there is a guru up.

	* src/sheet-object-widget.c (sheet_widget_checkbox_user_config) :
	  create the table.

2002-01-27  Jody Goldberg <jody@gnome.org>

	* src/Makefile.am : cleanup the generated files.

258 259 260 261 262 263 264 265 266
2002-01-28  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/consolidate.c (consolidate_set_destination) : accept 
	  value instead of range
	(consolidate_add_source) : ditto
	* src/consolidate.h (consolidate_set_destination) : change
	  parameters
	(consolidate_add_source) : ditto
	
267 268 269 270 271 272 273 274 275 276 277 278 279 280
2002-01-27  Seth Nickell  <snickell@stanford.edu>

	* Makefile.am:

	Install .desktop file into prefix/share/applications,
	the new location for .desktop files in GNOME 2.
	
	* gnumeric.desktop.in:

	Add appropriate categories fields.

	Add a functional description to match the GNOME 2
	HIG.
	
281 282 283 284 285 286 287
2002-01-27  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui_util.c (gnumeric_destroy_dialog) : new callback
	(gnumeric_notice_nonmodal) : save dialog ptr in reference
	* src/gui_util.h (gnumeric_notice_nonmodal) : change
	  parameters and return value

288 289 290 291 292
2002-01-27  Jody Goldberg <jody@gnome.org>

	* src/workbook-control-gui.c :
	  remove Menu_ prefix from pixmap names.

293 294 295 296 297 298 299
2002-01-26  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_notice_nonmodal) : non-modal version of
	  gnumeric_notice
	(gnumeric_dialog_run) : remove warning
	* src/gui-util.h (gnumeric_notice_nonmodal) : new
	
300 301 302 303 304 305 306 307 308 309 310 311 312
2002-01-26  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (entry_to_float) : 
	  moved here from dialogs/dialog-analysis-tools.c
	(entry_to_int) : ditto
	(float_to_entry) : ditto
	(int_to_entry) : ditto
	
	* src/gui-util.h (entry_to_float) new function (used to be static) 
	(entry_to_int) : ditto
	(float_to_entry) : ditto
	(int_to_entry) : ditto

313 314 315 316 317
2002-01-25  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* item-grid.c (item_grid_event) : don't scroll at end of formula 
	  range selection (http://bugzilla.gnome.org/show_bug.cgi?id=63485)
	
318 319 320 321 322 323 324 325 326 327 328
2002-01-25  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/gui-util.c (gnumeric_dialog_run) : use GTK functions
	(gnumeric_notice) : create GTK_Message_Dialog
	* src/gui-util.h (gnumeric_notice) : change type of second argument
	* src/gui-file.c : fix all calls to gnumeric_notice
	* src/print.c : ditto
	* src/style.c : ditto
	* src/workbook-cmd-format.c : ditto
	* src/workbook-control-gui.c : ditto
	
Jody Goldberg's avatar
Jody Goldberg committed
329 330
2002-01-25  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
331 332 333 334
	* src/sheet-control-gui.c (scg_context_menu) : fix the icon names.

	* src/gui-util.c (gnumeric_popup_menu) : sink the menus.

Jody Goldberg's avatar
Jody Goldberg committed
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354
	* src/main.c (main) : lock the encoding to be utf-8.

	* src/eval.c : enable the micro hash by default.

	* src/expr.c (cellref_relocate) : simplify and remove the force
	  arguments.  Flag invalidations from inside vs to inside. From takes
	  precendence.
	(cellref_shift) : new.
	(cellrange_relocate) : simplfy and try a different tack on how to
	  handle corners with different sets of relocation needs.

	* src/commands.c (cmd_paste_cut_undo) : pass NULL for the
	  reloc_storage to disable invalidation.

	* src/sheet.c (sheet_move_range) : document.
	  Make the reloc_storage optional.  If it is not specified do NOT
	  invalidate references to the dst region that are being
	  invalidated.  Since this routine is only used for cut redo/undo
	  and undo really should not be invalidating we use that as a flag.

355
2002-01-25  Jody Goldberg <jody@gnome.org>
356

357
	* src/Makefile.am : register the marshaller as BUILT sources.
358

359 360 361 362 363
2002-01-24  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/cell.h (cell_get_render_color) : new
	* src/rendered-value.c (cell_get_render_color) : new

Andreas J. Guelzow's avatar
new new  
Andreas J. Guelzow committed
364 365 366 367 368
2002-01-24  Andreas J. Guelzow <aguelzow@taliesin.ca>

	* src/ranges.h (global_range_name) : new
	* src/ranges.c (global_range_name) : new

Jody Goldberg's avatar
Jody Goldberg committed
369 370
2002-01-24  Jody Goldberg <jody@gnome.org>

371
	* configure.in : explicitly disable guile, psiconv, and bonobo for now.
372
	Add a warning.
373

Jody Goldberg's avatar
Jody Goldberg committed
374 375 376
	* src/Makefile.am : Apparently the sources list is order dependent.
	  Put the built sources at the top.

377 378 379 380
2002-01-24  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in: fixed libgda detection for GNOME 2.

Jody Goldberg's avatar
Jody Goldberg committed
381 382
2002-01-23  Jody Goldberg <jody@gnome.org>

Jody Goldberg's avatar
Jody Goldberg committed
383 384 385
	* src/gui-util.c (gnumeric_textview_get_text) : new utility.
	(gnumeric_textview_set_text) : ditto.

Jody Goldberg's avatar
Jody Goldberg committed
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
	* src/history.c : tidy up a mite.

	* src/gui-util.c : Some initial conversions to gnome2.  Needs work.

	* src/gui-file.c (can_try_save_to) : Use the new glib2 file utilities.

	* src/gnumeric.h : remove the gnome-1.4 compatibility shims.

	* src/gnumeric-pane.c (gnumeric_pane_realized) : renamed to be
	  consistent.

	* src/gnumeric-graph.c (bonobo_activation_exception_id) : renamed from
	  oaf_exception_id.
	(gnm_graph_setup) : begin conversion to bonobo-activation.

	* src/gnumeric-canvas.c : disable the IM support for now.

	* src/formats.c (currency_symbols) : pound, yen, euro -> utf8.

	* src/format.c : no need for portability.h
	* src/func.c : ditto.

	* src/file.c (gnum_file_saver_setup) : disable mime for now.

	* src/command-context.c : Inherit directly from GObject.
	* src/commands.c : ditto.
	* src/complete-sheet.c : ditto.
	* src/complete.c : ditto.

	* src/application.c : convert to new stock icon management.

	* src/Makefile.am : remove portability.h.
	  Add pixmaps subdir.
	  Build marshallers.

	* Makefile.am : Convert to intltool.
	* acconfig.h : Convert to gnome2 gettext format.
	* .cvsignore : Convert to intltool, and remove the Conf file.
	* src/.cvsignore : Update.
	* autogen.sh : Convert to gnome2.
	* configure.in : Rough conversion to gnome2.  We'll need to re-enable
	  the plugins.

	* idl/GNOME_Gnumeric.idl : Delete an unused interface.
	* idl/Makefile.am (dist) : update.

	* plugins/Makefile.am :  Use WITH_GUILE rather than just GUILE to be
	  consistent.
	* plugins/*/Makefile.am : Convert to intltool.

436 437 438 439 440
2002-01-22  Jody Goldberg <jody@gnome.org>

	* src/sheet-autofill.c (autofill_create_fill_items) : Use
	  list_prepend, and reverse in palce of append.

441 442 443 444 445 446
2001-01-22  Kevin Breit <mrproper@ximian.com>

	* Makefile.am: Added omf-install/
	* omf-install: Added directory for OMF stuff
	* omf-install/Makefile.am: Copied that in
	
447 448 449 450
2002-01-22  Rodrigo Moya <rodrigo@gnome-db.org>

	* README:
	* configure.in: increased minimum libgda versions