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

4520 Commits

Author SHA1 Message Date
Andrew Morgan
0120cfb9fe Fix merge issues 2016-01-30 21:46:19 -08:00
Andrew Morgan
db84074926 Markdown Preference now uses enumeration type instead of integer. 2016-01-30 21:43:58 -08:00
tux3
7a846b85e0
Merge branch 'pr2894' 2016-01-30 18:21:20 +01:00
Andrew Morgan
4c51be9a6b Changed rules to keep in line with actual markdown. Although Tox is marketed somewhat as a Skype-replacement, that doesn't mean we have to break compatibility with the rest of the web. 2016-01-29 15:17:41 -08:00
sudden6
25359d55b5 Fix proxy set only after request sent. 2016-01-30 00:15:14 +01:00
sudden6
53330daab7 toxme now supports proxies 2016-01-29 23:30:07 +01:00
Andrew Morgan
a809897850 Removed leftover debug logging. 2016-01-28 16:57:34 -08:00
Andrew Morgan
518a398ca0 Added tooltip to warn user markdown preference will not change until restart. 2016-01-28 16:43:41 -08:00
Andrew Morgan
a5f9e77a6b Changed asterisk rule to bold instead of italics. Fixed extraneous container in settings. 2016-01-28 15:30:24 -08:00
Andrew Morgan
aa5d0f660c Changed markdown settings titles 2016-01-28 15:30:24 -08:00
Andrew Morgan
fd31dd816d Added space detection for markdown #imdeadinside 2016-01-28 15:30:15 -08:00
Andrew Morgan
e15315b618 Added markdown preference chooser to settings which chat abides by.
Don't parse md if only one character is involved.
Prevent things like ~3~ being caught
2016-01-28 15:18:32 -08:00
Zetok Zalbavar
3307855130
travis build script: fix copyright date 2016-01-27 19:06:32 +00:00
Zetok Zalbavar
3723f4b465
osx build script: fix building on travis
copy libs/headers required by qTox into `libs/`
2016-01-27 03:08:58 +00:00
Sean
ffa312b91b tabs to spaces 2016-01-26 13:34:29 -06:00
Sean
f96570a9f3 Merge branch 'pixfmt' of https://github.com/seanlaguna/qTox into pixfmt 2016-01-26 13:34:06 -06:00
Sean
a62d5a6bf3 Merge branch 'master' of https://github.com/seanlaguna/qTox into pixfmt 2016-01-26 13:33:25 -06:00
Sean Laguna
de4dcb5bd7 whoops, forgot an else in an else if 2016-01-26 13:27:32 -06:00
Sean
ded8d87ba8 generic pixel format selection 2016-01-26 13:14:58 -06:00
Zetok Zalbavar
0abeaa4b62
osx build script: install vpx and opus 2016-01-26 18:36:37 +00:00
Zetok Zalbavar
529349d8d3
osx build script: install toxcore into libs/ 2016-01-26 17:09:44 +00:00
RowenStipe
3a452a700f
General clean up 2016-01-26 16:22:06 +00:00
Zetok Zalbavar
5a02091441
Fix osx travis - use bootstrap-osx.sh 2016-01-26 16:21:10 +00:00
RowenStipe
ab769d1175
Updated libsodium check 2016-01-26 13:50:36 +00:00
Zetok Zalbavar
75607bcecc
Add travis (again)
Beside making it work again, there are some improvements:

Linux side:

* use minimal supported Qt version, currently it's 5.3
* use minimal supported GCC version, currently 4.8
* use newer ffmpeg version to compile against - 2.8.5
* compile qTox 2 times, first run without support for optional dependencies
* use ubuntu 14.04 for building (less deps needs to be compiled/added from PPAs)

OSX:
* add osx to build targets
2016-01-26 13:33:39 +00:00
Zetok Zalbavar
a3802bd586
Merge pull request #2861 from RowenStipe:Travis
fixed small issue with functions
2016-01-26 12:37:50 +00:00
RowenStipe
cc4dd1ab0f fixed small issue with functions 2016-01-26 07:28:07 -05:00
Zetok Zalbavar
cd3cce7f6e
Merge pull request #2860 from RowenStipe:Travis
RowenStipe (2):
      Added script to set up OS X clients to build qTox
      Added copyright header
2016-01-26 12:06:04 +00:00
RowenStipe
f6d7033b51 Added copyright header 2016-01-26 06:55:28 -05:00
RowenStipe
36ecde07da Added script to set up OS X clients to build qTox 2016-01-26 06:52:15 -05:00
tux3
c82e41ff6f
Properly ifdef filteraudio usage 2016-01-25 16:35:45 +01:00
tux3
9251f1f4ca
Fix #2854: Missing noexcept in Audio 2016-01-25 16:27:18 +01:00
Zetok Zalbavar
3343645b61
Merge pull request #2835 from agilob:login_form_style
agilob (4):
      Fix label text colour in login profile
      Loginpage: Apply black colour to qcheckbox as well
      Loginpage: Apply black colour to progressbar
      Make disabled checkbox gray
2016-01-24 14:42:35 +00:00
Zetok Zalbavar
88198a244d
Merge pull request #2851 from mahmodemos:add_ar_lang
Adding arabic language file to the languages list
2016-01-24 14:30:46 +00:00
محمود العموش
fdd956779d Adding arabic language file to the languages list 2016-01-24 14:29:52 +02:00
Nils Fenner
26e7bde991
initialize OpenAL error stack 2016-01-23 16:45:25 +01:00
tux3
87c4907054
Remove redundant source init code 2016-01-23 16:45:25 +01:00
tux3
a2fbc277fc
Replace audio check macros by functions 2016-01-23 16:45:25 +01:00
tux3
6cad8d8fe9
Remove redundant check starting audio thread
Thanks to @antis81 for spotting it
2016-01-23 16:45:25 +01:00
tux3
6425448196
Implement the playMono16Sound API sanely
This API used to start *A NEW THREAD* for every sound played!!

Now we simply have a dedicated source and buffer to play those sounds, we use a timer to cleanup the buffer 50ms after the sound is done playing (if a new sound hasn't started in the meantime)
2016-01-23 16:45:25 +01:00
tux3
f57bf331d6
Fix avform mic slider enabling 2016-01-23 16:45:25 +01:00
tux3
ce2f8fd1d5
Cleanup and improve audio input
We now subscribe to an event and wait for frames when capturing audio
input, the big avdantage is that we only have to fetch the frames from
the hardware once, and we don't need to cache anything.
The frames are simply dispatched to the client's callbacks immediately.

Also removes some outdated ifdefs that did not apply anymore.
2016-01-23 16:45:25 +01:00
tux3
0a1833a74b
Un-pimpl
This makes the code much shorter and easier to follow, especially since AudioPrivate was right in the middle of audio.cpp, awkwardly splitting things in two

Compile times should not be substantially affected since we just need to include the OpenAL C headers
2016-01-23 16:45:25 +01:00
tux3
fb68d3750c
Cleanup mic feedback related code
It simply doesn't work, so let's do it right later
2016-01-23 16:45:25 +01:00
Nils Fenner
ffbd8fba91
do not warn, when requesting the volume from an invalid audio device
Instead, we return a defined value (0.0) and keep quiet otherwise.
2016-01-23 16:45:25 +01:00
Nils Fenner
da6bed19b2
enable volume sliders only, if a valid audio device is selected 2016-01-23 16:45:25 +01:00
Nils Fenner
f4f77af071
add "play test sound" button, while changing volume 2016-01-23 16:45:25 +01:00
Nils Fenner
6f7df25f4a
initialize gain/volume after initialization of audio in/out device
The gain/volume values are now applied to the settings once, when releasing the slider instead of continuously.
2016-01-23 16:45:25 +01:00
Nils Fenner
719def932b
remove unneeded "setCurrentIndex(-1)", when reading audio in/out device lists
The combo boxes current index is set to the correct value at end of initialization loop.
2016-01-23 16:45:25 +01:00
Nils Fenner
9b5c799742
fix getter for audio master output volume
Return the ALListener's gain as "master" volume.
2016-01-23 16:45:25 +01:00