1 /* $Header: /cvs/gnome/gcalctool/ChangeLog-1992,v 1.4 2006/01/09 16:30:20 richb Exp $
3 * Copyright (c) 1987-2008 Sun Microsystems, Inc.
7 gcalctool change history - 1992.
8 ================================
10 v3.2 - patchlevel 54 [richb] - 14 Jan 1992.
12 * Files changed: CHANGES patchlevel.h calctool.c extern.h get.c
14 * Fixed #1111170 - It's a needed fix for international locales. It will fail
15 in all multi-byte locales. Text strings written to the X
16 resources files should not be localised.
20 v3.2 - patchlevel 53 [richb] - 14 Jan 1992.
22 * Files changed: CHANGES patchlevel.h functions.c
24 * Fixed #1110771 - put an LGET() around the three offending strings.
28 v3.2 - patchlevel 52 [richb] - 14 Jan 1992.
30 * Files changed: CHANGES patchlevel.h functions.c xview.c
32 * Fixed #1113318 - the difference between the previous version of calctool
33 and this one is that the mode window is now pinned when
38 v3.2 - patchlevel 51 [richb] - 14 Jan 1992.
40 Files changed: CHANGES patchlevel.h xview.c
42 * Fixed #1114403 - the menu was being created with a frame as owner instead
47 v3.2 - patchlevel 50 [richb] - 14 Jan 1992.
49 * Files changed: CHANGES patchlevel.h calctool.G
51 * Fixed #1108519 - "Properties" is now "Properties...".
55 v3.2 - patchlevel 49 [jffowler] - 02 Nov 1992.
57 * Files changed: CHANGES patchlevel.h xview.c
59 * Temporary fix - commented out all XV_SET's of WIN_USE_IM to prevent
60 xv_error_proc from being called, just to get calctool up for 493.
64 v3.2 - patchlevel 48 [jffowler] - 23 Oct 1992.
66 * Files changed: CHANGES patchlevel.h xview.c
68 * Fixed coredump - moved setting of v above first xv_set where setting
69 WIN_USE_IM was causing xv_error_proc to be called before v was set.
73 v3.2 - patchlevel 47 [richb] - 22 Oct 1992.
75 * Files changed: CHANGES patchlevel.h graphics.c
77 * Fixed bug #1105557 - added a check to the process_str() routine to test
78 if v->error is set. If yes, then processing of the
79 selection is aborted at that point.
81 * Transferring bug #1105415 to xview/library.
85 v3.2 - patchlevel 46 [richb] - 22 Oct 1992.
87 * Files changed: CHANGES patchlevel.h functions.c
89 * Fixed bug #1104803 - calctool didn't always reset the display correctly
90 after an error condition.
94 v3.2 - patchlevel 45 [richb] - 22 Oct 1992.
96 * Files changed: CHANGES patchlevel.h functions.c mp.c calctool.h
98 * Fixed bug #1105387 - tan(90 degrees) now produces an error message, and
99 Fixed bug #1102842 - tan(180 degrees) now produces 0.00 (rather than -0.00).
100 A check is now made for cos(x) == 0.0. If yes, then
101 it's an overflow error. Tan(x) is now calculated as:
102 sin(x) / cos(x). Removed mptan() function from mp.c.
104 * Fixed bug #1102604 - 0! now produces 1 (rather than "Error").
106 * Closed #1102877 - not a bug. Compared result against xcalc and two handheld
111 v3.2 - patchlevel 44 [richb] - 19 Oct 1992.
113 * Files changed: CHANGES patchlevel.h xview.c
115 * Adjusted the put_resource() routine in xview.c to give a pointer to the
116 XrmDatabase, and not call by reference.
120 v3.2 - patchlevel 43 [richb] - 13 Oct 1992.
122 * Files changed: CHANGES patchlevel.h calctool.h xview.c text.c functions.c
125 * Changed the "Set Default" button on the property sheet to "Save as Defaults".
127 * Fixed bug #1093905 - calctool will now look at the X resource:
128 OpenWindows.beep first and set the v->beep variable
129 accordingly. If the DeskSet calctool X resource:
130 deskset.calctool.beep is also set, this will override.
132 * Fixed bug #1093948 - problem with exponential numbers and memory registers.
133 Adjustments to the do_expno() routine in functions.c,
134 and do_sto_rcl() needed to set v->new_input when
135 retrieving a number from a memory register.
137 * Fixed bug #1098178 - allowed the character string "%s %1d already exists."
138 to be localised. New message in mess[(int) MESS_CON].
140 * Fixed bug #1100331 - the ibool() routine wasn't returning the correct
141 integer boolean value for hexadecimal 100000000.
143 * Fixed bug #1100441 - the second parameter to a call to mppwr() in
144 MPstr_to_num() in display.c should have been using an
145 integer not an MP number.
147 * Reclassified the xcalc bug #1093951 under x11news/program.
149 * Bug #1102406 isn't a bug. It displays "Error" in the calctool displays and
150 beeps (assuming beeping is set), forcing the user to clear the calculator.
154 [All previous changes were by Rich Burridge <rich.burridge@Sun.COM>]
156 v3.2 - patchlevel 42. 5 Oct 1992.
158 * Fixed ifdef'd OW18N code that referenced X->frame to Calctool_kframe->kframe.
162 v3.2 - patchlevel 41. 4 June 1992.
164 * Moved various routines, that are common to several Deskset tools, over to
165 libdeskset and adjusted the files accordingly.
167 * Calctool would core dump when trying to retrieve the default menu string
168 for the menus associated with various calctool "buttons". Added a new routine
169 to xview.c called get_def_menu_str() which now correctly returns this.
170 Removed the str variable from the menu_entry struct, and adjusted the code
171 for this change (made menu_entries an array of char).
175 v3.2 - patchlevel 40. 1 May 1992.
177 * Fixed bug #1090718 - a check is made to see if the mode or memory windows
178 should be displayed, and they now no longer appear if
179 calctool is started iconically. A frame event interpose
180 handler has been added for the main calctool frame, so
181 that the current window state (open/closed) can be
186 v3.2 - patchlevel 39. 22 April 1992.
188 * Fixed bug #1084790 - calctool now recognises the -icon_font and
189 Icon.font.name options.
193 v3.2 - patchlevel 38. 22 April 1992.
195 * Calctool has been changed so the default is a right-handed calculator. The
196 manual pages have been updated.
198 * Made the calctool menus pinnable.
202 v3.2 - patchlevel 37. 15 April 1992.
204 * DevGuided calctool and removed unwanted code.
206 * Changed the first place calctool looks for it's defaults from
207 /usr/lib/X11/app-defaults/Deskset to $OPENWINHOME/lib/app-defaults/Deskset.
208 This fixes rfe #1087119.
210 * Calctools' initial size was incorrect if started with a -scale of large or
213 * Fixed bug 1087908 - the constant window is now initially pinned.
215 * Fixed bug 1087911 - the function window is now initially pinned.
219 v3.2 - patchlevel 36. 23rd March 1992.
221 * Add and remove WIN_USE_IM (I18N level 4 XView attribute). See bugid 1083920
225 v3.2 - patchlevel 35. 27th February 1992.
227 * Due to the changes introduced in patch #31 for the localisation
228 of the keyboard equivalents of the calctool buttons, when calctool
229 was used in "right-hand" mode, the translated values were incorrect.
234 v3.2 - patchlevel 34. 24th February 1992.
236 * Ran purify on calctool. Found various memory leaks/corruptions.
237 Plugged 'em. Fixes #1083925.
241 v3.2 - patchlevel 33. 19th February 1992.
243 * More work on #1077702. Adjustment to the way the hyperbolic
244 trig functions work. If calctool is display in degrees or
245 gradients, then the input should not be converted to radians.
246 Similarily, the output should not be converted back to degrees
251 v3.2 - patchlevel 32. 19th February 1992.
253 * calctool tried to use a localised "deskset" and "Deskset" strings
254 when reading and writing its X resources. Fixes #1083402.
258 v3.2 - patchlevel 31. 19th February 1992.
260 * The keyboard equivalents for the calctool buttons and menu entries
261 have been localised. Calctool code has been adjusted to use these
262 localised values, rather than the previously hard-wired values. At
263 present, only a single character is allowed for each keyboard
264 equivalent, and it will be taken from the first character in the
265 localised string. A definition IS_KEY() has been added to calctool.h
266 and used extensively in the code in case a multi-byte character
267 comparison is needed. Fixed bug #1082353.
271 v3.2 - patchlevel 30. 14th February 1992.
273 * If no initial size is given for calctool, then it will determine the
274 length of the longest button label (includes the mode button labels),
275 and adjust the size so that the full text for that button can be
276 displayed, and the remainder of the buttons are the same size. With
277 the English version, all calctool button labels should be four
278 characters long, so there should be no visible change. Note that
279 calctool could then be resized smaller and as much of the label as
280 possible will be displayed, and if there is more text for that label,
281 then the final label character will be a '>' character. Fixes bug
286 v3.2 - patchlevel 29. 13th February 1992.
288 * The Apply, Set defaults and Reset buttons were not being centralised
289 on the calctool property sheet. Fixes bug #1082182.
293 v3.2 - patchlevel 28. 18th January 1992.
295 * Line up the panel choice labels in the properties sheet using
296 PANEL_LABEL_FONT to figure out the label string length
297 (Font_string_dims). This is an i18n fix. File affected - xview.c.
301 v3.2 - patchlevel 27. 17th January 1992.
303 * The inverse cosine of 1.0 was incorrect. It should have returned
304 0.0. Fixes bug #1077702.
308 v3.2 - patchlevel 26. 17th January 1992.
310 * Fixup from Doug Twilleager and Jackson Wong to get calctool to
311 work under jup_prebeta3. Variables bminh and bminw were not
312 initialised to zero in init_size() in get.c.
316 v3.2 - patchlevel 25. 16th January 1992.
318 * Calctool was incorrectly recognising the +Wn and -Wn command line
319 options. Fixes bug #1079394.
321 * Small changes to the way that -fg color and -bg color are handled:
323 - If the -bg command line option is present or the
324 window.color.background resource set, then it will no longer change
325 the background color of the button areas.
327 - If the deskset.calctool.textColor resource is set, then -fg will
330 - If the deskset.calctool.memRegisterColor resource is set, then -bg
331 will not override it.
333 - If the deskset.calctool.displayColor resource is set, then -bg
334 will not override it.