1c056561aSmbalmer2001-02-14 04:10  jmknoble
28db30ca8Sthorpej
3c056561aSmbalmer	* Imakefile: New version 1.2.0.
48db30ca8Sthorpej
5c056561aSmbalmer2001-02-14 04:07  jmknoble
68db30ca8Sthorpej
7c056561aSmbalmer	* README, x11-ssh-askpass.c, x11-ssh-askpass.h,
8c056561aSmbalmer	x11-ssh-askpass.man.in: Updated copyright notices to include 2001.
9c056561aSmbalmer
10c056561aSmbalmer2001-02-14 04:06  jmknoble
11c056561aSmbalmer
12c056561aSmbalmer	* Imakefile, README: Moved default BINDIR to
13c056561aSmbalmer	/usr/local/libexec/openssh to conform with recent releases of
14c056561aSmbalmer	portable OpenSSH.
15c056561aSmbalmer
16c056561aSmbalmer2001-02-14 03:59  jmknoble
17c056561aSmbalmer
18c056561aSmbalmer	* x11-ssh-askpass.c, x11-ssh-askpass.h, x11-ssh-askpass.man.in: Now
19c056561aSmbalmer	x11-ssh-askpass understands newline characters ('\n') in text
20c056561aSmbalmer	labels (both the prompt string and the button labels).	Each line
21c056561aSmbalmer	of text in the label is displayed on a separate line in the dialog.
22c056561aSmbalmer	 Requested by Markus Friedl
23c056561aSmbalmer	<markus.friedl@informatik.uni-erlangen.de> to support
24c056561aSmbalmer	challenge/response authentication in OpenSSH.
25c056561aSmbalmer
26c056561aSmbalmer2001-02-14 03:49  jmknoble
27c056561aSmbalmer
28c056561aSmbalmer	* x11-ssh-askpass.c: Bugfix: "*grabServer" resource was setting
29c056561aSmbalmer	flag to grab pointer. Fixed.  (Not surprising that no one noticed;
30c056561aSmbalmer	i suspect it's not very widely used).
31c056561aSmbalmer
32c056561aSmbalmer2001-02-14 03:46  jmknoble
33c056561aSmbalmer
34c056561aSmbalmer	* x11-ssh-askpass.man.in: Merged changes from matthieu@openbsd.org:
35c056561aSmbalmer	Use .Nm instead of @NAME@. It fixes a strange formatting error.
36c056561aSmbalmer
37c056561aSmbalmer2000-11-08 23:19  jmknoble
38c056561aSmbalmer
39c056561aSmbalmer	* Imakefile: New version 1.1.1.
40c056561aSmbalmer
41c056561aSmbalmer2000-11-08 23:19  jmknoble
42c056561aSmbalmer
43c056561aSmbalmer	* x11-ssh-askpass.c: Fixed problem where inputTimeout of '0' was
44c056561aSmbalmer	considered invalid due to bad octal conversion.  Fixed small
45c056561aSmbalmer	potential memory leak.
46c056561aSmbalmer
47c056561aSmbalmer2000-11-07 06:20  jmknoble
48c056561aSmbalmer
49c056561aSmbalmer	* Imakefile: Bumped version to 1.1.0.
50c056561aSmbalmer
51c056561aSmbalmer2000-11-07 06:20  jmknoble
52c056561aSmbalmer
53c056561aSmbalmer	* TODO: Added notes about recently done stuff (that's what todo
54c056561aSmbalmer	lists are for, isn't it?;).
55c056561aSmbalmer
56c056561aSmbalmer2000-11-07 06:16  jmknoble
57c056561aSmbalmer
58c056561aSmbalmer	* SshAskpass-1337.ad, SshAskpass-NeXTish.ad, SshAskpass-default.ad,
59c056561aSmbalmer	SshAskpass-green.ad, SshAskpass-motif.ad: Added new '*inputTimeout'
60c056561aSmbalmer	resource, with explanatory comment.
61c056561aSmbalmer
62c056561aSmbalmer2000-11-07 06:15  jmknoble
63c056561aSmbalmer
64c056561aSmbalmer	* x11-ssh-askpass.man.in: Documented new '*inputTimeout' resource.
65c056561aSmbalmer
66c056561aSmbalmer2000-11-07 06:15  jmknoble
67c056561aSmbalmer
68c056561aSmbalmer	* x11-ssh-askpass.c: Fixed a few warnings, commented another. 
69c056561aSmbalmer	Print message to stderr when we time out, so as not to completely
70c056561aSmbalmer	confuse the user.
71c056561aSmbalmer
72c056561aSmbalmer2000-11-07 05:42  jmknoble
73c056561aSmbalmer
74c056561aSmbalmer	* x11-ssh-askpass.c, x11-ssh-askpass.h: Did stuff to handle timing
75c056561aSmbalmer	out if no input received.  In particular, this required changing
76c056561aSmbalmer	XNextEvent() in main application loop to XtAppNextEvent().  May
77c056561aSmbalmer	make this larger and more cumbersome....
78c056561aSmbalmer	
79c056561aSmbalmer	Also did stuff to make the button labels shift down and to the
80c056561aSmbalmer	right when pressed if they're drawn with 3D shading/highlighting,
81c056561aSmbalmer	so that they actually *look* pressed.
82c056561aSmbalmer	
83c056561aSmbalmer	Finally, added code to handle MotionNotify events, so that buttons
84c056561aSmbalmer	don't continue to look pressed if the pointer button is pressed,
85c056561aSmbalmer	but the pointer is outside the button.	Wheeeee!  Now we have an
86c056561aSmbalmer	actual user interface!
87c056561aSmbalmer
88c056561aSmbalmer2000-11-07 05:23  jmknoble
89c056561aSmbalmer
90c056561aSmbalmer	* SshAskpass-1337.ad, SshAskpass-NeXTish.ad, SshAskpass-default.ad,
91c056561aSmbalmer	SshAskpass-green.ad, SshAskpass-motif.ad: Converted colors from
92c056561aSmbalmer	old-style "#rrggbb" to new-style "rgb:rr/gg/bb".  Corrected typo in
93c056561aSmbalmer	perspicacious commentary.
94c056561aSmbalmer
95c056561aSmbalmer2000-10-30 05:28  jmknoble
96c056561aSmbalmer
97c056561aSmbalmer	* Imakefile: Bumped version to 1.0.3.
98c056561aSmbalmer
99c056561aSmbalmer2000-10-30 05:28  jmknoble
100c056561aSmbalmer
101c056561aSmbalmer	* SshAskpass-1337.ad, SshAskpass-NeXTish.ad, SshAskpass-default.ad,
102c056561aSmbalmer	SshAskpass-green.ad, SshAskpass-motif.ad: Added resources used for
103c056561aSmbalmer	pseudo-resolution-independence, along with default values and long,
104c056561aSmbalmer	drawn out, but mildly fulfilling explanation.
105c056561aSmbalmer
106c056561aSmbalmer2000-10-30 05:27  jmknoble
107c056561aSmbalmer
108c056561aSmbalmer	* x11-ssh-askpass.man.in: Documented the new resources for
109c056561aSmbalmer	pseudo-resolution-independence (defaultXResolution,
110c056561aSmbalmer	defaultYResolution, xResolutionFuzz, and yResolutionFuzz).
111c056561aSmbalmer
112c056561aSmbalmer2000-10-30 05:25  jmknoble
113c056561aSmbalmer
114c056561aSmbalmer	* x11-ssh-askpass.c, x11-ssh-askpass.h: Added a small amount of
115c056561aSmbalmer	resolution-independence to the dialog widgets.	Now we detect the
116c056561aSmbalmer	actual X and Y resolution the server is running at; and if they're
117c056561aSmbalmer	significantly different from the ones our resource settings expect,
118c056561aSmbalmer	then we stretch or shrink buttons, indicators, and spacing to fit
119c056561aSmbalmer	the actual resolution.	Sometimes X11 really makes my stomach
120c056561aSmbalmer	hurt....
121c056561aSmbalmer
122c056561aSmbalmer2000-09-24 00:51  jmknoble
123c056561aSmbalmer
124c056561aSmbalmer	* Imakefile: New version 1.0.2.
125c056561aSmbalmer
126c056561aSmbalmer2000-09-24 00:43  jmknoble
127c056561aSmbalmer
128c056561aSmbalmer	* x11-ssh-askpass.c, x11-ssh-askpass.h: Added process ID to
129c056561aSmbalmer	diagnostic/error messages on stderr (helps when more than one
130c056561aSmbalmer	ssh-askpass is started, e.g., with a shortcut key and keyboard
131c056561aSmbalmer	repeat).
132c056561aSmbalmer	
133c056561aSmbalmer	Modified keyboard and pointer grabbing so that, if we don't get the
134c056561aSmbalmer	keyboard or pointer the first time, we print a helpful message,
135c056561aSmbalmer	sleep, and then retry.	If we time out without successfully getting
136c056561aSmbalmer	the keyboard or pointer, then we fail as before.
137c056561aSmbalmer	
138c056561aSmbalmer	Combined the logic for grabKeyboard() and grabPointer() into a
139c056561aSmbalmer	common function performGrab().	This makes it easier to ensure that
140c056561aSmbalmer	the grab/sleep logic is correct in both places.
141c056561aSmbalmer	
142c056561aSmbalmer	Fixed, worked around or commented on a few warnings emitted by 'gcc
143c056561aSmbalmer	-Wall -W -ansi -pedantic'.
144c056561aSmbalmer
145c056561aSmbalmer2000-09-24 00:32  jmknoble
146c056561aSmbalmer
147c056561aSmbalmer	* resources.c: Removed unused declaration of get_time_resource.
148c056561aSmbalmer
149c056561aSmbalmer2000-08-28 03:35  jmknoble
150c056561aSmbalmer
151c056561aSmbalmer	* Imakefile, TODO: Added TODO file for listing potential future
152c056561aSmbalmer	projects within x11-ssh-askpass.
153c056561aSmbalmer
154c056561aSmbalmer2000-08-28 03:35  jmknoble
155c056561aSmbalmer
156c056561aSmbalmer	* README: Added 'make install.man' to installation instructions. 
157c056561aSmbalmer	Formulated better wording for reference to (now ancient) Perl/Tk
158c056561aSmbalmer	ssh-askpass.
159c056561aSmbalmer
160c056561aSmbalmer2000-08-28 03:26  jmknoble
161c056561aSmbalmer
162c056561aSmbalmer	* Imakefile, x11-ssh-askpass.man.in: Added facilities to Imakefile
163c056561aSmbalmer	and man page to automatically insert name, date, and version into
164c056561aSmbalmer	man page.  Changed install target to include man page.	Rearranged
165c056561aSmbalmer	clean and dist targets slightly.  Ready for release.
166c056561aSmbalmer
167c056561aSmbalmer2000-08-28 02:54  jmknoble
168c056561aSmbalmer
169c056561aSmbalmer	* x11-ssh-askpass.man.in: Added corrections and clarifications: 
170c056561aSmbalmer	Mentioned optional label on command line; noted which toolkit
171c056561aSmbalmer	options are unsupported; and added extra indicator-specific
172c056561aSmbalmer	resources.
173c056561aSmbalmer
174c056561aSmbalmer2000-08-28 02:00  jmknoble
175c056561aSmbalmer
176c056561aSmbalmer	* x11-ssh-askpass.c: Moved saving of argc/argv to after call to
177c056561aSmbalmer	XtAppInitialize(), so that toolkit arguments get properly removed
178c056561aSmbalmer	from the argument list.
179c056561aSmbalmer
180c056561aSmbalmer2000-08-28 01:43  jmknoble
181c056561aSmbalmer
182c056561aSmbalmer	* x11-ssh-askpass.man.in: Changed author email address from
183c056561aSmbalmer	pobox.com to jmknoble.cx.  Added 2000 to copyright date.
184c056561aSmbalmer
185c056561aSmbalmer2000-08-28 01:42  jmknoble
186c056561aSmbalmer
187c056561aSmbalmer	* x11-ssh-askpass.man.in: Added man page for x11-ssh-askpass from
188c056561aSmbalmer	Matthieu Herrb <matthieu@laas.fr> of OpenBSD.
189c056561aSmbalmer
190c056561aSmbalmer2000-08-28 01:31  jmknoble
191c056561aSmbalmer
192c056561aSmbalmer	* README, SshAskpass-1337.ad, SshAskpass-NeXTish.ad,
193c056561aSmbalmer	SshAskpass-default.ad, SshAskpass-green.ad, SshAskpass-motif.ad,
194c056561aSmbalmer	dynlist.c, dynlist.h, x11-ssh-askpass.c, x11-ssh-askpass.h: Changed
195c056561aSmbalmer	ISO-8859-1 copyright character '�' to ASCII '(C)'.
196c056561aSmbalmer
197c056561aSmbalmer2000-08-28 01:27  jmknoble
198c056561aSmbalmer
199c056561aSmbalmer	* README, SshAskpass-1337.ad, SshAskpass-NeXTish.ad,
200c056561aSmbalmer	SshAskpass-default.ad, SshAskpass-green.ad, SshAskpass-motif.ad,
201c056561aSmbalmer	drawing.c, drawing.h, dynlist.c, dynlist.h, resources.c,
202c056561aSmbalmer	resources.h, x11-ssh-askpass.c, x11-ssh-askpass.h: Changed author
203c056561aSmbalmer	email address from pobox.com to jmknoble.cx.  Added 2000 to
204c056561aSmbalmer	copyright date.
205c056561aSmbalmer
206c056561aSmbalmer2000-08-28 01:19  jmknoble
207c056561aSmbalmer
208c056561aSmbalmer	* x11-ssh-askpass.c: Oops.  When the keyboard or pointer grab
209c056561aSmbalmer	failed, the fprintf() calls to print the error message were missing
210c056561aSmbalmer	the 'reason' argument.	Thanks to Daniel Packman
211c056561aSmbalmer	<pack@mop2.eos.ucar.edu>.
212c056561aSmbalmer
213c056561aSmbalmer2000-08-28 01:17  jmknoble
214c056561aSmbalmer
215c056561aSmbalmer	* Imakefile: Portability enhancements to Imakefile, suggested by
216c056561aSmbalmer	Charles Levert <charles@comm.polymtl.ca>.   Use imake's '...Cmd'
217c056561aSmbalmer	macros where available; otherwise, use less-nonportable commands.
218c056561aSmbalmer	
219c056561aSmbalmer	Bumped version to 1.0.1.
220c056561aSmbalmer
221c056561aSmbalmer2000-01-07 04:53  jmknoble
2228db30ca8Sthorpej
2238db30ca8Sthorpej	* README: Added note about location of x11-ssh-askpass.
2248db30ca8Sthorpej
225c056561aSmbalmer2000-01-07 04:52  jmknoble
226c056561aSmbalmer
227c056561aSmbalmer	* Imakefile: Now we install the actual program as
228c056561aSmbalmer	`x11-ssh-askpass', and make a symlink to that from `ssh-askpass'. 
229c056561aSmbalmer	This allows for multiple passphrase dialogs on a system.
230c056561aSmbalmer	
231c056561aSmbalmer	Bumped version to 1.0.
232c056561aSmbalmer
233c056561aSmbalmer1999-12-24 01:59  jmknoble
2348db30ca8Sthorpej
2358db30ca8Sthorpej	* Imakefile: Oops.  Version backed out to 0.99; missing spec file
236c056561aSmbalmer	for building RPMs.
2378db30ca8Sthorpej
238c056561aSmbalmer1999-12-24 01:05  jmknoble
2398db30ca8Sthorpej
2408db30ca8Sthorpej	* Imakefile: Updated version to 1.0.  Removed reference to utils.h.
241c056561aSmbalmer	 Prefer install targets available in X11R6.
242c056561aSmbalmer
243c056561aSmbalmer1999-12-24 01:00  jmknoble
244c056561aSmbalmer
245c056561aSmbalmer	* README: Updated install directory.  Removed reference to utils.h.
2468db30ca8Sthorpej
247c056561aSmbalmer1999-12-24 00:58  jmknoble
2488db30ca8Sthorpej
2498db30ca8Sthorpej	* resources.c, resources.h: Moved header includes from utils.h into
250c056561aSmbalmer	resources.c.  Trimmed unused functions.
2518db30ca8Sthorpej
252c056561aSmbalmer1999-12-24 00:56  jmknoble
2538db30ca8Sthorpej
2548db30ca8Sthorpej	* dynlist.c: Removed potential memory leak (and ensuing loss of
255c056561aSmbalmer	buffer contents) if realloc() failed.
2568db30ca8Sthorpej
257c056561aSmbalmer1999-12-24 00:53  jmknoble
2588db30ca8Sthorpej
2598db30ca8Sthorpej	* utils.h: Moved header includes from here into resources.c.
2608db30ca8Sthorpej
261c056561aSmbalmer1999-12-04 23:21  jmknoble
2628db30ca8Sthorpej
2638db30ca8Sthorpej	* Imakefile: Added patch from Markus Friedl to change use of awk
2648db30ca8Sthorpej	(with GNU-specific extensions?) to sed, more likely to be available
265c056561aSmbalmer	on various platforms.
2668db30ca8Sthorpej
267c056561aSmbalmer1999-11-23 05:16  jmknoble
2688db30ca8Sthorpej
2698db30ca8Sthorpej	* .cvsignore: Added ChangeLog to .cvsignore.
2708db30ca8Sthorpej
271c056561aSmbalmer1999-11-23 05:14  jmknoble
272c056561aSmbalmer
2738db30ca8Sthorpej	* Imakefile: Added facility for autogenerating ChangeLog using
274c056561aSmbalmer	cvs2cl.
275c056561aSmbalmer
276c056561aSmbalmer1999-11-23 04:57  jmknoble
277c056561aSmbalmer
278c056561aSmbalmer	* .cvsignore, README, README.x11-ssh-askpass:
279c056561aSmbalmer	README.x11-ssh-askpass moved to README.  Shorter.
2808db30ca8Sthorpej
281c056561aSmbalmer1999-11-23 04:55  jmknoble
2828db30ca8Sthorpej
2838db30ca8Sthorpej	* .cvsignore: Added .cvsignore file.
2848db30ca8Sthorpej
285c056561aSmbalmer1999-11-23 04:53  jmknoble
286c056561aSmbalmer
2878db30ca8Sthorpej	* Imakefile, SshAskpass-1337.ad, SshAskpass-NeXTish.ad,
2888db30ca8Sthorpej	SshAskpass-default.ad, SshAskpass-green.ad, SshAskpass-motif.ad,
289c056561aSmbalmer	x11-ssh-askpass.c, x11-ssh-askpass.h: - Added version to tarball. 
290c056561aSmbalmer	- *grab(Keyboard|Pointer|Server) resources had inverted values in  
2918db30ca8Sthorpej	app-defaults files.  - Futzed with spacing in default and NeXTish
292c056561aSmbalmer	themes.  - Added setrlimit() call to main() to avoid core dumps.
2938db30ca8Sthorpej
294c056561aSmbalmer1999-11-23 04:50  jmknoble
2958db30ca8Sthorpej
2968db30ca8Sthorpej	* Imakefile, SshAskpass-1337.ad, SshAskpass-NeXTish.ad,
2978db30ca8Sthorpej	SshAskpass-default.ad, SshAskpass-green.ad, SshAskpass-motif.ad,
2988db30ca8Sthorpej	resources.c, resources.h, x11-ssh-askpass.c, x11-ssh-askpass.h: -
299c056561aSmbalmer	Can optionally grab server (*grabServer resource, off by default). 
3008db30ca8Sthorpej	- get_pixel_resource(), get_integer_resource() now take default
3018db30ca8Sthorpej	value.	- Added minimum/maximum indicator count.  - memset()
3028db30ca8Sthorpej	passphrase to 0s before freeing.  - Use fputs() instead of printf()
3038db30ca8Sthorpej	to avoid possibility of passphrase   getting stored in dynamic
304c056561aSmbalmer	memory by stdio.
3058db30ca8Sthorpej
306c056561aSmbalmer1999-11-23 04:43  jmknoble
3078db30ca8Sthorpej
3088db30ca8Sthorpej	* Imakefile, README.x11-ssh-askpass, SshAskpass-1337.ad,
3098db30ca8Sthorpej	SshAskpass-NeXTish.ad, SshAskpass-default.ad, SshAskpass-green.ad,
3108db30ca8Sthorpej	SshAskpass-motif.ad, drawing.c, drawing.h, dynlist.c, dynlist.h,
3118db30ca8Sthorpej	resources.c, resources.h, utils.h, x11-ssh-askpass.c,
312c056561aSmbalmer	x11-ssh-askpass.h: Initial revision
313c056561aSmbalmer
314c056561aSmbalmer1999-11-23 04:43  jmknoble
3158db30ca8Sthorpej
3168db30ca8Sthorpej	* Imakefile, README.x11-ssh-askpass, SshAskpass-1337.ad,
3178db30ca8Sthorpej	SshAskpass-NeXTish.ad, SshAskpass-default.ad, SshAskpass-green.ad,
3188db30ca8Sthorpej	SshAskpass-motif.ad, drawing.c, drawing.h, dynlist.c, dynlist.h,
3198db30ca8Sthorpej	resources.c, resources.h, utils.h, x11-ssh-askpass.c,
320c056561aSmbalmer	x11-ssh-askpass.h: Begin CVS revision control
3218db30ca8Sthorpej
322