Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glu: Fix some compiler warnings in libtess | Neil Roberts | 2010-06-30 | 8 | -13/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> | ||||
* | Grammar and spelling fixes | Jeff Smith | 2010-03-12 | 2 | -2/+2 |
| | | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | Remove unused mini and mesa glu subdirectories | Kristian Høgsberg | 2010-02-25 | 34 | -13732/+0 |
| | |||||
* | Revert "glu/sgi: Set freed pointer to NULL." | Vinson Lee | 2010-02-25 | 1 | -1/+0 |
| | | | | | | | This commit breaks flightgear fgfs. A null pointer is dereferenced in the function MakeVertex. This reverts commit 9be414f4b93c763e1aee8f634a13721ae5d95fcd. | ||||
* | glu/sgi: Set freed pointer to NULL. | Vinson Lee | 2010-02-25 | 1 | -0/+1 |
| | |||||
* | glu/sgi: Add assert to check for null pointer dereference. | Vinson Lee | 2010-02-15 | 1 | -0/+1 |
| | |||||
* | glu/sgi: Move initialization of members to top of Curve constructor. | Vinson Lee | 2010-02-14 | 1 | -8/+6 |
| | | | | | | | This is a modification of commit 53d448657bd300ab68b2869b2fba76a627699baf. The members cpts and spts are possibly used as arguments later in the constructor. | ||||
* | glu/sgi: Initialize members of class Curvelist. | Vinson Lee | 2010-02-14 | 1 | -4/+5 |
| | |||||
* | glu/sgi: Initialize members of class Curve. | Vinson Lee | 2010-02-14 | 1 | -0/+8 |
| | |||||
* | glu/sgi: Initialize member of class Pool. | Vinson Lee | 2010-02-14 | 1 | -0/+3 |
| | |||||
* | src/glu/mesa: fix mem leak (bug 26559) | Brian Paul | 2010-02-14 | 1 | -1/+6 |
| | |||||
* | src/glu/mini: fix mem leak (bug 26559) | Brian Paul | 2010-02-14 | 1 | -1/+5 |
| | |||||
* | glu/sgi: Initialize members of class Curvelist. | Vinson Lee | 2010-02-13 | 1 | -0/+2 |
| | |||||
* | glu/sgi: Initialize member of class primStream. | Vinson Lee | 2010-02-12 | 1 | -0/+2 |
| | |||||
* | glu/sgi: Initialize members of class Arc. | Vinson Lee | 2010-02-12 | 1 | -0/+6 |
| | |||||
* | glu/sgi: Initialize member of class Bin. | Vinson Lee | 2010-02-12 | 1 | -0/+1 |
| | |||||
* | glu/sgi: Initialize member of class Uarray. | Vinson Lee | 2010-02-10 | 1 | -0/+1 |
| | |||||
* | glu/sgi: Remove unnecessary headers. | Vinson Lee | 2010-01-28 | 11 | -13/+0 |
| | |||||
* | glu/sgi: Initialize members of class Mesher. | Vinson Lee | 2010-01-10 | 1 | -0/+3 |
| | |||||
* | glu/sgi: Initialize members of class Slicer. | Vinson Lee | 2010-01-10 | 1 | -0/+4 |
| | |||||
* | glu/sgi: Include missing header file. | Vinson Lee | 2010-01-10 | 1 | -0/+2 |
| | |||||
* | glu/sgi: Initialize members of class Renderhints. | Vinson Lee | 2010-01-10 | 1 | -0/+4 |
| | |||||
* | glu/sgi: Initialize members of class StoredVertex. | Vinson Lee | 2010-01-09 | 1 | -1/+1 |
| | |||||
* | glu/sgi: Include missing header file. | Vinson Lee | 2010-01-09 | 1 | -0/+1 |
| | |||||
* | glu/sgi: Initialize member of class O_pwlcurve. | Vinson Lee | 2010-01-09 | 1 | -0/+2 |
| | |||||
* | glu/sgi: Initialize members of struct O_curve. | Vinson Lee | 2010-01-02 | 1 | -1/+1 |
| | |||||
* | glu/sgi: Initialize members of struct O_surface. | Vinson Lee | 2010-01-02 | 1 | -1/+1 |
| | |||||
* | glu/sgi: Initialize member of struct O_trim. | Vinson Lee | 2010-01-02 | 1 | -1/+1 |
| | |||||
* | glu/sgi: Initialize member of struct Property. | Vinson Lee | 2010-01-01 | 1 | -1/+1 |
| | |||||
* | glu/sgi: Initialize member of struct Dlnode. | Vinson Lee | 2010-01-01 | 1 | -0/+1 |
| | |||||
* | glu/sgi: Initialize members of struct O_nurbscurve. | Vinson Lee | 2010-01-01 | 1 | -1/+1 |
| | |||||
* | glu/sgi: Initialize members of class Knotvector. | Vinson Lee | 2010-01-01 | 1 | -0/+3 |
| | |||||
* | glu/sgi: Initialize member of struct Property. | Vinson Lee | 2010-01-01 | 1 | -1/+1 |
| | |||||
* | glu/sgi: Initialize members of struct O_nurbssurface. | Vinson Lee | 2009-12-29 | 1 | -1/+1 |
| | |||||
* | glu/sgi: Silence warn_unused_result warnings. | Vinson Lee | 2009-12-29 | 1 | -9/+19 |
| | |||||
* | glu/sgi: Initialize member of struct GridVertex. | Vinson Lee | 2009-12-29 | 1 | -1/+1 |
| | |||||
* | glu/sgi: Initialize member variables in class Varray. | Vinson Lee | 2009-12-29 | 1 | -0/+8 |
| | |||||
* | glu/sgi: Initialize member of class monoChain. | Vinson Lee | 2009-12-29 | 1 | -0/+1 |
| | |||||
* | glu/sgi: Initialize members of class sampledLine. | Vinson Lee | 2009-12-29 | 1 | -0/+3 |
| | |||||
* | glu/sgi: Initialize members of class directedLine. | Vinson Lee | 2009-12-29 | 1 | -0/+2 |
| | |||||
* | glu/sgi: Fix include recursion. | Vinson Lee | 2009-12-25 | 1 | -1/+0 |
| | | | | arcsorter.h should not include itself. | ||||
* | glu/sgi: Initialize variable in directedLine. | Vinson Lee | 2009-12-23 | 1 | -1/+1 |
| | |||||
* | glu/sgi: Silence compiler warnings. | Vinson Lee | 2009-12-23 | 2 | -4/+6 |
| | |||||
* | glu/sgi: Silence uninitialized variable warnings. | Vinson Lee | 2009-12-22 | 2 | -4/+4 |
| | |||||
* | glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore. | Vinson Lee | 2009-12-04 | 1 | -0/+1 |
| | | | | (cherry picked from commit 808f0376607b0e2d31dfebc888fd8f1e737fed09) | ||||
* | glu/sgi: Fix memory leak in gluBuild1DMipmapLevelsCore. | Vinson Lee | 2009-12-04 | 1 | -0/+1 |
| | | | | (cherry picked from commit 94bcb9f1a43f2ab3bdff09156e3ab5b1c115cbd8) | ||||
* | glu/sgi: Fix memory leak in gluBuild2DMipmapLevelsCore. | Vinson Lee | 2009-12-04 | 1 | -0/+1 |
| | | | | (cherry picked from commit 0d89f3dc7ff3f89ba8d5d664253730485bca35e2) | ||||
* | glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore. | Vinson Lee | 2009-12-04 | 1 | -0/+1 |
| | | | | (cherry picked from commit f895abbd9777c4985aa40cf660c68f6d7333f0ec) | ||||
* | glu/sgi: Fix memory leak in gluBuild3DMipmapLevelsCore. | Vinson Lee | 2009-12-04 | 1 | -0/+1 |
| | | | | (cherry picked from commit 326b66d724754ca97012501db1c7c62d7d41a457) | ||||
* | glu/sgi: Fix memory leak in bitmapBuild2DMipmaps. | Vinson Lee | 2009-12-04 | 1 | -0/+1 |
| | | | | (cherry picked from commit 5b925b7daa566d799c4f50911a7fcca114131503) |