| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=1452
|
|
|
|
|
|
|
|
|
| |
1999-12-01 Miguel de Icaza <miguel@gnu.org>
* e-cell-text.c (ect_draw): Keep track of the originally allocated
piece of code.
svn path=/trunk/; revision=1451
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-12-01 Miguel de Icaza <miguel@gnu.org>
* e-table-header-item.c (ethi_unrealize): Removed change cursor
from here.
* e-cell-text.c (ect_draw): Memory leak fix.
* table-test.c (main): Enhance the demo to load sample.table
automatically, to get memprof working.
* e-table-header.c (eth_do_remove): Take an argument: do -remove.
* e-table-header.c (e_table_header_add_column): Sink ETableCol to
own the object.
* e-table-col.h: Made ETableCol a GtkObject to make reference
counting the lifecycle method for these objects.
* e-table-col.c (e_table_col_destroy): New API call.
* e-table-subset.c (e_table_subset_get_toplevel): New API call.
svn path=/trunk/; revision=1450
|
|
|
|
| |
svn path=/trunk/; revision=1449
|
|
|
|
| |
svn path=/trunk/; revision=1448
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-30 Miguel de Icaza <miguel@gnu.org>
* e-cell-checkbox.c (e_cell_checkbox_new): This one derives from
e-cell-toggle.
* check-emtpy.xpm, check-filled.xpm: new files.
* e-cell-toggle.c (etog_draw): Paint in white.
If we have transparency enabled, do the nice alpha computation.
* test-table.c, test-cols.c: new files; They implement the split
tests.
svn path=/trunk/; revision=1447
|
|
|
|
| |
svn path=/trunk/; revision=1446
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-29 Miguel de Icaza <miguel@gnu.org>
* e-cell-toggle.c, e-cell-toggle.h: New file. Implement a
multi-state image toggle cell object.
* e-cell-text.c (ect_leave_edit): Handle the case of us calling
leave edit manually.
(ect_stop_editing): Leave manually editing here.
(ect_draw): Add one pixel to the border for left and right;
Handle off-screen cursor (must be improved).
(ect_edit_select_all): New function.
(ect_event): Select all text on editing start
* e-table-item.c (eti_event): Map mouse events and dispatch them.
(eti_event): Add spreadsheet mode for editing; Enter editing only
with visual characters;
Leave editing mode when a different row has been selected.
(eti_get_height): Fix the computation for this; Fix logic for the
length_threshold.
(eti_draw): Add borders on all sides of the box;
Only draw focus if the cell is not being edited.
svn path=/trunk/; revision=1445
|
|
|
|
| |
svn path=/trunk/; revision=1443
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-28 Miguel de Icaza <miguel@gnu.org>
* e-cell-text.c (ect_enter_edit, ect_leave_edit): New methods;
They implement editing.
* e-cell.h: new methods: enter_edit, leave_edit
* e-table-model.h (set_value_at): make val argument const.
* e-table-simple.c (simple_set_value_at): Make value argument const;
* e-table-item.c (eti_set_arg): Add new mode: draw_focus;
svn path=/trunk/; revision=1442
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-27 Miguel de Icaza <miguel@gnu.org>
* e-table-item.c (eti_event): beginning of the keyboard navigation.
* e-table-model.c (e_table_model_row_changed): new function.
(e_table_model_cell_changed): new function.
(e_table_model_class_init): New signals.
* e-table-item.c (eti_request_region_redraw): x2, y2 offsets were
wrong.
(eti_select): Repaint selected region.
(eti_request_region_redraw): Fix range.
(eti_draw): Correct offset computation here.
(e_table_item_class_init): New method: row_selection, handles the
selection.
Now it implement GTK_SELECTION_SINGLE and GTK_SELECTION_MULTIPLE.
Focusing and selection should be correct now.
svn path=/trunk/; revision=1441
|
|
|
|
|
|
|
|
|
|
| |
More work.
I got a few offsets wrong; Event handling is broken, but I am happier
Mmiguel.
svn path=/trunk/; revision=1440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-26 Miguel de Icaza <miguel@gnu.org>
* e-table-item.c (eti_realize): Compute height using the ecell
methods here.
(eti_get_height): new method to compute dimensions.
* e-cursors.c: use a different cursor.
* e-table-model.h: kill height and row_height methods.
* e-cell.c (ec_height): New method.
* e-cell-text.c (ect_realize): Load the font from the canvas.
(ect_draw): New color setup.
Center in the row.
(ect_height): Implement new method.
1999-11-26 Michael Meeks <mmeeks@gnu.org>
* ROADMAP.e-table: small spelling/typo fixes.
1999-11-25 Miguel de Icaza <miguel@gnu.org>
* e-table-item.c (eti_event): Work on mouse-button event
svn path=/trunk/; revision=1439
|
|
|
|
| |
svn path=/trunk/; revision=1437
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-25 Miguel de Icaza <miguel@gnu.org>
* e-table-item.c (eti_realize_cell_views): New routine: Realizes
the cell views
(eti_unrealize_cell_views): New routine: unrealizes the cell views.
* e-table-item.h: Move cell_views array here.
* table-test.c (value_at): Fix return value.
svn path=/trunk/; revision=1436
|
|
|
|
| |
svn path=/trunk/; revision=1435
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-25 Miguel de Icaza <miguel@gnu.org>
* e-table-header-item.c (ethi_realize): Realize cells.
* e-table-item.c (eti_header_dim_changed): redraw before and after.
* e-table-header-item.c (ethi_event): Add continuous resizing.
1999-11-24 Miguel de Icaza <miguel@gnu.org>
* e-table-subset.h, e-table-subset.c: New files, used to implement
subset tables.
* e-table-sorted.h, e-table-sorted.c: Now they derive from
e-table-subset.
* e-cell.c, e-cell.h: realize method now return per view instance
data.
svn path=/trunk/; revision=1434
|
|
|
|
| |
svn path=/trunk/; revision=1431
|
|
|
|
| |
svn path=/trunk/; revision=1428
|
|
|
|
|
|
|
|
|
| |
1999-11-20 Miguel de Icaza <miguel@gnu.org>
* e-table-item.c (eti_draw): WOOOOHOOOOOoO! It took me quite a
while to figure this one out. Fixed.
svn path=/trunk/; revision=1426
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-20 Miguel de Icaza <miguel@gnu.org>
* e-table-header-item.c (ethi_set_arg): Compute width, keep track
of it.
(ethi_add_table_header): Monitor changes to the Header model;
Queue updates.
(ethi_draw): Fix the redraw logic here.
* table-test.c (main): Change the sample code, so we can better
debug this.
* e-table-item.c (eti_header_structure_changed): Keep track of
width;
(eti_header_dim_changed): ditto.
(eti_draw): Many redraw fixes.
svn path=/trunk/; revision=1425
|
|
|
|
| |
svn path=/trunk/; revision=1424
|
|
|
|
| |
svn path=/trunk/; revision=1423
|
|
|
|
| |
svn path=/trunk/; revision=1422
|
|
|
|
| |
svn path=/trunk/; revision=1421
|
|
|
|
| |
svn path=/trunk/; revision=1420
|
|
|
|
| |
svn path=/trunk/; revision=1419
|
|
|
|
| |
svn path=/trunk/; revision=1399
|
|
|
|
| |
svn path=/trunk/; revision=1398
|
|
|
|
|
|
|
| |
- Fixed some Camel API naming issues.
- Moved the message composer stuff to the `composer' directory.
svn path=/trunk/; revision=1395
|
|
|
|
|
|
| |
s/\.a/.la/
svn path=/trunk/; revision=1389
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-14 Miguel de Icaza <miguel@gnu.org>
* e-table-header-item.c (is_pointer_on_division): Add resizing
capabilities.
* e-table-sorted.c: Finish implementation.
1999-11-13 Miguel de Icaza <miguel@gnu.org>
* e-table-sorted.c: Implement e-table-sorted object.
1999-11-12 Miguel de Icaza <miguel@gnu.org>
* e-table-header-item.c: Make the thing configurable.
* e-table-header-item.h: Add font field, location, height.
svn path=/trunk/; revision=1388
|
|
|
|
| |
svn path=/trunk/; revision=1385
|
|
|
|
| |
svn path=/trunk/; revision=1383
|
|
|
|
| |
svn path=/trunk/; revision=1382
|
|
|
|
| |
svn path=/trunk/; revision=1378
|
|
|
|
| |
svn path=/trunk/; revision=1371
|
|
|
|
| |
svn path=/trunk/; revision=1370
|
|
|
|
|
|
| |
installation fixes for Camel.
svn path=/trunk/; revision=1369
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-11-02 Federico Mena Quintero <federico@redhat.com>
* src/print-preview.c (PreviewMode): Renamed the move modes to
MODE_MOVE and MOVE_MODE_DRAGGING.
(preview_canvas_button_press): Split the event handling code
between several functions. Rationale: we will want drag-zoom and
we need different modes for this, and the code in a single
function would get unwieldy. In addition, grab the pointer and
use GDK_POINTER_MOTION_HINT_MASK for better behavior.
(PrintPreview): Added fields for drag anchor and drag offset.
(drag_to): New function to drag/scroll.
(create_preview_canvas): Connect to the different event handlers.
(do_zoom): We do not need to re-render the page; just set the zoom
factor. Also, use exponential zooming for better behavior.
* src/cursors.h: Moved the cursor #defines to an enum. This way
we can check for a max value in cursor_get(). Moved the cursor
array to the .c file and made it private.
* src/cursors.c (cursors_init): Added sanity check so that all
cursors are defined.
(cursor_get): New function to get a cursor based on its type.
(cursors): Added hand cursors.
* src/pixmaps/cursor_hand_{open,closed}.xpm: Added hand cursors.
svn path=/trunk/; revision=1365
|
|
|
|
| |
svn path=/trunk/; revision=1364
|
|
|
|
|
|
|
|
|
|
| |
- 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.
svn path=/trunk/; revision=1321
|
|
|
|
|
|
|
|
| |
Added a load of new cursors for object moving / sizing,
Fixed sheet object sizing,
Add sheet object popup menus.
svn path=/trunk/; revision=1249
|
|
|
|
|
|
|
| |
Fixed serious bug in sheet tab editing,
New sizing algo.
svn path=/trunk/; revision=1221
|
|
|
|
| |
svn path=/trunk/; revision=1188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-05 Miguel de Icaza <miguel@gnu.org>
* src/print-preview.c (preview_canvas_event): Add an event handler
for the preview canvas.
(zoom_state): new routine, controls the toolbar widget display.
* src/cursors.c: Add new zoom in and zoom out cursors.
* src/dialogs/dialog-printer-setup.c (unit_editor_new): One line
warning fix.
* src/sheet.c (sheet_col_size_fit): Returns the size required to
render every cell completely.
* src/item-bar.c (item_bar_event): Delay column/row resizing
action until the division is actually being dragged. We need this
to catch double-clicks for auto-sizing cells.
(GDK_2BUTTON_PRESS):
1999-09-04 Jody Goldberg <jgoldberg@home.com>
svn path=/trunk/; revision=1183
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-09-03 Miguel de Icaza <miguel@gnu.org>
* src/dialogs/dialog-printer-setup.c (draw_margins): Added margin
display preview.
* src/print-preview.c (preview_zoom_out_cmd): Zoom-in, zoom-out
and move are now toggle buttons.
* src/workbook.c (italic_cmd, bold_cmd): Simplified the code some.
* src/dialogs/dialog-printer-setup.c (do_setup_page_info): Force
the icon display here.
(preview_page_create): Invert test.
(PAGE_X, PAGE_Y): They are now the same values.
(do_setup_page): Show the images here.
svn path=/trunk/; revision=1173
|
|
|
|
|
|
|
|
|
|
|
| |
- Enable cut/copy/paste for array formulas.
- Fix multi-line cell drawing & whitespace issues.
- Change the default column width & grid colour to more closely match XL
- Add the edit popup menu in the row/col headers
- Short circuit the insert/delete dialogs to directly insert/delete when
an entire row/column is selected.
svn path=/trunk/; revision=1023
|
|
|
|
| |
svn path=/trunk/; revision=937
|
|
|
|
| |
svn path=/trunk/; revision=873
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/format.c (format_value): Use 0.0########## instead. Looks saner.
1999-01-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/workbook.c (change_auto_expr_menu): Use the event->button
field to get the popup menu to behave correctly.
(workbook_setup_auto_calc): Put the information display inside a
GtkFrame.
* src/item-bar.c (set_cursor): This routine can be invoked before
we are realized.
* src/workbook.c (sheet_label_button_press): We need to do the
page flipping ourselves, as the GtkNotebook wont take events if
they are not for a window it knows about.
* src/widget-editable-label.c (el_button_press_event): Forward
events to parent.
* src/parser.y: New non-terminal "cellref". Make this
non-terminal include CELLREF and SHEETREF!CELLREF constructions.
* src/expr.c: Changed the whole module according to the dropping
of VALUE_CELLREF.
* src/expr.h: VALUE_CELLREF did not make much sense. Better add
to the ExprTree union a CellRef field specifically for OPER_VAR
nodes.
svn path=/trunk/; revision=591
|
|
|
|
| |
svn path=/trunk/; revision=416
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1998-09-29 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/cell.c (cell_draw_comment): New routine to paint a little
red triangle if the cell hsa notes.
* src/cell.c (cell_destroy): Destroy the comment.
(str_trim_spaces): New routine. Trims the spaces on a string.
(cell_draw): Trim the leading and trailing spaces on every string
of a multi-line text.
* src/color.c (color_init): Allocate a red for tagging the
spreadhseet notes.
* src/dialog-cell-format.c (format_list_fill): Apply the
traslation when adding the format.
* doc/tranlating.sgml: New document that describes how to
internationalize and localize Gnumeric properly.
* src/workbook.c (recalc_cmd): Provide a way to force a recomputation.
(insert_current_time_cmd): New function. insert the current time.
(insert_current_date_cmd): New function. insert the current date.
(insert_at_cursor): New utility function.
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Handle control-home
svn path=/trunk/; revision=414
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
svn path=/trunk/; revision=396
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1998-09-21 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/expr.c (do_expr_decode_tree): When decoding a tree, include
the argument separator. Also, loop properly trough the arguments
being decoded.
(function_call_with_values, function_def_call_with_values): New
functions: these ones are for the plugins so that a plugin can
invoke other functions in Gnumeric.
* src/fn-date.c (gnumeric_now): The serial number returned by
NOW() should be relative to 1900/1/1, not year zero.
1998-09-20 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/expr.c (eval_expr): Fix the way we computed expressions.
* src/eval.c (cell_eval): Maintain a CELL_ERROR flag to know if
the value is NULL due to an error or to the cell not being
evaluated.
* src/expr.c (funcion_call_with_values): Add a routine to allow
plugins to call other functions defined in Gnumeric.
* src/style.c: Handle the pattern property of the styles.
* src/style.h: Pattern style is now just a 4 bit quantity, instead
of a RefCounted structure.
* src/plugin.c: Include gnumeric-util.h
svn path=/trunk/; revision=390
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Autofill lists work:
Integers, Floats, Formulas and constant strings works.
Todo:
Lists of known strings and strings with numbers embedded
Miguel.
svn path=/trunk/; revision=379
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Got cursors working.
Use the cursors properly on the spreadhseet (gives good feedback
on what is going to happen).
More work on autofill.
miguel.
svn path=/trunk/; revision=377
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Color attributes in formats work (ie, you can get colored cells now);
My first -futile attempts- at getting various different cursors working on the
spreadsheet (we need a cross and various other cursors for a better emulation
of Excel).
The beginning of autofill, but I really need to see Excel live before implementing
this.
Miguel.
svn path=/trunk/; revision=376
|
|
svn path=/trunk/; revision=373
|