commit a09f02cc5c397da751a2d9b4cb8bec2b018cec4c Author: Ryan Lortie Date: 2012-06-23 Release 3.5.3 M NEWS M configure.ac commit 463dee7890284a02d15cecd025be25d26021b583 Author: Ryan Lortie Date: 2012-06-23 dist the internal header files Include baobab-chart.h, baobab-treemap.h, baobab-ringschart.h in noinst_HEADERS so that they get included in the tarball. We can't put them in baobab_SOURCES because apparently automake's Vala support doesn't like that... M src/Makefile.am commit 81a2b087cd716cbfcb5c07d1b5addf013ba92c12 Author: Ryan Lortie Date: 2012-06-23 Adjust to Vala 0.18 bindings for GtkTreeStore The 'remove' method now takes its argument by reference (because it modifies it to point at the next row after the removed one). This was changed in https://bugzilla.gnome.org/show_bug.cgi?id=675402 Bump Vala dependency to 0.17.1.15, which is the commit that introduced the change. https://bugzilla.gnome.org/show_bug.cgi?id=678665 M configure.ac M src/baobab-window.vala commit aef09f1145c1f5aa27c96e68a61bb3d2a263f2ed Author: Khaled Hosny Date: 2012-06-17 Updated Arabic translation M po/ar.po commit e1435e9b1a7afe863213335b5c3691c53ce62fbd Author: Shuuji Takahashi Date: 2012-06-17 [l10n] Update Japanese translation M po/ja.po commit 20e470e94fab41346debb9c98c1670bedf20afa7 Author: Bruno Brouard Date: 2012-06-03 Updated French translation M po/fr.po commit 53ae7f56e7501b0e52068c41c8fb7aaa0e53c879 Author: Matej Urbančič Date: 2012-05-29 Updated Slovenian translation M po/sl.po commit d35722cd4e0aafaa98d7ec259e86fddf75a2917a Author: Garrett Regier Date: 2012-05-25 Scanner results before Vala used int for elements not uint64 M src/baobab-scanner.vala commit 08b81db76a8bc2823f602225603504bcf04032b0 Author: Paolo Borelli Date: 2012-05-14 Remove "snapshot" menu item As discussed in https://bugzilla.gnome.org/show_bug.cgi?id=675410 this feature is not really useful and just clutters the ui. M src/baobab-chart.c commit 89570d053eaf5768791960828a4a92993416b97a Author: Stefano Facchini Date: 2012-04-11 Distribute chart icons M data/Makefile.am commit ca9d8a3caad0d0ec85ec748f798f804f436cbd6a Author: Ihar Hrachyshka Date: 2012-05-03 Updated Belarusian translation. M po/be.po commit 3ad032eab89999419f5895d1b4a8298626c2a715 Author: Tom Tryfonidis Date: 2012-05-02 Updated Greek translation M po/el.po commit 52e5cc2aea6bb2100261f0b289ed709ceb8da6b7 Author: Åsmund Skjæveland Date: 2012-04-26 Updated Norwegian Nynorsk translation M po/nn.po commit 3b7c0b3dfcae598eef6450142668c5d3a7bbc57b Author: Åsmund Skjæveland Date: 2012-04-26 Updated Norwegian Nynorsk translation M po/nn.po commit 4f378ac85d85bfc28c11377b42445470479aa447 Author: Åsmund Skjæveland Date: 2012-04-26 Updated Norwegian Nynorsk translation M po/nn.po commit 4d54adca8ee97306813091b7b63707aedfd54fb6 Author: Åsmund Skjæveland Date: 2012-04-26 Updated Norwegian Nynorsk translation based on existing Ubuntu/Launchpad translation M po/nn.po commit f09c3549a01c46773b5710ad2ae41c6fe62bfc82 Author: Yaron Shahrabani Date: 2012-04-22 Updated Hebrew translation. M po/he.po commit 5f2f795ca04d9edf901fde5a11d99b8d99593857 Author: Fran Diéguez Date: 2012-04-19 Updated Galician translations M po/gl.po commit 1d06df0eca05a02873875dfec9f47133ab8c87fe Author: Daniel Mustieles Date: 2012-04-19 Updated Spanish translation M po/es.po commit 461a41db01c824b67b1b2057d591685ab8e9e2a2 Author: Kjartan Maraas Date: 2012-04-18 Updated Norwegian bokmål translation M po/nb.po commit 2d34b46ea5f2a9cfcb7160141502e282e343ed02 Author: Kjartan Maraas Date: 2012-04-18 Fix embarrassing typo :-) M src/baobab-menu.ui commit 068891d1b84b3b240d9cdaf844ec897d18e31d45 Author: Daniel Mustieles Date: 2012-04-16 Updated Spanish translation M po/es.po commit 445aa9425b35d2a8cd9163f690554664b1f79107 Author: Kalev Lember Date: 2012-04-11 Use AC_PATH_PROG() for finding glib-compile-resources M configure.ac commit 83f1b81e2b1cd0c628c819a2f5ba4d2b5b2326c3 Author: Stefano Facchini Date: 2012-04-11 window: Improve error message when directory does not exist M src/baobab-window.vala commit 4119a5ceb6b04669cb2f7c9997a4f3786c5bdb25 Author: Stefano Facchini Date: 2012-04-11 connect-server: Make sure to read data before returning When the condition contains both IOCondition.IN and IOCondition.HUP, check for data before returning instead of the other way round. M src/baobab-connect-server.vala commit c7e01d8d35caa5b7f7fb1b9a4cbde26d51b63308 Author: Stefano Facchini Date: 2012-04-10 Add a 'Close' button to the Infobar and clear the message when changing UI page M src/baobab-main-window.ui M src/baobab-window.vala commit 721145cdc9febf9a1298bad5346d69a4a42b7c53 Author: Paolo Borelli Date: 2012-04-09 Remove duplicate properties M src/baobab-main-window.ui commit 2b0b9b6a42b04f92135afce54df064007d7e6896 Author: Paolo Borelli Date: 2012-04-09 Get usage for the home dir location M src/baobab-location.vala commit b48a64770a0afbc98c71580a9791111dd27ae4f6 Author: Paolo Borelli Date: 2012-04-09 Minor cleanup M src/baobab-chart.c commit 489a122f285052b628ff58601ebd7ca24e080a33 Author: Paolo Borelli Date: 2012-04-09 Fix a warning about unhandled exception M src/baobab-location-widget.vala commit 28e663bc6a485353e83f411698255a204811554a Author: Paolo Borelli Date: 2012-04-09 Fold back ThreadedScanner in Scanner Since we decided to drop the sync scanner, we also remove the Scanner abstract class and merge it with the concrete ThreadedScanner class M src/Makefile.am M src/baobab-scanner.vala D src/baobab-threaded-scanner.vala M src/baobab-window.vala commit b33a91b935599c4e029e7eb60630fe54ea972b34 Author: Piotr Drąg Date: 2012-04-07 Mark forgotten string as translatable M src/baobab-window.vala commit e462271a5f0f3f767012911dc061d748db6352e1 Author: Piotr Drąg Date: 2012-04-07 Updated POTFILES.in M po/POTFILES.in M po/POTFILES.skip commit f8501c44c89cae1fe40228de2ca24ec9efe4822d Author: Paolo Borelli Date: 2012-04-06 Remove the get_filesyste_usage method from the scanner In the new design we do not need the fs state stored as a tree model anymore. Move the logic to calculate the reserved space to the location class even if it is not used yet. M src/baobab-location.vala M src/baobab-scanner.vala commit b1e538e43b64cc6235f1b0ccfd6f96505e0d9ab9 Author: Paolo Borelli Date: 2012-04-06 Remove the sync scanner It was part of the initial prototyping, does not make sense to carry it around further. M src/Makefile.am D src/baobab-sync-scanner.vala commit 1251e74399d6bbbda0d5a4f40b03efb0cf25678d Author: Paolo Borelli Date: 2012-04-06 Consistenly convert to space indent Let's make indentation sane and consistent before it is too late M src/baobab-application.vala M src/baobab-cellrenderers.vala M src/baobab-connect-server.vala M src/baobab-location-monitor.vala M src/baobab-location-widget.vala M src/baobab-location.vala M src/baobab-scanner.vala M src/baobab-sync-scanner.vala M src/baobab-threaded-scanner.vala M src/baobab-window.vala M src/main.vala commit ed42c3cbd64e9c37b60f520439e980f380fa5420 Author: Chandan Kuamr Date: 2012-04-06 Updated HINDI translation M po/hi.po commit f53e468df576a7a4745ceac325d5da0bf267619c Author: Stefano Facchini Date: 2012-04-05 Start implementing new design Introduce two 'views' in the main window: 'All locations' and 'Result'. In 'All locations' we show a list of all available volumes, while 'Result' roughly corresponds to the content of the old window. Also, rework the toolbar to make it more similar to other GNOME apps. M src/baobab-application.vala M src/baobab-main-window.ui M src/baobab-menu.ui M src/baobab-window.vala commit add0d9240297bbfea1092cec0f608910a983f04d Author: Stefano Facchini Date: 2012-04-05 Add an (optional) scanning flag parameter to exclude mount points M src/baobab-scanner.vala M src/baobab-sync-scanner.vala M src/baobab-threaded-scanner.vala M src/baobab-window.vala commit dbb36d4306c063c545d3d7a5eada7bb2d7007c2a Author: Stefano Facchini Date: 2012-04-05 Implement a custom widget for showing a volume A src/baobab-location-widget.vala commit fe6b9a983e120151c6755e37dbb9c08b61ef8a35 Author: Stefano Facchini Date: 2012-04-05 Add facilities for volume handling Introduce a class Location abstracting the gio concepts of GVolume and GMount. Introduce also a LocationMonitor which allows a convenient handling of known locations. M src/Makefile.am A src/baobab-location-monitor.vala A src/baobab-location.vala commit 20e6244fc8defe5a0ae9f5e41a0b87ce83b97a3e Author: Stefano Facchini Date: 2012-04-03 window, charts: Display allocated size M src/baobab-main-window.ui M src/baobab-window.vala commit 6edb0755c4756f9d5baccc52729dd84ace11568c Author: Stefano Facchini Date: 2012-04-03 scanners: Correctly compute allocated size M src/baobab-scanner.vala M src/baobab-sync-scanner.vala M src/baobab-threaded-scanner.vala commit 2746a222635f0e8e0b4c8f990ddf0364af85c0dc Author: Stefano Facchini Date: 2012-04-02 window: stop Spinner when not busy M src/baobab-window.vala commit db5e73d3e3efda21f14d64fed162947fdc9b578a Author: Paolo Borelli Date: 2012-02-15 First cut at implementing initial state. As in the old baobab the "initial state" represents the file system usage. Right now this is done with a sync query, but I guess it could be made async pretty easily. The old code iterated through all mounts, while for now I am just querying /. M src/baobab-application.vala M src/baobab-cellrenderers.vala M src/baobab-scanner.vala M src/baobab-window.vala commit 9481d8eadd31c5ab31f2f35a5f7b6f1bb43a1fa7 Author: Paolo Borelli Date: 2012-02-14 Use symbolic icons for the chart selection M data/Makefile.am A data/view-ringschart-symbolic.svg A data/view-treemap-symbolic.svg M src/baobab-main-window.ui commit 1a0e1f61d686fd16acf73804e3679ced082664b9 Author: Ignacio Casal Quinteiro Date: 2012-02-11 Use GResource M configure.ac M data/Makefile.am D data/baobab-preferences-dialog.ui M src/Makefile.am M src/baobab-application.vala R098 data/baobab-main-window.ui src/baobab-main-window.ui R100 data/baobab-menu.ui src/baobab-menu.ui M src/baobab-window.vala A src/baobab.gresource.xml commit 4a335938844355b94193c9e63e818fbf18bfcde8 Author: Paolo Borelli Date: 2012-02-05 Handle scanning error without aborting the scan Errors encountered during now show a warning in the info bar, but do not completely abort the scan. Errors are stored in the model but are not yet shown in the treeview. M src/baobab-scanner.vala M src/baobab-threaded-scanner.vala M src/baobab-window.vala commit a5a7635dcc6c406ad056df1d611611d29f48a10a Author: Paolo Borelli Date: 2012-02-05 Use a GtkInfoBar to display errors. M data/baobab-main-window.ui M src/baobab-window.vala commit cee5ae019493e5d5391c448a2377f6ddaa527573 Author: Paolo Borelli Date: 2012-02-04 Use Radio buttons for the chart selection This makes sure one is always selected. M data/baobab-main-window.ui commit c3d785eeed67e4b546dbcdae677c55f0a3f2d196 Author: Paolo Borelli Date: 2012-02-04 Start to implement "Scan remote dir" Instead of reimplementing it, spawn nautilus-connect-server and grab the output uri. The actual scanning does not work yet. M data/baobab-menu.ui M src/Makefile.am A src/baobab-connect-server.vala M src/baobab-window.vala commit a9d1ce3df2786ef6fe5bea5238cdc71228aba34f Author: Paolo Borelli Date: 2012-01-30 Show a spinner while scanning. Instead of showing it in the toolbar and show a frozen chart like we did in the old baobab, let's try to just put the spinner in the main chart area... seems to look nice enough with the scalable spinner icon used these days. M data/baobab-main-window.ui M src/baobab-window.vala commit 72f60d198b7953ddc85f87f477dcfdc2c6656ade Author: Paolo Borelli Date: 2012-01-30 Sync the treeview selection when chart item is activated M src/baobab-window.vala M src/baobab.vapi commit 63a011fc6c3d868de2fd3a02cd1522a41bcb1413 Author: Paolo Borelli Date: 2012-01-29 Sync the chart root to the treeview selection. M src/baobab-window.vala commit 65fcad2d7583cba0f9a349951cfd576fd899e5da Author: Paolo Borelli Date: 2012-01-29 Bubble up scanner errors. For now this is very strict: we abort the scan on every error, which means that scan filesystem will never work unless running as root. We probably need to be more permissive and simply mark directories where we do not have permissions and warn that the results may be not accurate. M src/baobab-scanner.vala M src/baobab-threaded-scanner.vala M src/baobab-window.vala commit 405b3b1bbca613c18e77e89e262806cc929e6f1f Author: Paolo Borelli Date: 2012-01-28 First cut at treeview context menu M data/baobab-main-window.ui M src/baobab-window.vala commit b96797757c0f50c954e6307d7f7dc60e709a7923 Author: Paolo Borelli Date: 2012-01-22 Use radio buttons for chart selection Use two radio buttons at the bottom for the chart selection instead of the combobox. I would like to use symbolic icons though... M data/baobab-main-window.ui M src/baobab-window.vala commit f377bfcd87ac9078f76109a7e5e1a75c72506598 Author: Ryan Lortie Date: 2012-01-26 menus: Update to new menu XML format The GtkBuilder format for menus changed. Adjust accordingly. M data/baobab-menu.ui commit 59e554a621f78d76a9315fe2a8fc9cda64152dc1 Author: Paolo Borelli Date: 2012-01-17 Kill the statusbar It serves no purpose. M data/baobab-main-window.ui M data/baobab-menu.ui M src/baobab-window.vala commit 6df210e29ba505c4a238c0d6d389cb075bde9d21 Author: Paolo Borelli Date: 2012-01-17 Let's give up and special case menus. On new shells just use the new app menu, on other systems use a plain menubar. M data/baobab-menu.ui M src/baobab-application.vala commit 9f71ff7b427fdb4337c2319d0f7412ac3bc11f1e Author: Paolo Borelli Date: 2012-01-17 More work on the App menu M data/baobab-menu.ui M src/baobab-application.vala M src/baobab-window.vala commit 35eaedbe45716d507232e227a65822c2ceda60d4 Author: Paolo Borelli Date: 2012-01-17 First cut at action sensitivity. M data/baobab-main-window.ui M src/baobab-window.vala commit 915b9b8e2dc4f918ad54ff1284e283487e6491d3 Author: Paolo Borelli Date: 2012-01-15 First cut at menus M data/Makefile.am A data/baobab-menu.ui M src/baobab-application.vala M src/baobab-window.vala commit bbdf786ccbc56ebb056b45235dfb58d3d8b71837 Author: Paolo Borelli Date: 2012-01-08 Add a "completed" signal to the scanner Use the new signal to update the window state when the scan is completed. M src/baobab-scanner.vala M src/baobab-threaded-scanner.vala M src/baobab-window.vala commit cd79a8f4bc52ff0477e2dab6320278a65dc500ec Author: Paolo Borelli Date: 2012-01-08 Pass the directory in the scanner constructor. We decided that scanner is a single use object that is reinstanciated every time a new dir is scanned, so passing the directory in the constructor makes it more clear. M src/baobab-scanner.vala M src/baobab-sync-scanner.vala M src/baobab-threaded-scanner.vala M src/baobab-window.vala commit 861ed960a089aaae5c58547c865a047deeb468a1 Author: Ryan Lortie Date: 2012-01-26 Adjust to gio vapi changes A bunch of stuff was deprecated. Stop using it. M src/baobab-application.vala M src/baobab-scanner.vala M src/baobab-sync-scanner.vala M src/baobab-threaded-scanner.vala M src/baobab-window.vala commit dbcbe27e0452eeacbc4a253f1b0b1a06708834de Author: Paolo Borelli Date: 2012-01-07 Use the STANDARD_ALLOCATED_SIZE file attribute. M src/baobab-scanner.vala M src/baobab-sync-scanner.vala M src/baobab-threaded-scanner.vala commit ada5fcde5a36447539aab0f3b7304e26dee82723 Author: Ryan Lortie Date: 2012-01-06 Make use of new GHashTable API Use the new GHashTable APIs just added to GLib. This requires the latest git versions of GLib and Vala to build. Also, don't add '/selinux' to the excluded list twice. M src/baobab-application.vala M src/baobab-sync-scanner.vala M src/baobab-threaded-scanner.vala commit 9341f910b0fc39c88e45f409d74d66d707a17339 Author: Ryan Lortie Date: 2012-01-06 rework code for excluded locations Instead of keeping a list attached to the Baobab.Application and having a method there for checking it, attach a list to the scanner object and create it at the start of the scan. This prevents the scanner from calling back into the application class from the worker thread. Also, switch to using a hashtable. We have at least 4 items in it (plus the ones that the user added) so this should already be slightly faster than a linear scan. M src/baobab-application.vala M src/baobab-scanner.vala M src/baobab-sync-scanner.vala M src/baobab-threaded-scanner.vala M src/baobab-window.vala commit f55e9a93c208b827a200e10c0c43837a3aaaa046 Author: Paolo Borelli Date: 2012-01-06 Start to implement set_busy. Note that since the scanner is async we will actually need to wire this up to a a "running" state of the scanner itself. M data/baobab-main-window.ui M src/baobab-window.vala commit 063f39d89f3bf9674ed6e1fd8530b100a83176fb Author: Paolo Borelli Date: 2012-01-06 First cut at stop and refresh. I need to check with Ryan if he intends the scanner object to be reusable or recreated each time. M src/baobab-scanner.vala M src/baobab-window.vala commit 143556c5fc66dacd18a5e7d92f755fcf0797344a Author: Paolo Borelli Date: 2012-01-06 Make the directory a property of the scanner. M src/baobab-scanner.vala M src/baobab-sync-scanner.vala M src/baobab-threaded-scanner.vala commit 9e5fb2b9c2eb40222f213b3c824421a06c41ca7b Author: Paolo Borelli Date: 2012-01-07 Implement file chooser dir selection M src/baobab-window.vala commit a6fee9fccb3db7fb8ff92c77fbffb4ba76e2798a Author: Paolo Borelli Date: 2012-01-06 Implement two trivial handlers Implement scan home and scan filesystem. M src/baobab-window.vala commit 4c5f9b766e6d7edfee4edf4df5505bdb3c572b90 Author: Paolo Borelli Date: 2012-01-06 Use on_signal_name convention for the handlers This allows consistent name for all handlers, including the one that already have the paste tense in the name (e.g. drag_data_received). Also move data structs at the top. M src/baobab-window.vala commit c9c5e0fc120d2bd4d69bcdfe6c6c1aee00ecd7ee Author: Paolo Borelli Date: 2012-01-06 Implement Drag and Drop. Start scanning when a directory uri is dropped on the window. M src/baobab-window.vala commit 0bd2b24762075aa2b0fd4715b1bbe645fa05b525 Author: Ryan Lortie Date: 2012-01-06 wire up the toolbar buttons This requires the latest git version of vala to build. In order to actually work, it also requires a patched gtk+ (with the patch in bug #667394). M data/baobab-main-window.ui M src/baobab-window.vala commit 284ddde0431bb0bd55b3f22882097688f9c60606 Author: Ryan Lortie Date: 2012-01-05 main window ui: use default toolbar style M data/baobab-main-window.ui commit 5c0dfdf83decb4895fef6cc968e9577f6ac693c7 Author: Ryan Lortie Date: 2012-01-05 main window ui: reorder children in file This commit should have no effect -- it just puts the children in the order of appearance. M data/baobab-main-window.ui commit 814aad4305a70ca6c3a233126cef1eeef4e2e587 Author: Ryan Lortie Date: 2012-01-05 main window ui: tweak some margins and sizes M data/baobab-main-window.ui commit 684ad2222b5b20a471cbfca38dc52b4266374cad Author: Ryan Lortie Date: 2012-01-05 expand first row when it is added and refactor baobab-window a bit M src/baobab-window.vala commit ed4309dfc46d88f57cf115074f182d68770cd20f Author: Ryan Lortie Date: 2012-01-05 sort the model by size by default M src/baobab-scanner.vala commit d236b7460c8a9be26cd5584f571a9aca517be5ba Author: Ryan Lortie Date: 2012-01-05 Introduce threaded scanner M src/Makefile.am A src/baobab-threaded-scanner.vala M src/baobab-window.vala A src/fixes.vapi commit 6ae95b1fec76128b112d5ec6875fc0e4155aa569 Author: Ryan Lortie Date: 2012-01-05 scanner: split interface from implementation M src/Makefile.am M src/baobab-scanner.vala C074 src/baobab-scanner.vala src/baobab-sync-scanner.vala M src/baobab-window.vala commit 0b7815a1b02ff8c8f8b7d8e193c3a86946fa6878 Author: Ryan Lortie Date: 2012-01-05 reimplement the progress bar cell renderer If we base this on GtkCellRendererProgress then we can drop a lot of lines (really, we only need to implement the draw function). M data/baobab-main-window.ui M src/Makefile.am D src/baobab-cell-renderer-progress.c D src/baobab-cell-renderer-progress.h M src/baobab-cellrenderers.vala commit 41cc3f0a5fd63fce0e3ab42730dfc01716b40ff5 Author: Ryan Lortie Date: 2012-01-05 scanner: calculate percents as we go Instead of doing one big recursive percentage calculation at the end, do it at each level. This way we don't have to wait for "calculating percentages..." after the scan. M src/baobab-scanner.vala commit c038b5011976178edc00e0cb09dd4eb3c6ef3a27 Author: Ryan Lortie Date: 2012-01-05 wire up the chart properly and publish max_depth as a property on the model M src/baobab-scanner.vala M src/baobab-window.vala commit 47b0f124f5a734a2b2ed69c2ff8f627f65249fac Author: Ryan Lortie Date: 2012-01-05 scanner: accumulate sizes and calculate percent M src/baobab-scanner.vala commit 586355bd14c9a4b3b4f5f4563ebef66f84b8df93 Author: Ryan Lortie Date: 2012-01-04 Begin rewrite in Vala The current baobab code is in a bad way, so after some discussion on IRC, we've decided that a rewrite is in order. - the core application logic will be switched to Vala - more effective use will be made of GtkBuilder - the charts (ringchart, treemap) and progress cell renderer are well-written, so we will keep the C versions of them around - the port will make use of GtkApplication, including GMenu This commit represents the very start of a rather large work-in-progress. M autogen.sh M configure.ac M data/baobab-main-window.ui M src/Makefile.am A src/baobab-application.vala A src/baobab-cellrenderers.vala D src/baobab-prefs.c D src/baobab-prefs.h D src/baobab-remote-connect-dialog.c D src/baobab-remote-connect-dialog.h D src/baobab-scan.c D src/baobab-scan.h A src/baobab-scanner.vala D src/baobab-treeview.c D src/baobab-treeview.h D src/baobab-utils.c D src/baobab-utils.h A src/baobab-window.vala D src/baobab.c D src/baobab.h A src/baobab.vapi D src/callbacks.c D src/callbacks.h A src/config.vapi A src/main.vala commit 03a40a6081976724feb14495de3c75d5c5873bf1 Author: Stefano Facchini Date: 2012-04-05 Revert "chart: Fix directory size shown in tooltip" This reverts commit af46a41474a4f70493268fd23544266efb96be5b. M src/baobab-chart.c