Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-30 | glu: Fix some compiler warnings in libtess | Neil Roberts | |
When compiled with the more aggressive compiler warnings such as -Wshadow and -Wempty-body the libtess code gives a lot more warnings. This fixes the following issues: * The 'Swap' macro tries to combine multiple statements into one and then consume the trailing semicolon by using if(1){/*...*/}else. This gives warnings because the else part ends up with an empty statement. It also seems a bit dangerous because if the semicolon were missed then it would still be valid syntax but it would just ignore the following statement. This patch replaces it with the more common idiom do { /*...*/ } while(0). * 'free' was being used as a local variable name but this shadows the global function. This has been renamed to 'free_handle' * TRUE and FALSE were being unconditionally defined. Although this isn't currently a problem it seems better to guard them with #ifndef because it's quite common for them to be defined in other headers. https://bugs.freedesktop.org/show_bug.cgi?id=28845 Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-03-12 | Grammar and spelling fixes | Jeff Smith | |
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-02-25 | Revert "glu/sgi: Set freed pointer to NULL." | Vinson Lee | |
This commit breaks flightgear fgfs. A null pointer is dereferenced in the function MakeVertex. This reverts commit 9be414f4b93c763e1aee8f634a13721ae5d95fcd. | |||
2010-02-25 | glu/sgi: Set freed pointer to NULL. | Vinson Lee | |
2010-02-15 | glu/sgi: Add assert to check for null pointer dereference. | Vinson Lee | |
2010-02-14 | glu/sgi: Move initialization of members to top of Curve constructor. | Vinson Lee | |
This is a modification of commit 53d448657bd300ab68b2869b2fba76a627699baf. The members cpts and spts are possibly used as arguments later in the constructor. | |||
2010-02-14 | glu/sgi: Initialize members of class Curvelist. | Vinson Lee | |
2010-02-14 | glu/sgi: Initialize members of class Curve. | Vinson Lee | |
2010-02-14 | glu/sgi: Initialize member of class Pool. | Vinson Lee | |
2010-02-13 | glu/sgi: Initialize members of class Curvelist. | Vinson Lee | |
2010-02-12 | glu/sgi: Initialize member of class primStream. | Vinson Lee | |
2010-02-12 | glu/sgi: Initialize members of class Arc. | Vinson Lee | |
2010-02-12 | glu/sgi: Initialize member of class Bin. | Vinson Lee | |
2010-02-10 | glu/sgi: Initialize member of class Uarray. | Vinson Lee | |
2010-01-28 | glu/sgi: Remove unnecessary headers. | Vinson Lee | |
2010-01-10 | glu/sgi: Initialize members of class Mesher. | Vinson Lee | |
2010-01-10 | glu/sgi: Initialize members of class Slicer. | Vinson Lee | |
2010-01-10 | glu/sgi: Include missing header file. | Vinson Lee | |
2010-01-10 | glu/sgi: Initialize members of class Renderhints. | Vinson Lee | |
2010-01-09 | glu/sgi: Initialize members of class StoredVertex. | Vinson Lee | |
2010-01-09 | glu/sgi: Include missing header file. | Vinson Lee | |
2010-01-09 | glu/sgi: Initialize member of class O_pwlcurve. | Vinson Lee | |
2010-01-02 | glu/sgi: Initialize members of struct O_curve. | Vinson Lee | |
2010-01-02 | glu/sgi: Initialize members of struct O_surface. | Vinson Lee | |
2010-01-02 | glu/sgi: Initialize member of struct O_trim. | Vinson Lee | |
2010-01-01 | glu/sgi: Initialize member of struct Property. | Vinson Lee | |
2010-01-01 | glu/sgi: Initialize member of struct Dlnode. | Vinson Lee | |
2010-01-01 | glu/sgi: Initialize members of struct O_nurbscurve. | Vinson Lee | |
2010-01-01 | glu/sgi: Initialize members of class Knotvector. | Vinson Lee | |
2010-01-01 | glu/sgi: Initialize member of struct Property. | Vinson Lee | |
2009-12-29 | glu/sgi: Initialize members of struct O_nurbssurface. | Vinson Lee | |
2009-12-29 | glu/sgi: Silence warn_unused_result warnings. | Vinson Lee | |
2009-12-29 | glu/sgi: Initialize member of struct GridVertex. | Vinson Lee | |
2009-12-29 | glu/sgi: Initialize member variables in class Varray. | Vinson Lee | |
2009-12-29 | glu/sgi: Initialize member of class monoChain. | Vinson Lee | |
2009-12-29 | glu/sgi: Initialize members of class sampledLine. | Vinson Lee | |
2009-12-29 | glu/sgi: Initialize members of class directedLine. | Vinson Lee | |
2009-12-25 | glu/sgi: Fix include recursion. | Vinson Lee | |
arcsorter.h should not include itself. | |||
2009-12-23 | glu/sgi: Initialize variable in directedLine. | Vinson Lee | |
2009-12-23 | glu/sgi: Silence compiler warnings. | Vinson Lee | |
2009-12-22 | glu/sgi: Silence uninitialized variable warnings. | Vinson Lee | |
2009-12-04 | glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore. | Vinson Lee | |
(cherry picked from commit 808f0376607b0e2d31dfebc888fd8f1e737fed09) | |||
2009-12-04 | glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore. | Vinson Lee | |
(cherry picked from commit 94bcb9f1a43f2ab3bdff09156e3ab5b1c115cbd8) | |||
2009-12-04 | glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore. | Vinson Lee | |
(cherry picked from commit 0d89f3dc7ff3f89ba8d5d664253730485bca35e2) | |||
2009-12-04 | glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore. | Vinson Lee | |
(cherry picked from commit f895abbd9777c4985aa40cf660c68f6d7333f0ec) | |||
2009-12-04 | glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore. | Vinson Lee | |
(cherry picked from commit 326b66d724754ca97012501db1c7c62d7d41a457) | |||
2009-12-04 | glu/sgi: Fix memory leak in bitmapBuild2DMipmaps. | Vinson Lee | |
(cherry picked from commit 5b925b7daa566d799c4f50911a7fcca114131503) | |||
2009-12-04 | glu/sgi: Fix memory leak in gluScaleImage3D. | Vinson Lee | |
(cherry picked from commit b611f639b4bffdcca376293f7ce71af9f6bdbff3) | |||
2009-12-04 | glu/sgi: Fix memory leak in gluScaleImage. | Vinson Lee | |
(cherry picked from commit a9c540f5dedbf593f8038fdbc95eecb60826ab26) | |||
2009-12-04 | glu: Fix memory leak in __gl_meshMakeEdge. | Vinson Lee | |
(cherry picked from commit d3b4c99c703f70a9d0e715a97e52672f7f8fc980) |