OSDN Git Service

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