PatTheMav
efbae916fb
UI: Fix crash on macOS when closing OAUTH browser panel
...
Deleting the cefWidget in the panel's destructor can result in a crash
on macOS because the underlying NSView might have been destroyed in
memory between Qt closing the QDialog and the destructor call.
Moving the browser destruction into the accept and reject calls ensures
that CEF can clean up its state _before_ Qt tears down the view
hierarchy.
2023-05-08 18:22:27 -04:00
tytan652
169cd07c42
UI: Avoid registering CEF OAuth integrations on Wayland
2023-05-07 13:51:52 -07:00
derrod
4419786840
UI: Exit and show error if clearing scene data fails
2023-05-07 11:03:53 -07:00
田七不甜
e1a202b370
UI: Make "Portable Mode" translateable
2023-05-06 16:21:56 -07:00
derrod
982c424de3
UI: Do not show unassigned icon for monitored sources
2023-05-05 17:38:34 -04:00
derrod
0c0ec90eac
UI: Fix FLAC missing from builtin codecs list
2023-05-05 12:48:19 -04:00
Richard Stanway
132f0b85fc
UI: Relax mc_trans_video_imagescaler.dll DLL block
...
This is actually a MainConcept redistributable and not related to Adobe.
Unfortunately Elgato Game Capture HD software relies on this dependency
when presenting the DirectShow device to OBS, so we unintentionally
blocked it from loading.
Instead of outright blocking, we now block only older versions than the
version shipped by Elgato, which has hopefully been patched to fix the
random crashes.
2023-05-03 19:16:18 -04:00
Vainock
e23b80151b
UI: Fix case inconsistency in translation key
...
[skip crowdin-sync]
2023-05-03 02:54:14 -07:00
Translation Updater
a0fbdc3c34
Update translations from Crowdin
2023-05-01 23:11:13 +00:00
derrod
0be8d8a28d
UI: Fix building macOS/Sparkle without Browser
2023-05-01 10:45:08 -04:00
derrod
4a8e8644e0
cmake,UI: Remove unused legacy DSA public key
2023-04-29 16:10:45 -07:00
gxalpha
1437a6e4fc
UI: Explicitly focus Ok button in properties dialog
2023-04-29 16:07:38 -07:00
tytan652
2b4ef6d6ea
UI: Fix advanced audio encoder bitrate always set to 192
...
Audio bitrate maps needs to be populated while finding closest available
bitrate
Not populating makes always fallback to 192
2023-04-23 23:47:32 -07:00
tytan652
3c1733b40d
UI: Fix the license in the AppStream metadata
...
The "or later" must be specified in the identifier or it will be seen
as "only".
2023-04-22 16:41:13 -07:00
derrod
ff06927c71
UI: Disable auto-remux for AV1+PCM, use MOV for PCM
2023-04-22 16:16:40 -07:00
gxalpha
a4ea51b2b1
cmake: Add properties and log viewer UI files to sources list
2023-04-22 16:01:47 -07:00
gxalpha
597ceb2ff0
UI: Make hotkey edit layout margins symmetrical
2023-04-15 16:38:18 -07:00
gxalpha
1578cca9b2
UI: Sort Add Source menu case insensitively
2023-04-15 16:06:36 -07:00
derrod
36d30cad19
UI: Fix simple mode replay buffer maximum not being set
2023-04-14 19:35:59 -04:00
Richard Stanway
1d7c066cf5
UI: Avoid calling libobs functions with null pointers in projectors
2023-04-14 15:50:59 -07:00
Richard Stanway
bacc3ac8ed
UI: Add Citrix ICAService to Windows DLL blocklist
2023-04-12 21:32:49 +00:00
derrod
f3c075f19f
UI: Do not disable events when disabling codecs
2023-04-12 17:17:11 +00:00
jpark37
bad13c90e0
decklink-output-ui: Don't crash on missing device
...
Noticed OBS crashing after I removed DeckLink hardware that I enabled
auto-start output against.
2023-04-09 11:53:12 -07:00
gxalpha
e03a2751f4
cmake: Set CFBundleName to "OBS Studio"
2023-04-09 03:58:40 +02:00
PatTheMav
2978f20b06
UI: Replace use of macros for macOS updater with character constants
...
Also updates unqualified call to `std::move` per modern clang standards
2023-04-08 16:21:40 -07:00
gxalpha
1b708b312e
cmake: Fix build without Sparkle
2023-04-08 05:44:08 +02:00
derrod
50d1b5ccb4
UI: Lower Sparkle update check interval for pre-release builds
2023-04-07 20:59:30 +02:00
Richard Stanway
9cdd847445
UI: Fix incorrect use of QT_TO_UTF8 in SpeakerLayoutChanged
...
The string is immediately destroyed after use, so taking a pointer to it
ends up pointing to invalid memory. Let's avoid using QT_TO_UTF8 here.
2023-04-05 21:26:21 +00:00
gxalpha
6c676d39da
UI: Removed unused static AddProjectorMenuMonitors declaration
...
e832b42 made AddProjectorMenuMonitors a member function of OBSBasic, but
the (now unused) declaration of the static function never got removed.
2023-04-05 21:26:17 +00:00
PatTheMav
1bab65683e
frontend-plugins: Fix auto scene switcher not saving settings on close
...
The `done` event does not emit a `closeEvent`, but saving is only
implemented in that event handler. Changing this to `close` correctly
triggers the default QWidget event and thus settings are saved.
2023-04-05 21:26:15 +00:00
derrod
e8541b9e27
UI: Recalculate scroll position after resize
2023-04-05 21:26:10 +00:00
derrod
d277a7541f
Revert "UI: Only adjust size of properties on first draw"
...
This reverts commit 624a0da302 .
2023-04-05 21:26:10 +00:00
derrod
87e294fa5f
UI: Fix unassigned audio source check in callback
2023-04-05 21:53:36 +02:00
derrod
16909e0566
UI: Fix simple mode container check
2023-04-05 09:45:56 -07:00
gxalpha
5fe8dac563
UI: Fix "Unqualified call to 'std::move'" warnings
2023-04-04 16:24:35 -07:00
derrod
7743ccfb03
UI: Fix replay buffer/split file extension
2023-04-05 01:14:26 +02:00
Richard Stanway
820fba2d7f
UI: Remove unnecessary variables type conversions
...
Detected by PVS Studio.
2023-04-05 00:40:31 +02:00
PatTheMav
ee3c2d0e8a
CI: Fix build errors with Xcode 14.3 and platform SDK 13.3
...
Xcode 14.3 and the macOS 13.3 platform SDK introduced a few breaking
changes:
* Updated AppleClang emits warnings about unqualified std cast calls
when using C++ - as `move` is too broad a word, developers are to use
`std::move` to make this explicit. Alas this is exactly what `json11`
uses and because that library is archived, there is no possibility
of an upstream update.
* Apple guarded calls to old screen capture APIs as "available but
deprecated", but seems to have chosen the wrong lower version
boundary: The calls are flagged as being available for macOS 13 and
macOS 14 only.
To fix this, the existing macOS platform SDK header is replaced by a
local copy that uses macOS 11 as the lower boundary (the oldest macOS
version supported by obs-studio anyway)
2023-04-04 17:27:59 +00:00
PatTheMav
6e07b86729
cmake: Remove EXCLUDE_FROM_ALL directive from interface libraries
2023-04-04 17:27:54 +00:00
gxalpha
5444732c91
UI: Use name instead of internal extension for incompatible codec check
2023-04-04 17:27:45 +00:00
derrod
69ac2b7aaa
UI: Fix Simple Mode compat check only checking video codec
2023-04-04 00:54:28 +00:00
derrod
5a375defa8
UI: Rework recording format handling
2023-04-04 00:54:28 +00:00
Richard Stanway
a781f4a887
UI: Don't std::move main in SetUndoProperties
...
main is used later in the function, making this undefined behavior.
Though we can move the scene_name string.
Detected by PVS Studio.
2023-04-03 21:47:14 +02:00
derrod
288dfd2660
UI: Remove unused uppercase format string
2023-04-03 16:18:48 +02:00
Jim
d166bee3b6
Revert "UI: Fix preview rendering order"
...
This reverts commit bb34315f90 .
2023-04-01 18:00:44 -07:00
cg2121
3a610c698e
UI: Remove UNUSED_PARAMETER where unnecessary
...
Since cpp allows removing the unused parameters from the function name,
UNUSED_PARAMETER is not needed, unless it is in an ifdef.
2023-04-01 16:54:02 -07:00
cg2121
7475261542
UI: Fix rotation handle when source is flipped
...
The rotation handle and cursor would be drawn at the wrong spot
if the source was flipped.
2023-04-01 16:48:24 -07:00
cg2121
30682e999e
UI: Use UUIDs for QDataStream
...
UUIDs are more robust than names as they can't be changed.
2023-04-01 16:45:48 -07:00
cg2121
bb34315f90
UI: Fix preview rendering order
...
The spacing helpers were being rendered above the preview
safe areas.
2023-04-01 16:44:38 -07:00
gxalpha
2f2fc33f91
UI: Disallow closing settings without selected codec or format
2023-04-01 16:43:07 -07:00