insecure-temporary-files problem patch-ae was supposed to fix.
Provide a new patch-ae that does something more like the right thing.
(The old one tried to open and write to a directory created with
mkdtemp(), so even if this code doesn't fully work it's still an
improvement.)
XXX: compile-tested only, don't have time to do it properly right now...
PKGREVISION++.
It replace tmpnam() with mkdtemp(), but
* It exists since initial import, but no reason.
* mkdtemp(3) is not portable, but used unconditionally, reported by PR 39717.
* tmpnam(3) is used to get temp filename, but mkdtemp(3) create temp directory,
and return the path. So, the replacement is completely mistaken.
Bump PKGREVISION.
While here, marked as DESTDIR ready.
* Updated to automake/autoconf/aclocal/a* 1.10.x, with the usual
pains. I hope it builds for people other than me ...
* Updated to a new included version of GNU gettext (0.16.1).
* Made gentoo's start-up more friendly to GTK+, so that standard
options supported by the toolkit (like --sync) work, now.
* Added new Mexican Spanish translation.
* Added a "Case" page to the RenameRE command, with options to
easily convert filenames to all-lower or all-upper case. Far
easier than manually entering all characters for "Map". Also
refactored code of RenameRE quite a bit, it is shorter now.
* Fixed bugs where the GTK+ event-flushing loop used in various
places in the code generated a spurious error 11
("Resource temporarily unavailable").
* Added a new setting ("Buffer Size for mmap()" under Commands/
Options/ViewText) that controls how much data is passed from
the mmap()ed text file to the GTK+ text widget at a time. Before
this release, this was always "all of it", which seems to cause
problems sometimes. If you get an empty viewer when you try
looking at a large-ish (>64 KB) text file and you use mmap(),
lower this setting.
(Since that is set to work/.home, it was compiling in the pkgsrc work
directory and failing for PKG_DEVELOPERs.)
Use getenv("HOME") instead.
PKGREVISION++.
Patch provided by Martin Wilke via PR 34341.
0.11.56
* Fixed buglet that caused copying of protection bits to always
be a fatal error, regardless of the "Ignore Failure to Copy
Attributes" option setting.
* Fixed a silly case of errno "leaking" out of the window title
setting code (which needs to mess with NLS). This had gentoo
break totally (couldn't even copy files) on Ubuntu. Big thanks
to M. Williams for letting me ssh and vnc to his Ubuntu box so
I could hunt this one down.
* Rewrote core of regular file copying function. It seems when
writing to a Samba-mounted (network) share, write() doesn't
like large buffer sizes. So we loop to empty the buffer of read
data, doing as many writes() per read() as is necessary. Odd.
* Fixed bug that made it impossible to use RenameSeq on volumes
using a VFAT filesystem. This was due to the use of invalid
characters in temporary filenames.
* Made RenameSeq's start value settable through a spinbutton in
the dialog, rather than a plain entry. Faster small changes.
* Added a new page to the RenameRE dialog, 'Map', which does
simple character mappings on filenames. Also supports removing
a set of character (think 'tr', applied twice).
* Added information about missing options (--locale-info, --run)
to the manual page.
* Added "Require Source Selection" (and Destination ditto) flag
in the "Before&After" options for external command rows. This
prevents commands from running if there is no selection, which
is handy to avoid making programs read from stdin. Added after
issue report by C. H. Block.
* Brought Copyright in About window and man page into 2005. :)
* Added (commented-out) sample row in gentoogtkrc.in to show how
to set color of non-used pane rows (not reachable by gentoo's
File Style system).
* Fixed broken g_snprintf() formatting specifier in the overwrite
dialog that caused it to crash on Solaris. Reported (possibly
among others) by N. Antic.
* Added option to let window manager position dialogs. Suggested
by "Martinko". This is the new default behavior, too.
* Added a SelectShell command, that makes select/unselect/toggle
decisions based on running shell commands. Suggested by me. :)
See docs/scratch/command_args.txt, or use the GUI. Modified the
default button layout to put SelectRE/SelectShell together.
* Added Japanese translation (UTF-8), thanks to Tadashi Jokagi.
* Fixed a silly bug that caused some command arguments to fail
if running in non-English locale (specifically, boolean args
like the "true" in "DpFocus select=true same" would break if
not translated to your current locale. Reported by scatman.
* Some minor tweaks to the Swedish translation.
* Made window title of RenameRE command translatable.
* Added icon for Python source, py.xml, contributed by "eike".
* Added simple File Type and Style for Python source code.
* Polish translation updated, thanks to S. Mikula.
* Fixed bug that caused GetSize to abort thinking it failed when
it really didn't.
* New versions of autoconf and automake adopted.
* Russian translations updated. Thanks M. Zaripov.
* Added test for nested Move of directories. Thanks to John H.,
"m3", and F. Cosolete for reporting variants of this.
* Hopefully fixed broken logic in Copy that caused it to abort
too soon when skipping a directory. Reported by M. Bunkus.
* Fixed bug that caused DirParent to always (internally) look like
it failed, which stopped sequences from continuing past the
command. Reported by C. DeeDee.
* The SelectSuffix command will now use the first bareword argument
as the suffix. Suffixes are assumed to start with a period (.),
so running "SelectSuffix action=toggle bmp" will toggle the sel-
ection state of all files whose names end in ".bmp". This was
suggested by C. DeeDee.
* The left arrow key now exits the text viewer (suggested by
F. Cosoleto).
* Removed the -Wstrict-prototypes option since it causes warnings
in GTK+ headers which are simply too annoying. Hopefully I won't
regret this... *"Jaws" theme*.
* Cleaned code in various places where warnings had earlier crept
in hidden by the flood caused by GTK+ and -Wstrict-prototypes.
* Removed printf() from hex-text-loader which I forgot in there. :/
* Regenerated Makefile, hopefully fixing problem with install.
* Added "Video, MOV" type to default config; quietened mplayer.
* Updated Italian translation, from F. Cosoleto.
* Fixed the fix for memory leaks in Search, since segfaulting is
actually worse. I hope I got it, this time. Sorry. :/
* Fixed stupidly signless variable that caused the textviewer to
die horribly when asked to view a directory. Reported by F. Co-
soleto.
* Made View on directories in the sample config do nothing, since
ViewText will open an empty window, now.
* Added Italian translation, courtesy of F. Cosoleto.
Changes 0.11.49
* Changed "Other" to "Others" in ChMod command dialog. Pointed out
by F. Cosoleto.
* Improvements in the textviewer, inspired by a patch signed F.
Cosoleto: Goto, Search and Quit (was "Close") now have obvious
keyboard accelerators. Search also has Control+F, and repeats
(infinitely when at least one match exists) on F3.
* Changed test for automatic hex viewing; now looks for a byte
lower than 7; if found, the file is not text. This works better
for 8-bit text files. It does not work for e.g. UTF-8, but then
again gentoo's text viewer never did. :)
* Made textviewer into a real toplevel window, since it otherwise
lacked e.g. resize controls which seemed silly.
* Plugged stupid memory leaks in textviewer when searching. Thanks
to F. Cosoleto, as usual. :)
* Added an option to disable the storing of selection information
in the history. Suggested by H. Hansen.
* Added RealMedia (.rm) as a recognized Video type in the default
config.
* Implemented a new dynamic-content menu, called <ParentsMenu> that
contains the directories from the current one's parent to the
root.
* Added the ability to bind a command to the right-click of a path
entry widget in a pane. Bound to "MenuPopup menu=<ParentsMenu> by
default, but editable on the Controls config page.
* FAM-triggered rescanning rate is now dynamically adjusted to be
4 times the time it takes to do the rescan. This prevents gentoo
from hogging the CPU when very frequent changes causes it to re-
scan continuously. Very inspirational patch by S. Zobell.
See NEWS inside the archive for other version changes
* Spellchecked the manual page. :)
* Updated docs/FAQ with info on how to change the default pane
background color.
* Polish translation updated.
* Added German translation, by C. Neuroth.
* Style Actions can now be renamed. This had been magically
missing for quite a while. Reported by J. Jordan.
* Default (start-up) directories can now be set to "From History",
which will simply show the paths visible when gentoo was quit.
Suggested by J. Jordan.
* Reworked internal handling of basic selection functionality; the
problems for users of the "System Default" Control key setting
should now be gone. Please test. Reported initially by F. Abbate.
* Added view support for rar archives to default config. Requires
"unrar" command.
* Fixed logic error in Move that caused it to incorrectly fail when
moving in the same filesystem (and be very sneaky about it unless
you were using FAM). Also made it stop trying to avoid "needless"
directory rescanning.
* Fixed broken formatting string in MkDir command's overwrite init.
* The Configure command's option text was untranslatable. Fixed,
and translated it into Swedish.
* gentoo no longer tries to copy attributes for smlinks.
* Updated Russian translation.
0.11.35
* Brought the copyright in About into 2003. :)
* Copying now also copies owner and group information, except for
symbolic links. If you really need it for links, let me know.
Also note that copying owner info requires root access, and that
group copying is very limited for non-root users. See chgrp(2).
* Hopefully made Copy signal failure when target file doesn't have
full size, which in turn should help Move behave better.
* Added an option to always save configuration on exit, which does
away with the dialog. Kind of silly, but easy to implement.
* Changed logic in internal dir-copy code, so it doesn't fool itself
into thinking it fails quite as easily. Note: when copying a dir,
gentoo will first *delete* the destination, to ensure that the
copy is indeed 1:1 and not a merge. BEWARE!
* The internal routine that rescans a pane no longer activates it,
which means less flickering focus indication when the other pane
rescans due to FAM detecting a modification in its contents.
* FAM rescans are now rate-limited, and will not occur more often
than once every 300 milliseconds. This limit is not settable at
runtime, you need to edit source (gfam.c:96) to change it.
* Added call to gtk_set_locale() during startup, suggested by
tarot.
* Silently assume compiler is GCC, and disregard CFLAGS set by
autoconf. In return, --enable-debug now disables optimizing.
* Added used bytes display to status line. Overdue, I guess.
* Reintroduced the [root] indicator in the main window title bar,
for when you're running as root. Thanks, Roger Sondermann.
* Fixed horrible bug that seemed to be happy to just break the
history saving when running as root, but should have done a
lot more if there had been any justice in the universe. Thanks
again, Roger.
* Incorporated an updated Polish translation. Thanks Slawomir.
* Made built-in pane menu translatable. This is temporary.
* Tweaked the man page (docs/gentoo.1x) a bit.
Update patch provided by Juan RP in PR pkg/19308.
I've also seized the opportunity to make this package honor PKG_SYSCONFDIR
and depend on gettext-lib, which is required by the program.
Excerpt of changes:
0.11.33
* Fixed stupid bug which made some dialogs not respond to being closed.
* Reimplemented the SelectToggle command, making it work in linear
time as opposed to quadratic as previously. Paid in memory, as
usual, but one bit per dir row isn't too much, in my opinion.
* Tweaked the Information window slightly, since the two columns
had somehow clung too close together. Reported by Felix Rabe.
* Added (partial) French translation, thanks to Philippe Rossi.
* Removed version number from window title.
0.11.32
* Upgraded to newer versions of GNU gettext, Automake, and Auto-
conf, for no apparent reason.
* Redid directory history slightly; it used to identify dirs pri-
marily by their inode numbers, which failed the filesystem re-
uses inodes after e.g. a delete. Reported first by Olle Viksten.
* Made ClearSize respect GetSize's selection-preservation flag.
* Made the command line help texts (shown by --help) translatable.
* Fixed a problem with window name setting that occured when gentoo
was running in internationalized mode.
* Reworked all code setting window titles; they were affected by
similar locale-dependent problems. This feels like a GTK+ problem,
but I think GTK+ 1.2.x isn't being developed any longer, so a work-
around is probably all we get.
* Added a few missing command window titles to gentoo.pot.
* Improved layout in ChOwn's window, more label alignment.
* Default config will no longer recognize Perl source code if it's
not in a file with a ".pl" suffix. This removes use of 'file' in
the type checking, which is desirable for performance.
* Removed all uses of assert(), especially since all (!) of them
depended on side-effects. Did anyone ever build gentoo with de-
bugging disabled? That ought to have broken, horribly. Oops.
* Hacked a bit on the code that restores the vertical position when
a directory is re-entered. Reported by "Michael".
* Slightly improved large file support. Still untested by me.
* Removed a couple of non-ANSI-isms that must've snuck in when I was
looking the other way. Thanks, Josip.
* Added support for more modifiers to mouse button command bindings.
You need to test which "Mod" is which key, though. Thanks, "Mark".
* Cleaned up cmd_generic.c, which is used for many of the standard
file commands' dialog boxes. Dialog now done through dialog.c,
which means button keyboard accelerators are now supported.
* Dialog position now configurable: either follow mouse as always,
or center on screen. See Windows config page. Lost the source of
the suggestion.
Provided by Miguel Mendez <flynn@energyhq.homeip.net> in pkg/18052.
Changes in 0.11.31:
* Directory statistics display is now updated by DirRescan.
* RenameRE didn't enter the source directory, and thus could easily
fail to find its working files. Fixed.
* MkDir no longer (internally) generates double-slashed names.
Not a big deal, but they were visible in the path entry box.
* Added file recognition for socket and FIFO special files. Cute.
* gentoo now supports SGI's File Alteration Monitor (FAM) tech-
nology, and will update panes if contents are changed by some
other program. This is very nice, and recommended.
* Ran Julian Seward's masterpiece Valgrind on gentoo, at least a
little. Found and fixed a couple of badnesses. Thanks. I'm sure
there are more, but finding them takes lots of time. I'm far from
claiming gentoo to be "Valgrind clean".
* Removed ill-guided use of g_error(); reported by Pehr Johansson.
* Improved quoting and fixed plain wrong syntax in SelectRE example
input button, in default config. Not a big deal, though.
* Improved interaction between CopyAs, MoveAs, Rename, and SymLink's
dialogs and the progress reporting window. Less annoying, now.
* CopyAs now has full progress reporting. Don't know why it hadn't.
* Information now shows item size using ticks every third digits.
Adds another place to configure a tick character; not optimal, I
will clean this up at a later date. Suggested by "[zorba]".
* MenuPopup now understands an "atfocus" bareword argument, which
will locate the menu over the currently focused row. If no focus
exists, it will center the menu in the active pane. Suggested by
"[zorba]".
* Fixed silly buglet that had the "Left" configuration page tree
item stuck looking selected.
* Fixed bug that reported errors twice on double-click. Really
annoying if you use error dialogs, which I guess noone does.
* gentoo now attempts to enable large file support if the host
supports it. This should make large files have correct sizes
shown, and also improves GetSize on large (>2GB) directories,
but is largely untested by the author.
* Accidentally found, and hopefully fixed, a long-standing stealthy
bug, that caused gentoo to falsely report failure to read a dir-
ectory, with a code 2 (file not found). Caused by dangling links.
* Removed premature "Menu" frame from buttons config. Thanks, emj.
* Tweaked configure.in so it respects CFLAGS being passed in. Re-
ported by Frederick Reeve.
Changes in 0.11.30:
* Fixed yet another incredibly stupid bug that caused Copy to fail
when copying nested directories. Introduced in 0.11.28, and re-
ported by Matthias Haase.
* Window sizes in default config should now be (kind of) clamped
to 800x600. Suggested by Roger Sondermann.
* Redesigned the configuration interface a bit, replaced the many
nested tabbed notebooks with a cleaner and more modern-looking
tree for navigation.
* Made the MkDir command slightly more robust.
* Tweaked the progress window somewhat, to reduce flicker.
* Added support for console beep on error. See Errors config page.
* Error reporting seemed to fail sometimes, in e.g. Rename. Fixed.
* Reimplemented DirRescan, for no particular reason.
Changes in 0.11.29:
* Fixed incredibly stupid bug that caused column header clicking to
break (caused by the ghost scroll fix). Thanks, Roger Sondermann.
* Added Ctrl+L as shortcut to path entry (along with shift+Return).
Changes in 0.11.28:
* Improved a long-standing very annoying problem, which caused a pane
to react by scrolling sideways when a quick vertical drag-select
was done. The fix isn't quite 100%, but it's better now at least.
* Fixed subtle bug in glob-to-regular expression translation code
which would break SelectRE for a pattern like "*.[ch]". Reported
by Jean-Yves Lefort.
* When copying a directory, if the destination exists, it will now
be completely deleted before the copying starts. This takes time,
but should ensure a proper result. Reported by Razvan Stranschi.
* Input check button field {Ix} now supports being checked by default,
and also knows about user-defined result texts. The complete syntax
is: {Ix[:LABEL][*][=TRUETEXT,FALSETEXT]}. Clear, huh? OK, here's an
example: {Ix:"gzip compress?"*="-czf","-cf"}. This would emit "-czf"
into the command when checked, "-cf" when unchecked. The box would
default to being checked, that's what the asterisk does.
* Modified default config's Module (for tracker music files) RE to
also match against files named *.mod, and not only mod.*. Reported
by "Mahen".
Changes in 0.11.27:
* MkDir now has an option to focus newly created directory, rather
than entering it. If disabled, gentoo will scroll the pane to
show the newly created directory. Suggested by Ernest Beinrohr.
* If you entered "20 kb", just like that, in the Split size box,
you got 20 bytes. Case-sensitivity is like that. It's nicer now.
* Fixed bug where SelectRow on an already selected row was stupidly
thinking it could select it again. Reported by Kamil Burzynski.
* Automounting now tries "/mountpoint/" if "/mountpoint" failed,
and vice versa. Should now work for both pane doubleclick and
TAB-completed paths, regardless of /etc/fstab format. Yay.
* Redid much of the internal logic for entering a new directory,
so that it's now possible to enter e.g. "/mountpoint/a/b/c",
and actually have gentoo first automount "/mountpoint", then enter
the dir. Previously this would fail if the device wasn't mounted.
* Investigated, found a reason, and speeded up the SelectNone command
by a factor of, oh, I don't know. Some big number, no doubt.
* Finally realized how to adjust labels, and cleaned up the layout
in the Information window a bit using this new knowledge.
Changes in 0.11.26:
* Fixed a XML parsing weakness which made a button label containing
a backslash break config loading. Reported by Roger Sondermann.
* Fixed stupid race condition bug in child process handling, which
sometimes caused a crash in "kill previous instance". Reported by
Joakim Larsson.
* Removed almost 300 redundant calls to gtk_widget_show(). This
should shave a few bytes off the executable size, and perhaps
even save a millisecond or so when building complex GUIs.
* Fixed weird bug where buttons got put above the panes when the
interface was rebuilt after a config change.
* The middle bar in the progress report window used by Copy and
other operations was behaving weirdly (always full). Fixed.
* Added display of elapsed time (in MM:SS format) as well as the
current processing speed and ETA to the progress window.
* Progress window's directory size computation was broken. Fixed.
* DpFocusPath now understands a boolean "clear" option.
Changes in 0.11.25:
* Added a command, DpReorient, to switch pane split orientation
between vertical and horizontal. Suggested by Roger Sondermann.
Bound to Ctrl+R by default. See docs/scratch/command_args.txt.
* view_video now calls mplayer, not xanim. My choice. :)
* Added WMV as a recognized movie format. MPlayer handles it.
* You can now chose *not* to override the base background color
in the panes (uncheck "Override Parent?" in the Root style).
This hopefully allows a theme, or the GTK+ RC file, to control
the default base background color. Thanks to Thomas Weberstaedt
for making me investigate and improve this.
* Applied a couple of tiny patches from Oliver Braun, the FreeBSD
maintainer, to help gentoo build cleanly on FreeBSD systems.
* Simplified automounting modes; it's now either on or off, the
vague "rare" mount mode has been removed.
* Removed the specialized Shortcut feature and associated config
page, and replaced it with another "sheet" of ordinary buttons.
Very very nice, and long overdue.
* Removed incorrect assignment of Tab as shortcut for Split in
the default config.
Changes in 0.11.24:
* Fixed a missing initialization that caused gentoo to crash on
startup, at least on Cygwin. Silly me.
* Improved window grouping even more, should now include most
commands, and the progress reporting windows, too.
* The "Pick Built-In" dialog used in Command configuration was
violently yet stealthily broken. Detected by quarto.
* Incorporated a fix to BSD mounting code, from Michael Ewe.
* SelectAll no longer messes up status numbers. Thanks to Martin
Stubenschrott for letting me know it used to.
* Rewrote Size content handling. Folded old "IQSize" behaviour into
the Size type, added support for "ticks" every 3 digits. Suggested
by someone on IRC whose name I've forgotten.
Changes in 0.11.23:
* Added support for laying out the two panes vertically rather than
horizontally, as has so far been the only way. Handy when you want
to see plenty of columns. Suggested by James Lucha.
* The SelectType command now understands a bareword argument, which
is a glob for type names to select. You can do "SelectType Arch*"
to select all archives in the source pane. Smooth, huh? :)
* Fixed bug in DirParent; parent of "/a/b/" is "/a", not "/a/b".
* Finally broke down and added tab-completion to the path entry
fields. Might require some minor touching up, but works. Nice.
* The Copy command now says something when trying to copy a non-
enterable directory, rather than just failing silently. Oops.
* Rename could falsely report failure under some conditions.
Changes since 0.11.19:
* Rewrote routine that creates the filenames used when interpolating
{fup}-codes in commands. Now doesn't emit double slashes, which
helps some (confused) apps to work better.
* gentoo now attempts to copy the protection (mode) flags for
files, device nodes, and directories. That might have been overdue.
* Incorporated patch to widget code from J. Hanson's home page.
* Literally hundreds of minor clean-ups (removed needless casts,
improved naming consistency, use glib types, and on, and on).
* Tweaked the way symlinks are displayed by the Information command.
* The gentoorc sample config file is now built from a slightly
better gentoorc.in template. The icon location might not come
out correctly if you use the --datadir configure option, though.
* Fixed a missing include in the main gentoo.h header, which I
believe caused date sorting to break. Thanks for the reports.
* Fixed bug which caused failure to execute a (most likely miss-
ing) external command to be reported twice.
* The directory history can now be saved, and thus made persistent
between sessions. Suggested by Roger Sondermann. See option on
the Dir Panes config page, sub-page "History". It's lonely.
* Added a section to the man page (docs/gentoo.1x--read it!)
that talks about how the new persistent-history interacts with
a pane's default directory, and stuff.
* Wrote a new, vastly more powerful, command argument parser. It
gives better control over the initial paths shown. Nice.
* Inspired by a patch from Patricio Moracho, I added support for
underlined keyboard accelerators in all (most?) dialog buttons.
And other bug fixes.
* Mouse bindings ignore all modifiers except shift, control and
alt at all times. Reported by Martin Uddén.
* Fixed sloppy pointer-to-int cast that gave warning on 64-bit
systems (Alphas). Reported by Jesse Perry.
* The Information command can now optionally display the output
of 'file' in its window. Suggested by Christian Richter. Do
note that this *requires* your 'file' command to support the
"-f - -n" option combo. See configure.in for details.
* If executing a child process fails, gentoo now sometimes shows
an error rather than just dying. This is an improvement.
* Added some more -W options to gcc, that scared out some sloppy
code that got fixed (even in widgets/). I like killing warnings.
* Updated About's copyright for the new year. Time flies. :)
* RenameSeq no longer opens its window if there's no selection.
* Should now compile on NetBSD, too. Thanks to Pehr Johansson for
the original patch.
* String input fields (created with '{Is}') can now be set to use
asterisks to hide entered text. To do this, add an asterisk in
the definition, after the label part, e.g.: '{Is:"Password"*}'.
* gentoo now supplies the window manager with a prettier icon,
and now also groups its windows, most of the time at least.
with buildlinking and other minor changes by me:
gentoo is a modern, powerful, flexible, and utterly configurable file
manager for UNIX systems, written using the GTK+ toolkit. It aims to
be 100% graphically configurable; there's no need to edit config files
by hand and then restart the application. gentoo is somewhat
inspired in its look & feel by the classic Amiga program
DirectoryOpus.