Mike Gelfand
7bfd7f5863
Avoid declaring variables inside conditional expressions (Qt client)
2017-04-30 19:25:57 +03:00
Mike Gelfand
4f9d9ad92b
Code style change leftovers
...
For some reason, GTK client wasn't fully processed. All the rest of changes
are mostly in comments.
2017-04-21 10:40:57 +03:00
Mike Gelfand
dadffa2c0f
Align type qualifiers to the right (code style)
...
This way all the qualifiers (`const`, `volatile`, `mutable`) are grouped
together, e.g. `T const* const x` vs. `const T* const x`. Also helps reading
types right-to-left, e.g. "constant pointer to constant T" vs. "constant
pointer to T which is constant".
2017-04-20 19:53:20 +03:00
Mike Gelfand
d7930984ef
Adjust uncrustify config, reformat all but Mac client
...
There're places where manual intervention is still required as uncrustify
is not ideal (unfortunately), but at least one may rely on it to do the
right thing most of the time (e.g. when sending in a patch).
The style itself is quite different from what we had before but making it
uniform across all the codebase is the key. I also hope that it'll make the
code more readable (YMMV) and less sensitive to further changes.
2017-04-20 10:01:22 +03:00
Mike Gelfand
c77946e49a
Set icon for "Open URL" action (Qt client)
2017-02-18 21:22:34 +03:00
Mike Gelfand
c6bfe9de15
Use QtWinExtras instead of importing private Qt function to get QPixmap from HICON
2017-02-11 20:48:13 +03:00
Mike Gelfand
4b397ebfc0
Switch from deprecated QStyleOptionViewItemV* to QStyleOptionViewItem
2017-02-11 14:04:26 +03:00
Mike Gelfand
03034b5015
Remove supporting code for Qt < 5.2
2017-02-11 13:44:34 +03:00
Mike Gelfand
8dc6fb48b1
Bump minimum required Qt version to 5.2
2017-02-11 13:24:42 +03:00
Mike Gelfand
caf3b7653c
Improve Qt client look on hi-dpi displays
2017-02-08 01:06:28 +03:00
Mike Gelfand
13e111a89a
Use default (instead of system) locale to be more flexible (Qt client)
2017-02-07 02:24:47 +03:00
Mike Gelfand
6c9fa2913b
Use alternative method of loading translations (Qt client)
...
Fixes : #130
2017-02-07 00:58:51 +03:00
Sebastiaan Lokhorst
532246778b
Correct Qt client desktop file name and add keywords
2017-02-04 15:03:49 +01:00
Mike Gelfand
4ddaa58287
Fix closing </i> in translatable phrase (Qt client)
2017-01-28 13:51:03 +03:00
Mike Gelfand
d40d69702b
Sync .ts files with Transifex and current source code
...
Add 4 new languages: Georgian, Dutch, Swedish, and Turkish (Turkey).
2017-01-27 04:50:14 +03:00
Mike Gelfand
5f3abbd6d8
Add myself to the list of Transmission authors
2017-01-15 01:38:45 +03:00
Markus Amalthea Magnuson
5b9ba3be0d
HTTPS links for trac, forum, portcheck, and build subdomains.
2016-11-02 20:50:22 +01:00
Markus Amalthea Magnuson
727b9671f7
Update all website links to canonical HTTPS version.
2016-10-31 10:00:11 +01:00
Mike Gelfand
f9c0ce63b8
Remove useless path button text updates, this is handled elsewhere
2016-10-03 23:41:50 +03:00
Mike Gelfand
f6a19f868a
TRAC-6098: Rework trailing slash stripping (once more)
...
Using QFileInfo to strip trailing slash(es) is bad when input contains non-
native paths (i.e. Windows paths on non-Windows system and vice versa) as it
may mistakenly treat the path as relative and change it in unespected way.
2016-10-03 22:22:25 +03:00
Mike Gelfand
7d22c1efc0
Merge branch 'trac5348-misidentification-of-local-session'
2016-10-03 21:54:52 +03:00
Mike Gelfand
4b4797a220
Revert debugging code...
2016-10-03 21:54:21 +03:00
Mike Gelfand
687662d1f1
Merge branch 'trac5348-misidentification-of-local-session'
2016-10-03 21:33:58 +03:00
Mike Gelfand
981ef30ab4
Use session ID (if available) to check if session is local or not (Qt client)
2016-10-03 21:26:28 +03:00
Robert Vehse
13bae8179e
Update all instances of the donation link. Fixes #26 .
2016-09-23 04:36:41 +02:00
Mike Gelfand
2248d3670f
Get rid of $Id$ SVN keywords in source files
2016-09-02 23:10:15 +03:00
Mike Gelfand
e60e75fadc
Reduce torrents model memory requirements (Qt client)
...
Keep torrents sorted by ID. This allows to remove ID to row/torrent mappings
(using binary search instead) and thus also reduce complexity a bit.
2016-04-24 07:56:41 +00:00
Mike Gelfand
682b11aac4
Bump minimum Qt version to 4.8
...
Earlier versions may continue to work, but we don't guarantee they will.
2016-04-24 07:41:06 +00:00
Mike Gelfand
2b917de65b
Refactor RPC requests code for proper queueing (patch by intelfx @ GH-10)
...
This refactoring is driven by the need to be able to do true queued RPC calls
(where each successive call uses the result of the previous).
Currently, such queueing of requests is done by assigning them special "magic"
tag numbers, which are then intercepted in one big switch() statement and acted
upon. This (aside from making code greatly unclear) effectively makes each such
queue a singleton, because state passing is restricted to global variables.
We refactor RpcClient to assign an unique tag to each remote call, and then
abstract all the call<->response matching with Qt's future/promise mechanism.
Finally, we introduce a "RPC request queue" class (RpcQueue) which is built on
top of QFutureWatcher and C++11's <functional> library. This class maintains
a queue of functions, where each function receives an RPC response, does
necessary processing, performs another call and finally returns its future.
2016-04-19 20:41:59 +00:00
Mike Gelfand
db1553b113
Add files necessary for .msi packages creation on Windows
2016-04-02 18:01:01 +00:00
Jordan Lee
1af60ad6ad
use '#pragma once' instead of #ifndef..#define..#endif guards
2016-03-29 16:37:21 +00:00
Mike Gelfand
7fb8708efd
Only grow filter input up to 250px width, then stick to the right
2016-03-15 21:25:46 +00:00
Mike Gelfand
cc1f6f3a5c
Fix dropping .torrent files into main window on Windows
...
Previously used `QUrl::fromPercentEncoding()` leads to paths like
"/C:/test/a.torrent" which obviously aren't valid filesystem paths.
2016-03-15 06:04:49 +00:00
Mike Gelfand
c955c04d8f
Explicitly compare result of str(n)cmp/memcmp to signify that it's not boolean
2016-03-13 22:11:01 +00:00
Mike Gelfand
67a03bcabb
Fix existing Qt client instance detection and torrents delegation
2016-02-29 14:16:55 +00:00
Mike Gelfand
0c4ace2313
Sync translations with Transifex
2016-02-27 23:27:26 +00:00
Mike Gelfand
197fc132b3
Update user-facing copyright years
2016-02-27 23:18:02 +00:00
Mike Gelfand
3523277e7f
Ongoing refactoring (use size_t instead of int)
2015-12-25 11:34:35 +00:00
Mike Gelfand
4a4badd4af
Ongoing refactoring (use size_t instead of int)
2015-12-25 10:19:50 +00:00
Mike Gelfand
26637a8348
#6038 : Fix qmake-based Qt client build
2015-12-21 13:20:35 +00:00
Mike Gelfand
34ebe520a1
Move DBus/COM checks up to where Qt is being searched for
2015-12-17 18:10:43 +00:00
Mike Gelfand
e92449d91f
Add ActiveQt-based COM interop helper
2015-12-16 20:01:03 +00:00
Mike Gelfand
35b08ce09e
One more little Qt thingy (we don't need to include UseQt4.cmake anymore)
2015-12-16 19:09:46 +00:00
Mike Gelfand
7c951671bd
Bump CMake to 2.8.12, rework Qt use a little
2015-12-16 18:46:06 +00:00
Mike Gelfand
dfc32f3ecd
Refactor DBus IPC to allow for further extensibility
2015-12-16 17:57:05 +00:00
Mike Gelfand
4631848c15
Sync translations with Transifex
...
New translations: Italian (Italy) and Korean.
2015-12-12 18:14:15 +00:00
Jordan Lee
8d66fb3387
fix -Wfloat-equal warning
...
When calculating the 'Have' line for transmission-qt's details dialog,
use int64s rather than doubles for sizeWhenDone, leftUntilDone, and
available.
2015-12-06 21:07:37 +00:00
Jordan Lee
1b67e9b266
in Torrent::setDouble(), don't compare doubles directly as a bool
2015-12-06 18:02:37 +00:00
Jordan Lee
9f74cf2273
(trivial) silence a few -Wold-style-cast warnings
2015-12-06 17:39:18 +00:00
Jordan Lee
9dca9f175f
(trivial) remove trailing semicolon after Q_DECLARE_METATYPE
2015-12-06 17:28:54 +00:00
Jordan Lee
c8f6d53466
(trivial) remove namespace trailing semicolon
2015-12-06 17:27:21 +00:00
Mike Gelfand
916a6efa3e
Improve Qt client appearance on hidpi screens a bit
2015-11-28 14:35:58 +00:00
Mike Gelfand
74129b7ef3
Fallback to English if no proper translation is available
2015-11-15 11:03:27 +00:00
Mike Gelfand
4434c900e3
Don't force-add "Show options dialog" checkbox when opening a torrent
...
If open file dialog is a native one, setting the layout will do more harm
than good. Specifically, on Windows with Qt 5 the dialog becomes completely
unusable.
2015-11-14 14:22:57 +00:00
Mike Gelfand
000895322f
Clear filter upon double clicking on filtered torrent list notice
2015-10-24 20:56:45 +00:00
Mike Gelfand
585e3df30c
Show notice on top of filtered torrents list
...
This has a couple of benefits: 1) it is clearly visible to the user that
the list is filtered (doesn't display all the torrents) even when filter
bar is hidden, 2) doesn't lead to filter bar controls being shifted to
the left/right as when "Show:" label text changes.
2015-10-19 20:30:26 +00:00
Mike Gelfand
f89fab72f9
Remove unused session tag
2015-10-18 18:39:14 +00:00
Mike Gelfand
3b8829d3fb
Display notifications via tray icon if dbus is not available
2015-10-18 11:48:10 +00:00
Mike Gelfand
c8920abad6
#5993 : Improve magnets handling in main window
...
Disable "Open Folder" and "Verify Local Data" actions for magnets in
Torrent menu. If more than one torrent is selected, "Verify Local Data"
is enabled but only non-magnets are verified if activated.
Add a few sanity checks when opening folder, just in case.
2015-10-04 06:16:59 +00:00
Mike Gelfand
e89736fb17
#6001 : Calculate header item size properly
2015-09-27 20:23:03 +00:00
Mike Gelfand
68c6c0aa3c
Sync main context menu with "Torrent" menu; hide menu icons on Mac
2015-09-01 23:19:01 +00:00
Mike Gelfand
0f7bea1bd3
Fix session dialog not showing up after first close
2015-09-01 20:39:34 +00:00
Mike Gelfand
971cc6d2d9
Remove context help button from dialogs on Windows
...
We don't currently (if ever) provide context help, so the button is
useless. Moreover, on Windows 10 it's even larger than before and
sometimes title text doesn't fit because of it.
2015-09-01 20:19:26 +00:00
Mike Gelfand
1640a71127
#5982 : Simplify filter bar connections by using needed slot directly
2015-08-17 08:14:45 +00:00
Mike Gelfand
63e4700a10
Simplify and speed up actions connected to file tree popup menu
2015-08-16 22:07:09 +00:00
Mike Gelfand
7f45029f18
Sync translations with Transifex
...
Add German and Indonesian (translated 95%+).
2015-08-10 20:43:26 +00:00
Mike Gelfand
ddb0df51d4
#5608 : Enter file renaming mode with keyboard only, not on mouse double-click (Qt client)
...
Since double-click is usually used to open things, don't use it to enter
edit mode, use platform-specific keyboard shortcut instead (Return, F2,
etc).
Add context menu duplicating available actions, resembling that of Mac
client. This includes new "only check selected" action.
Speed up DND/priority change for large numbers of files at once. Make
DND/priority toggling more natural: if both parent and its child are
selected, only act on parent (with all its children following).
2015-08-10 19:40:58 +00:00
Mike Gelfand
0aa572b657
Refactor action groups initialization/handling and trackers merging a bit
2015-08-06 20:28:44 +00:00
Mike Gelfand
0f9bdc6ac2
Use CMake-provided C/C++ standard selection capabilities; fix build (qtr.pro)
2015-08-01 16:05:02 +00:00
Mike Gelfand
fd9c2c74f4
Remove some unused includes/macros; fix build (re. QPointer)
2015-07-30 06:55:28 +00:00
Mike Gelfand
f592083f15
Create dialogs on demand, don't keep them ready all the time
2015-07-30 06:18:02 +00:00
Mike Gelfand
18ea8c429a
Improve RPC performance for local sessions
...
Don't unnecessarily de-/serialize JSON data if local session is used.
2015-07-13 00:32:48 +00:00
Mike Gelfand
5296570476
Improve file tree population/update performance
...
Use simple tokenization instead of splitting the file path into
QStringList for each item. Don't expand each added item separetely
during population/update. Don't expand all the items but just up to the
point where parent has more than one expandable child.
Also, fix items order by sorting items after population/update. Fix
sorting by size on systems where uint64_t != quint64.
2015-07-12 20:48:54 +00:00
Mike Gelfand
1a885dcb17
Some look-and-feel improvements for Mac and GTK+ styles (Qt client)
2015-06-28 14:18:06 +00:00
Mike Gelfand
58312e6c16
Torrent properties dialog improvements
...
Simplify DND checkboxes drawing, this also fixes incorrect drawing on
Mac when file tree widget is inactive.
Do better job calculating column widths for file tree to avoid ellipsis.
Fix file tree sorting order for size and priority columns.
Change key to toggle priorities to Shift+Space instead of Enter/Return
to avoid conflicts with name editing and default button handling.
Fix selected tracker item background drawing in certain cases.
2015-06-15 21:07:46 +00:00
Mike Gelfand
b0278ca353
Instead of standard C headers include their C++ counterparts
2015-06-12 22:41:36 +00:00
Mike Gelfand
5120fc0f2c
Unify/prettify Qt client headers style
2015-06-12 22:12:12 +00:00
Mike Gelfand
5b61ba81ba
Sync Qt client translations, add Polish language
2015-06-10 22:51:53 +00:00
Mike Gelfand
07912d230b
Use PascalCase for Qt client filenames
...
Split FileTree.{h,cc} and FilterBar.{h,cc} files so that each class
is in its own file.
This breaks translations (some classes got renamed => context changed),
to be fixed by next commit (along with Tx sync).
2015-06-10 21:27:11 +00:00
Mike Gelfand
cdf3cf62f9
Fix some issues revealed by coverity
2015-05-09 11:56:35 +00:00
Mike Gelfand
2321bc3fad
Fix some issues revealed by coverity
2015-05-09 08:37:55 +00:00
Mike Gelfand
06d73853b9
Even better (and unified) torrent origin logic for GTK+, Qt and web clients
2015-04-22 21:04:49 +00:00
Mike Gelfand
c1b10abe0f
Use UTF-8 for console I/O on Windows
2015-04-21 10:07:57 +00:00
Mike Gelfand
7ce0ebfee7
Ifdef the code which does manual relayout on compact view toggle to Qt < 5.4 (QTBUG-33537)
2015-04-20 09:28:26 +00:00
Mike Gelfand
adde87a99e
Fix Qt 4 build: `QGridLayout::getItemPosition ()` is not constant :(
2015-04-18 14:48:23 +00:00
Mike Gelfand
9f8402697b
Use C++11 range-based `for` loops (Qt client)
2015-04-18 14:41:06 +00:00
Mike Gelfand
ce200fa775
#5927 : Add Chinese (zh_CN) translation to Qt client (provided by liaodahao)
2015-04-15 20:26:38 +00:00
Mike Gelfand
5ada708756
Use native separators for path button and free space label tooltips. Improve path button dialog initial directory/file selection.
2015-04-15 00:08:24 +00:00
Mike Gelfand
829cbffaf7
Add version info to executables (on Windows). Group projects into folders (CMake).
2015-04-14 22:46:40 +00:00
Mike Gelfand
3b129a72d8
#5908 : Check for `tr_loadFile` return value instead of `errno` in `tr_variantFromFile`
...
Seems like there could be a defect in uClibc making errno not
thread-local. Don't rely on errno value but check function return value
instead which is a better failure indicator.
Return errors from `tr_loadFile` and `tr_variantFromFile` via tr_error.
Fix `tr_sessionLoadSettings` to not fail on Windows if settings.json
does not exist.
2015-04-11 10:51:59 +00:00
Mike Gelfand
0620e94e27
#5774 : Fix alternative speed limits scheduled times (once more)
2015-02-06 20:08:36 +00:00
Mike Gelfand
7c53ebb9d7
Per-pixel vertical scroll in all the views (Qt client)
2015-01-31 17:40:44 +00:00
Mike Gelfand
9e66e5c443
Pass constant Prefs, TorrentFilter, TorrentModel objects where no modification is needed
2015-01-29 22:44:43 +00:00
Mike Gelfand
49e16e64a6
Fix build on Windows (blindly)
2015-01-29 22:10:00 +00:00
Mike Gelfand
d96ef13a89
Define QT_NO_CAST_FROM_ASCII (Qt client)
...
Use latin1 encoding most of the time where default encoding was used
before. Qt 4 assumes latin1 by default while Qt 5 uses utf-8 which is
not what we want.
Use utf-8 encoding in some places where default encoding was used before.
This includes strings coming from RPC.
Fix an issue with SortMode::names[] (filters.cc) where missing comma
between "sort-by-queue" and "sort-by-ratio" resulted in two array entries
being merged into solid "sort-by-queuesort-by-ratio" string and all the
following items being shifted compared to their enum counterparts.
2015-01-29 21:53:05 +00:00
Mike Gelfand
ae72695d0c
Revert unintended changes (debug output)
2015-01-28 23:08:41 +00:00
Mike Gelfand
e707e8d4c5
Treat command-line arguments as UTF-8-encoded; hide char* Prefs setter, require explicit conversion
2015-01-28 22:57:46 +00:00
Mike Gelfand
6b79473d9f
Use TrPathButton in preferences dialog
2015-01-25 19:55:05 +00:00
Mike Gelfand
cade70172e
Fix tab order in preferences dialog (Qt client)
2015-01-25 18:16:30 +00:00
Mike Gelfand
a18d818882
Rework preferences dialog in Qt client to load from .ui
2015-01-25 15:47:03 +00:00
Mike Gelfand
beeb4521c0
Rework forms layout to workaround some stylesheet issues (Qt client)
2015-01-21 21:14:00 +00:00
Mike Gelfand
9b8c6bc0f0
Improve tracker list look (torrent properties dialog), support RTL layout
2015-01-20 23:28:38 +00:00
Mike Gelfand
34c42d4ad8
Small follow-up translation fixes (HTML formatting mess in tracker delegate mostly)
2015-01-18 13:19:30 +00:00
Mike Gelfand
9866082907
Poke translations a bit (Qt client)
...
Add a bit more comments. Adjust some phrases for pluralization.
Mark menu shortcuts as not translatable (changing them doesn't do any
good but people start translating "Ctrl" as "Ktrl" etc. which breaks
the shortcuts).
Pull current translations from Transifex.
2015-01-18 02:09:44 +00:00
Mike Gelfand
efc04fdd77
Improve overall look of torrents in main window
...
Refactor and use the same code to calculate element positions in
sizeHint () and paint () to prevent discrepancies.
While we are at it, properly support RTL layout.
2015-01-17 16:59:42 +00:00
Mike Gelfand
3c73d74cbb
Fallback to message box warning icon if emblem-important is not provided by the icon theme
2015-01-17 13:49:02 +00:00
Mike Gelfand
9eea4ada83
Improve the look of torrents with errors a bit (Qt client)
...
Display emblem over mime icon if torrent has error(s) to indicate the
issue.
Use normal text color instead of red when drawing selected item: there
is no easy way to be sure that red color looks nice on selection
background, and most of the time it doesn't. Using red color for non-
selected items is questionable too, but let's leave it at that for now.
2015-01-17 01:23:51 +00:00
Mike Gelfand
6ff1875385
Add more information for translators (Qt client)
2015-01-12 06:18:52 +00:00
Mike Gelfand
f73bfebd7b
Move numeric units to the right of values (per KDE HIG)
...
Follow up commit to change the last phrase standing.
2015-01-11 21:10:46 +00:00
Mike Gelfand
06fa457bd9
Improve filter bar look (Qt client)
...
Use normal but semi-transparent color instead of 'disabled' color for
counts drawing.
Do not leave empty space for icon when selected item doesn't have one.
Use null pixmaps/icons instead of non-null blank ones.
Implement our own sizeHint and minimumSizeHint to make sure both combos
have the same height.
Make activity combo width fixed, tracker combo width to fit its content
and line edit to occupy the rest.
Add 'Search...' placeholder to line edit.
2015-01-11 15:01:13 +00:00
Mike Gelfand
068bccd46b
Make program name/version in about dialog larger again
2015-01-04 12:47:07 +00:00
Mike Gelfand
b96cd0369e
Change sharing consent dialog into a QMessageBox
2015-01-04 12:29:10 +00:00
Mike Gelfand
c43a10ab9d
Mark GTK and Qt clients as GUI programs on Windows (detach from console)
2015-01-04 10:57:09 +00:00
Mike Gelfand
81c3eebbab
Use Faenza (1.3.1) as fallback on systems which do not support icon themes
2015-01-04 02:14:58 +00:00
Mike Gelfand
91973ab94d
Use (hopefully) better suited theme icons for some actions (Qt client)
2015-01-04 00:18:31 +00:00
Mike Gelfand
440f482d01
Replace tabs with spaces; remove trailing spaces
2015-01-02 11:15:31 +00:00
Mike Gelfand
8abdabc984
#5700 : Add -std=gnu++11 to QMAKE_CXXFLAGS for Qt 4 and g++/clang++
2015-01-01 23:54:35 +00:00
Mike Gelfand
b928ae1ba8
Use libb64 instead of OpenSSL to encode/decode BASE64
...
Some crypto libraries (like CyaSSL, MatrixSSL and CommonCrypto) either
don't have or expose this functionality at all, expose only part of it,
or (like OpenSSL) have heavyweight API for it. Also, for the task as
easy as BASE64 encoding and decoding it's much better to use small and
simple specialized library.
2015-01-01 21:16:36 +00:00
Mike Gelfand
424c79a5da
Make use of path button in relocate dialog (Qt client)
2015-01-01 05:02:13 +00:00
Mike Gelfand
511d89ca5e
Use QMimeDatabase to get icon names when compiling against Qt 5+
2015-01-01 02:28:18 +00:00
Mike Gelfand
954a91ca39
Reduce initial torrent creation dialog size to minimum
...
Truncate text in path button to prevent width increase for long paths.
2014-12-31 23:54:52 +00:00
Mike Gelfand
efddf08d67
Rework torrent creation dialog in Qt client to load from .ui
2014-12-31 22:27:46 +00:00
Mike Gelfand
e0d5f8b861
Add new TrPathButton class (Qt client)
...
Make use of new button class in torrent options dialog.
Rework Utils::removeTrailingDirSeparator to return correct value for "/".
2014-12-31 21:00:34 +00:00
Mike Gelfand
c64ca900c2
Rework torrent options dialog in Qt client to load from .ui
2014-12-29 04:03:56 +00:00
Mike Gelfand
826a007904
Use QToolButton instead of QPushButton for path button, specify button icon size explicitly
2014-12-28 04:04:58 +00:00
Mike Gelfand
0bde425731
Add missing QToolButton forward declaration (Qt client)
2014-12-28 00:20:43 +00:00
Mike Gelfand
7789c28f44
#5808 : Don't embed path to DHT_LIBS in qtr.pro (patch by jbeich)
2014-12-28 00:02:50 +00:00
Mike Gelfand
8c550a2734
Add missing <QDebug> include (Qt 4 build break)
2014-12-27 20:08:10 +00:00
Mike Gelfand
342f38bbc5
Factor RPC logic out from session (Qt client)
2014-12-27 20:03:10 +00:00
Mike Gelfand
17d6666b4c
A bit of harmless refactoring
...
Prefer C++-style over C-style type casting.
Use qApp instead of QApplication/QCoreApplication::instance().
Use explicit QString::fromLatin1()/fromUtf8() where applicable.
2014-12-27 14:07:14 +00:00
Mike Gelfand
2ca4596fac
Refactor FreespaceLabel to make it possible for it to be created in Qt Designer
2014-12-26 18:41:47 +00:00
Mike Gelfand
2d02481f2d
Fix the rest of :: formatting in C++ code
2014-12-26 14:22:35 +00:00
Mike Gelfand
e9394e2f9b
Fix directory name display in relocate dialog
2014-12-26 14:21:47 +00:00
Mike Gelfand
8a4f8b9e15
Rework relocate dialog in Qt client to load from .ui
2014-12-26 10:35:00 +00:00
Mike Gelfand
92168df0e1
Fix up some about dialog leftovers, sync Qt client translations
2014-12-25 21:51:59 +00:00
Mike Gelfand
4138c7519b
Rework about dialog in Qt client to load from .ui
2014-12-25 19:39:45 +00:00
Mike Gelfand
4f239d57e1
Move numeric units to the right of values (per KDE HIG)
...
Sync translations with the code. Adjust translations for changed phrases
(hopefully correct for the most of them).
One phrase still left untouched (Preferences -> Downloading), need to
think on better wording.
2014-12-22 03:06:09 +00:00
Mike Gelfand
1eec889832
#4050 : Use TRANSLATIONS_DIR macro as a hint for Qt client translation files location
2014-12-22 01:08:19 +00:00
Mike Gelfand
f83872849a
#5543 : Add a warning panel with id of duplicate torrent (patch by rb07 + personal touch)
2014-12-22 00:02:27 +00:00
Mike Gelfand
629281a1e2
Fix license wording in Qt client .cc files to match the rest of the code.
2014-12-21 23:49:39 +00:00
Mike Gelfand
56c75a13b0
Rework session dialog in Qt client to load from .ui
2014-12-21 23:46:31 +00:00
Mike Gelfand
4ddbd550d8
Move filter text clearing button into line edit. Use Qt-provided button on Qt 5.2+.
2014-12-21 15:34:52 +00:00
Mike Gelfand
237acf1726
Rework statistics dialog in Qt client to load from .ui
...
Fix "Started %n time(s)" phrase (remove space in "time (s)", add proper
English translation for numeric forms).
2014-12-21 13:57:15 +00:00
Mike Gelfand
dee7bc9b6a
Move status bar creation to mainwin.ui
...
Among other things,
* fix turtle icons size (20x14 -> 16x16)
* use QIcon states instead of changing the turtle icon ourselves each
time (unchecked - off, checked - on)
* make speed limit action in tray menu checkable
* simplify status bar buttons drawing and use QToolButton instead of
QPushButton
2014-12-18 01:30:50 +00:00
Mike Gelfand
172f875691
Sync Qt client translations with the code
2014-12-14 18:33:28 +00:00
Mike Gelfand
70c6087e94
Rework torrent details dialog in Qt client to load from .ui
...
Make squeeze labels (used for values on Information tab) display tooltip
on hover if their text doesn't fit. Make selective labels (same as in
GTK+ client) text selectable with keyboard in addition to mouse.
Prevent dialog width growth occured before to fit long error texts.
2014-12-14 18:12:21 +00:00
Mike Gelfand
6c02008280
Do not use printf-style formatting in C++ code
2014-12-14 15:34:31 +00:00
Mike Gelfand
737fdab775
Do not use void to denote argumentless functions in C++ code
2014-12-14 11:57:23 +00:00
Mike Gelfand
365b28bc81
Strip needless const& specifiers on SIGNAL and SLOT arguments (Qt client)
2014-12-13 09:04:10 +00:00
Mike Gelfand
2adbb42763
Fix various cppcheck comments for Qt client code
2014-12-12 23:52:17 +00:00
Mike Gelfand
9605bfc36a
Remove redundant "struct" keyword use in C++ code (Qt client)
2014-12-12 23:21:04 +00:00
Mike Gelfand
67dc1c8485
Strip spaces around :: in C++ code (Qt client)
2014-12-12 23:05:10 +00:00
Mike Gelfand
faf1b2fbdf
#5848 : Use theme-provided icons in Qt client (patch by equeim + small additions)
2014-12-12 21:47:22 +00:00
Mike Gelfand
79848c36c0
#5841 : Fix initial watchdir scan in Qt client
...
Run the initial scan after application has finished initializing and
session has been created. Otherwise, adding torrents is a no-op.
2014-12-11 22:21:24 +00:00
Mike Gelfand
64757f640a
#5685 : Use proper icon in Qt client desktop file (reported by rahulsundaram)
2014-12-11 20:13:45 +00:00
Mike Gelfand
fed15dc29d
Fix a couple of ordinary and pedantic warnings
...
Add previously missing -Wall to warning flags in CMake. Remove -Wformat
and -Wvariadic-macros (enabled by default; latter is not meaningful in
C99 mode we use), -Wdeclaration-after-statement (again, not needed as
we use C99). Move -Wmissing-declarations to C-only flags (GCC man says
so).
Add copyrights year to crypto-utils-fallback.c.
2014-12-11 05:11:02 +00:00
Mike Gelfand
5c43b5c23c
#4400 , #5462 : Move BASE64 helpers to crypto-utils
...
On a way to factoring out OpenSSL support to a standalone file to ease
addition of other crypto libraries support in the future, move helpers
providing BASE64 encoding and decoding to crypto-utils.{c,h}. OpenSSL-
related functionality is moved to crypto-utils-openssl.c.
Add new functions to be implemented by crypto backends:
* tr_base64_encode_impl - encode from binary to BASE64,
* tr_base64_decode_impl - decode from BASE64 to binary.
Change `tr_base64_encode` and `tr_base64_decode` functions to expect
non-negative input data length which is considered real and never adjusted.
To process null-terminated strings (which was achieved before by passing 0
or -1 as input data length), add new `tr_base64_encode_str` and
`tr_base64_decode_str` functions which do not accept input data length as
an argument but calculate it on their own.
2014-12-04 19:58:34 +00:00
Mike Gelfand
b4a662ba37
Create QDBusConnection after QApplication has been initialized
...
Doing otherwise causes Qt warning "QDBusConnection: session D-Bus
connection created before QCoreApplication. Application may misbehave."
Also, don't try to do anything D-Bus-related if connection fails.
2014-12-01 21:05:44 +00:00
Mike Gelfand
3e43a308af
Sync Qt translation files with current source code
2014-12-01 20:29:03 +00:00
Mike Gelfand
83c4edb008
#5828 : Initial CMake build system support
2014-12-01 19:55:22 +00:00
Mike Gelfand
17769e2e2a
#5077 : Remove torrent file from watch directory even if "show options dialog" is not set (patch from rb07 + some improvements)
...
Refactor Session::addTorrent (add new method) to eliminate duplicate
code in options.cc and ensure that FileAdded object is being created
on torrent addition even with non-interactive workflow.
Move FileAdded class from options.{h,cc} to session.{h,cc}.
2014-12-01 19:24:07 +00:00
Mike Gelfand
10e59dbc90
#5800 : Add Ukrainian translation to Qt client (patch by olexn)
2014-11-30 18:43:50 +00:00
Mike Gelfand
d6c32595a6
#5827 : Improve torrent files tree updating performance
...
Do not unnecessarily emit dataChanged signals for items which didn't change.
Cache file item indices to speedup lookup.
As a bonus, this also fixes wrong file progress display in rare cases.
2014-11-30 18:12:28 +00:00
Jordan Lee
870041d92d
(trunk) #4160 : mike.dld patch: 4160-08-args.patch
2014-09-21 18:06:28 +00:00
Jordan Lee
728957c46a
(trunk, qt) #5774 'Alternative Speed Limits Scheduled Times broken in transmission-qt' -- fixed, plus more gratuitous c++11isms
2014-08-26 23:26:00 +00:00
Mitchell Livingston
0e01879974
Use built-in _WIN32 macro instead of WIN32
2014-07-04 00:00:07 +00:00
Jordan Lee
d0695b7006
(trunk, qt) #5723 : 'Simplify file tree icons drawing' -- patch by mike.dld
2014-07-03 23:12:50 +00:00
Jordan Lee
4f29ab1476
remove tracer cerr that was accidentally committed in r14272
2014-05-18 19:47:02 +00:00
Jordan Lee
c56c952e23
update network error detection as described by rb07 in https://trac.transmissionbt.com/ticket/5514#comment:9
2014-05-15 21:32:04 +00:00
Jordan Lee
cd7e5291db
silence warnings found by clang++
2014-05-09 02:32:28 +00:00
Jordan Lee
2be080f48e
(trunk qt) #5514 'enhanced network status' -- reset the torrent model when we reconnect to the transmission session after a network failure
2014-04-27 00:33:19 +00:00
Jordan Lee
4fd7408d4b
update fr translation by gostron
2014-04-27 00:04:13 +00:00
Jordan Lee
8b0a7746bb
fix crash when creating the Open Torrent dialog in Qt 5.2 on Ubuntu 14.04
2014-03-16 22:50:39 +00:00
Jordan Lee
d7368a58f5
Copyedit the license's revised text: (1) fix accidental word concatenations in the Qt and GTK+ clients' license popup text
2014-01-21 03:15:33 +00:00
Jordan Lee
02cff80c2d
Copyedit the license's revised text: (1) remove unnecessary repitition use of the word 'license' from the top of the header and source files (2) add the standard 'we hope it's useful, but no warranty' clause to COPYING (3) make explicit that linking OpenSSL is allowed (see https://people.gnome.org/~markmc/openssl-and-the-gpl.html for background) (4) sync the Qt and GTK+ clients' license popups with COPYING's revised text
2014-01-21 03:10:30 +00:00
Jordan Lee
5f2daaafb3
(trunk, gtk/qt/web) #5581 : 'Inconsistent ordering of Upload and Download speed limits' -- fixed.
2014-01-20 23:56:06 +00:00
Jordan Lee
15d11de5f4
add svn:keywords on source files that were missing them
2014-01-19 01:29:38 +00:00
Jordan Lee
4b9626bb83
Licensing changes:
...
1. add the option the code to be used under GPLv2 or GPLv3; previously only GPLv2 was allowed
2. add the "proxy option" as described in GPLv3 so we can add future licenses without having to bulk-edit everything again :)
3. remove the awkward "exception for MIT code in Mac client" clause; it was unnecessary and confusing.
2014-01-19 01:09:44 +00:00
Jordan Lee
4904b923fb
(trunk) restore copyright year as suggested in email by rms
2014-01-18 20:56:57 +00:00
Jordan Lee
632edad03d
(trunk, qt) #5514 'enhanced network status in transmission-qt' -- patch by rb07
2013-10-20 19:57:48 +00:00
Jordan Lee
6593a47493
(trunk, qt) #5487 'Qt client crash when using Open URL action' -- fixed.
2013-09-14 22:50:25 +00:00
Jordan Lee
da317c441d
copyediting: indentation cleanups
2013-09-14 22:45:04 +00:00
Jordan Lee
e0acd2dcc3
(trunk, qt) reuse make-dialog's trailing slash fix in the options dialog when setting the download dir
2013-09-08 19:59:47 +00:00
Jordan Lee
0ed8f46e07
(trunk, qt) #3606 'Qt client New Torrent from Source Folder is Goofy' -- fixed, mikedld
2013-09-08 19:12:33 +00:00
Jordan Lee
e45c4d19d9
(trunk, qt) #5312 'download checkbox toggle with spacebar is broken' -- fixed, patch by mikedld
2013-09-08 19:07:31 +00:00
Jordan Lee
2855e83e45
(trunk, qt) #4813 : allow launching files in Qt interface
2013-09-08 19:03:25 +00:00
Jordan Lee
9ef851e790
(trunk, qt) #5483 : use native windows icons, more win portability goodness from mikedld
2013-09-08 18:53:11 +00:00
Jordan Lee
e0e98cbed5
fix CL warnings in the Qt code. mikedld
2013-09-08 18:39:37 +00:00
Jordan Lee
47c350c7a0
revert error r14185 error
2013-08-30 18:01:51 +00:00
Jordan Lee
3cf26eb273
revert quint64/quint32/qint64/qint32 use to inttypes to match libtransmission's API
2013-08-29 00:37:37 +00:00
Jordan Lee
c3d6b2d0bd
add a size hint for the torrent properties dialog. (rb07)
2013-08-24 20:34:43 +00:00
Jordan Lee
7cc97b795f
remove another spurious console message
2013-08-24 20:22:38 +00:00
Jordan Lee
d1a5864949
remove spurious console message
2013-08-24 20:05:24 +00:00
Jordan Lee
f3d35b0da3
instead of inttypes, use Qt integral types -- eg, s/uint64_t/quint64/
2013-08-24 19:42:51 +00:00
Jordan Lee
e0cb88af45
no need for a semicolon after the closing brace in a C++ 'extern' block
2013-08-24 19:26:21 +00:00
Jordan Lee
ec82d81598
handle tray icon doubleclicks. (rb07)
2013-08-24 19:22:41 +00:00
Jordan Lee
8c76f40b49
when adding by filename, take local file separators into account
2013-08-24 19:19:45 +00:00
Jordan Lee
28fe36f1f8
#include limits.h where we use it, and don't where we don't
2013-08-24 17:53:45 +00:00
Jordan Lee
d89e859535
(trunk, qt) #4937 : updated transmission_eu.ts by Xabier Aramendi
2013-08-17 16:27:50 +00:00
Jordan Lee
59abf35807
(trunk, qt) #5465 : restore Qt 4.6 support, patch by mike.did
2013-08-17 16:22:56 +00:00
Jordan Lee
1c79173459
support qt5 in transmission-qt
2013-07-27 21:58:14 +00:00
Jordan Lee
94fd3b486b
(trunk) slightly better image compression by passing them through pngwolf
2013-07-14 23:03:31 +00:00
Jordan Lee
59f27cc1c6
remove the ShowOnlyIn=Unity desktop entries. These were from bug #4804 as an interim measure until XDG action groups were more widely supported, and can be removed.
2013-07-02 21:20:33 +00:00
Jordan Lee
a95b6c1e6c
(trunk) #5382 : better compression of our bundled png files. recompressed by Mangix
2013-06-26 02:06:43 +00:00
Jordan Lee
df0d7f7f43
(trunk, qt) #5374 : add url support for dragging-and-dropping multiple URLs into transmission-qt. patch by rb07
2013-06-26 01:48:47 +00:00
Jordan Lee
5f61425565
updated Basque translation by Xabier Aramendi via rb07 in ticket #4937
2013-06-11 19:09:07 +00:00
Jordan Lee
a2ca089cfd
(trunk, qt) #5374 handle multifile drag-and-drop in Qt client, patch by kernel_daemon
2013-06-09 20:18:47 +00:00
Jordan Lee
de6e408a66
(qt) fix file-tree icon regression caused by r14000 for #5285 ; found & patched by rb07
2013-04-24 22:56:28 +00:00
Jordan Lee
152e78199c
fix r14062 regression reported by x190 in https://trac.transmissionbt.com/ticket/4076#comment:47
2013-04-13 12:22:07 +00:00
Jordan Lee
a8f375eb88
(qt) increase the freespace-label update interval from 5 seconds to 15 seconds
2013-04-10 03:17:15 +00:00
Jordan Lee
7ac1e563a0
(qt) if freespace can't be determined, don't show it in the label. reported by rb07 in https://trac.transmissionbt.com/ticket/4076#comment:45
2013-04-10 03:05:31 +00:00
Jordan Lee
c51132ad78
#5335 : better compression of .png files by Mangix
2013-04-10 02:27:42 +00:00
Jordan Lee
4e079b5f88
#5165 : undo whitespace damage
2013-04-10 02:07:14 +00:00
Jordan Lee
03cbce7b2e
(qt) #5307 'Error in prefs.cc' -- fixed with patch from rb07.
2013-02-26 04:53:35 +00:00
Jordan Lee
de6d57af43
(qt) freespace fixes by rb07 from https://trac.transmissionbt.com/ticket/4076#comment:40
2013-02-18 14:45:44 +00:00
Jordan Lee
303353e55a
(qt) #5278 'Something strange with the color of progress bars' -- patch by rb07
2013-02-14 23:32:37 +00:00
Jordan Lee
b91014ba1e
(qt) #5280 'show options dialog in more cases': fix verify button issue reported by lucke
2013-02-10 22:44:25 +00:00
Jordan Lee
a7b3ec4d92
(qt) fix nightly regression by zeroing out the myFileDialogOptionsCheck pointer in mainwin's constructor
2013-02-10 18:49:15 +00:00
Jordan Lee
dbb742f667
(qt) merge together the two 'add url/magnet link' dialogs.
2013-02-09 23:11:17 +00:00
Jordan Lee
2942f85740
(qt) copyediting: whitespace/indentation
2013-02-09 21:47:42 +00:00
Jordan Lee
4c3a869a88
(qt) #5285 'Qt client's file tree should have a size column like the GTK+ client's': done.
2013-02-09 20:51:17 +00:00
Jordan Lee
d03de26e13
(qt) #5284 'file tree should show the wanted size of the subtree, not the entire size': done.
2013-02-09 19:16:16 +00:00
Jordan Lee
00a5e86939
(qt) #5282 "Formatter's sizeToString() and memToString() return wrong text for 0 bytes": fixed.
2013-02-09 18:59:05 +00:00
Jordan Lee
d1da0204c7
(qt) #4076 'free space indicator': better user feedback when updating the freespace indicator in remote mode
2013-02-09 04:42:07 +00:00
Jordan Lee
cd09204a6e
(trunk) first draft of changing the FreeSpace API to behave as https://trac.transmissionbt.com/ticket/4076#comment:25 -- libT, rpc, qt, and gtk implementations.
2013-02-09 04:05:03 +00:00
Jordan Lee
716a2f2c5c
(qt) experiment with making the statusbar's speed/ratio, the desktop icon's tooltip, and the delegate's shortTransferString() all behave the same wrt when to show which transfer speeds
2013-02-07 21:07:16 +00:00
Jordan Lee
51c1daeb9a
(qt) #5277 'queue operation regression in nightlies': fixed.
2013-02-06 18:27:47 +00:00
Jordan Lee
47f2192b2d
(qt) in the statusbar, use the same upload/download symbols as in the torrent list
2013-02-05 23:05:26 +00:00
Jordan Lee
5ae75bfced
(qt) copyediting: whitespace/indentation
2013-02-03 19:40:20 +00:00
Jordan Lee
7f8415d59e
(qt) copyediting: whitespace/indentation
2013-02-03 19:13:04 +00:00
Jordan Lee
95541c4ebe
(qt) #5270 'Details > Comment field loses selection': fixed
2013-02-03 18:36:10 +00:00
Jordan Lee
5dab28ee9c
(qt) plug a handful of minor memory leaks
2013-02-03 12:31:44 +00:00
Jordan Lee
27b7651c9d
(qt) #4076 'free space indicator': try a different approach to the visible torrent count
2013-02-02 22:29:14 +00:00
Jordan Lee
f8cae213db
(qt) remove console messages that were committed in r13930
2013-02-02 03:51:10 +00:00
Jordan Lee
bb0bdc6f7e
(qt) #5252 'file-renaming issues in Qt client': fix renaming flicker error reported by rb07
2013-02-01 22:40:08 +00:00
Jordan Lee
e12890e78e
(qt) #5252 'file-renaming issues in Qt client': hide invisible columns in file-tree
2013-02-01 22:08:09 +00:00
Jordan Lee
085c37584e
#4076 'free space indicator': in the Qt and GTK+ clients, add 'Free' to the freespace labels to give more context of what the number means
2013-02-01 21:02:40 +00:00
Jordan Lee
16d46a72a1
in the Qt and GTK+ clients, move the torrent count indicator from the statusbar to the filterbar
2013-02-01 20:58:55 +00:00
Jordan Lee
90619423ff
silence unnecessary warning
2013-01-30 00:23:32 +00:00
Jordan Lee
20fe66bccf
more experimentation with the shortTransferString
2013-01-30 00:22:52 +00:00
Jordan Lee
4a059b79b8
when sorting by activity and both torrents' upload and download speed is zero, use how many peers we're ready to upload to / download from as a secondary key.
2013-01-30 00:20:51 +00:00
Jordan Lee
a17d4d5e3f
(qt) more futzing with file-tree
2013-01-28 18:20:20 +00:00
Jordan Lee
ea6228d81b
(qt) #5252 : disable file editing in the options dialog. remove keyboard shortcuts that conflicted with renaming files in file-tree.c. fix refresh issue in the file-tree when renaming files.
2013-01-28 07:01:58 +00:00
Jordan Lee
04e1463b00
(qt) remove unused Torrent field 'torrentFile'
2013-01-28 02:12:07 +00:00
Jordan Lee
1d3bf93618
synchronize the Qt and GTK+ client's statusbars, including the new freespace indicator. Make the up/down speed ordering consistent between statusbar and torrent list.
2013-01-27 23:05:47 +00:00
Jordan Lee
779049bf1b
(qt) when changing the session's download dir, call session-get to update the freespace value
2013-01-27 21:02:04 +00:00
Jordan Lee
282ef8adfd
use 'folder' instead of 'directory' in the freespace tooltips
2013-01-27 18:48:59 +00:00
Jordan Lee
3e7ef0c4dd
copyediting: modify more files to the new indentation/whitespace formatting
2013-01-27 18:09:49 +00:00
Jordan Lee
895f86e0fb
(qt) #4076 'free space indicator' -- added.
2013-01-27 17:19:51 +00:00
Jordan Lee
6123bb5359
(qt) copyediting: modify more files to the new indentation/whitespace formatting
2013-01-26 01:19:54 +00:00
Jordan Lee
f75027d5e9
make all the log functions/structs/enums use a single 'tr_log' namespace, such as tr_logGetQueue, tr_logAddInfo, tr_logIsLevelActive
2013-01-25 23:34:20 +00:00
Jordan Lee
5af4abfc82
(qt) copyediting: modify more files to the new indentation/whitespace formatting
2013-01-25 18:54:06 +00:00
Jordan Lee
4356ade034
modify more files to the new indentation/whitespace formatting
2013-01-25 18:37:11 +00:00
Jordan Lee
1bedf94240
(qt) #5252 'File-renaming causes QObject::startTimer error': probable fix.
2013-01-25 05:43:22 +00:00
Jordan Lee
1d63fc7d22
(qt) #5248 'fails to create torrent with multiple trackers': patch by rb07
2013-01-24 15:34:45 +00:00
Jordan Lee
9fc5de5b57
(qt) #1220 : 'change file and folder names': fix Qt renaming issue reported by taem in https://trac.transmissionbt.com/ticket/1220#comment:97
2013-01-23 20:44:13 +00:00
Jordan Lee
7b422186a2
(qt) #3765 'spanish (LAC) translation': updated translation by rb07
2013-01-22 19:05:32 +00:00
Jordan Lee
b95040f0a2
(qt) #4917 'request for 256x256 icon for transmission-qt': patch by krab
2013-01-22 19:00:40 +00:00
Jordan Lee
434bd6b287
(libT) #1220 'change top folder names' -- when the root file/folder is changed, update tr_info.name too.
2013-01-22 00:25:42 +00:00
Jordan Lee
2262c7c565
(qt) #5239 'client should have the option to play a sound when the download completes' -- use QApplication::beep() on OS X and Mac. Patch by rb07
2013-01-21 21:48:52 +00:00
Jordan Lee
b42a7ebdc3
(qt) Qt client should have the option to play a sound when the download completes, as the Mac and GTK+ clients do -- implemented.
2013-01-20 23:57:09 +00:00
Jordan Lee
dd955b121e
(trunk) #1220 'change top folder names' -- add file-renaming to the Qt client
2013-01-20 01:31:58 +00:00
Jordan Lee
9d6db0da15
(qt) #5219 'QPrintable and non Latin-1 symbols on Ubuntu' -- clean fix by rb07
2013-01-17 18:11:55 +00:00
Jordan Lee
c385a1559f
re-sync the GTK+ and Qt clients' prefs dialogs.
2013-01-16 21:42:03 +00:00
Jordan Lee
c4276d832e
Tweak the text of the First Time User legal dialog.
2013-01-16 20:55:08 +00:00
Jordan Lee
d4242140be
this should have been included in the previous commit. :/
2013-01-15 21:59:04 +00:00
Jordan Lee
a3c184c521
(qt) #5213 "Incomplete update of details.cc" from rb07
2013-01-06 15:30:41 +00:00
Jordan Lee
af5572824e
(qt) #5770 'rename-partial-files preference not modified' -- fix by rb07
2013-01-04 01:59:05 +00:00
Jordan Lee
d698cfd057
(qt) #5208 : refinement to r13734 as suggested by rb07.
2013-01-03 18:56:39 +00:00
Jordan Lee
08187ef984
(qt) tweak the network status icon's tooltip again. This is a followup to r13727
2013-01-03 04:21:45 +00:00
Jordan Lee
69987484fe
(qt) #5208 'Replace baseName() with fileName() for FULL file name' -- fixed, patch by krab
2013-01-03 03:52:15 +00:00
Jordan Lee
5cfcfd95c4
(qt) #5206 'tray icon cancels logout in KDE' -- fixed with patch from basinilya
2013-01-01 20:02:20 +00:00
Jordan Lee
30cb347d42
(qt) #5204 extra cleanups in Utils::guessMimeIcon() from rb07
2012-12-31 22:43:29 +00:00
Jordan Lee
f9f304e51c
(trunk qt) #5204 'mp4, mkv files are not shown with the video-x-generic icon' -- fixed.
2012-12-31 05:01:28 +00:00
Jordan Lee
b7949bb49a
(trunk, qt) make the network status icon's tooltip a little more accurate / useful
2012-12-31 02:47:09 +00:00
Jordan Lee
59d1d58d0f
oops, I didn't mean to commit these debugging cerr's
2012-12-30 22:53:33 +00:00
Jordan Lee
84c5be5a77
(trunk, qt) #5060 'start minimized to tray option' -- added.
2012-12-30 22:51:55 +00:00
Jordan Lee
a79563858e
(trunk qt) 'syntax error in transmission-qt.desktop' -- fixed with patch from kalev.
2012-12-30 22:31:38 +00:00
Jordan Lee
3c9640bb8f
make tr_info.webseedCount and tr_info.trackerCount unsigned.
2012-12-30 22:06:45 +00:00
Jordan Lee
996670c4f2
rearrange the class' fields by size, saving a few bytes off each Peer and TrackerStat struct.
2012-12-30 05:53:12 +00:00
Jordan Lee
e6a64636a2
(qt) small speedup when rebuilding the activity combobox's counts: walk the torrent model just once, rather than once per activity
2012-12-30 01:28:28 +00:00
Jordan Lee
500fc6c99b
(qt) New method: Torrent.hosts(). The list is derived from the announce URLs in Torrent.trackers(). By remembering this in Torrent, the filterbar won't have to keep recomputing it.
2012-12-29 23:40:59 +00:00
Jordan Lee
162ccc6d3a
In TorrentModel.updateTorrents(), don't call getIds() if we don't need them
2012-12-29 21:05:05 +00:00
Jordan Lee
93da75c842
in refreshTrayIcon(), use TorrentModel.getUploadSpeed(), .getDownloadSpeed()
2012-12-29 21:04:10 +00:00
Jordan Lee
a8a2d5c775
(trunk, qt) minor speedups to filterbar::recount()
2012-12-29 01:20:22 +00:00
Jordan Lee
600c383c1e
(trunk, qt) #5155 'entering text moves selection point to end' -- don't react to Prefs::FILTER_TEXT changes.
2012-12-28 07:18:23 +00:00
Jordan Lee
29b2e02a91
(trunk, qt) #5195 'Qt: open folder: single file in folder' -- fixed with patch from basinilya
2012-12-27 18:28:04 +00:00
Jordan Lee
a7d352269f
(trunk, qt) #5194 'Qt: open folder: on single-file torrents opens the file, not directory, except on Windows and Mac' -- fixed with patch from basinilya
2012-12-27 18:22:48 +00:00
Jordan Lee
144d3b952c
(trunk, qt) #5193 'qt: open folder: if the first file in a torrent is not an immediate child of the torrent folder, wrong folder opened' -- fixed with patch from basinilya
2012-12-27 17:46:11 +00:00
Jordan Lee
94b5e88d36
(trunk, libT) more tr_variant revision: faster serialization, dictionaries use less space
2012-12-24 22:38:41 +00:00
Jordan Lee
e19fd611c7
(trunk, qt) #5192 'Free Memory Read error in transmission-qt's Prefs destructor' -- fixed.
2012-12-24 19:53:33 +00:00
Jordan Lee
c1559f3cc4
(trunk, libT) first drop of the tr_quark patch.
2012-12-22 20:35:19 +00:00
Jordan Lee
b0b33441e8
(trunk, qt) #5164 'french translation for qt client' -- added translation by UBIK.
2012-12-17 16:36:29 +00:00
Jordan Lee
2cd691eb49
(trunk, qt) #4901 'can't add magnet links -- transmission-qt.desktop issue' -- fixed.
2012-12-17 16:22:45 +00:00
Jordan Lee
e96ed247fe
refactor libtransmission's tr_benc class as tr_variant.
2012-12-14 04:34:42 +00:00
Jordan Lee
792215c5e9
(trunk qt) #5059 'Memory leak in the TrMainWindow :: openTorrent' -- fixed.
2012-10-08 04:23:39 +00:00
Jordan Lee
7219f26dae
(trunk, T) #5072 "In the torrent list, show how many web seeds we're downloading from" -- made the Qt, GTK+, and web client text consistent
2012-10-07 17:51:56 +00:00
Jordan Lee
aa85152654
(trunk, qt) #5057 'hungarian translation for the Qt client' -- added. thanks marton!
2012-10-05 22:25:12 +00:00
Jordan Lee
97e1e60c6c
(trunk, qt) #4760 'transmission-qt breaks unicode characters in the default target dir' -- fixed with patch from rb07
2012-08-19 16:12:20 +00:00
Jordan Lee
3d42f7272a
(trunk, qt) #4036 'Qt Client doesnt delete torrent files' -- use a patch by rb07 to work around a Firefox idiosyncrasy that prevented the added .torrent file from being removed.
2012-08-19 00:12:43 +00:00
Jordan Lee
4d111ab95a
(trunk, qt) #4991 'control temporary speed limit from icon tray' -- added, patches by rb07 and samkpo
2012-08-19 00:01:54 +00:00
Jordan Lee
4e398476b4
(trunk, qt) updated Spanish translation by rb07
2012-08-18 23:58:56 +00:00
Jordan Lee
4f4529ae09
(trunk, qt) #4624 "Inconsistent behavior when clicking on items at the torrent list" -- apply a nice patch by dirleyrls
2012-08-18 15:39:11 +00:00
Jordan Lee
a34c0981fa
(trunk qt) #4980 "Resize headers in Files Tab in Torrent Properties Window" -- patch from samkpo
2012-07-22 17:01:52 +00:00
Jordan Lee
4195e3671c
(trunk qt) #4983 "regression on Preferences' Open Web Client w/remote session" -- fixed.
2012-07-22 15:18:52 +00:00
Jordan Lee
8f78dad3c1
(trunk, qt) #4937 - update Qt client's Basque translatio, updated by Azpidatziak
2012-07-13 04:14:43 +00:00
Jordan Lee
0f8edabdf7
(trunk qt) #4820 -- add rb07's patch for better opening of magnet links
2012-07-13 00:29:40 +00:00
Jordan Lee
502ccf7d54
(trunk qt) #4961 -- fix dtor regression introduced in previous commit + add extra assertions to help find any remaining unfound errors
2012-07-13 00:27:04 +00:00
Jordan Lee
463be887fc
(trunk, qt) #4961 -- make the file list more responsive when a torrent has an extreme number of files.
...
Before this patch, the test torrent I had with ~10k files took 8 seconds to load. After this patch, it takes less than 1 second.
2012-07-12 23:37:04 +00:00
Jordan Lee
54bf01fe0d
revert r12008 due to i18n problems reported by lin-unix in < https://trac.transmissionbt.com/ticket/4050#comment:5 >
2012-07-09 23:22:36 +00:00
Jordan Lee
b72c58e34f
(trunk qt) #4235 "allow transmission-qt to specify download dir for remote sessions" -- patch added from taem
2012-07-09 23:18:40 +00:00
Jordan Lee
ec82624376
(trunk qt) #4937 "basque translation of transmission-qt" -- added patch from Azpidatziak
2012-07-01 04:28:58 +00:00
Jordan Lee
7a478b1e0e
sync the Qt pref dialog's terminology with the Gtk+ and Web UI's -- 'alternative speed limits' was listed as 'temporary speed limits'
2012-05-09 17:37:14 +00:00
Jordan Lee
01535743a0
(trunk) improved & translatable .desktop files patch from jbicha for ticket #4804
2012-04-07 15:45:12 +00:00
Jordan Lee
001813c364
(trunk, qt) fix #4824 'Open Folder bug' with a patch from rb07
2012-04-07 00:16:14 +00:00
Jordan Lee
302e33771a
add x-scheme-handler/magnet to transmission-qt's .desktop file
2012-03-08 21:37:31 +00:00
Jordan Lee
018fe4c4a9
(trunk qt) #4389 "share ratio progressbar indication counter-intuitive" -- apply rb07's 'color-progress-bar.patch' to to add color to the progress bar, similar to the Mac and Web client. It also restores seed bar to normal filling, not reverse or emptying.
2012-03-04 13:15:43 +00:00
Jordan Lee
a3039d444d
#4804 "Add quicklist to gnome-shell and unity" -- patch applied.
2012-03-04 12:58:46 +00:00
Jordan Lee
30d4f23d0c
(trunk qt) remove unused code
2012-02-29 02:47:11 +00:00
Jordan Lee
5194175f9a
(trunk qt) fix r13200 oops -- I forgot to add the new template file in the qt/ directory
2012-02-04 02:00:21 +00:00
Jordan Lee
a33763dbe3
(trunk qt) #4490 "transmission-qt FTB, undefined references to UTP library" -- fixed with patch by niol
2012-02-04 01:55:58 +00:00
Jordan Lee
fbc7f3dc3c
(trunk) use base-10 units for network bandwidth (ie, speed) and disk sizes.
...
It looks like the Mac client is already doing this and it's clearly the trend in other apps as well. Even apt-get is using kB/s, ferchrissake... :)
Flame away.
2012-02-03 21:21:52 +00:00
Jordan Lee
4e2b6f6e9f
#4664 "Use completeBaseName() instead of baseName() in the 'New Torrent' dialog" -- patch contributed by cantabile
2011-12-10 18:45:21 +00:00
Jordan Lee
f569bae99c
(trunk qt) fix minor bugs in the torrent details dialog's info tab.
2011-11-05 15:45:38 +00:00
Jordan Lee
7c9fdfa8dd
(trunk) run all our pngs through "pngout.exe" and "optipng -zc1-9 -zm1-9 -zs0-3 -f0-5"
2011-10-26 16:11:21 +00:00
Jordan Lee
871e934945
updated Lithuanian translation of the Qt client
2011-10-11 05:11:57 +00:00
Jordan Lee
01f68ca846
(trunk libT) #4323 "Allow usage of system miniupnpc" -- fixed.
2011-10-09 02:05:52 +00:00
Jordan Lee
2786136015
(trunk) #4490 "Transmission 2.40b1 fails to build: undefined references" -- fixed.
2011-10-08 23:53:27 +00:00
Jordan Lee
dc498b9a34
(trunk qt) #4510 "Lithuanian (lt) translation for the Qt Client" -- added.
2011-09-25 21:56:11 +00:00
Jordan Lee
4b862b8e98
updated Spanish translation of the Qt client. Thanks to rb07 for the update
2011-09-18 16:13:21 +00:00
Jordan Lee
84afa05662
(trunk) Roll back the right-to-left progressbar behavior added in #4281 -- it confused too many people.
2011-09-01 22:49:35 +00:00
Jordan Lee
98232d246b
(trunk qt) fix text alignment issue in the inspector's peers tab's speed and percentage columns
2011-08-20 05:45:11 +00:00
Jordan Lee
5b53b62773
(trunk qt) #4428 "Conversion to QString in "New torrent" dialog assumes the input string is ASCII" -- fix many ascii-to-QString assumptions in the code.
2011-08-20 05:19:27 +00:00
Jordan Lee
0f0c59c620
queuing: fix "unhandled pref: 60" error reported by rb07
2011-08-09 13:35:44 +00:00
Jordan Lee
3778da6f82
remove dead code
2011-08-08 16:58:29 +00:00
Jordan Lee
7554955eb8
queuing: fix false "Error" message reported by rb07
2011-08-08 16:38:22 +00:00
Jordan Lee
abea9d306f
queuing: tweak the status messages for queued torrents
2011-08-08 16:31:52 +00:00
Jordan Lee
fa22e211c7
translate GTK+ to Qt
2011-08-06 17:03:57 +00:00
Jordan Lee
79cb75e57d
Tweak the phrasing of the queue preferences in the Qt and GTK+ preferences dialogs
2011-08-06 16:47:14 +00:00
Jordan Lee
8ceb1fd016
tweak Qt client's queuing support
2011-08-03 03:47:17 +00:00
Jordan Lee
307754e807
#671 "torrent queuing" -- modify the queue implementation s.t. every torrent has a queuePosition, even if it's not currently in the queue.
2011-08-02 03:59:54 +00:00
Jordan Lee
efd20bff04
(trunk qt) #671 "torrent queuing" -- when sorting by activity, add queuePosition to the end of our fallback comparison keys
2011-08-01 23:37:38 +00:00
Jordan Lee
2e9d419bd4
#671 "torrent queuing" -- add a tr_stat.isStalled flag.
2011-08-01 23:27:11 +00:00
Jordan Lee
61174b007e
(trunk) #671 "torrent queuing" -- Preliminary implementation. Covers libtransmission; GTK+ and Qt clients, and rudimentary web client support.
2011-08-01 22:24:24 +00:00
Jordan Lee
320bda5ca4
(trunk qt) remove an unnecessary debug message
2011-07-30 13:19:28 +00:00
Jordan Lee
0b2247cc7b
(trunk qt) add popup notification for when torrents finish downloading.
2011-07-26 02:56:30 +00:00
Jordan Lee
14310a7300
(trunk qt) reduce the timer delay between model changes and UI updates
2011-07-26 02:56:06 +00:00
Jordan Lee
7595a7b026
#3765 : update the .es translation of transmission-qt
2011-07-20 13:07:39 +00:00
Jordan Lee
5216da50bd
(trunk qt) #4369 "Typing text into the main window's filter field causes high CPU" -- fixed.
2011-07-19 21:19:18 +00:00
Jordan Lee
2863ee49c9
(trunk gtk, qt) "It is unobvious if test port feature tests UDP port status as well" -- fixed.
2011-07-17 14:12:00 +00:00
Jordan Lee
8d254af2b8
(trunk qt) #4357 "Wrong torrent count on tracker filterbar" -- handle special case described @ https://trac.transmissionbt.com/ticket/4357#comment:5
2011-07-15 02:17:33 +00:00
Jordan Lee
d634396f98
(trunk gtk, qt) #4165 "__FD_SETSIZE impact on open-file-limit and peer-limit-global" -- cap the per-torrent and per-session peer limits at FD_SETSIZE.
2011-07-13 19:22:10 +00:00
Jordan Lee
25db229fa0
(trunk qt) #4357 "wrong torrent count on tracker filterbar" -- fixed.
2011-07-13 17:43:25 +00:00
Jordan Lee
355722ad8d
(trunk qt) fix high CPU load on startup caused by frequent updates to the u/d speed tooltips
2011-07-13 17:22:01 +00:00
Jordan Lee
5f5cc9b533
(trunk qt) #3765 "spanish translation" -- updated Spanish translation from rb07.
2011-06-30 23:27:21 +00:00
Jordan Lee
6717816c2c
(trunk qt) #4316 "Transmission 2.31 crashes (segfaults) immediately after launch" -- sync the Qt client to the changes made in r12514
2011-06-25 19:56:48 +00:00
Jordan Lee
26499dff7d
(trunk qt) #4281 "visualize seed progress, like the web client does" -- refinement from rb07 in comment:11
2011-05-29 05:05:18 +00:00
Jordan Lee
c1d5b4a7e6
(trunk, GTK+/Qt) #4281 "Visualize seed progress like the web client does" -- done, with a modified patch & suggestion from mag
2011-05-28 00:09:15 +00:00
Jordan Lee
33eb6d3f9e
(trunk) #3817 remove OS proxy integration from the GTK+ client
2011-05-27 13:36:53 +00:00
Jordan Lee
807cc6fa16
(trunk libT) #4270 "qtr / Qt Client fails to build when libutp is not available" -- fixed with patch by thomasg
2011-05-21 09:13:10 +00:00
Jordan Lee
72d9d74517
(trunk qt) #4236 "Update formatter functions to operate with signed integers" -- patch by taem
2011-05-12 20:21:27 +00:00
Jordan Lee
20655ede63
(trunk qt) sync Qt client with r12355
2011-04-15 21:46:26 +00:00
Jordan Lee
4b4f3a0efb
(trunk qt) housekeeping: tr_bool --> bool
2011-03-23 18:26:01 +00:00
Jordan Lee
eaee57d503
(trunk qt) move "#include <QFile>" from the header to the .cpp file
2011-03-23 18:22:23 +00:00
Jordan Lee
fe6665f68c
(trunk qt) #4130 "Remove -levent from qtr.pro and let pkg-config takes care of it." -- apply patch from mezz.
2011-03-18 15:15:13 +00:00
Jordan Lee
6ff85c06c8
(trunk qt) #3570 "Russian Translation" -- updated.
2011-03-07 15:05:42 +00:00
Jordan Lee
a0f59f81f7
(trunk qt) #4067 "Kazakh translation small fix" -- committed patch by taem
2011-02-26 18:27:44 +00:00
Jordan Lee
d4525b5f95
(trunk qt) #4064 "add uTP codetip to torrnet peers details in" -- done.
2011-02-26 14:02:27 +00:00
Jordan Lee
c36ee39a03
(trunk qt) fix build issue reported by taem
2011-02-24 18:05:00 +00:00
Jordan Lee
4b3046be8c
(trunk qt) #4052 "Qt Client Kazakh translation" -- added. Translation by taem.
2011-02-23 15:56:00 +00:00
Jordan Lee
6754258823
(trunk qt) #4050 "transmission-qt translations don't load under Linux" -- fixed via patch from taem
2011-02-23 02:16:16 +00:00
Jordan Lee
bd5739fc54
(trunk) fix uTP FTBFS in Wheezy, patch by taem
2011-02-19 17:58:08 +00:00
Jordan Lee
3f1b060241
(trunk T) add preliminary enable/disable toggles in daemon, gtk, and qt clients. 'preliminary' because this may be widened to a tri-state of inabled, disabled, and incoming only
2011-02-18 00:33:29 +00:00
Jordan Lee
7df7d34f6d
automake/autoconf; #includes in libtransmission
2011-02-18 00:32:19 +00:00
Jordan Lee
61d999dfdd
(trunk qt) refresh the strings for transmission-qt 2.20; updated es translation from rb07 :)
2011-02-07 22:54:18 +00:00
Jordan Lee
e24c18fcd9
(trunk qt) in the "new torrent" dialog, have the "save to" and "source folder" file dialogs be QFileDialog::DirectoryOnly rather than QFileDialog::Directory
2011-02-03 22:13:31 +00:00
Jordan Lee
2e3ccd8532
(trunk qt) #3938 "the defualt config directory isn't created by the Qt client" -- minor revision to r11755 to handle the case of custom config directories passed in via the command line.
...
transmission-daemon and transmission-gtk will create these custom config directories if they don't exist. transmission-qt should, too.
2011-01-23 18:40:29 +00:00
Jordan Lee
d38634a3f7
(trunk qt) #3938 "The default config directory isn't created by the Qt client" -- fixed.
...
Summary says it all. Patch by luksan with minor formatting changes (and, no doubt, a new bug) by me.
2011-01-23 16:55:15 +00:00
Jordan Lee
413c91f4a8
(trunk qt) #3930 - "Add URL" - auto-copy links from the clipboard
...
When opening the "Add URL" dialog, check the clipboard selection & clipboard proper to see if either contains a URL, magnet link, or info hash code. If it has any of those things, put that in the dialog's entry field as the default action. Patch by cantabile.
2011-01-21 21:51:50 +00:00
Jordan Lee
a63fdd15b4
(trunk) #3926 "use 'Open Torrent' instead of 'Add Torrent' in GTK+ and Qt clients" -- fix accelerator ambiguity.
...
Using Ctrl-O for "Open File" causes a conflict with the existing Ctrl-O for "Open Folder." The HIG-compliant shortcut wins the conflict, so "Open Folder" gets a new accelerator.
2011-01-20 20:32:28 +00:00
Jordan Lee
f22e2d537b
(trunk qt) #3926 "use 'Open Torrent' instead of 'Add Torrent' in GTK+ and Qt clients" -- sync the accelerator with the GTK+ client
2011-01-20 20:24:59 +00:00
Jordan Lee
b241c9d885
(trunk qt) #3925 "qtr.pro cleanup" -- patch from rb07 to handle libevent2 more gracefully via pkg-config
2011-01-20 20:20:14 +00:00
Jordan Lee
475c45abe0
(trunk qt) #3926 "use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients" -- one more instance
2011-01-20 20:12:24 +00:00
Jordan Lee
131afcc3a4
(trunk) #3926 : use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients -- text changed.
2011-01-20 19:48:13 +00:00
Jordan Lee
f3e1c17261
(trunk qt) #3917 "Text on QPushButton is not updated after selecting 'Torrent Done' script" -- fixed. patch by cantabile.
2011-01-19 20:33:43 +00:00
Jordan Lee
8d06a961b2
(trunk qt) #3899 "typo in qt/details.cc" -- fixed. patch by cantabile
2011-01-13 19:12:18 +00:00
Jordan Lee
2148d8f8ee
fix typo in the 'blocklist contains N rules' text message
2011-01-11 15:32:22 +00:00
Jordan Lee
c7cc8301db
(trunk) update credits
2011-01-03 05:58:58 +00:00
Charles Kerr
5ccbb741b0
(trunk qt) #3863 "accept info hash in 'Add url...' dialog, not just magnet uris" -- added.
2011-01-02 23:42:46 +00:00
Charles Kerr
19c043ed84
(trunk qt) #3836 "libevent2 support" -- add a mechanism to make it easier to build the Qt client with custom installs of libevent2
2010-12-31 19:44:51 +00:00
Charles Kerr
27a1b2dc33
(trunk) one of the periodic, banal "remove-trailing-spaces from lines of source code" cleanup commits
2010-12-12 16:43:19 +00:00
Charles Kerr
465a2e7c90
(trunk) extremely minor manpage copyediting
2010-12-12 16:36:46 +00:00
Charles Kerr
b313c6f617
(trunk gtk, qt) "Show 'queued to verify' torrents in the 'verifying' filter" -- added to trunk.
2010-12-12 16:07:04 +00:00
Charles Kerr
006014edab
(trunk) #3817 "Use the OS' proxy support" -- implemented for Qt
2010-12-11 21:27:15 +00:00
Charles Kerr
edd14bd8d6
(trunk qt) #2050 "properties dialog changes seem to undo themselves" -- fixed.
2010-12-08 16:23:21 +00:00
Charles Kerr
ec0a4dd269
(trunk qt) #3814 "Crash when opening properties dialog on a torrent before all its stats have been fetched" -- fixed.
2010-12-08 15:45:43 +00:00
Charles Kerr
3f9b6a3aaa
(trunk qt) #3772 "users' changes in the Preferences and Properties dialog get applied before they're done editing" -- fixed.
2010-12-04 00:19:52 +00:00
Charles Kerr
d216d435a2
(trunk gtk, qt) #3770 "GTK and Qt clients should sort-by-progress as the Mac client does" -- fixed.
2010-12-01 05:41:58 +00:00
Charles Kerr
2087241a62
(trunk qt) #3706 "improve torrent details" -- committed patch from Longinus00
2010-11-27 22:42:47 +00:00
Charles Kerr
df929f6fc5
(trunk qt) #3766 : "lupdate -no-obsolete -locations relative qtr.pro" -- done.
2010-11-26 02:00:46 +00:00