1. 23 Jul, 1998 1 commit
  2. 22 Jul, 1998 1 commit
    • Miguel de Icaza's avatar
      Numbers are parsed correctly. Bits of Oleo number parsing plugged in. · ef28d5f2
      Miguel de Icaza authored
      1998-07-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/parser.y (yylex): Numbers are parsed correctly.  Bits of
      	Oleo number parsing plugged in.
      
      	* src/util.c, src/util.h: New files with assorted number utilities.
      
      	* src/numbers.h: New file: takes care of using gmp or regular
      	double/int.
      
      	* src/expr.c (eval_release_node): Implement.
      	(eval_release_value): New function.
      
      	* src/sheet.c (sheet_col_selection_changed,
      	sheet_row_selection_changed): Implement.
      	(sheet_selection_clear, sheet_selection_clear_only): Splitted
      	functionality into two routines.
      	(sheet_selection_clear_only): Remove any marks from the bars.
      	(sheet_row_set_selection, sheet_col_set_selection): Implement.
      
      	* src/item-bar.c (is_pointer_on_division): Return the column
      	changed.
      
      	* src/item-grid.c (item_grid_draw_cell): Fix the computation for
      	right indentation.
      ef28d5f2
  3. 21 Jul, 1998 1 commit
    • Arturo Espinosa's avatar
      Weee! I realized that columns were not rows and rows were not columns. · c81d44ec
      Arturo Espinosa authored
      
      
      Weee!  I realized that columns were not rows and rows were not
      columns.  Cell storage manager works now.
      
      Now I also keep a hash table with the cell contents just for the
      lookup portion of the code.
      
      Also the code for displaying various alignements is there give
      or take a couple of off-by-ones clipping rectangles (the code
      right now has hardcoded styles so different columns have different
      alignment styles, just in case someone tested this).
      
      Miguel.
      c81d44ec
  4. 20 Jul, 1998 1 commit
  5. 19 Jul, 1998 1 commit
  6. 18 Jul, 1998 1 commit
  7. 17 Jul, 1998 1 commit
  8. 16 Jul, 1998 1 commit
    • Arturo Espinosa's avatar
      Today: 1. First pass at selections (multiple selections are allowed). 2. · 9b935b6c
      Arturo Espinosa authored
      
      
      Today:
      	1. First pass at selections (multiple selections are allowed).
      	2. Cursor selection works.  Do not try to drag outside the
      	   window though, there is a little bug to be fixed and it will
      	   keep a pointer grab.
      	3. Started to add destructors all over the place, better to
      	   keep an eye on those memory leaks since the beginning.
      
      Miguel.
      9b935b6c
  9. 14 Jul, 1998 1 commit
  10. 12 Jul, 1998 1 commit
  11. 11 Jul, 1998 2 commits
    • Arturo Espinosa's avatar
      Lots of stuff. · 02fbd7f8
      Arturo Espinosa authored
      
      
      Lots of stuff.
      
      Mouse resizing columns and rows is fully working.  Other random
      internal goodies, the engine is nicer, the code is nicer, the stuff is
      starting to make sense, etc.
      
      It is nice to `see' what it does right now.
      
      Miguel.
      02fbd7f8
    • Miguel de Icaza's avatar
      New file. Implement the style manager for the spreadsheet. · 3cad2420
      Miguel de Icaza authored
      1998-07-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/style.c: New file.  Implement the style manager for the
      	spreadsheet.
      3cad2420
  12. 09 Jul, 1998 2 commits
    • Miguel de Icaza's avatar
      Dropped the ColInfo and RowInfo structures, they are now unified into a · 491136d7
      Miguel de Icaza authored
      1998-07-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/*: Dropped the ColInfo and RowInfo structures, they are now
      	unified into a single ColRowInfo structure, they were really the
      	same thing.  Thanks to Federico for the suggestion.
      491136d7
    • Arturo Espinosa's avatar
      Total excitement! (take two, as the previous ChangeLog message was · 2d356b1d
      Arturo Espinosa authored
      
      
      Total excitement! (take two, as the previous ChangeLog message was
      discarded because someone commited before me).
      
      Cool stuff today: we got the columns and rows displayed, with nice
      cursor change working; New canvas paint item strategy works very
      nicely (much better than the previous stuff); got a region-cursor
      working with various of selection modes (still have to figure out how
      to draw selected stuff though); basic cursor movement works for now;
      sample demo of the toy is included.
      
      Miguel.
      2d356b1d
  13. 08 Jul, 1998 1 commit
    • Arturo Espinosa's avatar
      Ok, the fact that life sucks manifests itself in various ways. · da196d41
      Arturo Espinosa authored
      
      
      Ok, the fact that life sucks manifests itself in various ways.
      
      First of all GDK_INVERT and GDK_XOR gc functions do not do
      what you want them to do, but what they are supposed to do, so
      my cursor instead of being a nice black and firm box, is just
      a pinkie thingie on my Indy.
      
      Second, I got all of the grid draw logic wrong.  That is not
      the way Excel does it, so tomorrow, I rewrite it.
      
      Miguel.
      da196d41
  14. 07 Jul, 1998 1 commit
  15. 06 Jul, 1998 1 commit
  16. 02 Jul, 1998 1 commit