Commit Graph

4197 Commits

Author SHA1 Message Date
John Maguire 3df3a5b645 Add missing header for syscall().
This is cunningly not defined in syscall.h
2014-02-06 19:03:10 +01:00
John Maguire 8d1f4612db Hide use of boost multi-index behind pimpl. 2014-02-06 17:53:33 +01:00
Krzysztof A. Sobiecki 30fff5dfc4 Fix automatic podcast episodes downloads 2014-02-06 17:34:17 +01:00
John Maguire 71893e4847 Use nullptr instead of NULL everywhere. 2014-02-06 17:29:59 +01:00
John Maguire d309d4ab27 Use c++11 instead of boost where possible. 2014-02-06 16:51:39 +01:00
Mladen Pejaković e50ef0dd42 [Transcoder] Translate transcoder presets as well 2014-02-05 14:17:24 +01:00
Arnaud Bienner 7084697aa3 Prevent Clementine to loop forever when trying to play a song with repeat enabled in a playlist which contains only unavailable songs 2014-02-04 22:08:32 +01:00
Mladen Pejaković 657bbcf00f Fix for pull request #4170 2014-02-04 15:04:19 +01:00
John Maguire ddda13ceb7 u_int8_t is missing on mingw 2014-02-04 14:10:59 +01:00
Mladen Pejaković 033d266fe9 Add contexts to some translation strings 2014-02-03 21:54:02 +01:00
Mattias Andersson 3bf44c78d4 Only remove the temporary directory if it has a non-empty name. 2014-02-03 15:14:08 +01:00
Mattias Andersson 4676e2839d Make the CD ripper clean up after itself. 2014-02-03 13:38:38 +01:00
Clementine Buildbot efd4e8666e Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2014-02-03 10:01:44 +01:00
Arnaud Bienner a349a96f5a Avoid having similar filenames when organising songs (number them instead) 2014-02-02 19:28:45 +01:00
David Sansome 96075faf88 Namespace clementine's 3rdparty implementation of sha2 to prevent its symbols
conflicting with the system's openssl symbols with the same names.

This was causing SSL connections to fail in weird ways on Debian.

Fixes #4130.
2014-02-02 20:25:11 +11:00
Gregor Tätzner 7317b6792e don't rescan unchanged files if library has been unavailable 2014-02-01 20:21:28 +01:00
Arnaud Bienner ee20103510 Set overwrite to false by default in organise dialog.
Too dangerous to be activated by default IMO.
2014-02-01 03:35:34 +01:00
Arnaud Bienner 06184cc5fb Avoid having empty filenames, or filenames with extension only.
In this case, keep the original filename.
2014-02-01 03:22:41 +01:00
Arnaud Bienner dac137cf11 Remove useless check.
No need to check isNull if you're checking isEmpty (see http://qt-project.org/doc/qt-4.8/qstring.html#distinction-between-null-and-empty-strings "A null string is always empty").
2014-01-31 20:17:26 +01:00
John Maguire 7ddf3aab45 Merge pull request #4145 from sobkas/master
Initial support for "Copy to device" in a podcast section
2014-01-31 04:31:43 -08:00
Krzysztof A. Sobiecki e244c9cfb2 My fault, was testing something and forgoten to replace song.basefilename() 2014-01-30 15:08:53 +01:00
John Maguire b96ec7555a Reformat all Objective-C++ files with clang-format.
clang-format -style=Google -i src/*/*.mm
2014-01-30 14:54:51 +01:00
John Maguire 0a778e2901 Do not log IP address from network remote settings. 2014-01-30 11:50:52 +01:00
Mattias Andersson c36e073921 Add trailing underscore to class member variable. 2014-01-29 20:35:03 +01:00
Krzysztof A. Sobiecki 361cca83cb Cpplint.py fixes 2014-01-29 17:30:58 +01:00
John Maguire 1fad6db52a Use std::unique_ptr instead of boost:scoped_ptr in one place. 2014-01-28 18:45:13 +01:00
Krzysztof A. Sobiecki 09d68bf415 Scrub the auto usage, use unique_ptr, use correct types instead of QList 2014-01-28 17:01:14 +01:00
John Maguire 59cb17c08d Change some API URLs to use https. 2014-01-28 12:57:27 +01:00
Krzysztof A. Sobiecki 3a72faba97 Fix errors reported by Cpplint.py 2014-01-28 04:50:00 +01:00
Krzysztof A. Sobiecki 295c5bc087 Make code more readable 2014-01-28 04:33:20 +01:00
Krzysztof A. Sobiecki 20befa439c Add a space 2014-01-28 04:31:06 +01:00
Krzysztof A. Sobiecki 7ea6c027d4 Fix podcasts metadata 2014-01-28 04:16:51 +01:00
Krzysztof A. Sobiecki 655d7e1989 CopyToDeviceSlot is a wrong name 2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki b0a97de603 Use more auto in for statements 2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki df992a4b4b Use auto in for statements, fix const in SetListened 2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki 6ea793f446 Fixed some problems reported by cpplint.py, changed foreach to for in files touched by me mkII 2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki f7be18b326 Fixed some problems reported by cpplint.py, changed foreach to for in files touched by me 2014-01-27 23:59:38 +01:00
Krzysztof A. Sobiecki c3e693a785 Whitespaces after if 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki 081f4f721a Introduce an intuitive behaviour in podcasts menu 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki 35060d6916 I accidently break this, nothing to see here 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki 4944e99d56 Fix copy functionality, break copy of a directory 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki 45ace04b29 More intuitive interface 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki b6c59bd4ca Fix whitespaces, Fix whitespaces, Fix whitespaces 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki 750354d8ca Clementine, don't lie to me 2014-01-27 23:59:37 +01:00
Krzysztof A. Sobiecki 3e27cdf749 Some minor fixes 2014-01-27 23:59:36 +01:00
Krzysztof A. Sobiecki 01635397d4 Fixed podcast copy to device 2014-01-27 23:59:36 +01:00
Krzysztof A. Sobiecki f60327b1d1 Initial 'Copy to device' support for podcasts 2014-01-27 23:59:36 +01:00
John Maguire 977a6769b2 Rename SkyDrive to OneDrive.
http://blog.onedrive.com/onedrive-for-everything-your-life/
2014-01-27 15:38:56 +01:00
Clementine Buildbot c90fc63822 Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2014-01-27 10:01:54 +01:00
asiviero c0132b2ed3 Renaming skip properties, strike out track when it is to be skipped 2014-01-27 00:26:51 -02:00
Mattias Andersson 333b1636fa Adjust column widths. 2014-01-27 00:13:33 +01:00
Mattias Andersson a31223e45c Group the input options in the rip cd dialog. Disable input and output groups when there is a ripping in progress. 2014-01-26 21:20:36 +01:00
Mattias Andersson 76a91ded88 Remove the 'Alongside the originals' destination in the CD rip dialog since it doesn't make sense in this context. Use the home directory as initial destination instead. 2014-01-26 21:20:19 +01:00
Mattias Andersson 27b1bf7014 Add buttons 'select all', 'select none' and 'invert selection' buttons to the rip cd dialog. 2014-01-26 21:20:19 +01:00
Mattias Andersson 96e6252fca Style the Rip cd dialog
Set a specific tab order in the dialog.
Add a Clementine window icon.
Add a header for the first column in the table widget.
Change the button box to a cancel and a close button and make these behave as in the transcoder dialog.
Move the rip button to the button box.
Hide the progress bar if no cd has been ripped.
2014-01-26 21:19:02 +01:00
David Sansome cc4cc472fb Delete tr_TR (removed on transifex) 2014-01-27 00:07:31 +11:00
David Sansome f816a47ad9 Make SongLoader add URLs as raw streams if there exists a URL handler
for that scheme.  This fixes a bug where sky:// URLs couldn't be added
with MPRIS.
2014-01-24 23:54:38 +11:00
John Maguire 556fb62cd2 Mark cd rip output filename format string as not for translation. 2014-01-24 11:47:19 +01:00
John Maguire 2010b7d500 Include sys/time.h required for time_t on FreeBSD. 2014-01-23 17:06:43 +01:00
John Maguire b594f44c64 Merge branch 'cdrip' of https://github.com/asiviero/Clementine
Fixes #3490
Closes #4113
2014-01-23 16:33:28 +01:00
Andre Siviero a827d71f4a Moving ifdef inside the function 2014-01-23 13:18:35 -02:00
Andre Siviero 8500dce6b3 Removing conditional from function definition 2014-01-23 13:17:48 -02:00
Andre Siviero 4f79898e2d Including the pointer rip_cd_ in a conditional 2014-01-23 11:47:51 -02:00
Andre Siviero fe45462034 Including the method definition in a conditional 2014-01-23 11:17:38 -02:00
Andre Siviero bbf7ff61af Included OpenRipCD in a conditional 2014-01-23 11:04:30 -02:00
asiviero d07174c1d4 Adding ifdefs to make cdio detection on compile time 2014-01-22 23:11:41 -02:00
asiviero 7cebf23bba Added ripcd to optional features, deleted ui_ripcd on destruction, added a warning in case cdio_open returns NULL 2014-01-22 01:45:55 -02:00
asiviero 2859d826ae Swapped non const reference for pointer, used qdata_stream writeRawData to write to file, removed unnecessary intializers 2014-01-20 23:38:36 -02:00
asiviero c817431593 Greying out song and added verification to next on album mode 2014-01-20 22:35:01 -02:00
asiviero 5c21768760 Minor fixes and label adjustments 2014-01-20 22:10:23 -02:00
asiviero 1c0a221563 Added skip track feature 2014-01-20 22:10:16 -02:00
asiviero 048c2d9b9c Modified queue to store tracks to skip 2014-01-20 22:10:08 -02:00
asiviero 94aa151f1a Added event handlers to Skip Track 2014-01-20 22:09:58 -02:00
David Sansome 7a9e5b553b Set a lower minimum column size in the playlist again. Fixes #201 2014-01-20 22:08:43 +11:00
David Sansome dc5670edfb Encode song URLs when inserting them into the database. This was broken by revision 98dd001a. Fixes issue #4127 2014-01-20 21:39:18 +11:00
David Sansome cfb8fc8fbc Merge pull request #4125 from Fitoschido/patch-1
Remove font customizations.  Fixes #4082
2014-01-20 02:22:43 -08:00
Clementine Buildbot e0e69d966c Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2014-01-20 10:01:47 +01:00
Andreas 7ad1d7abc3 Remote: Use sha1 instead of md5 for file hashing. 2014-01-18 18:33:49 +01:00
Andreas ed3365bc0d Lyrics: Fix "Apply exclude rules" 2014-01-18 18:22:00 +01:00
Arnaud Bienner a700bea095 Revert "Set padding-right correctly instead of moving the clear icon"
This reverts commit 5c05745985.
2014-01-18 00:23:07 +01:00
Arnaud Bienner b2f16b316e Revert "Oops"
This reverts commit b716f802f3.
2014-01-18 00:22:46 +01:00
Adolfo Jayme Barrientos 9642896af6 Remove font customizations
* Should respect whatever font the user has set.
  (“Respect the user’s settings by always using the system font, sizes, and colors.” http://msdn.microsoft.com/en-us/library/windows/desktop/aa511282.aspx)
* Courier looks odd and thin (a11y issue #4082).
2014-01-17 11:44:08 -06:00
ArnaudBienner bf35df140a Merge pull request #4094 from Tatsh/playback-counter-font
Revert "Update playback counter font."
2014-01-17 05:01:30 -08:00
Arnaud Bienner 08a4629565 '-' is considered as 'NOT' operator by FTS, leading to unexpected results. Not sure how to escape it, better to replace it for now 2014-01-16 16:35:09 +01:00
asiviero 97129ec3c0 Using QDataStream to write numbers to file, removed PutNum, turned pointers into objects, checking cdio_read_audio_sector return code 2014-01-16 03:05:24 -02:00
David Sansome f43d1576e3 Merge pull request #4118 from paperbagcorner/columncheck
Improve the handling of colons in library search.  Fixes #925.
2014-01-15 03:01:35 -08:00
asiviero 457d240854 Using QByteArray and QFile instead of FILE and int16_t, adapting to code style corrections? 2014-01-15 03:00:41 -02:00
David Sansome d3749eace9 Select the current item if the selection is empty when using Tab to move from
the playlist filter to the playlist view.  Fixes #4116
2014-01-14 20:07:03 +11:00
asiviero d2881aad4b Linting the code, using QDir::tempPath instead of "/tmp" 2014-01-13 23:41:41 -02:00
Mattias Andersson bd880dcafe Tweak the replacement of colons.
Make sure that there are no trailing whitspaces on tokens before appending "* ".
2014-01-14 01:09:24 +01:00
asiviero d014d1549d Minor fix in filename generated 2014-01-13 13:49:39 -02:00
asiviero a3f61bd612 Added format string to customize file names 2014-01-13 13:38:25 -02:00
Mattias Andersson 3f4e8e5b88 Check if token is a valid column name in the fts table before treating it as such. 2014-01-13 16:16:33 +01:00
Clementine Buildbot 827ed9425c Automatic merge of translations from Transifex (https://www.transifex.net/projects/p/clementine/resource/clementineplayer) 2014-01-13 11:50:09 +01:00
asiviero a5021e656b UI integration, needs beautification
Incorporates the 'Select Destiny' feature from 062889b, fetches values provided by user to populate file tags, UI adjustments
2014-01-13 03:32:25 -02:00
Arnaud Bienner c7b0c02800 Sanity check 2014-01-12 21:25:53 +01:00
Arnaud Bienner b716f802f3 Oops 2014-01-12 21:00:41 +01:00
Arnaud Bienner 5c05745985 Set padding-right correctly instead of moving the clear icon 2014-01-12 20:50:03 +01:00
Arnaud Bienner 3838bd7bd7 Change a bit the LTR logic (move the clear button also when editing/removing the text 2014-01-12 17:40:28 +01:00
asiviero 34c178af65 Merge branch 'master' into cdrip 2014-01-12 14:02:37 -02:00