aboutsummaryrefslogtreecommitdiff
path: root/generic
AgeCommit message (Collapse)Author
2004-03-04 * OpenGL contexts are allocated by display instead of by widget.lecoanet
* Colormaps are not allocated for each widget window but are cached by display (should be perhaps by screen) * Freed the visual info returned by each call to glXChooseVisual. This used to generate a memory leak for each widget instance. * Adapted for perl/Tk 804. * Some better init code to prevent valgrind from reporting use of unitialized memory (can be useful anyway). * Commented an OpenGL bug workaround dealing with bad partial redraw after moving the window. It seems to have disappeared (tested with NVIDIA 53.3). * Free the drawing GC as part of destroy cleanup.
2004-03-03Fixed a potentially unitialized angle value in the gradient struct.lecoanet
2004-03-03Support for perl/Tk 804lecoanet
2004-03-03Added (commented) traces.lecoanet
2004-03-03Added new attribute types ZN_CONFIG_CHAR and ZN_CONFIG_UCHARlecoanet
Changed the ZN_CONFIG_ALPHA type to be processed as a char, this fixes a potentially long standing bug when configuring an alpha value.
2004-03-03Added new attribute types ZN_CONFIG_CHAR and ZN_CONFIG_UCHARlecoanet
2004-03-03Fixes for perl/Tk 804lecoanet
2004-03-03Changes for perl/Tk 804.lecoanet
Fix a problem with glXMakeCurrent when the widget window is gone, the root window is used instead. This fixes a problem when freeing textures for an already destroyed widget.
2004-03-03Coords: Fixed a typo when returning the position.lecoanet
2004-03-03Changes to implement a new behavior for -position attribute and local ↵lecoanet
transforms.
2004-02-23Fixed an uninitialized controls pointer leading to unexepected behavior when ↵lecoanet
adding a contour from a curve item
2004-02-23Fix a bug on the clipped mask when redrawing a rotated Icon (X11 only).lecoanet
2004-02-20Some further tweaking to make the utf stuff notlecoanet
disturb Perl/Tk.
2004-02-20ZN_MAP_INFO_FLAG and ZN_LAYOUT_FLAG shared the same bitlecoanet
in the bit field, they are now distinct (this should not have caused a bug as they are not used simultaneously).
2004-02-20 * (ComposeTransform): Fixed an incorrect behavior when usinglecoanet
local coordinates composition (when either -composescale or -composerotation is false). * (AttributeToObj): Added Special cases for unsigned shorts and ints. Moved priority to unsigned short.
2004-02-16Forced override_atomic to False when Picking forlecoanet
enter/leave management in PickCurrentItem.
2004-02-13Fix a bug in processing of font charset namelecoanet
2004-02-13Suppressed trace infoslecoanet
2004-02-13Undo the change that made ZnPoints and ZnRects out of floats. It doesn't ↵lecoanet
work with the Tess and GL.
2004-02-13Protected UTF8 patch for correct compilation under Perl/Tk 800lecoanet
2004-02-13Changed the behavior of options/attributes for managing and displaying track ↵lecoanet
histories
2004-02-13Start of the new PostScript implementation (not functional!)lecoanet
2004-02-13Modified the item PostScript method signature.lecoanet
2004-02-13Added ZnTexFontEncoding function prototypelecoanet
2004-02-13Added a pointer to the PostScript current info block.lecoanet
2004-02-13 * (ZnGetTexFont): The font encoding is considered when loadinglecoanet
a font. This plus a patch in the text item should lead to a correct behavior when drawing UTF8 strings (regardless of the input versus output encoding).
2004-02-13 * (Render): Rendering of UTF8 strings is now (hopefully)lecoanet
correct in GL. * (PointToChar): Fixed a bug related to UTF char offset versus byte offset. * (ComputeTransfoAndOrigin): Rounded the origin on the integer lattice to get rid of display uglyness on GL.
2004-02-13Changed the PostScript method signaturelecoanet
2004-02-13Fixed an error in DoEvent related to which part shouldlecoanet
be considered for focusable items. Introduce the postscript command (not functional yet!)
2004-02-04 * Fixed the clamping of visible_history_size so thatlecoanet
it doesn't fall irremediably to zero.
2004-01-26 * Added the scaling/rotation capabilities both in X and GL.lecoanet
* (ComputeCursorAndSel): Corrected an incorrect selection extent offset. The last character of the selection was never displayed as part of the selection. * The insertion cursor wasn't displayed on an the last line when empty.
2004-01-26Icons are transformable under X.lecoanet
Anchors have been fixed for rotated icons.
2004-01-26 * (WidgetObjCmd): Added a flag for providing angles inlecoanet
degrees to the rotate method. * (WidgetObjCmd): Added an optional center for the scale method. * (FindItems): Modified the recursive flag of sub-methods closest, enclosed, overlapping so that the find can be asked to investigate into atomic groups. Simply say 'override' instead of true/false. * (WidgetObjCmd): Method bbox no longer works on multiple tagOrIds but handles label and field bboxes on items with fields. * bind now handles virtual events. * bind accept an alternative syntax for specifying fields. * Added conditional inclusion of overlap manager include
2004-01-26*** empty log message ***lecoanet
2004-01-26 * (Pick): Added a quick bbox test for intersectionlecoanet
between the pick halo bbox and item bboxes. * (ToArea, Pick): Added the override atomic feature. * (ComputeCoordinates): The group bbox is clipped on the clip item bounding box.
2004-01-26priority is an unsigned shortlecoanet
id is an unsigned int
2004-01-26 * Added new attribute types Short and unsigned short.lecoanet
* Adaptation to use doubles instead of ZnReal for calls to Tcl_GetDoubleFromObj. * (RotateItem): Added a flag to choose between degrees and radians. * (ScaleItem): Added an optional scale center * Added conditional inclusion of overlap manager include
2004-01-26*** empty log message ***lecoanet
2004-01-26ZnLineToPointDist can optionally return the closest point on the line.lecoanet
Added ZnRectOrigin2Anchor to compute the anchor position on any rectangles (ZnOrigin2Anchor works only for bounding boxes).
2004-01-26Added tke ZnMapImage function that do texture mapping between tolecoanet
X images according to a given polygon.
2004-01-26 * (ZnTransformPoint, ZnTransformPoints): It is now safe to uselecoanet
the same point(s) as the source and the result of the transformation. * (ZnTransfoIsTranslation): A NULL (identity) transform caused a core dump. * (ZnTransfoInvert): A NULL (identity) transform was not handled faithfully by the function, it failed to initialize the inverse transform struct, it only returned a NULL pointer. * (ZnPrintTransfo): Handled the case of NULL transform pointer meaning identity transform. It used to core dump ;-(
2004-01-26*** empty log message ***lecoanet
2003-12-11*** empty log message ***lecoanet
2003-12-11 * Added the skew functions.lecoanet
2003-12-11 * (SkewItem): Added support for skew in transformslecoanet
2003-12-11 * Added support for the skew in transformslecoanet
2003-12-11 * (ComputeCoordinates): Added an extra 0.5 rounding on thelecoanet
bounding box to avoid broken redraw. * Adapted the code to the new MapInfo API with floating point coordinates.
2003-12-11 * API use floating point coordinates.lecoanet
2003-12-11 * All coordinates are stored and passed back and forth aslecoanet
floating point values. * Reformat of the code to suppress braces inconsistencies due to ifdefs.
2003-12-11 * (ComputeCoordinates): Reduced the rounding of the boundinglecoanet
box to 0.5 pixels instead of 1. * (ComputeCoordinates): Fixed the way ALIGNED was computed it didn't work with skew, and had other bugs. * (GetClipVertices): Fixed a bug on the tristrip returned when the rectangle is not aligned on axes. The order of the returned triangle vertices didn't describe a rectangle.