1 2002-03-07 Martin M. Hunt <hunt@redhat.com>
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
9 2002-02-25 Ian Roxborough <irox@redhat.com>
11 * src/library/looknfeel.tcl (standard_look_and_feel):
12 Hard code Windows menu font name to MS Sans Serif 8.
14 2002-02-24 Mo DeJong <supermo@bayarea.net>
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.
21 2002-02-05 Jim Blandy <jimb@redhat.com>
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
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'.
34 2002-01-04 Ian Roxborough <irox@redhat.com>
36 * src/tkCanvEdge.c (CreateEdge, EdgeCoords, ConfigureEdge):
37 Objectify functions to use Tcl_Obj instead of char**.
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.
43 2001-10-28 Christopher Faylor <cgf@redhat.com>
45 * configure.in: Modify 2001-10-12 change to check for cygwin host
46 rather than cygwin target.
47 * configure: Regenerate.
49 2001-10-26 Keith Seitz <keiths@redhat.com>
51 * configure.in (ac_win_build): Actually want "-DWIN32" with
52 cygwin hosts, not just cygwin targets.
53 * configure: Regenerate.
55 2001-10-24 Keith Seitz <keiths@redhat.com>
57 * configure.in (ac_win_build): Put "-DWIN32" back into LIBGUI_CFLAGS.
58 * configure: Regenerate.
60 2001-10-12 Christopher Faylor <cgf@redhat.com>
62 * win/configure.in: Add detection for -mwin32 option requirement under
64 * win/configure: Regenerate.
66 2001-10-10 Ian Roxborough <irox@redhat.com>
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.
73 2001-09-08 Ian Roxborough <irox@redhat.com>
75 * all: Tcl/Tk8.3 upgrade merge.
77 2001-09-02 Martin M. Hunt <hunt@redhat.com>
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.
88 2001-08-24 Keith Seitz <keiths@redhat.com>
90 * src/tkTable.tcl: Use "string compare" instead of "string
91 equal". The latter is only available in newer versions of
94 2001-08-12 Mo DeJong <mdejong@redhat.com>
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.
102 2001-08-12 Keith Seitz <keiths@redhat.com>
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
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.
118 2001-08-06 Mo DeJong <mdejong@redhat.com>
120 * Makefile.in: Regen.
122 * configure.in: Remove unused ITCL_DIR variable.
123 * library/Makefile.in: Regen.
124 * src/Makefile.in: Regen.
126 2001-08-06 Mo DeJong <mdejong@redhat.com>
129 * library/Makefile.in:
131 Regenerate Makefiles to account for AR fix
134 2001-08-03 Mo DeJong <mdejong@redhat.com>
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.
144 2001-08-03 Mo DeJong <mdejong@redhat.com>
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.
150 2001-08-03 Mo DeJong <mdejong@redhat.com>
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
168 2001-08-02 Mo DeJong <mdejong@redhat.com>
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.
177 2001-08-02 Mo DeJong <mdejong@redhat.com>
179 * src/tkWinPrintText.c (DisplayDLineToDrawable): Fix
180 compiler warning by adding missing static modifier
181 to funciton declaration.
183 2001-08-02 Mo DeJong <mdejong@redhat.com>
185 * config.h.in: 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.
192 2001-08-02 Mo DeJong <mdejong@redhat.com>
194 * src/tclhelp.c (help_command_deleted): Free the
195 help_command_data->help_dir member allocated in
196 help_initialize_command.
198 2001-08-02 Mo DeJong <mdejong@redhat.com>
200 * src/tkGraphCanvas.c (GetEdgeNodes): Use ckalloc
201 and strcpy instead of calling strdup() since this
202 memory is deallocated with ckfree() later on.
204 2001-08-02 Mo DeJong <mdejong@redhat.com>
206 * Makefile.in: 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.
219 2001-05-18 Keith Seitz <keiths@cygnus.com>
221 * library/center.tcl (center_window): Allow centering
222 the toplevel on a window, too.
224 2001-05-03 Keith Seitz <keiths@cygnus.com>
226 * src/tkWarpPointer.c (WarpPointer): Implement for windows.
228 2001-04-06 Christopher Faylor <cgf@redhat.com>
230 * configure.in: Add test for -mwin32 requirement switch when building
232 * configure: Regenerate.
234 2000-11-30 Tom Tromey <tromey@cygnus.com>
236 * library/balloon.tcl (balloon): Document `balloon withdraw'.
238 2000-11-27 Tom Tromey <tromey@cygnus.com>
240 * library/debug.tcl (logfile): Also recognize stderr.
242 2000-07-12 Syd Polk <spolk@redhat.com>
244 * library/Makefile.am: Only regenerate tclIndex and pkgIndex.tcl
245 if this is configured with --enable-maintainer-mode.
247 2000-07-11 Mo DeJong <mdejong@redhat.com>
250 * library/Makefile.am:
251 * library/Makefile.in:
254 * library/treetable.tcl:
259 * src/tkTreeTable.h: Moved implementation of
260 "treetable" command out back into snavigator.
262 2000-07-06 Mo DeJong <mdejong@redhat.com>
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.
271 2000-06-30 Mo DeJong <mdejong@redhat.com>
273 * library/tree.tcl: Fix typo made in patch
276 2000-06-30 Syd Polk <spolk@cygnus.com>
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.
282 2000-06-22 Mo DeJong <mdejong@redhat.com>
284 * library/tree.tcl: Remove use of watch
285 command. Add check to see if toplevel
286 exists to avoid error.
288 2000-06-22 Mo DeJong <mdejong@redhat.com>
290 * src/tkGraphCanvas.c (GetEdgeNodes): Fixed
291 crash in ckfree caused by call to strdup that
292 was later freed using ckfree.
294 2000-06-19 Syd Polk <spolk@redhat.com>
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.
302 Fri Jun 9 20:43:40 2000 Christopher Faylor <cgf@cygnus.com>
304 * src/paths.c (initialize_paths): Look in /usr/share for stuff.
306 2000-04-18 James Ingham <jingham@leda.cygnus.com>
308 * library/toolbar.tcl (TOOLBAR_button_up): If the pointer is still
309 in the button, reraise the button after a press.
311 2000-04-03 James Ingham <jingham@leda.cygnus.com>
313 * src/paths.c: Follow links in determining the location of the
316 Fri Sep 17 19:14:15 1999 Andrew Cagney <cagney@b1.cygnus.com>
318 * src/guitcl.h (cyg_create_warp_pointer_command): Add declaration.
320 1999-09-07 Jim Ingham <jingham@cygnus.com>
322 * library/tclIndex: Rebuild - this somehow got built wrong,
323 leaving out all the debug, and all the panedwindow references.
325 1999-09-02 Syd Polk <spolk@cygnus.com>
327 * library/Makefile.am: Revert bad merge
328 * library/Makefile.in: Regenerate
330 1999-08-10 James Ingham <jingham@leda.cygnus.com>
332 * library/balloon.tcl (BALLOON_command_withdraw): New command, use
333 to remove the balloon before it's timeout has expired.
335 1999-08-02 James Ingham <jingham@leda.cygnus.com>
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.
341 1999-05-26 Ian Roxborough <irox@cygnus.com>
343 * library/combobox.tcl: If a combobox is not editable then
344 make the background of the text box white.
346 1999-04-29 Syd Polk <spolk@cygnus.com>
348 * src/paths.c: Add a scaled-down version of path initialization
351 1999-04-28 Syd Polk <spolk@cygnus.com>
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.
362 1999-04-17 Syd Polk <spolk@cygnus.com>
364 * Revert merge. I checked in itcl3.0 code into a itcl 1.5 branch.
366 1999-04-22 Khamis Abuelkomboz <khamis@cygnus.com>
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.
374 1999-04-07 Khamis Abuelkomboz <khamis@cygnus.com>
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.
381 * library/toolbar.tcl (TOOLBAR_button_leave): synchronize enter/leave
382 to not mismatch a relief change.
384 1999-03-30 Khamis Abuelkomboz <khamis@cygnus.com>
386 * library/tclIndex: regenerated.
388 * library/tree.tcl (start_motion): by changing column size use only a
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
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.
402 1999-03-29 Martin Hunt <hunt@cygnus.com>
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.
409 1999-03-29 Syd Polk <spolk@cygnus.com>
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.
415 1999-03-17 Khamis Abuelkomboz <khamis@cygnus.com>
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
422 1999-03-15 Ian T Roxborough <irox@cygnus.com>
424 * library/combobox.tcl(combobox::configure): On Windows draw a black
425 box around the popup for a better Windows look'n'feel.
427 1999-03-15 Khamis Abuelkomboz <khamis@cygnus.com>
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.
433 * library/Makefile.in: added tree.tcl as part of the library.
435 * library/Makefile.am: likewise.
437 Wed Mar 10 19:44:31 1999 Geoffrey Noer <noer@cygnus.com>
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
443 1999-03-09 Ian T Roxborough <irox@cygnus.com>
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)
449 Fri Mar 5 11:00:54 1999 Khamis Abuelkombuz <khamis@cygnus.com>
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.
454 1999-03-04 Syd Polk <spolk@cygnus.com>
456 * src/tkTreeTable.c: Re-fixed SunOS build problem.
458 Wed Mar 3 16:57:21 1999 Khamis Abuelkombuz <khamis@cygnus.com>
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.
463 1999-03-03 James Ingham <jingham@cygnus.com>
465 * library/combobox.tcl (::combobox::setValue): Call the command in
466 an after idle, so that the combobox gets a chance to unpost before
469 1999-02-23 Martin Hunt <hunt@cygnus.com>
471 * src/paths.c: Change error message so that it says
472 it can't find "GUI" library instead of "IDE" library.
474 1999-02-18 Martin Hunt <hunt@cygnus.com>
476 * library/hooks.tcl (run_hooks): Cleanup error message.
478 1999-02-17 Martin Hunt <hunt@cygnus.com>
480 * library/internet.tcl (open_url): Change to open another
481 window for Netscape on Unix. Returns 0 on failure, 1 on
484 1999-02-11 Syd Polk <spolk@cygnus.com>
486 * configure.in: Fixed problem with comparison to xcl.
487 * configure: Regenerated.
489 1999-02-10 Syd Polk <spolk@cygnus.com>
491 * configure.in: Find the correct itclsh.
492 Fixed problem with cygwin build. Should not need cygpath
494 * configure: Regenerated.
496 1999-02-10 Martin Hunt <hunt@cygnus.com>
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.
503 1999-02-09 Martin Hunt <hunt@cygnus.com>
505 * library/panedwindow.tcl (cyg::PanedWindow): Add -sashcolor
507 (cyg::PanedWindow::sashcolor): New config method.
508 (cyg::PanedWindow::_makeSashes): Set sash color.
510 1999-02-01 James Ingham <jingham@cygnus.com>
512 * src/paths.c: Put in some missing \n\'s.
514 1999-01-22 Jim Ingham <jingham@cygnus.com>
516 Merging changes in from gdbtk-980810-branch
518 1999-01-22 Martin Hunt <hunt@cygnus.com>
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.
526 1998-12-17 Martin M. Hunt <hunt@cygnus.com>
528 * library/panedwindow.tcl (cyg::PanedWindow::sashwidth): Change
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.
537 1998-12-16 Martin M. Hunt <hunt@cygnus.com>
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.
544 * library/pane.tcl: New file. Basically an extended pane.itk
545 from the iwidgets distribution.
547 1998-08-10 Jim Ingham <jingham@cygnus.com>
549 * src/paths.c: Figure out how to run from the build tree.
551 1999-01-14 Ben Elliston <bje@cygnus.com>
553 * src/tkTreeTable.c: Remove unnecessary #includes that collide
554 with Tcl's compat headers.
556 1998-12-14 Ian Roxborough <irox@cygnus.com>
558 * src/tclwinfont.c (win_choose_font): convert all result strings
559 to utf8 format if using tcl/tk8.1.
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.
567 1998-12-12 Khamis Abuelkomboz <khamis@cygnus.com>
569 * src/tkTreeTable.c (DisplayRecursive): use metrics.descent by
570 displaying the active line.
572 1998-12-11 Syd Polk <spolk@cygnus.com>
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.
578 1998-11-30 Ian Roxborough <irox@cygnus.com>
580 * src/tkWinPrintCanvas.c (PrintCanvasCmd): return OK
581 if the user hits cancel.
582 * src/tkGraphCanvas.c (GraphCanvasCmd): changed to free()s
585 1998-11-17 Ian Roxborough <irox@cygnus.com>
587 * src/tkWinPrintText.c (PrintTextCmd): Disable the print
588 selection until it is implemented properly.
590 1998-11-17 Ben Elliston <bje@cygnus.com>
592 * src/tkTreeTable.h: Merge from Source-Navigator.
594 * src/tkTreeTable.c: Likewise.
596 1998-11-16 Ian Roxborough <irox@cygnus.com>
598 * src/tkWinPrintText.c (PrintTextCmd): return OK
599 if the user hits cancel.
601 1998-11-11 Khamis Abuelkomboz <khamis@cygnus.com>
603 * src/tkTreeTable.c: using tcl/memory allocation functions.
605 * src/tkCanvLayout.c (LayoutClearGraph): check parent/succ for
606 availiability before freeing it.
608 1998-06-04 Jim Blandy <jimb@zwingli.cygnus.com>
610 * configure.in: Use AM_PROC_CC_STDC, since this directory requires
611 ANSI C in order to compile.
612 * aclocal.m4, configure: Regenerated.
614 Thu Dec 17 11:46:04 1998 Keith Seitz <keiths@cygnus.com>
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.
622 Sun Nov 8 23:52:31 1998 Felix Lee <flee@cygnus.com>
624 * configure.in (ac_win_build): quoting fix.
625 * configure: regenerated.
627 Wed Nov 4 18:46:13 1998 Dave Brolley <brolley@cygnus.com>
629 * acinclude.m4: New file.
630 * Makefile.in: Regenerated.
631 * aclocal.m4: Regenerated.
632 * configure: Regenerated.
634 1998-11-04 Ian Roxborough <irox@cygnus.com>
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.
641 1998-11-02 Ben Elliston <bje@cygnus.com>
643 * src/xpmlib.c (LONGBITS): Take the sizeof `long', not
644 `LONG'. Most UNIX environments have no such macro.
646 1998-10-30 Ian Roxborough <irox@cygnus.com>
648 * src/xpmlib.c (ImgXpmGetPixmapFromData): calculate the
649 bitmap pading the same the tk x-emulation layer does.
651 1998-10-29 Ben Elliston <bje@cygnus.com>
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.
660 1998-10-28 Syd Polk <spolk@cygnus.com>
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.
667 1998-10-28 Syd Polk <spolk@cygnus.com>
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
674 * library/Makefile.in: Regenerate
676 1998-10-27 Syd Polk <spolk@cygnus.com>
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
682 * configure: Regenerate
683 * library/Makefile.in: Regenerate.
685 1998-10-27 Syd Polk <spolk@cygnus.com>
687 * src/Makefile.am: Fix TKHDIR problems.
688 * src/Makefile.in: Regenerate.
690 1998-10-26 Syd Polk <spolk@cygnus.com>
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
699 Mon Oct 26 09:19:34 1998 Ian Roxborough <irox@cygnus.com>
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.
710 1998-10-20 Syd Polk <spolk@cygnus.com>
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
721 1998-10-14 Syd Polk <spolk@cygnus.com>
723 * src/tclwinfont.c: Compile fix for tcl 8.1.
725 Wed Oct 14 13:01:00 1998 Ian Roxborough <irox@cygnus.com>
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.
733 Fri Oct 9 10:04:00 1998 Ian Roxborough <irox@cygnus.com>
735 * src/xpmlib.c (ImgXpmGetPixmapFromData): set memory allocated
736 for the mask to zero before using.
738 1998-10-05 Syd Polk <spolk@cygnus.com>
740 * configure: Regenerated with new autoconf
742 Mon Oct 5 00:53:59 1998 Martin M. Hunt <hunt@cygnus.com>
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.
748 Wed Sep 30 9:35:00 1998 Ian Roxborough <irox@cygnus.com>
750 *src/tkprintcanvas.c: New file, for printing a canvas under windows.
752 Mon Sep 21 15:45:17 1998 Martin M. Hunt <hunt@cygnus.com>
754 * library/combobox.tcl (::combobox::setValue): Fix
755 instance when value has an embedded space.
757 Thu Sep 3 19:10:00 1998 Sean Mahan <smahan@cygnus.com>
759 * src/tclgetdir.c: Change C++ style comments to C style.
761 Thu Sep 3 18:45:00 1998 Sean Mahan <smahan@cygnus.com>
763 * src/tclhelp.c: Change C++ style comments to C style.
765 Mon Aug 31 11:55:00 1998 Ian Roxborough <irox@cygnus.com>
767 *src/tclgetdir.c: Add definition for SHBrowseForFolderA.
768 (it was missing from cygwin.)
770 Mon Aug 31 11:33:00 1998 Syd Polk <spolk@cygnus.com>
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:
777 Fri Aug 28 18:15:25 1998 Ian Roxborough <irox@cygnus.com>
779 *src/tclgetdir.c: Added missing (from cygwin) #defines for BFFM_*.
781 Wed Aug 26 14:01:25 1998 Ian Roxborough <irox@cygnus.com>
783 *src/tclgetdir.c (get_directory_command): free up
784 memory allocated with Tcl_DString.
786 Wed Aug 26 14:01:25 1998 Ian Roxborough <irox@cygnus.com>
788 Added "-initialdir <dir>" to the ide_get_directory
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.
796 Tue Aug 25 18:31:16 1998 Martin M. Hunt <hunt@cygnus.com>
798 * library/combobox.tcl: Fix previous checkin.
800 Tue Aug 25 17:22:36 1998 Martin M. Hunt <hunt@cygnus.com>
802 * library/combobox.tcl (::combobox::configure): Remove
803 scrollbar width hack. Set foreground and background colors
804 for non-editable and disabled widgets.
806 Tue Aug 25 16:06:34 1998 Martin M. Hunt <hunt@cygnus.com>
808 * library/combobox.tcl (::combobox::doInternalWidgetCommand):
809 Add "Curselection" widget command.
811 Fri Aug 21 12:48:09 1998 Martin M. Hunt <hunt@cygnus.com>
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.
818 Fri Aug 21 11:38:35 1998 Ian Roxborough <irox@cygnus.com>
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.
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
833 *src/tkCanvLayout.c (struct Layout_Graph): add int
835 (LayoutCreateGraph): initalise 'gridlock'.
836 (GetLayoutConfig): copy 'gridlock' when getting.
837 (SetLayoutConfig): copy back 'gridlock' when setting.
838 *src/tkCanvLayout.h (struct LayoutConfig): add
841 1998-08-20 Keith Seitz <keiths@cygnus.com>
843 * src/tclwinprint.c (winprint_print_text_options): Intialize the "initproc"
844 for struct print_text_options.
847 Tue Aug 18 15:39:53 1998 Martin M. Hunt <hunt@cygnus.com>
849 * library/Makefile.am (pkgIndex.tcl): Make this
850 require maintainer mode.
852 Mon Aug 17 16:20:38 1998 Martin M. Hunt <hunt@cygnus.com>
854 * library/Makefile.am (ITCL_SH): Revert previous change.
856 Mon Aug 17 14:44:31 1998 Martin M. Hunt <hunt@cygnus.com>
858 * library/Makefile.am (WISH): Run itcl_wish from the
861 Mon Aug 17 13:20:09 1998 Martin M. Hunt <hunt@cygnus.com>
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
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
883 Thu Aug 13 22:55:36 1998 Martin M. Hunt <hunt@cygnus.com>
885 * configure.in: Add AC_OBJEXT call.
886 * configure: Rebuilt.
888 Thu Aug 13 00:47:08 1998 Martin M. Hunt <hunt@cygnus.com>
890 * library/combobox.tcl: Fix -editable.
892 Wed Aug 12 10:41:45 1998 Matt Leach <mleach@cygnus.com>
894 * src/tclhelp.c: added !WIN32 entries for Webhelp
897 Tue Aug 18 15:39:53 1998 Martin M. Hunt <hunt@cygnus.com>
899 * library/Makefile.am (pkgIndex.tcl): Make this
900 require maintainer mode.
902 Mon Aug 3 01:29:05 1998 Martin M. Hunt <hunt@cygnus.com>
904 * library/combobox.tcl: New file. Windows style
906 * library/pkgIndex.tcl: New file.
907 * library/Makefile.am: Added combobox.tcl.
908 * library/Makefile.in, library/tclIndex: Rebuilt.
909 * configure: Rebuilt.
911 Mon Jul 20 13:36:33 1998 Ian Roxborough <irox@cygnus.com>
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
924 Fri Jul 10 19:17:53 1998 Jim Ingham <jingham@cygnus.com>
926 * src/tkTable* Upgraded tkTable to version 2.1
928 Fri Jul 10 11:29:00 1998 Sean Mahan <smahan@cygnus.com>
930 * src/paths.c (constant run_app_script): Fixed to work with
931 latest version of the TclPro debugger (1.0 beta 3).
933 1998-06-30 Ben Elliston <bje@cygnus.com>
935 * src/tclgetdir.c: Merged from S-N.
937 * src/tclwinprint.c: Merged from S-N. Includes new options for
938 PostScript printing and once-per-job initialisation.
940 * src/tkCanvLayout.c: Merged from S-N. Mostly cleanup.
942 * src/tkCanvEdge.c: Merged from S-N. Handle justified and
945 Fri Jun 26 17:57:00 1998 Sean Mahan <smahan@cygnus.com>
947 * src/paths.c (init_script): fixed `prefix' path.
949 Mon Jun 22 14:15:36 1998 Drew Moseley <dmoseley@cygnus.com>
951 * src/paths.c: Added TCLPRO_DEBUGGER code
953 Thu Jun 4 18:00:27 1998 Martin M. Hunt <hunt@cygnus.com>
955 * src/tkTable*: Imported Jeffrey Hobbs tkTable 2.0
957 * src/Makefile.am: Add tkTable stuff.
958 * src/Makefile.in: Rebuilt.
959 * Makefile.in: Rebuilt.
960 * doc/tkTable.n: Man page for tkTable.
962 Thu May 14 10:45:00 1998 Sean Mahan <smahan@cygnus.com>
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.
974 Wed May 13 10:05:00 1998 Sean Mahan <smahan@cygnus.com>
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.
983 Wed May 6 14:54:47 1998 Ben Elliston <bje@cygnus.com>
985 * src/xpmlib.c (ImgXpmGetData): Preinitialise some local variables.
986 (GetColor): Removed an unused local variable.
987 (ImgXpmGetPixmapFromData): Likewise.
989 Thu Apr 30 19:16:13 1998 Ian Lance Taylor <ian@cygnus.com>
991 * src/paths.c (run_app_script): Don't crash if Paths(appdir) or
992 Paths(idedir) was not set.
994 Thu Apr 23 13:52:13 1998 Tom Tromey <tromey@cygnus.com>
996 * src/tclgetdir.c (get_directory_command): Pass -choosedir to
999 Wed Apr 15 16:47:00 1998 Sean Mahan <smahan@cygnus.com>
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.
1005 Thu Apr 9 14:19:08 1998 Martin M. Hunt <hunt@cygnus.com>
1007 * library/prefs.tcl (PREFS_cmd_init): Use global
1008 variable "GDBTK_IDE" instead of "IDE".
1010 Tue Apr 7 12:41:59 1998 Ian Lance Taylor <ian@cygnus.com>
1012 * src/Makefile.am (libgui_a_SOURCES): Add tclcursor.c.
1013 (tclcursor.o): New target.
1014 * src/Makefile.in: Rebuild.
1016 Tue Mar 31 14:52:31 1998 Tom Tromey <tromey@cygnus.com>
1018 * library/Makefile.in: Rebuilt.
1019 * library/Makefile.am (TCL): Added ventry.tcl.
1020 * library/ventry.tcl: Moved from libide.
1022 Tue Mar 31 16:58:34 1998 Ian Lance Taylor <ian@cygnus.com>
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
1029 * library/Makefile.am (guidir): Add `cygnus' between `$(datadir)'
1031 * library/Makefile.in: Rebuild.
1032 * configure: Rebuild with current autoconf.
1034 Mon Mar 30 12:28:06 1998 Tom Tromey <tromey@cygnus.com>
1036 * library/tclIndex: Rebuilt.
1038 * library/Makefile.in: Rebuilt.
1039 * library/Makefile.am (TCL): Added new files.
1040 * library/advice.tcl, library/path.tcl, library/sendpr.tcl: Moved
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.
1049 Fri Mar 27 20:10:14 1998 Keith Seitz <keiths@onions.cygnus.com>
1051 * library/looknfeel.tcl (standard_look_and_feel): windows-menu is a font
1052 family, not a symbolic font.
1054 Fri Mar 27 00:19:04 1998 Keith Seitz <keiths@onions.cygnus.com>
1056 * library/looknfeel.tcl (standard_look_and_feel): Define font global/menu
1057 to allow changing the menu font on unix.
1059 Tue Mar 24 02:06:59 1998 Martin M. Hunt <hunt@cygnus.com>
1061 * src/Makefile.am (libgui_a_SOURCES): Add tclmsgbox.c.
1062 * src/Makefile.in: Rebuilt.
1063 * src/tclmsgbox.c: New file.
1065 Sun Mar 22 19:29:10 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1067 * library/email.tcl: removed and replaced with internet.tcl.
1068 * library/internet.tcl: added
1070 Sat Mar 21 21:18:06 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1072 Merged the files in library with the corresponding files in Foundry
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.
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.
1099 (re_source): Likewise.
1101 (define_hook): Renamed.
1102 * library/looknfeel.tcl
1103 (add): Define global/italic font in a way
1104 that actually works on Windows.
1106 - Martin M. Hunt <hunt@cygnus.com>
1108 (lrep): New function. Replace an element in a list with a
1111 (PREFS_cmd_getd): Rewrite to call define then get.
1112 Fixes strange problem.
1114 - Ian Lance Taylor <ian@cygnus.com>
1116 Expand tabs to spaces assuming there are tabstops every
1120 Tue Feb 24 19:49:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
1122 * configure.in, src/Makefile.am: Add --enable-install-libgui
1123 option to install libgui.a and header files if required
1125 * Makefile.in, aclocal.m4, configure, library/Makefile.in,
1126 src/Makefile.in: regenerate with latest automake
1128 Wed Jan 14 12:36:49 1998 Keith Seitz <keiths@pizza.cygnus.com>
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
1134 (tclIndex): Call SET_LIB_PATH.
1136 * library/Makefile.in: Regenerate.
1138 * configure.in: Define TCL_SHARED if using shared library for Tcl
1140 * configure: Regenerate.
1142 Tue Dec 16 16:50:40 1997 Ian Lance Taylor <ian@cygnus.com>
1144 New directory to hold GUI support code.