1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

139 Commits

Author SHA1 Message Date
ezavod
96b2977a5f fix: set CSS font-weight of editbox always to normal
This fixes issue #4292 by setting CSS `font-weight: normal` always.
2017-03-28 10:45:27 +02:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format 2017-02-26 11:52:45 +00:00
Yuri
742583bb9e fix(font): Made font changes in settings apply on screen instantly.
Before the user had to restart qTox for the font change to take effect.
Now it changes instantly.
2017-02-05 21:49:30 -08:00
Yuri
c84837d662 fix(font): Fixed the editbox font reset problem
Steps to reproduce:
* Select some obviously larger font
* Restart qTox
* Type something (you will see it with the correct font)
* Erase it completely
* Type something again
* Observe the current font now is small (back to the default)

This is a bug in Qt having to do with manipulation with both the css style and QFont of QTextEdit control at the same time.
The solution is to convert QFont to CSS style and apply it this way.
2017-02-04 09:56:31 -08:00
Diadlo
2aed859bdb
refactor(buttons): Mic and vol buttons now are QToolButton 2017-01-27 00:25:37 +00:00
Diadlo
ece4d9e446
refactor: Small Generic chat form refactoring 2017-01-27 00:23:17 +00:00
Diadlo
aff0c6f3a5
fix(chatform): Fixed buttons 2017-01-27 00:20:01 +00:00
Diadlo
fcd8eed7cd
style: Fix style of a lot of pointers 2017-01-06 23:03:58 +03:00
sudden6
e07d8d358f
feat(toxid): reduce passing Tox IDs around
reasons:
- most of the time we don't even know the Tox ID but only the Public Key
- use well defined objects instead of strings that could be anything
2017-01-04 00:20:24 +01:00
Zetok Zalbavar
d4ac13dbf4
revert: "refactor: Added to include path and exclude it from all includes"
Revert needed, since otherwise there is no way to do automatic sorting
of includes.
Also reverted change to the docs, as leaving it would make incorrect
docs.

In case of conflicts, includes were sorted according to the coding
standards from #3839.

This reverts commit b4a9f04f92.
This reverts commit 5921122960.
2016-12-29 16:10:53 +00:00
Zetok Zalbavar
c14cbdf4fd
feat(UI): make font in message input field use font settings
Right now it requires qTox restart to take effect in all chats.

Should help with 4k high-dpi displays.
2016-12-18 15:35:42 +00:00
tux3
a7de2680d9
feat(UI): Add 'Copy link' context menu item
Fixes #927
2016-12-07 13:54:40 +01:00
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors 2016-11-29 11:12:06 +00:00
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes 2016-11-28 23:28:42 +03:00
Diadlo
2a88e5c069
refactor(toxid): Removed Core dependency from ToxId
It's needed to make ToxId just data structure
2016-11-15 02:18:48 +03:00
initramfs
775b6a325b
fix(chatform): remove std::dynamic_pointer_cast in favor of static cast
With the removal of RTTI such a cast can cause compile failures as not
all compilers automatically convert dynamic casts to static casts at
compile time.

Fixes #3801
2016-10-25 05:59:00 -04:00
Diadlo
7c4e9e6153
Merge pull request #3741
bitok (1):
      refactor: fixes of static analyze warnings
2016-09-25 00:57:04 +03:00
bitok
2c03257700
refactor: fixes of static analyze warnings
There is many static analyze warnings for qTox. Fixed most dangerous and several simple.
2016-09-23 14:47:53 +01:00
iphydf
d94712b2e2
refactor: Avoid RTTI by using qobject_cast.
This allows us to save some memory and executable size by removing the
need to generate and compile C++ RTTI.
2016-09-23 03:14:58 +01:00
Nils Fenner
f00b9008e6
feat(settings): add notification signals for changed settings values
Makes changes to settings application wide transparent. The properties section is optional in theory, but comes in very handy, if we decide to access settings e.g. from within a script context.
2016-08-14 18:08:24 +02:00
Diadlo
76f694fe73
style(widget): Style fixes 2016-07-13 01:54:30 +03:00
Diadlo
f8a45b4051
fix(video): Changed minimum window size with video
Fix #3396.
2016-07-09 22:15:04 +03:00
Diadlo
86e44143ad
fix(genericchatform): Fixed position of screenshot button
Fix #2427.
2016-07-09 22:15:04 +03:00
Alexander Zhdanov
40a805c2fd feat(genericchatform): add "Quote selected text" feature to chat window
add "Quote selected text" feature to chat window context menu and set keyboard shortcut ALT+Q
2016-06-06 21:46:18 +03:00
sudden6
ddca97a896
Merge pull request #3182
PKEv (1):
      feat(emoticonswidget):Keep emoticon option open
2016-04-25 19:36:09 +02:00
PKEv
d0ea5bb4fd feat(emoticonswidget):Keep emoticon option open
Emoticon dialog remains open, and the selected emoticon is pasted into the text window
close #3043
2016-04-25 02:09:12 +03:00
PKEv
8ebad59a3e fix(genericchatform):separate messages from different days
Before this new cut-off days is only shown when the load history, now added a feature which in the current chat checks the last post date and if the date does not coincide with current - output a system message about the new date.
2016-04-23 03:37:38 +03:00
Diadlo
25cec623fa
refactor(systemtrayicon, genericchatform): Replace C-style cast to static_cast 2016-04-20 22:53:27 +03:00
Binayak Ghosh
54fabb964c fixes issue #2868 2016-02-28 17:23:15 +05:30
tux3
b5cdfb3dce
Implement new SQLCipher based database and history
qTox will automatically import the old history on startup.

This new database code is much more robust.
It is very resilient and will not corrupt or disappear after a crash or
power failure, unlike the old code.
The on-disk database format is also much more compact now.

The database sync option in the advanced settings has been removed,
we know run many database operations asynchronously so performance
should not be a problem anymore, but we always ensure resiliency
in case of abrupt termination, so there is no tradeoff anymore.
2015-12-19 04:17:28 +01:00
agilob
7c6ac40d21
add debugging messages to camerasource, code reformatting to make it more readable and ogranized better 2015-10-11 07:38:44 +01:00
agilob
266c0fb989
Merge branch TheSpiritXIII:video 2015-10-10 13:49:30 +01:00
agilob
6c26262ba3
Merge remote-tracking branch 'thenain38/fix-HTML-username-status' 2015-10-06 19:01:45 +01:00
TheNain38
05d511bb66 Fix another parsing bug, fix Action message bold
When you are the author of an 'action' message, it is not in bold, but if reloading history it is
2015-10-04 14:36:38 +02:00
TheNain38
59e8755637 Dynamic translation of call, video, mute, unmute 2015-10-03 17:41:46 +02:00
Nils Fenner
41500f2134
fix window buttons in "multi-window" mode 2015-09-23 11:57:50 +02:00
TheSpiritXIII
22fcc3f7a0 Multi-window capabilities for all chats and menus 2015-09-12 19:07:44 +02:00
TheSpiritXIII
814bd922ca Video: Group audio view avatars 2015-08-18 13:40:11 -04:00
TheSpiritXIII
cd90d8d34b Video: Add collapse/expand button, expand all the way, better self video output location 2015-07-22 14:50:39 -04:00
TheSpiritXIII
1b10672179 Video: Embed video into chat 2015-07-20 17:57:46 -04:00
TheSpiritXIII
b6df8ce34a Circles: Fix sort circles on menus, fix groupchat rename through widget, improve activity sort performance 2015-06-26 10:54:50 +02:00
tux3
443df45d21
Disable RTTI 2015-06-07 20:24:55 +02:00
tux3
bdec0557dc
Don't focus msg edit when non-text keys are pressed
Fixes #1829
2015-06-07 17:05:55 +02:00
Zetok Zalbavar
67e9aeec63
Fix incorrect copyright headers
The qTox Project is not associated with the Tox Project in any way, with the
exception of "qTox" using the Tox Projet's "toxcore" collection of libraries.
In particular, the Tox Projet does not own copyright over the qTox Project's
"qTox" collection of software, source code, and assets.
The qTox Project's assets are under the sole copyright of the qTox
contributors, and no partiular rights are granted to the Tox Project.
2015-06-06 14:51:28 +01:00
tux3
20f254651d
Reorganize files 2015-06-06 01:44:47 +02:00
tux3
b948ef890f
Auto focus the chat input box when typing
Fixes #1779 for real
2015-06-05 22:08:29 +02:00
tux3
15ca7a587f
Dynamic translation
qTox can now retranslate its GUI dynamically, without needing a restart

Fixes #1671

Closes #1672
2015-06-05 21:37:01 +02:00
Zetok Zalbavar
227c061ea1
Code consistency fixes → 's/ToxID/ToxId/'
Since consistency in code is most important, 'ToxId' is used
for code, whereas 'Tox ID' anywhere outside of code.

Also fixed wrong comments in core.h:
* qTox gets only public key of a grouchat peer, not their
  Tox ID
* qTox tries to return full address (Tox ID) or public key
2015-05-23 20:15:41 +01:00
marcel
f96db5a761 replaced ToxID struct with ToxId class. 2015-05-17 22:55:50 +02:00
marcel
2ffabb19ec Renamed function isMine to isActiveProfile.
As an user can have multiple profiles where each profile has its own
Tox ID the name isMine is not very accurate.
2015-05-17 22:26:56 +02:00