summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* general: run uncrustifywip/csoriano/uncrustifyCarlos Soriano2016-08-29154-86396/+98109
| | | | | | And make the style of Nautilus the same for all files. Hopefully we can fix all the style issues we can find in the next days, so expect a little of movement on this.
* fCarlos Soriano2016-08-291-0/+2
|
* fCarlos Soriano2016-08-291-1/+1
|
* fCarlos Soriano2016-08-291-1/+1
|
* fCarlos Soriano2016-08-291-3/+1
|
* general: add uncrustify scriptCarlos Soriano2016-08-295-2/+706
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current style of nautilus is rather poor and mixes at least 3 different code styles. Specific issues that affect the most common contributors to Nautilus performance are: - tabs for multiline alignment. - mix of tabs and spaces. - errors on no braced one liners conditionals. - errors on non braced case statements with variable declarations. So I would say requirements for the style is to address the previous issues and also be a well known style. I don't want new contributors to see a new style completely different from C books authors. So far, I found Allman (aka BSD) style which seems the choice of most C books authors as far as I can see on internet, and it address the previous mentioned issues. Since uncrustify doesn't support the aligment of parameters we do for multiple stars "**", we also added a script made by Sebastian Wilmet to align those. As a matter of practicity I'm going to convert all Nautilus style to this one, and if the next person who contributes most on Nautilus has a different choice, please feel free to change it to whatever makes your performance and your contributors performance the best.
* batch-rename-dialog: simplify key_press_event if'sCarlos Soriano2016-08-291-114/+106
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=768311
* batch-rename-dialog: use GIO constantsCarlos Soriano2016-08-291-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=768311
* batch-rename-dialog: set max-width and max-heightCarlos Soriano2016-08-291-2/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=768311
* batch-rename-dialog: expand the entryCarlos Soriano2016-08-291-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=768311
* Implement batch renamingAlexandru Pandelea2016-08-2917-100/+5464
| | | | | | | | | | | | | | | | | | | | | Renaming multiple files at once has been a missing feature in Nautilus for a long time. This patch implements that feature in the following way: This operation is launched in the same way as the rename one, when the selection has more than one file. When the batch renaming is launched, a dialog is shown, offering two modes. In the first mode, the user can use metadata (if available), numbering and original file name tags to create the new names. Between the tags, there also can be written normal text, which will be added in the new names. If numbering is used, the order of the files can be modified by using several criteria. In the second mode, the user can replace an existing part of the name. https://bugzilla.gnome.org/show_bug.cgi?id=768311
* shell-search-provider: remove simple engine recursivityCarlos Soriano2016-08-291-3/+0
| | | | | | | | | | | | | | | | | | | | | In 26a3ab4cd5 we put recursivity to the simple search engine in order to fix the report of some users that weren't getting files inside folder of home directory. However this is wrong, since it takes too long and gnome-shell search provider doesn't have a way to get partial results or close the search when done, which makes Nautilus not reporting results until the search is done, and in case the user stops the shell search, nautilus keeps searching making the CPU consumption really high. In fact, we always made recursivity for tracker but not for the simple engine when performing the shell search. The issue users were experiencing seems unrelated to this, and I actually cannot reproduce, so let's return to the regular behaviour we had. https://bugzilla.gnome.org/show_bug.cgi?id=766174
* nautilus-toolbar: use max-content-heightAlessandro Bono2016-08-291-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=754614
* Updated Kazakh translationBaurzhan Muftakhidinov2016-08-281-1910/+2191
|
* Update Catalan translationJordi Mas2016-08-271-25/+37
|
* Updated Brazilian Portuguese translationRafael Fontenelle2016-08-261-860/+1188
|
* Updated Friulian translationFabio Tomat2016-08-261-46/+17
|
* Updated Friulian translationFabio Tomat2016-08-261-607/+886
|
* Updated Finnish translationJiri Grönroos2016-08-261-727/+900
|
* Updated Slovenian translationMatej Urbančič2016-08-251-1999/+2782
|
* file-operations: fix crash on compression errorRazvan Chitu2016-08-251-1/+1
| | | | | | | | One of the error dialog strings was statically allocated, but the dialog function attempts to free it. In order to fix this, newly allocate a copy of the string. https://bugzilla.gnome.org/show_bug.cgi?id=770353
* file-undo-operations: fix extract undo and redo descriptionsRazvan Chitu2016-08-241-2/+2
| | | | | | | The undo description is reassigned the description for the redo operation. Fix this by correctly assigning the redo description. https://bugzilla.gnome.org/show_bug.cgi?id=770305
* Updated Hungarian translationBalázs Úr2016-08-241-17/+27
|
* Update Latvian translationIngmars Dirins2016-08-241-5340/+5261
|
* Updated Spanish translationDaniel Mustieles2016-08-241-58/+24
|
* Updated German translationFlo H2016-08-231-575/+820
|
* configure.ac: fix gnome-autoar dependencyErnestas Kulik2016-08-231-1/+1
| | | | The gnome-autoar pkg-config files now have a version suffix.
* Updated Polish translationPiotr Drąg2016-08-231-15/+24
|
* Updated Thai translationAkom Chotiphantawanon2016-08-231-1883/+2226
|
* Updated Czech translationMarek Černocký2016-08-231-25/+27
|
* file-undo-operations: add plural support for stringsRazvan Chitu2016-08-231-3/+10
| | | | | | The compression and extraction undo / redo strings lacked plural support. https://bugzilla.gnome.org/show_bug.cgi?id=770270
* Updated Czech translationMarek Černocký2016-08-231-582/+833
|
* Updated Hungarian translationBalázs Meskó2016-08-231-606/+815
|
* Updated Spanish translationDaniel Mustieles2016-08-231-614/+885
|
* Updated Polish translationPiotr Drąg2016-08-231-572/+815
|
* Fix typos in translatable stringsPiotr Drąg2016-08-232-2/+2
|
* Update Catalan translationJordi Mas2016-08-231-2483/+2438
|
* Update POTFILES.inPiotr Drąg2016-08-221-0/+3
|
* file-name-widgets: use a revealer to display errorsRazvan Chitu2016-08-237-15/+60
| | | | | | | | Each file name widget has an error label for displaying error messages. However, when there is no error, the label just takes up space for no reason. In order to fix this, use a revealer to display error messages. https://bugzilla.gnome.org/show_bug.cgi?id=770199
* files-view: add menu action and dialog for compressionRazvan Chitu2016-08-237-0/+665
| | | | | | | | Add an context menu action for compression and a dialog for selecting the file name and compression format. Add a controller class for managing the compression dialog. https://bugzilla.gnome.org/show_bug.cgi?id=770199
* general: add a setting for the default compression formatRazvan Chitu2016-08-233-0/+28
| | | | | | | | The compression operation allows multiple formats to be selected. It would be good to store the last choice of the user in order to select it for future operations. https://bugzilla.gnome.org/show_bug.cgi?id=770199
* file-operations: implement compression operationRazvan Chitu2016-08-234-4/+495
| | | | | | | | Add an operation for compressing files using gnome-autoar. The operation is similar in functionality to the one offered by file roller but comes with integrated progress feedback and support for undoing and redoing. https://bugzilla.gnome.org/show_bug.cgi?id=770199
* general: add preference for automatic decompression of archivesRazvan Chitu2016-08-237-7/+142
| | | | | | | Make extraction the default action for activating selected archives and add an option to open them instead of extracting. https://bugzilla.gnome.org/show_bug.cgi?id=768646
* files-view: add context menu actions for extracting filesRazvan Chitu2016-08-233-31/+288
| | | | | | | The context menu actions are similar to the ones offered by file-roller, but make use of the internal extract operation. https://bugzilla.gnome.org/show_bug.cgi?id=768646
* files-view: use a hashset for newly added locationsRazvan Chitu2016-08-231-7/+7
| | | | | | | | There is no hash set in GLib, so we have to use GHashTable. However there are functions that allow to use the hash table as hash set. Use that instead of the regular hash table functions. https://bugzilla.gnome.org/show_bug.cgi?id=768646
* file-operations: implement extract operationRazvan Chitu2016-08-235-0/+573
| | | | | | Add a new operation for extracting archives using gnome-autoar. https://bugzilla.gnome.org/show_bug.cgi?id=768646
* file-utilities: refactor ensure_unique_file_nameRazvan Chitu2016-08-233-65/+42
| | | | | | | The function works with strings instead of GFiles. Replace it with a function that generates unique files in a directory using GFiles. https://bugzilla.gnome.org/show_bug.cgi?id=768646
* file-conflict-dialog: separate file logic from UI managementRazvan Chitu2016-08-236-480/+648
| | | | | | | | | | | | | In Nautilus, file conflicts are handled by a specific dialog. Previously, the dialog class managed both the UI and the related nautilus files. This lead to it being inflexible due to operation specific logic being mixed with the rest of the functionality. In order to change this, move file logic to a separate module and add methods for controlling the UI elements in the dialog. Create an operation-manager module to handle dialog controlling. Move anything related to Nautilus files from the dialog class to the new module. https://bugzilla.gnome.org/show_bug.cgi?id=770160
* Updated Brazilian Portuguese translationEnrico Nicoletto2016-08-221-1178/+1150
|
* Updated Spanish translationDaniel Mustieles2016-08-221-946/+987
|