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
1d58af5082
Increase BASE64 encoding size when using system libb64
...
Remove BASE64 reference testing as it's only libb64 now.
Improve the test to ignore \r and \n when comparing BASE-encoded
strings to not fail on system (unpatched) libb64.
2015-01-03 21:35:20 +00:00
Mike Gelfand
440f482d01
Replace tabs with spaces; remove trailing spaces
2015-01-02 11:15:31 +00:00
Mike Gelfand
9a3b965ce4
Kill some warnings when compiling on Windows
2015-01-02 04:02:13 +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
05b30cc484
External CMake projects: supress developer warnings, allow skipping checksum checks with SKIP_UPSTREAM_CHECKSUM
2015-01-01 22:20:57 +00:00
Mike Gelfand
e8d1d8db87
Fix Mac build (make libtransmission depend on libb64)
2015-01-01 22:00:02 +00:00
Mike Gelfand
81c3c00b0f
Fix Mac build (add libb64 to Xcode project)
2015-01-01 21:49:21 +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
392bdc1cdb
#4400 , #5462 : Fix "make check" for po files
2015-01-01 14:48:10 +00:00
Mike Gelfand
8b849a0910
#4400 , #5462 : Fix autotools configuration
2015-01-01 14:33:02 +00:00
Mike Gelfand
45f8bb8c40
#4400 , #5462 : Add possibility to test one crypto backend against another (reference) backend
2015-01-01 14:23:47 +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
ca8ecf3d06
#5809 : Allow building against system dht library (patch by jbeich)
2014-12-28 00:14:46 +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
189151cc03
#5805 : Use bundled libutp by default if no system libutp found
2014-12-27 23:33:51 +00:00
Mike Gelfand
d254312cb1
#5805 : Allow building against system libutp (patch by jbeich)
2014-12-27 23:21:01 +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
eee49af2b4
Improve cross-compilation support when using CMake
2014-12-20 22:28:43 +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
c845e35ce1
Fix format specifier warning introduced couple commits earlier
2014-12-13 17:04:14 +00:00
Mike Gelfand
74a5bdb9e6
Don't mess with MinGW printf support for now (tricky)
2014-12-13 16:00:14 +00:00