1481 Commits

Author SHA1 Message Date
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
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
pkv
aac04ff493 UI: Log monitoring type for global audio devices 2020-05-16 11:11:04 +02:00
jp9000
7993179466 cmake: Add cmake folders 2020-05-13 06:52:37 -07:00
jp9000
42bbca3d4b UI: Restore theme if settings window exit with [x]
Fixes a bug where if the theme was changed, then wasn't saved, and the
user exits the window with the [x] button, then chooses "No" when asked
to save settings, it would not restore the original theme.
2020-05-12 10:10:58 -07:00
Clayton Groeneveld
a4cfb7ab59 frontend-tools: Automatically select scripts
When script is added, automatically select script. Also when the dialog is opened,
select previous used script.
2020-05-11 18:04:37 -05:00
Matt Gajownik
d442fda3fc UI: Match Windows taskbar state to tray icon
This adds both a status icon, and changes the color
of the taskbar button itself.
2020-05-07 20:05:35 +10:00
Richard Stanway
078ea5222d UI/updater: Fix launching OBS as admin post-update
A long standing lack of synchronization on the elevated process handle
made the non-elevated process always exit, so the updater would assume
it was started elevated and launch OBS from the elevated context.

Also applies the altered working directory to the non-elevated code
path so it can find the OBS executable properly.
2020-05-05 03:18:45 +02:00
jp9000
f4f74f0d4f UI: Remove unused variable
Closes obsproject/obs-studio#2843
2020-05-03 06:22:52 -07:00
Richard Stanway
efc23bb1ee UI: Remove requirement for replay buffer hotkey
Fixes https://github.com/obsproject/obs-studio/issues/2807
2020-04-26 16:56:36 +02:00
Tom Lynch
8109183cd9
UI: Update OSX to macOS in English translation 2020-04-23 23:38:54 +01:00
Warchamp7
e1e7e14dc9 UI: Add white icons for dock titles
- Add pop-out and close svg icons
- Update all dark themes qss with the new icons
2020-04-20 17:07:04 -04:00
Colin Edwards
9447a06b05 Revert "UI: Remove unnecessary global variables"
This reverts commit f91d3baf43e69f6d1922b0e03e043af6de0baf6a.

From @pkv: the reason some of these vars were global is because Qt was not deleting them at all; as a result memory leaks have been reintroduced for: previewProjector, trayMenu, studioProgramProjector, multiviewProjectorMenu ;
2020-04-19 09:31:18 -05:00
Clayton Groeneveld
f91d3baf43 UI: Remove unnecessary global variables 2020-04-18 18:58:45 -05:00
Colin Edwards
55e2985026
Merge pull request #1944 from WizardCM/windows-rc-definition
CMake: Build Windows modules with file descriptors
2020-04-18 18:27:22 -05:00
Colin Edwards
0f10c0811a
Merge pull request #2720 from Bennik2000/status_icons_streaming_recording
UI: Add status icons for recording and streaming
2020-04-18 18:23:32 -05:00
Clayton Groeneveld
f7caa1119c UI: Adjust a few margins
-Remove 9px margins around central widget. This saves 18px of vertical
space. This will be helpful when the source context menu is added,
which is 24px tall.

-Adjusts margins in transitions dock. The top of the transitions dock
wasn't lined up with the top of the controls dock, which made it look
bad.
2020-04-18 17:24:59 -05:00
Colin Edwards
47cfe13be2
Merge pull request #2648 from kkartaltepe/fix-previewlabel-styling
UI: Fix previewLabel styling
2020-04-18 16:32:43 -05:00
Exeldro
029b4d1a05 UI: Remove all scenes in ClearSceneData 2020-04-18 17:08:52 +02:00
Clayton Groeneveld
9316373ef3 UI: Remove first run auto-config prompts 2020-04-18 00:02:26 -05:00
Bennik2000
d8e67d2f3c UI: Add status icons for recording and streaming 2020-04-16 19:15:13 +02:00
Clayton Groeneveld
d3c4991a1b UI: Highlight unknown audio device label in settings 2020-04-14 13:33:36 -05:00
Richard Stanway
a43c10b173 UI: Refuse drop operations from our own widgets
The UI feedback when dropping scene / source items on other parts of the
program indicated that something would happen instead of showing the
"no drop" icon.
2020-04-13 03:07:30 +02:00
Ed Maste
7325eace24 UI: Fix projector on other than primary display
Calling showFullScreen after setGeometry puts the projector on the
expected monitor.  Previously (on FreeBSD, at least) it opened on the
primary display.
2020-04-12 18:43:23 -04:00
Exeldro
792ceb028e UI: sort audio sources by name locale aware 2020-04-12 19:33:02 +02:00
Richard Stanway
25054d233c
Merge pull request #2677 from emaste/warning-fix
UI: Fix warning compiling with Clang 10
2020-04-10 00:39:07 +02:00
Ed Maste
9f4aaf22f0 UI: Fix warning when compiling with Clang 10
Building with Clang 10 on FreeBSD 13-CURRENT emitted a warning about
logical not (!) applying only to the left hand side of a comparison.
Update the expression to match the style of other flags conditionals.
Verified that object code is the same.
2020-04-10 00:37:37 +02:00
Richard Stanway
dca5f2fcdb UI: Properly apply hide cursor on fullscreen projectors
If a projector was created fullscreen, the isFullScreen() call would
fail since the window hasn't been displayed by Qt yet, resulting in the
cursor hiding choice not being applied. This moves the cursor hiding
into the SetMonitor call which is used for all code paths creating a
fullscreen projector, ensuring the setting is applied.

Fixes https://github.com/obsproject/obs-studio/issues/2687
2020-04-10 00:32:09 +02:00
Colin Edwards
da35310363
Merge pull request #2671 from pkviet/logfilter
UI: Log global audio devices and their filters
2020-04-09 01:04:08 -05:00
Colin Edwards
c48c9ed2de
Merge pull request #2537 from WizardCM/studio-program-label
UI: Don't open Studio Mode's "Program" label in a window
2020-04-09 00:46:48 -05:00
Colin Edwards
46c59fb13a
Merge pull request #2639 from WizardCM/no-transform
UI: Require selected source for Transform shortcut
2020-04-09 00:42:37 -05:00
Colin Edwards
276869be33
Merge pull request #2679 from kkartaltepe/ui-include-fix
UI: Fix missing includes
2020-04-09 00:20:47 -05:00
Kurt Kartaltepe
35f9e82956 UI: Fix missing includes
These files appeared to be dependent on their include order and were
missing definitions when files were compiled in a different order.
2020-04-08 17:20:52 -07:00
pkv
92989bd42b UI: Log global audio devices and their filters
Request from support-team.
Currently only sources in Scenes are logged with their filters.
This excludes global audio sources set in Settings > Audio.
This patch remedies this.
2020-04-07 21:33:09 +02:00
Matt Gajownik
9d89de79f9 UI: Add button to Analyzer in the Log Reply window 2020-04-07 20:43:12 +10:00