ChangeLog
上传用户:shenzhenrh
上传日期:2013-05-12
资源大小:2904k
文件大小:111k
源码类别:

信息检索与抽取

开发平台:

Unix_Linux

  1. 2004-11-14  Marcus G. Daniels <mgd@santafe.edu>
  2. * TkExtra.m: Add an ifdef for what BLT we expect for __MINGW32__.
  3. * internal.m (setSecondaryPath): Similarly, use lib/ for __MINGW32__.
  4. 2004-07-20  Marcus G. Daniels <mgd@santafe.edu>
  5. * Makefile.am (INCLUDES): Reorder so that X headers and Xpm are
  6. first. This is to ensure that the Xpm and Tk (the non-X11 Tk on
  7. Windows) get the right X headers from Cygwin Tk.  Otherwise
  8. classes like Colormap get the wrong structure relative to Win32 Tk.
  9. 2004-07-16  Scott Christley <schristley@mac.com>
  10. * Makefile.am (INCLUDES): Use libobjc definition.  Add GNUstep
  11. includes.
  12. 2004-07-13  Marcus G. Daniels <mgd@santafe.edu>
  13. * TkExtra.m (ensureBltSupportFiles): Check for graph.tcl instead of 
  14. bltGraph.tcl.
  15. ([TkExtra -preInitWithArgc:argv:]): Load graph.tcl instead of
  16. bltGraph.tcl.
  17. 2004-07-12  Marcus G. Daniels <mgd@santafe.edu>
  18. * TkExtra.m ([TkExtra -preInitWithArgc:argv:], newBLTp): Handle BLT 3.0.
  19. 2004-02-24  Marcus G. Daniels <mgd@santafe.edu>
  20. * internal.m (tkobjc_pixmap_save): Don't use stack allocated buffers
  21. for rgbbuf and palbuf.
  22. 2003-09-14    <mgd@DRONE>
  23. * ZoomRaster.m ([ZoomRaster -handleButton:X:Y:]): Adjust
  24. coordinates for change of 06-23.
  25. 2003-09-05  Marcus G. Daniels <mgd@santafe.edu>
  26. * win32dib.c (dib_get_color): Avoid using color indicies out of range.
  27. 2003-06-23  Paul E. Johnson  <pauljohn@pjdell.pols.ukans.edu>
  28. * ZoomRaster.m: new method 
  29. -(void)fillCenteredRectangleX0: (int)x0 Y0: (int)y0 X1: (int)x1 Y1:
  30. (int)y1 Color: (Color)c. Assures "stable positioning" of points
  31. and rectangles.  A point at a given position, say
  32. zoomFactor*(x0,y0), will stay in the same position relative to
  33. lines and elipses that are on or near it.
  34. ([ZoomRaster -drawPointX:Y:Color:]): use fillCenteredRectangle to
  35. draw points.
  36. - (void)rectangleX0: (int)x0 Y0: (int)y0 X1: (int)x1 Y1: (int)y1
  37.               Width: (unsigned)penWidth Color: (Color)c
  38. Modified to assure stable positioning (like fillCenteredRectangle).
  39. 2003-06-11  Paul E. Johnson  <pauljohn@pjdell.pols.ukans.edu>
  40. * Pixmap.m ([Pixmap -drawX:Y:]): cast (Raster *)raster
  41. ([Pixmap -setRaster:]):  cast (Raster *)raster
  42. 2003-04-22    <pauljohn@localhost.localdomain>
  43. * Makefile.am (%_tcl.x): Fix the %_tcl.x sed script to delete
  44. copyright comments as well as force each line to look like
  45. "words".
  46. 2002-04-14  Alex Lancaster  <alex@swarm.org>
  47. * ArchivedGeometryWidget.h, ArchivedGeometryWidget.m, Button.h,
  48. Button.m, ButtonPanel.h, ButtonPanel.m, Canvas.h, Canvas.m,
  49. CanvasAbstractItem.h, CanvasAbstractItem.m, CanvasItem.h,
  50. CanvasItem.m, CheckButton.h, CheckButton.m, Circle.h, Circle.m,
  51. ClassDisplayHideButton.h, ClassDisplayHideButton.m,
  52. ClassDisplayLabel.h, ClassDisplayLabel.m, Colormap.h, Colormap.m,
  53. CompleteProbeDisplayLabel.h, CompleteProbeDisplayLabel.m,
  54. CompositeItem.h, CompositeItem.m, Entry.h, Entry.m, Form.h,
  55. Form.m, Frame.h, Frame.m, Graph.h, Graph.m, Histogram.h,
  56. Histogram.m, InputWidget.h, InputWidget.m, Label.h, Label.m,
  57. Line.h, Line.m, LinkItem.h, LinkItem.m, MessageProbeEntry.h,
  58. MessageProbeEntry.m, NodeItem.h, NodeItem.m, OvalNodeItem.h,
  59. OvalNodeItem.m, Pixmap.h, Pixmap.m, ProbeCanvas.h, ProbeCanvas.m,
  60. Raster.h, Raster.m, Rectangle.h, Rectangle.m, RectangleNodeItem.h,
  61. RectangleNodeItem.m, ScheduleItem.h, ScheduleItem.m,
  62. SimpleProbeDisplayHideButton.h, SimpleProbeDisplayHideButton.m,
  63. SuperButton.h, SuperButton.m, TextItem.h, TextItem.m, TkExtra.h,
  64. TkExtra.m, VarProbeEntry.h, VarProbeEntry.m, VarProbeLabel.h,
  65. VarProbeLabel.m, Widget.h, Widget.m, ZoomRaster.h, ZoomRaster.m,
  66. analysis.tcl, common.h, common.m, global.h, internal.h,
  67. internal.m, simtools.tcl, testFrame.m, testGraph.m,
  68. testHistogram.m, testRaster.m, tkobjc.m: Change copyright
  69. statement to canonical version as suggested by GNU GPL.
  70. 2002-01-31  Marcus G. Daniels  <mgd@condor>
  71. * Colormap.m ([Colormap -nextFreeColor]): Ise integer for search.
  72. * internal.m (tkobjc_raster_setColormap): Don't re-initialize 
  73. eraseColor if already set.
  74. * Raster.[hm] (eraseColor): Make it an integer.  Initialize to -1.
  75. 2002-01-14    <mgd@condor>
  76. * Graph.m (getName): Return a new value in scratchZone.
  77. 2001-11-04    <mgd@HELEN>
  78. * Makefile.am: Don't use multi-line values as they confuse Cygwin.
  79. 2001-08-24    <mgd@HELEN>
  80. * win32dib.c: Include win32dib.h.
  81. * win32dib.h (_WIN32): Define if __CYGWIN__ is set.
  82. Temporarily define BOOL around inclusion of misc.h.
  83. * internal.m (tkobjc_raster_clear): Use DefaultColormap macro
  84. instead of screens[0].cmap.
  85. * internal.h (_WIN32): Define if __CYGWIN__ is set.
  86. * Makefile.am (XINCLUDES): Substitute.
  87. (INCLUDES): Add XINCLUDES.
  88. 2001-08-14  Marcus G. Daniels  <mgd@condor.santafe.edu>
  89. * internal.m (tkobjc_pixmap_create_from_widget): Always do
  90. override.
  91. 2001-08-07    <mgd@DRONE>
  92. * internal.m (tkobjc_raster_drawPoint): Fix rgb/bgr problem and
  93. x offset problem in 24 bit mode.
  94. 2001-08-01  Marcus G. Daniels  <mgd@maya.santafe.edu>
  95. * ZoomRaster.m: Scale rectangle, ellipse, and line widths with 
  96. zoom factor.
  97.  
  98. 2001-06-21  Marcus G. Daniels  <mgd@maya.santafe.edu>
  99. * Makefile.am (%_tcl.x): Don't use multi-line string literals.
  100. 2001-05-13  Marcus G. Daniels  <mgd@drone.swarm.org>
  101. * Pixmap.m ([Pixmap -set{Directory,File}:]): Handle NULL arguments.
  102. ([Pixmap +createBegin:]): Copy constant for the sake of the -drop.
  103. 2001-04-18  Marcus G. Daniels  <mgd@forager.swarm.org>
  104. * NodeItem.[hm] ([NodeItem -resetString:]): New method.
  105. * LinkItem.m ([LinkItem +createBegin:]): New method.  Set directedFlag
  106. to YES.
  107. ([LinkItem -createItem], [LinkItem -update]) 
  108. ([LinkItem -setColor:]): Use directedFlag.
  109. ([LinkItem -drop]): Free line1 and line2 if set.
  110. * LinkItem.[hm] ([LinkItem -setDirectedFlag:]): New ivar and setter.
  111. 2001-03-20  Marcus G. Daniels  <mgd@maya.santafe.edu>
  112. * Raster.[mh]: Sync up void returns with ZoomRaster.
  113. * Graph.[hm] ([Graph -setTitle:], [Graph -setAxisLabelsX:Y:]): 
  114. Make return type be an object.
  115. * Histogram.[hm] ([Histogram -setTitle:], [Histogram
  116. -setAxisLabelsX:Y:]): Likewise.
  117. 2001-03-14  Marcus G. Daniels  <mgd@maya.santafe.edu>
  118. * Pixmap.m ([Pixmap -drop]): Drop directory and filename string if set.
  119. ([Pixmap -setDirectory:], [Pixmap -setFile:]): Copy strings.
  120. 2001-03-13  Marcus G. Daniels  <mgd@maya.santafe.edu>
  121. * gui.h, Graph.[hm]: Add setSymbolSize:.
  122. 2001-03-12  Marcus G. Daniels  <mgd@maya.santafe.edu>
  123. * ArchivedGeometryWidget.m, Button.[hm], ButtonPanel.[hm],
  124. CanvasAbstractItem.[hm], CanvasItem.[hm], CheckButton.[hm],
  125. Colormap.[hm], CompositeItem.[hm], Entry.[hm], Form.[hm],
  126. Frame.[hm], Graph.[hm], Histogram.[hm], InputWidget.[hm],
  127. LinkItem.[hm], NodeItem.[hm], Pixmap.[hm], ScheduleItem.[hm],
  128. Widget.[hm], ZoomRaster.[hm]: Eliminate gratuitous object returns
  129. in most using-phase methods.  Use getZone () as appropriate.
  130. 2001-03-03  Marcus G. Daniels  <mgd@maya.santafe.edu>
  131. * NodeItem.m ([NodeItem -setString:], [NodeItem -setFont:]): Copy
  132. string.
  133. ([NodeItem -drop]): And drop them.
  134. 2001-02-07  Marcus G. Daniels  <mgd@forager.swarm.org>
  135. * VarProbeEntry.m ([VarProbeEntry -createEnd]): Don't crash if
  136. no probedType set.
  137. 2000-12-03  Marcus G. Daniels  <mgd@drone.swarm.org>
  138. * ScheduleItem.m ([ScheduleItem -_createItem_]): Use conformsTo
  139. instead of isKindOf for matching ActionConcurrent.
  140. 2000-10-01  Marcus G. Daniels  <mgd@drone.swarm.org>
  141. * internal.m (tkobjc_setName): Simplfy string build expression.
  142. 2000-09-20  Marcus G. Daniels  <mgd@forager.swarm.org>
  143. * Widget.m ([Widget -setWidth:Height:]): Use to setWindowGeometry:
  144. when widget has no parent.
  145. * ArchivedGeometryWidget.[hm] ([ArchivedGeometryWidget -updateSize]): 
  146. New method.
  147. * ArchivedWidget.m ([ArchivedGeometryWidget -registerAndLoad]):
  148. Remove size assignment.
  149. * Raster.m ([Raster -createEnd]): Call updateSize.
  150. * Histogram.m ([Histogram -createEnd]): Likewise.
  151. * Graph.m ([Graph -createEnd]): Likewise.
  152. * Canvas.m ([Canvas -createEnd]): Likewise.
  153. * WindowGeometryRecord.m ([WindowGeometryRecord -lispOutShallow:]): 
  154. Use catInt: for x and y.
  155. 2000-09-18  Marcus G. Daniels  <mgd@forager.swarm.org>
  156. * Makefile.am (INCLUDES): Add -I$(srcdir)/../simtoolsgui.
  157. 2000-06-29    <mgd@DRONE>
  158. * ArchivedGeometryWidget.[hm]
  159. ([ArchivedGeometryWidget -updateArchiver:]): Remove return type.
  160. 2000-06-14    <mgd@DRONE>
  161. * ScheduleItem.m: Include tkobjc/CanvasItem.h.
  162. (canvasItemDestroyNotify): Get item from obj.  Don't use drop
  163. method here.
  164. ([ScheduleItem -update]): Don't drop line, minTextItem, and
  165. maxTextItem here.
  166. ([ScheduleItem -_createItem_]): Pass canvas to canvasItemDestroyNotify
  167. addRef.  Create refs for minTextItem and maxTextItem.
  168. * CanvasItem.m: Include defobj/defalloc.h.
  169. ([CanvasItem -createEnd]): Call setMappedAlloc.
  170. ([CanvasItem -mapAllocations:]): New method.
  171. ([CanvasItem -dropAllocations:]): New method.  Free item here.
  172. ([CanvasItem -drop]): Not here.
  173. * CanvasItem.h (CanvasItem): Make item public.
  174. 2000-05-22  Marcus G. Daniels  <mgd@nest.swarm.org>
  175. * common.[hm] (tkobjc_createText): Add zone argument.
  176. * NodeItem.m ([NodeItem -createText], [NodeItem
  177. -createPaddedText]): Modify per tkobjc_createText change.
  178. ([NodeItem -drop]): Free text and item.
  179. * TextItem.m ([TextItem -createItem]): Likewise.
  180. * CanvasItem.m ([CanvasItem -drop]): Free item and call drop.
  181. * CanvasAbstractItem.m ([CanvasAbstractItem -createEnd]): 
  182. Call createEnd.
  183. 2000-04-20    <mgd@nest.swarm.org>
  184. * Widget.m ([Widget -setWindowGeometry:], [Widget
  185. -setWindowTitle:]): Use {} instead of "" quoting.
  186. * Button.m ([Button -setText:], [Button
  187. -setButtonTarget:method:]): Likewise.
  188. * TkExtra.m (setBltLibrary): Likewise.
  189. * Raster.m ([Raster -createEnd]): Likewise.
  190. * Label.m ([Label -setText:]): Likewise.
  191. * Histogram.m ([Histogram -setLabels:count:],
  192. [Histogram -setColors:count:],
  193. [Histogram -setTitle:],
  194. [Histogram -setAxisLabelsX:Y:],
  195. [Histogram -setXaxisMin:max:step:precision:],
  196. [Histogram -setActiveOutlierText:count:]): Likewise.
  197. * Graph.m ([Graph -setTitle:], [Graph -setAxisLabelsX:Y:]): Likewise.
  198. * Entry.m ([Entry -setValue:]): Likewise.
  199. 2000-03-28    <mgd@nest.swarm.org>
  200. * Makefile.am (REVISION): Swarm 2.1.1 frozen.
  201. 2000-03-25    <mgd@HELEN>
  202. * Makefile.am (TCLFILES): Remove tkbusy.tcl and comm.tcl.
  203. * tkobjc.m: Don't include tkbusy_tcl.x or comm_tcl.x.
  204. (initTkObjc): Don't eval tkbusy_tcl or comm_tcl.
  205. Disable `send'. 
  206. 2000-03-14    <mgd@nest.swarm.org>
  207. * internal.m (tkobjc_pixmap_update_raster): Add check for nil
  208. colormap.  Thanks to Ralf Stephan.
  209. 2000-02-21    <mgd@nest.swarm.org>
  210. * Makefile.am (CURRENT): Bump.  Version 2.1.
  211. Disable optimization for internal.lo when
  212. CONSERVATIVE_OPTIMIZATION automake conditional is set.
  213. 2000-02-18    <mgd@nest.swarm.org>
  214. * ArchivedGeometryWidget.[hm]: Add
  215. +create:setWindowGeometryRecordName:.
  216. * Raster.[hm], ZoomRaster.[hm]: Remove above.
  217. 2000-01-24    <mgd@nest.swarm.org>
  218. * ZoomRaster.m ([ZoomRaster -handleConfigureWidth:Height:]): 
  219. Don't do anything unless configureFlag is set.
  220. * ZoomRaster.[hm] ([ZoomRaster -pack]): Custom method to turn off
  221. window size configuration until pack is called.
  222. * ZoomRaster.h (ZoomRaster): New ivar configureFlag.
  223. 2000-01-20    <mgd@nest.swarm.org>
  224. * win32dib.c (dib_snapshot): height/width was swapped for 
  225. screen snapshot.
  226. * internal.m (win32_pixmap_create_from_window): Likewise.
  227. 2000-01-09    <mgd@nest.swarm.org>
  228. * internal.m (x_get_managed_toplevel_window): Check that a window
  229. with WM_STATE was found and return it (not parent).
  230. (x_get_wm_child): New function.
  231. (x_set_private_colormap): Use it. Disable X{G/S}etWMColormapWindow.
  232. 2000-01-03  Marcus G. Daniels  <mgd@drone.swarm.org>
  233. * WindowGeometryRecord.m ([WindowGeometryRecord -lispOutShallow:]): 
  234. Use catEndQuotedList and catEndMakeInstance instead of catEndExpr.
  235. 1999-12-31  Marcus G. Daniels  <mgd@drone.swarm.org>
  236. * WindowGeometryRecord.m ([WindowGeometryRecord -lispOutShallow:]): Use
  237. new OutputStream methods.
  238. 1999-12-01    <mgd@HELEN>
  239. * TkExtra.m (setBltLibrary): New function.
  240. (ensureBltSupportFiles): Use it.
  241. ([TkExtra -preInitWithArgc:argv:]): Use checkTclLibrary instead of
  242. [info library], remove check for empty [info library].
  243. * win32dib.h: Undef BOOL before including misc.
  244. 1999-11-21  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  245. * internal.m (tkobjc_raster_setColormap): Only set privateColormapFlag
  246. if one was actually made.
  247. 1999-11-19    <mgd@VAIO>
  248. * Makefile.am (INCLUDES): Add JAVAINCLUDES.
  249. 1999-10-20  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  250. * ArchivedGeometryWidget.m, Colormap.[hm], Form.m, InputWidget.m,
  251. Pixmap.m, ScheduleItem.m, common.m, internal.m, tkobjc.m: Use
  252. include not import of internal.h.
  253. * Pixmap.m: Don't include png.h.
  254. (compareRGB): Only define if HAVE_PNG.
  255. ([Pixmap -_loadPNG_]): Raise an error if not HAVE_PNG.
  256. * internal.m (tkobjc_pixmap_create): Likewise.
  257. * internal.h:  Add minimal png types if not HAVE_PNG.
  258. Add multiple include protection.
  259. 1999-10-08  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  260. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  261. -registerAndLoad]): Use top level widget for setting geometry.
  262. 1999-10-03    <mgd@HELEN>
  263. * tkobjc.m (globalTkInterp): Define using externvardef.
  264. * global.h (globalTkInterp, WindowCreation, WindowUsage,
  265. PaletteError, MissingFiles, PixmapError,
  266. WindowGeometryRecordError): Declare using externvar, not extern.
  267. 1999-09-23    <mgd@HELEN>
  268. * win32dib.c (dib_snapshot): Force width of new bitmap (and
  269. buffer) to four byte boundary but only copy the original width
  270. size.
  271. * internal.m (win32_pixmap_create_from_window): Set width
  272. to bmiHead.biWidth after the snapshot; it may have been adjusted
  273. by the backend.
  274. 1999-09-18  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  275. * Swarm 2.0.1 released.
  276. 1999-09-15    <mgd@HELEN>
  277. * internal.m (win32_pixmap_create_from_window): Get width 
  278. and height from GetDeviceCaps when window is desktop.
  279. * win32dib.c (dib_snapshot): Likewise.
  280. 1999-09-14  Alex Lancaster  <alex@santafe.edu>
  281. * Raster.[hm] ([Raster +create:setWindowGeometryRecordName:]): New
  282. factory method.
  283. * ZoomRaster.m ([ZoomRaster
  284. +create:setWindowGeometryRecordName:]): New factory method.
  285. 1999-09-13    <mgd@HELEN>
  286. * Raster.m ([Raster -setWidth:Height:]): Don't copy more
  287. than new size.  When geometry shrinks, make an geometry request to
  288. shrink the toplevel window.
  289. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  290. -setWindowGeometryRecordName:]): Only duplicate if non-NULL.
  291. 1999-09-12  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  292. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  293. -setWindowGeometryRecordName:]): Copy argument.
  294. ([ArchivedGeometryWidget -drop]): Drop it if set.
  295. * WindowGeometryRecord.m ([WindowGeometryRecord -lispIn:]): Use
  296. getQuotedObject for position/size arguments.
  297. 1999-09-07  Alex Lancaster  <alex@santafe.edu>
  298. * ScheduleItem.m ([ScheduleItem -_createItem_]): Use mapBegin:
  299. rather to generate Index, rather than begin: for MapIndex protocol
  300. conformance.
  301. 1999-08-28  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  302. * Swarm 2.0 released.
  303. 1999-08-26    <mgd@HELEN>
  304. * win32dib.[ch]: Avoid BOOL conflicts.
  305. 1999-08-25  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  306. * ScheduleItem.m ([ScheduleItem -_createItem_]): Use getDisplayName
  307. instead of getIdName.
  308. 1999-08-24    <mgd@HELEN>
  309. * TkExtra.m (ensureBltSupportFiles): Use share/blt2.4 instead of
  310. lib/blt2.4.
  311. 1999-08-12  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  312. * WindowGeometryRecord.m (getVal): Don't check type here, -getInteger
  313. will do it.
  314. 1999-08-05  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  315. * Circle.m, ClassHideDisplayButton.m, Histogram.m, Line.m,
  316. LinkItem.m, OvalNodeItem.m, Pixmap.m, Rectangle.m: Include
  317. defobj.h instead of misc.h.
  318. * common.m (tkobjc_dynamicEval): Use SSTRDUP instead of strdup.
  319. (tkobjc_createText): Use OSTRDUP instead of strdup.
  320. * TkExtra.m (ensureBltSupportFiles): Use OSTRDUP instead of strdup.
  321. * TextItem.m: Don't include misc.h.
  322. * ScheduleItem.m ([ScheduleItem -_createItem_]): Use alloc: and free:
  323. instead of xmalloc and XFREE.
  324. * Pixmap.m ([Pixmap -_loadPNG_]): Use alloc: instead of xmalloc.
  325. ([Pixmap -_loadPNG_]): Use free: instead of XFREE.
  326. * ButtonPanel.m: Don't include misc.h.
  327. * OvalNodeItem.m ([OvalNodeItem -createItem]): Use STRDUP and
  328. FREEBLOCK instead of strdup and XFREE.
  329. * RectangleNodeItem.m ([RectangleNodeItem -createItem]): Likewise.
  330. * Circle.m ([Circle -createItem]): Use STRDUP instead of strdup.
  331. * Histogram.m ([Histogram -createEnd]): Likewise.
  332. * Line.m ([Line -createItem]): Likewise.
  333. * LinkItem.m ([LinkItem -createItem]): Likewise.
  334. * Rectangle.m ([Rectangle -createItem]): Likewise.
  335. * Graph.m ([GraphElement -createEnd], [BLTVector -createEnd]):
  336. Use STRDUP instead of strdup.
  337. * ClassDisplayHideButton.m (tkobjc_packForgetArmSuperAndResize): 
  338. Use OSTRDUP instead of strdup.
  339. (tkobjc_packForgetArmSuperAndResize): Use OFREEBLOCK instead of XFREE.
  340. 1999-08-03  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  341. * internal.m (x_get_managed_toplevel_window): Check to see
  342. if return value is root.  If so, go back one.
  343. (tkobjc_pixmap_create_from_widget): Do override_redirect
  344. on topWindow after Map attempt, if map fails, retry once w/ warning.
  345. 1999-08-02  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  346. * internal.m (x_toplevel_p, x_get_parent_function): New functions.
  347. (x_get_managed_toplevel_window): Use them.
  348. (x_set_override_redirect): New function.
  349. (tkobjc_pixmap_create_from_widget): Use it. Don't use Tk "wm frame"
  350. command for X11, use x_get_managed_toplevel_window.
  351. Record last position and parent window in order to reparent
  352. to current root window and then back, when necessary.
  353. 1999-08-01    <mgd@HELEN>
  354. * internal.m (tkobjc_raster_create): Initialize
  355. pm and oldpm to NULL.
  356. * win32dib.[ch] (dib_copy_metadata): New function.
  357. * internal.m (tkobjc_raster_createPixmap): Use it.
  358. * win32dib.c (dib_augmentPalette): Check colormap entries
  359. to see if they are the same -- in that case do nothing.
  360. (dib_copy): Copy dibInfo and colormap.
  361. (dib_destroy): Free colormap if set.
  362. 1999-08-01  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  363. * internal.m (tkobjc_raster_erase): Assume colormap
  364. is set. 
  365. * Raster.m ([Raster -setColormap:]): Remove conditional call to
  366. erase and call to tkobjc_raster_setBackground.
  367. ([Raster -setWidth:Height:]): Remove call to tkobjc_raster_setColormap
  368. and call tkobjc_raster_createPixmap after [super setWidth:Height:].
  369. * ZoomRaster.m (USE_GRID): New macro.
  370. ([ZoomRaster -setZoomFactor:]): Add code to support ZoomRaster
  371. without grid support.  This can work better with the window
  372. manager.
  373. ([ZoomRaster -setWidth:Height:]): Include call to "wm grid" only
  374. if USE_GRID is set.
  375. 1999-07-31    <mgd@HELEN>
  376. * win32dib.c (dib_get_color): In 24 bit case, lookup colorValue
  377. via dib_paletteIndexForObject.
  378. (dib_augmentPalette): Re-use palette position if client object
  379. already present.
  380. * win32dib.[hc] (dib_fill, dib_ellipse, dib_line, dib_rectangle):
  381. Add client object argument.  Use dib_get_color instead of
  382. get_color.
  383. (dib_get_color): Renamed and from private get_color.
  384. * internal.m: Undef BOOL before avoidance set.
  385. (tkobjc_raster_fillRectangle): Add raster argument to
  386. dib_fill.
  387. (tkobjc_raster_ellipse): Add raster argument to dib_ellipse.
  388. (tkobjc_raster_line): Add raster argument to dib_line.
  389. (tkobjc_raster_rectangle): Add raster argument to dib_rectangle.
  390. (tkobjc_raster_drawPoint): Use dib_get_color to set rgb
  391. components.
  392. (tkobjc_raster_setColormap): Always set eraseColor.
  393. * Raster.m ([Raster +createBegin:]): Don't initialize 
  394. eraseColor.
  395. ([Raster -setColormap:]): Do a save/create/copy/drop sequence
  396. to update the colo
  397. * Raster.h (Raster) Use `Color' as type of eraseColor.
  398. 1999-07-31  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  399. * ZoomRaster.m ([ZoomRaster -setZoomFactor:]): When intended
  400. physical geometry differs from actual geometry, tell the 
  401. window manager to force it.
  402. ([ZoomRaster -handleConfigureWidth:Height:]): Compute a new
  403. zoom based on the max {X,Y} physical/logical ratio.
  404. ([ZoomRaster -setWidth:Height:]): Disable gridding.
  405. 1999-07-21  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  406. * TkExtra.m (ensureBltSupportFiles): Guess lib/blt2.4 instead
  407. of share/blt8.0.
  408. 1999-07-20  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  409. * InputWidget.[hm]: Change argument type of linkVariableBoolean:
  410. to unsigned * (from BOOL *).
  411. * TkExtra.m ([TkExtra -preInitWithArgc:argv:]): Import blt::table
  412. namespace.
  413. * Form.[hm]: Rename numEntries to entryCount.  Change type
  414. to unsigned.  Change type of entryWidth to unsigned, and setter.
  415. ([Form -addLineName:Boolean:]): Change type of boolean
  416. argument to unsigned * (not BOOL *).
  417. 1999-07-15  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  418. * Widget.m (makeWidgetName): Use PTRUINTFMT with PTRUINT instead of %p.
  419. * InputWidget.m ([InputWidget -getValue]): Raise a
  420. SubclassMustImplement event.
  421. * Entry.m ([Entry -getValue]): Move from InputWidget.
  422. * CheckButton.h (CheckButton): Declare getValue and setValue:.
  423. * Entry.h (Entry): Declare getValue.
  424. * global.h (TkExtra): Declare variableValue: method. 
  425. * CheckButton.m ([CheckButton -getValue]): New method.  Use 
  426. variableValue:.
  427. 1999-07-06  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  428. * internal.m (tkobjc_animate_message): Be pessimistic that there
  429. won't be enough colors.
  430. (xpmerrcheck): Modify usage to take file and line number instead
  431. of descriptive string.
  432. (XPMERRCHECK): Call xpmerrcheck, passing __FILE__ and __LINE__.
  433. (tkobjc_animate_message, x_pixmap_create_from_window,
  434. tkobjc_pixmap_update_raster): Use XPMERRCHECK instead of xpmerrcheck.
  435. 1999-07-03  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  436. * WindowGeometryRecord.m (getVal): Expect a _C_LNG from ArchiverValue.
  437. 1999-06-20  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  438. * simtools.tcl (gimme_ddobj): Was `gimme' with an argument.
  439. * common.m (tkobjc_drag_and_drop_object): Accommodate.
  440. 1999-06-08  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  441. * simtools.tcl (do_package, do_package_arg): Eliminate window argument.
  442. Get this using [winfo parent $token].
  443. * common.m (oldSetupDragAndDrop, newSetupDragAndDrop): Eliminate
  444. window argument to do_package.
  445. (oldSetupDragAndDropArg, newSetupDragAndDropArg): Likewise for
  446. do_package_arg.
  447. 1999-06-06  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  448. * Makefile.am (noinst_LTLIBRARIES, lib_LTLIBRARIES): Substitute
  449. {inst,noinst}LIBS. 
  450. (EXTRA_LTLIBRARIES): New variable.
  451. (libtkobjc_la_LDFLAGS): Substitute inst_LDFLAGS.
  452. * Entry.m, Form.m: Include misc.h.
  453. 1999-06-05  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  454. * Colormap.m ([Colormap -setColor:ToName:]): Don't mark color
  455. index as set if color lookup fails.
  456. * Colormap.[hm] ([Colormap -unsetColor:]): New method.
  457. Thanks to Ken Cline.
  458. 1999-05-29  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  459. * Makefile.am (INCLUDES): Add -I$(top_builddir)/libobjc.
  460. 1999-05-28  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  461. * tkobjc.h: Replace with error message.
  462. 1999-05-27  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  463. * win32dib.c (dib_snapshot): Select depth from device context
  464. depth (BITSPIXEL).
  465. (dib_snapshot): Move plp to function scope; don't free it until
  466. the end, and only if set.  Make colors by a LPBYTE, not a pointer
  467. to RGBQUAD.  Get rgb values from logical palette (plp).
  468. (dib_augmentPalette): Don't use getcolor to set dibInfo->rgb,
  469. use colormap.
  470. * internal.m (keep_inside_screen): For Windows, use GetDeviceCaps
  471. instead of GetWindowRect for determining desktop pixel size.
  472. (tkobjc_pixmap_save): ncolors <= 256, not < 256.
  473. 1999-05-24  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  474. * Makefile.am (noinst_LTLIBRARIES): Switch from lib_LTLIBRARIES.
  475. 1999-05-04  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  476. * global.h: Extern globalTkInterp and initTkObjc.
  477. 1999-05-01  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  478. * Histogram.[hm] ([Histogram -setBinCount:]): Replaces -setNumBins:.
  479. ([Histogram -setActiveOutlierText:count:]): Change arguments
  480. to be unsigned.
  481. * Histogram.m: Adjust throughout for numBins -> binCount.
  482. * Histogram.h (Histogram): Change numBins to binCount.
  483. 1999-04-29  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  484. * internal.h: Include swarmconfig.h and use HAVE_XPM_H and
  485. HAVE_X11_XPM_H to decide where to include xpm.h from.
  486. 1999-04-28  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  487. * Pixmap.m ([Pixmap -_loadPNG_]): Use PTRUINT as cast intermediary.
  488. * Raster.m: Include swarmconfig.h
  489. ([Raster -handleButton:X:Y:]): Cast x and y to PTRINT before
  490. casting to void *.
  491. * internal.h: Include misc.h before png.h (include standard
  492. headers in a well-behaved way that would otherwise be done 
  493. unprotected in png.h).
  494. 1999-04-27  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  495. * internal.m (tkobjc_pixmap_update_raster): Don't call XFreeColors
  496. with alloc_pixels if alloc_pixels doesn't exist (e.g. Irix 6.5).
  497. (tkobjc_pixmap_update_raster): Likewise don't request
  498. XpmReturnAllocPixels.  [Note: this is untested as to whether a memory
  499. leak occurs on XpmFreeAttributes or not.]
  500. 1999-04-21  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  501. * WindowGeometryRecord.m ([WindowGeometryRecord -lispIn:]): Move 
  502. to setting phase.
  503. 1999-04-19  Marcus G. Daniels  <mgd@helen.santafe.edu>
  504. * LinkItem.m ([LinkItem -createItem]): Add extra parens around
  505. method call arguments to strdup.
  506. * OvalNodeItem.m ([OvalNodeItem -createItem]): Likewise.
  507. * RectangleNodeItem.m ([RectangleNodeItem -createItem]): Likewise.
  508. * common.m (tkobjc_dynamicEval): Likewise.
  509. * common.m (tkobjc_createText): Likewise.
  510. 1999-04-07  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  511. * internal.m (tkobjc_pixmap_update_raster): Put pixmap and mask
  512. frees inside pixmap->display conditional.  In this context, also
  513. call XFreeColors using xpmattrs.{colormap,alloc_pixels,nalloc_pixels}. 
  514. Call XpmFreeAttributes.
  515. * Pixmap.h (Pixmap): Add xpmattrs.
  516. 1999-04-06  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  517. * internal.m (tkobjc_pixmap_update_raster): If pixmap or
  518. mask are set, free them.  Set pixmap->display to current display
  519. (for use with free).
  520. * Pixmap.m ([Pixmap +createBegin:]): Initialize pixmap, mask and
  521. display to zero in non-_WIN32 case.
  522. 1999-03-21  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  523. * internal.m: Hide Rectangle during Win32 header file includes.
  524. 1999-03-16  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  525. * Makefile.am (INCLUDES): Revert last change.
  526. 1999-03-16  Vladimir Jojic  <vjojic@chama.santafe.edu>
  527. * Makefile.am (INCLUDES): Add JAVAINCLUDES.
  528. 1999-03-14  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  529. * Makefile.am (INCLUDES): Add -I for libobjc.
  530. 1999-03-06  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  531. * Makefile.am: Use @CFLAGS_NOWARN_IMPLICIT_INT@ instead of
  532. -Wno-implicit-int.
  533. 1999-02-23  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  534. * Graph.h (GraphElement): Implement GraphElement instead of
  535. _GraphElement.
  536. 1999-02-20  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  537. * Raster.h ([Raster -setWidth:Height:]): Declare.
  538. * Raster.[hm] ([Raster -setWidth:], [Raster -setHeight:]): New methods.
  539. 1999-02-20    <mgd@DELLXPS1>
  540. * win32dib.c (dib_fill): Adjust frameWidth to four byte boundary
  541. and then compute new variable row_width (for 24 bit case), which
  542. is also adjusted to four byte boundary
  543. 1999-02-18    <mgd@HELEN>
  544. * win32dib.c (dib_fill): In 24 bit case, adjust frame width up to
  545. four byte boundary.  Compute ybase from this adjusted width and clipx.
  546. * internal.m (tkobjc_pixmap_create): Round width and row_width
  547. (new variable) up to a four byte boundary.  row_width adjusts
  548. adjusts for 8/24 bit width.  Set new variable row_pos from
  549. row_width * ri and assign color indexes / color values to it.
  550. 1999-02-18  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  551. * win32dib.c (dib_rectangle): Compute ending y using height, not
  552. width.  Thanks to Glen Ropella <gepr@swarm.com>.
  553. 1999-02-08  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  554. * Makefile.am (CURRENT): Bump.  Version 1.4.1.
  555. 1999-02-07  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  556. * ArchivedGeometryWidget.[hm] ([ArchivedGeometryWidget
  557. -updateArchiver:]): Add archiver argument.
  558. 1999-01-23  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  559. * internal.m (raster_private): Add a privateColormapFlag
  560. (tkobjc_raster_create): Initialize it.
  561. (tkobjc_raster_setColormap): If private colormap is created,
  562. set privateColormapFlag.  Don't do it twice.
  563. (tkobjc_raster_drawPoint): Reverse rgb order.
  564. * Colormap.m, Graph.m, Histogram.m, Pixmap.m, Widget.m,
  565. WindowGeometryRecord.m, ZoomRaster.m: Change from raiseEvent:
  566. to raiseEvent().
  567. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  568. -loadWindowGeometryRecord], [ArchivedGeometryWidget
  569. -updateArchiver], [ArchivedGeometryWidget -drop]): 
  570. Use lispArchiver instead of archiver.
  571. * internal.m (x_set_private_colormap, tkobjc_raster_setColormap):
  572. Use WarningMessage instead of Warning.
  573. (xpmerrcheck): Use WarningMessage instead of Warning and
  574. PixmapError instead of Error.
  575. * win32dib.c (get_color): New function.
  576. (dib_augmentPalette, dib_fill, dib_ellipse, dib_line, dib_rectangle): 
  577. Use it.
  578. win32dib.c (dib_fill): Array order is B, G, R.
  579. * win32dib.[ch]: colorMap -> colormap throughout.
  580. * win32dib.[hc] (dib_fill, dib_ellipse, dib_line, dib_rectangle): 
  581. Make color argument an unsigned int.
  582. 1999-01-22  Marcus G. Daniels  <mgd@pojoaque.santafe.edu>
  583. * internal.m (tkobjc_raster_copy): Don't free old pixmap (X11 case).
  584. (tkobjc_raster_setColormap): Raise a warning if colormap is nil.
  585. If unset, set eraseColor to black before augmenting palette;
  586. avoid gratuitous duplication in win32dib palette.
  587. (tkobjc_pixmap_update_raster): Disable palette augments for pixmaps.
  588. * internal.[hm] (tkobjc_raster_dropOldPixmap): New function.
  589. * Raster.m ([Raster -setWidth:Height:]): Use it.
  590. Reset colormap after creating resized pixmap.
  591. * internal.m (setSecondaryPath): Use share/ instead of ../library.
  592. Swarm 1.4 Win32 layout will follow GNU conventions.
  593. * TkExtra.m (ensureBltSupportFiles): Likewise (share/blt8.0).
  594. 1999-01-20  Marcus G. Daniels  <mgd@chama.santafe.edu>
  595. * Makefile.am (CURRENT): Bump.
  596. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  597. -loadWindowGeometryRecord]): Use lispGet: instead of
  598. lispArchiverGet().
  599. ([ArchivedGeometryWidget -updateArchiver]): Likewise.  Use
  600. lispPutShallow: instead of lispArchiverPut().
  601. 1999-01-19  Marcus G. Daniels  <mgd@chama.santafe.edu>
  602. * WindowGeometryRecord.[hm] ([WindowGeometryRecord -lispOutDeep:]): 
  603. ([WindowGeometryRecord -lispOutShallow:]): Split -lispOut:deep:
  604. into two methods.
  605. 1999-01-16  Marcus G. Daniels  <mgd@chama.santafe.edu>
  606. * internal.m: Use raiseEvent macro instead of method throughout.
  607. (tkobjc_pixmap_update_raster): Move call to XpmCreatePixmapFromXpmImage
  608. from tkobjc_pixmap_create.  Set colormap in xpmattrs.  If need be
  609. create a private colormap and retry.
  610. * internal.h: Protect String, Widget, and Object symbols.
  611. 1999-01-15  Marcus G. Daniels  <mgd@chama.santafe.edu>
  612. * internal.m (tkobjc_raster_setColormap): Loop until
  613. Tk_DoOneEvent goes false.
  614. 1999-01-10  Marcus G. Daniels  <mgd@chama.santafe.edu>
  615. * WindowGeometryRecord.[hm] ([WindowGeometryRecord -lispOut:deep:]):
  616. Add deep: option.
  617. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  618. -updateArchiver]): Pass (new) deep-serialize option to
  619. lispArchiverPut.
  620. 1999-01-08  Marcus G. Daniels  <mgd@chama.santafe.edu>
  621. * WindowGeometryRecord.m ([WindowGeometryRecord -lispOut:]): Use
  622. MAKE_INSTANCE_FUNCTION_NAME instead of MAKE_OBJC_FUNCTION_NAME.
  623. 1999-01-06  Marcus G. Daniels  <mgd@chama.santafe.edu>
  624. * Widget.m ([Widget -setParent:]): Check for nil, not 0.
  625. ([Widget -createEnd]): Set shellFrameFlag if parent is nil.
  626. ([Widget -drop]): Use shellFrameFlag to determine if parent
  627. should be dropped.
  628. * Widget.h (Widget): New flag shellFrameFlag.
  629. * Histogram.m ([Histogram +createBegin:]): Initialize numBins
  630. to 0 instead of -1.
  631. ([Histogram -createEnd]): Make i unsigned.
  632. ([Histogram -setLabels:count:], [Histogram -setColors:count:]):
  633. Modulus index by {label,color}Count.  Don't check for
  634. entry of NULL.
  635. ([Histogram -drawHistogramWithInt:], 
  636. [Histogram -drawHistogramWithDouble:],
  637. [Histogram -drawHistogramWithInt:atLocations:],
  638. [Histogram -drawHistogramWithDouble:points:locations]): 
  639. Make i unsigned.
  640. * Histogram.h (Histogram): Make numBins unsigned. 
  641. * Histogram.[hm]: Add count argument to setLabels and setColors.
  642. 1998-12-31  Marcus G. Daniels  <mgd@chama.santafe.edu>
  643. * Widget.m ([Widget -drop]): Handle widgets which had shell
  644. Frames at create time.
  645. 1998-12-18  Marcus G. Daniels  <mgd@chama.santafe.edu>
  646. * ArchivedGeometryWidget.m: Include defobj.h instead of declaring
  647. archiver interface functions.  Use 
  648. ([ArchivedGeometryWidget -loadWindowGeometryRecord], 
  649. [ArchivedGeometryWidget -updateArchiver]): Use lispArchiver{Get,Put}
  650. instead of archiver{Get,Put}.
  651. 1998-12-11  Marcus G. Daniels  <mgd@chama.santafe.edu>
  652. * Colormap.m ([Colormap -setColor:ToRed:Green:Blue:]): Revert
  653. back to #RRGGBB format (for Cygwin Tk).
  654. * internal.[hm] (tkobjc_setColor): New function.  Use XParseColor
  655. for Win32.
  656. * Colormap.m ([Colormap -createEnd]): Remove reference to xwin.
  657. Display and screen are local.
  658. ([Colormap -setColor:ToName:]): Use tkobjc_setColor instead of
  659. using X things directly.  Switch to virtual
  660. colormap and retry if XAllocColor fails -- don't revert to white.
  661. * Colormap.h (Colormap): Remove display and xwin.  Make tkwin
  662. public.
  663. * Makefile.am: Use OBJCFLAGS instead of CFLAGS, and add
  664. -Wno-implicit-int to OBJCFLAGS instead of CPPFLAGS.
  665. 1998-12-10  Marcus G. Daniels  <mgd@chama.santafe.edu>
  666. * Colormap.m ([Colormap -setColor:ToRed:Green:Blue:]): Scale to
  667. 256 but trim at 255.  Use rgb:r/g/b syntax instead of #RRGGBB
  668. syntax.
  669. ([Colormap -setColor:ToName:]): Use XLookupColor, using
  670. screen-matching instead of exact pixel values.
  671. * internal.m (x_get_managed_toplevel_window,
  672. x_set_private_colormap): New internal functions.
  673. (tkobjc_raster_setColormap): Sync up Tk things and call
  674. x_set_private_colormap if it is different from the default.
  675. 1998-11-19  Marcus G. Daniels  <mgd@chama.santafe.edu>
  676. * WindowGeometryRecord.m ([WindowGeometryRecord -lispIn:]): Get
  677. value lists directly from index.
  678. (getValueList): Remove.
  679. 1998-11-18  Marcus G. Daniels  <mgd@chama.santafe.edu>
  680. * Makefile.am: Add -Wno-implicit-int (but this may not be portable
  681. enough).
  682. * WindowGeometryRecord.[hm]: Remove lispInCreate: stub (will 
  683. inherit).
  684. * ArchivedGeometryWidget.h Button.h ButtonPanel.h Canvas.h
  685. CanvasAbstractItem.h CanvasItem.h CheckButton.h Circle.h
  686. ClassDisplayHideButton.h ClassDisplayLabel.h Colormap.h
  687. CompleteProbeDisplayLabel.h CompositeItem.h Entry.h Form.h Frame.h
  688. Graph.h Histogram.h InputWidget.h Label.h Line.h LinkItem.h
  689. MessageProbeEntry.h NodeItem.h OvalNodeItem.h Pixmap.h
  690. ProbeCanvas.h Raster.h Rectangle.h RectangleNodeItem.h
  691. ScheduleItem.h SimpleProbeDisplayHideButton.h SuperButton.h
  692. TextItem.h VarProbeEntry.h VarProbeLabel.h Widget.h
  693. WindowGeometryRecord.h ZoomRaster.h: Conform to respective
  694. external protocol instead of `new features' protocol.
  695. Add phase tags where missing.
  696. * ButtonPanel.m ClassDisplayHideButton.m Circle.m
  697. ClassDisplayLabel.m CompleteProbeDisplayLabel.m CompositeItem.m
  698. Line.m MessageProbeEntry.m OvalNodeItem.m ProbeCanvas.m
  699. Rectangle.m RectangleNodeItem.m ScheduleItem.m
  700. SimpleProbeDisplayHideButton.m SuperButton.m TextItem.m
  701. VarProbeLabel.m: Add phase tags where missing.
  702. 1998-11-17  Marcus G. Daniels  <mgd@chama.santafe.edu>
  703. * WindowGeometryRecord.h (WindowGeometryRecord): Conform to
  704. Serialization protocol.  
  705. * WindowGeometryRecord.[hm]: Handle renames of lisp{in,out} to
  706. lisp{In,Out}.
  707. 1998-11-16  Marcus G. Daniels  <mgd@chama.santafe.edu>
  708. * Widget.m (get_geometry_element): Don't count `-' as a separator.
  709. * WindowGeometryRecord.m: Don't include misc.h.  Include
  710. objc/objc-api.h.
  711. (getVal): Expect ArchiverValue instead of String.
  712. ([WindowGeometryRecord -lispin:]): Expect keyword instead of String.
  713. * WindowGeometryRecord.h: Don't declare +lispin:expr.
  714. * tkobjc.m: Include defobj.h instead of objectbase/Arguments.h.
  715. 1998-11-13  Marcus G. Daniels  <mgd@chama.santafe.edu>
  716. * WindowGeometryRecord.m ([WindowGeometryRecord -lispin:]): Handle
  717. either #: or : keyword syntax.
  718. ([WindowGeometryRecord -lispout:]): Use #: keyword syntax.
  719. Add (make-objc) wrapper.
  720. 1998-11-12  Marcus G. Daniels  <mgd@chama.santafe.edu>
  721. * internal.m: Include defobj.h instead of objectbase/Arguments.h.
  722. * WindowGeometryRecord.[hm] ([WindowGeometryRecord +lispin:expr:]): 
  723. Remove.
  724. ([WindowGeometryRecord -lispin:]): Renamed from -in:.
  725. ([WindowGeometryRecord -lispout:]): Renamed from -out:.
  726. * TkExtra.m: Include defobj.h instead of objectbase.h and
  727. objectbase/Arguments.h.
  728. 1998-11-09  Marcus G. Daniels  <mgd@chama.santafe.edu>
  729. * ScheduleItem.h: Declare _drop_.
  730. * internal.m (tkobjc_pixmap_create): Reverse bit order for paletted
  731. bitmaps (less than 8 bits) for both Unix and Win32 code.
  732. 1998-10-30  Marcus G. Daniels  <mgd@chama.santafe.edu>
  733. * ScheduleItem.m ([ScheduleItem -update]): Set processingUpdate
  734. during duration of method.
  735. ([ScheduleItem -update]): Iterate through pendingEvents, stopping
  736. if pendingDrop occurs (instead of forEach:).
  737. ([ScheduleItem -_drop_]): Contents of previous drop.
  738. ([ScheduleItem -drop]): Call _drop_ if not processingUpdate otherwise
  739. set pendingDrop.
  740. * ScheduleItem.h (ScheduleItem): New status variables
  741. processingUpdate and pendingDrop.
  742. 1998-10-18  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  743. * internal.m (tkobjc_pixmap_create_from_widget): Ignore return
  744. values of XChangeWindowAttributes, XMapWindow, XUnmapWindow -- they
  745. don't have one.
  746. 1998-10-15  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  747. * Makefile.am (CURRENT): Increment.  Swarm 1.3.1 released.
  748. * internal.m (setSecondaryPath): Instead of $SWARMHOME/lib/ 
  749. use $SWARMHOME/../library/$dirname, where dirname is a new argument.
  750. (tkobjc_initTclInterp, tkobjc_initTkInterp): Pass "tcl8.0" and
  751. "tk8.0" respectively as new arguments.
  752. 1998-10-15  Alex Lancaster  <alex@santafe.edu>
  753. * trigger.xpm, schedule.xpm: Add pixmaps to support ScheduleItem
  754. widget.
  755. 1998-10-06  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  756. * Makefile.am (XPMINCLUDES): New substituted variable.
  757. (INCLUDES): Use it.
  758. 1998-10-04  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  759. * Makefile.am (XPMFILES): New variable.
  760. (EXTRA_DIST): Include it.
  761. * TkExtra.m (ensureBltSupportFiles): Check ../BLT/library instead
  762. of lib.  Quote the value for set of blt_library.
  763. 1998-10-04  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  764. * Widget.m (get_geometry_element): Make i unsigned.
  765. * win32dib.h (dib_paletteIndexForObject): Change "for" to "For".
  766. * win32dib.c (dib_snapshot): Remove i.  Initialize holdPal to
  767. NULL.  Cast height to int for comparison with return of GetDIBits.
  768. Don't call SelectObject for holdPal unless it is non-NULL.
  769. (dib_paletteIndexForObject): Make i unsigned.
  770. (dib_fill): Cast width, frameWidth, height, and frameHeight to int
  771. before comparison with x and y.
  772. * internal.m (tkobjc_animate_message): Likewise.  Remove ps.
  773. (tkobjc_pixmap_update_raster): Likewise.
  774. (tkobjc_pixmap_create): Likewise.  Make palette_size unsigned.
  775. (Xfill): Don't define if _WIN32.
  776. (tkobjc_raster_erase): Only define private if _WIN32.
  777. (offset_for_object): Remove.
  778. (tkobjc_pixmap_save): Move ncolors to a scope closer to where
  779. it is used.  Cast ncolors to unsigned for ci loop comparision.
  780. * ScheduleItem.m ([ScheduleItem -_createItem_]): Make key a timeval_t.
  781. 1998-10-03  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  782. * internal.m (tkobjc_raster_setColormap, tkobjc_raster_clear):
  783. Move private into _WIN32, since it is only used there; avoid
  784. warning.
  785. (check_for_overlaps): Remove rr, rb, and root.
  786. (tkobjc_pixmap_create_from_widget): Cast address to int *.
  787. Removed configured.
  788. (tkobjc_pixmap_create): Remove rc.
  789. * WindowGeometryRecord.m (getVal): Reverse logic so that routine
  790. ends with return.
  791. * Widget.m, WindowGeometryRecord.m: Include misc.h.
  792. * ScheduleItem.m: Include internal.h.
  793. ([ScheduleItem -_createItem_]): Initialize max to avoid warning.
  794. Use %lu instead of %d.
  795. * Histogram.m ([Histogram -setNumBins:]): Remove i.
  796. 1998-10-01  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  797. * Pixmap.m ([Pixmap -_loadPNG_]): Handle PNG files with alpha
  798. channel.  Move row_columns initialization to the scope where it is
  799. used.  Check for !PNG_COLOR_TYPE_PALETTE (for rgb or rgb+alpha)
  800. rather than the PNG_COLOR_TYPE_RGB bits, since the latter is a
  801. subset of the former.
  802. 1998-09-30  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  803. * Histogram.[mh] ([Histogram -setNumBins:], [Histogram
  804. -setLabels:], [Histogram -setColors:], [Histogram +createBegin:],
  805. [Histogram -createEnd]):  Split out setNumPoints:Labels:Colors:
  806. into different methods.
  807. 1998-09-28  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  808. * ButtonPanel.m ([ButtonPanel -addButtonName:target:method:]): 
  809. Disabled the "unfortunate" code; it seems that way to me, too.
  810. * Canvas.[hm], Frame.[hm]: Move assertGeometry to Canvas and
  811. call it checkGeometry:.
  812. 1998-09-26  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  813. * internal.m (tkobjc_animate_message): Add support for Win32. 
  814. (tkobjc_animate_message, win32_pixmap_create_from_window,
  815. keep_inside_screen):  Use HWND_DESKTOP instead of GetDesktopWindow.
  816. 1998-09-25  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  817. * internal.m (tkobjc_animate_message): Handle stepFactors
  818. that result in 0 xstep or ystep.  Use sleepTime to handle
  819. slow-stepping `trigger' animation.
  820. (tkobjc_pixmap_create_from_widget): Use deiconify message instead
  821. of doing it by globalTkInterp.
  822. * ScheduleItem.[hm] ([ScheduleItem -getSleepTime]): New method.
  823. * Schedule.m ([ScheduleItem -drop]): Do drops of line,
  824. minTextItem, maxTextItem, and sleepTime manually.
  825. ([ScheduleItem -trigger:X:Y:]): Handle zoomFactor.
  826. * ScheduleItem.h (ScheduleItem): Add line, minTextItem, maxTextItem,
  827. and sleepTime. 
  828. * Frame.h: Remove assertPosition (functionality now
  829. in Canvas as addWidget:X:Y:centerFlag:).
  830. * Canvas.[hm] ([Canvas -addWidget:X:Y:centerFlag:], 
  831. [Canvas -removeWidget:]): New methods.
  832. * ArchivedGeometryWidget.[hm]: Move destroy notifcation
  833. support to Widget.[hm] (drop, getDestroyedFlag, _notify_Target_, 
  834. structure_proc, enableDestroyNotification:notificationMethod:,
  835. disableDestroyNotifcation.
  836. 1998-09-24  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  837. * CompleteProbeDisplayLabel.m: Include misc.h
  838. ([CompleteProbeDisplayLabel -createEnd]): Use targetWidget instead
  839. of probeDisplay.
  840. * CompleteProbeDisplayLabel.[hm] (CompleteProbeDisplayLabel): Remove
  841. probeDisplayManager and setter.  Use an extern to the singleton global
  842. object.
  843. * internal.m (tkobjc_animate_message): Add a flag to select
  844. between trigger and schedule images.
  845. * ScheduleItem.[hm] ([ScheduleItem -trigger:X:Y:]): New method.
  846. 1998-09-23  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  847. * internal.[hm]: New function tkobjc_animate_message (only X support).
  848. * ScheduleItem.m (PendingEvent): Add.  Add getXForBar, getYForTime,
  849. and at:owner:widget:x:y:.
  850. * CanvasAbstractItem.[hm]: New method getCanvas.
  851. 1998-09-22  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  852. * ScheduleItem.[hm]: New files.
  853. * TextItem.h (TextItem): Add centeredFlag ivar.
  854. * TextItem.[hm]: New methods +createBegin: and -setCenterFlag:.
  855. * NodeItem.m ([NodeItem -createText],
  856. [NodeItem -createPaddedText]): Pass YES for centerFlag to
  857. tkobjc_createText.
  858. * Makefile.am (SRC, tkobjc_HEADERS): Add ScheduleItem.
  859. * CanvasItem.m ([CanvasItem -drop]): New method.
  860. * CanvasAbstractItem.h (CanvasAbstractItem): Remove item ivar.
  861. * CanvasItem.h, NodeItem.h: Add item var.
  862. * common.[hm] (tkobjc_createText): Add centerFlag for switching
  863. between centered and left justified.
  864. * TextItem.m ([TextItem -createItem]): Pass canvas as first
  865. argument to tkobjc_createText.
  866. * Circle.[hm]: Change argument type of setRadius: to unsigned.
  867. 1998-09-19  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  868. * internal.m (keep_inside_screen):  Account for border width in
  869. X11 version.  Do a Tk event sync after move.
  870. (tkobjc_pixmap_create_from_widget): In X11 version, do
  871. keep_inside_screen before check_for_overlaps so that
  872. coordinate comparisons will be what they ultimately must.
  873. In Win32 version, call keep_inside_screen with topWindow.
  874. Call SetWindowPos to make topWindow topmost for snapshot.
  875. Do Tk sync and GdiFlush before snapshot.
  876. 1998-09-17  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  877. * Pixmap.[hm] ([Pixmap -setDecorationsFlag:], [Pixmap +createBegin:],
  878. [Pixmap -createEnd], Pixmap): parentFlag is now decorationsFlag.
  879. * internal.m (tkobjc_pixmap_create_from_widget):
  880. Add Exposure binding to set obscured, since Visibility 
  881. doesn't seem to get sent if a move occurs while already 
  882. underneath a window being kept on top by the window manager.
  883. (win32_pixmap_create_from_window, tkobjc_pixmap_create_from_widget): 
  884. Rename parentFlag to decorationsFlag.
  885. 1998-09-16  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  886. * internal.m (overlap_p): Pass parent as second argument compare
  887. with child before accepting.
  888. (check_for_overlaps): Rename unmappedWindows and unmappedCount to
  889. overlapWindows, and overlapCount.
  890. (tkobjc_pixmap_create_from_widget): Use get_top_level_window, and
  891. use it for all WM-related things.  Do keep_inside_screen,
  892. Tk_RestackWindow within override_redirect.  Temporarily map
  893. toplevel window for snapshot (for WMs with virtual desktops).  Use
  894. Visibility binding in Tk to set an obscured flag if restacking
  895. didn't not result in a clean display.  If that happens, retry the
  896. restacking after unmapping all the overlapWindows (and undo when
  897. finished with snapshot).  Undo Tk Visibility binding when done.
  898. Copy keep_inside_screen and Tk_RestackWindow to win32 version.
  899. 1998-09-15  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  900. * internal.m (overlap_p, check_for_overlaps): New functions.
  901. (tkobjc_pixmap_create_from_widget): Save override_redirect flag,
  902. check for visible, depth > 0 windows with overlapping areas,
  903. then for each set override_redirect, and unmap.
  904. Then flush, take a snapshot, and for each remap and restore
  905. its override_redirect.
  906. 1998-09-13  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  907. * win32dib.[ch] (dib_snapshot): Add windowDCFlag.  When
  908. set, use whole window DC, not just contents.
  909. * internal.m (tkobjc_pixmap_save): palbuf needs same scope as
  910. row_pointers.
  911. (keep_inside_screen): Change usage from widget to tkwin and window
  912. arguments (latter serves to distinguish parent from non-parent
  913. snapshots).  Compute relocation to ensure enough is visible for
  914. parent case.
  915. (win32_pixmap_create_from_window): Change usage to take Window,
  916. not a HWND and add parentFlag argument.  Take Window = 0 to mean a
  917. request for root window.  Conditional to get HWND for these cases.
  918. Pass parentFlag to dib_snapshot.
  919. (keep_inside_screen): Handle parent case for Win32.
  920. (tkobjc_pixmap_create_from_widget): Pass parent flag to
  921. win32_pixmap_create_from_window.
  922. * internal.[hm] (tkobjc_pixmap_create_from_widget): New argument
  923. parentFlag.  When set, request the window's parent window, which
  924. is decorated by the window manager.
  925. * Pixmap.m ([Pixmap +createBegin:]): Initialize parentFlag to NO.
  926. ([Pixmap -createEnd]): Pass parentFlag to
  927. tkobjc_pixmap_create_from_widget.
  928. * Pixmap.[hm] ([Pixmap -setParentFlag:]): New method.
  929. 1998-09-12  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  930. * ZoomRaster.m ([ZoomRaster -setWidth:Height:]): Use
  931. logical{Width,Height} to set aspect ratio.
  932. * internal.m (tkobjc_pixmap_create_from_widget): Deiconify,
  933. process events, move, restack and process events again to 
  934. handle iconification, partial-offscreen, and overlap cases.
  935. 1998-09-11  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  936. * internal.m (keep_inside_screen): New function.
  937. (x_pixmap_create_from_window): Use 0/0 for x/y.
  938. (tkobjc_pixmap_create_from_widget): Call keep_inside_screen and then
  939. Tk_RestackWindow.
  940. 1998-09-08  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  941. * WindowGeometryRecord.m (getValueList): Use ARCHIVERLITERALP.
  942. 1998-09-05  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  943. * internal.m (tkobjc_pixmap_save): Abort if ncolors == -1 in X11 case.
  944. * win32dib.c: Use XFREE instead of xfree throughout.
  945. Use LPBYTE instead of BYTE * throughout.
  946. (dib_create): Initialize new slot colorMap to NULL.
  947. (dib_createBitmap): Delete disabled free-if-bitmap-already-exists
  948. code.  Switch to 24 bit count.
  949. (dib_snapshot): Remove unused newColorMap and palette variables.
  950. Remove offs, now unused.  Get pgmp from existing dib->dibInfo.
  951. Don't free it when finished.  Switch to 24 bit count.
  952. Don't augment palette in (new) 24 bit case.
  953. (dib_augmentPalette): Remove "new" prefixing argument variable names.
  954. Don't set DIB color table in 24 bit case.
  955. (dib_fill): Handle 24 bit case.
  956. * win32dib.h (CDIB_PALETTE): Remove.
  957. (dib): Add colorMap.  Use LPBYTE instead of BYTE * throughout.
  958. * internal.m (tkobjc_raster_drawPoint): Handle bitmaps
  959. of 8 (palette) and 24 (rgb) depths.
  960. (tkobjc_pixmap_create): Likewise.
  961. (tkobjc_pixmap_save): Set ncolors to -1 when there's no palette,
  962. e.g. a screen snapshot.
  963. (tkobjc_pixmap_save): Handle > 256 color colormaps and the
  964. absence of colormaps.
  965. 1998-09-04  Marcus G. Daniels  <mgd@helen.santafe.edu>
  966. * internal.m (tkobjc_pixmap_save): Write RGB PNG file when
  967. color count exceeds 256.
  968. 1998-09-03  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  969. * tkobjc.m (initTkObjc): Define fmtx Tcl procedure.
  970. * Histogram.m ([Histogram -setXaxisMin:max:step:precision:]):
  971. New method.
  972. ([Histogram -setXaxisMin:max:step:]): Use it with a default of 3
  973. for precision.
  974. * Widget.[hm]: Remove static typing from arguments to -setParent:,
  975. +createParent: and from return values of -getParent and -getTopLevel.
  976. 1998-08-24  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  977. * Makefile.am (CURRENT): Increment.  Swarm 1.3 released.
  978. 1998-08-21  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  979. * ClassDisplayHideButton.m (tkobjc_packForgetArmSuperAndResize): 
  980. Use XFREE instead of xfree.
  981. * RectangleNodeItem.m ([RectangleNodeItem -createItem]): Likewise.
  982. * Pixmap.m ([Pixmap -_loadPNG_]): Likewise.
  983. * OvalNodeItem.m ([OvalNodeItem -createItem]): Likewise.
  984. 1998-08-19  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  985. * Pixmap.m ([Pixmap +createBegin:]): Default directory to ./.
  986. ([Pixmap -_loadPNG_]): Prepend directory to filename.
  987. * Pixmap.[hm]: Add setDirectory:. 
  988. 1998-08-18  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  989. * internal.m (tkobjc_pixmap_update_raster): Don't augment
  990. raster palette if it has already been done for this pixmap.
  991. * win32dib.[ch] (dib_paletteIndexForObject): New function.
  992. * Pixmap.[hm] ([Pixmap +createBegin:], [Pixmap -setFile:],
  993. [Pixmap -setWidget:], [Pixmap -createEnd]):
  994. Remove +create:{widget,file} and provide setter methods.
  995. * win32dib.c (dib_copy): Don't update DIB color table.
  996. * internal.m (tkobjc_pixmap_update_raster): Remove raster palette
  997. update code.
  998. * Pixmap.m ([Pixmap -_loadPNG_:]): Remove num_palette and palette
  999. local variables (use ivars).
  1000. ([Pixmap -_loadPNG_:]): Simplified usage of tkobjc_pixmap_create.
  1001. ([Pixmap -setRaster:]): Call new tkobjc_pixmap_update_raster.
  1002. * Pixmap.h (Pixmap): Add palette_size and palette ivars.
  1003. * internal.[hm] (tkobjc_pixmap_create): Drop palette and palette_size
  1004. arguments.  New function tkobjc_pixmap_update_raster.
  1005. 1998-08-17  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1006. * WindowGeometryRecord.m: Include global.h.
  1007. * Pixmap.h: Don't declare PixmapError here.
  1008. * WindowGeometryRecord.h: Don't declare WindowGeometryRecordError here.
  1009. * global.h: Declare PixmapError and WindowGeomtryRecordError here.
  1010. * analysis.tcl: Declare hideOption, hideYes, and hideNo as globals.
  1011. Use throughout for -hide/-mapped.
  1012. * Histogram.m ([Histogram -hideLegend],
  1013. [Histogram -setupActiveOutlierMarker]): Use hide{Option,Yes,No}.
  1014. * tkobjc.m (initTkObjc): Define globals hideOption, hideYes, and 
  1015. hideNo per newBLTp.  Don't include Pixmap.h or WindowGeometryRecord.h.
  1016. 1998-08-14  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1017. * internal.m (tkobjc_initTclInterp, tkobjc_initTkInterp): 
  1018. Set argc to 1.  (We use our own CLI argument processing.)
  1019. 1998-08-11  Marcus G. Daniels  <mgd@helen.santafe.edu>
  1020. * Pixmap.m ([Pixmap -_loadPNG_:]): Initialize row_bytes to zero.
  1021. Return self.
  1022. * internal.m (tkobjc_pixmap_create_from_widget): Add <Widget>
  1023. qualifier to argument.
  1024. * internal.h (tkobjc_pixmap_create_from_widget): Declare.
  1025. 1998-08-10  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1026. * Makefile.am (INCLUDES): Use $(srcdir)/../tclobjc instead of
  1027. $(tclobjcincludedir).
  1028. 1998-08-09  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1029. * WindowGeometryRecord.h, tkobjc.m (WindowGeometryRecordError):
  1030. Declare new error type.
  1031. * tkobjc.m (initTkObjc): Initialize it.
  1032. * WindowGeometryRecord.m (getVal, getValueList,
  1033. [WindowGeometryRecord -in:]): Use it.
  1034. * Widget.m (get_geometry_element): New local function.
  1035. ([Widget -getWidth], [Widget -getHeight], [Widget -getX],
  1036. [Widget -getY]): Use it.
  1037. * internal.[hm] (tkobjc_move): New function.
  1038. 1998-08-08  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1039. * internal.m (x_pixmap_create_from_window): Store
  1040. pixmap->{height,width}.
  1041. * win32dib.c (SNAPSHOTPALETTE): Placeholder for colormap
  1042. entry for palette generated on the fly for snapshot.
  1043. (dib_augmentPalette): Don't create DIB color table if there
  1044. isn't actually a bitmap (the case of a snapshot).
  1045. (dib_destroy): Handle case where bitmap is NULL and bits has
  1046. a value (e.g. a snapshot).
  1047. (dib_snapshot): Don't allocate extra for bitmap data, use permanent
  1048. buffer.  Free pbmp.
  1049. * win32dib.[ch] (dib_snapshot): New function.
  1050. * tkobjc.m: Only include comm_tcl.x and tkbusy_tcl.x when _WIN32.
  1051. * internal.m (x_pixmap_create_from_window): Renamed from
  1052. tkobjc_pixmap_create_from_window.  (Only defined when not _WIN32.)
  1053. (win32_pixmap_create_from_window): New function. (Only defined
  1054. when _WIN32).
  1055. (pixmap_create_from_root_window): Renamed from
  1056. tkobjc_pixmap_create_from_root_window and made static.
  1057. (tkobjc_pixmap_create_from_widget): Handle case above.  Add support
  1058. for Win32.
  1059. (tkobjc_pixmap_save): Reorganize to handle both X11 and Win32.
  1060. (tkobjc_pixmap_drop): Drop dib for Win32.
  1061. * Pixmap.m ([Pixmap +create:widget:]): Use only
  1062. tkobjc_pixmap_create_from_widget.
  1063. 1998-08-07  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1064. * comm.tcl (commConnect): Remove extra brackets around
  1065. non-namespace assignment to port.
  1066. * internal.m (tkobjc_pixmap_save): Add support for writing PNG
  1067. files (only from a XpmImage so far).
  1068. 1998-08-06  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1069. * tkobjc.m: Add PixmapError error variable.
  1070. * internal.m (xpmerrcheck, tkobjc_pixmap_create_from_window): 
  1071. New functions.
  1072. (tkobjc_pixmap_create): image is now an instance variable of
  1073. Pixmap, deference through pixmap. 
  1074. * internal.[hm] (tkobjc_pixmap_create_from_root_window,
  1075. tkobjc_pixmap_save, tkobjc_pixmap_drop): New functions.
  1076. * Pixmap.m ([Pixmap -setFile:]): Remove.  
  1077. ([Pixmap -setRaster:]): Move to using phase.
  1078. ([Pixmap -createEnd]): Remove. 
  1079. ([Pixmap +create:file:]): New method, call _loadPNG_.
  1080. ([Pixmap +create:widget:]): New method.
  1081. ([Pixmap -save:], [Pixmap -_loadPNG_:], [Pixmap -drop]): New methods.
  1082. * Pixmap.h: Declare PixmapError.
  1083. (Pixmap): Remove filename.  Add display and xpmimage.
  1084. Remove createEnd and setFile:.  Add +create:file: and +create:widget:
  1085. and save:.
  1086. 1998-08-05  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1087. * comm.tcl (commConnect): Trap errors from lookup of application
  1088. port, and try non-namespace qualified lookup (shouldn't come up,
  1089. since this script is only used on Windows, and we'll always use
  1090. the latest version of BLT there).
  1091. * Makefile.am (tkobjc.lo): Make this the only thing depending on
  1092. TCLFILES.
  1093. 1998-08-03  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1094. * Pixmap.m ([Pixmap -createEnd]): Move row_columns to block with
  1095. row_pointers, initialize it there, not in RGB vs.  palette
  1096. conditional.  Free row_pointers after the map has been dropped.
  1097. Add sanity check for missing indices for a given RGB triplet.
  1098. 1998-08-02  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1099. * Pixmap.m (compareRGB): New function.
  1100. ([Pixmap -createEnd]): Add support for RGB format PNG files;
  1101. uniquify colors and re-paletteize. 
  1102. * global.h, tkobjc.m (initTkObjc): Add PaletteError.
  1103. * internal.m: Use it.
  1104. 1998-07-23  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1105. * Makefile.am: Add override to append of CFLAGS with X_CFLAGS.
  1106. * TkExtra.m: Don't include unistd.h.
  1107. 1998-07-22  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1108. * Graph.m ([Graph -setRangesXMin:Max:YMin:Max:]): Use
  1109. setRanges[XY]Min:Max: for the job.
  1110. * Graph.[hm]: Add setRangesXMin:Max:.
  1111. 1998-07-21  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1112. * Graph.m: Don't include stdlib.h.
  1113. * Graph.[hm]: Arguments to setScaleModeX:Y: are now boolean, not
  1114. integers.
  1115. 1998-07-20  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1116. * ButtonPanel.m: Don't include collections/String.h.
  1117. 1998-07-19  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1118. * TkExtra.m ([TkExtra -preInitWithArgc:argv:]): Do namespace
  1119. import for BLT things in the case of BLT 2.4 (as with 8.0-unoff).
  1120. 1998-07-15  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1121. * CompleteProbeDisplayLabel.m ([CompleteProbeDisplayLabel
  1122. -createEnd]): Don't set up drag and drop or class browsing if
  1123. there is no probe object.
  1124. * common.m (tkobjc_dragAndDropTarget, dragAndDropTargetArg): Pass
  1125. window name (%%W) to idReceive:.
  1126. * VarProbeEntry.m ([VarProbeEntry -createEnd]): Replace call
  1127. to getProbedType with ([getVarProbe getProbedType])[0].
  1128. * VarProbeEntry.h (VarProbeEntry): Replace probeType with varProbe.
  1129. * VarProbeEntry.[hm] ([VarProbeEntry -setVarProbe:]): Change accessor
  1130. for same.  Add getVarProbe.
  1131. 1998-07-14  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1132. * simtools.tcl (do_package): Pass window to package:.
  1133. (do_package_arg): Pass window to package:arg:.
  1134. * common.m (oldSetupDragAndDrop, newSetupDragAndDrop): 
  1135.  Pass %%W to do_package.
  1136.  (oldSetupDragAndDropArg, newSetupDragAndDropArg): Pass %%W
  1137. to do_package_arg.
  1138. (tkobjc_bindButton3ToSpawn): Pass widgetName to Spawn:.
  1139. (tkobjc_bindButton3ToArgSpawn): Pass widgetName to argSpawn:arg:.
  1140. Focus on widget, not self.
  1141. * VarProbeEntry.m (tkobjc_bindReturnToSetValue): Use setVariableValue:
  1142. instead of setValue: (to discriminate different semantics of the
  1143. two calls).
  1144. * Entry.m ([Entry -setValue:]): Reset xview to 0 after inserting
  1145. replacement value.
  1146. 1998-07-08  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1147. * Makefile.am (TCLFILES): Name the Tcl files here, use in EXTRADIST.
  1148. ($(libtkobjc_la_OBJECTS)): Depend on _tcl.x files.
  1149. 1998-07-07  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1150. * Graph.[hm] (-createElement, -destroyElement:, -setOwnerGraph:,
  1151. +createOwnerGraph:): Change to use of an object conforming to the
  1152. GraphElement protocol, not a statically-typed object.
  1153. (GraphElement): Make ownerGraph an object that conforms to the
  1154. Graph protocol instead of being statically typed.
  1155. 1998-07-06  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1156. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  1157. -registerAndLoad]): Use it to override class and resource names
  1158. provided by Tk.
  1159. * internal.[hm] (tkobjc_setName): New function to set 
  1160. class name from application name and mode, as well as the resource
  1161. name, if supplied.
  1162. 1998-07-01  Marcus G. Daniels  <mgd@ute.santafe.edu>
  1163. * WindowGeometryRecord.m ([WindowGeometryRecord -in:]): Recognize
  1164. :position and :size keywords.
  1165. (getVal, getValueList): New functions.
  1166. ([WindowGeometryRecord -out:]): Modify to output :size and :position
  1167. lists per sizeFlag and positionFlag.
  1168. * WindowGeometryRecord.h (WindowGeometryRecord): New ivars
  1169. positionFlag and sizeFlag.
  1170. * WindowGeometryRecord.[hm]: Remove -getWindowGeometry and
  1171. -setWindowGeometry:.  Add setX:Y:, setWidth:Height:, -getX, -getY,
  1172. -getWidth, -getHeight, -getSizeFlag, -getPositionFlag.
  1173. * Widget.[hm]: Remove "position" from name of getPositionX,
  1174. getPositionY, and setPositionX:Y:.
  1175. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  1176. -setSaveSizeFlag:]):  New method.
  1177. ([ArchivedGeometryWidget -registerAndLoad]): Check to see
  1178. if size or position are set in geometry record, and if so set them
  1179. in the widget.
  1180. ([ArchivedGeometryWidget -updateArchiver]): Use setWidth:Height: 
  1181. instead of setWindowGeometry:.
  1182. * ArchivedGeometryWidget.h (ArchivedGeometryWidget): New ivar
  1183. saveSizeFlag.  Declare -setSaveSizeFlag:.
  1184. 1998-06-30  Marcus G. Daniels  <mgd@ute.santafe.edu>
  1185. * TkExtra.m ([TkExtra -getBltFullVersion]): Put blt_versions
  1186. variable name in scratch buffer before handing it to Tcl_GetVar.
  1187. 1998-06-25  Marcus G. Daniels  <mgd@ute.santafe.edu>
  1188. * WindowGeometryRecord.m ([WindowGeometryRecord
  1189. -setWindowGeometry:]): Don't use LiteralString, just tweak
  1190. literal flag.
  1191. 1998-06-24  Marcus G. Daniels  <mgd@ute.santafe.edu>
  1192. * internal.m: Make private_raster_t access visible for
  1193. all code that needs it (both X11 and Win32 backends).
  1194. * Makefile.am (EXTRA_DIST): Include tcl files.
  1195. (lib_LIBRARIES, libtkobjc_a_SOURCES): Remove.
  1196. (%_tcl.x): New rule.
  1197. (SUBDIRS): Add tk.
  1198. (PNGINCLUDES, ZLIBINCLUDES): Add (substitutions).
  1199. * WindowGeometryRecord.m ([WindowGeometryRecord
  1200. -setWindowGeometry:]): Use create:setC: instead of two calls.
  1201. * Pixmap.m: Include Pixmap.h first.
  1202. * InputWidget.m: Include InputWidget.h first.
  1203. 1998-06-23  Marcus G. Daniels  <mgd@ute.santafe.edu>
  1204. * Makefile.am (lib_LTLIBRARIES, libtkobjc_la_SOURCES,
  1205. libtkobjc_la_LDFLAGS, SRC, CURRENT, REVISION, AGE): New variables.
  1206. Set *_SOURCES from SRC.
  1207. 1998-06-22  Marcus G. Daniels  <mgd@ute.santafe.edu>
  1208. * Makefile: Remove.
  1209. * internal.m: Declare raster_private_t.
  1210. (tkobjc_raster_create): New function.
  1211. (tkobjc_raster_erase, tkobjc_raster_fillRectangle,
  1212. tkobjc_raster_ellipse, tkobjc_raster_line,
  1213. tkobjc_raster_rectangle, tkobjc_raster_drawPoint,
  1214. tkobjc_raster_createContext, tkobjc_raster_setColormap,
  1215. tkobjc_raster_createPixmap, tkobjc_raster_setBackground,
  1216. tkobjc_raster_flush, tkobjc_raster_savePixmap, tkobjc_raster_copy,
  1217. tkobjc_pixmap_create, tkobjc_pixmap_draw): Indirect gc, pm, oldpm,
  1218. tkwin through private.
  1219. * internal.h: Declare tkobjc_raster_create.
  1220. * Raster.h: Don't include internal.h.
  1221. (Raster): Declare only private (not pm, oldpm, tkwin and gc).
  1222. * Raster.m ([Raster -createEnd]): Use tkobjc_raster_create,
  1223. instead of using Tk functions directly.
  1224. 1998-06-21  Marcus G. Daniels  <mgd@ute.santafe.edu>
  1225. * Makefile.am: New file.
  1226. 1998-05-28  Marcus G. Daniels  <mgd@ute.santafe.edu>
  1227. * win32dib.[ch]: Include contents only if _WIN32.
  1228. * Graph.m: Include collections.h.
  1229. 1998-05-22  Marcus G. Daniels  <mgd@ute.santafe.edu>
  1230. * ArchivedGeometryWidget.m: Add phase tags.
  1231. 1998-05-06  Marcus G. Daniels  <mgd@ute.santafe.edu>
  1232. * Button.m, ButtonPanel.m, Canvas.m, CanvasAbstractItem.m,
  1233. CanvasItem.m, CheckButton.m, Circle.m, ClassDisplayHideButton.m,
  1234. ClassDisplayLabel.m, Colormap.m, CompleteProbeDisplayLabel.m,
  1235. CompositeItem.m, Entry.m, Form.m, Frame.m, Graph.m, Histogram.m,
  1236. InputWidget.m, Label.m, Line.m, LinkItem.m, MessageProbeEntry.m,
  1237. NodeItem.m, OvalNodeItem.m, Pixmap.m, ProbeCanvas.m, Raster.m,
  1238. Rectangle.m, RectangleNodeItem.m, SimpleProbeDisplayHideButton.m,
  1239. SuperButton.m, TextItem.m, VarProbeEntry.m, VarProbeLabel.m,
  1240. Widget.m, WindowGeometryRecord.m, ZoomRaster.m:  Add phase tags.
  1241.  
  1242. * CanvasAbstractItem.m, NodeItem.m, WindowGeometryRecord.m,
  1243. ZoomRaster.m: Reorder methods for above.
  1244. 1998-04-23  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1245. * OvalNodeItem.h, RectangleNodeItem.h: Declare createItem.
  1246. * NodeItem.m ([NodeItem -moveX:Y:]): Get canvasName and use it
  1247. instead of calling getWidgetName twice.
  1248. * CanvasAbstractItem.h (CanvasAbstractItem): Add item as an instance
  1249. variable.
  1250. * CanvasItem.h (CanvasItem): Remove item as an instance variable.
  1251. * CanvasItem.[hm]: Don't declare createItem.
  1252. * Circle.[hm]:  Remove reportClick and reportMoveX:Y:.
  1253. * NodeItem.h: Remove item.
  1254. * NodeItem.m (createButton3Binding, createButton1Binding,
  1255. createButton1MotionBinding): New static functions.
  1256. ([NodeItem -createBindings]): Use them.
  1257. 1998-04-22  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1258. * CanvasAbstractItem.[hm]: New files.
  1259. * MessageProbeEntry.[hm]: Rename resultIdFlag to idFlag (and setter).
  1260. * Makefile (OBJECTS, HEADERS): Add CanvasAbstractItem.[oh].
  1261. (CanvasAbstractItem.o): Add.
  1262. * CanvasItem.[hm], CompositeItem.[hm]: Superclass is now
  1263. CanvasAbstractItem.  Remove canvas, target, clickSel, moveSel, and
  1264. postMoveSel instance variables and accessors.  Don't
  1265. declare/define createEnd or clicked.
  1266. * InputWidget.[hm]: linkVariable{Int,Double,Boolean}: now take
  1267. a pointer to the accompanying type as an argument, not void *.
  1268. * Entry.[hm]: Declare/define setHeight: not setWidth:Height:.
  1269. setHeight: now aborts, since Tk doesn't deal with the height of
  1270. an Entry.
  1271. * Form.m ([Form -_addLineName_:Variable:Type:]): Use setWidth:
  1272. not setWidth:Height: since height doesn't work for Tk Entry widgets.
  1273. * Form.[hm]: Rename -addLineName:Variable:Type: to be internal.
  1274. New methods: -addLineName:{Boolean,Int,Double}:.
  1275. 1998-04-21  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1276. * ZoomRaster.m: ([ZoomRaster _setConfigureInfo_:]): Use getObjectName
  1277. instead of getObjcName.
  1278. [ZoomRaster handleConfigureWidth:Height:): Remove debugging code.
  1279. * Widget.m (makeWidgetName): Use getObjectName instead of getObjcName.
  1280. * Widget.h: Remove objcName and getter. 
  1281. * Widget.m: Don't compute objcName.  Remove getter.  Remove drop.
  1282. * Raster.m ([Raster -createEnd]): Use getObjectName instead of
  1283. getObjcName.
  1284. * InputWidget.[hm]: Remove linkVariable:Type:.  New static function
  1285. relink that serves the link methods.
  1286. * InputWidget.m ([InputWidget -createEnd]): Use getObjectName
  1287. instead of getObjcName.
  1288. * SimpleProbeDisplayHideButton.m ([SimpleProbeDisplayHideButton
  1289. -createEnd]): Remove pack to get relative placement of class 
  1290. name and hide button; this is now done in SimpleProbeDisplay.
  1291. * SimpleProbeDisplayHideButton.[hm]: Remove frame and setFrame
  1292. accessor.
  1293. * ClassDisplayHideButton.m (tkobjc_packForgetArmSuperAndResize): 
  1294. Copy the name of the object.
  1295. * ButtonPanel.m ([ButtonPanel -setButtonTarget:]): Assign target
  1296. variable; don't compute targetName.
  1297. ([ButtonPanel -addButtonName:target:method:]): Use
  1298. setButtonTarget:method: not setCommand:.
  1299. ([ButtonPanel -addButtonName:method:]): Use
  1300. addButtonName:target:method:; don't compute command name.
  1301. * ButtonPanel.h (ButtonPanel): Replace targetName with target.
  1302. Replace addButtonName:Command: with addButtonName:target:method:
  1303. and addButtonName:actionName: with addButtonName:method:.
  1304. * Button.m: Include objc-api.h.
  1305. ([Button -setButtonTarget:method:]): Compute command name;
  1306. don't hard code to `dynamic'.
  1307. * Button.[hm]: Remove setCommand:.
  1308. * NodeItem.[hm] ([NodeItem -createPaddedText]): New method.
  1309. * OvalNodeItem.m ([OvalNodeItem -createItem]): Use it.
  1310. * RectangeNodeItem.m ([RectangleNodeItem -createEnd]): Use it.
  1311. * NodeItem.[hm], TextItem.[hm]: Remove gratuitous usingFont
  1312. convenience setter methods.
  1313. * common.[hm] (tkobjc_createText): New function.
  1314. * TextItem.m ([TextItem -createItem]): Use tkobjc_createText.
  1315. * TextItem.[hm]: Reformatting throughout.
  1316. * OvalNodeItem.m ([OvalNodeItem -createItem]): Use -createText.
  1317. * RectangleNodeItem.m ([RectangleNodeItem -createItem]): Likewise.
  1318. * NodeItem.[hm] (-createText): New method.  Reformatting throughout.
  1319. * internal.m (tkobjc_raster_drawPoint): Use color index,
  1320. not pixel value.  (Thanks to Pietro Terna.)
  1321. 1998-04-20  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1322. * internal.m (tkobjc_raster_drawPoint): Don't assign to bit map
  1323. unless point within range.
  1324. * win32dib.c (dib_fill): Add more clipping checking.
  1325. 1998-04-19  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1326. * ZoomRaster.m ([ZoomRaster ellipseX0:Y0:X1:Y1:Width:Color:],
  1327. [ZoomRaster lineX0:Y0:X1:Y1:Width:Color:], 
  1328. [ZoomRaster rectangleX0:Y0:X1:Y1:Width:Color:]): New methods.
  1329. 1998-04-18  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1330. * Raster.m ([Raster -drawPointX:Y:Color:]): Pass a color index,
  1331. not a pixel value to tkobjc_raster_drawPoint.
  1332. 1998-04-17  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1333. * common.m: Include internal.h instead of tk.h.
  1334. * Form.m, Histogram.m: Include internal.h not TkExtra.h.
  1335. * ArchivedGeometryWidget.h Button.h ButtonPanel.h Canvas.h
  1336. CanvasItem.h CheckButton.h Circle.h ClassDisplayHideButton.h
  1337. ClassDisplayLabel.h Colormap.h CompleteProbeDisplayLabel.h
  1338. CompositeItem.h Entry.h Form.h Frame.h Graph.h Histogram.h
  1339. InputWidget.h Label.h Line.h LinkItem.h MessageProbeEntry.h
  1340. NodeItem.h OvalNodeItem.h Pixmap.h ProbeCanvas.h Raster.h
  1341. Rectangle.h RectangleNodeItem.h SimpleProbeDisplayHideButton.h
  1342. SuperButton.h TextItem.h VarProbeEntry.h VarProbeLabel.h Widget.h
  1343. WindowGeometryRecord.h ZoomRaster.h: Include gui.h and add
  1344. <_protocol> enforcement.
  1345. * win32dib.[hc] (dib_line, dib_rectangle): New functions.
  1346. * internal.[hm] (tkobjc_raster_line, tkobjc_raster_rectangle): New
  1347. functions.
  1348. * Raster.m ([Raster -setColormap:]): If colormap is nil, call erase.
  1349. * Raster.[hm]: New methods lineX0:Y0:X1:Y1:Width:Color: and
  1350. rectangleX0:Y0:X1:Y1:.
  1351. 1998-04-14  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1352. * testGraph.m, testHistogram.m: Don't include stdio.h, stdlib.h,
  1353. or collections.h.
  1354. * RectangleNodeItem.m: Include Widget.h and global.h.
  1355. * Circle.m, Rectangle.h, RectangleNodeItem.h, TextItem.h: Don't
  1356. include global.h or Widget.h.
  1357. * LinkItem.m: Include NodeItem.h.
  1358. * LinkItem.h: Don't include NodeItem.h.
  1359. * common.m: Include misc.h instead of string.h.
  1360. * CheckButton.m, Entry.m, Form.m: Don't include stdio.h, stdlib.h,
  1361. or string.h.
  1362. * TkExtra.m: Don't include stdarg.h, stdio.h, or string.h. Remove
  1363. duplicate include of unistd.h. 
  1364. * Entry.m: Don't include tclObjc.h or TkInterp.h.
  1365. * Button.m, ButtonPanel.m, Circle.m, ClassDisplayHideButton.m,
  1366. Histogram.m, Line.m, LinkItem.m, OvalNode.m, Rectangle.m,
  1367. RectangleNodeItem.m: Don't include string.h, stdio.h, or stdlib.h.
  1368. Include misc.h.
  1369. * Circle.m, Line.m, Rectangle.h, WindowGeometryRecord.h: Reformatting
  1370. throughout.
  1371. * ClassDisplayHideButton.m (tkobjc_packForgetArmSuperAndResize),
  1372. OvalNode.m (-createItem), RectangleNodeItem.m (-createItem): Use
  1373. xfree instead of free.
  1374. * ClassDisplayHideButton.m:
  1375. (tkobjc_packForgetArmSuperAndResize): Use -getObjectName instead
  1376. of tclObjc_objectToName. 
  1377. (tkobjc_configureWidgetToDrop): Likewise.
  1378. * InputWidget.m: Don't include stdlib.h.  Include misc.h.
  1379. Use xmalloc instead of malloc.
  1380. * CompositeItem.m: Don't include string.h, stdio.h, or stdlib.h.
  1381. Reformatting throughout.
  1382. * ArchivedGeometryWidget.h, Circle.h, Line.h, LinkItem.h,
  1383. NodeItem.h, OvalNodeItem.h, Rectangle.h, RectangleNodeItem.h,
  1384. TextItem.h: Don't include objectbase/SwarmObject.h.
  1385. 1998-04-11  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1386. * win32dib.c (dib_copy): Copy the colormap information.
  1387. 1998-04-10  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1388. * win32dib.h (dib): New members colorMapOffsets, colorMapObjects,
  1389. colorMapBlocks and colorMapSize.
  1390. (dib_setPalette, dib_realizePalette): Remove declarations.
  1391. (dib_copy): Add x, y target offset.
  1392. * win32dib.c (dib_create): Initialize colorMapBlocks,
  1393. colorMapSize, colorMapOffsets, and colorMapObjects to zero.
  1394. (dib_destroy, dib_createBitmap): Handle case that there is no
  1395. window context.
  1396. (dib_augmentPalette): Replaces dib_setPalette.
  1397. (dib_realizePalette): Removed.
  1398. (dib_copy): Add x,y target offset.
  1399. * tkobjc.m (initTkObjc): Set up MissingFiles as an error type.
  1400. * tkobjc.h: Include Pixmap.h.  Never include XDrawer.h or XPixmap.h.
  1401. * internal.m: Include global.h.
  1402. (Xfill, tkobjc_raster_drawPoint): Use X11Pixmap instead of Pixmap
  1403. when appropriate.
  1404. (tkobjc_raster_erase): Allocate erase color using nextFreeColor
  1405. instead of fixing it at 255.  Use fillRectangeX0:Y0:X1:Y1:Color:
  1406. to do erase (for ZoomRaster).
  1407. (tkobjc_raster_setColormap): Use dib_augmentPalette instead of
  1408. bothering with the colormap Tk setup; we're using DIBs anyway.
  1409. (tkobjc_raster_createPixmap): Remove casting between dib and pm.
  1410. (tkobjc_raster_savePixmap): New function.
  1411. (tkobjc_raster_copy): dib_copy now has x, y offset.
  1412. (offset_for_object, tkobjc_pixmap_create, tkobjc_pixmap_draw): New
  1413. functions.
  1414. * internal.h: Define Pixmap as X11Pixmap for duration of
  1415. tk and X11 includes.  Include png.h.  Include tkobjc/Pixmap.h
  1416. and make class object. Declare new functions tkobjc_raster_savePixmap,
  1417. tkobjc_pixmap_create, and tkobjc_pixmap_draw.
  1418. * global.h: Declare MissingFiles as an tkobjc error type.
  1419. * ZoomRaster.m: Don't include Drawer.h, include gui.h
  1420. instead.
  1421. * ZoomRaster.h: Include gui.h to get Drawer protocol.
  1422. * Raster.m ([Raster +createBegin:]): Initialize eraseColor to -1.
  1423. Don't erase; there's not yet a colormap for win32 background.
  1424. ([Raster -setWidth:Height:]): Use new function
  1425. tkobjc_raster_savePixmap.  tkobjc_raster_copy usage is modifed
  1426. to get oldPm from object.
  1427. * Raster.h: Don't include tkobjc/Drawer.h; it's in the gui
  1428. protocol now.
  1429. (Raster): New instance variable oldpm.  Declare pm and oldpm
  1430. as X11Pixmap and void * for Unix and Win32, respectively.
  1431. Add instance variable eraseColor.
  1432. * Makefile (OBJECTS,HEADERS): Add Pixmap.
  1433. * Colormap.[hm] (nextFreeColor): New method.
  1434. * OvalNodeItem.m, TextItem.m (-createItem): Mention that new font
  1435. variable is used here too.
  1436. * RectangleNodeItem.m (-createItem): Use font variable here as well.
  1437. Thu Apr 09 21:56:00 1998    <gepr@swarm.com>
  1438. * NodeItem.[hm], TextItem.[hm]: New methods setText:usingFont: and
  1439. setFont: allow one to specify font to be used.  Added
  1440. corresponding IVar const char *font.
  1441. 1998-04-05  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1442. * ZoomRaster.m ([ZoomRaster -handleConfigureWidth:Height:]): 
  1443. When newHeight exceeds newWidth, make the zoom be the smaller
  1444. (perhaps already adjusted width).
  1445. 1998-04-04  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1446. * ZoomRaster.m: Include Drawer.h.
  1447. ([ZoomRaster -draw:X:Y:]): Define in both X and Win32 cases.
  1448. * XPixmap.m ([XPixmap -createEnd]): Add better error checking
  1449. after XpmReadFileToPixmap.
  1450. ([XPixmap -drawX:Y:raster:]): drawOn:X:Y:GC:Caller renamed to this.
  1451. GC and the pixmap come from looking in the statically typed Raster
  1452. argument.
  1453. * Raster.m ([Raster -draw:X:Y:]): Now calls drawX:Y:raster:,
  1454. not drawOn:X:Y:GC:Caller.  Define in both X and Win32 cases.
  1455. * Raster.h: Include Drawer.h, not XDrawer.h.  Do it in both
  1456. X and Win32 cases.
  1457. (-draw:X:Y:): Make first argument conform to Drawer, not XDrawer
  1458. protocol.  Do it in both X and Win32 cases.
  1459. * Makefile (XDRAWER_H): Remove.  Change to Drawer.h throughout.
  1460. * Drawer.h:  Renamed from XDrawer.h.  Protocol is now consists
  1461. of the method drawX:Y:raster:, not drawOn:X:Y:GC:Caller:.
  1462. 1998-04-02  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1463. * win32dib.[ch] (dib_fill): Make width and height arguments unsigned.
  1464. (dib_ellipse): New function.
  1465. * internal.[hm]: New function tkobjc_raster_ellipse.
  1466. * Raster.[hm]: New method ellipseX0:Y0:X1:Y1:Width:Color:.
  1467. * TkExtra.m (ensureBltSupportFiles): Cope with the inability
  1468. to find the Swarm source tree; use the current directory.
  1469. ([TkExtra -preInitWithArgc:argv:]): Load bltGraph.tcl instead
  1470. of setting up the autoload path.  Look for word.tcl in the
  1471. current directory if there is not value for [info library].
  1472. 1998-03-31  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1473. * ZoomRaster.m ([ZoomRaster -handleConfigureWidth:Height:]): Don't
  1474. adjust newWidth unless there is disagreement between the computed
  1475. width and height zoom.
  1476. 1998-03-29  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1477. * win32dib.c (dib_createBitmap): Round frameWidth up to 4.
  1478. (dib_blit, dib_paintBlit): Round down in case width + x exceeds
  1479. frameWidth.
  1480. * internal.m (tkobjc_raster_clear): New function.
  1481. * internal.h: Declare tkobjc_raster_clear.
  1482. * ZoomRaster.m ([ZoomRaster -_setConfigureInfo_:]): New method.
  1483. ([ZoomRaster -createEnd]): Call _setConfigureInfo_ for Configure
  1484. and Expose instead of just a (inline) Configure.
  1485. ([ZoomRaster -handleConfigureWidth:Height:]): Let newWidth exceed
  1486. newHeight (Win32 seems to like to think better of small window
  1487. widths).
  1488. ([ZoomRaster -handleExposeWidth:Height:]): New method.  Calls
  1489. tkobjc_raster_clear for new extent.
  1490. * ZoomRaster.h: Declare handleExposeWidth:Height:.
  1491. * Raster.m ([Raster +createBegin:]): Define default 
  1492. width and height in a createBegin, not createEnd.
  1493. * Raster.h: Declare createBegin and createEnd.
  1494. 1998-03-20  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1495. * TkExtra.m (ensureBltSupportFiles): Don't call getSwarmHome
  1496. twice; use the local variable.  Duplicate basePath so that it
  1497. may be printed later in a diagnostic message.
  1498. 1998-03-18  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1499. * internal.m: Don't include stdlib.h.
  1500. (setSecondaryPath): Now takes `arguments' argument to get swarmHome
  1501. instead of using SWARMHOME environment variable.
  1502. * TkExtra.m: Include objectbase.h and objectbase/Arguments.h.
  1503. (ensureBltSupportFiles): Enhance to check for usable blt_library
  1504. in swarmHome/lib.  Now takes `arguments' argument.
  1505. 1998-03-17  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1506. * tkobjc.h: Don't include XDrawer.h if Win32.
  1507. * ZoomRaster.m ([ZoomRaster -draw:X:Y:]): Don't define if
  1508. Win32.
  1509. * Raster.m ([Raster -draw:X:Y:]): Don't define if Win32.
  1510. * Raster.h: Don't include XDrawer.h if Win32.  Don't declare
  1511. - draw: (id <XDrawer):X:Y: in Win32.
  1512. * Makefile (XDRAWER_H): Define as XDrawer.h if not Win32. 
  1513. Put XDRAWER_H in BACKEND_H.  Replace XDrawer.h with XDRAWER_H 
  1514. throughout.
  1515. 1998-03-16  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1516. * internal.m: Include stdlib.h (for getenv).
  1517. (setSecondaryPath): New function sets a secondary {TCL,TK}_LIBRARY
  1518. path from $SWARMHOME/lib.
  1519. (tkobjc_initTclInterp, tkobjc_initTkInterp): Use it.
  1520. 1998-03-15  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1521. * internal.m: Include sys/time.h, protecting against redefinition
  1522. of timezone.  Undo (X11) Status define to avoid warnings in
  1523. Win32 header files.
  1524. * win32dib.h: Declare new function dib_copy. 
  1525. Uncomment dib_{un}lock.
  1526. * win32dib.c (dib_fill): Make frameWidth even if it isn't.
  1527. Include starting y offset in base.  
  1528. (dib_{un}lock): Uncomment.
  1529. (dib_copy): New function.
  1530. * internal.m (tkobjc_raster_erase): Reserve 255/black for erasing
  1531. rather than using temporary colormap.
  1532. (tkobjc_raster_copy): Use new function dib_copy to copy
  1533. old pixmap.
  1534. 1998-03-14  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1535. * tkobjc.h: Don't include XPixmap when _WIN32.
  1536. * internal.m: Remove dummy Tcl_{Create,Delete}FileHandler for
  1537. unused BLT bgExec support.
  1538. 1998-03-13  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1539. * internal.h: Move inclusion of Raster and Colormap after inclusion
  1540. of tk.h.
  1541. 1998-03-12  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1542. * ClassDisplayHideButton.m (tkobjc_configureWidgetToDrop): Send
  1543. markForDrop, not drop.
  1544. * win32dib.c: Include win32dib.h not dib.h.
  1545. * Makefile (BACKEND_{H,O}): Renamed from XPIXMAP_{H,O}.  Include
  1546. win32dib.[hm] for gnu-win32.
  1547. * internal.m (Colormap): Define as X11Colormap during inclusion
  1548. of tkWinInt.h.
  1549. (tkobjc_raster_createPixmap): Use renamed tkobjc_raster_setColormap.
  1550. * Makefile: Remove defines for Tk headers.  Make a rule
  1551. for internal.o.
  1552. (XPIXMAP_{H,O}): Define conditionally on MACHTYPE vs i386-pc-cygwin32.
  1553. * internal.m: Include win32dib.h and Tk internal header files only
  1554. if _WIN32.  Include <misc.h>.
  1555. (Xfill): New function.
  1556. (tkobjc_raster_fillRectangle}): Use dib_fill in Win32 case and
  1557. Xfill in X case.
  1558. (tkobjc_raster_erase): In Win32 case, setup a temporary colormap
  1559. and use tkobjc_raster_fillRectangle with index of 0 to erase. 
  1560. In X case, use Xfill.
  1561. (tkobjc_raster_drawPoint,tkobjc_setColormap): New functions.
  1562. (tkobjc_raster_createPixmap, tkobjc_raster_flush): Handle Win32
  1563. case.
  1564. (tkobjc_raster_copy): Disabled in Win32 case.
  1565. (XDrawPoint, XCreatePixmap, XFreePixmap): Remove.
  1566. * internal.h: Include <tkobjc/Colormap.h> and make a @class.
  1567. (tkobjc_raster_{fillRectangle,drawPoint}): Takes a colormap index
  1568. not a PixelValue.
  1569. (tkobjc_raster_{erase,setColormap}): Declare.
  1570. * Raster.m ([Raster -setColormap:]): Call tkobjc_setColormap.
  1571. ([Raster -erase]): Call tkobjc_raster_erase instead of
  1572. tkobjc_raster_fillRectangle.
  1573. ([Raster fillRectangleX0:Y0:X1:Y1:Color:]): Color is now a colormap
  1574. index, not a PixelValue.
  1575. ([Raster -drawSelf]): Remove debug message.
  1576. * Raster.h (Raster): Make colormap public.
  1577. * Colormap.h (Colormap): Make map, isSet, and cmap public.
  1578. * win32dib.[hc]: New files.
  1579. 1998-03-09  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1580. * common.m (tkobjc_updateIdleTasks, tkobjc_releaseAndUpdate):
  1581. Disable use of BLT busy in _WIN32 case.
  1582. * tkbusy.tcl: Note that isbusy isn't implemented.
  1583. * tkobjc.m (initTkObjc): Evaluate comm_tcl, create a comm channel,
  1584. and evaluate tkbusy_tcl in _WIN32 case.
  1585. * Makefile (%_tcl.x): Handle backslashes.
  1586. (tkobjc.o): Depend on comm_tcl.x, tkbusy_tcl.x as well.
  1587. * comm.tcl, tkbusy.tcl: New files.
  1588. 1998-03-06  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1589. * internal.m: Define WindowsArguments as Arguments during load of
  1590. tkWinInt.h.  Define BOOL as BOOL_ during load of tkInt.h.
  1591. Do these includes before Swarm class includes.
  1592. (XDrawPoint, XCreatePixmap, XFreePixmap): New functions for __WIN32_.
  1593. * internal.h: Don't include X11/xpm.h if __WIN32__.
  1594. gnu-win32 B19 supplies X11 header files.  
  1595.         * internal.[hm]: Make width and height arguments unsigned.
  1596. * internal.m: Don't include tkobjc/Widget.m. Include internal.h
  1597. first.  Define BOOL to be BOOL_ to avoid conflict with Xmd.h.
  1598. Include tkInt.h and, if __WIN32__, tkWinInt.h. 
  1599. (tkobjc_linkVar): Make second argument void *.
  1600. tkobjc_raster_{fillRectangle,drawPoint,createContext,createPixmap,
  1601. setBackground,copy,flush}: New functions.
  1602. * internal.h: Define Colormap as X11Colormap before including X11
  1603. things.  Otherwise, don't try to preserve Colormap preprocessor
  1604. definitions.  Include and define Raster class.  Declare
  1605. tkobjc_raster_{fillRectangle,drawPoint,createContext,createPixmap,
  1606. setBackground,copy,flush}.
  1607. * XDrawer.h: Include internal.h instead of X11/Xlib.h.
  1608. * Raster.m ([Raster -createEnd]): Don't set display or xwin
  1609. (variables removed).
  1610. ([Raster -getDisplay]): Removed.
  1611. ([Raster -createEnd]): Use tkobjc_raster_createContext and
  1612. tkobjc_raster_createPixmap instead of calling X primitives.
  1613. ([Raster -setColormap:]): Use tkobjc_raster_setBackground instead
  1614. of using X primitives.
  1615. ([Raster -setWidth:Height:]): Use tkobjc_raster_createPixmap and
  1616. tkobjc_raster_copy instead of using X primitives.
  1617. ([Raster -erase]): Use tkobjc_raster_fillRectangle rather than
  1618. using X primitives.  Don't bother preserving foreground color.
  1619. ([Raster -drawPointX:Y:Color:]): Use tkobjc_raster_drawPoint
  1620. rather than X primitives.
  1621. ([Raster -fillRectangleX0:Y0:X1:Y1:Color:]): Use
  1622. tkobjc_raster_fillRectangle rather than using X primitives.
  1623. ([Raster -drawSelf]): Use tkobjc_raster_flush rather than 
  1624. X primitives.
  1625. * Raster.h (Raster):  Make tkwin, gc, pm, width and height
  1626. public (for access by internal.m routines).  Remove display, and xwin.
  1627. * Colormap.m ([Colormap -setColor:ToName:]): Get xc in two
  1628. steps:  XParseColor and XAllocColor instead of XAllocNamedColor.
  1629. (More precision in error reports and Tk 8 lacks an emulation
  1630. routine for the latter.)
  1631. * Colormap.h: Type of cmap renamed from Colormap_ to X11Colormap.
  1632. 1998-02-27  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1633. * InputWidget.[mh] ([InputWidget -linkVariableDouble:], 
  1634. [InputWidget -linkVariableBoolean:]): New methods.
  1635. * Graph.m: Don't include string.h, stdio.h, or collections.h.
  1636. Include misc.h for strdup.
  1637. * Graph.h (Graph): Add setRangesYMin:Max:.
  1638. 1998-02-24  Alex Lancaster  <alex@santafe.edu>
  1639. * common.[hm] (tkobjc_updateIdleTasks): Renamed from
  1640. (tkobjc_updateIdleTasksAndHold) and parameterized to take an
  1641. argument (int hold) to specify hold status.
  1642. 1998-02-18  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1643. * TkExtra.m ([TkExtra -preInitWithArgc:argv:]): Constify argv.
  1644. * tkobjc.m: Include objectbase/Arguments.h.  Change initTkObjc
  1645. to take an Arguments object.
  1646. * testHistogram.m: Include objectbase/Arguments.h.  Create an
  1647. Arguments object and pass it to initTkObjc.
  1648. * testGraph.m (main): Include objectbase/Arguments.h. Create Graph
  1649. not BLTGraph, and use setTitle: and setAxisLabelsX:Y:.  Create an
  1650. Arguments object and pass it to initTkObjc.
  1651. * testFrame.m (main): Include objectbase/Arguments.h. Use
  1652. initModule(collections) instead of initCollections().  Create an
  1653. Arguments object as pass it to initTkObjc.
  1654. * testRaster.m (main): Likewise.  Use Colormap instead of XColormap.
  1655. * internal.h (tkobjc_initT{cl,k}Interp): Now take id as argument
  1656. instead of argc, argv.
  1657. * internal.m (tkobjc_initT{cl,k}Interp): Likewise.
  1658. * global.h: Add promptAndEval to TkExtra protocol.
  1659. (initTkObjc): Now takes id as argument instead of argc, argv.
  1660. * Makefile (testFrame, testHistogram, testRaster, testGraph): 
  1661. Use -ltkobjc -lsimtools $(LIBS) instead of naming everything
  1662. (simtools is for archiving routines).
  1663. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget -drop]): 
  1664. Disable destroy notification before dropping.
  1665. 1998-02-05  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1666. * tkobjc.m: Include global.h.
  1667. * TkExtra.m ([TkExtra -preInitWithArgc:argv:]): 
  1668. For Tcl 8, preload word.tcl to avoid inexplicable error
  1669. about second argument to tcl_wordBreak{Before,After} with
  1670. first use of a double-click on a VarProbeEntry. 
  1671. Thanks to Paul Johnson for reporting this.
  1672. 1998-02-01  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1673. * Colormap.m ([Colormap -setColor:ToName:]): Remove cast
  1674. to Color for assignment to map[].
  1675. ([Colormap -pixelValue:]): Remove cast to PixelValue for white.
  1676. 1998-01-28  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1677. * TkExtra.m ([TkExtra -preInitWithArgc:argv:]): In 8.0-unoff, 
  1678. don't import everything, just the BLT features we really need.
  1679. 1998-01-27  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1680. * InputWidget.[hm]: New method linkVariableInt:.
  1681. * tkobjc.m (initTkObjc): Remove assignment to Colormap.
  1682. * tkobjc.h: Include tkobjc/Graph.h instead of tkobjc/BLTGraph.h
  1683. and tkobjc/Colormap.h instead of tkobjc/XColormap.h.
  1684. * internal.m: New functions tkobjc_createEventHandler and
  1685. tkobjc_deleteEventHandler.
  1686. * internal.h: Include X11/Xlib.h for XColormap and X11/Xutil.h for
  1687. ZoomRaster.  Include objc/objc.h.  Declare new functions
  1688. tkobjc_createEventHandler and tkobjc_deleteEventHandler.
  1689. * ZoomRaster.m: Reformatting throughout.
  1690. * Widget.m ([Widget -createEnd]): Use getObjectName instead of
  1691. tclObjc_objectToName.  Reformatting throughout.
  1692. * SimpleProbeDisplayHideButton.m ([SimpleProbeDisplayHideButton
  1693. -createEnd]): Use getObjectName instead of tclObjc_objectToName.
  1694. * NodeItem.m:  Don't include string.h, stdio.h, or stdlib.h.
  1695. ([NodeItem -createBindings]): Store widget name and object
  1696. name in variables and use those.  Reformatting throughout.
  1697. * Makefile (OBJECTS, HEADERS): Change BLTGraph to Graph, and
  1698. XColormap to Colormap.
  1699. (Graph.o): Renamed from BLTGraph.o.
  1700. (Colormap.o): Renamed from Colormap.o.
  1701. * CanvasItem.m: Don't include string.h, stdio.h, or stdlib.h.
  1702. ([CanvasItem -createBindings]): Use getObjectName instead of
  1703. tclObjc_objectToName.  Reformatting throughout.
  1704. * Canvas.m: Don't include string.h, stdio.h, or stdlib.h.
  1705. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  1706. -setWindowGeometryRecordName:]): Include internal.h.
  1707. ([ArchivedGeometryWidget -setWindowGeometryRecordName:]): Change
  1708. from "global.h" to tkobjc/global.h.
  1709. ([ArchivedGeometryWidget
  1710. -enableDestroyNotification:notificationMethod:]): Use
  1711. tkobjc_createEventHandler.
  1712. ([ArchivedGeometryWidget -disableDestroyNotification]): Use
  1713. tkobjc_deleteEventHandler.
  1714.   * Graph.[hm]:  Renamed from BLTGraph.[hm].
  1715. * Colormap.[hm]: Renamed from XColormap.[hm].
  1716. * tkobjc.m: Include internal.h and gui.h.  Don't include
  1717. tkobjc/TkExtra.h Define globalTkInterp to conform to the TkExtra
  1718. protocol.
  1719. (initTkObjc): Constify argv.  Use tkobjc_initTclInterp and
  1720. tkobjc_initTkInterp.  Set Colormap to XColormap.
  1721. * global.h: Make globalTkInterp extern conform to TkExtra
  1722. protocol, declared immediately above.  Constify argv argument to
  1723. initTkObjc declaration.
  1724. * common.m: Include defobj.h and tk.h.
  1725. (tkobjc_dragAndDropTarget, dragAndDropTargetArg,
  1726. oldSetupDragAndDrop, newSetupDragAndDrop, oldSetupDragAndDropArg,
  1727. newSetupDragAndDropArg, tkobjc_bindButton3ToSpawn,
  1728. tkobjc_bindButton3ToArgSpawn): Use getObjectName method instead of
  1729. tclObjc_objectToName.
  1730. (tkobjc_drag_and_drop_object): Use new defobj nameToObject
  1731. function instead of tclObjc_nameToObject.
  1732. * common.h: Use #include <objc/objc.h>, not #import <objc/objc.h>.
  1733. * ZoomRaster.m: Don't include string.h, stdio.h, stdlib.h,
  1734. tclObjc.h, tkobjc/TkExtra.h, or X11/Xutil.h.  Include
  1735. internal.h. Reformatting throughout.
  1736. * XPixmap.m ([XPixmap -setFile:]): Include internal.h.
  1737. Don't include tkobjc/TkExtra.h or X11/xpm.h.
  1738. ([XPixmap -createEnd]): Use tkobjc_nameToWindow.
  1739. * XPixmap.h: Include gui.h.  Don't include tk.h.
  1740. * XColormap.m: Don't include TkInterp.h.  Include gui.h.
  1741. ([XColormap -map]): Return PixelValue, again.
  1742. ([XColormap -pixelValue:]): Likewise. 
  1743. ([XColormap -setColor:ToName:]): Use Color not GUI_Color.
  1744. ([XColormap -setColor:ToRed:Green:Blue:]): Likewise.
  1745. ([XColormap -setColor:ToGrey:]): Likewise.
  1746. ([XColormap -white]): Return PixelValue, not GUI_PixelValue.
  1747. ([XColormap -black]): Likewise.
  1748. ([XColormap -colorIsSet:]): Take Color as argument, not GUI_Color.
  1749. * XColormap.h: Don't provide typedefs for PixelValue or Color,
  1750. they come from gui.h now.  map, pixelValue:, white, and black return
  1751. a PixelValue again.  The setColor methods and colorIsSet: once
  1752. again use PixelValue, not GUI_PixelValue.
  1753. * TkExtra.h: Don't include tk.h.
  1754. * SuperButton.m: Don't include tclObjc.h, tkobjc/common.h, stdlib.h,
  1755. or string.h.
  1756. (tkobjc_configureWidgetToPackBeforeAndFillLeftThenDisableAndResize): 
  1757. Don't use tclObjc_objectToName, use getObjectName.
  1758. * Raster.m: Don't include string.h, stdio.h, stdlib.h, tclObjc.h,
  1759. or TkInterp.h.  Include internal.h.
  1760. ([Raster -createEnd]): Use tkobjc_nameToWindow.
  1761. ([Raster -setButton:Client:Message:]): Use ButtonLeft/Middle/Right
  1762. symbols instead of integers in case statement.
  1763. ([Raster -handleButton:X:Y:]): Likewise.
  1764. * Raster.h: Don't include tk.h, or XColormap.h.  Don't
  1765. define ButtonLeft, ButtonMiddle, or ButtonRight, they come
  1766. from gui.h now.  Include internal.h.  Minor reformatting.
  1767. * Makefile (OBJECTS,HEADERS): Add internal.
  1768. (internal.o): Add.
  1769. * InputWidget.m:  Include internal.h.  Don't include TkInterp.h,
  1770. stding.h, or stdio.h.
  1771. ([InputWidget -linkVariable:Type:]): Use tkobjc_unlinkVar and
  1772. tkobjc_linkVar.
  1773. * internal.[hm]:  New files.  These routines encapsulate
  1774. sorts of interpreter access only used internally.  The header
  1775. file loads X headers files, but keeps Colormap free.
  1776. 1998-01-26  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1777. * Histogram.m ([Histogram -hideLegend]): Only use -hide yes
  1778. if using BLT 2.3, not BLT 2.1 or BLT 8.0-unoff.
  1779. * TkExtra.m ([TkExtra -getBltFullVersion]): Check for 8.0 before
  1780. getting the patchlevel; asking for
  1781. blt::blt_versions(BLT_patchlevel) caused Tcl7.6/Tk4.2 to core dump
  1782. in LookupVar.
  1783. 1998-01-25  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1784. * ClassDisplayLabel.[hm], VarProbeLabel.[hm]: New files.
  1785. * Widget.[hm]: Remove enableRelif, setBorderWidth:,
  1786. setupWindowExitColor setupWindowExitColor, and focus.
  1787. * Makefile (OBJECTS,HEADERS): Add ClassDisplayLabel and VarProbeLabel.
  1788. (ClassDisplayLabel.o, VarProbeLabel.o): Add.
  1789. * Label.m: Remove anchorEast, anchorWest, and colorBlue.
  1790. * Label.h: Likewise.  Declare createEnd.
  1791. * Frame.m ([Frame -setBorderWidth:], [Frame -setReliefFlag:]): New
  1792. methods.
  1793. ([Frame -createEnd]): Create relief if reliefFlag is set.
  1794. Set borderwidth if non-zero.
  1795. * Frame.h (Frame):  Add borderWidth and reliefFlag.  Declare
  1796. setters.
  1797. * CompleteProbeDisplayLabel.m ([CompleteProbeDisplayLabel
  1798. -createEnd]): Remove calls to anchorWest and colorBlue, they are
  1799. now inherited.  Replace calls to setupWindow{Entry,Exit}Color with
  1800. direct calls to globalTkInterp; those methods were only used
  1801. here, and therefore have been removed.
  1802. * CompleteProbeDisplayLabel.h: Include ClassDisplayLabel.h instead
  1803. of Label.h. (CompleteProbeDisplayLabel): Inherit from
  1804. ClassDisplayLabel.
  1805. * tkobjc.m: Don't include unistd.h or string.h.
  1806. (ensureBltSupportFiles): Remove.
  1807. (initTkObjc): Don't append $blt_library to auto_path.
  1808. * TkExtra.m: Include unistd.h and string.h.
  1809. (ensureBltSupportFiles): Moved from tkobjc.m.
  1810. ([TkExtra -preInitWithArgc:argv:]): Check to see that Blt_Init
  1811. returns TCL_OK; possibily more strict.  Use getBltFullVersion to
  1812. see BLT is 8.0-unoff.  In that case, import from blt::.  Call
  1813. ensureBltSupportFiles and append $blt_library to autopath.
  1814. ([TkExtra -getBltFullVersion]): New method.
  1815. ([TkExtra -newBLTp]): Return NO in the case of 8.0-unoff; it uses
  1816. the BLT 2.1 semantics.
  1817. * TkExtra.h: Declare getBltFullVersion.
  1818. 1998-01-24  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1819. * SimpleProbeDisplayHideButton.m, ClassDisplayHideButton.m, tkobjc.m:
  1820. Include tkobjc/common.h instead of tkobjc/control.h.
  1821. * XDrawer.h: Reformatting throughout.
  1822. * ClassDisplayHideButton.[hm], CompleteProbeDisplayLabel.[hm],
  1823. MessageProbeEntry.[hm], ProbeCanvas.[hm],
  1824. SimpleProbeDisplayHideButton.[hm],
  1825. SuperButton.[hm],VarProbeEntry.[hm]: New classes to encapsulate
  1826. tkobjc_* functionality and give some explict semantics.
  1827. * Histogram.[hm]:  Renamed from Histo.[hm].
  1828. * tkobjc.m (registerInterp): New static function.
  1829. (initTkObjc): Use registerInterp instead of
  1830. tkobjc_registerCommand.
  1831. * tkobjc.h: Use Histogram.h instead of Histo.h.
  1832. Add ClassDisplayHideButton.h, SimpleProbeDisplayHideButton.h,
  1833. SuperButton.h, MessageProbeEntry.h, VarProbeEntry.h, ProbeCanvas.h.
  1834. Drop DragDrop.h.
  1835. * common.[hm]: Add (remaining tkobjc_* routines from control).
  1836. * control.[hm], DragDrop.[hm]:  Remove.
  1837. * ZoomRaster.h: Reformatting throughout.
  1838. * XColormap.m ([XColormap -map], [XColormap -pixelValue:],
  1839. [XColormap -white], [XColormap -black]): Use GUI_PixelValue for
  1840. return type.
  1841. ([XColormap -setColor:ToName:], [XColormap -colorIsSet:]): Use
  1842. GUI_Color for first argument.
  1843. ([XColormap -setColor:ToRed:Green:Blue:]): Likewise.
  1844. ([XColormap -setColor:ToGrey:]): Likewise.
  1845. * XColormap.h: Include <gui.h>
  1846. Make XColormap conform to <Colormap>.
  1847. Use GUI_PixelValue for map, pixelValue, white, black methods.
  1848. Use GUI_Color for pixelValue for colorIsSet: and setColor methods.
  1849. * Widget.m: Don't include string.h, stdio.h, stdlib.h, stdarg.h,
  1850. tclObjc.h, and TkInterp.h.  Include tkobjc/common.h.
  1851. ([Widget -createEnd]): Use new method setWidgetNameFromParent:
  1852. instead of makeNameFromParentName:.
  1853. ([Widget -pack]): Use tclobjc_pack instead of calling
  1854. globalTkInterp directly.
  1855. (makeWidgetName): New static function (functionality of
  1856. makeNameFromParentName).
  1857. ([Widget -makeWidgetNameFor:], [Widget -setWidgetNameFromParent:],
  1858. [Widget -setWidgetNameFromParentName:], [Widget -packToRight:],
  1859. [Widget -packBeforeAndFillLeft:expand:],
  1860. [Widget -packFillLeft:], [Widget -packFill], [Widget
  1861. -packForgetAndExpand], [Widget -setActiveFlag:], [Widget
  1862. -enableRelief], [Widget -setBorderWidth:], [Widget
  1863. -setupWindowEntryColor], [Widget -setupWindowExitColor], [Widget
  1864. -focus]): New methods for tkobjc_* functionality.
  1865. * Widget.h: New methods packToRight:,
  1866. packBeforeAndFillLeft:expand:, packFillleft:, packFill,
  1867. packForgetAndExpand, setActiveFlag:, enableRelief,
  1868. setBorderWidth:, setupWindowEntryColor, setupWindowExitColor,
  1869. focus, setWidgetNameFromParent:, setWidgetNameFromParentName:,
  1870. makeWidgetNameFor:.
  1871. * Raster.m ([Raster -getColormap]): Return id <Colormap>.
  1872. ([Raster -setColormap:]): Take id <Colormap>.
  1873. * Raster.h: Include gui.h.
  1874. (Raster): Make colormap an id conforming to Colormap protocol
  1875. not a XColormap *.
  1876. getColormap now returns a id <Colormap>.
  1877. setColormap takes a id <Colormap>.
  1878. drawPointX:Y:Color:, fillRectangleX0:Y0:X1:Color:  Use GUI_Color.
  1879. * Makefile (OBJECTS, HEADERS): Add ClassDisplayHideButton,
  1880. SimpleProbeDisplayHideButton, SuperButton, MessageProbeEntry,
  1881. VarProbeEntry, CompleteProbeDisplayLabel, ProbeCanvas, and common.
  1882. Drop DragDrop and control.  Change Histo to Histogram.
  1883. (OTHERCLEAN): Change testHisto to testHistogram.
  1884. (testHistogram): Change from testHisto.
  1885. (Histogram.o): Replaces Histo.o.
  1886. (DragDrop.o, control.o): Drop.
  1887. (ClassDisplayHideButton.o, SimpleProbeDisplayHideButton.o,
  1888. SuperButton.o, MessageProbeEntry.o, VarProbeEntry.o,
  1889. ProbeCanvas.o, common.o): Add.
  1890. * Label.m ([Label -anchorEast], [Label -anchorWest], [Label
  1891. -colorBlue]): New methods to replace tkobjc_* functionality.
  1892. * Label.h: Declare new methods anchorEast, anchorWest, and colorBlue.
  1893. * Frame.m: Don't include string.h, stdio.h, stdlib.h, or
  1894. TkInterp.h.  Include tkobjc/common.h.
  1895. ([Frame -createEnd]): Use new method setWidgetNameFromParentName
  1896. instead of removed makeNameFromParentName.
  1897. ([Frame -createEnd]): Use tkobjc_makeFrame to create a frame
  1898. instead of calling globalTkInterp directly.
  1899. ([Frame -assertPosition], [Frame -assertGeometry], [Frame
  1900. -withdraw], [Frame -deiconify]): New methods replace tkobjc_*
  1901. functionality.
  1902. * Frame.h: Declare new methods assertGeometry, assertPosition,
  1903. withdraw, and deiconify.
  1904. * Entry.m: Reformatting throughout.
  1905. * Entry.h: Declare createEnd, setValue:, and setWidth:.
  1906. * CompositeItem.h: Reformatting throughout.
  1907. * ButtonPanel.m: Don't include tclObjc.h or TkInterp.h.
  1908. ([ButtonPanel -setButtonTarget:]): New method, drop
  1909. setTargetName.
  1910. ([ButtonPanel -addButtonName:actionName:]): Use targetName
  1911. instead of defaultTargetName.
  1912. * ButtonPanel.h: New method setButtonTarget:.
  1913. (ButtonPanel): Rename instance variable defaultTargetName to
  1914. targetName.  Drop setTargetName.
  1915. * Button.m ([Button -createEnd]): Don't include tclObjc.h or
  1916. TkInterp.h.
  1917. ([Button -setButtonTarget:method:]): New method.
  1918. * Button.h: Declare new method setButtonTarget:.
  1919. * BLTGraph.m ([BLTGraph -setTitle:]): Rename from title:.
  1920. ([BLTGraph -setAxisLabelsX:Y:]): Rename from axisLabelsX:Y:.
  1921. * BLTGraph.h: Rename title: to setTitle: and axisLabelsX:Y:
  1922. to setAxisLabelsX:Y:.
  1923. 1998-01-18  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1924. * TkExtra.h, BLTGraph.m, Button.m, ButtonPanel.m, CheckButton.m,
  1925. Entry.m, Form.m, Frame.m, Histo.m, InputWidget.m, Label.m,
  1926. Raster.m, Widget.m, XColormap.m: Tk.h changed to TkInterp.h.
  1927. 1998-01-15  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1928. * tkobjc.m (ensureBltSupportFiles): New function.  Looks for
  1929. bltGraph.tcl and exits with warning message upon failure.
  1930. (initTkObjc): Use above.
  1931. * control.m: Include stdlib.h for free.
  1932. (tkobjc_configureHideBitmap): Use the `hide' bitmap.
  1933. (tkobjc_configureHideButton): Use the `special' bitmap.
  1934. (tkobjc_packForgetArmSuperAndResize): Copy the subclass name
  1935. so that tclObjc_objectToName can be used on owner; free it at the end.
  1936. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  1937. -disableDestroyNotification]): Don't try to disable the event
  1938. handler if already disabled; set destroyNotificationTarget to nil
  1939. after disabling so that we know.
  1940. 1998-01-14  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1941. * Frame.m ([Frame -drop]): Don't destroy if already destroyed.
  1942. * BLTGraph.m ([GraphElement -drop]): Don't delete elements in
  1943. the case the graph has been destroyed.
  1944. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  1945. -getDestroyedFlag]): New method.
  1946. ([ArchivedGeometryWidget +createBegin:]): Initialize destroyedFlag
  1947. to NO.
  1948. ([ArchivedGeometryWidget -drop]): Don't destroy if already
  1949. destroyed.
  1950. ([ArchivedGeometryWidget -_notifyTarget_]): Don't drop (renamed
  1951. method), and pass self as an argument to the notification method.
  1952. (structure_proc): Use renamed _notifyTarget_.
  1953. ([ArchivedGeometryWidget
  1954. -enableDestroyNotification:notificationMethod:]): Don't setup
  1955. handler if target is nil.
  1956. * ArchivedGeometryWidget.h (ArchivedGeometryWidget): Add
  1957. destroyedFlag, and getter.
  1958. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget
  1959. -disableDestroyNotification]):  New method.
  1960. * Frame.m ([Frame -drop]): Call archiverUnregister since we
  1961. aren't calling [super drop].
  1962. 1998-01-12  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1963. * ArchivedGeometryWidget.m (structure_proc): New function.  A
  1964. handler for Structure changes to the widget (e.g. destruction).
  1965. ([ArchivedGeometryWidget -_notifyTargetAndDrop_]): New internal
  1966. method called by above handler.
  1967. ([ArchivedGeometryWidget
  1968. -enableDestroyNotification:notificationMethod:]):  Configures
  1969. an event handler for structure changes, and sets the target
  1970. and method for notification.
  1971. * Raster.m ([Raster -drop]):  Remove. 
  1972. * Raster.[hm]: Reformatting throughout.
  1973. * Frame.m ([Frame -createEnd]): Minor reformatting.
  1974. * Canvas.m ([Canvas -drop]): Remove; leave that to superclass.
  1975. * Canvas.[hm]: Minor reformatting.
  1976. * BLTGraph.m ([GraphElement -drop]): Leave destruction of widget
  1977. to superclass.
  1978. * BLTGraph.[hm]: Minor reformatting.
  1979. * ArchivedGeometryWidget.m ([ArchivedGeometryWidget -drop]): 
  1980. Destroy the parent widget on drop.
  1981. * ArchivedGeometryWidget.h (ArchivedGeometryWidget): Add
  1982. destroyNotificationTarget and destroyNotificationMethod variables, and
  1983. declare enableDestroyNotification.
  1984. * CanvasItem.m ([CanvasItem -createBindings]): Constify temp.
  1985. 1998-01-11  Alex Lancaster  <alex@santafe.edu>
  1986. * Canvas.m: ([Canvas -drop]): Added "destroy" Tk command to
  1987. drop canvas when it is dropped, in the same way as a BLTGraph.
  1988. 1998-01-05  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  1989. * Histo.h (Histo): Subclass from ArchivedGeometryWidget.
  1990. * Canvas.h (Canvas): Likewise.
  1991. * BLTGraph.m ([GraphElement -createEnd]): Use different code
  1992. for setting active line width and symbol between BLT 2.1 and BLT 2.3.
  1993. ([GraphElement -setColor:]): Set the active line color to be the
  1994. same as the inactive line color.  Different versions for BLT 2.1
  1995. and BLT 2.3.
  1996. * DragDrop.m (new_BLT_p): Remove.
  1997. (setupDragAndDrop): Use newBLTp method now in TkExtra.
  1998. (setupDragAndDropArg): Likewise.
  1999. (setupHandler): Likewise.
  2000. * TkExtra.m ([TkExtra -newBLTp]): Move new_BLT_p predicate from
  2001. DragDrop and rename it to newBLTp.
  2002. * TkExtra.h: Add newBLTp.
  2003. 1997-12-16  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2004. * WindowGeometryRecord.h: Remove get_expr_func_t and
  2005. put_string_func_t typedefs.
  2006. 1997-12-11  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2007. * analysis.tcl: Delete troublesome newlines for parameters
  2008. in first line of active_item_info.
  2009. * control.[hm] (tkobjc_setupHistogramActiveOutlierMarker): Use 
  2010. a descriptive name (was tkobjc_setupHistogramMisc).
  2011. 1997-12-10  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2012. * simtools.tcl: Delete extra line in sitecmd.
  2013. * XPixmap.m ([XPixmap -setFile:]): Constify argument.
  2014. Reformatting throughout.
  2015. * XPixmap.h (XPixmap): Constify filename.
  2016. Constify argument to setFile.
  2017. Reformatting throughout.
  2018. * XColormap.m ([XColormap -setColor:ToName:]): Constify ToName
  2019. argument.  Reformatting throughout.
  2020. * XColormap.h: Constify ToName argument to setColor.
  2021. Reformatting throughout.
  2022. * Form.m ([Form -addLineName:Variable:Type:]): Constify first
  2023. argument.  Reformatting throughout.
  2024. * Form.h: Constify first argument to addLineName.
  2025. Reformatting throughout.
  2026. * CanvasItem.m: Reformatting throughout.
  2027. * CanvasItem.h (CanvasItem): Constify item.
  2028. Reformatting throughout.
  2029. * RectangleNodeItem.m ([RectangleNodeItem -createItem]): Cast
  2030. argument to free to void* to avoid warning.
  2031. Reformatting throughout.
  2032. * RectangleNodeItem.h: Reformatting throughout.
  2033. * Rectangle.[hm]: Reformatting throughout.
  2034. * OvalNodeItem.m ([OvalNodeItem -createItem]): Cast argument
  2035. to free to void* to avoid warning. 
  2036. Reformatting throughout.
  2037. * OvalNodeItem.h (NodeItem): Reformatting throughout.
  2038. * NodeItem.m ([NodeItem -setColor:]): Constify argument.
  2039. ([NodeItem -setBorderColor:]): Likewise.
  2040. ([NodeItem -setString:]): Likewise.
  2041. Reformatting throughout.
  2042. * NodeItem.h (NodeItem): Constify text, item and string.
  2043. Constify argument to setString, setColor, and setBorderColor.
  2044. Reformatting throughout.
  2045. * LinkItem.m ([LinkItem -setColor:]): Constify argument.
  2046. Reformatting throughout.
  2047. * LinkItem.h (LinkItem): Constify line1 and line2.
  2048. Constify argument to setColor.
  2049. Reformatting throughout.
  2050. * BLTGraph.m ([BLTGraph -title:]): Constify argument.
  2051. ([BLTGraph -axisLabelsX:Y:]): Constify arguments.
  2052. ([GraphElement -getName]): Constify return.
  2053. ([BLTVector -getName]): Likewise.
  2054. ([GraphElement -setLabel:]): Constify argument.
  2055. ([GraphElement -setColor:]): Likewise.
  2056. ([GraphElement -setSymbol:]): Likewise.
  2057. Reformatting throughout.
  2058. * BLTGraph.h: Constify argument to BLTGraph title.
  2059. Constify arguments to BLTGraph axisLabelsX:Y:.
  2060. (GraphElement): Constify name.
  2061. Constify getName, setLabel, setColor, setSymbol.
  2062. (BLTVector): Constify name.
  2063. Constify getName.
  2064. * Histo.m ([Histo -setNumPoints:Labels:Colors:]): Constify arguments.
  2065. ([Histo -title:]): Constify argument.
  2066. ([Histo -axisLabelsX:Y:]): Constify arguments.
  2067. Reformatting throughout.
  2068. * Histo.h (Histo): Constify elements.
  2069. Constify arguments to setNumPoints.
  2070. Constify argument to title.
  2071. Constify argument to axisLabels.
  2072. Reformatting throughout.
  2073. * control.[hm]: Add new functions tkobjc_setupZoomStack,
  2074. tkobjc_setHistogramBarWidth, tkobjc_setHistogramXaxisRange,
  2075. tkobjc_setupHistogramMisc, tkobjc_setupHistogramLegend,
  2076. tkobjc_histogramActiveItemInfo,
  2077. tkobjc_setHistogramActiveOutlierText.  These features were
  2078. used in the analysis/EZBin and analysis/EZDistribution classes.
  2079. * control.[hm] (tkobjc_gimme_drag_and_drop_object): Renamed from
  2080. tkobjc_gimme_ddobj.
  2081. * DragDrop.m (new_BLT_p): New function.
  2082. (oldSetupDragAndDrop): New function.
  2083. (newSetupDragAndDrop): New function.
  2084. (setupDragAndDrop): New function.
  2085. (oldSetupDragAndDropArg): New function.
  2086. (newSetupDragAndDropArg): New function.
  2087. (setupDragAndDropArg): New function.
  2088. (oldSetupHandler): New function.
  2089. (newSetupHandler): New function.
  2090. (setupHandler): New function.
  2091. (setupDragAndDrop): Use new functions newSetupDragAndDrop and
  2092. oldSetupDragAndDrop.
  2093. (setupDragAndDropArg): New function.
  2094. (dragAndDrop): Use new function setupHandler.
  2095. (dragAndDropArg): Use new functions setupDragAndDropArg and
  2096. setupHandler.
  2097. * WindowGeometryRecord.m: Include collections/predicates.h.
  2098. * TkExtra.m ([TkExtra -preInitWithArgc:argv:]): Constify return
  2099. of preInitWithArgc.  Minor reformatting.
  2100. * tkobjc.m (initTkObjc): Update to renamed tkobjc_registerCommand.
  2101. * simtools.tcl: Add `super' bitmap.
  2102. * control.[hm]: Prefix everybody with "tkobjc_".  Add
  2103. tkobjc_configureHideBitmap, tkobjc_configureSpecialBitmap,
  2104. tkobjc_configureSuperBitmap, tkobjc_configureWidgetToBeep,
  2105. tkobjc_configureWidgetToDrop,
  2106. tkobjc_configureWidgetToPackBeforeAndFillLeftThenDisableAndResize,
  2107. tkobjc_bindButton3ToSpawn, tkobjc_bindButton3ToArgSpawn,
  2108. tkobjc_bindButton3ToBeUnhelpful, tkobjc_bindReturnToSetValue,
  2109. tkobjc_bindKeyReleaseReturnToResetColorAndUpdate,
  2110. tkobjc_bindFocusInToSetSelection,
  2111. tkobjc_bindFocusOutToClearSelection, and tkobjc_gimme_ddobj.
  2112. Renamed tkobjc_bindButton3ForCompleteProbeDisplay from
  2113. configureButton3ForCompleteProbeDisplay, tkobjc_bindWindowEntry
  2114. from configureWindowEntry, tkobjc_bindWindowExit from
  2115. configureWindowExit.
  2116. 1997-12-09  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2117. * control.m (dynamicEval): Add.
  2118. * control.h: Add dynamicEval.
  2119. * InputWidget.m ([InputWidget -setValue:]): Constify argument.
  2120. Reformatting throughout.
  2121. ([InputWidget -linkVariable:Type:]): Cast variableName to char*
  2122. for Tcl_UnlinkVar and TclLinkVar.
  2123. ([InputWidget -createEnd]): Add char * buf variable to
  2124. write the value for variableName.
  2125. * InputWidget.h (InputWidget): Constify variableName.
  2126. Constify argument to setValue.
  2127. Reformatting throughout.
  2128. * Entry.m ([Entry -setValue:]): Constify argument.
  2129. Reformatting throughout.
  2130. * Entry.h (InputWidget): Reformatting throughout.
  2131. * CheckButton.m (stringIsFalse): Constify argument.
  2132. ([CheckButton -setValue:]): Constify argument.
  2133. Reformatting throughout.
  2134. * CheckButton.h: Reformatting throughout.
  2135. * analysis.tcl: New file.
  2136. * simtools.tcl: New file.
  2137. * tkobjc.m: Include tkobjc/control.h.  include simtools_tcl.x and
  2138. analysis_tcl.x.
  2139. (initTkObjc): Add check for batchmode.  In this case, set
  2140. globalTkInterp to Tcl and return.  Remove text of analysis EZBin Tcl
  2141. support routine active_item_info.  Remove disabled BLT-related
  2142. code.  Evaluate simtools_tcl and analysis_tcl.
  2143. * Makefile (tkobjc.o): Add dependencies on generated analysis_tcl.x
  2144. and simtools_tcl.x.  Add rule for conversion of tcl to tcl.x (C strings
  2145. of the files).
  2146. * DragDrop.m: Minor reformatting.
  2147. * Raster.m ([Raster -createEnd]): Cast second argument to
  2148. Tk_NameToWindow to char * to avoid GCC warning.
  2149. Reformatting throughout.
  2150. Mon Dec  8 22:47:34 1997  glen e. p. ropella  <gepr@swarm.com>
  2151. * tkobjc: replaced all instances of swarmobject.h with
  2152. objectbase.h and swarmobject/ with objectbase/
  2153. 1997-12-08  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2154. * control.m: Include <string.h>.
  2155. Move Tcl/Tk from MessageProbeWidget and VarProbeWidget:
  2156. (setAnchorEast): Add.
  2157. (setWidth): Add.
  2158. (setText): Add.
  2159. (ringBell): Add.
  2160. (normalState): Add.
  2161. (disabledState): Add.
  2162. (update): Add.
  2163. (focus): Add.
  2164. * control.h: Declare new functions setAnchorEast, setWidth,
  2165. setText, ringBell, normalState, disabledState, update, and focus.
  2166. * control.m (configureButton3ForCompleteProbeDisplay): Add
  2167. argument, probeDisplayManager, to avoid need for knowledge of
  2168. simtools in tkobjc.  Allocate probeDisplayManager name dynamically.
  2169. * control.h: Add declarations for packForget, deiconify,
  2170. releaseAndUpdate, and updateIdleTasksAndHold.
  2171. (configureButton3ForCompleteProbeDisplay): Add probeDisplayManager
  2172. argument to avoid need for declaration for a simtools object.
  2173. 1997-12-07  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2174. * control.m (releaseAndUpdate, updateIdleTasksAndHold): Add.  
  2175. (These calls to Tcl were made in simtools/ProbeDisplay.m.)
  2176. * Widget.[hm] (Widget): Constify, minor reformatting.
  2177. 1997-12-04  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2178. * Widget.[hm] ([Widget -setWindowGeometry:s]): Constify.
  2179. * TextItem.[hm] ([TextItem -setText:]): Constify setter and
  2180. instance variable.
  2181. * Label.[hm] ([Label -setText:]): Constify.
  2182. * ButtonPanel.[hm] ([ButtonPanel -addButtonName:Command:]): Constify.
  2183. * Button.[hm] ([Button -setText:]): Constify.
  2184. ([Button -setCommand:]): Constify.
  2185. * control.m (configureHideButton): Call markForDrop not drop 
  2186. (for safeprobes).
  2187. * control.[mh]: New files.
  2188. * Makefile (OBJECTS, HEADERS): Add control.[mh], common code from
  2189. SimpleProbeDisplay and CompleteProbeDisplay.
  2190. (control.o): Add.
  2191. * Frame.m ([Frame -drop]): Remove diagnostic.
  2192. * ButtonPanel.m: Include collections/String.h.
  2193. ([ButtonPanel -setTargetName:]): Add.
  2194. ([ButtonPanel -addButtonName:actionName:]): Add.
  2195. * ButtonPanel.h: Declare new methods -setTargetName and 
  2196. -addButtonName: actionName:.
  2197. 1997-11-29  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2198. * Frame.m ([Frame -drop]): Add.  (Only drop if no parent.)
  2199. * Frame.h: Add -(void)drop.
  2200. * Makefile (OBJECTS,HEADER): Add WindowGeometryRecord and
  2201. ArchivedGeometryWidget
  2202. (WindowGeometryRecord.o, ArchivedGeometryWidget.o): Add.
  2203. * tkobjc.h: Include WindowGeometryRecord.h and
  2204. ArchivedGeometryWidget.h.
  2205. * ButtonPanel.m: Remove -createEnd; Frame will take care of it.
  2206. * ButtonPanel.h (Frame): Derive ButtonPanel from Frame, not Widget.
  2207. * Frame.m ([Frame -createEnd]): Call registerAndLoad (since
  2208. ArchivedGeometryWidget's createEnd isn't being called).
  2209. * Frame.h: Inherit from ArchivedGeometryWidget instead of Widget.
  2210. * BLTGraph.h: Likewise.
  2211. * Raster.h: Likewise.
  2212. * WindowGeometryRecord.h: New files.  An object for storing
  2213. geometry information.
  2214. * ArchivedGeometryWidget.[hm]: New files. An enhanced Widget that
  2215. can communicate with the Archiver class (in simtools).
  2216. Fri Nov 28 16:26:44 1997  glen e. p. ropella  <gepr@swarm.com>
  2217. * [Zoom]Raster.[hm] ([-handleButton]): Changed -handleButton
  2218. X and Y arguments from (long) to (int)because of a problem on
  2219. HP/UX.
  2220. 1997-11-16  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2221. * tkobjc.h: Import DragDrop.h.
  2222. 1997-11-16  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2223. * TkExtra.[hm] ([-getBltVersion]): Add routine to return the version
  2224. of BLT being used.
  2225. 1997-11-16  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2226. * DragDrop.[hm]: New files.  Add functions containing the drag&drop
  2227. logic previously found in various classes in simtools/.  These
  2228. functions serve to dynamically adjust to the version of BLT being
  2229. used.
  2230.   
  2231. 1997-11-15  Marcus G. Daniels  <mgd@wijiji.santafe.edu>
  2232. * BLTGraph.m ([GraphElement -createEnd]): In BLT 2.3, the default
  2233. symbol type for lines is now a circle; explicitly specify no
  2234. symbol.