Commit Graph

1788 Commits

Author SHA1 Message Date
Arturo Espinosa 76fba2380e more stuff -mig
svn path=/trunk/; revision=1424
1999-11-20 03:07:14 +00:00
Arturo Espinosa c07697a023 .cvsignore
svn path=/trunk/; revision=1423
1999-11-19 08:35:29 +00:00
Arturo Espinosa 5a2fcbd0a4 New files -mig
svn path=/trunk/; revision=1422
1999-11-19 08:35:05 +00:00
Arturo Espinosa 8940a14544 Finish implementing e-table-sorted -mig
svn path=/trunk/; revision=1421
1999-11-19 08:34:47 +00:00
Arturo Espinosa 794f39a5d6 More work -mig
svn path=/trunk/; revision=1420
1999-11-19 08:18:48 +00:00
Arturo Espinosa da4c37043e New E-table-item.[ch] -mig
svn path=/trunk/; revision=1419
1999-11-19 05:34:23 +00:00
Arturo Espinosa fa93d70ade Add another
svn path=/trunk/; revision=1399
1999-11-17 18:51:45 +00:00
Arturo Espinosa c9419cb6a5 missing files
svn path=/trunk/; revision=1398
1999-11-17 18:42:18 +00:00
Ettore Perazzoli 9663037f6c More work:
- Fixed some Camel API naming issues.
- Moved the message composer stuff to the `composer' directory.

svn path=/trunk/; revision=1395
1999-11-17 15:35:43 +00:00
Elliot Lee d55f76a601 s/\.a/.la/
s/\.a/.la/

svn path=/trunk/; revision=1389
1999-11-16 19:06:47 +00:00
Miguel de Icaza 5ba51e992d Add resizing capabilities.
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
1999-11-15 20:59:29 +00:00
Ettore Perazzoli a68a98a294 Added tooltips to the header area.
svn path=/trunk/; revision=1385
1999-11-13 00:43:32 +00:00
Arturo Espinosa 43fd06f8ec More table work
svn path=/trunk/; revision=1383
1999-11-12 08:41:20 +00:00
Ettore Perazzoli 15b4b77c8a Some message composer improvements.
svn path=/trunk/; revision=1382
1999-11-12 03:15:30 +00:00
Arturo Espinosa afbee2366a Stuff
svn path=/trunk/; revision=1378
1999-11-10 07:31:21 +00:00
Ettore Perazzoli 643a3d0171 Added cut/copy/paste support to the address editing dialog.
svn path=/trunk/; revision=1371
1999-11-08 20:48:32 +00:00
Ettore Perazzoli 0c3101c24a Some initial work on the dialog for entering addresses from the address book.
svn path=/trunk/; revision=1370
1999-11-06 21:10:09 +00:00
Ettore Perazzoli b681ec2b9a Here is my initial Evolution work: message composition widget and some
installation fixes for Camel.

svn path=/trunk/; revision=1369
1999-11-05 23:06:09 +00:00
Federico Mena Quintero 510e8547bb Renamed the move modes to MODE_MOVE and MOVE_MODE_DRAGGING.
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
1999-11-02 21:48:52 +00:00
Arturo Espinosa c5e2fd8592 Added my widgets stuff -miguel
svn path=/trunk/; revision=1364
1999-11-01 20:35:26 +00:00
Jody Goldberg 182bac9d13 - Move some math functions from utils to mathfuncs.
- 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
1999-10-08 13:38:27 +00:00
Michael Meeks 710c7909d8 Fiddled with object creation,
Added a load of new cursors for object moving / sizing,
Fixed sheet object sizing,
Add sheet object popup menus.

svn path=/trunk/; revision=1249
1999-09-21 21:36:14 +00:00
Michael Meeks ffa1277638 Cosmetic widget update when loading lots of files,
Fixed serious bug in sheet tab editing,
New sizing algo.

svn path=/trunk/; revision=1221
1999-09-10 20:11:36 +00:00
Arturo Espinosa fe269dcef3 Commit missing files
svn path=/trunk/; revision=1188
1999-09-06 22:09:26 +00:00
Miguel de Icaza c17952163c Add an event handler for the preview canvas. (zoom_state): new routine,
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-06 03:05:38 +00:00
Miguel de Icaza 99af67a6ca Added margin display preview.
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
1999-09-03 07:26:43 +00:00
Jody Goldberg 68f3afb7a2 - Disable insert/delete row/column that would split an array-formula
- 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
1999-07-11 13:42:32 +00:00
Morten Welinder 3be2b5f40a Reworked the insert/delete column/row code again. Beat on it, please!
svn path=/trunk/; revision=937
1999-05-21 19:12:01 +00:00
Arturo Espinosa 399f0e77bc Wide use of const in gnumeric now, thanks to Morten Welinder
svn path=/trunk/; revision=873
1999-04-24 07:34:52 +00:00
Miguel de Icaza 3e1e7873f1 Use 0.0########## instead. Looks saner.
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
1999-01-11 04:35:55 +00:00
Arturo Espinosa 63d572bcbc Made all of the header inclussion conditionals consistent
svn path=/trunk/; revision=416
1998-09-30 19:08:39 +00:00
Miguel de Icaza 9e927267cd New routine to paint a little red triangle if the cell hsa notes.
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
1998-09-30 05:51:35 +00:00
Miguel de Icaza 8089200cb5 New:
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-24 02:45:43 +00:00
Miguel de Icaza f6fd83536e When decoding a tree, include the argument separator. Also, loop properly
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
1998-09-21 05:18:05 +00:00
Arturo Espinosa 8d5c52e66b Autofill lists work:
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
1998-09-16 08:22:56 +00:00
Arturo Espinosa 70fa0cb326 Got cursors working.
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
1998-09-15 04:19:56 +00:00
Arturo Espinosa 95099ae101 Color attributes in formats work (ie, you can get colored cells now);
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
1998-09-14 04:50:58 +00:00
Arturo Espinosa 5716777409 Color implemtnation
svn path=/trunk/; revision=373
1998-09-12 00:32:51 +00:00