1. 12 Jul, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Kill warning. · 576036c1
      Almer S. Tigelaar authored
      2001-07-12  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/gnumeric-pane.c (gnumeric_pane_set_bounds): Kill warning.
      576036c1
  2. 11 Jul, 2001 5 commits
    • Jody Goldberg's avatar
      Marks are in. Having the pane corner != A1 works (thanks Federico) · 348ca635
      Jody Goldberg authored
      Marks are in.
      Having the pane corner != A1 works (thanks Federico)
      Autoscroll is still broken in some cases but the framework is in place.
      
      2001-07-11  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-grid.c (item_grid_draw) : Draw bound lines for panes.
      
      	* src/gnumeric-pane.c (gnumeric_pane_set_bounds) : new function.
      
      2001-07-10  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_resize) : Federico wins a dinner for
      	  pointing out the source of the bug with frozen panes starting
      	  somewhere other than 0,0.  It seems that scroll_regions are more
      	  powerful than I thought.
      	(scg_init) : the slider handling is elsewhere.
      	(bar_set_top_row) : remove debug spewage.
      	(scg_stop_sliding) : move to gnumeric_sheet.
      	(scg_sliding_callback) : ditto.
      	(scg_start_sliding) : ditto.
      	(cb_slide_handler) : signature change for slide callbacks.
      	(cb_control_point_event) : changes for panes.
      
      	* src/item-grid.c (cb_extend_cell_range) : signature change for slide
      	  callbacks.
      	(cb_extend_expr_range) : ditto.
      	(item_grid_event) : use gnumeric_sheet_handle_motion.
      	(item_grid_finalize) : switch over from destroy.
      	(item_grid_class_init) : add bound args.
      	(item_grid_set_arg) : ditto.
      	(item_grid_draw) : begin using the bound arg.
      	(item_grid_init) : init the bound arg to fullsheet.
      	(item_grid_realize) : Add an extra GC for drawing the bounding lines.
      	(item_grid_unrealize) : release the new GC.
      
      	* src/item-cursor.c (cb_move_cursor) : signature change for slide
      	  callbacks.
      	(cb_autofill_scroll) : ditto.
      	(item_cursor_handle_motion) : use gnumeric_sheet_handle_motion.
      
      	* src/item-bar.c (item_bar_draw) : remove debug spewage.
      	(cb_extend_selection) : signature change for slide callbacks.
      	(item_bar_event) : use gnumeric_sheet_handle_motion and simplify the
      	  code alot.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_init) : init the sliding members.
      	  The sliding used to be managed by the scg, but it is now handled
      	  with the gsheet (could just as easily be gpane) becuase scrolling
      	  panes needs to know _which_ pane is scrolling.
      	(gsheet_compute_visible_region) : remove the debug spewage.
      	(gnumeric_sheet_stop_sliding) : moved from scg_stop_sliding.
      	(gsheet_sliding_callback) : moved from scg_sliding_callback and
      	  revamped to support frozen panes.
      	(gnumeric_sheet_handle_motion) : new routine to merge in the old
      	  scg_start_sliding and add a pile of replicated code from all the
      	  different users of the sliding mechanism.
      	(gnumeric_sheet_new) : take max col/row as arg.
      
      	* src/gnumeric-pane.c (canvas_bar_adjustment_changed) : delete debug routine.
      	(gnumeric_pane_header_init) : no need for adjust_size handler.
      
      2001-07-10  Jody Goldberg <jgoldberg@home.com>
      
      	* idl/Makefile.am : improve evo handling.
      
      	* configure.in : Fix definition of ENABLE_EVOLUTION in makefiles.
      
      2001-07-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-bar.c (item_bar_event) : clip the minimum col/row size at
      	  the margins.
      
      	* src/sheet.c (colrow_compute_pts_from_pixels) : add some sanity
      	  checking.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_handle_motion) : new function.
      	  begin the process of getting enough information to scroll
      	  effectively with frozen panes.  Also merge alot of similar code.
      
      	* src/item-bar.c (item_bar_event) : Use gnumeric_sheet_handle_motion.
      	* src/item-cursor.c (item_cursor_handle_motion) : ditto.
      	* src/sheet-control-gui.c (cb_slide_handler) : ditto.
      348ca635
    • Chyla Zbigniew's avatar
      Fixed path for "_Freeze Panes" menu item. · c088e644
      Chyla Zbigniew authored
      * src/workbook-control-gui.c (wbcg_menu_state_update): Fixed path for
      "_Freeze Panes" menu item.
      c088e644
    • Almer S. Tigelaar's avatar
      New, default preparsing of a file. (stf_read_workbook): Use stf_preparse. · a41be4bf
      Almer S. Tigelaar authored
      2001-07-11  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/stf.c (stf_preparse): New, default preparsing of a file.
      	(stf_read_workbook): Use stf_preparse.
      	(stf_read_default_probe): Prober for reading.
      	(stf_read_workbook_csv_default): New, read a csv file in default formatting.
      	(stf_init): Register stf_read_workbook_csv_default.
      a41be4bf
    • Almer S. Tigelaar's avatar
      Add error ID's. (gnumeric_parse_error): Accept ID and set ID on error · c44451ea
      Almer S. Tigelaar authored
      2001-07-11  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/parser.y : Add error ID's.
      	(gnumeric_parse_error): Accept ID and set ID on error struct.
      
      	* src/parse-util.[ch]
      	(parse_error_init): Initialize the error id.
      
      	* src/workbook-edit.c (wbcg_edit_finish): When there's a missing
      	closing paren, try appending one and see if it helps.
      
      	* src/stf-parse.c (stf_preparse): New, default preparsing of a file.
      	(stf_read_workbook): Use stf_preparse.
      	(stf_read_default_probe): Prober for reading.
      	(stf_read_workbook_csv_default): New, read a csv file in default formatting.
      	(stf_init): Register stf_read_workbook_csv_default.
      c44451ea
    • Jody Goldberg's avatar
      update · 57eabf28
      Jody Goldberg authored
      57eabf28
  3. 10 Jul, 2001 6 commits
    • Jody Goldberg's avatar
      Add gnumeric-pane.c · 2e4ebc09
      Jody Goldberg authored
      2001-07-09  Jody Goldberg <jgoldberg@home.com>
      
      	* POTFILES.in : Add gnumeric-pane.c
      
      2001-07-10  Jody Goldberg <jgoldberg@home.com>
      
      	* idl/Makefile.am : improve evo handling.
      
      	* configure.in : Fix definition of ENABLE_EVOLUTION in makefiles.
      2e4ebc09
    • Lutz Müller's avatar
      Add a menu item "Send" to the file menu. If this one is clicked, pop up an · 51e7bf1e
      Lutz Müller authored
      2001-07-10  Lutz Müller <urc8@rz.uni-karlsruhe.de>
      
              * src/workbook-control-gui.c: Add a menu item "Send" to the file menu.
              If this one is clicked, pop up an Evolution-Composer with current
              workbook attached.
              * src/file-priv.h: New virtual function for GnumFileSaver:
              save_to_stream.
              Introduce GnumFileSaverSaveToStreamFunc. Keep a mime type.
              * src/file.[c,h]: Implement save_to_stream and mime_type detection.
              * src/gui-file.[c,h]: Reduce copy & paste by introducing
              (make_format_chooser) and (check_multiple_sheet_support_if_needed).
              New function: (gui_file_save_to_stream) which asks for the desired
              mime type.
              * src/bonobo-io.c: This file saver doesn't support save_to_stream.
              * src/stf.c: This one either.
              * src/xml-io.[c,h]: Implement save_to_stream.
              * src/plugin-service.c: Pass NULL for save_to_stream.
      51e7bf1e
    • Almer S. Tigelaar's avatar
      Also keep scrolling on a single, short click. · bb46688c
      Almer S. Tigelaar authored
      2001-07-10  Almer S. Tigelaar  <almer@gnome.org>
      
      	* gnumeric-vscrollbar.c (gnumeric_vscrollbar_button_press): Also keep
      	scrolling on a single, short click.
      
      	* gnumeric-hscrollbar.c (gnumeric_hscrollbar_button_press): Idem.
      bb46688c
    • Lutz Müller's avatar
    • Lutz Müller's avatar
      Sorry, I forgot to commit the ChangeLog file when I committed the changes to · 6295dc30
      Lutz Müller authored
      acconfig.h, configure.in, idl/Makefile.am, and idl/.cvsignore.
      6295dc30
    • Lutz Müller's avatar
      #undef ENABLE_EVOLUTION Checks for Evolution-Composer.idl. Can be · 98cee657
      Lutz Müller authored
      2001-07-09  Lutz Müller <urc8@rz.uni-karlsruhe.de>
      
              * acconfig.h: #undef ENABLE_EVOLUTION
              * configure.in: Checks for Evolution-Composer.idl. Can be overwritten
              with --without-evolution.
              * idl/Makefile.am: Let orbit process the Evolution-Composer.idl.
              * idl/.cvsignore: Ignore the generated Evolution* files.
      98cee657
  4. 09 Jul, 2001 4 commits
    • Christian Rose's avatar
      Updated Swedish translation. · e592a39d
      Christian Rose authored
      2001-07-09  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      e592a39d
    • Almer S. Tigelaar's avatar
      Remove deprecated comment. · 93b80d08
      Almer S. Tigelaar authored
      2001-07-09  Almer S. Tigelaar  <almer@gnome.org>
      
      	* stf-parse.c
      	(stf_parse_csv_line): Remove deprecated comment.
      93b80d08
    • Almer S. Tigelaar's avatar
      Make this work as it is supposed to. · b8a2d19c
      Almer S. Tigelaar authored
      2001-07-09  Almer S. Tigelaar  <almer@gnome.org>
      
      	* stf-parse.c (stf_parse_convert_to_unix): Make this work as it
      	is supposed to.
      b8a2d19c
    • Jody Goldberg's avatar
      Col/Row resize guides now work with panes. · d7707e2d
      Jody Goldberg authored
      and hide/unhide cols/rows works with panes and objects.
      
      2001-07-09  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-pane.c (canvas_bar_realized) : moved from scg.
      	(canvas_bar_adjustment_changed) : ditto.
      	(gnumeric_pane_header_init) : ditto.
      	(gnumeric_pane_init) : ditto.
      	(gnumeric_pane_release) : ditto.
      	(gnumeric_pane_colrow_resize_end) : new function.
      	(gnumeric_pane_colrow_resize_start) : ditto.
      	(gnumeric_pane_colrow_resize_move) : ditto.
      
      	* src/colrow.c (colrow_set_visibility) : toggling visibility moves
      	  objects and panes.
      	(colrow_save_sizes) : Use sheet_colrow_get_info.
      
      	* src/item-bar.c : s/destroy/finalize/
      	s/item_bar/ib/ for internal routines and vars.
      	Some renaming to clean things up
      	Move the struct decl into .c nothing should be looking at the
      	  implementation.
      	(item_bar_init) : remove unused 'FirstElement' arg.
      	(item_bar_set_arg) : remove unused arg and fix typo.
      	(item_bar_event) : use resize guide support routines in scg
      	  instead of handling it ourselves.
      	(resize_bar_init) : delete, and move concept to gnumeric-pane.
      	(item_bar_start_resize) : move content to gnumeric-pane.
      	(item_bar_end_resize) : move content to gnumeric-pane.
      
      	* src/sheet-control-gui.c (scg_set_top_row) : pane support.
      	(scg_set_left_col) : ditto.
      	(scg_colrow_resize_end) : new function.
      	(scg_colrow_resize_start) : ditto.
      	(scg_colrow_resize_move) : ditto.
      d7707e2d
  5. 08 Jul, 2001 4 commits
  6. 07 Jul, 2001 7 commits
    • Morten Welinder's avatar
      Move EXPRESSION. · 70050162
      Morten Welinder authored
      70050162
    • Jody Goldberg's avatar
      go one past the last visible in case the last visible == the last full. · 85ff8354
      Jody Goldberg authored
      2001-07-06  Jody Goldberg <jgoldberg@home.com>
      
      	* src/item-cursor.c (item_cursor_update) : go one past the last
      	  visible in case the last visible == the last full.
      
      	* src/item-bar.c (item_bar_end_resize) : fix typo.
      
      	* src/sheet.c (sheet_update_only_grid) : force a resize after col/row
      	  resizes with frozen panes.
      85ff8354
    • Morten Welinder's avatar
      Add CONCATENATE error test. · ca4646db
      Morten Welinder authored
      ca4646db
    • Morten Welinder's avatar
      Handle errors properly. Don't leak like crazy. · ee21e641
      Morten Welinder authored
      2001-07-07  Morten Welinder  <terra@diku.dk>
      
      	* fn-string.c (gnumeric_concatenate): Handle errors properly.
        	Don't leak like crazy.
      ee21e641
    • Almer S. Tigelaar's avatar
      Changes from Almer. · 68007bd8
      Almer S. Tigelaar authored
      2001-07-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* fn-string.c (gnumeric_char): Beautify.
      	(gnumeric_code): Simplify, no need to check type.
      	(gnumeric_lower): Use gstrdown.
      	(gnumeric_mid): Beautify, no need to check type.
      	(gnumeric_upper): Use gstrup.
      	(gnumeric_concatenate): Drastically simplify using GString.
      	(gnumeric_replace): Idem.
      68007bd8
    • Almer S. Tigelaar's avatar
      New, custom marshaller. (pg_get_row_height): Get default row height by · d0536700
      Almer S. Tigelaar authored
      2001-07-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/preview-grid.[ch] (marshal_POINTER__INT_INT): New, custom marshaller.
      	(pg_get_row_height): Get default row height by emitting signal.
      	(pg_get_col_width): Idem for column width.
      	(pg_get_style): Idem for style.
      	(pg_construct_cell): Idem for value.
      	(preview_grid_init): Provide sensible defaults.
      	(preview_grid_set_arg): Remove callback related arguments.
      	(preview_grid_class_init): Idem and create all newly added signals.
      
      2001-07-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-autoformat.c (cb_get_row_height): Burn.
      	(cb_get_col_width): Burn.
      	(cb_get_cell_style): Tidy and cope for new parameters.
      	(cb_get_cell_value): Idem.
      	(previews_load): Remove setting of callback arguments upon
      	preview-grid creation and connect the get_cell_style and
      	get_cell_value signals.
      
      2001-07-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* widget-font-selector.c (cb_get_row_height): Adjust signature for
      	changes to the preview-grid.
      	(cb_get_col_width): Idem.
      	(cb_get_cell_style): Idem.
      	(cb_get_cell_value): Idem.
      	(fs_init): Remove setting of callback arguments, instead connect signal
      	callbacks to the preview grid.
      d0536700
    • Almer S. Tigelaar's avatar
      Adjust to handle new parameters. (cb_font_preview_color): Pass to font · cf453217
      Almer S. Tigelaar authored
      2001-07-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-cell-format.c (cb_font_changed): Adjust to handle
      	new parameters.
      	(cb_font_preview_color): Pass to font selector.
      	(cb_font_strike_toggle): Idem.
      	(cb_font_underline_changed): Idem.
      	(fmt_dialog_init_font_page): Initialize the font selector's
      	properties correctly including the forecolor.
      	No need to set the scaling size anymore.
      	(fmt_dialog_init_align_page): Remove superfluous void.
      
      	* font-sel.glade: Replace the GtkEntry previously used for
      	previewing with a GnomeCanvas inside a GtkScrolledWindow.
      
      2001-07-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* widget-font-selector.c (reload_preview): Drastically revise, burned
      	most of the existing code. Emits the font_changed signal.
      	(font_selected): Set name directly on MStyle.
      	(style_selected): Idem for bold/italic.
      	(size_selected): Idem for size.
      	(size_changed): Idem.
      	(cb_get_row_height): Callback for newly integrated preview-grid. Returns
      	dynamically determined row height of a single cell.
      	(cb_get_col_width): Idem for column width.
      	(cb_get_cell_style): Idem for the style.
      	(cb_get_cell_value): Idem for previewing text.
      	(canvas_size_changed): Callback to cope for changes in size of the canvas,
      	the information collected here is used in cb_get_{col/row}_{width/height}
      	(fs_init): Remove gnome-font stuff and initializations of other, removed,
      	fs members. Create a preview-grid instead.
      	(fs_destroy): Unref preview mstyle and remove the gnome-font code.
      	(fs_class_init): Initialize new font_changed signal.
      	(font_selector_set_value): New, set preview value.
      	(font_selector_set_style): Set on MStyle directly.
      	(font_selector_set_strike): New, set strikethrough argument.
      	(font_selector_set_underline): New, set underline style.
      	(font_selector_set_color): New, set font (fore) color of text.
      	(font_selector_set_screen_res): Burn.
      cf453217
  7. 06 Jul, 2001 3 commits
  8. 05 Jul, 2001 10 commits
    • Jody Goldberg's avatar
      simplify. There is no need to scroll all panes if the target is already · 1ccdd52a
      Jody Goldberg authored
      2001-07-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control-gui.c (scg_make_cell_visible) : simplify.  There
      	  is no need to scroll all panes if the target is already visible in
      	  one of them.  Just keep things in sync.  This does suggest a ui
      	  enhancement thou.  Jump to boundaries (ctrl-arrow) should be smart
      	  about panes.
      	(scg_set_panes) : pre-scroll things to their minimum.
      1ccdd52a
    • Jody Goldberg's avatar
      update · a5bab033
      Jody Goldberg authored
      a5bab033
    • Jody Goldberg's avatar
      update · 19c6f8ff
      Jody Goldberg authored
      19c6f8ff
    • Jody Goldberg's avatar
      add a force_scroll argument. · 07f7fab8
      Jody Goldberg authored
      2001-07-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-control.c (sc_resize) : add a force_scroll argument.
      
      	* src/sheet-control-gui.c (scg_scrollbar_config) : handle panes.
      	(scg_resize) : Add a force_scroll argument.
      	  reset all of the offsets.
      	  Keep the col/row heades for pane[0] and toss those on pane[1,3]
      	(scg_set_zoom_factor) : support panes without headers.
      	(scg_scrollbar_config) : pane support.
      	(scg_set_left_col) : quicky stub.
      	(scg_set_top_row) : quicky stub.
      	(gnumeric_pane_init) : rename from gnumeric_pane_new for consistency.
      	  either add both or neither header.
      	(gnumeric_pane_free) : rename from gnumeric_pane_delete.
      	(scg_set_panes) : only panes 0 and 2 need headers no need to attach
      	 the headers for panes 1 & 3.
      	 force a full scroll when setting up the panes.
      	(scg_adjust_preferences) : no need to worry about panes.
      07f7fab8
    • Rodrigo Moya's avatar
      use libgda >= 0.2.11 for the GDA plugin · ea59c553
      Rodrigo Moya authored
      2001-07-05  Rodrigo Moya <rodrigo@gnome-db.org>
      
      	* configure.in: use libgda >= 0.2.11 for the GDA plugin
      
      	* README: added comments about libgda version requirements
      ea59c553
    • Rodrigo Moya's avatar
      adapted to new names in libgda CVS · ddfa8b60
      Rodrigo Moya authored
      2001-07-05  Rodrigo Moya <rodrigo@gnome-db.org>
      
      	* plugin-gda.c: adapted to new names in libgda CVS
      ddfa8b60
    • Almer S. Tigelaar's avatar
      Burn. (dialog_autosave): Set status of prompt toggle button properly. · 224ff0c0
      Almer S. Tigelaar authored
      2001-07-05  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-autosave.c (prompt_on_off_toggled): Burn.
      	(dialog_autosave): Set status of prompt toggle button properly.
      224ff0c0
    • Morten Welinder's avatar
      56857. · 2b1ddcf6
      Morten Welinder authored
      2b1ddcf6
    • Almer S. Tigelaar's avatar
      Fix backspace. · 34377597
      Almer S. Tigelaar authored
      2001-07-05  Almer S. Tigelaar  <almer@gnome.org>
      
      	* gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Fix backspace.
      34377597
    • Jody Goldberg's avatar
      typos · 08c012dd
      Jody Goldberg authored
      08c012dd