Commit graph

13483 commits

Author SHA1 Message Date
David Faure
845a5025a5 Use KonqMenuActions to add the "open with" actions to the popupmenu, to avoid this independent reimplementation,
which brought back bug 121728 ('&' in application name treated as accelerator)

svn path=/trunk/KDE/kdebase/apps/; revision=815838
2008-06-02 16:36:29 +00:00
David Faure
1115dffc0c Taken from dolphin's code before I wipe it out: remove duplicate "open with" entries.
svn path=/trunk/KDE/kdebase/apps/; revision=815833
2008-06-02 16:14:58 +00:00
David Faure
197ab5d5ee popupmenu: regression tests for readonly-dir and file-in-readonly-dir
svn path=/trunk/KDE/kdebase/apps/; revision=815821
2008-06-02 15:46:24 +00:00
David Faure
d72e7ee5a8 Use KonqFileItemCapabilities in KonqPopupMenuInformation instead of the too-basic bool readOnly().
Ported KonqPopupMenu to KonqFileItemCapabilities.

svn path=/trunk/KDE/kdebase/apps/; revision=815688
2008-06-02 14:30:26 +00:00
David Faure
735010e992 clean up "open in new window" stuff, which is done in konq itself; this makes this code usable for fredrikh's desktop icons stuff.
svn path=/trunk/KDE/kdebase/apps/; revision=815666
2008-06-02 13:40:52 +00:00
George Goldberg
9dc25dddb6 Fix the edit-menu action disabling/enabling bug in dolphinpart finally! Also, move FileItemCapabilities from dolphin to KonqFileItemCapabilities at dfaure's request (making it implicitly shared along the way).
BUGS:161594

svn path=/trunk/KDE/kdebase/apps/; revision=815584
2008-06-02 10:07:13 +00:00
George Goldberg
f0c1407c15 dolphin part context menu now displays delete and not send to trash for remote files. (Makes behaviour same is in dolphin itself).
CCBUGS: 161594

svn path=/trunk/KDE/kdebase/apps/; revision=815519
2008-06-02 02:57:22 +00:00
George Goldberg
98e301c3d0 Fix dolphinpart context menu so that the delete/rename/send to trash options are disabled when the directory containing the selected files/dirs is not writable.
CCBUGS: 161594

Issues remaining: Send to trash should be disabled on remote files (and replaced with delete) and edit menu of konqueror still has the actions like cut/delete/rename always enabled.

svn path=/trunk/KDE/kdebase/apps/; revision=815517
2008-06-02 02:50:36 +00:00
Fredrik Höglund
4a6e66e781 Use the desktop font configured in systemsettings.
svn path=/trunk/KDE/kdebase/workspace/plasma/containments/folderview/; revision=815499
2008-06-02 00:17:53 +00:00
Peter Penz
e7b5bc57d0 Improve the performance when creating previews for thousands of items by the following strategy:
- The previews for currently visible items are created before
   the previews for invisible items.
 - If the user changes the visible area by using the scrollbars,
   all pending previews get paused. As soon as the user stays
   on the same position for a short delay, the previews are
   resumed. Also in this case the previews for the visible items
   are generated first.

svn path=/trunk/KDE/kdebase/apps/; revision=815480
2008-06-01 22:15:13 +00:00
Rafael Fernández López
d6bc8c6b36 Natural comparison and proper case insensitive filter
svn path=/trunk/KDE/kdebase/workspace/plasma/containments/folderview/; revision=815478
2008-06-01 22:12:11 +00:00
Rafael Fernández López
b66cac2eac Make the filter no case aware
svn path=/trunk/KDE/kdebase/workspace/plasma/containments/folderview/; revision=815467
2008-06-01 21:40:13 +00:00
Rafael Fernández López
c7642d7d6c Filter out everything that does not match the filter rules set by the user. That means folders are also filtered out. Filters can be separated with ';'. That means one could do something like
'*.jpg;*.png'. We probably also want to remove all spaces from the filter, as well as making them non-case aware. At the moment "foo.JPG" would be filtered out if our filter was "*.jpg".

CCMAIL: fredrikh@kde.org

svn path=/trunk/KDE/kdebase/workspace/plasma/containments/folderview/; revision=815459
2008-06-01 21:24:36 +00:00
Peter Penz
588f3303a5 increase the readability of the code
svn path=/trunk/KDE/kdebase/apps/; revision=815420
2008-06-01 18:44:35 +00:00
Eduardo Robles Elvira
fbfde537c3 Disable autosave session on silent mode
svn path=/trunk/KDE/kdebase/apps/; revision=815416
2008-06-01 18:32:49 +00:00
George Goldberg
28d132b3c2 Fix dolphin to only enable the Cut context menu option if the file capabilites supportsMoving().
CCBUGS: 161594

Still need to fix Send to trash Context Option in Konqueror

svn path=/trunk/KDE/kdebase/apps/; revision=815362
2008-06-01 15:16:27 +00:00
Script Kiddy
83e05462a3 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/workspace/plasma/containments/folderview/; revision=815343
2008-06-01 15:00:04 +00:00
Rafael Fernández López
cf88e7dc77 Fix problem when descending order on "Today" and "Thursday" for example. Now we also have week independant maths, so we get a Yesterday tag even if yesterday was 31st and today is 1st. Peter, the
order should be correct now, please recheck (I added a '-', so the order now is the inverse that the one shown on the kfm-devel thread).

CCMAIL: kfm-devel@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=815341
2008-06-01 14:56:07 +00:00
Eduardo Robles Elvira
9cb1332009 Fixing *huge* memory leak in konqueror: in KonqView::~KonqView() we were just not deleting the HistoryEntries. No kidding. Each view can contain *a lot* of HistoryEntries, and each entry contains lots of data: url, locationBarURL, title, buffer, postData, etc. All that was being leaked when deleting konqviews (i.e. closing a tab).
Thanks pinotree for helping out with valgrind and giving me the valgrind output, you rock!

CCMAIL:kfm-devel@kde.org
CCMAIL:faure@kde.org


svn path=/trunk/KDE/kdebase/apps/; revision=815027
2008-05-31 23:34:11 +00:00
Script Kiddy
27de865cf4 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=814782
2008-05-31 09:41:27 +00:00
Chusslove Illich
9b0bf15f96 There are some extractable strings in subdirs too.
svn path=/trunk/KDE/kdebase/apps/; revision=814642
2008-05-31 00:14:56 +00:00
Peter Penz
b3b07bee24 revert last (wrong) commit
CCMAIL: darktears31@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=814581
2008-05-30 18:32:49 +00:00
Alexis Ménard
7878d6ca31 Fix compil
svn path=/trunk/KDE/kdebase/apps/; revision=814574
2008-05-30 18:20:42 +00:00
Nuno Fernades Pinheiro
658215c588 one more
svn path=/trunk/KDE/kdebase/apps/; revision=814533
2008-05-30 15:41:15 +00:00
Anne-Marie Mahfouf
5eb8a42236 add path to new doc
svn path=/trunk/KDE/kdebase/apps/; revision=814416
2008-05-30 08:53:41 +00:00
Pino Toscano
c2ef556889 QtModule/QClass for Qt includes in public headers
svn path=/trunk/KDE/kdebase/apps/; revision=814415
2008-05-30 08:35:43 +00:00
Anne-Marie Mahfouf
34ea00859d a few improvements
svn path=/trunk/KDE/kdebase/apps/; revision=814408
2008-05-30 08:23:04 +00:00
Anne-Marie Mahfouf
35a3bc87ef improve
svn path=/trunk/KDE/kdebase/apps/; revision=814406
2008-05-30 08:16:13 +00:00
Anne-Marie Mahfouf
30d30a426e add User Info doc thanks to Michael, I ported it to docbook and added more info
CCMAIL=nosrednaekim@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=814399
2008-05-30 08:07:55 +00:00
Anne-Marie Mahfouf
74fcb262cc enable Help button, doc will be added
svn path=/trunk/KDE/kdebase/apps/; revision=814395
2008-05-30 08:05:43 +00:00
Jakub Stachowski
4719a036fe Do not crash when trying to download file with unknown mimetype.
BUG: 162738


svn path=/trunk/KDE/kdebase/apps/; revision=814278
2008-05-29 20:21:06 +00:00
Peter Penz
293afc1718 assure that the cut item cache gets updated too when invoking IconManager::updatePreviews()
svn path=/trunk/KDE/kdebase/apps/; revision=814274
2008-05-29 20:19:26 +00:00
Peter Penz
afcbda8d6a Before applying the cut item effect to a preview, assure that the cut items cache gets an update of the preview without effect. This assures that when cutting other items that the state of the previously cut items can be restored in any case.
svn path=/trunk/KDE/kdebase/apps/; revision=814273
2008-05-29 20:01:13 +00:00
David Faure
356ff06777 Fix konqueror startup when using the "empty webbrowsing profile" -- we need to load khtml for about:blank, otherwise everything remains disabled including the location bar (well there's a disableActionsNoView(), but that wasn't the goal; empty profile = blank html part, as noted elsewhere in this file).
svn path=/trunk/KDE/kdebase/apps/; revision=814247
2008-05-29 18:40:21 +00:00
David Faure
09a996300b Ported out of K_EXPORT_COMPONENT_FACTORY and KParts::Factory, to use K_PLUGIN_FACTORY instead.
Old factory was also used as singleton, made it one using K_GLOBAL_STATIC.
-> fixes another runtime warning.

svn path=/trunk/KDE/kdebase/apps/; revision=814246
2008-05-29 18:35:25 +00:00
Peter Penz
5981597f39 don't clear the selection when the view gets inactive
BUG: 162432

svn path=/trunk/KDE/kdebase/apps/; revision=814244
2008-05-29 18:32:02 +00:00
David Faure
c56143798e Fix test for new forceAutoEmbed logic; we need to force katepart to be embedded in the setup of this test.
svn path=/trunk/KDE/kdebase/apps/; revision=814240
2008-05-29 18:18:32 +00:00
Peter Penz
7bebcbf4c6 Assure that the item view gets the keyboard focus when it was activated. This fixes the issue that when the view gets split, that the keyboard focus remained on the inactive view.
svn path=/trunk/KDE/kdebase/apps/; revision=814237
2008-05-29 18:10:28 +00:00
Peter Penz
c9ef5798e7 Only select an item if the current item has been changed by a key press (e. g. QTreeView sets the current item when the view loses the focus).
svn path=/trunk/KDE/kdebase/apps/; revision=814234
2008-05-29 18:00:59 +00:00
David Faure
8aa9a07420 SVN_SILENT kDebug fixes, unused method removed
svn path=/trunk/KDE/kdebase/apps/; revision=814219
2008-05-29 17:13:01 +00:00
David Faure
7a529fd525 Fix "Ctrl+Return opens URL in a new tab". Didn't know that feature until I read the source code to fix a deprecation warning :)
svn path=/trunk/KDE/kdebase/apps/; revision=814084
2008-05-29 10:20:18 +00:00
David Faure
5514af067b Unclutter the File menu which could become huge when there were many "open with" actions.
In order to still make it quick to open the current url with its preferred application,
we decided to leave the first 2 applications in the File menu, and if there are any more, we show
a submenu with the others.
Based on patch by Luigi Toscano.

svn path=/trunk/KDE/kdebase/apps/; revision=814079
2008-05-29 10:05:24 +00:00
Peter Penz
346127dbe2 SVN_SILENT: minor coding style fix
svn path=/trunk/KDE/kdebase/apps/; revision=814019
2008-05-29 06:14:47 +00:00
David Faure
34700ddbc7 fix wrong connect
svn path=/trunk/KDE/kdebase/apps/; revision=813967
2008-05-29 00:01:59 +00:00
David Faure
67dcae5d52 Handle redirections (e.g. from fish://localhost) without breaking the column view -- thanks Peter for the advice on how to separate the two cleanly.
svn path=/trunk/KDE/kdebase/apps/; revision=813954
2008-05-28 23:07:09 +00:00
David Faure
d335fdbf00 Wow, giving fileItem.url().url() to KFileMetaInfo is a bad idea -- it takes that as a path, so you end up with
QFile("file://fish://hostname")... I guess the only solution is to skip the whole KFileMetaInfo stuff for non-local-files.
But then we shouldn't see size 0 modified 12:00 am...

svn path=/trunk/KDE/kdebase/apps/; revision=813953
2008-05-28 22:59:26 +00:00
Alexander Neundorf
1c269b6ab8 add the app icon before kde4_add_kdeinit_executable(), because adding the icon after it to the list
of source files doesn't have any effect -> the icns file was not be generated 

Alex


svn path=/trunk/KDE/kdebase/apps/; revision=813916
2008-05-28 21:43:57 +00:00
Script Kiddy
4e95e91b45 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=813908
2008-05-28 21:39:47 +00:00
Alexander Neundorf
e88343d250 -indentation and a few empty lines to improve readability
Alex



svn path=/trunk/KDE/kdebase/apps/; revision=813881
2008-05-28 21:17:37 +00:00
Peter Penz
879a6de337 Assure that tabs always have a text. If the file name is empty, use the protocol instead. This fixes the issue that for "trash://" no text is shown in the tab.
svn path=/trunk/KDE/kdebase/apps/; revision=813844
2008-05-28 20:48:40 +00:00