1664 Commits

Author SHA1 Message Date
Scratch
5421851526 UI: Add window projector option "fit to content"
Adds an option to the context menu of a windowed projector to allow
resizing the aspect ratio of the client area of the window to the
contents of what's being projected (so that there's no extra space).
2020-06-24 13:18:52 -07:00
Jim
695f3c1f33
Merge pull request #2662 from WizardCM/log-dialog
Enhance Log dialog with description and Analyze button
2020-06-24 12:01:10 -07:00
Jim
924580dbab
Merge pull request #2376 from cg2121/fix-window-width
UI: Fix buttons changing minimum window width
2020-06-24 09:52:13 -07:00
jp9000
d51ac98fcf UI: Fix pause/replay buttons having large width
Depending on the circumstances, these buttons can start with width
values that are much larger than their height, and that value wouldn't
be corrected immediately.  Setting an explicit policy to lock their
width to the same as their height value enforces the behavior that was
intended from the beginning.
2020-06-24 09:22:58 -07:00
Jim
3752809e88
Merge pull request #3090 from dodgepong/60hz-meter-update
UI: Update volmeters at 60hz
2020-06-23 04:16:11 -07:00
Ben Torell
1782490060 UI: Update volmeters at 60hz
Technically this is 62.5Hz (once every 16ms) but who's counting?
2020-06-22 09:36:22 -04:00
jpark37
c2ddc428b0 UI: Fix warnings for Qt 5.15
AllDockWidgetFeatures is now deprecated. Use underlying values instead.

Use default QFlags constructor instead of nullptr/0.

Use QWheelEvent::angleDelta() in place of orientation() and delta(), and
position() in place of x() and y().
2020-06-21 18:23:05 -07:00
Jim
b6375a2a68
Merge pull request #2956 from RytoEX/fix-GetUnusedSceneCollectionFile
UI: Fix GetUnusedSceneCollectionFile filename creation
2020-06-21 06:33:26 -07:00
Jim
f887bc3f22
Merge pull request #2970 from cg2121/adv-audio-config
UI: Add percent checkbox to advanced audio dialog
2020-06-21 06:15:54 -07:00
Jim
ef6f94e172
Merge pull request #3038 from khng300/platform-x11-locale-detect-fixes
UI: Fix GetPreferredLocales locale detection
2020-06-21 06:10:40 -07:00
Jim
dd12488700
Merge pull request #3066 from cg2121/fix-always-on-top
UI: Fix projector always on top not working on Linux
2020-06-21 05:50:08 -07:00
tlivegaming
a3ca72fd3e UI: Enable Get Stream Key Button for Trovo service
Closes obsproject/obs-studio#3005
2020-06-21 05:26:09 -07:00
Jim
211ba0b72a
Merge pull request #3067 from cg2121/projector-settings
UI: Auto update projector settings
2020-06-21 05:22:00 -07:00
Jim
129a946e3d
Merge pull request #3065 from cg2121/projector-fix
UI: Delete existing fullscreen projector
2020-06-21 04:57:41 -07:00
jp9000
d28cf8c159 UI: Add 64bit windows checks to installer
Prevents it from writing to non-existent vulkan registry locations on
32bit-only systems.
2020-06-20 19:30:51 -07:00
Richard Stanway
f03fe34009 UI/updater: Use 1 MB static memory for hashing
Allocating a vector for the hundreds of small files and only reading
64k at a time was a bottleneck on systems that were not I/O bound.
2020-06-19 16:20:32 +02:00
Richard Stanway
3c91fac18e UI/updater: Fix running updater as different user
If the elevated user was a different user account, the updater would
look in the wrong user's appdata for the manifest and fail.
2020-06-19 16:20:32 +02:00
Richard Stanway
f26941b566 UI/updater: Exit with error if elevation failed
In rare cases, "runas" would somehow launch the updater as a non-admin user
again, resulting in a loop where the updater constantly spawns processes.
Fixes https://github.com/obsproject/obs-studio/issues/2984
2020-06-19 16:20:32 +02:00
Jim
7a63f75f00
Merge pull request #2820 from Fenrirthviti/nsis-update
UI: Update NSIS installer script
2020-06-18 23:51:44 -07:00
Richard Stanway
aa313a1fb1 UI: Don't try to create service if missing file
This would cause meaningless "Service '' not found" log entries.
2020-06-18 23:49:21 +02:00
Richard Stanway
169764fc51 UI: Don't try to load replay buffer hotkey if null
If replay buffer hotkey isn't set, this would cause an error to be
logged due to a null string.
2020-06-18 23:43:52 +02:00
Clayton Groeneveld
777d9eb787 UI: Auto update projector settings 2020-06-13 21:00:55 -05:00
Clayton Groeneveld
87965dff59 UI: Fix projector always on top not working on Linux 2020-06-13 20:10:38 -05:00
Clayton Groeneveld
01fe9c990c UI: Delete existing fullscreen projector 2020-06-13 19:54:28 -05:00
Ka Ho Ng
33dd7eebd2 UI: Fix GetPreferredLocales locale detection
When scanning the preferred locales, always pick the one
with exact match before falling back to other matches.
2020-06-06 09:00:52 +08:00
Joel Bethke
f543ac365d UI: Update NSIS installer script
This brings the script in the repo up to date with what is being
used to generate release builds for OBS Studio on Windows, as
well as fixing up a few issues.
2020-06-03 16:54:50 -05:00
Clayton Groeneveld
0f8246e359 UI: Change audio device string in settings 2020-05-26 20:01:22 -05:00
Jim
4ed3df14a6
Merge pull request #2979 from notr1ch/min-res
UI: Set 8 x 8 as minimum selectable resolution
2020-05-23 21:55:44 -07:00
Richard Stanway
0a467085d2 UI: Set 8x8 as minimum selectable resolution
Since libobs internally rounds to various powers of 2 to support SSE
functions, resolutions that are too low can get rounded to zero. libobs
will fail to startup with a zero resolution, so if a user accidentally
entered anything that rounded to zero OBS would become unusable without
manual fixing by editing the profile .ini.
2020-05-24 00:48:37 +02:00
Clayton Groeneveld
9db6a33714 UI: Add percent checkbox to advanced audio dialog 2020-05-23 01:05:07 -05:00
Jim
e099fa8110
Merge pull request #2976 from ioangogo/theme-case-fix
UI: Theme case fix
2020-05-22 19:58:38 -07:00
Richard Stanway
eee7862363 UI: Don't show alpha value for color source
This isn't editable by the user, so it doesn't make sense to show it.
2020-05-23 01:15:02 +02:00
Ioan Loosley
06fdd35298
UI: Fixed case to match what the files are named
The files on disk are lower-case but QSS refrences them in
upper-case. Windows doesn't report errors as the platform isn't case
sensitive. Error messages are generated and icons not to render on
case sensitive platforms such as Linux and Mac
2020-05-22 23:42:35 +01:00
Jim
b0e8ba6db8
Merge pull request #2972 from kkartaltepe/cmake-variety-fixes
cmake: Fix warnings and normalize variables/errors
2020-05-21 19:40:57 -07:00
Kurt Kartaltepe
d928bfd1ea cmake: Fix warnings and normalize variables/errors
As of 3.17 using find_package_handle_standard_args checks that the name
of the FindXXX file and the first argument are the same case.

Some modules used non-standard variables or the old singular variables
instead of plurals. This normalizes variable usage to the new-style.

Some CMakeLists.txt did custom error checking instead of propagating
find_package errors. These were changes to call find_package with
REQUIRED or without QUIET where needed and shortens the custom status
messages. This helps users who want to enable that functionality see
what precisely wasnt found.
2020-05-21 18:45:16 -07:00
Jim
665180350d
Merge pull request #2657 from hselasky/improvement
libobs: Implement and use better scaling function for 64-bit integers
2020-05-21 18:07:53 -07:00
Jim
e822b47427
Merge pull request #2442 from WizardCM/windows-extras
Windows: Taskbar icon & colour
2020-05-21 17:45:34 -07:00
jp9000
8d6f29ffc7 Revert "Merge pull request #2637 from kkartaltepe/cmake-variety-fixes"
This reverts commit d777000a60cb9ccd78b3bdf1fbae3583b55aac0c, reversing
changes made to c9e5f30a78d087e42434813df1c56076049d62c3.
2020-05-21 00:03:09 -07:00
Jim
d777000a60
Merge pull request #2637 from kkartaltepe/cmake-variety-fixes
cmake: Fix warnings and normalize variables/errors
2020-05-20 23:45:25 -07:00
Kurt Kartaltepe
51a5be64d8 UI: Install public headers for frontend-api
Previously the api header was not targeted for installation and may have
been missing for third party users.
2020-05-20 19:53:14 -07:00
Jim
0e4dcff490
Merge pull request #2570 from cg2121/auto-config-res
UI: Use standard resolutions with auto-config
2020-05-20 18:15:24 -07:00
Jim
2b06495d1b
Merge pull request #2539 from WizardCM/clipping-visual-fix
UI: Don't clip meters when resizing with no input
2020-05-20 17:35:00 -07:00
Bennik2000
5feabfacc8 UI: Fix wrong path in the crash message dialog
Closes obsproject/obs-studio#2290
2020-05-19 22:31:06 -07:00
pkv
697563f4db UI: Swap to new srt output
Redirect non rtmp streaming to ffmpeg-mux instead of previous
ffmpeg-encoded-output which has been removed.
2020-05-19 16:15:41 -07:00
Ryan Foster
27a3da2e70 UI: Fix GetUnusedSceneCollectionFile filename creation
GetUnusedSceneCollectionFile tries to create a safe, unused filename for
a new scene collection JSON file based on the user-specified scene
collection name. It would check the length of the safe version of the
user-specified name, but then it doesn't consider that the length may
have changed when GetClosestUnusedFileName was called to alter the
filename to prevent filename collisions by adding an incremented integer
to the end of the filename. This could result in OBS thinking a filename
was safe and available, but the resulting filename could be one that
already exists. OBS could then overwrite a scene collection JSON file
with this new file without any indication that the file previously
existed.

Instead of trying to calculate a length based off of the returned
filename, let's just use the length of the config path since it's a
known string.
2020-05-19 08:14:56 -04:00
Clayton Groeneveld
2fe749fc84 UI: Make select/deselect signals work w/ group items 2020-05-19 06:36:00 -05:00
Clayton Groeneveld
29b2f11e7a UI: Allow drag & drop reorder of property lists 2020-05-19 00:13:20 -05:00
Bennik2000
b04ace4901 UI: Fix bug where stats dock steals focus of main windows 2020-05-18 18:54:03 +02:00
Clayton Groeneveld
e9d6847fb6 UI: Hide script tabs if no python settings 2020-05-18 02:50:28 -05:00
Richard Stanway
5ba2d59b3c
Merge pull request #2588 from Vainock/remove-language-region
UI: Remove language region
2020-05-17 23:17:23 +02:00