OSDN Git Service

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