Commit graph

11294 commits

Author SHA1 Message Date
Dirk Mueller
42c4ed3286 - move libkonq into apps/
- partial fixes to make apps build separately

svn path=/trunk/KDE/kdebase/apps/; revision=680304
2007-06-25 21:20:52 +00:00
Rafael Fernández López
db55cad07f Take offsets in count
svn path=/trunk/KDE/kdebase/apps/; revision=680285
2007-06-25 20:25:07 +00:00
Rafael Fernández López
ddf4f82ace Draw dragged items. Better conditions (more accurate to our behavior, hey ! we have columnview too...)
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=680283
2007-06-25 20:21:35 +00:00
Dirk Mueller
35aa74a769 compile++
svn path=/trunk/KDE/kdebase/apps/; revision=680133
2007-06-25 13:55:21 +00:00
Simon Hausmann
1049ffcbf0 Fix compilation
svn path=/trunk/KDE/kdebase/apps/; revision=679687
2007-06-24 15:55:43 +00:00
Jeremy Paul Whiting
a185ac263e krazy const & checks fix by Kristho, with a couple modifications so it works, thanks Kris!
svn path=/trunk/KDE/kdebase/apps/; revision=679363
2007-06-23 18:53:52 +00:00
Oswald Buddenhagen
8ef3884263 remove the gui for setting the password echo mode.
svn path=/trunk/KDE/kdebase/apps/; revision=679357
2007-06-23 18:22:53 +00:00
Rafael Fernández López
7477fe6845 Fix the small issue when you select by categories and then you
Ctrl+Click a subset, and those items selected were deselected

svn path=/trunk/KDE/kdebase/apps/; revision=679315
2007-06-23 15:47:20 +00:00
Rafael Fernández López
bddcd306bb Improve selection speed. I think we can still improve this a little bit, but I think we can live with this speed for now
svn path=/trunk/KDE/kdebase/apps/; revision=679308
2007-06-23 15:39:21 +00:00
Rafael Fernández López
0bfa174a58 Fix compile problems on systems that don't want nepomuk. eeek !
svn path=/trunk/KDE/kdebase/apps/; revision=679265
2007-06-23 13:12:21 +00:00
Laurent Montel
ca42927b82 Extract to rc file too
svn path=/trunk/KDE/kdebase/apps/; revision=679180
2007-06-23 09:18:26 +00:00
Laurent Montel
02f5a0fb87 Add missing Messages.sh
(before it was into konqueror directory and used konqueror catalog
now it's not possible)

svn path=/trunk/KDE/kdebase/apps/; revision=679178
2007-06-23 09:12:58 +00:00
Script Kiddy
5c354c25a7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=679120
2007-06-23 05:27:00 +00:00
Rafael Fernández López
79fca65650 Small fixes, but that have an impact of how things are visualized.
* Move "not tagged" elements to the end. We sort the rest (when they have tags), but keep untagged elements (the category) at the end of the view, since the user had
"less" interest on them.

* Break the law again of "dirs first". If we have on a folder only a tagged file (and is a file) and the rest are folders, that file goes first, since it was tagged.

* If we are on the same category, dirs go first. Here we make them citizens of first class.

* Commas instead of spaces when building categories for tags, they make it more readable and less error-prone (we can have tags "a", "dog" and "a dog" as tags, right?, 
so spaces here make the thing a bit hard to distinguish, I have two tags "a", "dog", or the tag "a dog") ;)

* Return an empty string when the item is not tagged at the method tagsForIndex. This way we always show untagged items the latest ones very easily (without nasty string 
checks). We will let the categorizer put a fancy name for them, if the returned string was empty.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=679097
2007-06-23 00:43:20 +00:00
Peter Penz
6894741abf Implement sorting by "tags". Same performance problems occur as when using sorting by "rating", but we must get a feeling first how we use the Nepomuk API before thinking about caching...
svn path=/trunk/KDE/kdebase/apps/; revision=678957
2007-06-22 16:42:34 +00:00
David Faure
58a49b99e5 Fix crash when using the links like "Home Folder" in kicker to launch konqueror (hmm I thought they would launch dolphin?)
svn path=/trunk/KDE/kdebase/apps/; revision=678916
2007-06-22 15:03:50 +00:00
Rafael Fernández López
e5ba529c1c If we are sorting by rating, we won't apply the general rule: folders before regular files. The user said that was more interesting for him/her, so we respect his/her
decision. In this case folders and files are citizens of the same class.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=678894
2007-06-22 13:58:21 +00:00
André Wöbbeking
ef587e42a0 also compile without nepomuk
svn path=/trunk/KDE/kdebase/apps/; revision=678876
2007-06-22 13:16:39 +00:00
Rafael Fernández López
f77f2e8b98 More human category when items haven't been rated yet
svn path=/trunk/KDE/kdebase/apps/; revision=678853
2007-06-22 12:16:44 +00:00
Peter Penz
632af391f8 Allow to sort by rating, which can be quite useful in combination with the "Show in Groups" feature. Although still slow, it basically works. All the code is based on Rafael Fernández López patch available at http://media.ereslibre.es/2007/06/dolphin-21062007.diff.
svn path=/trunk/KDE/kdebase/apps/; revision=678801
2007-06-22 10:18:46 +00:00
Max Blazejak
add29c2425 Enable the Code for additional metainfo again, doesn't hang on zip-files anymore
svn path=/trunk/KDE/kdebase/apps/; revision=678661
2007-06-21 22:27:16 +00:00
Rafael Fernández López
31c28ac3ed Fix memory problem, thanks to Holger Freyther for pointing out
CCMAIL: zecke@selfish.org
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=678434
2007-06-21 11:44:00 +00:00
Script Kiddy
e56eb843f2 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=678317
2007-06-21 05:01:20 +00:00
Rafael Fernández López
db515a39ba Fix the "I can't/don't want to" finish the drag event (what is called
drop :P), and the selection rect is shown.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=678293
2007-06-21 02:18:54 +00:00
David Faure
325a85623d Unit tests code to check for proper layouting (e.g. after splitting)
Reduce debug output a bit

svn path=/trunk/KDE/kdebase/apps/; revision=678233
2007-06-20 22:38:50 +00:00
Frank Osterfeld
3d5f530fcf assert slightly more elegantly
svn path=/trunk/KDE/kdebase/libkonq/; revision=678197
2007-06-20 21:19:04 +00:00
Peter Penz
327a38deb2 it's not needed anymore to remember the URL per column
svn path=/trunk/KDE/kdebase/apps/; revision=678184
2007-06-20 21:04:36 +00:00
Peter Penz
b78657b23f don't pass a custom viewport URL to the context menu anymore, as this cannot work together with the menu actions
svn path=/trunk/KDE/kdebase/apps/; revision=678175
2007-06-20 20:48:36 +00:00
Peter Penz
21a38c794c minor coding style cleanups
svn path=/trunk/KDE/kdebase/apps/; revision=678172
2007-06-20 20:44:18 +00:00
Peter Penz
06ec11da99 assure that the context menu for column view is applied to the correct URL (depends from the current column)
svn path=/trunk/KDE/kdebase/apps/; revision=678166
2007-06-20 20:21:48 +00:00
Peter Penz
1f4982b6f0 don't forget applying the view properties when refreshing the view
svn path=/trunk/KDE/kdebase/apps/; revision=678067
2007-06-20 15:59:32 +00:00
Peter Penz
4cccb52978 split view on startup if it is defined by the settings
svn path=/trunk/KDE/kdebase/apps/; revision=678063
2007-06-20 15:46:57 +00:00
Rafael Fernández López
a2d465be14 ++compile
svn path=/trunk/KDE/kdebase/apps/; revision=678041
2007-06-20 14:44:23 +00:00
David Faure
6cec08e2cc Source code reorganization: switch to .cpp extension, move konq sources to src subdir (like dolphin and konsole, and to separate it from all the kcontrol modules and plugins), remove '_' so that kdab-insert-header (xemacs macro) works.
svn path=/trunk/KDE/kdebase/apps/; revision=678019
2007-06-20 13:04:46 +00:00
David Faure
dd3b513f5a Make libkonquerorprivate shared (which means it needs export macros now -- done), and installed (in the unlikely case where users might want to use konqueror :) ).
svn path=/trunk/KDE/kdebase/apps/; revision=677969
2007-06-20 09:34:32 +00:00
Dirk Mueller
177f9c07ae at least return something
svn path=/trunk/KDE/kdebase/apps/; revision=677932
2007-06-20 07:50:06 +00:00
Peter Penz
0108d6c06b * coding style update to match with http://techbase.kde.org/Policies/Kdelibs_Coding_Style
* minor speed improvements by moving QString, QVariant, KDateTime, ... declarations inside inner scopes; further speed improvements should be possible, but lets do it step by step...

svn path=/trunk/KDE/kdebase/apps/; revision=677719
2007-06-19 19:28:08 +00:00
Rafael Fernández López
80a9c5ba27 EBN fixes
svn path=/trunk/KDE/kdebase/apps/; revision=677715
2007-06-19 19:17:32 +00:00
Peter Penz
25ef09e234 A cleanup in KDiskFreeSpace has been done -> adjust signal/slot to the new (and nicer) method signature
svn path=/trunk/KDE/kdebase/apps/; revision=677710
2007-06-19 19:08:49 +00:00
Rafael Fernández López
641d526fbe Fix the problem "the scrollbar remains if it was shown on the
categorized view, and now it has been disabled (the categorized 
view)"

svn path=/trunk/KDE/kdebase/apps/; revision=677706
2007-06-19 18:59:13 +00:00
Peter Penz
675ea959ca when requesting a context menu provide a URL for the viewport, because in the column view this URL can differ from the navigator URL
svn path=/trunk/KDE/kdebase/apps/; revision=677704
2007-06-19 18:58:30 +00:00
Rafael Fernández López
b7eccbccaf Fix the scrollbar issue. We can live with the setSingleStep nasty workaround for now. Anyway we can adapt it to fit better in the context.
CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=677702
2007-06-19 18:52:55 +00:00
Rafael Fernández López
8d0c42af2e Fix the problem of the crash related to commit 677667, taking in count we are in IconMode, not in a mode
different than ListMode. Fix some comments.

svn path=/trunk/KDE/kdebase/apps/; revision=677668
2007-06-19 17:26:09 +00:00
Peter Penz
4bcc8ac383 provide temporary (?) fix for a crash that occurs if the categorization is turned off and a switch is done from another view mode
CCMAIL: ereslibre@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=677667
2007-06-19 17:23:14 +00:00
Rafael Fernández López
fa937d13f2 Fix for not C99 compliant systems when trying to use trunc() function. I have defined this function on kdefakes library, so we have it KDE wide.
BUG: 146963

svn path=/trunk/KDE/kdebase/apps/; revision=677663
2007-06-19 17:09:27 +00:00
Peter Penz
619573ee5b don't use deprecated KGlobalSettings::xxxColor() methods anymore
svn path=/trunk/KDE/kdebase/apps/; revision=677660
2007-06-19 16:49:31 +00:00
Peter Penz
4457bee4ef * fixed issue that some view properties like "show in groups" are ignored when a new DolphinViewContainer has been created (happens on startup or when a view is split)
* get rid of redundant parameter in constructors of DolphinView and DolphinViewContainer

svn path=/trunk/KDE/kdebase/apps/; revision=677654
2007-06-19 16:35:52 +00:00
Peter Penz
e69c623289 * move the "[ ] Show in Groups" checkbox from "View->Sort By" directly to "View"
* same for the viewproperties dialog: don't hide "Show in Groups" under "Sorting"

svn path=/trunk/KDE/kdebase/apps/; revision=677641
2007-06-19 16:00:21 +00:00
David Faure
7d49039544 Add missing file
svn path=/trunk/KDE/kdebase/apps/; revision=677506
2007-06-19 08:50:42 +00:00
David Faure
2aa190a565 Started the big design cleanup:
- Implemented visitor support to KonqFrameBase and children, to reduce interdependencies,
  moved printFrameInfo to visitor, and used visitor in unit tests too, to inspect structure.
 - Simplify KonqMainWindow ctor
 - Pass explicit mimetype to addTab() (fixed one performance bug, in kde3 branch as well)
 - Simplify splitView arguments
 - Unit tests for most of the KonqViewMgr API, to allow for further refactorings

svn path=/trunk/KDE/kdebase/apps/; revision=677505
2007-06-19 08:46:00 +00:00