#
6307bc57 |
|
09-Dec-2023 |
John Scipione <jscipione@gmail.com> |
Tracker: Refactor Default settings to be in one place Create TrackerDefaults.h to share default setting values between TrackerSettings.cpp and SettingsView.cpp instead of duplicating the default value in both places. There is now one source of truth if we ever want to change a setting it won't cause regressions to the Defaults and Revert button state. TODO Does not yet include Disk auto-mount settings. Add HideDotFiles to the defaultable list for Windows settings and make its default false (was true in some places). Fix issues with the Defaults button not enabling Enable type- ahead filtering and Generate image thumbnails as it should. Move default color constants to TrackerDefaults.h, remove TODO. Rename kSpaceBarAlpha to kDefaultSpaceBarAlpha matching rest. Create RGBTOHEX(c) macro to convert rgb_color to a (hex) number for HexScalarValue to set the default space bar colors. Saving these old hex values in the commit message: UsedSpaceColor: 0xc000cb00 FreeSpaceColor: 0xc0ffffff WarningSpaceColor: 0xc0cb0000 Reorder setting to match display order. I've gone way over 80 in TrackerSettings and SettingsViews due to long variable names. Change-Id: Iafd6dfc5e738562d73967558e1f151fc7fed5866 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7196 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
f66a7eb5 |
|
05-Dec-2023 |
John Scipione <jscipione@gmail.com> |
Tracker: Fix Default button in settings for thumbs default on Change-Id: I3d7398cb19a34d78a12c4a1fc325f2d15d59e825 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7180 Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
18ee9c83 |
|
30-Aug-2023 |
Augustin Cavalier <waddlesplash@gmail.com> |
Tracker: Add some missing includes. These were implicitly picked up thanks to SlowContextPopup, but that is about to change.
|
#
7f819534 |
|
05-Aug-2021 |
John Scipione <jscipione@gmail.com> |
Tracker: Add thumbnail support Define thumbnail attributes in Attributes.h: Media:Thumbnail to store the thumbnail, Media:Thumbnail:CreationTime to see if thumbs need to be regenerated. Store 128x128 thumbnail in attribute, for icon sizes smaller than 128x128 down-scale the 128x128 thumbnail. Use B_FILTER_BITMAP_BILINEAR to down-scale the image using the bilinear scaling algorithm which creates nicer looking thumbnails than the default scaling algorithm. Store thumbnails as WebP images which compress smaller than PNGs and fit in the inode better at 128x128. Check the file's modification time in GetFileIconFromAttr() and compare it to the thumbnail creation time. If the file has not been modified since the last time we generated thumbnails return the thumbnail from the attribute, otherwise fetch a new thumbnail with GetThumbnailIcon(). Add "Generate image thumbnails" Tracker setting. Default is turned off for now. To generate image thumbnails you must first turn this setting on in Tracker Windows preferences. Spawn a get_thumbnail() thread to generate thumbnails and retrieve them later on from the window thread to fill out into the icon. This should improve responsiveness of generating thumbnails from a folder with a lot of images. The generator thread will write the thumbnail data to an attribute if on writable BFS volume. If not on writable BFS volume, the generator thread will send the data back to the original thread through a port by calling write_port(). When the thread is finished creating the thumbnail it sends a message back to the Tracker application thread to update the pose which instructs the window thread to look for an thumbnail. It either finds a thumbnail in an attribute, or picks up the thumbnail data that has been sent through write_port() using read_port(). This works on both read-write and read-only BFS volumes but it still depends on the presence of a BEOS:TYPE parameter to have been written to the volume before it became read-only. Thumbnail generation does not work on other read-only volumes for example an ISO-9660 CD, but it does work on read-only BFS volumes for example the BeOS R5 CD. Move BPrivate::CheckNodeIconHintPrivate() from BNodeInfo to Tracker Model CheckNodeIconHint(). Create Model::CheckAppIconHint() and look for a vector icon or mini and large icon in that method. Check that the base type is directory, volume, trash, desktop, or if executable call CheckAppIconHint(). Add 1 to temp_name to fix the following warning: src/kits/tracker/FSUtils.cpp:2437:12: note: 'snprintf' output 3 or more bytes (assuming 267) into a destination of size 266 Rename temp_name to tempName following our style guidelines. Use strlcpy() and strlcat() instead of strcpy() to safely copy the string. This fixes thumbnail generation on 64-bit Haiku. Change-Id: I7f927a5a1f8cf65e4b1aa1e0eb55bbfae87fd969 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3163 Reviewed-by: John Scipione <jscipione@gmail.com> Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
d0017f37 |
|
25-Jul-2015 |
Jérôme Duval <jerome.duval@gmail.com> |
libtracker.so: fixed parenthesis warning on not operator... * "logical not is only applied to the left hand side of comparison" * found with GCC6
|
#
4e357263 |
|
29-Mar-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
Tracker: add "hide dotfiles" option to the GUI & enable it by default. Changing this many lines of code to add a single boolean preference is absolutely insane. We need a new preference-tracking system, and one that can be reused in other applications, too. Fixes #9200.
|
#
9cc03189 |
|
28-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: Add NULL checks and ASSERTs To prevent recoverable NULL pointer dereferences. Dereferencing a NULL pointer is undefined behavior and should be avoided. Unrecoverable NULL checks will be dealt with in the next commit.
|
#
54e2dd72 |
|
28-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: style fixes No functional changes intended.
|
#
e741289a |
|
22-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: fix uninitialized members, CID 610133
|
#
68295c92 |
|
22-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: fix uninitialized members, CID 610132
|
#
dd03c93f |
|
16-Jul-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Move automount settings to the Tracker preferences * Avoids the ugly "button that opens another window" UI paradigm in Tracker preferences. * Makes it possible to revert changes to the automount settings as the Tracker preferences window has a revert button.
|
#
f435b678 |
|
20-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: style fixes to SettingsViews classes
|
#
2fec3040 |
|
02-Jun-2013 |
John Scipione <jscipione@gmail.com> |
Tracker Settings: Put color control a group and add indents * Also don't set the initial position since the layout kit takes care of that for us now. * Remove the no longer used spacing constants.
|
#
7fd5989d |
|
02-Jun-2013 |
John Scipione <jscipione@gmail.com> |
Tracker Settings: Style fixes * Add spaces around {}'s * Add 2 blank lines between class declarations in header
|
#
62bcb75c |
|
02-Jun-2013 |
John Scipione <jscipione@gmail.com> |
Tracker Settings: Re-factor includes * Remove includes from header and use bare class definitions instead * Add the includes from the header to the cpp file * Remove Alert.h include from cpp file, not used. * Remove TextControl.h include from header, not used. * Add Point.h include to cpp file, we do use that. * Reorder includes according to style guidelines
|
#
64c61228 |
|
02-Jun-2013 |
John Scipione <jscipione@gmail.com> |
Tracker Settings: Use BLayoutBuilder template and refactor ... instead of using the less flexable BGroupLayoutBuilder. * Reduce Group levels used by eliminating the uneeded top level group. * Use font relative spacing units in a few places instead of hard coding 20 pixels. * By using the layout builder template I can use the single parameter version of SetInsets().
|
#
1baa2211 |
|
10-Feb-2013 |
Humdinger <humdingerb@gmail.com> |
Removed Trash options from Tracker prefs. As discussed [1][2], using a Trash is in the interest of the vast majority of users. The setting is still present in the Tracker settings file. SHIFT+DELETE will still bypass the Trash. [1] http://www.freelists.org/post/haiku-commits/haiku-hrev45134-srckitstracker,4 [2] http://www.freelists.org/post/haiku/Removing-Trackers-Trash-options Please enter the commit message for your changes. Lines starting
|
#
163a3948 |
|
09-Feb-2013 |
Humdinger <humdingerb@gmail.com> |
Revert "Renamed Tracker option "Don't move files to Trash" (#9352)" This reverts commit 45f77dcd7029914ccd99178dfb333eb68c7af9e5.
|
#
45f77dcd |
|
06-Jan-2013 |
Humdinger <humdingerb@gmail.com> |
Renamed Tracker option "Don't move files to Trash" (#9352) Renamed that option as it is the only negatively phrased to "Move deleted files to Trash first" and also the option below that to "Ask before deleting for good". Also renamed every function name etc. in that regard and also settings string of the Tracker settings file.
|
#
ea001e58 |
|
28-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Round 2 of style changes to Tracker * focused on 80-char limit fixes. * also some whitespace and case statement indentation fixes
|
#
b05aa8b5 |
|
27-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Style changes in Tracker, no functional change. Manual whitespace cleanup Change instances of const char * to const char* Convert /* */ C style comments to // C++ style comments
|
#
546208a5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
7b80b5d5 |
|
17-Sep-2010 |
Alexandre Deckner <alex@zappotek.com> |
* Use multiple translate contexts in Tracker for easier translation git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38691 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e80276e2 |
|
06-Sep-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Fix some more regressions from r38512, Tracker prefs, Icon-O-Matic, Expander & Screenshot. Thanks to diver for finding these. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38538 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
894cf4f3 |
|
08-Aug-2010 |
Alexandre Deckner <alex@zappotek.com> |
* Apply patch from Takashi Murai: use layouting for Tracker settings window/views. Slight modifications to the patch: Put back passing the view names (eventhough it seem useless atm). One or two small indenting issues. Implemented your todo (listview width adapts to the longest item). Thanks a lot. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37978 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0f2ec5c2 |
|
05-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Remove "date & time" view from tracker settings, since it will soon use the locale kit settings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37929 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ed28a57 |
|
12-Jul-2010 |
Alexandre Deckner <alex@zappotek.com> |
* Applied libtracker localization patch from T.Murai (a.k.a mt) with some modifications (see below). * Functional modifications: Reworked InfoWindow file size localization, the patch removed number formating (size in bytes) and was too complicated to my taste. Replaced the uses of sprintf with the safer snprintf. Changed signature to x-vnd.Haiku-libtracker instead of x-vnd.Haiku-libTracker (to be consistent with the binary name) * Style modifications: Reworked lots of 80 char indenting (probably due to the now shorter line lengths since your previous patch that wasn't using the macros) Lots of missing brackets when "if's" becomes multiline. Other minor fixes. Noticed a few uses of FindItem on translated names that might become problematic someday. Added some TODO's regarding localization of file sizes. Localization might still be optimized a bit regarding the produced en.catkeys Note to translators: .catkeys files should be placed in haikusource/data/catalogs/kits/tracker though beware as the base en.catkeys might change slightly in the next days. Note to users: As with any other app you need to restart Tracker (or any aother app using libtracker's filepanels) for it to pick the locale setting. E.g: use 'quit an application' and 'restart Tracker' from process controller. Thanks a lot T.Murai git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37492 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
545ebde0 |
|
30-Jan-2010 |
Michael Lotz <mmlr@mlotz.ch> |
Implement type ahead filtering (this time for real and without abusing the vertically sorted pose list). When enabled typing will filter based on the currently visible attribute columns. Using shift-space as a delimiter independent filtering strings can be typed, so you can filter based on multiple attributes at once to refine results while you type. Filtering stays active until you cancel it using the escape key. While the filtered result is displayed all normal file operations can be used. Using the return key while filtering auto-selects and opens the first filter result, allowing for fast traversal through directories and directly opening the topmost result. * Introduces fFilteredPoseList which stores the active filter result. The list is only used when filtering is currently active, so no syncing is required otherwise. * Some minor adjustments to leave out invalidations where non-visible poses are updated. * Account for the now possible multiple lists throughout BPoseView. * Add filter string output to the CountView and made that one a bit wider. * Added all the settings-cruft for type ahead filtering (defaults to off). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35339 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
82d8aaf8 |
|
12-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdinger: Changed strings to sentence case. The changes in StatusWindow and FSUtils are missing because I have some unfinished work in progress in those files. Will commit them separately. This is case-tracker.diff from #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35047 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
671dd808 |
|
12-Jan-2010 |
Rene Gollent <anevilyak@gmail.com> |
Various cleanups: * Removed dead/obsolete Integrate Non-boot Desktops code. * Modified PoseView to ignore the fInvisible attribute of BPoseInfo for now. This has the net effect that the Desktop folder and /boot/var are no longer hidden from the user. To go with this change, Tracker no longer forcibly writes that hidden setting to those folders on access. This feature might be useful again in the future (especially in conjunction with relocating the Trash folder somewhere such as the disk root), but is currently somewhat problematic because those dual-booting with BeOS will still have a Tracker that force writes those attributes which would bring us back to square one with respect to showing the Desktop folder when we start respecting the attribute again. Suggestions welcome. Haiku-only users can remove the _trk/pinfo_le attribute on those folders to remove the invisibility in any case. * TrackerSettings: Removed obsolete desktop integration settings. Also modified TrackerSettings parser to skip unrecognized settings instead of aborting the settings file parsing process entirely. Closes ticket #2872. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35040 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c1b274fd |
|
12-Oct-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Removed auto mounter code from Tracker. * Tracker forwards auto mounter related messages to the mount_server. * Rewrote AutoMounterSettings to not know AutoMounter and use the layout-management. * Moved the "Eject When Unmounting" setting into the Mount Settings. * Launch the mount_server during boot, but delay the script until all previously mounted volumes have been mounted. This solves some annoying timing bugs during boot. For example when you have desktop backgrounds on other volumes and some servers don't deal well with the situation of links to add-ons on other volumes becoming valid with a delay... * src/kits/tracker/Commands.h includes the private headers/private/ mount/MountServer.h header, which made adjustments to the DiskUsage Jamfile necessary. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33555 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7c870e9a |
|
04-Sep-2009 |
Ryan Leavengood <leavengood@gmail.com> |
These are the remaining changes to properly implement the new default of volume space bars being on. Thanks for the tips Axel. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32934 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3831b0dc |
|
18-Feb-2008 |
Alexandre Deckner <alex@zappotek.com> |
- Revert button's first update didn't work since revert data is stored in the Show() method. - Default data is defined in two places, and was inconsistent. - Color comparisons could be done with the wrong alpha. note: BColorControl's behavior wrt alpha might differ from R5's. This fixes part of #254 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24008 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6eb01296 |
|
23-Aug-2007 |
Ryan Leavengood <leavengood@gmail.com> |
Patch from Justin O'Dell for bug #254, fixing the Defaults button behavior for the Appearance and Menu prefs, and Tracker's settings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22049 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
efd98f31 |
|
20-Jun-2007 |
Axel Dörfler <axeld@pinc-software.de> |
The "show shared volumes on Desktop" setting now defaults to true. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21479 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
687e327b |
|
19-Jun-2007 |
Michael Lotz <mmlr@mlotz.ch> |
Reworked the handling of periodically updated poses (currently only ones with a volume space bar): * Addad global list where poses that need periodic updates can be registered with a callback * Use this mechanism for poses with a volume space bar * Create only one BVolume when the BPose is created for a volume, instead of every time the free space is calculated * On Pulse() the global list is used to update all of the registered periodic update poses * As the poses know their volume, it is no longer necessary to use a BVolumeRoster to loop through each volume on each Pulse() * Removed the now superfluous SendNotices() mechanism * Removed corresponding watching / handling of these notices in BPoseView The BPoseView did a linear search for each volume pose on each Pulse() before. What's more it did this once for each mounted volume as it did get one individual notice for each of them. To get these volumes a BVolumeRoster was used to loop through the volumes, but then the BPose did still create a new BVolume to actually calculate the free space! I'm surprised that it did not suck away more performance with this method... Anyway, this should bring down BVolume construction and update overhead down to a minimum and hopefully fix ticket #1247. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21462 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e89c2353 |
|
06-Feb-2007 |
Waldemar Kornewald <wkornewald@nowhere.fake> |
"Show Folder Location in Title Bar" is now disabled, by default. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20088 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2e7b1dcd |
|
06-Feb-2007 |
Waldemar Kornewald <wkornewald@nowhere.fake> |
The Defaults button had a different default than Tracker has internally. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20086 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
355260f7 |
|
23-Jan-2007 |
DarkWyrm <darkwyrm@gmail.com> |
Removed non-boot desktop integration checkbox. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19934 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
61b44b93 |
|
21-Jan-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed a bug introduced by DarkWyrm: he obviously missed that there are two locations where you have to set the default value of a setting. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19896 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2395270d |
|
21-Jan-2007 |
DarkWyrm <darkwyrm@gmail.com> |
Label tweaks as agreed upon on list "List folders first" and "Show Full Path" default to on now git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19895 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
190650c3 |
|
25-Jun-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Imported SettingsViews.cpp 1.11, .h 1.9, TrackerSettingsWindow.cpp 1.8, .h 1.3, and SelectionWindow.cpp 1.3. This fixes bug #656. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17921 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7befa79a |
|
01-Jun-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Imported SettingsViews.cpp 1.10, FilePanelPriv.cpp 1.14, TrackerSettingsWindow.cpp 1.7, SettingsViews.h 1.8, FSClipboard.cpp 1.12, PoseView.cpp 1.60, TrackerSettingsWindow.h 1.2, TrackerSettings.cpp 1.11 from the OpenTracker repository. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17688 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
02be5353 |
|
22-May-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Added libtracker.so to the repository and the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12772 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d0017f376642742c180e2c3b6da1a155903acc51 |
|
25-Jul-2015 |
Jérôme Duval <jerome.duval@gmail.com> |
libtracker.so: fixed parenthesis warning on not operator... * "logical not is only applied to the left hand side of comparison" * found with GCC6
|
#
4e3572635487f5a4fb948640fdeb747f47750e4a |
|
29-Mar-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
Tracker: add "hide dotfiles" option to the GUI & enable it by default. Changing this many lines of code to add a single boolean preference is absolutely insane. We need a new preference-tracking system, and one that can be reused in other applications, too. Fixes #9200.
|
#
9cc03189faa3cb4923d63a897435f56ec98c62b0 |
|
28-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: Add NULL checks and ASSERTs To prevent recoverable NULL pointer dereferences. Dereferencing a NULL pointer is undefined behavior and should be avoided. Unrecoverable NULL checks will be dealt with in the next commit.
|
#
54e2dd7272db551cab02cc678bd45bc4131dd867 |
|
28-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: style fixes No functional changes intended.
|
#
e741289a95b63afa2252f3dbe949426e24df5bc7 |
|
22-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: fix uninitialized members, CID 610133
|
#
68295c9255c0dd3eb37d711795af762616aedbec |
|
22-Jul-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: fix uninitialized members, CID 610132
|
#
dd03c93fbffc21c83f9188e6560c6a023c056fd6 |
|
16-Jul-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Move automount settings to the Tracker preferences * Avoids the ugly "button that opens another window" UI paradigm in Tracker preferences. * Makes it possible to revert changes to the automount settings as the Tracker preferences window has a revert button.
|
#
f435b678105b88b3cd604cad4d99430297675f66 |
|
20-Jun-2014 |
John Scipione <jscipione@gmail.com> |
Tracker: style fixes to SettingsViews classes
|
#
2fec3040b2c9585bba084df6e270a0cc01cd1d65 |
|
02-Jun-2013 |
John Scipione <jscipione@gmail.com> |
Tracker Settings: Put color control a group and add indents * Also don't set the initial position since the layout kit takes care of that for us now. * Remove the no longer used spacing constants.
|
#
7fd5989d2462cd856f3ba6de7bb4b0388a53762d |
|
02-Jun-2013 |
John Scipione <jscipione@gmail.com> |
Tracker Settings: Style fixes * Add spaces around {}'s * Add 2 blank lines between class declarations in header
|
#
62bcb75c722aecaf243f74a4d6e01488d817c0ba |
|
02-Jun-2013 |
John Scipione <jscipione@gmail.com> |
Tracker Settings: Re-factor includes * Remove includes from header and use bare class definitions instead * Add the includes from the header to the cpp file * Remove Alert.h include from cpp file, not used. * Remove TextControl.h include from header, not used. * Add Point.h include to cpp file, we do use that. * Reorder includes according to style guidelines
|
#
64c612286339b93c49345544be6d1b760fd2e009 |
|
02-Jun-2013 |
John Scipione <jscipione@gmail.com> |
Tracker Settings: Use BLayoutBuilder template and refactor ... instead of using the less flexable BGroupLayoutBuilder. * Reduce Group levels used by eliminating the uneeded top level group. * Use font relative spacing units in a few places instead of hard coding 20 pixels. * By using the layout builder template I can use the single parameter version of SetInsets().
|
#
1baa2211739cd5b4d45a56868aedd57dedbe782c |
|
10-Feb-2013 |
Humdinger <humdingerb@gmail.com> |
Removed Trash options from Tracker prefs. As discussed [1][2], using a Trash is in the interest of the vast majority of users. The setting is still present in the Tracker settings file. SHIFT+DELETE will still bypass the Trash. [1] http://www.freelists.org/post/haiku-commits/haiku-hrev45134-srckitstracker,4 [2] http://www.freelists.org/post/haiku/Removing-Trackers-Trash-options Please enter the commit message for your changes. Lines starting
|
#
163a39483387c5db4156dfcf36e4b48156df30a6 |
|
09-Feb-2013 |
Humdinger <humdingerb@gmail.com> |
Revert "Renamed Tracker option "Don't move files to Trash" (#9352)" This reverts commit 45f77dcd7029914ccd99178dfb333eb68c7af9e5.
|
#
45f77dcd7029914ccd99178dfb333eb68c7af9e5 |
|
06-Jan-2013 |
Humdinger <humdingerb@gmail.com> |
Renamed Tracker option "Don't move files to Trash" (#9352) Renamed that option as it is the only negatively phrased to "Move deleted files to Trash first" and also the option below that to "Ask before deleting for good". Also renamed every function name etc. in that regard and also settings string of the Tracker settings file.
|
#
ea001e585a588e40404945a1201821da893d2e09 |
|
28-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Round 2 of style changes to Tracker * focused on 80-char limit fixes. * also some whitespace and case statement indentation fixes
|
#
b05aa8b5b16e5b4f420a35c37805c6387df98737 |
|
27-Jul-2012 |
John Scipione <jscipione@gmail.com> |
Style changes in Tracker, no functional change. Manual whitespace cleanup Change instances of const char * to const char* Convert /* */ C style comments to // C++ style comments
|
#
546208a53940a26c6379c48a7854ade1a8250fc5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
7b80b5d5181053872dd475b1c559bc010914a31c |
|
17-Sep-2010 |
Alexandre Deckner <alex@zappotek.com> |
* Use multiple translate contexts in Tracker for easier translation git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38691 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e80276e2d797269d46da99eecad6b2cc97d15141 |
|
06-Sep-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Fix some more regressions from r38512, Tracker prefs, Icon-O-Matic, Expander & Screenshot. Thanks to diver for finding these. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38538 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
894cf4f3634f641a80466b4ca0a72b56292055ba |
|
08-Aug-2010 |
Alexandre Deckner <alex@zappotek.com> |
* Apply patch from Takashi Murai: use layouting for Tracker settings window/views. Slight modifications to the patch: Put back passing the view names (eventhough it seem useless atm). One or two small indenting issues. Implemented your todo (listview width adapts to the longest item). Thanks a lot. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37978 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0f2ec5c2705ad86fff60e9bafbcd775737e59189 |
|
05-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Remove "date & time" view from tracker settings, since it will soon use the locale kit settings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37929 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ed28a571a7d5f7f13b5b4636fabfeabdfddd40b |
|
12-Jul-2010 |
Alexandre Deckner <alex@zappotek.com> |
* Applied libtracker localization patch from T.Murai (a.k.a mt) with some modifications (see below). * Functional modifications: Reworked InfoWindow file size localization, the patch removed number formating (size in bytes) and was too complicated to my taste. Replaced the uses of sprintf with the safer snprintf. Changed signature to x-vnd.Haiku-libtracker instead of x-vnd.Haiku-libTracker (to be consistent with the binary name) * Style modifications: Reworked lots of 80 char indenting (probably due to the now shorter line lengths since your previous patch that wasn't using the macros) Lots of missing brackets when "if's" becomes multiline. Other minor fixes. Noticed a few uses of FindItem on translated names that might become problematic someday. Added some TODO's regarding localization of file sizes. Localization might still be optimized a bit regarding the produced en.catkeys Note to translators: .catkeys files should be placed in haikusource/data/catalogs/kits/tracker though beware as the base en.catkeys might change slightly in the next days. Note to users: As with any other app you need to restart Tracker (or any aother app using libtracker's filepanels) for it to pick the locale setting. E.g: use 'quit an application' and 'restart Tracker' from process controller. Thanks a lot T.Murai git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37492 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
545ebde00c3d50510a5236de1c5eef25ac21d757 |
|
30-Jan-2010 |
Michael Lotz <mmlr@mlotz.ch> |
Implement type ahead filtering (this time for real and without abusing the vertically sorted pose list). When enabled typing will filter based on the currently visible attribute columns. Using shift-space as a delimiter independent filtering strings can be typed, so you can filter based on multiple attributes at once to refine results while you type. Filtering stays active until you cancel it using the escape key. While the filtered result is displayed all normal file operations can be used. Using the return key while filtering auto-selects and opens the first filter result, allowing for fast traversal through directories and directly opening the topmost result. * Introduces fFilteredPoseList which stores the active filter result. The list is only used when filtering is currently active, so no syncing is required otherwise. * Some minor adjustments to leave out invalidations where non-visible poses are updated. * Account for the now possible multiple lists throughout BPoseView. * Add filter string output to the CountView and made that one a bit wider. * Added all the settings-cruft for type ahead filtering (defaults to off). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35339 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
82d8aaf85a8c1ad19f69637468102ca08040facf |
|
12-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdinger: Changed strings to sentence case. The changes in StatusWindow and FSUtils are missing because I have some unfinished work in progress in those files. Will commit them separately. This is case-tracker.diff from #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35047 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
671dd808619ef6043eca11b09a193d877181d10f |
|
12-Jan-2010 |
Rene Gollent <anevilyak@gmail.com> |
Various cleanups: * Removed dead/obsolete Integrate Non-boot Desktops code. * Modified PoseView to ignore the fInvisible attribute of BPoseInfo for now. This has the net effect that the Desktop folder and /boot/var are no longer hidden from the user. To go with this change, Tracker no longer forcibly writes that hidden setting to those folders on access. This feature might be useful again in the future (especially in conjunction with relocating the Trash folder somewhere such as the disk root), but is currently somewhat problematic because those dual-booting with BeOS will still have a Tracker that force writes those attributes which would bring us back to square one with respect to showing the Desktop folder when we start respecting the attribute again. Suggestions welcome. Haiku-only users can remove the _trk/pinfo_le attribute on those folders to remove the invisibility in any case. * TrackerSettings: Removed obsolete desktop integration settings. Also modified TrackerSettings parser to skip unrecognized settings instead of aborting the settings file parsing process entirely. Closes ticket #2872. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35040 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c1b274fd6796be287dcd7cb81a105c91c2152629 |
|
12-Oct-2009 |
Stephan Aßmus <superstippi@gmx.de> |
* Removed auto mounter code from Tracker. * Tracker forwards auto mounter related messages to the mount_server. * Rewrote AutoMounterSettings to not know AutoMounter and use the layout-management. * Moved the "Eject When Unmounting" setting into the Mount Settings. * Launch the mount_server during boot, but delay the script until all previously mounted volumes have been mounted. This solves some annoying timing bugs during boot. For example when you have desktop backgrounds on other volumes and some servers don't deal well with the situation of links to add-ons on other volumes becoming valid with a delay... * src/kits/tracker/Commands.h includes the private headers/private/ mount/MountServer.h header, which made adjustments to the DiskUsage Jamfile necessary. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33555 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7c870e9af56a37cc98fa65bed5a26458750a320c |
|
04-Sep-2009 |
Ryan Leavengood <leavengood@gmail.com> |
These are the remaining changes to properly implement the new default of volume space bars being on. Thanks for the tips Axel. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32934 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3831b0dcd0fe02d90c88cf92adaa756fb3e5b8c7 |
|
18-Feb-2008 |
Alexandre Deckner <alex@zappotek.com> |
- Revert button's first update didn't work since revert data is stored in the Show() method. - Default data is defined in two places, and was inconsistent. - Color comparisons could be done with the wrong alpha. note: BColorControl's behavior wrt alpha might differ from R5's. This fixes part of #254 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24008 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6eb01296599e3b3b036fd6844d1918fea4358ea2 |
|
23-Aug-2007 |
Ryan Leavengood <leavengood@gmail.com> |
Patch from Justin O'Dell for bug #254, fixing the Defaults button behavior for the Appearance and Menu prefs, and Tracker's settings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22049 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
efd98f31b28131c9c6972e12dc7da6f74f954eb8 |
|
20-Jun-2007 |
Axel Dörfler <axeld@pinc-software.de> |
The "show shared volumes on Desktop" setting now defaults to true. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21479 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
687e327bace5d8abca3e75ce74a8f532fac5c151 |
|
19-Jun-2007 |
Michael Lotz <mmlr@mlotz.ch> |
Reworked the handling of periodically updated poses (currently only ones with a volume space bar): * Addad global list where poses that need periodic updates can be registered with a callback * Use this mechanism for poses with a volume space bar * Create only one BVolume when the BPose is created for a volume, instead of every time the free space is calculated * On Pulse() the global list is used to update all of the registered periodic update poses * As the poses know their volume, it is no longer necessary to use a BVolumeRoster to loop through each volume on each Pulse() * Removed the now superfluous SendNotices() mechanism * Removed corresponding watching / handling of these notices in BPoseView The BPoseView did a linear search for each volume pose on each Pulse() before. What's more it did this once for each mounted volume as it did get one individual notice for each of them. To get these volumes a BVolumeRoster was used to loop through the volumes, but then the BPose did still create a new BVolume to actually calculate the free space! I'm surprised that it did not suck away more performance with this method... Anyway, this should bring down BVolume construction and update overhead down to a minimum and hopefully fix ticket #1247. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21462 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e89c235337a6f0e900fbff5f9a141f4acb593d59 |
|
06-Feb-2007 |
Waldemar Kornewald <wkornewald@nowhere.fake> |
"Show Folder Location in Title Bar" is now disabled, by default. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20088 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2e7b1dcdb959d55d25d6f700be163c357bfa6b69 |
|
06-Feb-2007 |
Waldemar Kornewald <wkornewald@nowhere.fake> |
The Defaults button had a different default than Tracker has internally. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20086 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
355260f73b8c078af41005bd06d05f786cc7dd9f |
|
23-Jan-2007 |
DarkWyrm <darkwyrm@gmail.com> |
Removed non-boot desktop integration checkbox. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19934 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
61b44b9345d28e7a208a15156a9905d80b4dc5fc |
|
21-Jan-2007 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed a bug introduced by DarkWyrm: he obviously missed that there are two locations where you have to set the default value of a setting. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19896 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2395270daa4d7ea80477d12aa0d417f61e36601d |
|
21-Jan-2007 |
DarkWyrm <darkwyrm@gmail.com> |
Label tweaks as agreed upon on list "List folders first" and "Show Full Path" default to on now git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19895 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
190650c3c73f9243b59e17567ae9d03e9785b525 |
|
25-Jun-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Imported SettingsViews.cpp 1.11, .h 1.9, TrackerSettingsWindow.cpp 1.8, .h 1.3, and SelectionWindow.cpp 1.3. This fixes bug #656. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17921 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7befa79ace38aeecb9ceb86e7244c6d6747fd888 |
|
01-Jun-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Imported SettingsViews.cpp 1.10, FilePanelPriv.cpp 1.14, TrackerSettingsWindow.cpp 1.7, SettingsViews.h 1.8, FSClipboard.cpp 1.12, PoseView.cpp 1.60, TrackerSettingsWindow.h 1.2, TrackerSettings.cpp 1.11 from the OpenTracker repository. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17688 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
02be5353fd41ea40007a382e13f007eaf6b5a3a0 |
|
22-May-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Added libtracker.so to the repository and the build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12772 a95241bf-73f2-0310-859d-f6bbb57e9c96
|