1. 02 Aug, 2011 1 commit
  2. 27 Jul, 2011 1 commit
  3. 28 Jul, 2010 2 commits
  4. 18 Nov, 2009 1 commit
  5. 02 Sep, 2009 2 commits
  6. 30 Aug, 2009 1 commit
  7. 25 Aug, 2009 1 commit
  8. 27 Oct, 2007 1 commit
  9. 08 Sep, 2007 1 commit
  10. 17 May, 2007 1 commit
    • Andreas J. Guelzow 's avatar
      new (GsfXMLInNode): hook up xml_sax_print_grid even for · e677fc57
      Andreas J. Guelzow authored
      2007-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      * xml-sax-read.c (xml_sax_print_grid): new
      (GsfXMLInNode): hook up xml_sax_print_grid
      * style-border.c (style_border_set_gtk_dash): even for 
        GNM_STYLE_BORDER_NONE (gridline only) do we need to set the 
        line width.
      
      2007-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      * print.glade: show gridline checkbox
      
      
      svn path=/trunk/; revision=15568
      e677fc57
  11. 29 Mar, 2007 1 commit
  12. 23 Mar, 2007 1 commit
  13. 22 Mar, 2007 1 commit
  14. 11 Nov, 2006 1 commit
  15. 08 Nov, 2006 1 commit
  16. 24 Oct, 2006 1 commit
  17. 14 Oct, 2006 1 commit
  18. 08 Oct, 2005 1 commit
  19. 08 Aug, 2005 1 commit
  20. 26 Jun, 2005 1 commit
    • Jody Goldberg's avatar
      new. (xml_sax_input_msg) : new. · e406c13c
      Jody Goldberg authored
      
      2005-06-25  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-sax-read.c (xml_sax_hlink) : new.
      	(xml_sax_input_msg) : new.
      
      2005-06-22  Jody Goldberg <jody@gnome.org>
      
      	* src/Makefile.am : enable pango-test
      
      2005-06-22  Jody Goldberg <jody@gnome.org>
      
      	* * : s/MStyle/GnmStyle/
      	      s/mstyle_/gnm_style_/
      	      s/StyleHAlignFlags/GnmHAlign/
      	      s/StyleVAlignFlags/GnmVAlign/
      e406c13c
  21. 25 Mar, 2005 1 commit
  22. 08 Feb, 2005 1 commit
  23. 21 Jan, 2005 1 commit
    • Jody Goldberg's avatar
      Dump in the RTL code that has been simmering waiting for a branch · 8a4efb4d
      Jody Goldberg authored
      
      Dump in the RTL code that has been simmering waiting for a branch
      
      2005-01-20  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_sheet_write) : store the rtl flag
      	(xml_sheet_read) : read the rtl flag
      
      	* src/workbook-control-gui.c (cb_notebook_switch_page) : set the
      	  direction on page change
      	(show_gui) : setting it here too.
      	(set_dir) : new.
      	(wbcg_set_direction) : new
      
      	* src/wbcg-actions.c (cb_direction) : A quick and simple direction
      	  setting action.  We need a better icon, and improved state.
      
      	* src/style-border.c (style_border_hmargins) : lots of finicky
      	  -1*offset style changes for rtl.
      
      	* src/sheet.c (gnm_sheet_class_init) : Add some as yet unused get/set
      	  property routines.
      	(gnm_sheet_init) : new to init the direction based on the locale.  Use
      	  a gtk routine for now.  There's a bug open to have that moved to
      	  glib.
      	(sheet_set_direction) : new.
      
      	* src/sheet-view.c (sv_init_sc) : init the direction.
      	(sv_direction_changed) : new.
      
      	* src/sheet-object-cell-comment.c (comment_view_set_bounds) : fold the
      	  old comment_get_points into here and invert things in RTL mode.
      
      	* src/sheet-control-gui.c (scg_redraw_headers) : col coordinates are
      	  negative for rtl mode.
      	(scg_resize) : rework for rtl
      	(scg_set_zoom_factor) : ditto.
      	(bar_set_left_col) : ditto.
      	(bar_set_top_row) : ditto.
      	(gnm_canvas_set_top_left) : ditto.
      	(calc_obj_place) : ditto.  Clarify which coordinate system we're in.
      	(scg_direction_changed) : new virtual.
      	(scg_scale_changed) :  renamed from scg_set_zoom_factor.
      
      	* src/print.c (print_sheet_objects) : handle rtl. (needs testing)
      	(print_page_cells) : simple rtl handling
      
      	* src/mstyle.c : Add a text_dir element that defaults to CONTEXT right
      	  now.  This is unused until it is better understood, but it is read
      	  and written from xls.  We need to add xml support.
      
      	* src/item-grid.c (item_grid_draw_merged_range) : handle rtl
      	(item_grid_draw) : ditto.
      	* src/print-cell.c (print_merged_range) : ditto
      	(print_cell_range) : ditto.
      
      	* src/item-edit.c (ie_layout) : swap directions in RTL mode.  We still
      	  need more work here to honour the alignment better while editing.
      
      	* src/item-cursor.c
      	(item_cursor_request_redraw) : delete, we can use foo_canvas_item_request_redraw
      	(item_cursor_update) : handle rtl
      	(item_cursor_draw) : ditto
      	(item_cursor_bound_set) : add some safety to avoid drawing before the
      	  position is set, or if it is set to something invalid
      
      	* src/item-bar.c (item_bar_draw) : major rework to handle RTL mode.
      	  - swap the the direction for the cells and the outlines
      	(is_pointer_on_division) : handle rtl and clarify which coordinate
      	  system the various inputs and results use.
      	(ib_set_cursor) : simplify
      	(outline_button_press) : RTL flips some coordinates.
      	(item_bar_event) : ditto
      
      	* src/gnumeric-simple-canvas.c (gnm_simple_canvas_x_w2c) : doh! handle
      	  zoom
      
      	* src/gnumeric-pane.c (gnumeric_pane_header_init) : handle rtl
      	(gnm_pane_init) : ditto.
      	(gnm_pane_colrow_resize_start) : ditto.
      	(gnm_pane_colrow_resize_move) : ditto.
      	(cb_slide_handler) : ditto.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Swap the
      	  direction of arrow keys in rtl mode.
      	(gnm_canvas_key_mode_object) : ditto
      	(gnm_canvas_size_allocate) : always recompute visible range.  In RTL
      	  mode we want to have things aligned on the left edge whose coord
      	  moves.
      	(gnm_canvas_find_col) : handle the rtl negation of world coords
      	(gnm_canvas_redraw_range) : ditto
      	(gcanvas_sliding_callback) : ditto.
      	(gnm_canvas_handle_motion) : ditto.
      	  NOTE : work around a bug in gtk's use of X.  When dragging past the
      	  right edge of the sheet in rtl mode we are operating at the edge of
      	  a 32k wide window and the event coords get larger than can be held
      	  in a signed short.  As a result we get world coords of -65535 or so.
      	  KLUDGE KLUDGE KLUDGE
      	    with our current limit of 256 columns it is unlikely that we'll
      	    hit -65535 (at appropriate zoom) as a valid coord (it would
      	    require all cols to be 256 pixels wide.  it is not impossible, but
      	    at least unlikely.  So we put in a kludge here to catch the screw
      	    up and remap it.   This is not pretty,  at large zooms this is not
      	    far fetched.
      	(gnm_canvas_compute_visible_region) : things are more complicated for
      	  rtl mode.
      
      	* src/commands.c : Add undo for the rtl vs ltr mode
      
      	* src/cellspan.c (cell_calc_span) : in rtl mode swap the meaning of
      	  horizontal alignment.
      
      	* src/GNOME_Gnumeric-gtk.xml.in : Add the rtl toggle action
      
      2004-12-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_WINDOW2) : export sheet level rtl
      	  setting (we could move it to SheetView)
      	(build_xf_data) : store the text dir.
      	(excel_write_XF) : write it.
      
      	* ms-excel-read.c (excel_read_WINDOW2) : read sheet level rtl flag
      	(excel_read_XF) : read the text dir.
      	(excel_get_style_from_xf) : store the text dir.
      
      2005-01-20  Jody Goldberg <jody@gnome.org>
      
      	* dialog-sheet-order.c : Support a toggle for rtl
      8a4efb4d
  24. 13 Jan, 2005 1 commit
    • Jody Goldberg's avatar
      http://bugzilla.gnome.org/show_bug.cgi?id=163223 take a layout directly. · 6e94ce2c
      Jody Goldberg authored
      
      2005-01-12  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=163223
      	* src/style.c (style_font_string_width) : take a layout directly.
      	(calc_font_width) : ditto.
      	(style_font_new_simple) : keep the PangoFontMetrics and PangoLayout
      	  here rather than as data members with no real purpose.  It should
      	  make it easier to remove the scaling in here.
      	NOTE : remove the prescaling of the font size.  It did not belong
      	  here.  We use a scale attribute while measuring.  Eventually we can
      	  split the calculation of metrics out and remove the ugly scale/zoom
      	  param entirely.
      	(style_font_unref) : we got rid of some data members.
      
      	* src/style-font.h : A new header to make cleaning up the definition
      	  of GnmFont easier.
      
      	* src/mstyle.c (mstyle_get_pango_attrs) : Add a scale attribute
      	  wrapper to scale all of the font sizes
      
      2005-01-12  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=163198
      	* src/item-edit.c (get_top_left) : new function to get the top left
      	  point based on the vertical alignment.
      	(item_edit_draw) : the code was taken from here.
      	(item_edit_event) : and used here to give pango_layout_xy_to_index a
      	  reasonable coordinate.
      6e94ce2c
  25. 09 Jun, 2004 1 commit
  26. 02 Apr, 2004 2 commits
    • Jody Goldberg's avatar
      sync with the printing code to not draw into the center of bordering · a5301ba2
      Jody Goldberg authored
      
      2004-04-01  Jody Goldberg <jody@gnome.org>
      
      	* src/style-border.c (style_border_draw_diag) : sync with the printing
      	  code to not draw into the center of bordering double borders
      a5301ba2
    • Jody Goldberg's avatar
      basic cursor position support. · ac0f5d64
      Jody Goldberg authored
      
      2004-04-01  Jody Goldberg <jody@gnome.org>
      
      	* src/item-edit.c (item_edit_event) : basic cursor position support.
      
      	* src/print-cell.c (print_cell_background) : draw diagonals.
      	* src/style-border.c (style_border_print_diag) : fill in.  Where did
      	  this code go ?  I could have sworn I implemented this years ago.
      ac0f5d64
  27. 12 Nov, 2003 2 commits
  28. 06 Jun, 2003 1 commit
    • Morten Welinder's avatar
      Work around a missing const in gdk. (*_line, *_pattern): constify. · 06028430
      Morten Welinder authored
      2003-06-06  Morten Welinder  <terra@gnome.org>
      
      	* src/style-border.c (style_border_set_gc_dash): Work around a
      	missing const in gdk.
      	(*_line, *_pattern): constify.
      
      	* src/style-color.c (gnumeric_color_shutdown): Unref
      	black/white/grid colors.  Print leaks.
      
      	* src/format.c (format_destroy): Make static.
      06028430
  29. 30 May, 2003 1 commit
  30. 24 May, 2003 1 commit
    • Morten Welinder's avatar
      Fix ref count error. · 38f799d7
      Morten Welinder authored
      2003-05-23  Morten Welinder  <terra@gnome.org>
      
      	* src/style-border.c (style_border_get_gc): Fix ref count error.
      38f799d7
  31. 21 May, 2003 1 commit
    • Morten Welinder's avatar
      Add gc_screen field to track the screen that gc belongs to. · 67793b6e
      Morten Welinder authored
      2003-05-21  Morten Welinder  <terra@gnome.org>
      
      	* src/style-border.h (struct _StyleBorder): Add gc_screen field to
      	track the screen that gc belongs to.
      
      	* src/style-border.c (style_border_get_gc): Manage gc_screen.
      	(style_border_unref): Ditto.
      
      	* src/workbook-control-gui.c (workbook_create_standard_toolbar):
      	Get pango context from toplevel widget.
      
      	* src/preview-grid.c (preview_grid_draw): Get pango context from
      	widget and pass it to pg_construct_cell.
      	(pg_construct_cell): Remove bogus context construction from here.
      67793b6e
  32. 20 May, 2003 4 commits
    • Morten Welinder's avatar
      Set the background colour as previosly, not the foreground. Ugh. · 248bc583
      Morten Welinder authored
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* src/style-border.c (style_border_set_gc_dash): Set the
      	background colour as previosly, not the foreground.  Ugh.
      248bc583
    • Morten Welinder's avatar
      Add FIXME. · 56adb8e8
      Morten Welinder authored
      56adb8e8
    • Morten Welinder's avatar
      Use gdk_gc_set_rgb_fg_color, not gdk_gc_set_foreground. USe · 63ac38ac
      Morten Welinder authored
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* src/style-border.c (style_border_set_gc_dash): Use
      	gdk_gc_set_rgb_fg_color, not gdk_gc_set_foreground.  USe
      	gdk_gc_set_rgb_bg_color, not gdk_gc_set_background.
      	(style_border_none_set_color): Ditto.
      	(style_border_get_gc): Ditto.
      
      	* src/item-grid.c (item_grid_realize): Ditto.
      	* src/item-cursor.c (item_cursor_draw): Ditto.
      	* src/pattern.c (gnumeric_background_set_pc): Ditto.  (#if 0'ed.)
      	(gnumeric_background_set_gc): Ditto, more or less.
      
      	* src/preview-grid.c (preview_grid_realize): Plug "white" out of
      	the style.  Use gdk_gc_set_rgb_fg_color, not
      	gdk_gc_set_foreground.
      
      	* src/gnumeric-canvas.c (gnm_canvas_realize): Plug "white" out of
      	the style.
      
      	* src/style-color.c (gnumeric_color_init): Make gs_yellow,
      	gs_white, gs_black, gs_dark_gray, gs_light_gray, and gs_lavender
      	unallocated colours.  Eliminate unused gs_red.
      
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* dialog-cell-format.c (cb_rotate_canvas_realize): Plug "white"
      	out of the style.
      	(setup_color_pickers): Plug "black" out of the style.
      	(fmt_dialog_impl): Ditto.
      63ac38ac
    • Morten Welinder's avatar
      Remove redundant red, green, and blue members. All users changed to use · 7df20524
      Morten Welinder authored
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* src/style-color.h (struct _StyleColor): Remove redundant red,
      	green, and blue members.  All users changed to use color member.
      
      	* src/style-color.c (color_hash): Improve hash function (as if it
      	mattered).
      
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* ms-excel-read.c: Adapt to StyleColor changes.
      	* ms-excel-write.c: Adapt to StyleColor changes.
      
      2003-05-20  Morten Welinder  <terra@gnome.org>
      
      	* html.c: Adapt to StyleColor changes.
      7df20524
  33. 05 Apr, 2003 1 commit