1 2002-02-05 Jim Blandy <jimb@redhat.com>
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
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'.
14 2002-01-04 Ian Roxborough <irox@redhat.com>
16 * src/tkCanvEdge.c (CreateEdge, EdgeCoords, ConfigureEdge):
17 Objectify functions to use Tcl_Obj instead of char**.
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.
23 2001-10-28 Christopher Faylor <cgf@redhat.com>
25 * configure.in: Modify 2001-10-12 change to check for cygwin host
26 rather than cygwin target.
27 * configure: Regenerate.
29 2001-10-26 Keith Seitz <keiths@redhat.com>
31 * configure.in (ac_win_build): Actually want "-DWIN32" with
32 cygwin hosts, not just cygwin targets.
33 * configure: Regenerate.
35 2001-10-24 Keith Seitz <keiths@redhat.com>
37 * configure.in (ac_win_build): Put "-DWIN32" back into LIBGUI_CFLAGS.
38 * configure: Regenerate.
40 2001-10-12 Christopher Faylor <cgf@redhat.com>
42 * win/configure.in: Add detection for -mwin32 option requirement under
44 * win/configure: Regenerate.
46 2001-10-10 Ian Roxborough <irox@redhat.com>
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.
53 2001-09-08 Ian Roxborough <irox@redhat.com>
55 * all: Tcl/Tk8.3 upgrade merge.
57 2001-09-02 Martin M. Hunt <hunt@redhat.com>
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.
68 2001-08-24 Keith Seitz <keiths@redhat.com>
70 * src/tkTable.tcl: Use "string compare" instead of "string
71 equal". The latter is only available in newer versions of
74 2001-08-12 Mo DeJong <mdejong@redhat.com>
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.
82 2001-08-12 Keith Seitz <keiths@redhat.com>
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
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.
98 2001-08-06 Mo DeJong <mdejong@redhat.com>
100 * Makefile.in: Regen.
102 * configure.in: Remove unused ITCL_DIR variable.
103 * library/Makefile.in: Regen.
104 * src/Makefile.in: Regen.
106 2001-08-06 Mo DeJong <mdejong@redhat.com>
109 * library/Makefile.in:
111 Regenerate Makefiles to account for AR fix
114 2001-08-03 Mo DeJong <mdejong@redhat.com>
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.
124 2001-08-03 Mo DeJong <mdejong@redhat.com>
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.
130 2001-08-03 Mo DeJong <mdejong@redhat.com>
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
148 2001-08-02 Mo DeJong <mdejong@redhat.com>
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.
157 2001-08-02 Mo DeJong <mdejong@redhat.com>
159 * src/tkWinPrintText.c (DisplayDLineToDrawable): Fix
160 compiler warning by adding missing static modifier
161 to funciton declaration.
163 2001-08-02 Mo DeJong <mdejong@redhat.com>
165 * config.h.in: 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.
172 2001-08-02 Mo DeJong <mdejong@redhat.com>
174 * src/tclhelp.c (help_command_deleted): Free the
175 help_command_data->help_dir member allocated in
176 help_initialize_command.
178 2001-08-02 Mo DeJong <mdejong@redhat.com>
180 * src/tkGraphCanvas.c (GetEdgeNodes): Use ckalloc
181 and strcpy instead of calling strdup() since this
182 memory is deallocated with ckfree() later on.
184 2001-08-02 Mo DeJong <mdejong@redhat.com>
186 * Makefile.in: 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.
199 2001-05-18 Keith Seitz <keiths@cygnus.com>
201 * library/center.tcl (center_window): Allow centering
202 the toplevel on a window, too.
204 2001-05-03 Keith Seitz <keiths@cygnus.com>
206 * src/tkWarpPointer.c (WarpPointer): Implement for windows.
208 2001-04-06 Christopher Faylor <cgf@redhat.com>
210 * configure.in: Add test for -mwin32 requirement switch when building
212 * configure: Regenerate.
214 2000-11-30 Tom Tromey <tromey@cygnus.com>
216 * library/balloon.tcl (balloon): Document `balloon withdraw'.
218 2000-11-27 Tom Tromey <tromey@cygnus.com>
220 * library/debug.tcl (logfile): Also recognize stderr.
222 2000-07-12 Syd Polk <spolk@redhat.com>
224 * library/Makefile.am: Only regenerate tclIndex and pkgIndex.tcl
225 if this is configured with --enable-maintainer-mode.
227 2000-07-11 Mo DeJong <mdejong@redhat.com>
230 * library/Makefile.am:
231 * library/Makefile.in:
234 * library/treetable.tcl:
239 * src/tkTreeTable.h: Moved implementation of
240 "treetable" command out back into snavigator.
242 2000-07-06 Mo DeJong <mdejong@redhat.com>
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.
251 2000-06-30 Mo DeJong <mdejong@redhat.com>
253 * library/tree.tcl: Fix typo made in patch
256 2000-06-30 Syd Polk <spolk@cygnus.com>
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.
262 2000-06-22 Mo DeJong <mdejong@redhat.com>
264 * library/tree.tcl: Remove use of watch
265 command. Add check to see if toplevel
266 exists to avoid error.
268 2000-06-22 Mo DeJong <mdejong@redhat.com>
270 * src/tkGraphCanvas.c (GetEdgeNodes): Fixed
271 crash in ckfree caused by call to strdup that
272 was later freed using ckfree.
274 2000-06-19 Syd Polk <spolk@redhat.com>
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.
282 Fri Jun 9 20:43:40 2000 Christopher Faylor <cgf@cygnus.com>
284 * src/paths.c (initialize_paths): Look in /usr/share for stuff.
286 2000-04-18 James Ingham <jingham@leda.cygnus.com>
288 * library/toolbar.tcl (TOOLBAR_button_up): If the pointer is still
289 in the button, reraise the button after a press.
291 2000-04-03 James Ingham <jingham@leda.cygnus.com>
293 * src/paths.c: Follow links in determining the location of the
296 Fri Sep 17 19:14:15 1999 Andrew Cagney <cagney@b1.cygnus.com>
298 * src/guitcl.h (cyg_create_warp_pointer_command): Add declaration.
300 1999-09-07 Jim Ingham <jingham@cygnus.com>
302 * library/tclIndex: Rebuild - this somehow got built wrong,
303 leaving out all the debug, and all the panedwindow references.
305 1999-09-02 Syd Polk <spolk@cygnus.com>
307 * library/Makefile.am: Revert bad merge
308 * library/Makefile.in: Regenerate
310 1999-08-10 James Ingham <jingham@leda.cygnus.com>
312 * library/balloon.tcl (BALLOON_command_withdraw): New command, use
313 to remove the balloon before it's timeout has expired.
315 1999-08-02 James Ingham <jingham@leda.cygnus.com>
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.
321 1999-05-26 Ian Roxborough <irox@cygnus.com>
323 * library/combobox.tcl: If a combobox is not editable then
324 make the background of the text box white.
326 1999-04-29 Syd Polk <spolk@cygnus.com>
328 * src/paths.c: Add a scaled-down version of path initialization
331 1999-04-28 Syd Polk <spolk@cygnus.com>
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.
342 1999-04-17 Syd Polk <spolk@cygnus.com>
344 * Revert merge. I checked in itcl3.0 code into a itcl 1.5 branch.
346 1999-04-22 Khamis Abuelkomboz <khamis@cygnus.com>
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.
354 1999-04-07 Khamis Abuelkomboz <khamis@cygnus.com>
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.
361 * library/toolbar.tcl (TOOLBAR_button_leave): synchronize enter/leave
362 to not mismatch a relief change.
364 1999-03-30 Khamis Abuelkomboz <khamis@cygnus.com>
366 * library/tclIndex: regenerated.
368 * library/tree.tcl (start_motion): by changing column size use only a
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
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.
382 1999-03-29 Martin Hunt <hunt@cygnus.com>
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.
389 1999-03-29 Syd Polk <spolk@cygnus.com>
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.
395 1999-03-17 Khamis Abuelkomboz <khamis@cygnus.com>
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
402 1999-03-15 Ian T Roxborough <irox@cygnus.com>
404 * library/combobox.tcl(combobox::configure): On Windows draw a black
405 box around the popup for a better Windows look'n'feel.
407 1999-03-15 Khamis Abuelkomboz <khamis@cygnus.com>
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.
413 * library/Makefile.in: added tree.tcl as part of the library.
415 * library/Makefile.am: likewise.
417 Wed Mar 10 19:44:31 1999 Geoffrey Noer <noer@cygnus.com>
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
423 1999-03-09 Ian T Roxborough <irox@cygnus.com>
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)
429 Fri Mar 5 11:00:54 1999 Khamis Abuelkombuz <khamis@cygnus.com>
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.
434 1999-03-04 Syd Polk <spolk@cygnus.com>
436 * src/tkTreeTable.c: Re-fixed SunOS build problem.
438 Wed Mar 3 16:57:21 1999 Khamis Abuelkombuz <khamis@cygnus.com>
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.
443 1999-03-03 James Ingham <jingham@cygnus.com>
445 * library/combobox.tcl (::combobox::setValue): Call the command in
446 an after idle, so that the combobox gets a chance to unpost before
449 1999-02-23 Martin Hunt <hunt@cygnus.com>
451 * src/paths.c: Change error message so that it says
452 it can't find "GUI" library instead of "IDE" library.
454 1999-02-18 Martin Hunt <hunt@cygnus.com>
456 * library/hooks.tcl (run_hooks): Cleanup error message.
458 1999-02-17 Martin Hunt <hunt@cygnus.com>
460 * library/internet.tcl (open_url): Change to open another
461 window for Netscape on Unix. Returns 0 on failure, 1 on
464 1999-02-11 Syd Polk <spolk@cygnus.com>
466 * configure.in: Fixed problem with comparison to xcl.
467 * configure: Regenerated.
469 1999-02-10 Syd Polk <spolk@cygnus.com>
471 * configure.in: Find the correct itclsh.
472 Fixed problem with cygwin build. Should not need cygpath
474 * configure: Regenerated.
476 1999-02-10 Martin Hunt <hunt@cygnus.com>
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.
483 1999-02-09 Martin Hunt <hunt@cygnus.com>
485 * library/panedwindow.tcl (cyg::PanedWindow): Add -sashcolor
487 (cyg::PanedWindow::sashcolor): New config method.
488 (cyg::PanedWindow::_makeSashes): Set sash color.
490 1999-02-01 James Ingham <jingham@cygnus.com>
492 * src/paths.c: Put in some missing \n\'s.
494 1999-01-22 Jim Ingham <jingham@cygnus.com>
496 Merging changes in from gdbtk-980810-branch
498 1999-01-22 Martin Hunt <hunt@cygnus.com>
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.
506 1998-12-17 Martin M. Hunt <hunt@cygnus.com>
508 * library/panedwindow.tcl (cyg::PanedWindow::sashwidth): Change
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.
517 1998-12-16 Martin M. Hunt <hunt@cygnus.com>
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.
524 * library/pane.tcl: New file. Basically an extended pane.itk
525 from the iwidgets distribution.
527 1998-08-10 Jim Ingham <jingham@cygnus.com>
529 * src/paths.c: Figure out how to run from the build tree.
531 1999-01-14 Ben Elliston <bje@cygnus.com>
533 * src/tkTreeTable.c: Remove unnecessary #includes that collide
534 with Tcl's compat headers.
536 1998-12-14 Ian Roxborough <irox@cygnus.com>
538 * src/tclwinfont.c (win_choose_font): convert all result strings
539 to utf8 format if using tcl/tk8.1.
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.
547 1998-12-12 Khamis Abuelkomboz <khamis@cygnus.com>
549 * src/tkTreeTable.c (DisplayRecursive): use metrics.descent by
550 displaying the active line.
552 1998-12-11 Syd Polk <spolk@cygnus.com>
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.
558 1998-11-30 Ian Roxborough <irox@cygnus.com>
560 * src/tkWinPrintCanvas.c (PrintCanvasCmd): return OK
561 if the user hits cancel.
562 * src/tkGraphCanvas.c (GraphCanvasCmd): changed to free()s
565 1998-11-17 Ian Roxborough <irox@cygnus.com>
567 * src/tkWinPrintText.c (PrintTextCmd): Disable the print
568 selection until it is implemented properly.
570 1998-11-17 Ben Elliston <bje@cygnus.com>
572 * src/tkTreeTable.h: Merge from Source-Navigator.
574 * src/tkTreeTable.c: Likewise.
576 1998-11-16 Ian Roxborough <irox@cygnus.com>
578 * src/tkWinPrintText.c (PrintTextCmd): return OK
579 if the user hits cancel.
581 1998-11-11 Khamis Abuelkomboz <khamis@cygnus.com>
583 * src/tkTreeTable.c: using tcl/memory allocation functions.
585 * src/tkCanvLayout.c (LayoutClearGraph): check parent/succ for
586 availiability before freeing it.
588 1998-06-04 Jim Blandy <jimb@zwingli.cygnus.com>
590 * configure.in: Use AM_PROC_CC_STDC, since this directory requires
591 ANSI C in order to compile.
592 * aclocal.m4, configure: Regenerated.
594 Thu Dec 17 11:46:04 1998 Keith Seitz <keiths@cygnus.com>
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.
602 Sun Nov 8 23:52:31 1998 Felix Lee <flee@cygnus.com>
604 * configure.in (ac_win_build): quoting fix.
605 * configure: regenerated.
607 Wed Nov 4 18:46:13 1998 Dave Brolley <brolley@cygnus.com>
609 * acinclude.m4: New file.
610 * Makefile.in: Regenerated.
611 * aclocal.m4: Regenerated.
612 * configure: Regenerated.
614 1998-11-04 Ian Roxborough <irox@cygnus.com>
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.
621 1998-11-02 Ben Elliston <bje@cygnus.com>
623 * src/xpmlib.c (LONGBITS): Take the sizeof `long', not
624 `LONG'. Most UNIX environments have no such macro.
626 1998-10-30 Ian Roxborough <irox@cygnus.com>
628 * src/xpmlib.c (ImgXpmGetPixmapFromData): calculate the
629 bitmap pading the same the tk x-emulation layer does.
631 1998-10-29 Ben Elliston <bje@cygnus.com>
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.
640 1998-10-28 Syd Polk <spolk@cygnus.com>
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.
647 1998-10-28 Syd Polk <spolk@cygnus.com>
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
654 * library/Makefile.in: Regenerate
656 1998-10-27 Syd Polk <spolk@cygnus.com>
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
662 * configure: Regenerate
663 * library/Makefile.in: Regenerate.
665 1998-10-27 Syd Polk <spolk@cygnus.com>
667 * src/Makefile.am: Fix TKHDIR problems.
668 * src/Makefile.in: Regenerate.
670 1998-10-26 Syd Polk <spolk@cygnus.com>
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
679 Mon Oct 26 09:19:34 1998 Ian Roxborough <irox@cygnus.com>
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.
690 1998-10-20 Syd Polk <spolk@cygnus.com>
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
701 1998-10-14 Syd Polk <spolk@cygnus.com>
703 * src/tclwinfont.c: Compile fix for tcl 8.1.
705 Wed Oct 14 13:01:00 1998 Ian Roxborough <irox@cygnus.com>
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.
713 Fri Oct 9 10:04:00 1998 Ian Roxborough <irox@cygnus.com>
715 * src/xpmlib.c (ImgXpmGetPixmapFromData): set memory allocated
716 for the mask to zero before using.
718 1998-10-05 Syd Polk <spolk@cygnus.com>
720 * configure: Regenerated with new autoconf
722 Mon Oct 5 00:53:59 1998 Martin M. Hunt <hunt@cygnus.com>
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.
728 Wed Sep 30 9:35:00 1998 Ian Roxborough <irox@cygnus.com>
730 *src/tkprintcanvas.c: New file, for printing a canvas under windows.
732 Mon Sep 21 15:45:17 1998 Martin M. Hunt <hunt@cygnus.com>
734 * library/combobox.tcl (::combobox::setValue): Fix
735 instance when value has an embedded space.
737 Thu Sep 3 19:10:00 1998 Sean Mahan <smahan@cygnus.com>
739 * src/tclgetdir.c: Change C++ style comments to C style.
741 Thu Sep 3 18:45:00 1998 Sean Mahan <smahan@cygnus.com>
743 * src/tclhelp.c: Change C++ style comments to C style.
745 Mon Aug 31 11:55:00 1998 Ian Roxborough <irox@cygnus.com>
747 *src/tclgetdir.c: Add definition for SHBrowseForFolderA.
748 (it was missing from cygwin.)
750 Mon Aug 31 11:33:00 1998 Syd Polk <spolk@cygnus.com>
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:
757 Fri Aug 28 18:15:25 1998 Ian Roxborough <irox@cygnus.com>
759 *src/tclgetdir.c: Added missing (from cygwin) #defines for BFFM_*.
761 Wed Aug 26 14:01:25 1998 Ian Roxborough <irox@cygnus.com>
763 *src/tclgetdir.c (get_directory_command): free up
764 memory allocated with Tcl_DString.
766 Wed Aug 26 14:01:25 1998 Ian Roxborough <irox@cygnus.com>
768 Added "-initialdir <dir>" to the ide_get_directory
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.
776 Tue Aug 25 18:31:16 1998 Martin M. Hunt <hunt@cygnus.com>
778 * library/combobox.tcl: Fix previous checkin.
780 Tue Aug 25 17:22:36 1998 Martin M. Hunt <hunt@cygnus.com>
782 * library/combobox.tcl (::combobox::configure): Remove
783 scrollbar width hack. Set foreground and background colors
784 for non-editable and disabled widgets.
786 Tue Aug 25 16:06:34 1998 Martin M. Hunt <hunt@cygnus.com>
788 * library/combobox.tcl (::combobox::doInternalWidgetCommand):
789 Add "Curselection" widget command.
791 Fri Aug 21 12:48:09 1998 Martin M. Hunt <hunt@cygnus.com>
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.
798 Fri Aug 21 11:38:35 1998 Ian Roxborough <irox@cygnus.com>
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.
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
813 *src/tkCanvLayout.c (struct Layout_Graph): add int
815 (LayoutCreateGraph): initalise 'gridlock'.
816 (GetLayoutConfig): copy 'gridlock' when getting.
817 (SetLayoutConfig): copy back 'gridlock' when setting.
818 *src/tkCanvLayout.h (struct LayoutConfig): add
821 1998-08-20 Keith Seitz <keiths@cygnus.com>
823 * src/tclwinprint.c (winprint_print_text_options): Intialize the "initproc"
824 for struct print_text_options.
827 Tue Aug 18 15:39:53 1998 Martin M. Hunt <hunt@cygnus.com>
829 * library/Makefile.am (pkgIndex.tcl): Make this
830 require maintainer mode.
832 Mon Aug 17 16:20:38 1998 Martin M. Hunt <hunt@cygnus.com>
834 * library/Makefile.am (ITCL_SH): Revert previous change.
836 Mon Aug 17 14:44:31 1998 Martin M. Hunt <hunt@cygnus.com>
838 * library/Makefile.am (WISH): Run itcl_wish from the
841 Mon Aug 17 13:20:09 1998 Martin M. Hunt <hunt@cygnus.com>
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
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
863 Thu Aug 13 22:55:36 1998 Martin M. Hunt <hunt@cygnus.com>
865 * configure.in: Add AC_OBJEXT call.
866 * configure: Rebuilt.
868 Thu Aug 13 00:47:08 1998 Martin M. Hunt <hunt@cygnus.com>
870 * library/combobox.tcl: Fix -editable.
872 Wed Aug 12 10:41:45 1998 Matt Leach <mleach@cygnus.com>
874 * src/tclhelp.c: added !WIN32 entries for Webhelp
877 Tue Aug 18 15:39:53 1998 Martin M. Hunt <hunt@cygnus.com>
879 * library/Makefile.am (pkgIndex.tcl): Make this
880 require maintainer mode.
882 Mon Aug 3 01:29:05 1998 Martin M. Hunt <hunt@cygnus.com>
884 * library/combobox.tcl: New file. Windows style
886 * library/pkgIndex.tcl: New file.
887 * library/Makefile.am: Added combobox.tcl.
888 * library/Makefile.in, library/tclIndex: Rebuilt.
889 * configure: Rebuilt.
891 Mon Jul 20 13:36:33 1998 Ian Roxborough <irox@cygnus.com>
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
904 Fri Jul 10 19:17:53 1998 Jim Ingham <jingham@cygnus.com>
906 * src/tkTable* Upgraded tkTable to version 2.1
908 Fri Jul 10 11:29:00 1998 Sean Mahan <smahan@cygnus.com>
910 * src/paths.c (constant run_app_script): Fixed to work with
911 latest version of the TclPro debugger (1.0 beta 3).
913 1998-06-30 Ben Elliston <bje@cygnus.com>
915 * src/tclgetdir.c: Merged from S-N.
917 * src/tclwinprint.c: Merged from S-N. Includes new options for
918 PostScript printing and once-per-job initialisation.
920 * src/tkCanvLayout.c: Merged from S-N. Mostly cleanup.
922 * src/tkCanvEdge.c: Merged from S-N. Handle justified and
925 Fri Jun 26 17:57:00 1998 Sean Mahan <smahan@cygnus.com>
927 * src/paths.c (init_script): fixed `prefix' path.
929 Mon Jun 22 14:15:36 1998 Drew Moseley <dmoseley@cygnus.com>
931 * src/paths.c: Added TCLPRO_DEBUGGER code
933 Thu Jun 4 18:00:27 1998 Martin M. Hunt <hunt@cygnus.com>
935 * src/tkTable*: Imported Jeffrey Hobbs tkTable 2.0
937 * src/Makefile.am: Add tkTable stuff.
938 * src/Makefile.in: Rebuilt.
939 * Makefile.in: Rebuilt.
940 * doc/tkTable.n: Man page for tkTable.
942 Thu May 14 10:45:00 1998 Sean Mahan <smahan@cygnus.com>
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.
954 Wed May 13 10:05:00 1998 Sean Mahan <smahan@cygnus.com>
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.
963 Wed May 6 14:54:47 1998 Ben Elliston <bje@cygnus.com>
965 * src/xpmlib.c (ImgXpmGetData): Preinitialise some local variables.
966 (GetColor): Removed an unused local variable.
967 (ImgXpmGetPixmapFromData): Likewise.
969 Thu Apr 30 19:16:13 1998 Ian Lance Taylor <ian@cygnus.com>
971 * src/paths.c (run_app_script): Don't crash if Paths(appdir) or
972 Paths(idedir) was not set.
974 Thu Apr 23 13:52:13 1998 Tom Tromey <tromey@cygnus.com>
976 * src/tclgetdir.c (get_directory_command): Pass -choosedir to
979 Wed Apr 15 16:47:00 1998 Sean Mahan <smahan@cygnus.com>
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.
985 Thu Apr 9 14:19:08 1998 Martin M. Hunt <hunt@cygnus.com>
987 * library/prefs.tcl (PREFS_cmd_init): Use global
988 variable "GDBTK_IDE" instead of "IDE".
990 Tue Apr 7 12:41:59 1998 Ian Lance Taylor <ian@cygnus.com>
992 * src/Makefile.am (libgui_a_SOURCES): Add tclcursor.c.
993 (tclcursor.o): New target.
994 * src/Makefile.in: Rebuild.
996 Tue Mar 31 14:52:31 1998 Tom Tromey <tromey@cygnus.com>
998 * library/Makefile.in: Rebuilt.
999 * library/Makefile.am (TCL): Added ventry.tcl.
1000 * library/ventry.tcl: Moved from libide.
1002 Tue Mar 31 16:58:34 1998 Ian Lance Taylor <ian@cygnus.com>
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
1009 * library/Makefile.am (guidir): Add `cygnus' between `$(datadir)'
1011 * library/Makefile.in: Rebuild.
1012 * configure: Rebuild with current autoconf.
1014 Mon Mar 30 12:28:06 1998 Tom Tromey <tromey@cygnus.com>
1016 * library/tclIndex: Rebuilt.
1018 * library/Makefile.in: Rebuilt.
1019 * library/Makefile.am (TCL): Added new files.
1020 * library/advice.tcl, library/path.tcl, library/sendpr.tcl: Moved
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.
1029 Fri Mar 27 20:10:14 1998 Keith Seitz <keiths@onions.cygnus.com>
1031 * library/looknfeel.tcl (standard_look_and_feel): windows-menu is a font
1032 family, not a symbolic font.
1034 Fri Mar 27 00:19:04 1998 Keith Seitz <keiths@onions.cygnus.com>
1036 * library/looknfeel.tcl (standard_look_and_feel): Define font global/menu
1037 to allow changing the menu font on unix.
1039 Tue Mar 24 02:06:59 1998 Martin M. Hunt <hunt@cygnus.com>
1041 * src/Makefile.am (libgui_a_SOURCES): Add tclmsgbox.c.
1042 * src/Makefile.in: Rebuilt.
1043 * src/tclmsgbox.c: New file.
1045 Sun Mar 22 19:29:10 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1047 * library/email.tcl: removed and replaced with internet.tcl.
1048 * library/internet.tcl: added
1050 Sat Mar 21 21:18:06 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1052 Merged the files in library with the corresponding files in Foundry
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.
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.
1079 (re_source): Likewise.
1081 (define_hook): Renamed.
1082 * library/looknfeel.tcl
1083 (add): Define global/italic font in a way
1084 that actually works on Windows.
1086 - Martin M. Hunt <hunt@cygnus.com>
1088 (lrep): New function. Replace an element in a list with a
1091 (PREFS_cmd_getd): Rewrite to call define then get.
1092 Fixes strange problem.
1094 - Ian Lance Taylor <ian@cygnus.com>
1096 Expand tabs to spaces assuming there are tabstops every
1100 Tue Feb 24 19:49:12 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
1102 * configure.in, src/Makefile.am: Add --enable-install-libgui
1103 option to install libgui.a and header files if required
1105 * Makefile.in, aclocal.m4, configure, library/Makefile.in,
1106 src/Makefile.in: regenerate with latest automake
1108 Wed Jan 14 12:36:49 1998 Keith Seitz <keiths@pizza.cygnus.com>
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
1114 (tclIndex): Call SET_LIB_PATH.
1116 * library/Makefile.in: Regenerate.
1118 * configure.in: Define TCL_SHARED if using shared library for Tcl
1120 * configure: Regenerate.
1122 Tue Dec 16 16:50:40 1997 Ian Lance Taylor <ian@cygnus.com>
1124 New directory to hold GUI support code.