| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a504a0e commit da537b8
12 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,14 @@ | |||
| 1 | + 2018-07-12 Ethan A Merritt <merritt@u.washington.edu> | ||
| 2 | + | ||
| 3 | + * configure.ac src/color.c src/color.h src/pm3d.c: | ||
| 4 | + | ||
| 5 | + Remove support for compile option EXTENDED_COLOR_SPECS. | ||
| 6 | + This was used only by vgagl.trm but required maintaining a separate | ||
| 7 | + code path for coloring pm3d quadrangles for all terminals. This | ||
| 8 | + alternative code path did not know about new pm3d color options and | ||
| 9 | + may no longer work at all. Removing the conditional code breaks | ||
| 10 | + vgagl.trm, which can be fixed later. | ||
| 11 | + | ||
| 1 | 12 | 2018-06-09 Ethan A Merritt <merritt@u.washington.edu> | |
| 2 | 13 | ||
| 3 | 14 | * src/gadgets.c (draw_clip_arrow) term/lua.trm term/lua/gnuplot-tikz.lua | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -26,6 +26,7 @@ Changes not in 5.2 | |||
| 26 | 26 | * CHANGE apply trange to sampling on pseudofile '+' | |
| 27 | 27 | * CHANGE move tgif terminal to "legacy" status; build only if configured | |
| 28 | 28 | * CHANGE imaginary values from the using spec of a 2D plot are treated as NaN | |
| 29 | + * CHANGE remove compile option EXTENDED_COLOR_SPECS used only by vgagl.trm | ||
| 29 | 30 | * FIX allow mixed use of in-key plot titles and manually placed titles | |
| 30 | 31 | * FIX open/close path for polygons | |
| 31 | 32 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -28,9 +28,6 @@ | |||
| 28 | 28 | /* Define to support boxed labels */ | |
| 29 | 29 | #define EAM_BOXED_TEXT 1 | |
| 30 | 30 | ||
| 31 | - /* Define if color information should be passed for each vertex. */ | ||
| 32 | - /* #undef EXTENDED_COLOR_SPECS */ | ||
| 33 | - | ||
| 34 | 31 | /* Define if you want to supply pre-existing X11 windows. */ | |
| 35 | 32 | /* #undef EXTERNAL_X11_WINDOW */ | |
| 36 | 33 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,9 +30,6 @@ | |||
| 30 | 30 | /* Define to support boxed labels */ | |
| 31 | 31 | #define EAM_BOXED_TEXT 1 | |
| 32 | 32 | ||
| 33 | - /* Define if color information should be passed for each vertex. */ | ||
| 34 | - /* #undef EXTENDED_COLOR_SPECS */ | ||
| 35 | - | ||
| 36 | 33 | /* Define if you want to supply pre-existing X11 windows. */ | |
| 37 | 34 | /* #undef EXTERNAL_X11_WINDOW */ | |
| 38 | 35 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,9 +29,6 @@ | |||
| 29 | 29 | /* Define to support boxed labels */ | |
| 30 | 30 | #define EAM_BOXED_TEXT 1 | |
| 31 | 31 | ||
| 32 | - /* Define if color information should be passed for each vertex. */ | ||
| 33 | - /* #undef EXTENDED_COLOR_SPECS */ | ||
| 34 | - | ||
| 35 | 32 | /* Define if you want to supply pre-existing X11 windows. */ | |
| 36 | 33 | /* #undef EXTERNAL_X11_WINDOW */ | |
| 37 | 34 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,9 +30,6 @@ | |||
| 30 | 30 | /* Define to support boxed labels */ | |
| 31 | 31 | #define EAM_BOXED_TEXT 1 | |
| 32 | 32 | ||
| 33 | - /* Define if color information should be passed for each vertex. */ | ||
| 34 | - /* #undef EXTENDED_COLOR_SPECS */ | ||
| 35 | - | ||
| 36 | 33 | /* Define if you want to supply pre-existing X11 windows. */ | |
| 37 | 34 | /* #undef EXTERNAL_X11_WINDOW */ | |
| 38 | 35 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,9 +29,6 @@ | |||
| 29 | 29 | /* Define to support boxed labels */ | |
| 30 | 30 | #define EAM_BOXED_TEXT 1 | |
| 31 | 31 | ||
| 32 | - /* Define if color information should be passed for each vertex. */ | ||
| 33 | - /* #undef EXTENDED_COLOR_SPECS */ | ||
| 34 | - | ||
| 35 | 32 | /* Define if you want to supply pre-existing X11 windows. */ | |
| 36 | 33 | #define EXTERNAL_X11_WINDOW 1 | |
| 37 | 34 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -29,9 +29,6 @@ | |||
| 29 | 29 | /* Define to support boxed labels */ | |
| 30 | 30 | #define EAM_BOXED_TEXT 1 | |
| 31 | 31 | ||
| 32 | - /* Define if color information should be passed for each vertex. */ | ||
| 33 | - /* #undef EXTENDED_COLOR_SPECS */ | ||
| 34 | - | ||
| 35 | 32 | /* Define if you want to supply pre-existing X11 windows. */ | |
| 36 | 33 | /* #undef EXTERNAL_X11_WINDOW */ | |
| 37 | 34 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -800,8 +800,6 @@ if test "$with_linux_vga" = yes; then | |||
| 800 | 800 | [dnl success! If we're here, all checks for | |
| 801 | 801 | dnl the vgagl terminal driver succeeded. | |
| 802 | 802 | AC_DEFINE(THREEDKIT,1,[ Define if the 3dkit libray is present. ]) | |
| 803 | - AC_DEFINE(EXTENDED_COLOR_SPECS,1, | ||
| 804 | - [ Define if color information should be passed for each vertex. ]) | ||
| 805 | 803 | VGAGLLIB="-l3dkit -lvgagl" | |
| 806 | 804 | with_vgagl=yes | |
| 807 | 805 | ],dnl <-- 3dkit.h found | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -232,19 +232,12 @@ ifilled_quadrangle(gpiPoint* icorners) | |||
| 232 | 232 | * This is the only routine which supportes extended | |
| 233 | 233 | * color specs currently. | |
| 234 | 234 | */ | |
| 235 | - #ifdef EXTENDED_COLOR_SPECS | ||
| 236 | - void | ||
| 237 | - filled_quadrangle(gpdPoint * corners, gpiPoint * icorners) | ||
| 238 | - #else | ||
| 239 | 235 | void | |
| 240 | 236 | filled_quadrangle(gpdPoint * corners) | |
| 241 | - #endif | ||
| 242 | 237 | { | |
| 243 | 238 | int i; | |
| 244 | 239 | double x, y; | |
| 245 | - #ifndef EXTENDED_COLOR_SPECS | ||
| 246 | 240 | gpiPoint icorners[4]; | |
| 247 | - #endif | ||
| 248 | 241 | for (i = 0; i < 4; i++) { | |
| 249 | 242 | map3d_xy_double(corners[i].x, corners[i].y, corners[i].z, &x, &y); | |
| 250 | 243 | icorners[i].x = x; | |
@@ -273,11 +266,6 @@ filled_polygon_common(int points, struct coordinate * coords, TBOOLEAN fixed, do | |||
| 273 | 266 | icorners[i].x = x; | |
| 274 | 267 | icorners[i].y = y; | |
| 275 | 268 | } | |
| 276 | - #ifdef EXTENDED_COLOR_SPECS | ||
| 277 | - if ((term->flags & TERM_EXTENDED_COLOR)) { | ||
| 278 | - icorners[0].spec.gray = -1; /* force solid color */ | ||
| 279 | - } | ||
| 280 | - #endif | ||
| 281 | 269 | if (default_fillstyle.fillstyle == FS_EMPTY) | |
| 282 | 270 | icorners->style = FS_OPAQUE; | |
| 283 | 271 | else | |
@@ -414,10 +402,6 @@ draw_inside_color_smooth_box_bitmap() | |||
| 414 | 402 | corners[0].x = corners[3].x = xy; | |
| 415 | 403 | corners[1].x = corners[2].x = GPMIN(xy_to,xy2+1); | |
| 416 | 404 | } | |
| 417 | - #ifdef EXTENDED_COLOR_SPECS | ||
| 418 | - if ((term->flags & TERM_EXTENDED_COLOR)) | ||
| 419 | - corners[0].spec.gray = -1; /* force solid color */ | ||
| 420 | - #endif | ||
| 421 | 405 | /* print the rectangle with the given colour */ | |
| 422 | 406 | if (default_fillstyle.fillstyle == FS_EMPTY) | |
| 423 | 407 | corners->style = FS_OPAQUE; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments