diff --git a/ChangeLog b/ChangeLog index 344db87e..8fbed754 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,392 +1,393 @@ ADDED: when searching in files (grep), push the string we're searching for into the clipboard when pressing F3 or F4. this saves an extra copy when searching - inside the file + inside the file ADDED: Catalan translation + FIXED: [ 959916 ] Krusader window too large on startup FIXED: username and group information are wrong for ftp_vfs FIXED: UMR (uninitialized memory read) in vfs::fromPathOrURL UPDATED: Polish translation 1.40-beta2 ====================== ADDED: Chinese Simplified translation FIXED: the new ftp dialog URLs are saved into a stochastic configuration group FIXED: [ 960003 ] Swapped letters in quick-search FIXED: KIO::Slave url redirection handling (e.g. now devices:/ and settings:/ works !) FIXED: [ 962598 ] viewer didn't display XML files FIXED: [ 960595 ] problem with paths containing more '@' characters (FTP proxy hack) FIXED: [ 957145 ] krusader closes editor without asking FIXED: ports cannot be added for fish, sftp in the new connection GUI FIXED: [ 943962 ] the summary status is not updated after calc space FIXED: [ 950762 ] missing pemission check on entering a folder FIXED: setting "xterm -e vim" as editor didn't work... FIXED: [ 953874 ] allowing editors which are not url-aware to be used as default editor FIXED: [ 948315 ] security hole, krusader changes its temp directory's rights to 0777 FIXED: the UI settings are not saved at exit FIXED: [ 951274 ] shift+home and shift+end does not work FIXED: [ 948726 ] problem with ctrl+left from the left panel and ctrl+right from the right panel FIXED: extension is separated from the dirname after renaming directories containing '.' FIXED: locate does not call kdesu any more FIXED: [ 950052 ] synchronizer: the left and right side depends of the active panel FIXED: [ 770676 ] krarc does not handle password zips FIXED: [ 928746 ] symlinks pointing to directories using fish protocol fail FIXED: [ 939214 ] synchronizer, wrong behaviour of compare by content FIXED: moving into archives is dangerous. it is disabled (for now at least) FIXED: synchronizer gui size policy bugs FIXED: [ 934498 ] problem at dropping files into the '..' directory FIXED: [ 939612 ] F9 moves file, if new name already exists as directory FIXED: krusader does not handle filenames containing '#' character FIXED: krusader exits at viewing dvi files (missing arguments from KPart). FIXED: drag line remains visible after dropping an URL FIXED: panel swapping corrupts ctrl+arrow and alt+arrow FIXED: error at dropping URLs containing non-english characters from konqueror FIXED: KDE 3.2, right justified tabs bug FIXED: dragging over a new tab changes active tab FIXED: crash at pressing space on the '..' directory UPDATED: Bulgarian translation UPDATED: Czech translation UPDATED: Danish translation UPDATED: Dutch translation UPDATED: French translation UPDATED: German translation UPDATED: Hungarian translation UPDATED: Italian translation UPDATED: Slovak translation 1.40-beta1 ====================== ADDED: configuring the colors of the panel ADDED: (a bug fix really) ability to "not test archives before unpacking" ADDED: new icons (thanks to adios for providing them) ADDED: quickmode for mountman. press and HOLD the mountman icon for new functionality ADDED: Bulgarian translation (thanks to Milen Ivanov) ADDED: krusader restart is not necessary from now after changing the configuration ADDED: ability to give arguments for the terminal ADDED: enable/disable icons in the filenames ADDED: ability to configure the fields of the panel (Ext, Size, Perm, ...) ADDED: single click selects / executes ADDED: panel level toolbar ('..', '/', '~', '=' buttons), thanks to David Harel ADDED: Locate (integrating the findutils-locate package of GNU into Krusader). TEST IT ADDED: Heiner's patch for 'logical selection mode' is applied and used as default. TEST IT ADDED: application dependency setting in konfigurator ADDED: Csaba's new konfigurator is here, boys and girls! ADDED: heiner's quicksearch patch ADDED: calculate occupied space prints the directory's size (wincmd-style) - thanks heiner! ADDED: current directory in history menu is checked ADDED: a working user menu (try alt+~), but a bit rough on the edges ADDED: KrSearch edit/view file in the result list window (F3, F4, right click) ADDED: a folder-history button, a-la-total commander. thanks to Hans Loffler! ADDED: selectall at rename ADDED: new shortcuts to search dialog (heiner) ADDED: directory synchronizer ADDED: file splitter ADDED: a missing credit for Frank in the about box FIXED: krusader exits at closing the viewer when minimized to tray FIXED: KDE 3.2 terminal exit at Ctrl+C FIXED: bug [ 906386 ] regarding refreshes of dirwatch with fam enabled FIXED: bug [ 906538 ] which now makes a faster unpacking process FIXED: bug [ 894771 ] regarding over-expanding window due to long command line FIXED: edit new file on KDE 3.2 FIXED: permission handling for FTP URL-s FIXED: calc space crash at vfs refresh (thanks to Heiner) FIXED: krarc created non-executable directories (0666) FIXED: reimplementing the 'allow move into archive' setting FIXED: no restart at changing the icon tray's state in konfigurator FIXED: krusader freezes if the `df` process does not terminate (at network errors, IO wait) FIXED: krusaderui.rc bug, new menuitems does not appear after a krusader update FIXED: sort by EXT did not obey the 'case sensative sort' flag FIXED: 2 items on the view menu had the same shortcuts FIXED: increased speed of search, by emitting lesssignals (thanks to Lars) FIXED: statusbar updated only on mouse clicks, not on keyboard FIXED: translation: forcing non-english languages with a strange structure FIXED: freeze at modal dialogs and icon tray FIXED: crash at rename if the directory is refreshed by the watcher FIXED: stepping to the file below after delete (heiner) FIXED: window size and position saving at maximized mode FIXED: more freedom to give FTP proxy URL-s in "New FTP Connection" menu FIXED: crash at ftp://user@server@proxy:port FTP URL-s FIXED: no parent directory at tar://... and zip://... URL-s FIXED: font size problems in KCmdLine and KrMaskChoice FIXED: internal editor quits without notification even if the edited file was not saved FIXED: no i18n for Name, Ext, Size, Modified FIXED: obsolete QT header files FIXED: crash at closing the progressbar window at packing FIXED: no or uninformative error message at packing to a readonly directory FIXED: crash at middle clicking on the last tab FIXED: KrSearch permissions panel placing bug FIXED: ftp port limit changed from 999 to 65535 UPDATED: new package description - Thanks to Jonas Bähr UPDATED: Krusader Handbook (read ./doc/ChangeLog for more info) UPDATED: Japanese translation UPDATED: Dutch translation UPDATED: Czech translation (thanks to Martin Sixta) UPDATED: Spanish translation UPDATED: Krename url http://www.krename.net REMOVED: arc_vfs support completly replaced with KIO:Slave technolegy. 1.30 ====================== ADDED: middle mouse button: click on a folder, and create a new tab. ADDED: middle mouse button: click on a tab, and close it FIXED: krarc QByteArray buffer freeing bug FIXED: mountman watches 'mount' instead of the directories FIXED: keyboard-shortcuts issues for new-tab(alt+ctrl+n), close-tab(alt+ctrl+c) and duplicate-tab(alt+ctrl+shift+n) FIXED: mountman FreeBSD bug (/etc/mtab does not exist in FreeBSD) FIXED: All files / Custom files. Executable was removed. FIXED: when selecting something from the combobox in "mark files" dialog, combo doesn't close immediatly FIXED: mark files dialog added the same selection more than once FIXED: disabled panel-types in konfigurator FIXED: font size problems with the Select dialog, and New Net Connection FIXED: mountman detects those devices as supermount, which are mounted and missing from fstab FIXED: mountman inserts '/dev/' before NFS shares and mounted devices which are missing from fstab FIXED: mountman does not watch readonly directories (mount can change its permissions!) FIXED: mountman does not stop dirwatch after close + memory leak FIXED: compare fix at directories with escape characters FIXED: Sorry - Archive test passed FIXED: FTP proxy bug (more than one @ characters in the URL) REMOVED: SortByExtention menu item (which did nothing) REMOVED: KrSearch-Help + Pack-Move into archive (did nothing) UPDATED: Dutch translation UPDATED: Danish translation UPDATED: Hungarian translation UPDATED: Italian translation UPDATED: Slovak translation 1.29-beta ====================== ADDED: KrSearch Match whole word only feature ADDED: Tab-browsing shortens tabs when more tabs are created ADDED: Starting Krusader with root privileges by pressing Alt+K ADDED: Open-in-a-new-tab available in right-click menu ADDED: Creating new files with SHIFT+F4 ADDED: Russian translation (thanks to Dmitry Chernyak) ADDED: Ctrl+Enter and Ctrl+Shift+Enter keyboard shortcuts ADDED: default shortcut for refreshing the panel is Ctrl+R ADDED: ctrl-left/right arrow checks if we're on a folder, if so it refreshes the other panel with the contents of the folder, otherwise to the same path as current one (Wincmd style) ADDED: tabbed-browsing beta ADDED: SHIFT-F3 view dialog. ADDED: The internal viewer follow links on HTML pages. ADDED: panel swapping by Ctrl+U ADDED: command line improvments: ctrl+/ opens history list, up&down keys work again, and general usability ADDED: krusader can now be started from commandline with new options: try: krusader --left=/mnt/cdrom --right=ftp://downloads@myserver.net ! ADDED: new command line widget. should fix some issues and requests ADDED: Missing WhatsThis information (thanks to Mikolaj!) ADDED: a new shortcut for 'show hidden files' - ctrl+. (ctrl plus dot) ADDED: rar support to krArc KIO slave. ADDED: open with in the right click menu for multiple files with the same mimetype. ADDED: Patch by Heiner which adds a cancel button to the calculate space action. FIXED: KrSearch does not find texts at the last row FIXED: Strange KrSearch GUI (SearchIn and DontSearchIn adding) FIXED: KrSearch crash at pressing Escape or Closing the window during search FIXED: cmdline would start-up focused on the wrong panel FIXED: when pressing ctrl-enter (or ctrl-shift-enter), focus goes to command line FIXED: Terminal Emulator bug at ` and Backspace keys FIXED: internal editor / viewer crash at invalid symlinks FIXED: run-in-terminal would cause the terminal to close prematuraly and results would be lost. FIXED: free disk capacity miscalculation for Ext2 and Ext3 file systems. FIXED: crash when editing a file with # in the filename FIXED: inplace renaming bug with extention when pressing ctrl+click FIXED: whenever the folder gets refreshed, the current file would be lost FIXED: problematic behavior when trying to SPACE a folder without permissions FIXED: Ctrl-A didn't work properly FIXED: crash when unmounting a busy mountpoint FIXED: date-time sorting bug FIXED: changed pop-up delay of the history button on the command line to zero FIXED: right-click menu via keyboard appeared in the wrong place FIXED: crash when using spacebar on the ".." (thanks to heiner) FIXED: automark directories didn't work (thanks to Anarky) FIXED: bug when using space to calculate space of directory FIXED: crash when viewing files with # in their name. FIXED: compilation problem with GCC >= 3.3 (thanks to Adios) FIXED: Force refresh when creating a new directory. FIXED: a crash when trying to repaint when the VFS was deleted. REMOVED: Device Manager action UPDATED: many usability issues (thanks to Mikolaj) UPDATED: German translation UPDATED: Hungarian translation UPDATED: Dutch translation UPDATED: Spanish translation 1.25-beta1 ====================== ADDED: Finally, the new bookmark system is here! courtasy of Jan Halasa ADDED: new Hungarian translation, thanks to Kukk Zoltán FIXED: mountMan bug - didn't allow to umount/mount filesystem with trailing / FIXED: width of modified column for i18n (thanks to heiner) FIXED: dirUp() bug - selection goes to top. FIXED: the @ in ftp passwords bug. UPDATED: Slovak translation UPDATED: Dutch translation 1.21-beta1 ====================== ADDED: Opening left/right bookmarks (alt+left/right arrow) is now an action, and can be remapped. ADDED: In-place renaming (thanks to Heiner Eichmann) ADDED: New KIO slaves to handle archives. ADDED: multi-file properties. ADDED: Krusader now obeys KDE's date time format ADDED: Total-Commander style directory selection. Press SPACE to check it out! Thanks goes (again) to Heiner Eichmann! FIXED: column sizes are saved when doing 'save postion', or if 'save settings' is set in konfigurator. FIXED: double-catching of the ~ (tilda) key FIXED: double-catching of the backspace key FIXED: closing krusader using Alt-F4 or clicking X didn't save settings FIXED: Wrong focus after renaming FIXED: Error using KRename with filenames containing spaces (thanks to Tobias Vogele) FIXED: FreeBSD compatability in KrARC (thanks to Heiner Eichmann) FIXED: a crash in the dirUp() function. FIXED: when opening bookmarks using keyboard, active panel didn't change properly FIXED: in search dialog - you can now simply click text, and press ENTER. no need to click Search FIXED: a lot of usability issues (thanks to Mikolaj Machowski) FIXED: double-click in search dialog bug (thanks to heiner eichmann for the patch) FIXED: i18n issues - thanks to Frank Schoolmeesters FIXED: Panel flicker patch (thanks to Gabor Takacs for the patch) FIXED: Krusader failed to report permission errors while deleting files FIXED: issue with Japanesse translation FIXED: ctrl+arrows is caught by panel and not the view FIXED: removed unsafe debug messages FIXED: proper properties and owner/group for non-local files UPDATED: Dutch translation UPDATED: German translation BUG: krArc slow when unpacking large files 1.20 - KDE 3 ====================== ADDED: Clicking on the status or totals bars (above and below file list) changes focus ADDED: Each panel remembers the way it was sorted (might be different for each) ADDED: Each panel remembers the column width (might be different for each) ADDED: Dutch translation, thanks to Frank Schoolmeesters FIXED: Crash when saying NO to "really exit krusader?" UPDATED: German translation UPDATED: Polish translation 1.20 ====================== ADDED: Japanese translation, thanks to UTUMI Hirosi ADDED: error window when attempting to drag-n-drop to a target without enough permissions FIXED: crash when viewing/editing a file without permissions to read FIXED: icon touchup - to make the thing look more consistent FIXED: removed the ftp disconnect and root actions from the toolbar FIXED: updated polish translation FIXED: date sorting with files older than the year 2000 FIXED: crash on remote connections if there is a @ in the password FIXED: the remote connections rename function FIXED: blank hex viewer with short text files FIXED: anonymous checkbox in remote-man not respected 1.12 beta2 ====================== ADDED: Introducing extention column ADDED: Italian translation (thanks to Giuseppe Bordoni) ADDED: Preview to the right-click menu. FIXED: minimize to tray didn't behave correctly FIXED: crash when mounting failed (no cdrom in drive) FIXED: icon too big when minimized to tray FIXED: origin bar now accepts local urls (file:/) gracefully FIXED: origin bug, which caused the focus to go to the panel too soon. FIXED: right click menu in mountman (thanx to Heiner). FIXED: new 'admin' folder (support automake 1.7). FIXED: ESC key close the viewer. FIXED: crash when trying to open non-existing directory. FIXED: directory sorting. FIXED: TODO: automark directories won't work in 1.12!!! TODO: can we add a krProgress to normal-vfs refreshes ? TODO: dragn'drop quirky. TODO: add progressbar to totals (?) TODO: COMPAREMODE 1.12 beta1 ====================== ADDED: some GUI touch-ups: make buttons smaller, and bars leaner. all in all, the thing should look better. ADDED: FreeBSD compatability issues - patchs by Heiner, thanks man! ADDED: move to next-gen view (at last) FIXED: popup-menu poping out of place. FIXED: Panel & PanelFunc permission clean up. FIXED: krBack() clean up. FIXED: moved all the logic from ListPanel to ListPanelFunc FIXED: integrated the openUrl() API. FIXED: minor bug in mountman FIXED: bug in arc_vfs, concerning full-paths in tars (thanks Heiner) FIXED: right align size column REMOVED: Tree & Quickview panels. 1.11 KDE 3 ====================== ADDED: updated Swedish translation, thanks to Anders Linden. ADDED: new Spanish translation, thanks to Rafa Munoz. ADDED: new Polish translation, thanks to Lukasz Janyst. FIXED: Changed the internal viewer default from Hex to Text. FIXED: Crash when Krusader is called with open viewer/internal editor. FIXED: Keyboard shortcuts not saved in Konfigurator. 1.10 - KDE 3 ====================== ADDED: new and improved viewer. ADDED: Krename support ! (more info at: http://krename.sf.net ) ADDED: you can now use the command line to "cd" into konqi-supported urls. ( try: cd audiocd:/?dev=/dev/cdrom ) ADDED: you can try to execute files in remote filesystem. ADDED: new command detection function instead of using 'which' FIXED: rewritten the panel sorting function, it should be better and faster now. FIXED: back to KRDirWatch, since KDirWatch crashed us on systems with FAM enabled. FIXED: removed the "panel start path is invalid" error message. if the start path is invalid try to find the closest path (the previous solution was '/'); FIXED: don't watch read-only/not-readable directories - this should improve performance and avoid a loooong wait time on super-mounted cdroms. FIXED: multiple selctions modes are no-more. default mode is Konqueror. the multi-mode become unstable after the kde3 porting and we had to disable it. FIXED: memory leak when starting konfigurator. 1.0.2 - KDE 3 ====================== ADDED: new icon. ADDED: sftp & scp support. ADDED: multi-protocol and history to the new connection dialog. FIXED: normal_vfs now uses the KDE dir watch, in other words: better directory refresh. FIXED: new 'admin' folder. 1.0.1 - KDE 3 ====================== ADDED: Krusader now compiles on KDE 3 (tested with RC3). ADDED: New ftp/smb vfs due to KDE 3 API changes. 1.0.1 ====================== ADDED: When compare-mode is active, pressing the 'Select Files' icon (or the equivelent keyboard short-cut), will open the usual dialog with 4 new options in the predefined selections. This allows automatic selection of files according to their compare-mode status - newer, older, etc. ADDED: Terminal emulator now "follows mouse" - konqueror style. ADDED: French translation. ADDED: A new icon for Krusader. new we've got krusader.png and krusader2.png ! FIXED: errors compiling on kde 2.1 - convertSizeFromKB FIXED: compatability issue with installing to debian FIXED: compatability issue with Solaris FIXED: keyboard settings are not saved. FIXED: a small bug causing 'rrr' to show instead of 'rwx'. 1/1/02 - 1.00 ===================== diff --git a/krusader/krusaderview.cpp b/krusader/krusaderview.cpp index 3e8ea2f8..abf26bd7 100644 --- a/krusader/krusaderview.cpp +++ b/krusader/krusaderview.cpp @@ -1,155 +1,155 @@ /*************************************************************************** krusaderview.cpp ------------------- copyright : (C) 2000 by Shie Erlich & Rafi Yanai e-mail : krusader@users.sourceforge.net web site : http://krusader.sourceforge.net --------------------------------------------------------------------------- Description *************************************************************************** A db dD d8888b. db db .d8888. .d8b. d8888b. d88888b d8888b. 88 ,8P' 88 `8D 88 88 88' YP d8' `8b 88 `8D 88' 88 `8D 88,8P 88oobY' 88 88 `8bo. 88ooo88 88 88 88ooooo 88oobY' 88`8b 88`8b 88 88 `Y8b. 88~~~88 88 88 88~~~~~ 88`8b 88 `88. 88 `88. 88b d88 db 8D 88 88 88 .8D 88. 88 `88. YP YD 88 YD ~Y8888P' `8888Y' YP YP Y8888D' Y88888P 88 YD S o u r c e F i l e *************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ // Qt includes #include // Krusader includes #include "krusaderview.h" #include "krusader.h" #include "krslots.h" #include "defaults.h" #include "Panel/listpanel.h" #include "Panel/panelfunc.h" #include "GUI/kcmdline.h" #include "GUI/kfnkeys.h" #include "resources.h" #include "panelmanager.h" #include //<> KrusaderView::KrusaderView( QWidget *parent, const char *name ) : QWidget( parent, name ), activePanel(0), konsole_part( 0L ) {} void KrusaderView::start( QString leftPath, QString rightPath ) { //////////////////////////////// // make a 1x1 mainLayout, it will auto-expand: mainLayout = new QGridLayout( this, 1, 1 ); // vertical splitter vert_splitter = new QSplitter( this ); // splits between panels and terminal/cmdline vert_splitter->setOrientation( QObject::Vertical ); // horizontal splitter horiz_splitter = new QSplitter( vert_splitter ); ( terminal_dock = new QHBox( vert_splitter ) ) ->hide(); // create it hidden // create a command line thing cmdLine = new KCMDLine( this ); // add a panel manager for each side of the splitter leftMng = new PanelManager(horiz_splitter, true, left, right, activePanel); rightMng = new PanelManager(horiz_splitter, false, right, left, activePanel); // now, create the panels inside the manager //left = new ListPanel( leftMng, true ); //right = new ListPanel( rightMng, false ); left = leftMng->createPanel(); right = rightMng->createPanel(); left->setOther( right ); right->setOther( left ); // create the function keys widget fnKeys = new KFnKeys( this ); - fnKeys->show(); + fnKeys->hide(); QWhatsThis::add ( fnKeys, i18n( "Function keys allow to perform fast " "operations on files." ) ); // and insert the whole thing into the main layout... at last mainLayout->addWidget( vert_splitter, 0, 0 ); //<> mainLayout->addWidget( cmdLine, 1, 0 ); mainLayout->addWidget( fnKeys, 2, 0 ); mainLayout->activate(); // get the last saved sizes of the splitter krConfig->setGroup( "Private" ); QValueList lst = krConfig->readIntListEntry( "Splitter Sizes" ); if ( !lst.isEmpty() ) horiz_splitter->setSizes( lst ); show(); qApp->processEvents(); // make the left panel focused at program start rightMng->startPanel( right, rightPath ); leftMng->startPanel( left, leftPath ); activePanel = left; activePanel->slotFocusOnMe(); // left starts out active } // updates the command line whenever current panel changes ////////////////////////////////////////////////////////// void KrusaderView::slotCurrentChanged( QString p ) { cmdLine->setCurrent( p ); if ( konsole_part != 0L ) { konsole_part->openURL( KURL( p ) ); } } void KrusaderView::cmdLineFocus() { // command line receive's keyboard focus cmdLine->setFocus(); } void KrusaderView::cmdLineUnFocus() { // return focus to the active panel activePanel->slotFocusOnMe(); } // Tab - switch focus void KrusaderView::panelSwitch() { activePanel->otherPanel->slotFocusOnMe(); } void KrusaderView::slotSetActivePanel( ListPanel *p ) { activePanel = p; } void KrusaderView::slotTerminalEmulator( bool show ) { if ( !show ) { // hiding the terminal terminal_dock->hide(); return ; } // else implied if ( konsole_part == 0L ) { // konsole part is not yet loaded KLibFactory * factory = KLibLoader::self() ->factory( "libkonsolepart" ); if ( factory ) { // Create the part konsole_part = ( KParts::ReadOnlyPart * ) factory->create( terminal_dock, "konsolepart", "KParts::ReadOnlyPart" ); connect( konsole_part, SIGNAL( destroyed() ), this, SLOT( killTerminalEmulator() ) ); } else konsole_part = 0L; } if ( konsole_part ) { // if we succeeded in creating the konsole terminal_dock->show(); krToggleTerminal->setChecked( true ); } else { terminal_dock->hide(); krToggleTerminal->setChecked( false ); } } void KrusaderView::killTerminalEmulator() { konsole_part = 0L; slotTerminalEmulator( false ); // hide the docking widget krToggleTerminal->setChecked( false ); } #include "krusaderview.moc"