[cairo-commit] cairomm/cairomm cairomm.h, 1.3, 1.4 context.cc, 1.10, 1.11 context.h, 1.11, 1.12 enums.h, 1.5, 1.6 exception.cc, 1.6, 1.7 exception.h, 1.7, 1.8 fontface.cc, 1.6, 1.7 fontface.h, 1.6, 1.7 fontoptions.cc, 1.5, 1.6 fontoptions.h, 1.5, 1.6 path.cc, 1.3, 1.4 path.h, 1.4, 1.5 pattern.cc, 1.6, 1.7 pattern.h, 1.7, 1.8 private.cc, 1.5, 1.6 private.h, 1.5, 1.6 refptr.h, 1.2, 1.3 surface.cc, 1.11, 1.12 surface.h, 1.9, 1.10 win32_surface.cc, 1.2, 1.3 win32_surface.h, 1.2, 1.3 xlib_surface.cc, 1.2, 1.3 xlib_surface.h, 1.2, 1.3

Jonathon Jongsma commit at pdx.freedesktop.org
Mon Mar 6 09:55:53 PST 2006


Committed by: jjongsma

Update of /cvs/cairo/cairomm/cairomm
In directory kemper:/tmp/cvs-serv13639/cairomm

Modified Files:
	cairomm.h context.cc context.h enums.h exception.cc 
	exception.h fontface.cc fontface.h fontoptions.cc 
	fontoptions.h path.cc path.h pattern.cc pattern.h private.cc 
	private.h refptr.h surface.cc surface.h win32_surface.cc 
	win32_surface.h xlib_surface.cc xlib_surface.h 
Log Message:
2006-03-06  Jonathon Jongsma  <jonathon.jongsma at gmail.com>

	* cairomm/*.cc, *.h: add vim modelines to set proper indentation for
	cairomm when using vim


Index: cairomm.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/cairomm.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- cairomm.h	21 Feb 2006 05:21:02 -0000	1.3
+++ cairomm.h	6 Mar 2006 17:55:51 -0000	1.4
@@ -27,3 +27,5 @@
 #include <cairomm/enums.h>
 
 #endif //__CAIROMM_H
+
+// vim: ts=2 sw=2 et

Index: context.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/context.cc,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- context.cc	1 Mar 2006 02:23:43 -0000	1.10
+++ context.cc	6 Mar 2006 17:55:51 -0000	1.11
@@ -147,7 +147,7 @@
 
 void Context::unset_dash()
 {
-  cairo_set_dash(m_cobject, 0, 0, 0);
+  cairo_set_dash(m_cobject, NULL, 0, 0.0);
   check_object_status_and_throw_exception(*this);
 }
 
@@ -605,3 +605,5 @@
 }
 
 } //namespace Cairo
+
+// vim: ts=2 sw=2 et

Index: context.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/context.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- context.h	1 Mar 2006 02:23:43 -0000	1.11
+++ context.h	6 Mar 2006 17:55:51 -0000	1.12
@@ -788,3 +788,4 @@
 
 #endif //__CAIROMM_CONTEXT_H
 
+// vim: ts=2 sw=2 et

Index: enums.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/enums.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- enums.h	1 Mar 2006 02:23:43 -0000	1.5
+++ enums.h	6 Mar 2006 17:55:51 -0000	1.6
@@ -164,3 +164,4 @@
 
 #endif //__CAIROMM_ENUMS_H
 
+// vim: ts=2 sw=2 et

Index: exception.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/exception.cc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- exception.cc	21 Feb 2006 05:21:02 -0000	1.6
+++ exception.cc	6 Mar 2006 17:55:51 -0000	1.7
@@ -46,3 +46,4 @@
 
 } //namespace Cairo
 
+// vim: ts=2 sw=2 et

Index: exception.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/exception.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- exception.h	28 Feb 2006 02:07:53 -0000	1.7
+++ exception.h	6 Mar 2006 17:55:51 -0000	1.8
@@ -42,3 +42,5 @@
 } // namespace Cairo
 
 #endif // __CAIRO_EXCEPTION_H
+
+// vim: ts=2 sw=2 et

Index: fontface.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/fontface.cc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- fontface.cc	21 Feb 2006 05:21:02 -0000	1.6
+++ fontface.cc	6 Mar 2006 17:55:51 -0000	1.7
@@ -64,3 +64,5 @@
 
 
 } //namespace Cairo
+
+// vim: ts=2 sw=2 et

Index: fontface.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/fontface.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- fontface.h	21 Feb 2006 05:21:02 -0000	1.6
+++ fontface.h	6 Mar 2006 17:55:51 -0000	1.7
@@ -76,3 +76,4 @@
 
 #endif //__CAIROMM_FONTFACE_H
 
+// vim: ts=2 sw=2 et

Index: fontoptions.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/fontoptions.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- fontoptions.cc	1 Mar 2006 02:23:43 -0000	1.5
+++ fontoptions.cc	6 Mar 2006 17:55:51 -0000	1.6
@@ -155,3 +155,5 @@
 }
 
 } //namespace Cairo
+
+// vim: ts=2 sw=2 et

Index: fontoptions.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/fontoptions.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- fontoptions.h	1 Mar 2006 02:23:43 -0000	1.5
+++ fontoptions.h	6 Mar 2006 17:55:51 -0000	1.6
@@ -78,3 +78,4 @@
 
 #endif //__CAIROMM_FONTOPTIONS_H
 
+// vim: ts=2 sw=2 et

Index: path.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/path.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- path.cc	21 Feb 2006 05:21:02 -0000	1.3
+++ path.cc	6 Mar 2006 17:55:51 -0000	1.4
@@ -94,3 +94,5 @@
 */
 
 } //namespace Cairo
+
+// vim: ts=2 sw=2 et

Index: path.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/path.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- path.h	21 Feb 2006 05:21:02 -0000	1.4
+++ path.h	6 Mar 2006 17:55:51 -0000	1.5
@@ -64,3 +64,4 @@
 
 #endif //__CAIROMM_PATH_H
 
+// vim: ts=2 sw=2 et

Index: pattern.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/pattern.cc,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- pattern.cc	1 Mar 2006 02:23:43 -0000	1.6
+++ pattern.cc	6 Mar 2006 17:55:51 -0000	1.7
@@ -207,7 +207,6 @@
 }
 
 
-
-
-
 } //namespace Cairo
+
+// vim: ts=2 sw=2 et

Index: pattern.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/pattern.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- pattern.h	1 Mar 2006 02:23:43 -0000	1.7
+++ pattern.h	6 Mar 2006 17:55:51 -0000	1.8
@@ -186,3 +186,4 @@
 
 #endif //__CAIROMM_PATTERN_H
 
+// vim: ts=2 sw=2 et

Index: private.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/private.cc,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- private.cc	21 Feb 2006 05:21:02 -0000	1.5
+++ private.cc	6 Mar 2006 17:55:51 -0000	1.6
@@ -28,6 +28,10 @@
 {
   switch(status)
   {
+    case CAIRO_STATUS_SUCCESS:
+      // we should never get here, but just in case
+      break;
+
     case CAIRO_STATUS_NO_MEMORY:
       throw std::bad_alloc();
       break;
@@ -68,3 +72,5 @@
 }
 
 } //namespace Cairo
+
+// vim: ts=2 sw=2 et

Index: private.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/private.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- private.h	21 Feb 2006 05:21:02 -0000	1.5
+++ private.h	6 Mar 2006 17:55:51 -0000	1.6
@@ -47,3 +47,4 @@
 
 #endif //__CAIROMM_PRIVATE_H
 
+// vim: ts=2 sw=2 et

Index: refptr.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/refptr.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- refptr.h	21 Feb 2006 05:21:02 -0000	1.2
+++ refptr.h	6 Mar 2006 17:55:51 -0000	1.3
@@ -335,3 +335,4 @@
 
 #endif /* _cairo_REFPTR_H */
 
+// vim: ts=2 sw=2 et

Index: surface.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/surface.cc,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- surface.cc	28 Feb 2006 01:27:03 -0000	1.11
+++ surface.cc	6 Mar 2006 17:55:51 -0000	1.12
@@ -299,3 +299,5 @@
 #endif // CAIRO_HAS_GLITZ_SURFACE
 
 } //namespace Cairo
+
+// vim: ts=2 sw=2 et

Index: surface.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/surface.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- surface.h	1 Mar 2006 02:23:43 -0000	1.9
+++ surface.h	6 Mar 2006 17:55:51 -0000	1.10
@@ -536,3 +536,5 @@
 } // namespace Cairo
 
 #endif //__CAIROMM_SURFACE_H
+
+// vim: ts=2 sw=2 et

Index: win32_surface.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/win32_surface.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- win32_surface.cc	21 Feb 2006 05:21:02 -0000	1.2
+++ win32_surface.cc	6 Mar 2006 17:55:51 -0000	1.3
@@ -47,3 +47,5 @@
 #endif // CAIRO_HAS_WIN32_SURFACE
 
 } //namespace Cairo
+
+// vim: ts=2 sw=2 et

Index: win32_surface.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/win32_surface.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- win32_surface.h	21 Feb 2006 05:21:02 -0000	1.2
+++ win32_surface.h	6 Mar 2006 17:55:51 -0000	1.3
@@ -66,3 +66,5 @@
 } // namespace Cairo
 
 #endif //__CAIROMM_WIN32_SURFACE_H
+
+// vim: ts=2 sw=2 et

Index: xlib_surface.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/xlib_surface.cc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- xlib_surface.cc	21 Feb 2006 05:21:02 -0000	1.2
+++ xlib_surface.cc	6 Mar 2006 17:55:51 -0000	1.3
@@ -63,3 +63,5 @@
 #endif // CAIRO_HAS_XLIB_SURFACE
 
 } //namespace Cairo
+
+// vim: ts=2 sw=2 et

Index: xlib_surface.h
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/xlib_surface.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- xlib_surface.h	21 Feb 2006 05:21:02 -0000	1.2
+++ xlib_surface.h	6 Mar 2006 17:55:51 -0000	1.3
@@ -117,3 +117,5 @@
 } // namespace Cairo
 
 #endif //__CAIROMM_XLIB_SURFACE_H
+
+// vim: ts=2 sw=2 et



More information about the cairo-commit mailing list