ChangeLog 38.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
2011-05-05  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* m4/* lib/* imported signal from gnulib.
	  Note: I ran "sed -i 's/<config.h>/<ac_config.h>/g' lib/*" after the
	  import.
	  I imported from revision 9dba31e113c15a07103d04980a8f39bcba5f7795
	  of gnulib.

2011-05-04   Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/callbacks.c(cb_presentation): Drop typedef sighandler_t again,
	  gnulib update (see 2011-05-05) will do the job.

2011-05-04  Bernhard R. Link <brlink@debian.org>

	* src/Makefile.am: Improved dependencies and minor improvements.
	
	* src/gv-i18n.pl: Use src/nls/LANGUAGES for getting list of translations
	  available.

2011-05-02   Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/callbacks.c(cb_presentation): Renamed typedef sighandler_t to
	  mysighandler_t (incomplete).

2011-04-29   Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/callbacks.c(cb_presentation): Readd typedef sighandler_t.

30 31 32 33
2011-04-29  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.7.2.90

34 35 36 37
2011-04-29  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.7.2

Markus Steinborn's avatar
Markus Steinborn committed
38 39 40 41
2011-04-27  Bernhard R. Link <brlink@debian.org>

	* configure.ac: remove --enable-memdebug-code from configure,
	  as the feature itself was already removed.
Markus Steinborn's avatar
Markus Steinborn committed
42 43 44
	  
	* src/resource.c(resource_buildDatabase): don't store stat
	  output in random memory location
Markus Steinborn's avatar
Markus Steinborn committed
45

46 47 48 49
2011-04-25  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.7.1.91

Markus Steinborn's avatar
Markus Steinborn committed
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
2011-04-17  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/Ghostview.c(StartInterpreter): Save fd of pipe being used 
	for std_in in the else case

2011-02-13  Bernhard R. Link <brlink@debian.org>

	* src/FileSel.c, src/Ghostview.c, src/actions.c, src/callbacks.c,
	  src/main.c, src/main_globals.h, src/misc.c, src/options_gs.c,
	  src/ps.c, src/zoom.c: avoid shadowing identifiers

	* src/*.c, src/*.h: remove ancient memory debugging stuff,
	  unconditionally use prototypes
	
	* src/scale.c: Include <stdlib.h>.
	
	* src/scale.c(scale_getScreenResourceName): Fixed typo.
	
	* src/secscanf.c(process_number): avoid warning about pointer sizes
	
	* src/gv_string.c, src/gv_string.h, src/vms_dir.c: Removed (unused)
	
	* src/info.c(cb_appendInfoPopup): show beginning of last error message
	  instead if the end

Markus Steinborn's avatar
Markus Steinborn committed
75 76 77
2010-11-20  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* srcscale.c(scale_getScreenResourceName): use ssh remote adress
Markus Steinborn's avatar
Markus Steinborn committed
78
	  instead of hostname for a remote ssh connection
Markus Steinborn's avatar
Markus Steinborn committed
79

80 81
2010-06-25  Markus Steinborn <gnugv_maintainer@yahoo.de>

Markus Steinborn's avatar
Markus Steinborn committed
82

Markus Steinborn's avatar
Markus Steinborn committed
83
	* src/dialog.c(DialogPopupSetText): move "n=0" outside of #ifdef.
84

85 86
2010-06-19  Markus Steinborn <gnugv_maintainer@yahoo.de>

Markus Steinborn's avatar
Markus Steinborn committed
87
	* src/main.c(main): In case of a temporary safedir is needed, use
Markus Steinborn's avatar
Markus Steinborn committed
88
	  strdup to copy the temporary buffer to a permanent location.
89

90 91 92 93
2010-06-19  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.7.1.90

94 95 96 97 98 99 100
2010-06-08  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/save.c(save_forkPDFToPSConversion): src has to be initialized
	with command, not gv_gs_cmd_scan_pdf.
	
	Fix bug [bug #30081] gv 3.7.0: unable to print/save pdf files.

101 102 103 104
2010-06-06  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.7.1

105 106 107 108
2010-06-06  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.7.0

Markus Steinborn's avatar
Markus Steinborn committed
109 110 111 112 113 114 115 116 117 118 119
2010-06-03  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac: Added macro AC_PROG_MKDIR_P
	
	* src/Makefile.am: Use $(MKDIR_P) instead mkdir

2010-06-03  Bernhard R. Link <brlink@debian.org>

	* src/Makefile.am: Add gv-i18n.h to MAINTAINERCLEANFILES insted of
	CLEANFILES.

120 121 122 123
2010-06-03  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/main.c(main): Use .scratchDir for path of temporary savedirectory.

124 125 126 127
2010-06-03  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.6.92

128 129 130 131 132
2010-06-03  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/Aaa.c, src/Aaa_bison.c: Include ac_config.h, otherwise compiling
	  failes in Mac OS X.

133 134 135 136 137 138 139 140
2010-06-02  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* m4/* lib/* imported mkdtemp from gnulib.
	  Note: I ran "sed -i 's/<config.h>/<ac_config.h>/g' lib/*" after the
	  import.
	  I imported from revision 
	  of gnulib.

141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156
2010-06-02  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/Ghostview.c, src/process.c, src/ps.c: Use safe-dir from variable
	  gv_safe_gs_workdir.
	  
	* src/main.c: Check if global safe-dir is accessible, if not, create
	  a temporary one.
	  
	* src/Ghostview.c, src/Scrollbar.c, src/callbacks.c, src/ps.c:
	  Call clean_safe_tempdir on each position gv can exit.

	* src/main_globals.h: Two new vaiables gv_safe_gs_workdir and
	  gv_safe_gs_tempdir (=1 iff gv_safe_gs_workdir is temporary).

	* src/actions.c(clean_safe_tempdir): Delete temporary safe-dir.

157 158 159 160
2010-06-02  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/Makefile.am: Create s"afe-gs-workdir".

161 162 163 164 165 166
2010-06-02  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/FileSel.c, src/Scrollbar.c, src/actions.c,
	src/callbacks.c, src/file.c, src/main.c, src/misc.c, src/options_gv.c:
	  mkstemo and inttypes.h are always available after gnulib import

167 168 169 170 171 172 173 174 175
2010-06-02  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* m4/* lib/* updated gnulib and imported canonicalize-lgpl, inttypes
	  and mkstemp.
	  Note: I ran "sed -i 's/<config.h>/<ac_config.h>/g' lib/*" after the
	  import.
	  I imported from revision 8ab5996c4a14364411442d93babb343cc2ce0d89
	  of gnulib.

Markus Steinborn's avatar
Markus Steinborn committed
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
2010-05-30  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/gv_message.h: Document new options
	
	* rc/main.c: Parsing of new options --safedir and --nosafedir
	
	* src/main_globals.h: Global variable for each of the new options
	
	* src/resource.c: Modify resource GV.gsSafeDir on new options

2010-05-30  Bernhard R. Link <brlink@debian.org>

	* src/Ghostview.c, src/Ghostview.h, src/GhostviewP.h, src/Makefile.am,
	src/doc_misc.c, src/doc_misc.h, gv_layout_res.dat, src/gv_misc_res.dat,
	src/main.c, main_globals.h, main_resources.h, src/misc.c, options_gs.c,
	process.c, src/ps.c, src/ps.h, src/save.c, src/zoom.c:
	   New resource GV.gsSafeDir, ability to set it to true resp. false by
	   user interface, if enabled start ghostscript from a safe directory.

2010-05-30  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/misc.c(setup_ghostview), src/save.c(save_forkPDFToPSConversion):
	  Add -P- if and only if SAVER is turned on.

2010-05-29  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* doc/gv.texi: Update: ghostscript is called with -P- (by B. R. Link)

	* src/Ghostview.c(StartInterpreter): Call ghostscript with -P-
	  (by B. R. Link)

	* src/misc.c(setup_ghostview): Call ghostscript with -P-
	
	* src/save.c(save_forkPDFToPSConversion): likewise

Bernhard Link's avatar
Bernhard Link committed
211 212 213 214
2010-05-29  Bernhard R. Link <brlink@debian.org>

	* src/resource.c(resource_buildDatabase): Fixed possible segfault

215 216 217 218 219 220 221 222 223
2010-05-29  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.6.91

2010-05-29  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/nls/de.UTF-8.dat, src/nls/noint:de.dat: Translate one missing
	  string

224 225 226 227 228
2010-05-14  Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>

	* src/nls/ja_JP.UTF-8.dat, src/nls/ko_KR.UTF-8.dat: Added Japanese and
	  Korean translation

Markus Steinborn's avatar
Markus Steinborn committed
229 230 231 232
2010-05-14  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/nls/de.UTF-8.dat, src/nls/noint:de.dat: Added German translation.

233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250
2010-05-14  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/Makefile.am: New rule to generate src/gv-i18n.h
	
	* src/gv-i18n.pl: Generates src/gv-i18n.h at compile time
	
	* src/nls/README.txt: Placeholder just to ensure nls directory is not
	  empty.

        * src/Ghostview.c, src/callbacks.c, src/doc_misc.c,
	  src/options_gv.c, src/options_setup.c, src/process.c, 
	  src/resource.c, src/resource.h, src/version.c, src/versionp.h
	  src/gv_misc_res.dat, : All textual user messages are moved to
	  resources in src/gv_misc_res.dat.
	  
	* src/gv-update-userconfig.in: Support for creating translation files
	  has been added.

251 252 253 254
2010-04-24  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.6.90

255 256 257 258
2010-04-24  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.6.9

259 260 261 262
2010-03-10  Bernhard R. Link <brlink@debian.org>

	* doc/gv-update-userconfig.1: Fixed typo

263 264 265 266
2010-03-09  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/gv-update-userconfig.in: corrected parsing version from ~/.gv

267 268 269 270
2010-03-10  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.6.8.92

271 272 273 274 275
2010-03-07  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/Vlist.c(PaintEntryString): Fixed a typo introducved by my patch
	from 2010-03-03 preventing compiling with Xaw3d 1.5. (Fixes #28424)

Markus Steinborn's avatar
Markus Steinborn committed
276 277
	* configure.ac: Fix several tests on RHEL 4.8.

278 279 280 281
2010-03-07  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.6.8.91

282 283 284 285 286
2010-03-03  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/configure.ac: if no international support is available in Xaw3d, 
	do not abort.
	
287 288
	* src/configure.ac: setenv-test: if --disable-setenv-code is given,
	continue without testing for setenv support
289 290 291 292 293

	* src/dialog.c, src/info.c, src/misc_private.c, src/Vlist.c: Use
	#ifdef-s to enable compilation on Xaw3d-1.5 by disabling all
	if "international"-parts statements and leaving only their "else case".

294 295 296 297 298 299
2010-03-02  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/configure.ac: New option "--enable-international".
	
	* src/Makefile.am(target gv_class.ad): Enable international if requested

300 301 302 303 304 305 306 307
2010-03-02  Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>

	* src/callbacks.c(setTitle): New function for supporting UTF-8 titles
	
	* src/callbacks.c(showTitle): call setTitle
	
	* src/misc.c(setup_ghostview): likewise

308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324
2010-03-01  Dr. Werner Fink <werner@suse.de>
	    Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>
            Markus Steinborn <gnugv_maintainer@yahoo.de>

	* Makefile.am: Include README.I18N in distribuation
	
	* src/main.c(main): Correcting environment, calling XtSetLanguageProc
	
	* src/Makefile.am: Handling of new source files
	
	* src/info.c, src/misc_private.c, src/dialog.c: Properly handle
	the case that international is enabled.
	
	* src/gv_misc_res.dat: Add resource "GV*fileSelPopup.title"
	
	* src/gv_font_res-I18N_mb.dat: New filw with extra resources for I18N.

325 326 327 328
2010-02-27  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.6.8.90

329 330 331 332
2009-12-25  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.6.8

333 334 335 336
2009-12-08  Markus Steinborn <gnugv_maintainer@yahoo.de>
	* src/scale.c(scale_parseScales): Fixed Scale "Fit to height", it
	wasn't added o the scale menu

337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352
2009-09-05  Andrew Hamilton <Andrew.Hamilton@colorado.edu>

	* src/main.c: use getopt's built-in option counter
	
	* src/Ghostview.c (StartInterpreter): Call ghostscript with an
	additional option "-dNOPROMPT"
	  
	* src/Ghostview.c: (StartInterpreter, GhostviewNextPage): 
	Handle "-" as filename
	
	* src/zoom.c (zoom_createZoom): Fix checking for "no file"
	
	* src/zoom.c (zoom_createZoom): Handle "-" as filename
	
	* src/resource.c (resource_buildDatabase): Handle resource "arguments"

353 354 355 356 357 358 359 360 361
2009-05-18  Markus Steinborn <gnugv_maintainer@yahoo.de>
            Stefan Uhl <s.uhl@gmx.net>

	* src/gv_user_res.dat: New scale "Fit height to window"
	
	* src/misc.c (set_new_scale): Handle "Fit height to window"-scale
	
	* src/main.c: likeweise, use --scale=-1003 for "fit height to window"

362 363 364 365
2009-04-11  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/Makefile.am: Include src/secscanf.h in tar archive.

366 367 368 369 370
2009-04-11    Bernhard R. Link <brlink@debian.org>

	* configure.ac: Corrected check if "SimplePart.international" exists 
	in Xaw3D

371 372 373 374
2009-04-10  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac: Check for presence of SIGCLD and SIGOCLD.
	If --enable-SIGCLD-fallback is given, use SIGCHLD as fallback to SIGCLD.
375 376 377
	
	* configure.ac: Reverted change from 2009-03-23. It breaks building
	on Mac OS X.
378

379 380 381
2009-03-23    Bernhard R. Link <brlink@debian.org>

	* configure.ac: Check if "SimplePart.international" exists in Xaw3D
382 383
	
	* several files: fixed a few compiler warnings
384 385 386 387 388

2009-03-23  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.6.7.90

Markus Steinborn's avatar
Markus Steinborn committed
389 390 391 392
2009-03-21  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* configure.ac, src/versionp.h: Bumped version to 3.6.7

393 394 395 396 397 398 399 400 401 402 403 404
2009-03-01  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* doc/gv-update-userconfig.1: Filename as optional argument

	* src/gv-update-userconfig.in: Filename as optional argument
	
	* src/resource.c (resource_buildDatabase): Update newly introduced
	variable haveXUSERFILESEARCHPATH and resource_user_file_symb
	
	* src/resource.c (resource_checkResources): Corrected error message in
	case XUSERFILESEARCHPATH is used.

405 406 407 408 409
2009-02-10  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/FileSel.c (TopDirSelectionProc, SubDirSelectionProc):
	Call VlistSetFirstVisible(..., 0) to scroll list back to top position.

410 411 412 413
2009-01-16  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/callbacks.c (cb_presentation): use /usr/bin/env to find executable

414 415 416 417 418 419 420 421 422
2009-01-15  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/actions.c(action_shellConfigureNotify): Set Thumnb size of
	scrollbar on resize event.

2009-01-15  Bernhard R. Link <brlink@debian.org>

	* src/misc.c(setup_ghostview): Set Thumnb size of scrollbar.

423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442
2009-01-14  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* arc/action.c (action_presentation): Handling the new "z"-key for
	saving positions.
	
	* src/actions.h: likewise for the prototypes
	
	* src/callbacks.c (cb_presentation): fork+exec new instance of gv in
	presentation mode
	
        * src/callbacks.h: Likewise for the prototypes.
	
	* src/gv_misc_res.dat: Add handling for Shift P key
	
	* src/main.c: Add event handlers for GV_Presentation.
	
	* src/main_globals.h: Add Widget "presentationEntry". 
	
	* src/misc.c: Set Sensitivity of new "saveposEntry".

Markus Steinborn's avatar
Markus Steinborn committed
443 444 445 446 447 448 449
2009-01-13  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/scrollbar.c(MoveThumb):  Improve usability
	
	* src/callbacks.c(cb_newtocScrollbar) src/FileSel.c(cb_scroll): Rouning
	position to integer instead of using implicitly the floor function.

450 451 452 453 454
2009-01-12  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/callbacks.c(cb_newtocVisibleAdjust): Use VlistVisibleLength to
	  calculate visible area.

455 456 457 458 459 460 461 462 463 464
	* src/scrollbar.c(MoveThumb): New calculation of TOP, the actual
	  relative position of the scrollbar.
	  
	* src/scrollbar.c(GetRelativeThumbLocation): Adjusted to fit to
	  MoveThumb.
	  
	* src/callbacks.c(cb_newtocScrollbar): Just scroll one position less
	  than calculated, but at least one. This should help to ensure that
	  every page is reachable by this mechanism.

Markus Steinborn's avatar
Markus Steinborn committed
465 466
2009-01-02  Markus Steinborn <gnugv_maintainer@yahoo.de>

Markus Steinborn's avatar
Markus Steinborn committed
467
	* src/FileSel.c: Bugfixed
Markus Steinborn's avatar
Markus Steinborn committed
468

Markus Steinborn's avatar
Markus Steinborn committed
469 470 471 472
2009-01-01  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/Vlist.c: Fix a regression from prev. patch: The scroll arrows
	on the page panel did not work any more.
473 474 475
	
	* src/FileSel.c: Changed in order to benefit from the changes in Vlist
	to support large lists.
Markus Steinborn's avatar
Markus Steinborn committed
476 477 478 479 480 481 482 483 484

2009-01-01  Bernhard R. Link <brlink@debian.org>

	* src/Vlist.c, src/Vlist.h, VlistP.h: support large lists (big change!)
	
	* src/actions.c, src/callbacks.c, src/main.c, src/misc.c:
	Changed in order to benefit from the change above.


485 486 487 488 489
2008-09-28  Markus Steinborn <gnugv_maintainer@yahoo.de>

	* src/secsscanf.c: Provide an implementation of strndup named
	GNU_strndup and adjust the only call.

490 491 492 493 494 495 496 497
2008-09-28  Bernhard R. Link <brlink@debian.org>

	* src/file.c (file_assureDirectory): Changed 2nd argument to be const
	
	* src/info.c: Fixed one warning
	
	* configure.ac: Cleaner ZIO Detection

498 499
2008-09-28  Markus Steinborn <gnugv_maintainer@yahoo.de>

500
	* configure.ac, src/versionp.h: Bumped version to 3.6.6.90
501

502 503
2008-09-25  Markus Steinborn <gnugv_maintainer@yahoo.de>

504
	* configure.ac, src/versionp.h: Bumped version to 3.6.6
505 506 507
	
	* Updated my e-mail address.

508 509 510 511 512 513 514
2008-09-09  Dr. Werner Fink <werner@suse.de>

	* configure.ac: Check if the ZIO Library is available.

	* src/ps.c (psscan): Use the ZIO Library to decompress a file
	if the ZIO Library is presemt.

515 516 517 518 519 520 521 522 523 524
2008-09-09  Olaf Kirch <okir@suse.de>

	* src/secscanf.c: New file providing sec_sscanf with an additional 
	size argument for string arguments. All format specifiers should work
	as in the standard scanf - except for those writing to a string
	buffer provided by the caller. These specifiers take an additional
	argument of type size_t that specifies the size of the buffer.

	* src/ps.c: Replace all calls (with %s) to sscanf by sec_sscanf.
	
525 526 527 528 529 530 531 532 533 534 535 536 537 538
2008-09-09  Dr. Werner Fink <werner@suse.de>

	* src/Ghostview.c: Under some circimstances add "-dDELAYSAFER"
	to the commandline of gs.
	
	* src/misc.c (set_new_orientation): Handle the case Widget w is
	not initialized.
	
	* src/misc.c (set_new_pagemedia): likewise
	
	* src/musc.c (set_pagemediaButton_label): likewise
	
	* src/ps.c: Add include <sys/types.h>

Markus Steinborn's avatar
Markus Steinborn committed
539 540 541 542 543 544
2008-09-08  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/ps.c (psscan): Code cleanup: Use dup to use a new 
	guaranteed free non-arbitrary number, use open instead of 
	fopen & fileno.

545 546 547 548
2008-09-02  Bernhard R. Link <brlink@debian.org>

	* src/GhostviewP.h: Changed type of bytes_left from int to gv_off_t.

549 550 551 552 553 554 555 556 557
2008-09-02  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/Ghostview.c, src/Ghostview.h, src/GhostviewP.h, src/callbacks.c,
	src/file.c, src/misc.c, src/ps.c, src/ps.h, src/zoom.c:
	Large File Support (LFS) - removed variant that was enabled by the
	macros HAVE_LFS64.

	* configure.ac, src/Makefile.am: likewise
	
Markus Steinborn's avatar
Markus Steinborn committed
558 559
	* src/versionp.h: Updated release month
	
560 561 562 563 564 565 566 567 568 569
2008-09-01  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/Ghostview.c, src/Ghostview.h, src/GhostviewP.h, src/callbacks.c,
	src/file.c, src/misc.c, src/ps.c, src/ps.h, src/zoom.c:
	Large File Support (LFS) - it has to be enabled by the preprocessor
	macros HAVE_LFS64 resp. HAVE_OFF_T.

	* configure.ac, src/Makefile.am: Support setting the macros
	HAVE_LFS64 resp. HAVE_OFF_T.
	
570 571 572 573 574 575 576
2008-08-30  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/ps.c (ps_io_ftell): Changed return type to long
	
	* src/ps.c (ps_io_fseek): Changed 2nd argument to long
	
	* src/ps.c (FileDataStruct_): Changed type of filepos to long
577 578
	
	Purpose: At least on x86_64, long files are supported now
579

580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595
2008-08-24  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/info.c: Skip displaying info-popup until gv_infoSkipErrors
	are sent -- usually gv_infoSkipErrors is 0, but after recognising an
	encrypted pdf, it is set to 1.
	
	* src/callbacks.c (cb_setPassword): Trigger reload of ghostscript by
	calling "cb_reopen(...)".
	
	* src/main.c: Initialize gv_infoSkipErrors with 0
	
	* src/main_globals.h: Declare gv_infoSkipErrors.
	
	* src/ps.c (psscan): Set gv_infoSkipErrors to 1 and jump over
	displaying dsc-parser error.

Markus Steinborn's avatar
Markus Steinborn committed
596 597 598 599 600 601 602 603 604 605 606 607 608 609 610
2008-08-23  Bernhard R. Link <brlink@debian.org>

	* src/callbacks.c (cb_setPassword): New callback for setting password.
	
	* src/callbacks.c (cb_cancelPassword): New callback aborting
	password dialog.
	
	* src/callbacks.c (cb_askPassword): New callback Displaying the 
	password dialog.
	
	* src/callbacks.h: likewise
	
	* src/ps.c (psscan): Use new callback cb_askPassword to query the user
	for the password.

611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626
2008-08-23  Markus Steinborn <msteinbo@uni-paderborn.de>

	* doc/gv.texi: Describe new option "--password=PASSWORD".
	
	* src/Ghostview.c (StartInterpreter): Pass actual PDF password
	to ghostscript.
	
	* src/gv_message.h: Add description of new "--password=PASSWORD" option.
	
	* src/main.c (main): Parse new password-Option from command line
	
	* src/main_globals.h: New global variable for the PDF password.
	
	* src/ps.c (psscan): Pass actual PDF password to ghostscript.
	
	* src/versionp.h: Bump required resource version.
Markus Steinborn's avatar
Markus Steinborn committed
627
	
Markus Steinborn's avatar
Markus Steinborn committed
628 629
	* src/gv_misc_res.dat: likewise
	
Markus Steinborn's avatar
Markus Steinborn committed
630
	* src/Makefile.am: Update GV.gsCmdConvPDF
631 632 633

	* src/gv-update-userconfig.in: remove GV.gsCmdConvPDF iff necessary.

634 635 636
2008-08-10  Markus Steinborn <msteinbo@uni-paderborn.de>

	* configure.ac, src/versionp.h: Bump version to 3.6.5.91.
637 638 639
	
	* src/resource.c (resource_buildDatabase): Setting resource
	"gv.arguments" is useless as it is not read.
640 641 642 643 644
	
	* src/Makefile.am: Append the contents of gv_misc_res.dat to
	gv-update-userconfig, too.
	
	* src/gv-update-userconfig.in: Handling of -n, -N and -s.
645

646 647 648 649
2008-08-09  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/resource.c(resource_checkResources): Corrected misspellings in
	message displayed to the user.
650 651 652
	
	* src/gv-update-userconfig.in: "--help", "--usage" as an alias for "-h".
	"sub compare" fixed for version strings of different length.
653 654 655
	
	* doc/gv-update-userconfig.1: Describe options "-h", "--help",
	"--usage", "-r". s/gv/GNU gv/ according to GNU guidelines.
656 657
	
	* NEWS, src/versionp.h: Update release date for GNU gv 3.6.5.90
658

659 660 661 662 663 664
2008-08-02  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/action.c (action_print_pos): Code cleanup
	
	* src/callbacks.c (cb_printpos, cb_doPrintPos): likewise

665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693
2008-08-02  Thanh Han The <hanthethanh@gmail.com>

	* arc/action.c (action_savepos): Handling the new "z"-key for saving
        positions.
	
	* src/action.c (action_print_pos): Handling the new "u"-key for saving
        positions.

	* src/actions.h: likewise for the prototypes
	
	* src/callbacks.c: New static globals last_psx, last_psy for the last
	cursor position
	
	* src/callbacks.c (cb_printpos): Displaying of popup dialog for entering
	command to save
	
	* src/callbacks.c (cb_doPrintPos): saving the command entered above
	
	* src/callbacks.c (cb_savepos): saving the actual position
	
	* src/callbacks.c (cb_track): Update last_ps{xy}

        * src/callbacks.h: Likewise for the prototypes.
	
	* src/gv_misc_res.dat: Add handling for Z und U key
	
	* src/main.c: Add event handlers for GV_PrintPos and GV_SavePos.
	Update gv_savepos_filename by resource GV.saveposFIlename
	
694 695 696 697
	* src/main_globals.h: Add Widget "saveposEntry". 
	
	* src/main_globals.h: Add String gv_savepos_filename 
	(Improvement by Markus Steinborn)
698 699 700
	
	* src/misc.c: Set Sensitivity of new "saveposEntry".

701 702 703 704 705 706 707 708
2008-08-01  Bernhard R. Link <brlink@debian.org>

	* src/main_resources.h: Remive global variable options
	
	* src/esource.c (resource_buildDatabase): Do not call XrmParseCommand
	to parse an empty option list. It is not needed since 
	the cvs checkin from 2004-12-06 12:52:10 GMT.

709 710 711 712 713 714 715 716 717
2008-08-01  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/gv-update-userconfig: Renamed to src/gv-update-userconfig.in

	* src/Makefile.am: Built src/gv-update-userconfig from
	src/gv-update-userconfig.in by appending the default resources
	
	* src/gv-update-userconfig.in: Option "-r" to remove all resources from
	~/.gv that have their default value
718 719 720 721
	
	* src/gv_misc_res.dat: The return key now scrolls through the whole
	document vertically. Unlike the space key no horizontal scrolling
	is performed.
722

723 724 725 726 727 728 729 730
2008-07-31  Bernhard R. Link <brlink@debian.org>

	* doc/gv-update-userconfig.1: Man-page for gv-update-userconfig
	
	* doc/Makefile.am: include and install doc/gv-update-userconfig.1
	
	* src/Makefile.am: Use configurable "sysconfdir" for generating
	src/gv_make_res.dat
731 732 733 734 735 736 737 738 739
	
	* src/Aaa.c (aaaClassRec): Initialize the "dummy"-field.
	
	* src/Scrollbar.c src/actions.c : Some arguments miss a type.
	
	* src/file.c: Include unistd.h as close is used
	
	* src/file.c(file_getTmpFilename): a variable "struct stat s" is
	sometimes not used and therefore need not to be declared in that cases.
740

741 742 743 744
2008-07-19  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/Makefile.am: The .ad and .dat files are put into /usr/share/gv
	(Patch from Orion Poplawski <orion@cora.nwra.com>)
745 746 747 748 749
	
	* configure.ac: Test for the presence of "mkstemp()"
	
	* src/file.c (file_getTmpFilename): Use mkstemp (if available) for
	getting the temporary filename
750 751 752 753 754
	
	* src/Ghostview.c, src/Ghostview.h, src/GhostviewP.h, 
	src/main.c, src/main_globals.h, src/resource.c: Add handling of 
	xinerama resource
	
755
	* src/main.c: Use Xinerama to get display resolution if the xinerama resource 
756 757
	is set to "On". If it is set to "Auto", let the heuristic from
	2008-07-12 decide. If it is set to "off", do not use Xinerama at all.
758 759 760 761 762 763
	
	* src/resource.c: More informative error message in case of too old
	~/.gv
	
	* src/Makefile.am src/gv-update-userconfig: New script for upating the
	user config.
764 765 766 767 768
	
	* doc/Makefile.am src/Makefile.am: Out of tree built
	Build GV outside of src directory (Patch by Bernhard R. Link)
	
	* configure.ac: Out of tree build
769

770 771
2008-07-16  Markus Steinborn <msteinbo@uni-paderborn.de>

772 773
	* src/info.c: Trigger info popup on "ERROR:" and "error:", too. 
	Needed for older gs.
774

Markus Steinborn's avatar
Markus Steinborn committed
775 776 777 778 779 780 781 782 783 784 785
2008-07-12  Markus Steinborn <msteinbo@uni-paderborn.de>

	* configure.ac, src/versionp.h: Bump version to 3.6.5.90.

	* src/main.c, src/paths.h: Heuristically use Xinerama to get display
	resolution iff the current display size looks like a single monitor
	(experimental)
	
	* src/gv_message.h: Improvement of "--scale" documentation which should
	have been included in 3.6.4.91, but it has not been.

Markus Steinborn's avatar
Markus Steinborn committed
786 787 788 789
2008-07-05  Markus Steinborn <msteinbo@uni-paderborn.de>

	* configure.ac, src/versionp.h: Bump version to 3.6.5.

790 791 792 793 794
2008-06-22  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/options_*.c, src/resource.c: Save GV.version resource to ~/.gv,
	if GV.version in ~/.gv is missing, assume it to be "gv 3.5.2".

795 796 797 798
2008-06-21  Markus Steinborn <msteinbo@uni-paderborn.de>

	* configure.ac, src/versionp.h: Bump version to 3.6.4.91.

799 800 801 802 803 804 805 806 807 808 809 810 811
2008-06-18  Markus Steinborn <msteinbo@uni-paderborn.de>

	* doc/gv.texi: Update manual

	* src/gv_message.h: Update usage message
	
	* src/main_globals: Add fullscreen_p, presentation_p and ascale_p
	
	* src/main.c: Add parsing of --fullscreen and of --scale with a float and
	--presentation
	
	* src/options_gv.c: Include math.h

812 813 814 815 816 817 818 819 820
2008-06-17  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/callbacks.c (cb_setPagemedia): If autoresize is off and any
	special scale is used, then recalculate the scale.
	
	* src/misc.c (show_page): If autoresize is off and any
	special scale is used, display of new page is required and orientation
	or Pagemedia differs, then recalculate the scale.

821 822 823 824 825 826 827 828 829 830 831 832 833 834 835
2008-06-15  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/main_globals.h: New globat variable gv_ascale with the arbitraty
	scale
	
	* src/gv_user_res.dat: In gv options, enable input of arbitrary scale
	
	* src/main.c: Initialize gv_ascale
	
	* src/scale.c (scale_parseScales): Adjust parser for arbitrary scale
	 (symbolic scale factor is -2)
	 
	* src/misc.c (set_new_scale): Handle arbitrary scale
	
	* src/options_gv.c: Handle editing of arbitrary scale
836 837 838
	
	* src/callbacks.c(cb_setOrientation): If autoresize is off and any
	special scale is used, then recalculate the scale.
839

840 841 842
2008-06-14  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/action.c(action_shellConfigureNotify): If autoresize is turned
843
	off and actual scale is "Fit to window" then rescale.
844 845 846 847 848 849 850
	
	* src/gv_user_res.dat: New scale "Fit to window"
	
	* src/misc.c (set_new_scale): Handle "Fit to window"-scale
	
	* src/scale.c (scale_parseScales): Adjust parser to handle new
	"Fit to window"-scale (symbolic scale factor is 0.000).
851 852 853 854
	
	* src/action.c, src/gv_user_res.dat, src/misc.c, src/scale.c:
	some as above for "Fit width to window"-scale
	(symbolic scale factor is -1.000).
855

856 857 858 859 860 861 862 863 864 865
2008-06-13  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/main.c, src/gv_message.h, src/resource.c:  Rename infoWarnings to
	infoErrors,  likewise for resource infoVerbose

	* src/gv_font_res.dat, src/gv_layout_res.dat, src/gv_misc_res.dat:
	Entries for new setting for infoVerbose on gv options popup

	* src/options_gv.c: Visual editing of resource infoVerbose

866 867 868
2008-06-08  Markus Steinborn <msteinbo@uni-paderborn.de>

	* src/*.c:  include ac_config.h  first
869
	
870
	* configure.ac: Define intptr_t as preprocessor macro if necessary
871 872 873 874 875 876 877

2008-06-07  Markus Steinborn <msteinbo@uni-paderborn.de>

	* include inttypes.h only if HAVE_INTTYPES_H is set
	
	* src/main_resources.h: Do not use empty array size for initialized
	array of size 0 -- it makes problems with ISO C89.
878 879 880 881 882 883
	
	* configure.ac: added "--with-setenv-code"
	
	* src/setenv.[ch]: setenv emulation code
	
	* src/Makefile.am: include setenv.c if necessary
884

Markus Steinborn's avatar
Markus Steinborn committed
885 886
2008-06-01  Markus Steinborn <msteinbo@uni-paderborn.de>

Markus Steinborn's avatar
Markus Steinborn committed
887 888 889 890
	* configure.ac, src/versionp.h: Bump version to 3.6.4.90.
	
	* src/*: Fix warnings (patch by debian)

891
	* doc/Makefile.am: build doc/gv.1 by help2man if required
Markus Steinborn's avatar
Markus Steinborn committed
892 893 894 895 896 897 898 899 900 901 902 903 904 905 906
	
	* doc/gv.texi: Document new -widgetless switch 
	(patch by debian)
	
	* src/gv_widgetless.dat: Resource for widgetless mode (new file)
	(patch by debian)
	
	* src/gv_message.h: Document new -widgetless switch 
	(patch by debian)
	
	* src/resource.c: Handle new -widgetless switch (patch by debian)
	
	* src/main_globals: added widgetless_p	(patch by debian)
	
	* src/main.c: Parsing of "-widgetless" (patch by debian)
907 908 909 910
	
	* src/main.c(main): If no display is availabe, delay the error
	message until command line options has been parsed. This way, --help,
	--version and --usage work without having an display
911 912 913 914 915 916 917
	
	* src/Makefile.am: Build and clean gv_widgetless.h
	
	* src/config.h: Define FALLBACK_STYLE_2_* as "gv_widgetless.*"
	
	* src/resource.c (resource_buildDatabase): Check full pathname for
	embedded resource, not only the basename. Also embed gv_widletless.dat.
Markus Steinborn's avatar
Markus Steinborn committed
918

Markus Steinborn's avatar
Markus Steinborn committed
919 920 921 922
	* src/Ghostview.c, src/Ghostview.h, src/GhostviewP.h, 
	src/gv_message.h, src/main.c, src/main_globals.h,
	src/resource.c: Add handling of infoVerbose resource
	
923
	* src/info.c: infoPopup respects infoVerbose-Resource
Markus Steinborn's avatar
Markus Steinborn committed
924

925 926 927 928 929
2008-06-01  Markus Steinborn <msteinbo@uni-paderborn.de>

	* ChangeLog: Fixed typo in recent dates

	* configure.ac, src/versionp.h: Bump version to 3.6.4.
Markus Steinborn's avatar
Markus Steinborn committed
930 931

2008-05-23  Markus Steinborn <msteinbo@uni-paderborn.de>
932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959

	* src/stdc.h: removed (it is non-free)
	
	* src/getenv.c: likewise (it's not used in standard configuration,
	anyway)
	
	* src/setenv.c: likewise(it's not used in standard configuration,
	anyway)
	
	* src/setenv.h: likewise(it's not used in standard configuration,
	anyway)
	
	* src/Aaa.h: Do not include stdc.h.  (Patch by debian)
	
	* src/main.c: likewise (Patch by debian)
	
	* src/main.c: Redefine preprocessor macro BITMAP_ARGS (Patch by debian)
	
	* src/main_resources.h: Redefine preprocessor macro DECLARE_STRING
	(Patch by debian)
	
	* src/Makefile.am: Remove reference to src/stdc.h src/getenv.c
	src/setenv.c src/setenv.h
	
	* configure.ac: Remove option --enable-setenv-code
	
	* INSTALL: Remove description of the option --enable-setenv-code

Markus Steinborn's avatar
Markus Steinborn committed
960
2008-05-22  Markus Steinborn <msteinbo@uni-paderborn.de>
961

962 963
	* src/info.c (cb_popupInfoPopup): Revert returning when calling gs with
	the `quiet' option (should fix #23199)
964

965 966
	* src/main.c (main): Reverted Forcing the `XtSetArg' call to include
	XtNquiet to True
967
	
Markus Steinborn's avatar
Markus Steinborn committed
968
	* src/file.c (global): Define ENODATA as ENOMSG if ENODATA if undefined.
969
	Should fix compiling on GNU/kFreeBSD
970

971
2008-05-21  Markus Steinborn <msteinbo@uni-paderborn.de>
972

973 974 975
	* src/ps.c (psscan): Fixed possible uninitialized local variable
	text (remained unintialized if sscanf failes for some reason)

976
2008-05-21  Markus Steinborn <msteinbo@uni-paderborn.de>
977 978 979 980
	* src/dialog.c (main): Update call to resource_buildDatabase (Patch
	from debian)
	* src/resource.c (resource_buildDatabase): Update signature, fix
	handling of resources (Patch from debian)
981 982 983 984 985 986 987 988
	* src/resource.c likewise (Patch from debian)
	* src/magmenu.c (magmenu_a_magMenu): Calculation of position that is 
	not outside the screen (Patch from debian)
	* src/miscmenu.c (miscmenu_a_miscMenu): likewise (Patch from debian)
	* src/ps.c (readline): Respect nesting level of DSC headers
	BeginDocument/EndDocument (Patch from debian)
	* src/Vlist.c (PaintEntryString): Handle case that international is set
	(Patch from debian)
989 990 991 992 993
	* src/dialog.c (action_preferDialogPopupButton): Add 2nd
	XtInstallAccelerators (Patch from debian)
	* src/FileSel.c (global): Remove string TextField_accelerators
	(Patch from debian)
	* src/FileSel.c (Initialize): Add some XtInstallAccelerators
994 995 996 997 998 999 1000
	(Patch from debian)
	* src/info.c (makeInfoPopup):  likewise
	* src/options_fs.c (options_fs_create): likewise
	* src/options_gs.c (options_gs_create): likewise
	* src/options_gv (options_gv_create): likewise
	* src/options_setup (options_setup_create): likewise
	* src/zoom.c (zoom_createZoom): likewise
1001 1002
	* src/widgets_misc.c (global): Adjust strings LineTextTr and TextTr
	for the escape key (Patch from debian)
1003 1004 1005
	* src/FileSel.c (SetPreferredButton): Remove old handling of esc-key
	(Patch from debian)
	* src/gv_misc_res.dat: Update resources
1006
	(Patch from debian)
1007 1008

	* src/main_resources.h: replace showTitle with titleStyle
1009
	(Patch from Bernhard R. Link, debian)
1010
	* src/callbacks.c (cb_showTitle): also set the titlebutton,
1011 1012 1013
	depending on title_style instead of show_title
	(Patch from Bernhard R. Link, debian)
	* src/misc.h (build_label_menu): new prototype 
1014
	(Patch from Bernhard R. Link, debian)
1015 1016
	* src/misc.c (setup_ghostview): move titlebutton setting code to
	cb_showTitle (Patch from Bernhard R. Link, debian)
1017
	* src/options_setup.c: allow setting titleStyle instead of showTitle
1018
	(Patch from Bernhard R. Link, debian)
1019
	* src/gv_layout_res.dat: titleStyle instead of showTitle
1020
	(Patch from Bernhard R. Link, debian)
1021
	* src/texinfo.tex: document titleStyle
1022
	(Patch from Bernhard R. Link, debian)
1023

José E. Marches's avatar
José E. Marches committed
1024 1025 1026 1027 1028
2007-06-28  Jose E. Marchesi  <jemarch@gnu.org>

	* src/ps.c (ps_gettext): Bypass trailing ')' when scanning a
	postscript string.

José E. Marches's avatar
José E. Marches committed
1029 1030
2007-06-28  Jose E. Marchesi  <jose.marchesi@deimos-space.com>

1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041
	* NEWS (Notation): Updated for gv 3.6.3

	* README: Updated version to 3.6.3

	* doc/gv.1: Regenerated for gv 3.6.3

	* src/Makefile.am (@echo "GV*dirs): Updated copyright notices to
	2007.

	* configure.ac: Updated version to 3.6.3

José E. Marches's avatar
José E. Marches committed
1042 1043 1044 1045 1046 1047 1048 1049 1050
	* src/main.c (main): Call `resource_buildDatabase' to get the
	application entire resources database. Then, set that database as
	the display database.

	* src/resource.c (resource_buildDatabase): Get the display
	resources database as a parameter and take care to give it
	priority over the gv system resources. Return the entire resource
	database to the caller.

1051 1052 1053 1054 1055 1056
2007-06-27  Jose E. Marchesi  <jemarch@gnu.org>

	* src/Ghostview.c (Input): Send 1023 new line characters to the
	postscript interpreter. This patch fixes bug #19870. Adapted from
	http://bugs.ghostscript.com/show_bug.cgi?id=689237

1057 1058
2007-06-25  Jose E. Marchesi  <jemarch@gnu.org>

1059 1060 1061 1062
	* src/misc.c (misc_setPageMarker): Correctly adjust the page
	window after PAGE-UP and PAGE-DOWN events. (Patch by Markus
	Steinborn).

José E. Marches's avatar
José E. Marches committed
1063 1064 1065
	* src/Ghostview.c (GhostviewIsInterpreterRunning): Doesnt report
	the presence of a running gs interpreter if
	`ghostview.disable_start' is true. Patch from Debian.
1066 1067
	(StartInterpreter): Escape beginning minus characters from
	filenames. (Patch by Markus Steinborn).
José E. Marches's avatar
José E. Marches committed
1068

1069 1070 1071 1072 1073
	* src/Makefile.am (@echo "GV.gsArguments): Add `-dFIXEMEDIA' to
	the `GV.gsArguments' default resource. (Patch by Markus
	Steinborn).

	* src/Ghostview.c (StartInterpreter): Doesnt add the implicit
1074
	"-g2x2" parameter to ghostscript invocation command line (patch by
1075 1076
	Markus Steinborn).

1077 1078 1079 1080 1081 1082
	* src/info.c (cb_popupInfoPopup): Return when calling gs with the
	`quiet' option (patch by John Bowman).

	* src/main.c (main): Force the `XtSetArg' call to include XtNquiet
	to True (patch by John Bowman).

1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100
	* lib/unistd.h (getcwd): New file.

	* lib/unistd_.h (if !): New file.

	* lib/Makefile.am: New file.

	* lib/gettext.h: New file.

	* lib/getopt_int.h: New file.

	* lib/getopt_.h: New file.

	* lib/getopt.c: New file.

	* lib/getopt1.c: New file.

	* lib/dummy.c: New file.

1101 1102 1103 1104 1105
2007-03-31  Peter Breitenlohner <peb@mppmu.mpg.de>

	* src/resource.c (resource_buildDatabase): avoid segfaults when
	  reading ~/.gv as produced by State -> Setup Options -> Save

1106 1107 1108 1109
2007-03-16  Jose E. Marchesi  <jemarch@gnu.org>

	* doc/gv.texi: Fix GVERSION.

José E. Marches's avatar
José E. Marches committed
1110 1111 1112 1113 1114
2006-07-07  Jose E. Marchesi  <jemarch@gnu.org>

	* src/ps.c: `gettext' function renamed to `ps_gettext' to avoid
	  collision with the `gettext' builtin function.

1115 1116 1117 1118 1119
2006-05-17  Jose E. Marchesi  <jemarch@gnu.org>

	* src/gv_signal.c (signal_setSignalHandlers): Ignore the SIGINT
	signal.

1120 1121 1122 1123 1124 1125
2005-03-31  Jose E. Marchesi  <jemarch@gnu.org>

	* src/Makefile.am ($(srcdir)/gv_intern_res_unix.dat): Remove
	quotes from the gs command lines in order to accomodate to the
	0000-unchequed Debian patch for quoting filenames.

1126 1127
2005-03-31  Jose E. Marchesi  <jemarch@dataware.es>

1128 1129 1130 1131
	* src/Ghostview.c (StartInterpreter): Added the '-2x2' argument to
	gs in order to get the correct orientation for landscape
	files. Patch by John Bowman.

1132 1133
	* configure.ac: Enable the scrollbar code. Solves bug #11091.

José E. Marches's avatar
José E. Marches committed
1134 1135 1136 1137 1138 1139 1140
	* src/main.c (main): use getopt_long_only in order to support old
	command line arguments style.

	* doc/gv.texi (Resource files): Typo fixed
	(Displaying new versions of a document): Reference to VMS removed.
	(How can I make even more room for the image?): Subst -spartan by --spartan

1141 1142 1143 1144
	* configure.ac: The signal handler is now enabled by default,
	following the commentary on configure.ac
	Typo: enable-signal-handle -> enable-signal-handler

1145 1146 1147 1148 1149 1150
	* src/ps.c: Strip off the external reference to 'pdf_delaysafer_hack'
	Revert the delaysafer hack

	* src/misc.c (misc_changeFile): Strip off directories from the
	path of the file. Patch by John Bowman.

1151 1152 1153 1154 1155 1156 1157 1158 1159 1160
2005-01-17  Jose E. Marchesi  <jemarch@dataware.es>

	* src/ps.c: idem.

	* src/main.c: idem.

	* src/resource.c (resource_buildDatabase): Patch from FreeBSD
	ports in order to avoid gcc-dependant code: variable declaration
	only on beginning of blocks.

1161 1162 1163 1164
2004-12-31  Jose E. Marchesi  <jemarch@dataware.es>

	* src/Makefile.am (AM_CFLAGS): Use @X_CFLAGS@ from autoconf

1165 1166 1167 1168 1169
2004-12-29  Gerald Pfeifer  <gerald@pfeifer.com>

	* src/file.c (file_fileIsNotUseful): Use EFTYPE instead of ENODATA
	if the former has been defined.

José E. Marches's avatar
José E. Marches committed
1170 1171 1172 1173 1174 1175 1176 1177
2004-12-19  Jose E. Marchesi  <jemarch@gnu.org>

	* NEWS (Notation): Upgraded for 3.6.1

2004-12-19  Jose E. Marchesi  <jemarch@gnu.org>

	* README: Upgraded for 3.6.1

1178 1179 1180 1181
2004-12-19  Jose E. Marchesi  <jemarch@gnu.org>

	* configure.ac: Change reference source file on AC_INIT

1182 1183 1184
2004-12-19  Jose E. Marchesi  <jemarch@gnu.org>

	* src/gv_message.h (displayed\n\): Fixed a typo on the help message.
José E. Marches's avatar
José E. Marches committed
1185

José E. Marches's avatar
José E. Marches committed
1186 1187 1188
	* src/gv_misc_res.dat: Changed the Reopen label to Reload for the
	File menu.

José E. Marches's avatar
José E. Marches committed
1189 1190 1191
	* src/Makefile.am ($(srcdir)/gv_intern_res_unix.dat): Fix
	GV.gsCmdConvPDF in order to work.

1192
2004-12-06  Jose E. Marchesi  <jemarch@gnu.org>
1193 1194 1195

	* src/main.c (main): Process GNU arguments after X initialization

1196 1197 1198 1199
2004-11-11  Jose E. Marchesi  <jemarch@dataware.es>

	* configure.ac: Changed the scratch dir from ~/ to /tmp/

1200 1201 1202 1203
2004-11-10  Jose E. Marchesi  <jemarch@dataware.es>

	* New ChangeLog