- 13 Nov, 1999 1 commit
-
-
Jody Goldberg authored
fix some small drawing glitches.
-
- 06 Nov, 1999 1 commit
-
-
Jody Goldberg authored
more verbose colour selection. Better dialog layout in the presence of big fonts. support applying coloured borders.
-
- 02 Nov, 1999 1 commit
-
-
Jody Goldberg authored
Partial implementation of interbook references. Slight improvement to grid redraws.
-
- 30 Oct, 1999 1 commit
-
-
Jody Goldberg authored
-
- 09 Oct, 1999 1 commit
-
-
Jody Goldberg authored
-
- 08 Oct, 1999 1 commit
-
-
Jody Goldberg authored
- Beautify the scrollbar tooltips a bit and move some of their utility routines into gnumeric-utility. - Add width/height tooltips on col/row resize. - Fix bug that would loose the end of resize event when the cursor had not moved.
-
- 07 Oct, 1999 1 commit
-
-
Miguel de Icaza authored
1999-10-06 Miguel de Icaza <miguel@gnu.org> * src/workbook-format-toolbar.c (change_selection_font): Remove ants when we change the font. (set_selection_halign): And when we change the alignment. Many more left to be removed. Left as an excercise to Jody :-) * src/sheet.c (sheet_start_editing_at_cursor): remove ants when we start entering new text. * src/sheet-view.c (sheet_view_selection_unant): Destroys the anted cursors from the sheet view. (sheet_view_selection_ant): Adds cursors to the sheetview. (sheet_view_construct): New group that is used to hold the selection-ant items. * src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Kill ants on escape. (gnumeric_sheet_key_mode_object): ditto. * src/selection.c (sheet_selection_unant): New function, kills the selection ants. (sheet_selection_ant): New function, adds an anted selection to all the selected regions. * src/clipboard.c (do_clipboard_paste_cell_region): Do not paste beyond sheet boundaries. * src/item-grid.c (item_grid_find_row): Do not go beyond sheet boundaries. (item_grid_find_col): ditto. * configure.in: Generate gnumeric.desktop * gnumeric.desktop.in: New file, used to choose the correct gnumeric/gnumeric-bonobo executable name. * src/sheet-object-item.c: Updated to fit with the new Bonobo changes. 1999-10-06 Jody Goldberg <jgoldberg@home.com>
-
- 04 Oct, 1999 1 commit
-
-
Jody Goldberg authored
keeping cols rows in segmented arrays. - Large speed improvement in exit by operating on the entire sheet rather than cell by cell. - Large speed improvement in Col/Row auto-fills. they're still too damn slow and we use too much memory, but its a start. - Insert/delete/Shift rows/cols now correctly adjusts references to and from the region. - Code in place to restructure 'copy' - A few minor dialog adjustments, some from me, some from the mailing list.
-
- 17 Sep, 1999 1 commit
-
-
Miguel de Icaza authored
1999-09-17 Miguel de Icaza <miguel@gnu.org> * src/workbook-cmd.c: New file. Moved a bunch of commands here, and move to be moved. Implemented the set money format; Implemented the percent formt. 1999-09-16 Miguel de Icaza <miguel@gnu.org> * src/sheet.c (sheet_update_controls, cell_is_homogeneous): Include checks for font name and font size. * src/dialogs/dialog-printer-setup.c (dialog_printer_setup): Add call to gnome_dialog_set_parent here. * src/tools.h: New file, moved here all the tools declarations. Please, try to keep indentation for public functions as the rest of the Gnumeric ones. * src/workbook.c: Enable comands Format/Column, Format/Row and Format/Sheet. (create_format_toolbar): Add font selector toolbar widget. (change_font_in_selection_cmd): New routine. Applies a font to a selection in the workbook. (workbook_feedback_set): Upgraded feedback interface * src/sheet-view.c (sheet_view_row_size_changed): There is no need to call gnumeric_compute_visible_ranges, the sheet_row_set_height code does this. * src/item-bar.c (item_bar_event): Support also row-autosizing. * src/sheet.c (sheet_col_size_fit): Add this routine. (sheet_col_set_internal_width): New function. Similar to its counterpart * src/dialogs/dialog-cell-format.c (dialog_cell_format): Change call to g_list_free for sheet_cell_list_free. * src/selection.c (sheet_cell_list_free): New routine. * src/workbook.c: Reworked toolbars again. We now only have 2 toolbars instead of 8 or so. * src/sheet.h (SHEET_MAX_ROWS): New excel supports 64k rows, mimic this. * src/widgets/gnumeric-toolbar.c: Added new file. Handles the Gnumeric toolbars.
-
- 15 Sep, 1999 1 commit
-
-
Michael Meeks authored
Array input fixed for wierd locales, bug in header read fixed, sheet-object window_to_world cleaned, my D&D stuff moved to more sensible place,
-
- 09 Sep, 1999 2 commits
-
-
Jody Goldberg authored
-
Michael Meeks authored
-
- 08 Sep, 1999 2 commits
-
-
Jody Goldberg authored
1st stab at scrollbars adjusting to visible region. Move selection code into a new file, no changes. Minor const fixups.
-
Michael Meeks authored
Re-vamped & improved D&D code moved around too :-)
-
- 05 Sep, 1999 1 commit
-
-
Jody Goldberg authored
-
- 17 Aug, 1999 1 commit
-
-
Jody Goldberg authored
Fix Bug 1732, 1638. Add more Biff record types in excel.
-
- 09 Jul, 1999 1 commit
-
-
Miguel de Icaza authored
1999-07-09 Miguel de Icaza <miguel@gnu.org> * src/sheet-view.c (sheet_view_construct): Reverted last plan. We do need a sheet_view_construct, as we require sheet_view->sheet to be set. 1999-07-08 Miguel de Icaza <miguel@gnu.org> * src/cell.c (calc_text_dimensions): Use gdk_fonts for measuring the strings on the screen. Basically, back out using GnomeFont here. * src/print-info.c (render_date, render_time): Finished implementing. (render_opcode): Enable argument mechanism to extend the number of possible formats. Excel accepts stuff like &[DATE], we extend this to accept &[DATE:mmmm-yyyy]. The argument for &[DATE] and &[TIME] is a regular Gnumeric formatting code (ie, compattible with the cell formating in Excel). * src/sheet-view.h: Change style to suit forward declaration structure. * src/sheet.h: Use forward declaration for SheetView. * src/sheet.c (sheet_new_sheet_view, sheet_destroy_sheet_view): New routines for managing the sheet views. * src/sheet-view.c: Killed sheet_view_construct, there was nothing really required there. Moved all the code to sheet_view_init. (sheet_view_scrollbar_display, sheet_view_set_header_visibility): New routines that control the visibility of the various gadgets of a SheetView. * embeddable-grid.c, embeddable-grid.h: New files. They implement the Bonobo GnomeEmbeddable interfaces for embedding Gnumeric in applications. * src/workbook.c (workbook_new, workbook_core_new): Split this routine in two: GUI independant and GUI dependant. The next step is to provide multiple views of a workbook (although, I am not sure I want this). (workbook_new_with_sheets): Kill dead code. * src/corba-sheet.c (Sheet_row_height, Sheet_col_width, Sheet_max_cols_used, Sheet_max_rows_used): New methods. * src/Gnumeric.idl (Sheet): new methods max_cols_used, max_rows_used, col_width, row_height. (Grid): New interface for embeddable grids. * src/print-info.c (hf_format_render): Rendering routine for the header and footers formats. 1999-07-09 Miguel de Icaza <miguel@gnu.org> * ms-excel-write.c (biff_put_text): Intiialize variable.
-
- 23 Jun, 1999 1 commit
-
-
Michael Meeks authored
this breaks some peoples stuff, but I'll get on to that now...
-
- 22 Jun, 1999 1 commit
-
-
Miguel de Icaza authored
1999-06-21 Miguel de Icaza <miguel@gnu.org> * src/func.c: Do not pre-initialize them. If they need to be pre-initialized something is wrong in some other place. Fix that instead. * src/clipboard.c (do_clipboard_paste_cell_region): Implement transpose-on-paste command. Change the increment steps for transpose and compute a different target column as well. (sheet_paste_selection): Swap the paste dimesions here if we are pasting/transpose. 1999-06-18 Miguel de Icaza <miguel@gnu.org> * src/func.c: Remove static initialization of the error messages. 1999-06-14 Miguel de Icaza <miguel@gnu.org> * src/clipboard.h: Define PASTE_TRANSPOSE. * src/dialog-paste-special.c (dialog_paste_special): Add new
-
- 13 Jun, 1999 1 commit
-
-
Miguel de Icaza authored
1999-06-12 Miguel de Icaza <miguel@gnu.org> * src/dialog-cell-comment.c (dialog_cell_comment): Process the return value from gnome_dialog_run correctly as well. (ie we should catch the return value -1 as the "user closed dialog box" message and avoid destroying the dialog box ourselves). * src/item-grid.c (context_paste_special_cmd): Handle a cancel operation from the dialog_paste_special dialog box. * src/dialog-paste-special.c (dialog_paste_special): Hanlde the case in which the window manager closed the dialog box. * src/cell.c (cell_comment_destroy): Changed invocation from gtk_object_destroy to gtk_object_unref. (cell_comment_unrealize): ditto. (cell_comment_clicked): ditto. * src/dialog-cell-sort.c (dialog_cell_sort): ditto. * src/dialog-function-select.c (dialog_function_select): ditto * src/dialog-function-wizard.c (dialog_function_wizard): ditto * src/dialog-paste-special.c (dialog_paste_special): ditto * src/dialog-solver.c (constr_add_click): ditto. (constr_add_click): ditto (dialog_solver_options): ditto * src/gnumeric-sheet.c (gnumeric_sheet_stop_cell_selection): ditto (destroy_item_editor): ditto. (gnumeric_sheet_key_mode_object): ditto, and clear the pointer to the current_object. * src/sheet-object-container.c (sheet_object_container_destroy): ditto. * src/item-cursor.c (item_cursor_drag_event): ditto. (item_cursor_autofill_event): ditto * src/item-bar.c (item_bar_event): ditto * src/workbook.c (workbook_setup_auto_calc): ditto. * src/widget-editable-label.c (el_stop_editing): ditto * src/sheet-object.c (sheet_object_destroy): ditto (sheet_view_object_unrealize): ditto (sheet_object_destroy_control_points): ditto * src/sheet-view.c (sheet_view_destroy): ditto 1999-06-10 Miguel de Icaza <miguel@gnu.org> * src/pattern-selector.c (pattern_selector_init): Use the GNOME canvas fill_stipple feature instead of using the hack of creating the bitmap and setting the stipple on the realize handler. 1999-06-01 Miguel de Icaza <miguel@nuclecu.unam.mx> * po/hr.po: Added croat translation from Vladimir Vuksan <vuksan@cs.unm.edu>.
-
- 10 Jun, 1999 1 commit
-
-
Nat Friedman authored
1999-06-09 Nat Friedman <nat@gnome-support.com> * src/sheet-view.c (sheet_view_insert_object): Commented out call to gnome_bonobo_object_new_view since the API changed and this function doesn't do anything anyways. * src/sheet-object-container.c: Include gnome-component-client.h and view-frame.h. (sheet_object_container_land): Pass soc->client_site to gnome_bonobo_object_new_view. Get the view wrapper widget from the view frame. (sheet_object_container_realize): Likewise.
-
- 31 May, 1999 1 commit
-
-
Matt Loper authored
1999-05-31 Matt Loper <matt@gnome-support.com> * src/sheet-view.c: Because GNOME::Component was renamed to GNOME::BonoboObject, some bonobo function call names needed to be changed here (ex. gnome_component_new_view to gnome_bonobo_object_new_view). * src/sheet-object-container.c (sheet_object_container_land): likewise. (sheet_object_container_realize): likewise.
-
- 22 May, 1999 1 commit
-
-
Morten Welinder authored
-
- 30 Apr, 1999 1 commit
-
-
Morten Welinder authored
-
- 28 Apr, 1999 1 commit
-
-
Arturo Espinosa authored
Warning fixes; Keep up with Bonobo changes; Render the views in all of the graphic wizard view bits. Miguel
-
- 12 Apr, 1999 1 commit
-
-
Miguel de Icaza authored
1999-04-12 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/clipboard.c (x_selection_to_cell_region): Fixed the computation of columns in the paste code. 1999-04-11 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/workbook.c (insert_object_cmd): Add sample bonobo support. Still lacking an object server selector. * src/sheet.c (sheet_insert_object): Add Bonobo support. * src/sheet-view.c (sheet_view_insert_object): Add basic Bonobo support. I need to reuse the SheetObject stuff to add control points to the objects and to handle repositioning.
-
- 19 Jan, 1999 1 commit
-
-
Jeff Garzik authored
-
- 17 Dec, 1998 1 commit
-
-
Federico Mena Quintero authored
1998-12-16 Federico Mena Quintero <federico@nuclecu.unam.mx> * src/workbook.c (workbook_setup_status_area): Do not set_usize() on the info item. * src/sheet-view.c (new_canvas_bar): Set the width or height to -1 in set_usize(). * src/gnumeric-sheet.c (gnumeric_sheet_new): Do not set_usize() on the sheet.
-
- 14 Dec, 1998 1 commit
-
-
Arturo Espinosa authored
-
- 03 Dec, 1998 1 commit
-
-
Miguel de Icaza authored
1998-12-02 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/gnumeric-sheet.c (gnumeric_sheet_set_top_row, gnumeric_sheet_set_top_col): New functions to set the sheet top column and row respectively. (gnumeric_sheet_bar_set_top_row, gnumeric_sheet_bar_set_top_col): Renamed from their old names to reflect their actual action. * src/item-cursor.c (item_cursor_autofill_event): Do not pass negative numbers to item_grid_find_col and item_grid_find_row. * src/item-grid.c (item_grid_find_row, item_grid_find_col): Check for possitive numbers. I think the right fix is to accept negative numbers and find the column even if the number is negative instead of this ugly restriction.
-
- 10 Nov, 1998 1 commit
-
-
Miguel de Icaza authored
Two things that have been on my hard disk for a long time: 1. Comments-on-cells code is working. We just need the nice dialog to actually type something in. It needs xml-io.c support though, hopefully Daniel will add this soon. 2. Dropped cell->entered_text. We now only store the parsed version of the cell (either as an ExprTree or as a Value). This should help mmeeks with his Excel-formula importing code, it should be possible to do the right thing now instead of constructing a string representation of the formula and re-parsing it. Various fixes here and there as well. Miguel 1998-11-10 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/sheet-view.c (sheet_view_comment_get_points): Scale properly the points to be in window cordinates. * src/sheet.c (sheet_col_set_width): Move comments on column change. * src/cell.c (cell_copy): Duplicated cells get col, row and sheet values set to NULL. 1998-11-05 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/fn-misc.c: Add ctype.h * src/sheet-view.c (sheet_view_comment_get_points): New utility routine used. (sheet_view_comment_relocate): New function used to relocate a comment canvas item in a cell to its new location. * src/cell.c (cell_relocate): Move the comments with the cell. (cell_realize, cell_unrealize, cell_comment_realize, cell_comment_unrealize): New functions used to create and destroy view-specific cell components (the comments are canvas objects that need to be created on a per-view basis).
-
- 02 Nov, 1998 1 commit
-
-
Arturo Espinosa authored
Get the Excel plugin incorporated into the build process (right now it is not a real plugin, it gets loaded directly into gnumeric address space, I guess we can fix this). Cell comments are working, but still need some work. Miguel.
-
- 13 Oct, 1998 1 commit
-
-
Miguel de Icaza authored
1998-10-13 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/utils.c (col_name): It is amazing the number of times I duplicated this code. I wonder if I took prozac by accident. This should fix the bug reported by Morten Welinder 1998-10-12 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/sheet-view.c (vertical_scroll_event, horizontal_scroll_event): Set the top column/row from the adjustment as well. * src/gnumeric-sheet.c (gnumeric_sheet_set_top_col, gnumeric_sheet_set_top_row): Export these functions to improve the scrolling behaviour. 1998-10-12 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/utils.c (cellref_name): Fixed another of column name decoding. I wonder when I will learn.
-
- 08 Oct, 1998 2 commits
-
-
Miguel de Icaza authored
1998-10-07 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/sheet-view.c (sheet_view_col_selection_changed): Make sure the column is allocated (so that the column size change picks up the column during the iteration). (sheet_view_row_selection_changed): Same
-
Miguel de Icaza authored
1998-10-07 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/style.c (font_init): New routine: loads a couple of default fonts to be used in Gnumeric. * src/item-bar.c (bar_draw_cell): Make the SELECTION cells display with a bold font. (item_bar_realize, item_bar_unrealize): reference and unreference the gnumeric_default_bold_font. 1998-10-07 Jakub Jelinek <jj@ultra.linux.cz> * src/item-grid.c (item_grid_button_1): Handle shift+click on cells (removes last selection and selects from last base to current mouse location). (item_grid_event): Don't lock up if mouse is moved during selection behind left or top margin of sheet canvas (later on we should move the current view). * src/cell.c (cell_formula_changed): Cast void * to something reasonable. * src/item-bar.c (draw_bar_cell): Switch from 2 state bars to 3 state: whole column/row is selected in one of the current selections, some cells are selected in one of the selections or nothing is selected. Get rid of ci->selected, compute it from the selections. (item_bar_draw): Ditto. * src/cell.h (selected): Ditto. * src/sheet.c (sheet_init_default_styles, sheet_init_dummy_stuff): Ditto. (sheet_selection_row_extend_to, sheet_selection_col_extend_to): Remove. (sheet_all_is_selected): True if any of the selections covers whole sheet. (sheet_col_selection_type, sheet_row_selection_type): New functions. (sheet_selection_set): New function. * src/sheet-view.c (sheet_view_row_set_selection, sheet_view_col_set_selection): Remove. (sheet_view_col_selection_changed, sheet_view_row_selection_changed): Handle shift+click and ctrl+click on whole columns/bars as well. (sheet_view_col_size_changed, sheet_view_row_size_changed): Use sheet_*_selection_type instead of ci->selected. * src/item-bar.h (ItemBarSelectionType): Enum for the new 3 state column/row titles. (ItemBarClass): selection_changed takes modifier mask as argument. * src/sheet-view.h (sheet_view_*_set_selection): Remove prototypes. * src/sheet.h (sheet_selection_*_extend_to): Ditto. (sheet_selection_set, sheet_*_selection_type): New prototypes. 1998-10-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
-
- 06 Oct, 1998 1 commit
-
-
Miguel de Icaza authored
1998-10-06 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/cell.c (cell_modified): Cells from the clipboard do not have a Sheet parameter attached. * src/sheet.c (sheet_cell_add): Check the computed style: if the computed style includes a format, then turn on the cell flag for format is set to avoid the auto guess of cell content. (sheet_style_compute): Now can return the flags of the style that were not part of the default style. * src/file.c (dialog_query_load_file, workbook_save_as): Put the window close to the mouse. * src/workbook.c (sheet_check_dirty, workbook_close): Do not cancel without warning the user if the workbook has changed. (workbook_new, workbook_can_close, workbook_window_destroy, quit_cmd, close_cmd): Reorganized the code to suit the new code to prevent inadvertent quits.
-
- 30 Sep, 1998 1 commit
-
-
Arturo Espinosa authored
-
- 25 Sep, 1998 1 commit
-
-
Miguel de Icaza authored
1998-09-25 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/sheet.c (sheet_selection_row_extend_to, sheet_selection_col_extend_to): New version that makes sure the column information has been allocated. * src/workbook.c (workbook_parse_and_jump): Maximum ranges were a little bit off. * src/parser.y (return_cellref): Fixed the same bug we had in parse_cell_name: The parsing of the column name to a column index was wrong here too. * src/sheet.c (sheet_row_info_set_height, sheet_col_info_set_width): New functions based on the older non-ColRowInfo versions. * src/sheet-view.c (sheet_view_row_size_changed, sheet_view_col_size_changed): Apply changes globaly if the whole sheet is selected.
-
- 24 Sep, 1998 1 commit
-
-
Miguel de Icaza authored
New: - Bold button works properly (ie, it detects what sort of stuff you have and presses/unpresses accordingly). - GNumeric now has operation modes: sheet and object. Using delete/backspace/edit-cut will let you kill objects. - Lots of the bug fixes reported by Adrian/Federico. Here is the detailed changelog: 1998-09-23 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/xml-io.c: Destroy the extra style. * src/main.c (main): No need to init colors as they are auto-inited. * src/style.c (font_compute_hints): At font creation time store a couple of the font attributes for quick retrieval. * src/sheet-view.c (sheet_view_construct): Do not allow this button to have the focus either. * src/item-bar.c (item_bar_draw): If the whole sheet is selected, draw all of the columns in pressed presenstation * src/sheet.c (sheet_is_all_selected): Return wheter all the sheet is selected. * src/utils.c (cell_name): Fixed cell name computation. (parse_cell_name): Fixed parsing of the cell name.
-
- 23 Sep, 1998 1 commit
-
-
Miguel de Icaza authored
1998-09-23 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/style.c (font_compute_hints): At font creation time store a couple of the font attributes for quick retrieval. * src/sheet-view.c (sheet_view_construct): Do not allow this button to have the focus either. * src/item-bar.c (item_bar_draw): If the whole sheet is selected, draw all of the columns in pressed presenstation * src/sheet.c (sheet_is_all_selected): Return wheter all the sheet is selected. * src/utils.c (cell_name): Fixed cell name computation.
-