Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adapt GnomeCanvas to latest gtk+-3.0 API. | Matthew Barnes | 2011-06-30 | 8 | -236/+213 |
| | |||||
* | Drop backward-compatibility cruft. | Matthew Barnes | 2011-06-30 | 4 | -12/+0 |
| | |||||
* | Remove some unused gnome-canvas options. | Matthew Barnes | 2011-06-30 | 5 | -216/+34 |
| | | | | | | | | | | | | | Simplifies the drawing code a bit. Public API removed: GnomeCanvas.center_scroll_region (is always TRUE) GnomeCanvas.pixels_per_unit (is always 1.0) gnome_canvas_set_center_scroll_region() gnome_canvas_get_center_scroll_region() gnome_canvas_set_pixels_per_unit() | ||||
* | Fudge GtkScrollable for gtk2. | Matthew Barnes | 2011-06-30 | 2 | -38/+39 |
| | | | | | | Yes, the GtkScrollable interface is implemented by more than just GtkLayout, but it turns out GtkLayout is the only thing Evolution uses the GtkScrollable API for on the gtk3 branch. | ||||
* | Bug #633774 - Headers are gone in grouped view | Vibha Yadav | 2010-11-16 | 1 | -1/+1 |
| | |||||
* | Coding style and whitespace cleanup. | Matthew Barnes | 2010-11-10 | 5 | -10/+9 |
| | |||||
* | Add forgotten cairo_destroy() calls | Milan Crha | 2010-11-10 | 1 | -1/+3 |
| | |||||
* | Revert my previous revert for GnomeCanvasShape. | Matthew Barnes | 2010-10-30 | 1 | -4/+1 |
| | | | | | | This reverts commit 0faef9453c27a1a65ac15bfa65925056e5dd551d. Turns out it broke ETable/ETree pretty badly. | ||||
* | Fix gnome_canvas_rect_draw(). | Matthew Barnes | 2010-10-30 | 1 | -2/+2 |
| | | | | Need to subtract the pixmap offset from the rectangle's coordinates. | ||||
* | Merge GnomeCanvasShape into GnomeCanvasRect. | Matthew Barnes | 2010-10-30 | 6 | -898/+669 |
| | | | | | GnomeCanvasRect is the only subclass of GnomeCanvasShape, and passing Cairo paths around doesn't seem to work well. | ||||
* | Fix typo in gnome_canvas_shape_update(). | Matthew Barnes | 2010-10-30 | 1 | -1/+1 |
| | |||||
* | Revert "gnome-canvas: Fix bounding box calculation in GnomeCanvasShape" | Matthew Barnes | 2010-10-30 | 1 | -1/+4 |
| | | | | | | | This reverts commit ecd07f3f735debf9bad03543394f3db0f0714b8a. Actually you do want world coordinates, but the typo fixed in the next commit was probably causing strange and confusing behavior. | ||||
* | GnomeCanvasShape: Make color string parsing more robust | Matthew Barnes | 2010-10-30 | 1 | -4/+17 |
| | |||||
* | Fix matrix in gnome_canvas_shape_draw(). | Matthew Barnes | 2010-10-30 | 1 | -2/+0 |
| | | | | The path is in item coordinates, so we need an "i2c" matrix, not "c2i". | ||||
* | Fix typos in gnome_canvas_shape_bounds(). | Matthew Barnes | 2010-10-30 | 1 | -2/+2 |
| | |||||
* | Rename GnomeCanvasItem.destroy() to dispose(). | Matthew Barnes | 2010-10-30 | 6 | -52/+52 |
| | | | | | To clarify the semantics: the method may be called multiple times so pointers should be set to NULL after freeing or unreferencing. | ||||
* | Fix gnome_canvas_item_w2i_matrix(). | Matthew Barnes | 2010-10-30 | 1 | -6/+5 |
| | | | | Was returning an inverted matrix: i2w instead of w2i. | ||||
* | Actually set the path in gnome_canvas_shape_set_path(). | Matthew Barnes | 2010-10-30 | 1 | -0/+2 |
| | |||||
* | Adapt branch for building with GTK+ 2.22. | Matthew Barnes | 2010-10-30 | 2 | -2/+5 |
| | |||||
* | gnome-canvas: Remove functions that allocate colors | Benjamin Otte | 2010-10-30 | 2 | -79/+0 |
| | | | | | | Cairo doesn't need allocated colors. Yay, gnome-canvas now compiles with GDK_DISABLE_DEPRECATED. | ||||
* | gnome-canvas: Use gdk_parse_color() in GnomeCanvasShape | Benjamin Otte | 2010-10-30 | 1 | -2/+4 |
| | | | | We don't want to allocate colors anymore. It's not needed with cairo. | ||||
* | gnome-canvas: Port drawing to use cairo | Benjamin Otte | 2010-10-30 | 2 | -29/+14 |
| | |||||
* | gnome-canvas: Remove gnome_canvas_set_stipple_origin() | Benjamin Otte | 2010-10-30 | 2 | -24/+0 |
| | |||||
* | gnome-canvas: Port GnomeCanvasText to use cairo | Benjamin Otte | 2010-10-30 | 2 | -118/+29 |
| | |||||
* | gnome-canvas: Simplify updating code | Benjamin Otte | 2010-10-30 | 2 | -326/+34 |
| | | | | | Instead of keeping oour own invalid area, trust GDK to do the right thing. | ||||
* | gnome-canvas: Fix bounding box calculation in GnomeCanvasShape | Benjamin Otte | 2010-10-30 | 1 | -4/+1 |
| | | | | | | | The code converted the bbox to world coordinates, not to canvas coordinates. xxx: shape | ||||
* | gnome-canvas: Remove render_dirty variable | Benjamin Otte | 2010-10-30 | 2 | -33/+0 |
| | | | | It's unused. Also remove the private struct, as it's now empty. | ||||
* | gnome-canvas: Remove pangoft2 requirement | Benjamin Otte | 2010-10-30 | 1 | -6/+0 |
| | | | | | It's not really necessary to pull in libs for an unused variable, now is it? | ||||
* | gnome-canvas: Remove gnome_canvas_w2c_affine() | Benjamin Otte | 2010-10-30 | 2 | -28/+0 |
| | | | | It's not necessary anymore. Use gnome_canvas_w2c_matrix() instead. | ||||
* | gnome-canvas: Convert point tranformation functions to use cairo | Benjamin Otte | 2010-10-30 | 1 | -25/+21 |
| | |||||
* | gnome-canvas: Remove gnome_canvas_update_now() | Benjamin Otte | 2010-10-30 | 2 | -29/+0 |
| | | | | | 1) Don't ever force an update 2) There's GTK API to force an update if you need to. Use that. | ||||
* | gnome-canvas: Convert canvas item transformation matrix to cairo | Benjamin Otte | 2010-10-30 | 8 | -378/+99 |
| | | | | | Also update the GnomeCanvasItem.update vfunc to take a cairo_matrix_t and no longer pass the clip_path (what was it used for anyway?). | ||||
* | gnome-canvas: Simplify GnomeCanvasPixbuf | Benjamin Otte | 2010-10-30 | 1 | -503/+37 |
| | | | | | | Get rid of all the layout properties. They are unused, and if they are needed should be done in a separate object. Also do the drawing with Cairo. | ||||
* | gnome-canvas: Update GnomeCanvasPixbuf for gobject niceties | Benjamin Otte | 2010-10-30 | 2 | -68/+29 |
| | | | | G_DEFINE_TYPE and private data, here we come! | ||||
* | gnome-canvas: Fix refcounting for GnomeCanvasPixbuf | Benjamin Otte | 2010-10-30 | 1 | -21/+3 |
| | |||||
* | gnome-canvas: Remove unused flags from GnomeCanvasPixbuf | Benjamin Otte | 2010-10-30 | 1 | -19/+0 |
| | |||||
* | gnome-canvas: Update GailCanvasItem visibility code to cairo APIs | Benjamin Otte | 2010-10-30 | 1 | -139/+32 |
| | |||||
* | gnome-canvas: Split out matrix_transform_rect code | Benjamin Otte | 2010-10-30 | 3 | -44/+58 |
| | |||||
* | gnome-canvas: Remove now-unused functions | Benjamin Otte | 2010-10-30 | 2 | -546/+0 |
| | |||||
* | gnome-canvas: Remove GnomeCanvasPathDef | Benjamin Otte | 2010-10-30 | 4 | -1392/+0 |
| | | | | It's not needed anymore as it has practically been replaced by cairo_path_t. | ||||
* | gnome-canvas: Rewrite GnomeCanvasShape to use Cairo | Benjamin Otte | 2010-10-30 | 7 | -986/+293 |
| | | | | | Dashing properties were commented out in the process. They are not used inside Evolution. | ||||
* | gnome-canvas: Change line-width handling of GnomeCanvasShape | Benjamin Otte | 2010-10-30 | 2 | -55/+18 |
| | | | | | | | | Remove "width-pixels" property and replace the "width-units" property name with "line-width". Also adapt the code to use "line-width". It didn't really matter which property was used, because the views weren't scaled. | ||||
* | gnome-canvas: Make GnomeCanvasShape use modern gobject-fu | Benjamin Otte | 2010-10-30 | 1 | -51/+20 |
| | | | | We have privates and G_DEFINE_TYPE() these days. | ||||
* | gnome-canvas: Get rid of libart usage in the text items | Benjamin Otte | 2010-10-30 | 2 | -20/+12 |
| | |||||
* | gnome-canvas: Remove GnomeCanvasClipGroup | Benjamin Otte | 2010-10-30 | 4 | -336/+0 |
| | |||||
* | gnome-canvas: gnome-canvas-rect-ellipse.[ch] => gnome-canvas-rect.[ch] | Benjamin Otte | 2010-10-30 | 4 | -4/+4 |
| | | | | Rename to reflect change of scope | ||||
* | gnome-canvas: Get rid of GnomeCanvasRE object | Benjamin Otte | 2010-10-30 | 2 | -160/+71 |
| | | | | No more ellipses, no more need for 2 classes. | ||||
* | gnome-canvas: Remove GnomeCanvasItemEllipse | Benjamin Otte | 2010-10-30 | 2 | -142/+0 |
| | | | | unused. | ||||
* | gnome-canvas: Remove GnomeCanvasPoints | Benjamin Otte | 2010-10-30 | 5 | -135/+1 |
| | | | | It's unused by now. | ||||
* | gnome-canvas: Remove GnomeCanvasLine | Benjamin Otte | 2010-10-30 | 6 | -1337/+24 |
| | | | | It's unused and has an ugly API. We can redo it later if we need it. | ||||
* | gnome-canvas: Remove GnomeCanvasPolygon | Benjamin Otte | 2010-10-30 | 4 | -323/+0 |
| | | | | It's unused and has an ugly API. We can redo it later if we need it. | ||||
* | gnome-canvas: Change GnomeCanvasItem->point vfunc | Benjamin Otte | 2010-10-30 | 8 | -190/+74 |
| | | | | | | | | Previously the function returned the distance to the nearest item. Now it only returns an item that is hit. This slightly changes semantics (button events are no longer dispatched to the nearest item, but only to the item actually clicked on), but makes the code way simpler and actually does what one would expect. | ||||
* | gnome-canvas: Remove CanvasItem->coverage vfunc declaration | Benjamin Otte | 2010-10-30 | 1 | -3/+0 |
| | | | | It's unused. | ||||
* | gnome-canvas: Remove close_enough member | Benjamin Otte | 2010-10-30 | 2 | -13/+3 |
| | | | | It's never set, so just replace it with its default value 0 everywhere. | ||||
* | gnome-canvas: Remove GnomeCanvasBpath item | Benjamin Otte | 2010-10-30 | 4 | -222/+0 |
| | | | | It's unused. | ||||
* | gnome-canvas: Port GnomeCanvasLine to use Cairo for drawing | Benjamin Otte | 2010-10-30 | 4 | -138/+100 |
| | |||||
* | gnome-canvas: Remove stipple properties from GnomeCanvasShape | Benjamin Otte | 2010-10-30 | 4 | -91/+0 |
| | |||||
* | gnome-canvas: Remove stipple properties from GnomeCanvasText | Benjamin Otte | 2010-10-30 | 2 | -45/+0 |
| | |||||
* | gnome-canvas: Remove stipple properties from GnomeCanvasLine | Benjamin Otte | 2010-10-30 | 2 | -47/+0 |
| | |||||
* | gnome-canvas: Remove GnomeCanvasBuf | Benjamin Otte | 2010-10-30 | 3 | -113/+0 |
| | | | | It's not used anymore. | ||||
* | gnome-canvas: Remove GnomeCanvasItem->render vfunc | Benjamin Otte | 2010-10-30 | 9 | -519/+0 |
| | | | | It's unused now | ||||
* | gnome-canvas: Remove aa code | Benjamin Otte | 2010-10-30 | 6 | -368/+65 |
| | | | | The anti-aliased code was never used, so remove it. | ||||
* | Drop usage of GtkAnchorType. | Matthew Barnes | 2010-10-27 | 6 | -374/+7 |
| | | | | gtk+-3.0 removed it for being "unused". | ||||
* | Bug #631870 - Memory leak in e_week_view after GtkObject removal | Milan Crha | 2010-10-25 | 1 | -1/+1 |
| | |||||
* | Remove EVO_MARSHAL_RULE. | Matthew Barnes | 2010-10-23 | 1 | -2/+3 |
| | | | | Use glib-gen.mak instead. | ||||
* | Bug #631320 - GtkObject is gone in GTK3 | Milan Crha | 2010-10-07 | 13 | -192/+101 |
| | |||||
* | Use new GDK keysym names if available. | Matthew Barnes | 2010-09-18 | 3 | -23/+28 |
| | | | | | | | In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*. I've added backward-compatibility macors to gtk-compat.h, which can be dumped as soon as we require GTK+ >= 2.22.0. | ||||
* | Coding style and whitespace cleanups. | Matthew Barnes | 2010-09-12 | 1 | -2/+2 |
| | |||||
* | Various memory leaks | Milan Crha | 2010-09-08 | 1 | -2/+0 |
| | |||||
* | Coding style and whitespace cleanup. | Matthew Barnes | 2010-08-29 | 17 | -450/+450 |
| | |||||
* | Coding style and whitespace cleanup. | Matthew Barnes | 2010-08-29 | 1 | -6/+6 |
| | |||||
* | Bug 624525 - Variable name collision in gtk-compat macro | Milan Crha | 2010-07-22 | 2 | -2/+2 |
| | |||||
* | Coding style and whitespace cleanup. | Matthew Barnes | 2010-07-12 | 3 | -41/+76 |
| | |||||
* | Remove an obsolete GTK+ header include. | Matthew Barnes | 2010-06-29 | 1 | -1/+0 |
| | |||||
* | Coding style and whitespace cleanup. | Matthew Barnes | 2010-06-20 | 41 | -1080/+1059 |
| | |||||
* | Don't bother translating GnomeCanvas GObject properties. | Matthew Barnes | 2010-06-20 | 3 | -106/+106 |
| | |||||
* | Remove unused libart_lgpl API. | Matthew Barnes | 2010-06-16 | 2 | -3/+0 |
| | | | | According to CallCatcher. | ||||
* | Install header files for libgnomecanvas and libart_lpgl. | Matthew Barnes | 2010-06-16 | 1 | -29/+33 |
| | |||||
* | Fix all remaining GTK3 issues. | Matthew Barnes | 2010-06-16 | 8 | -174/+390 |
| | | | | | | | | | | | | Work around the issue of GnomeCanvasItem amending its own flags to GtkObject::flags (which is sealed) by giving it its own flags field. This breaks libgnomecanvas ABI and API, but I see no other way. This commit didn't work the first time because gnome-pilot libraries were still pulling in the system-wide libgnomecanvas, and that was interfereing with our bundled version which has a different ABI. But gnome-pilot integration was dropped in the previous commit, so everything is now using the bundled libgnomecanvas. | ||||
* | Revert "Fix all remaining GTK3 issues." | Matthew Barnes | 2010-06-15 | 8 | -390/+174 |
| | | | | | | | This reverts commit fd8b55edaa88906b588aa07d9eadcacd34a7a774. Something in this commit seriously hosed ETable, making Evolution pretty much unusable. Reverting this until I can track down the problem. | ||||
* | Drop the "2" from libgnomecanvas and libart_lgpl. | Matthew Barnes | 2010-06-15 | 1 | -6/+6 |
| | |||||
* | Fix all remaining GTK3 issues. | Matthew Barnes | 2010-06-15 | 8 | -174/+390 |
| | | | | | | Work around the issue of GnomeCanvasItem amending its own flags to GtkObject::flags (which is sealed) by giving it its own flags field. This breaks libgnomecanvas ABI and API, but I see no other way. | ||||
* | Embed libart_lgpl and libgnomecanvas. | Matthew Barnes | 2010-06-14 | 50 | -0/+20498 |
Both of these modules are deprecated and going away in GNOME 3 but we still rely heavily on them for GnomeCalendar and ETable. So, welcome to the island of unwanted libraries... |