OSDN Git Service

2002-03-07 Martin M. Hunt <hunt@redhat.com>
[pf3gnuchains/sourceware.git] / libgui / ChangeLog
1 2002-03-07  Martin M. Hunt  <hunt@redhat.com>
2
3         * library/balloon.tcl (_set_variable): Set the public
4         variable before calling notifiers.  Set the help text
5         from the public variable afterwards.
6         (BALLOON_command_variable): Fix call with no args to
7         return variable name.
8
9 2002-02-25  Ian Roxborough  <irox@redhat.com>
10
11         * src/library/looknfeel.tcl (standard_look_and_feel):
12         Hard code Windows menu font name to MS Sans Serif 8.
13
14 2002-02-24  Mo DeJong  <supermo@bayarea.net>
15
16         * src/Makefile.am: Add -DSTATIC_BUILD so
17         that no __declspec() is used in function
18         delarations. This fixes the build under VC++.
19         * src/Makefile.in: Regen.
20
21 2002-02-05  Jim Blandy  <jimb@redhat.com>
22
23         De-Cygnify libgui.
24         
25         * library/Makefile.am (guidir): Name dir `redhat', not `cygnus'.
26         * src/Makefile.am (guidir): Same.
27         * library/Makefile.in, src/Makefile.in: Regenerated.
28         * library/sendpr.tcl (itcl_class Sendpr): Update company name in
29         PR headers.
30         * src/paths.c: Rename environment variables CYGNUS_GUI_LIBRARY
31         and CYGNUS_IDE_LIBRARY to REDHAT_GUI_LIBRARY and
32         REDHAT_IDE_LIBRARY.  Name dir `redhat', not `cygnus'.
33
34 2002-01-04  Ian Roxborough  <irox@redhat.com>
35
36         * src/tkCanvEdge.c (CreateEdge, EdgeCoords, ConfigureEdge):
37         Objectify functions to use Tcl_Obj instead of char**.
38
39         * src/tkGraphCanvas.c: Cut and paste parts of the new
40         Tcl8.3 tagsearch code in to replace old.  Rewrite much
41         of the code to use the new tagsearch features.
42
43 2001-10-28  Christopher Faylor  <cgf@redhat.com>
44
45         * configure.in: Modify 2001-10-12 change to check for cygwin host
46         rather than cygwin target.
47         * configure: Regenerate.
48
49 2001-10-26  Keith Seitz  <keiths@redhat.com>
50
51         * configure.in (ac_win_build): Actually want "-DWIN32" with
52         cygwin hosts, not just cygwin targets.
53         * configure: Regenerate.
54
55 2001-10-24  Keith Seitz  <keiths@redhat.com>
56
57         * configure.in (ac_win_build): Put "-DWIN32" back into LIBGUI_CFLAGS.
58         * configure: Regenerate.
59
60 2001-10-12  Christopher Faylor  <cgf@redhat.com>
61
62         * win/configure.in: Add detection for -mwin32 option requirement under
63         cygwin.
64         * win/configure: Regenerate.
65
66 2001-10-10  Ian Roxborough  <irox@redhat.com>
67
68        * library/looknfeel.tcl (standard_look_and_feel):
69        Font changes to improve default look and feel.
70        Increase default font size, use helvetica for
71        menus, status bar and balloon help.
72         
73 2001-09-08  Ian Roxborough <irox@redhat.com>
74
75         * all: Tcl/Tk8.3 upgrade merge.
76
77 2001-09-02  Martin M. Hunt  <hunt@redhat.com>
78
79         * library/panedwindow.tcl (fraction): Remove method.
80         (_resizeArray): Correct calculations of _max
81         and _min for each pane.
82         (_moveSash): Take a third parameter, direction.
83         (_caclPos): Rename to _calcPos. Take an optional
84         third parameter, direction. This is so recursive calls
85         to _calcPos continue adjusting panes upward or downward
86         ans does not loop infinitely.
87         
88 2001-08-24  Keith Seitz  <keiths@redhat.com>
89
90         * src/tkTable.tcl: Use "string compare" instead of "string
91         equal". The latter is only available in newer versions of
92         tcl.
93
94 2001-08-12  Mo DeJong  <mdejong@redhat.com>
95
96         * src/tkCanvEdge.c: Work around Windows gcc problem
97         initializing a static member with a dll imported
98         symbol by assigning the function pointer at runtime.
99         Static initialization works just fine in VC++ but
100         fails when compiling with the Windows version of gcc.
101
102 2001-08-12  Keith Seitz  <keiths@redhat.com>
103
104         Update tkTable to version 2.7:
105         * src/tkTableCmds.c, src/tkTable.tcl.h, src/tkTableCellSort.c,
106         src/tkTableEdit.c, src/tkTableInitScript.h, src/tkTablePs.c,
107         src/tkTableUtil.c, doc/tkTable.html: New files.
108         * src/tkTable.c, src/tkTable.h, src/TkTable.tcl, src/tkTableCell.c,
109         src/tkTableTag.c, src/tkTableWin.c, src/tkTable_version.in: Update to
110         version 2.7.
111         * configure.in: If compiling with cygwin, we need to have
112         WIN32 defined to build tkTable modules.
113         * configure: Regenerate.
114         * src/Makefile.am: Add new tkTable files and update build rules
115         for new version of tkTable.
116         * src/Makefile.in: Regenerate.
117
118 2001-08-06  Mo DeJong  <mdejong@redhat.com>
119
120         * Makefile.in: Regen.
121         * configure: Regen.
122         * configure.in: Remove unused ITCL_DIR variable.
123         * library/Makefile.in: Regen.
124         * src/Makefile.in: Regen.
125
126 2001-08-06  Mo DeJong  <mdejong@redhat.com>
127
128         * Makefile.in:
129         * library/Makefile.in:
130         * src/Makefile.in:
131         Regenerate Makefiles to account for AR fix
132         on 2001-08-03.
133
134 2001-08-03  Mo DeJong  <mdejong@redhat.com>
135
136         * configure: Regen.
137         * configure.in: Check for cross AR using the
138         AC_CHECK_TOOL macro to fix cross compile. Use
139         AC_CHECK_TOOL instead of AC_PROG_RANLIB for
140         ranlib. The ranlib change is not required
141         but it is more correct. Move the call to
142         AC_CANONICAL_HOST up in the file.
143
144 2001-08-03  Mo DeJong  <mdejong@redhat.com>
145
146         * src/tclhelp.c (help_display_file_command): Pass int
147         address to Tcl_GetInt instead of an unsigned long to
148         avoid compiler warning.
149
150 2001-08-03  Mo DeJong  <mdejong@redhat.com>
151
152         * src/subcommand.c:
153         * src/tclgetdir.c:
154         * src/tclhelp.c:
155         * src/tclmain.c:
156         * src/tclmsgbox.c:
157         * src/tclsizebox.c:
158         * src/tclwinmode.c:
159         * src/tclwinpath.c:
160         * src/tclwinprint.c:
161         * src/tkWinPrintCanvas.c:
162         * src/tkWinPrintText.c:
163         Use ckalloc/ckfree instead of Tcl_Alloc/Tcl_Free
164         or malloc/free so that allocations will
165         be marked with file positions when Tcl mem
166         debug is activated.
167
168 2001-08-02  Mo DeJong  <mdejong@redhat.com>
169
170         * src/tkWinPrintCanvas.c (PrintCanvasCmd):
171         * src/tkWinPrintText.c (PrintTextCmd): Plug
172         memory leak by calling free on memory allocated
173         in PrintCanvasCmd and PrintTextCmd method. Make
174         sure error cases branch to the cleanup code at
175         the end of the method instead of just returning.
176
177 2001-08-02  Mo DeJong  <mdejong@redhat.com>
178
179         * src/tkWinPrintText.c (DisplayDLineToDrawable): Fix
180         compiler warning by adding missing static modifier
181         to funciton declaration.
182
183 2001-08-02  Mo DeJong  <mdejong@redhat.com>
184
185         * config.h.in: Regen.
186         * configure: Regen.
187         * configure.in: Don't check for strdup since it
188         is no longer used in libgui.
189         * src/tclhelp.c (help_initialize_command): Replace
190         use of strdup with calls to malloc and strcpy.
191
192 2001-08-02  Mo DeJong  <mdejong@redhat.com>
193
194         * src/tclhelp.c (help_command_deleted): Free the
195         help_command_data->help_dir member allocated in
196         help_initialize_command.
197
198 2001-08-02  Mo DeJong  <mdejong@redhat.com>
199
200         * src/tkGraphCanvas.c (GetEdgeNodes): Use ckalloc
201         and strcpy instead of calling strdup() since this
202         memory is deallocated with ckfree() later on.
203
204 2001-08-02  Mo DeJong  <mdejong@redhat.com>
205
206         * Makefile.in: Regen.
207         * configure: Regen.
208         * configure.in: Check for cross AR using the
209         AC_CHECK_TOOL macro to fix cross compile. Use
210         AC_CHECK_TOOL instead of AC_PROG_RANLIB for
211         ranlib. The ranlib change is not required
212         but it is more correct. Move the call to
213         AC_CANONICAL_HOST up in the file. Don't
214         set or subst ITCL_DIR since it is not used
215         and depends on pre Itcl 3.1 paths.
216         * library/Makefile.in: Regen.
217         * src/Makefile.in: Regen.
218         
219 2001-05-18  Keith Seitz  <keiths@cygnus.com>
220
221         * library/center.tcl (center_window): Allow centering
222         the toplevel on a window, too.
223
224 2001-05-03  Keith Seitz  <keiths@cygnus.com>
225
226         * src/tkWarpPointer.c (WarpPointer): Implement for windows.
227
228 2001-04-06  Christopher Faylor <cgf@redhat.com>
229
230         * configure.in: Add test for -mwin32 requirement switch when building
231         on cygwin.
232         * configure: Regenerate.
233
234 2000-11-30  Tom Tromey  <tromey@cygnus.com>
235
236         * library/balloon.tcl (balloon): Document `balloon withdraw'.
237
238 2000-11-27  Tom Tromey  <tromey@cygnus.com>
239
240         * library/debug.tcl (logfile): Also recognize stderr.
241
242 2000-07-12  Syd Polk  <spolk@redhat.com>
243
244         * library/Makefile.am: Only regenerate tclIndex and pkgIndex.tcl
245         if this is configured with --enable-maintainer-mode.
246
247 2000-07-11  Mo DeJong  <mdejong@redhat.com>
248
249         * README:
250         * library/Makefile.am:
251         * library/Makefile.in:
252         * library/tclIndex:
253         * library/tree.tcl:
254         * library/treetable.tcl:
255         * src/Makefile.am:
256         * src/Makefile.in:
257         * src/guitcl.h:
258         * src/tkTreeTable.c:
259         * src/tkTreeTable.h: Moved implementation of
260         "treetable" command out back into snavigator.
261
262 2000-07-06  Mo DeJong  <mdejong@redhat.com>
263
264         * library/debug.tcl (logfile): Use non-blocking IO.
265         * library/tree.tcl (set_column_filter, bind, exchange,
266         ide_treetable): Don't fully qualify global commands.
267         Use itcl::delete. Use non-blocking IO. Rename bind
268         method to __bind. Brace exprs. Set default value
269         for when_post_menu variable. Itcl 3.0 fixups.
270
271 2000-06-30  Mo DeJong  <mdejong@redhat.com>
272
273         * library/tree.tcl: Fix typo made in patch
274         from 2000-06-22.
275
276 2000-06-30  Syd Polk  <spolk@cygnus.com>
277
278         * src/paths.c: Chris Faylor's path changes from 2000-06-09 blow
279         out MSVC's stupid path limitation. This is only a problem
280         for Source-Navigator.
281
282 2000-06-22  Mo DeJong  <mdejong@redhat.com>
283
284         * library/tree.tcl: Remove use of watch
285         command. Add check to see if toplevel
286         exists to avoid error.
287
288 2000-06-22  Mo DeJong  <mdejong@redhat.com>
289
290         * src/tkGraphCanvas.c (GetEdgeNodes): Fixed
291         crash in ckfree caused by call to strdup that
292         was later freed using ckfree.
293
294 2000-06-19  Syd Polk  <spolk@redhat.com>
295
296         * configure.in: Use CYG_AC_PATH_ITCLCONFIG and CYG_AC_LOAD_ITCLCONFIG
297         instead of using exising itclsh.
298         * aclocal.m4: Regenerated with new ../config/acinclude.m4.
299         * configure: Regenerate.
300         * Makefile.in library/Makefile.in src/Makefile.in: Regenerate.
301
302 Fri Jun  9 20:43:40 2000  Christopher Faylor <cgf@cygnus.com>
303
304         * src/paths.c (initialize_paths): Look in /usr/share for stuff.
305
306 2000-04-18  James Ingham  <jingham@leda.cygnus.com>
307
308         * library/toolbar.tcl (TOOLBAR_button_up): If the pointer is still 
309         in the button, reraise the button after a press.
310
311 2000-04-03  James Ingham  <jingham@leda.cygnus.com>
312
313         * src/paths.c: Follow links in determining the location of the
314         executable.
315
316 Fri Sep 17 19:14:15 1999  Andrew Cagney  <cagney@b1.cygnus.com>
317
318         * src/guitcl.h (cyg_create_warp_pointer_command): Add declaration.
319
320 1999-09-07  Jim Ingham <jingham@cygnus.com>
321
322         * library/tclIndex: Rebuild - this somehow got built wrong,
323         leaving out all the debug, and all the panedwindow references.
324
325 1999-09-02  Syd Polk  <spolk@cygnus.com>
326
327         * library/Makefile.am: Revert bad merge
328         * library/Makefile.in: Regenerate
329
330 1999-08-10  James Ingham  <jingham@leda.cygnus.com>
331
332         * library/balloon.tcl (BALLOON_command_withdraw): New command, use 
333         to remove the balloon before it's timeout has expired.
334
335 1999-08-02  James Ingham  <jingham@leda.cygnus.com>
336
337         * library/combobox.tcl (::combobox::setValue): Call the combobox
338         command after idle, so the menu gets a chance to unpost itself
339         before the command is run.
340
341 1999-05-26  Ian Roxborough <irox@cygnus.com>
342
343         * library/combobox.tcl: If a combobox is not editable then
344         make the background of the text box white.
345
346 1999-04-29  Syd Polk  <spolk@cygnus.com>
347
348         * src/paths.c: Add a scaled-down version of path initialization
349         in Visual C++ build.
350
351 1999-04-28  Syd Polk  <spolk@cygnus.com>
352
353         * acinclude.m4: Add from devo.
354         * aclocal.m4: Regenerate.
355         * configure: Regenerate.
356         * Makefile.in: Regenerate.
357         * library/Makefile.am: Use auto_mkindex to generate tclIndex. The
358         itcl1.5 one generates bogus entries sometimes.
359         * library/Makefile.in: Regenerate.
360         * src/Makefile.in: Regenerate.
361
362 1999-04-17  Syd Polk  <spolk@cygnus.com>
363
364         * Revert merge. I checked in itcl3.0 code into a itcl 1.5 branch.
365
366 1999-04-22  Khamis Abuelkomboz  <khamis@cygnus.com>
367
368         * library/tree.tcl (treetable_bindings): moved the default bindings
369         source code from SN into the file to build unseparated unit. The
370         bindings themself relay (compatible) on the listbox bindings.
371         -the bindings are defined when ever the file is loaded, so no
372         need to call the function extra.
373
374 1999-04-07  Khamis Abuelkomboz  <khamis@cygnus.com>
375
376         * library/tree.tcl (print_dialog_box): deleted reference to -leader
377         option of the print dialog.
378         (Tree): added a new public variable to specify a customer
379         post command for the right-mouse menu.
380
381         * library/toolbar.tcl (TOOLBAR_button_leave): synchronize enter/leave
382         to not mismatch a relief change.
383
384 1999-03-30  Khamis Abuelkomboz  <khamis@cygnus.com>
385
386         * library/tclIndex: regenerated.
387
388         * library/tree.tcl (start_motion): by changing column size use only a
389         black line.
390
391         * library/toolbar.tcl (TOOLBAR_button_up): patched toolbar procedures
392         to support buttons that interact like chechbuttons (remain flat or
393         sunken). The button keeps it's original relief after the pointer
394         leaves the widget.
395         (TOOLBAR_button_up): How the bindings are made for the toolbar buttons
396         is wrong. I patched it to work now for SN, but it must be a general
397         fix, even for gdbtk. When you bind events to the button use please
398         {+ ...} to keep existing bindings for the widget.
399         (TOOLBAR_command): new. To change the relief state of a checkbutton-
400         like widgets from the application.
401
402 1999-03-29  Martin Hunt  <hunt@cygnus.com>
403
404         * library/combobox.tcl (::combobox::computeGeometry): Calculate
405         geometry based on whole thing, including scrollbar. This fixes
406         the problem from the last couple of months where the popup list
407         box was not below the dropdown button unless there was a scrollbar.
408
409 1999-03-29  Syd Polk  <spolk@cygnus.com>
410
411         * src/paths.c: Added initialization back in for Visual C++
412         build. Pared it down so that VC++ can actually compile it.
413         Stupid MS 2048 character limit.
414
415 1999-03-17  Khamis Abuelkomboz  <khamis@cygnus.com>
416
417         * library/tree.tcl (create_tabs): patched the tree table to support
418         resizing a column when moving around the column line.
419         (button_motion): new function realized resizing the columns using an
420         area mode.
421
422 1999-03-15  Ian T Roxborough  <irox@cygnus.com>
423
424         * library/combobox.tcl(combobox::configure): On Windows draw a black
425         box around the popup for a better Windows look'n'feel.
426
427 1999-03-15  Khamis Abuelkomboz  <khamis@cygnus.com>
428
429         * library/tree.tcl: Placed here from SN tree to allow other parties
430         to use it for there own applications. If you want to see how it is
431         used, please refer to snavigator/gui/*.tcl.
432
433         * library/Makefile.in: added tree.tcl as part of the library.
434
435         * library/Makefile.am: likewise.
436
437 Wed Mar 10 19:44:31 1999  Geoffrey Noer  <noer@cygnus.com>
438
439         * src/tclgetdir.c: Need to also include shlobj.h if we're
440         using standard Win32 API headers (not the old set of Cygwin
441         headers).
442
443 1999-03-09  Ian T Roxborough  <irox@cygnus.com>
444
445         * library/combobox.tcl(combobox::configure): On Windows
446         if -editable is 0, use a standard background for the
447         entry widget (better windowz look'n'feel)
448
449 Fri Mar  5 11:00:54 1999  Khamis Abuelkombuz  <khamis@cygnus.com>
450
451         * src/tkGraphCanvas.c: fixed the hash problem. Uses a hash table that
452         is associated with the interp rather to use a static hash table.
453
454 1999-03-04  Syd Polk  <spolk@cygnus.com>
455
456         * src/tkTreeTable.c: Re-fixed SunOS build problem.
457
458 Wed Mar  3 16:57:21 1999  Khamis Abuelkombuz  <khamis@cygnus.com>
459
460         * src/tkGraphCanvas.c: fixed the hash problem. Uses a hash table that
461         is associated with the interp rather to use a static hash table.
462
463 1999-03-03  James Ingham  <jingham@cygnus.com>
464
465         * library/combobox.tcl (::combobox::setValue): Call the command in 
466         an after idle, so that the combobox gets a chance to unpost before 
467         the action is taken.
468
469 1999-02-23  Martin Hunt  <hunt@cygnus.com>
470
471         * src/paths.c: Change error message so that it says
472         it can't find "GUI" library instead of "IDE" library.
473
474 1999-02-18  Martin Hunt  <hunt@cygnus.com>
475
476         * library/hooks.tcl (run_hooks): Cleanup error message.
477
478 1999-02-17  Martin Hunt  <hunt@cygnus.com>
479
480         * library/internet.tcl (open_url): Change to open another
481         window for Netscape on Unix.  Returns 0 on failure, 1 on 
482         success.
483
484 1999-02-11  Syd Polk  <spolk@cygnus.com>
485
486         * configure.in: Fixed problem with comparison to xcl.
487         * configure: Regenerated.
488
489 1999-02-10  Syd Polk  <spolk@cygnus.com>
490
491         * configure.in: Find the correct itclsh.
492         Fixed problem with cygwin build. Should not need cygpath
493         to configure.
494         * configure: Regenerated.
495
496 1999-02-10  Martin Hunt  <hunt@cygnus.com>
497
498         * library/bgerror.tcl (bgerror): Do not use the old debug
499         preferences.  Write errors into debug window.  Keep old
500         dialog for now, although it should probably either go away
501         or be replaced by instructions on how to file a PR.
502
503 1999-02-09  Martin Hunt  <hunt@cygnus.com>
504
505         * library/panedwindow.tcl (cyg::PanedWindow): Add -sashcolor
506         option.
507         (cyg::PanedWindow::sashcolor): New config method.
508         (cyg::PanedWindow::_makeSashes): Set sash color.
509
510 1999-02-01  James Ingham  <jingham@cygnus.com>
511
512         * src/paths.c: Put in some missing \n\'s.
513
514 1999-01-22  Jim Ingham  <jingham@cygnus.com>
515
516        Merging changes in from gdbtk-980810-branch
517
518         1999-01-22  Martin Hunt  <hunt@cygnus.com>
519
520         * library/panedwindow.tcl (cyg::PanedWindow::delete): Fix
521         variable name so this function works again.
522         * src/tkWarpPointer.c: New file. Implements tcl function
523         warp_pointer, used by the testsuite. 
524         * src/Makefile.am: Added tkWarpPointer.c.
525         
526         1998-12-17  Martin M. Hunt  <hunt@cygnus.com>
527
528         * library/panedwindow.tcl (cyg::PanedWindow::sashwidth): Change
529         borderwidth to 2.
530         (cyg::PanedWindow::_makeSashes): Ditto.
531         (cyg::PanedWindow::delete): Free up the space in the _frac
532         array when a pane is deleted.
533         (cyg::PanedWindow::hide): Ditto.
534         (cyg::PanedWindow::replace): New function. Replaces an active
535         pane with an inactive (hidden) one. 
536         
537         1998-12-16  Martin M. Hunt  <hunt@cygnus.com>
538
539         * library/panedwindow.tcl: New file. Implements
540         cyg::PanedWindow which is a generic paned window supporting
541         non-resizable panes, individual max and min pane sizes. It
542         has a very different look from the iwidget panedwindow.
543         
544         * library/pane.tcl: New file.  Basically an extended pane.itk
545         from the iwidgets distribution.
546
547         1998-08-10  Jim Ingham   <jingham@cygnus.com>
548
549         * src/paths.c: Figure out how to run from the build tree.
550
551 1999-01-14  Ben Elliston  <bje@cygnus.com>
552
553         * src/tkTreeTable.c: Remove unnecessary #includes that collide
554         with Tcl's compat headers.
555
556 1998-12-14  Ian Roxborough  <irox@cygnus.com>
557
558         * src/tclwinfont.c (win_choose_font): convert all result strings
559         to utf8 format if using tcl/tk8.1.
560
561 1998-12-12  Ian Roxborough  <irox@cygnus.com>
562         * src/tclgetdir.c (get_directory_command): Make sure that
563         the parent is getting redrawn if the dialog box moves.
564         * src/tclwinfont.c (win_choose_font): Make sure that
565         the parent is getting redrawn if the dialog box moves.
566
567 1998-12-12  Khamis Abuelkomboz  <khamis@cygnus.com>
568
569         * src/tkTreeTable.c (DisplayRecursive): use metrics.descent by
570         displaying the active line.
571
572 1998-12-11  Syd Polk  <spolk@cygnus.com>
573
574         * src/tkgetdir.c: The arguments to this need to be
575         converted from UTF-8 and the return value needs to
576         be converted to UTF-8 in Tcl 8.1.
577
578 1998-11-30  Ian Roxborough  <irox@cygnus.com>
579
580         * src/tkWinPrintCanvas.c (PrintCanvasCmd): return OK
581         if the user hits cancel.
582         * src/tkGraphCanvas.c (GraphCanvasCmd): changed to free()s
583         to ckfree()s.
584
585 1998-11-17  Ian Roxborough  <irox@cygnus.com>
586
587         * src/tkWinPrintText.c (PrintTextCmd): Disable the print
588         selection until it is implemented properly.
589
590 1998-11-17  Ben Elliston  <bje@cygnus.com>
591
592         * src/tkTreeTable.h: Merge from Source-Navigator.
593
594         * src/tkTreeTable.c: Likewise.
595         
596 1998-11-16  Ian Roxborough  <irox@cygnus.com>
597
598         * src/tkWinPrintText.c (PrintTextCmd): return OK
599         if the user hits cancel.
600
601 1998-11-11  Khamis Abuelkomboz  <khamis@cygnus.com>
602
603         * src/tkTreeTable.c: using tcl/memory allocation functions.
604
605         * src/tkCanvLayout.c (LayoutClearGraph): check parent/succ for
606         availiability before freeing it.
607
608 1998-06-04  Jim Blandy  <jimb@zwingli.cygnus.com>
609
610         * configure.in: Use AM_PROC_CC_STDC, since this directory requires
611         ANSI C in order to compile.
612         * aclocal.m4, configure: Regenerated.
613
614 Thu Dec 17 11:46:04 1998  Keith Seitz  <keiths@cygnus.com>
615  
616         * library/combobox.tcl (::combobox::computeGeometry): Allow
617         the listbox to expand larger than the limits of the combobox.
618         (::combobox::widgetProc): Pack the scrollbar before the listbox
619         so that scroll remains visible when the combobox shrinks.
620         (::combobox::build): Ditto for the button.
621
622 Sun Nov  8 23:52:31 1998  Felix Lee  <flee@cygnus.com>
623
624         * configure.in (ac_win_build): quoting fix.
625         * configure: regenerated.
626
627 Wed Nov  4 18:46:13 1998  Dave Brolley  <brolley@cygnus.com>
628
629         * acinclude.m4: New file.
630         * Makefile.in: Regenerated.
631         * aclocal.m4: Regenerated.
632         * configure: Regenerated.
633
634 1998-11-04  Ian Roxborough  <irox@cygnus.com>
635
636         * src/tkWinPrintText.c (PrintTextCmd): For Tk 8.1 call
637         TkTextMakeByteIndex, otherwise call TkTextMakeIndex.
638         * src/tkWinPrintText.c: Remove some compiler warnings.
639         * src/tkWinPrintCanvas.c: Remove some compiler warnings.
640
641 1998-11-02  Ben Elliston  <bje@cygnus.com>
642
643         * src/xpmlib.c (LONGBITS): Take the sizeof `long', not
644         `LONG'. Most UNIX environments have no such macro.
645
646 1998-10-30  Ian Roxborough  <irox@cygnus.com>
647
648         * src/xpmlib.c (ImgXpmGetPixmapFromData): calculate the
649         bitmap pading the same the tk x-emulation layer does.
650
651 1998-10-29  Ben Elliston  <bje@cygnus.com>
652
653         * configure.in: Look for itcl_sh in the PATH.
654         * configure: Regenerate.
655         * library/Makefile.am: Use discovered path to itcl_sh.
656         * library/Makefile.in: Regenerate.
657         * Makefile.in: Likewise.
658         * src/Makefile.in: Likewise.
659
660 1998-10-28  Syd Polk  <spolk@cygnus.com>
661
662         * configure.in: Generate a TCL_LIBRARY for itcl_sh to use.
663         * configure: Regenerate
664         * library/Makefile.am: Use generated TCL_LIBRARY.
665         * library/Makefile.in: Regenerate.
666
667 1998-10-28  Syd Polk  <spolk@cygnus.com>
668
669         * configure.in: Generate correctly formatted directories for itcl_sh
670         * configure: Regenerate
671         * library/Makefile.am: Pass correctly formatted directories to itcl
672         so that it does not get confused with cygwin paths when generating
673         tclIndex.
674         * library/Makefile.in: Regenerate
675
676 1998-10-27  Syd Polk  <spolk@cygnus.com>
677
678         * configure.in: Add test and AM_CONDITIONAL for Windows.
679         * library/Makefile.am: On Windows, piping output straight from pwd
680         to itcl_sh.exe does not work if build is not on /. Wrap the pwd
681         in a cygpath.
682         * configure: Regenerate
683         * library/Makefile.in: Regenerate.
684
685 1998-10-27  Syd Polk  <spolk@cygnus.com>
686
687         * src/Makefile.am: Fix TKHDIR problems.
688         * src/Makefile.in: Regenerate.
689
690 1998-10-26  Syd Polk  <spolk@cygnus.com>
691
692         * configure.in: Use TCLHDIR instead of TCL_BUILD_INCLUDES and
693         TKHDIR instead of TK_BUILD_INCLUDES
694         * configure: Regenerate
695         * src/Makefile.am: Use TCLHDIR instead of TCL_BUILD_INCLUDES
696         TKHDIR instead of TK_BUILD_INCLUDES
697         * src/Makefile.in: Regenerate
698
699 Mon Oct 26 09:19:34 1998  Ian Roxborough  <irox@cygnus.com>
700
701         * src/Makefile.am: Add tkWinPrintText.c and tkWinPrintCanvas.c
702         * src/tkWinPrintText.c: removed a MSVC++ headerfile and
703         protected the file with pragmas (_WIN32) so it isn't
704         compiled on Unix builds.
705         * src/tkWinPrintCanvas.c: Same as tkWinPrintText.c
706         * src/tkWinPrintText.c (PrintTextCmd): Trick TkTextXviewCmd into
707         calling UpdateDisplayInfo, this means tk doesn't need patched.
708         Cleaned up/added some comments.
709
710 1998-10-20  Syd Polk  <spolk@cygnus.com>
711
712         * aclocal.m4: Added include for standard macros to locate tcl and tk
713         * configure.in: Use standard macros for tcl and tk
714         * configure: Regenerated
715         * Makefile.in: Regenerated with latest automake
716         * library/Makefile.in: Regenerated with latest automake
717         * src/Makefile.am: Don't use hard-coded pathnames for tcl and tk
718         directories; use variables instead
719         * src/Makefile.in: Regenerated
720
721 1998-10-14  Syd Polk  <spolk@cygnus.com>
722
723         * src/tclwinfont.c: Compile fix for tcl 8.1.
724
725 Wed Oct 14 13:01:00 1998  Ian Roxborough  <irox@cygnus.com>
726
727         *src/xpmlib.c (ImgXpmGetPixmapFromData): Fix pixmaps
728         on windows (SN problem), if pixmap mask width <= half the
729         bit padding, then things got messed up. (mayby a bug in
730         the X-emulation layer).
731         - Remove some old commented out code.
732
733 Fri Oct  9 10:04:00 1998  Ian Roxborough  <irox@cygnus.com>
734
735         * src/xpmlib.c (ImgXpmGetPixmapFromData): set memory allocated
736         for the mask to zero before using.
737
738 1998-10-05  Syd Polk  <spolk@cygnus.com>
739         
740         * configure: Regenerated with new autoconf
741
742 Mon Oct  5 00:53:59 1998  Martin M. Hunt  <hunt@cygnus.com>
743
744         * library/balloon.tcl (showballoon): Add "keep" parameter
745         to tell balloon messages to not go away after 6 seconds.
746         (BALLOON_command_show): Ditto.
747
748 Wed Sep 30 9:35:00 1998  Ian Roxborough  <irox@cygnus.com>
749
750         *src/tkprintcanvas.c: New file, for printing a canvas under windows.
751
752 Mon Sep 21 15:45:17 1998  Martin M. Hunt  <hunt@cygnus.com>
753
754         * library/combobox.tcl (::combobox::setValue): Fix
755         instance when value has an embedded space.
756
757 Thu Sep  3 19:10:00 1998  Sean Mahan  <smahan@cygnus.com>
758
759         * src/tclgetdir.c: Change C++ style comments to C style.
760
761 Thu Sep  3 18:45:00 1998  Sean Mahan  <smahan@cygnus.com>
762
763         * src/tclhelp.c: Change C++ style comments to C style.
764
765 Mon Aug 31 11:55:00 1998  Ian Roxborough  <irox@cygnus.com>
766
767         *src/tclgetdir.c: Add definition for SHBrowseForFolderA.
768         (it was missing from cygwin.)
769
770 Mon Aug 31 11:33:00 1998  Syd Polk  <spolk@cygnus.com>
771
772         *configure.in library/Makefile.am src/Makefile.am: Tcl/Tk 8.1
773         require -fwritable strings.
774         *configure Makefile.in library/Makefile.in src/Makefile.in:
775         Regenerated.
776
777 Fri Aug 28 18:15:25 1998  Ian Roxborough  <irox@cygnus.com>
778
779         *src/tclgetdir.c: Added missing (from cygwin) #defines for BFFM_*.
780
781 Wed Aug 26 14:01:25 1998  Ian Roxborough  <irox@cygnus.com>
782
783         *src/tclgetdir.c (get_directory_command): free up
784         memory allocated with Tcl_DString.
785
786 Wed Aug 26 14:01:25 1998  Ian Roxborough  <irox@cygnus.com>
787
788         Added "-initialdir <dir>" to the ide_get_directory
789         command.
790
791         *src/tclgetdir.c (get_directory_command): added flag
792         handling and set callback to change selected directory.
793         (MyBrowseCallbackProc): New function, sets selected
794         directory once initialization has been completed.
795
796 Tue Aug 25 18:31:16 1998  Martin M. Hunt  <hunt@cygnus.com>
797
798         * library/combobox.tcl: Fix previous checkin.
799
800 Tue Aug 25 17:22:36 1998  Martin M. Hunt  <hunt@cygnus.com>
801
802         * library/combobox.tcl (::combobox::configure): Remove
803         scrollbar width hack. Set foreground and background colors
804         for non-editable and disabled widgets.
805
806 Tue Aug 25 16:06:34 1998  Martin M. Hunt  <hunt@cygnus.com>
807
808         * library/combobox.tcl (::combobox::doInternalWidgetCommand): 
809         Add "Curselection" widget command.
810
811 Fri Aug 21 12:48:09 1998  Martin M. Hunt  <hunt@cygnus.com>
812
813         * library/combobox.tcl: Merge my changes into the
814         new 1.05 combobox code.
815         (entryset): New command that sets the contents of
816         the entry field without triggering any commands.
817
818 Fri Aug 21 11:38:35 1998  Ian Roxborough  <irox@cygnus.com>
819
820         Integrated changes between Source-Navigator's
821         hyper/tkCanvas.c and libgui's src/tkGraphCanvas.c.
822         Add a new option (-gridlock) to switch between
823         SN style (-gridlock 1) and the old style.
824
825         *src/tkGraphCanvas.c (graphspecs[]): add gridlock
826         option (1 = ON, 0 = OFF).
827         (setedgegeom): added a new parameter (int i) and
828         code to keep lines running a X or Y axis only.
829         (GetGraphLayoutII): new function (same as GetGraphLayout
830         but takes TkCanvas as parameter).
831         (GraphCanvasCmd): use extra parameter when calling
832         setedgegeom.
833         *src/tkCanvLayout.c (struct Layout_Graph): add int
834         gridlock.
835         (LayoutCreateGraph): initalise 'gridlock'.
836         (GetLayoutConfig): copy 'gridlock' when getting.
837         (SetLayoutConfig): copy back 'gridlock' when setting.
838         *src/tkCanvLayout.h (struct LayoutConfig): add
839         'gridlock' member.
840
841 1998-08-20  Keith Seitz  <keiths@cygnus.com>
842
843         * src/tclwinprint.c (winprint_print_text_options): Intialize the "initproc"
844         for struct print_text_options.
845
846
847 Tue Aug 18 15:39:53 1998  Martin M. Hunt  <hunt@cygnus.com>
848
849         * library/Makefile.am (pkgIndex.tcl): Make this
850         require maintainer mode.
851
852 Mon Aug 17 16:20:38 1998  Martin M. Hunt  <hunt@cygnus.com>
853
854         * library/Makefile.am (ITCL_SH): Revert previous change.
855
856 Mon Aug 17 14:44:31 1998  Martin M. Hunt  <hunt@cygnus.com>
857
858         * library/Makefile.am (WISH): Run itcl_wish from the 
859         proper place.
860
861 Mon Aug 17 13:20:09 1998  Martin M. Hunt  <hunt@cygnus.com>
862
863         * library/combobox.tcl (::combobox::build): Initialize
864         oldValue. Don't pack scrollbar.
865         (::combobox::widgetProc): When items are inserted or deleted 
866         from the list, pack or forget the scrollbar, depending on 
867         the size of the list and the max height.
868         (::combobox::setValue): Call the command callback even if 
869         the value selected was the same as the previous value.
870         (::combobox::configure): Change listbox width as well 
871         as entry width. This keeps the scrollbar from being
872         truncated.
873         (::combobox::configure): Replace "oldValue" with "oldval" 
874         to avoid confusion with the variable that saves the 
875         previous value for the entry. Fixes several bugs.
876         (::combobox::widgetProc): Unset tmpopt.
877         (::combobox::widgetProc): Pass the listbox widget to the 
878         computeGeometry proc so it can use it in its computations.
879         (::combobox::computeGeometry): Compute size of popup by 
880         requested size of listbox plus twice the bordersize of 
881         the popup.
882
883 Thu Aug 13 22:55:36 1998  Martin M. Hunt  <hunt@cygnus.com>
884
885         * configure.in: Add AC_OBJEXT call.
886         * configure: Rebuilt.
887
888 Thu Aug 13 00:47:08 1998  Martin M. Hunt  <hunt@cygnus.com>
889
890         * library/combobox.tcl: Fix -editable.
891
892 Wed Aug 12 10:41:45 1998  Matt Leach  <mleach@cygnus.com>
893
894         * src/tclhelp.c: added !WIN32 entries for Webhelp
895
896 =======
897 Tue Aug 18 15:39:53 1998  Martin M. Hunt  <hunt@cygnus.com>
898
899         * library/Makefile.am (pkgIndex.tcl): Make this
900         require maintainer mode.
901
902 Mon Aug  3 01:29:05 1998  Martin M. Hunt  <hunt@cygnus.com>
903
904         * library/combobox.tcl: New file. Windows style
905         combobox.
906         * library/pkgIndex.tcl: New file.
907         * library/Makefile.am: Added combobox.tcl.
908         * library/Makefile.in, library/tclIndex: Rebuilt.
909         * configure: Rebuilt.
910
911 Mon Jul 20 13:36:33 1998  Ian Roxborough    <irox@cygnus.com>
912
913         * src/tclhelp.c: include missing headerfile on Windows.
914         * src/tkCanvEdge.c: defined F_OK to be 0 on Windows.
915         * src/tclmain.c: include missing headerfile on Windows.
916         * src/tclmsgbox.c (msgbox_thread): type should be WINAPI.
917         * src/paths.c (init_script[]): Due to string length limits
918         with the MSVC compiler, the init_script we now return a
919         error message when compiled with VC++.
920         * src/Makefile.am: Change all '.o' to '.$(OBJEXT)'
921         * configure.in: Added AC_OBJEXT and changed AM_EXEEXT to
922         AC_EXEEXT.
923
924 Fri Jul 10 19:17:53 1998  Jim Ingham    <jingham@cygnus.com>
925
926         * src/tkTable* Upgraded tkTable to version 2.1
927
928 Fri Jul 10 11:29:00 1998  Sean Mahan  <smahan@cygnus.com>
929
930         * src/paths.c (constant run_app_script): Fixed to work with
931         latest version of the TclPro debugger (1.0 beta 3).
932
933 1998-06-30  Ben Elliston  <bje@cygnus.com>
934
935         * src/tclgetdir.c: Merged from S-N.
936
937         * src/tclwinprint.c: Merged from S-N.  Includes new options for 
938         PostScript printing and once-per-job initialisation.
939
940         * src/tkCanvLayout.c: Merged from S-N.  Mostly cleanup.
941
942         * src/tkCanvEdge.c: Merged from S-N.  Handle justified and
943         multi-line labels.
944
945 Fri Jun 26 17:57:00 1998  Sean Mahan  <smahan@cygnus.com>
946
947         * src/paths.c (init_script): fixed `prefix' path.
948
949 Mon Jun 22 14:15:36 1998  Drew Moseley  <dmoseley@cygnus.com>
950
951         * src/paths.c: Added TCLPRO_DEBUGGER code
952
953 Thu Jun  4 18:00:27 1998  Martin M. Hunt  <hunt@cygnus.com>
954
955         * src/tkTable*: Imported Jeffrey Hobbs tkTable 2.0
956         widget.
957         * src/Makefile.am: Add tkTable stuff.
958         * src/Makefile.in: Rebuilt.
959         * Makefile.in: Rebuilt. 
960         * doc/tkTable.n: Man page for tkTable.
961         
962 Thu May 14 10:45:00 1998  Sean Mahan  <smahan@cygnus.com>
963
964         * library/prefs.tcl (PREFS_cmd_init): Changed name of global
965         variable from "IDE" to "IDE_ENABLED".
966         * src/tclmain.c (ide_main): Setup TCL global variable based
967         on the defined value of "IDE_ENABLED".
968         * configure.in: Changed "IDE" define to "IDE_ENABLED".
969         * configure: regenerated.
970         * acconfig.h: Changed "IDE" to "IDE_ENABLED" and made sure that
971         "IDE_ENABLED" would always be defined (either as 0 or 1).
972         * config.h.in: regenerated.
973
974 Wed May 13 10:05:00 1998  Sean Mahan  <smahan@cygnus.com>
975
976         * library/prefs.tcl (PREFS_cmd_init):  Revert change by hunt that 
977         used global variable "GDBTK_IDE" instead of libgui variable "IDE".
978         * configure.in: added support for "--enable-ide" option.
979         * configure: regenerated.
980         * acconfig.h: added define for "IDE".
981         * config.h.in: regenerated.
982
983 Wed May  6 14:54:47 1998  Ben Elliston  <bje@cygnus.com>
984
985         * src/xpmlib.c (ImgXpmGetData): Preinitialise some local variables.
986         (GetColor): Removed an unused local variable.
987         (ImgXpmGetPixmapFromData): Likewise.
988
989 Thu Apr 30 19:16:13 1998  Ian Lance Taylor  <ian@cygnus.com>
990
991         * src/paths.c (run_app_script): Don't crash if Paths(appdir) or
992         Paths(idedir) was not set.
993
994 Thu Apr 23 13:52:13 1998  Tom Tromey  <tromey@cygnus.com>
995
996         * src/tclgetdir.c (get_directory_command): Pass -choosedir to
997         tk_getOpenFile.
998
999 Wed Apr 15 16:47:00 1998  Sean Mahan  <smahan@cygnus.com>
1000
1001         * src/tclhelp.c (help_display_file_command): new function to
1002         display a specified help file.
1003         (ide_subcommand_table): added `display_file' subcommand.
1004
1005 Thu Apr  9 14:19:08 1998  Martin M. Hunt  <hunt@cygnus.com>
1006
1007         * library/prefs.tcl (PREFS_cmd_init): Use global
1008         variable "GDBTK_IDE" instead of "IDE".
1009
1010 Tue Apr  7 12:41:59 1998  Ian Lance Taylor  <ian@cygnus.com>
1011
1012         * src/Makefile.am (libgui_a_SOURCES): Add tclcursor.c.
1013         (tclcursor.o): New target.
1014         * src/Makefile.in: Rebuild.
1015
1016 Tue Mar 31 14:52:31 1998  Tom Tromey  <tromey@cygnus.com>
1017
1018         * library/Makefile.in: Rebuilt.
1019         * library/Makefile.am (TCL): Added ventry.tcl.
1020         * library/ventry.tcl: Moved from libide.
1021
1022 Tue Mar 31 16:58:34 1998  Ian Lance Taylor  <ian@cygnus.com>
1023
1024         * src/paths.c: Rewrite Tcl code to search $prefix/share/cygnus for
1025         gui and ide directories.  Change environment variable names to
1026         CYGNUS_GUI_LIBRARY and CYGNUS_IDE_LIBRARY.  Permit application
1027         directory to be a sibling of the parent of the gui or ide
1028         directory.
1029         * library/Makefile.am (guidir): Add `cygnus' between `$(datadir)'
1030         and `gui'.
1031         * library/Makefile.in: Rebuild.
1032         * configure: Rebuild with current autoconf.
1033
1034 Mon Mar 30 12:28:06 1998  Tom Tromey  <tromey@cygnus.com>
1035
1036         * library/tclIndex: Rebuilt.
1037
1038         * library/Makefile.in: Rebuilt.
1039         * library/Makefile.am (TCL): Added new files.
1040         * library/advice.tcl, library/path.tcl, library/sendpr.tcl: Moved
1041         from libide.
1042
1043         * src/Makefile.in: Rebuilt.
1044         * src/Makefile.am (tclwinmode.o): New target.
1045         (libgui_a_SOURCES): Added tclwinmode.c.
1046         * src/tclwinmode.c: Moved from libide.
1047         * src/tclcursor.c: Likewise.
1048
1049 Fri Mar 27 20:10:14 1998  Keith Seitz  <keiths@onions.cygnus.com>
1050
1051         * library/looknfeel.tcl (standard_look_and_feel): windows-menu is a font
1052         family, not a symbolic font.
1053
1054 Fri Mar 27 00:19:04 1998  Keith Seitz  <keiths@onions.cygnus.com>
1055
1056         * library/looknfeel.tcl (standard_look_and_feel): Define font global/menu
1057         to allow changing the menu font on unix.
1058
1059 Tue Mar 24 02:06:59 1998  Martin M. Hunt  <hunt@cygnus.com>
1060
1061         * src/Makefile.am (libgui_a_SOURCES): Add tclmsgbox.c.
1062         * src/Makefile.in: Rebuilt.
1063         * src/tclmsgbox.c: New file.
1064         
1065 Sun Mar 22 19:29:10 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1066
1067         * library/email.tcl: removed and replaced with internet.tcl.
1068         * library/internet.tcl: added 
1069
1070 Sat Mar 21 21:18:06 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1071
1072         Merged the files in library with the corresponding files in Foundry
1073          
1074         - Tom Tromey  <tromey@cygnus.com>
1075         * library/balloon.tcl 
1076         (destructor): Cancel any pending after handlers.
1077         (showballoon): Unshow balloon after 6 seconds.
1078         (showballoon): On Windows, position balloon
1079         according to cursor position.  (Disabled for now.)
1080         (_recent_parent): New variable.
1081         (_enter): If new parent the same as old parent, eliminate delay.
1082         (showballoon): Set _recent_parent.
1083         * library/bgerror.tcl 
1084         (bgerror): Display errorCode as well.
1085         * library/center.tcl 
1086         (center_window): Run "update idletasks" after
1087         setting window geometry.
1088         * library/debug.tcl
1089         (debug_log): Set buffering on log file to "line".
1090         (DEBUG_window): Removed.
1091         (DEBUG_after_source): Changed indexing into DEBUG_state array.
1092         (re_source): Likewise.
1093         (debug_log): New proc.
1094         (DEBUG_state): Initialize log_file, window elements.
1095         (debug): Log to file if user requested it.
1096         (DEBUG_state): New array.
1097         (DEBUG_after_source): New proc.
1098         (source): Likewise.
1099         (re_source): Likewise.
1100         * library/hooks.tcl
1101         (define_hook): Renamed.
1102         * library/looknfeel.tcl
1103         (add): Define global/italic font in a way
1104         that actually works on Windows.
1105
1106         - Martin M. Hunt  <hunt@cygnus.com>
1107         * library/list.tcl
1108         (lrep): New function.  Replace an element in a list with a 
1109         new one.
1110         * library/prefs.tcl
1111         (PREFS_cmd_getd): Rewrite to call define then get. 
1112          Fixes strange problem.
1113
1114         - Ian Lance Taylor  <ian@cygnus.com>
1115         * library/print.tcl
1116         Expand tabs to spaces assuming there are tabstops every 
1117         8 spaces.
1118
1119
1120 Tue Feb 24 19:49:12 1998  Jonathan Larmour  <jlarmour@cygnus.co.uk>
1121
1122         * configure.in, src/Makefile.am: Add --enable-install-libgui
1123         option to install libgui.a and header files if required
1124         
1125         * Makefile.in, aclocal.m4, configure, library/Makefile.in,
1126         src/Makefile.in: regenerate with latest automake
1127
1128 Wed Jan 14 12:36:49 1998  Keith Seitz  <keiths@pizza.cygnus.com>
1129
1130         * library/Makefile.am (SET_LIB_PATH): Macro to add Tcl's build dir
1131         to host's ld search path (LD_LIBRARY_PATH or what have you) for
1132         builds where Tcl was built using shared libraries. This macro is
1133         empty otherwise.
1134         (tclIndex): Call SET_LIB_PATH.
1135
1136         * library/Makefile.in: Regenerate.
1137         
1138         * configure.in: Define TCL_SHARED if using shared library for Tcl
1139
1140         * configure: Regenerate.
1141
1142 Tue Dec 16 16:50:40 1997  Ian Lance Taylor  <ian@cygnus.com>
1143
1144         New directory to hold GUI support code.