Chocobo1
e6d85a468b
Rename literal operator
...
Qt 6.4 introduced `QString operator""_s()` and the previous `""_qs` is
deprecated since Qt 6.8.
2 years ago
Chocobo1
0802b6d506
Fix empty string parameter was omitted
...
`QProcess::splitCommand()` will omit empty strings like `""` so provide
our own replacement.
Closes #13124 .
2 years ago
Chocobo1
03da68b1cf
Add support for unit testing
...
* Downgraded macOS CI to Qt 6.2.0 due to a bug in Qt Test module
* Revised cmake build scripts
* For now, only building via cmake is supported
PR #17338 .
2 years ago
Chocobo1
70eed10a34
Fix wrong size
...
Fix up cf96e6c642
.
3 years ago
Chocobo1
4cb075b168
Use "table look-up" method for reversing byte
...
This method takes constant time and is less prone to (CPU) pipeline stalling due to less
computation. Also it is slightly faster than the previous method.
3 years ago
Chocobo1
cf96e6c642
Use QVarLengthArray whenever applicable
3 years ago
Chocobo1
aafee60033
Allocate memory on stack whenever feasible
...
The fast path gives another 20% speed up than the slower path.
3 years ago
Chocobo1
4e2daf117b
Speed up bitfields conversion
...
The old code took 3~5 times longer than the newer version.
3 years ago
Vladimir Golovnev
bc71827c01
Improve torrent content handling
...
Hide .pad files.
PR #15468 .
3 years ago
Vladimir Golovnev (Glassez)
c41df9ffbd
Improve coding style
4 years ago
Chocobo1
ac3ab2432a
Remove redundant namespace prefix
4 years ago
Vladimir Golovnev (Glassez)
ead078a38e
Add preliminary support of libtorrent v1.2
...
libtorrent v1.2 should be built with deprecated features enabled.
6 years ago
Thomas Piccirello
f27dc977e9
Replace prio namespace with FilePriority enum class
6 years ago
Thomas Piccirello
2aea235e34
Add free disk space to WebUI status bar
...
Closes #6829 .
6 years ago
thalieht
20ca90800d
Fix coding style
7 years ago
Chocobo1
81a4f3ced0
Use RNG provided by OS
...
The general consensus is to use random facility provided by OS instead
of using other software random generators.
7 years ago
Chocobo1
511796f74e
Replace rand() by a true uniform distribution generator
8 years ago
Vladimir Golovnev (Glassez)
f9c3719d12
Add QJson files.
11 years ago
Christophe Dumez
a0d21ead18
Further rewriting of the JSON-related code
13 years ago
Christophe Dumez
9a964d871d
Rewrite code for returning information about torrents as JSON (Web UI)
...
- The new code is simpler, cleaner and more efficient
13 years ago
Christophe Dumez
a8a7b61ea9
Coding style clean up
13 years ago
Christophe Dumez
8f439589ea
Optimize Web UI code
13 years ago
Christophe Dumez
02fbd6a135
Fix compilation warnings in smtp.h (cgreco)
14 years ago
Christophe Dumez
6e7309316c
Started code reorganizing (Moved libtorrent specific files and webui files to subfolders)
14 years ago
Christophe Dumez
c64f02c9bf
Fix locale change from the Web UI
14 years ago
Christophe Dumez
4667a84939
Suppress compiler warning
15 years ago
Christophe Dumez
3172e1f530
Fix tables appearance in Web UI
...
Fix empty array parsing in JSON
15 years ago
Christophe Dumez
912056a364
Added back folder watching in Web UI
15 years ago
Christophe Dumez
8f28804f8c
Added Json encode support for QVariantList and QStringList
15 years ago
Christophe Dumez
4d00db2b42
- Encode correctly Float Type using QVariant/JSON (introduced in Qt 4.6)
15 years ago
Christophe Dumez
ed13c43e93
- Fix several issues with the files properties in Web UI (introduced recently)
15 years ago
Christophe Dumez
1128b3ea83
* Replace priority combo boxes by check boxes in Web UI as in Regular UI
...
* Prepare http server and preferences classes to add new settings to Web UI
* Tabified Program preferences in Web UI since there will be a lot of settings soon
* Started to add new settings to Web UI (PeX, LSD, Encryption, save path, temp path, scan dir, preallocateall, queueing, listen_port, upnp, nat-pmp, language, ip filter) -> Proxy is missing
* Added a command line parameter to change the web ui port
* Fix PeerGuardian .p2b binary filter support
15 years ago
Christophe Dumez
e35d100769
- Web UI: Display generation information in torrent properties
15 years ago
Christophe Dumez
019bd476db
- Forgot to update those headers
16 years ago
Christophe Dumez
b8c79e0b5f
- Simplified and optimized json code
16 years ago
Christophe Dumez
b69a8a0709
- Commit a lot of missing files for web interface
17 years ago