Commit graph

20831 commits

Author SHA1 Message Date
Unknown W. Brackets
f4c735ee4e UI: Allow scrollviews to wrap content.
In the opposing direction, we can't AT_MOST if we don't have a good size
and we're wrapping content.  This can happen inside a LinearLayout.
2016-08-14 13:09:55 -07:00
Unknown W. Brackets
086dc9e0ed Move Apple GL2.0 forcing to a common place. 2016-08-08 17:56:11 -07:00
Unknown W. Brackets
6088c7d5f5 Ensure elided core profile extensions are set. 2016-08-08 17:56:11 -07:00
Unknown W. Brackets
b1e57a29a4 Handle core profile better in shader generators. 2016-08-08 17:56:10 -07:00
Unknown W. Brackets
2e2674be21 Properly allow triggering a core context.
This will be useful on Mac.
2016-08-08 17:56:09 -07:00
Henrik Rydgård
0924dbfdee Merge pull request #8900 from unknownbrackets/ui-text-wrap
Wrap text in many places where it makes sense
2016-08-09 00:16:13 +02:00
Henrik Rydgård
f9401eab66 Merge pull request #8901 from unknownbrackets/utf8-bom
Remove UTF-8 BOMs from a few files
2016-08-09 00:14:57 +02:00
Unknown W. Brackets
34358fb907 Use an explicit Unicode reference.
This should be less likely of triggering weird issues with Visual Studio.
2016-08-07 18:02:10 -07:00
Unknown W. Brackets
f0a8e931ff Remove UTF-8 BOMs from a few files.
And note the only ones that do need them in editorconfig.
2016-08-07 17:59:35 -07:00
Unknown W. Brackets
192d6ca60a UI: Allow explicit newlines in popup choice titles. 2016-08-07 17:44:02 -07:00
Unknown W. Brackets
604d6113c1 UI: Allow choices and checkboxes to wrap.
If the text is too long, they will scroll down first, then wrap.
2016-08-07 17:35:41 -07:00
Unknown W. Brackets
d6820f3cc3 UI: Allow measuring text with a scale. 2016-08-07 16:49:50 -07:00
Unknown W. Brackets
2076d66663 UI: Wrap descriptions in the savedata manager.
Sometimes the savedata info is long, better to wrap than overflow the box.
2016-08-07 16:35:59 -07:00
Unknown W. Brackets
ab3ed7d2ef UI: Account for flexible things changing on wrap.
If something has a flexible width, that may affect its final calculated
height.  This allows it to grow in such a situation.
2016-08-07 16:35:58 -07:00
Unknown W. Brackets
49f96917c6 UI: Allow title, etc. to wrap on game info screen. 2016-08-07 16:35:58 -07:00
Unknown W. Brackets
838de5b5c0 UI: Asynchronously load the game info screen.
No reason to wait, just need to keep the buttons hidden.

Intentionally hiding even the buttons below the possibly added buttons, so
we don't accidentally play "button keep away" with the user.
2016-08-07 16:35:57 -07:00
Unknown W. Brackets
64403e520f UI: Wrap browsing path if long. 2016-08-07 16:35:56 -07:00
Unknown W. Brackets
f7231686bd UI: Make it easy to measure with spec info.
This still allows skipping a Measure() override, so that it can still
clamp properly.
2016-08-07 16:35:56 -07:00
Unknown W. Brackets
d00a2bbc04 UI: Specify max height for horizontal scroll. 2016-08-07 16:35:55 -07:00
Henrik Rydgård
fb05c05e74 Merge pull request #8898 from unknownbrackets/ui-text-scale
UI: Scale option text down when there's no space
2016-08-08 00:46:26 +02:00
Henrik Rydgård
e6fbea4630 Merge pull request #8897 from unknownbrackets/font-minor
Font: Skip log on missing zh_gb.pgf
2016-08-08 00:46:08 +02:00
Unknown W. Brackets
277983ce35 UI: Scale option text down when there's no space.
This way, smaller or portrait screens just get smaller text, rather than
jumbled text going off the side.  Particularly important for some
translations.
2016-08-07 15:24:49 -07:00
Unknown W. Brackets
df5377b8d5 UI: Measure small text correctly in Qt/Windows. 2016-08-07 15:24:48 -07:00
Unknown W. Brackets
b37ac3580d UI: Use a helper for vert/horiz margin sum. 2016-08-07 15:24:47 -07:00
Unknown W. Brackets
9655013938 Font: Skip log on missing zh_gb.pgf.
Fixes #8332.
2016-08-07 10:27:27 -07:00
Henrik Rydgård
889ab87639 Merge pull request #8893 from unknownbrackets/virtfs
Avoid crash in virtfs if handler fails to load
2016-08-07 12:35:27 +02:00
Henrik Rydgård
684b123a6d Merge pull request #8891 from unknownbrackets/mytranwars
Hook another VRAM modifying function in Mytran Wars
2016-08-07 12:35:11 +02:00
Henrik Rydgård
bfdfd027fa Merge pull request #8890 from unknownbrackets/debugger
gedbg: Fix draw stepping during rendering
2016-08-07 12:34:56 +02:00
Henrik Rydgård
4427fcc8d8 Merge pull request #8892 from unknownbrackets/display
Display: Flip at least once every 10 frames
2016-08-07 12:34:27 +02:00
Unknown W. Brackets
92cdb583aa virtfs: Log properly on handler load failure. 2016-08-06 20:04:50 -07:00
Unknown W. Brackets
f101e2710c Avoid a c++11 rule violation.
No default args on lambdas, unfortunately...?
2016-08-06 20:01:50 -07:00
Unknown W. Brackets
25c320aa4b virtfs: Avoid crash if handler cannot be loaded.
For example, if it was renamed or is for the wrong OS.
2016-08-06 19:23:46 -07:00
Unknown W. Brackets
ad01fee44a Buildfix for an older clang.
But this is in line with our standard include order, anyway.
2016-08-06 18:57:30 -07:00
Unknown W. Brackets
ee3c8b6ea5 Display: Don't count a forced NEXTFRAME as a flip. 2016-08-06 16:47:33 -07:00
Unknown W. Brackets
3ca014858f Display: Flip at least once every 10 frames.
If we don't do this, the FPS doesn't update, and on some platforms, we
never read input.  This can basically mean that PPSSPP will hang.
2016-08-06 16:32:57 -07:00
Unknown W. Brackets
0e43f1cdff Hook another VRAM modifying function.
Seems to be a copy.
2016-08-06 16:30:47 -07:00
Unknown W. Brackets
c79916711e gedbg: Fix draw stepping during rendering.
Was losing the currently bound framebuffer.
2016-08-06 15:57:44 -07:00
Henrik Rydgård
eac18489e6 Merge pull request #8867 from unknownbrackets/mpeg
Improve mpeg parsing / corruption issues
2016-08-06 18:14:17 +02:00
Henrik Rydgård
ef95bb05cc Merge pull request #8871 from unknownbrackets/android-power
Detect power saving mode on Android
2016-08-06 12:16:01 +02:00
Henrik Rydgård
ea6b72d4c9 Merge pull request #8888 from unknownbrackets/warnings
Warning fixes
2016-08-06 10:59:06 +02:00
Henrik Rydgård
0031244b1c Merge pull request #8889 from unknownbrackets/memstick
Initial support for memstick insert/remove
2016-08-06 10:58:49 +02:00
Henrik Rydgård
61c63e75c4 Merge pull request #8884 from sum2012/Font-minor
Better support zh_gb.pgf
2016-08-06 10:58:10 +02:00
Henrik Rydgård
cbf0a479fa Merge pull request #8882 from unknownbrackets/debugger
Add custom log expressions to the debugger
2016-08-06 10:54:57 +02:00
Unknown W. Brackets
980d4194c0 Io: Add a config setting for memstick status. 2016-08-05 21:27:53 -07:00
Unknown W. Brackets
bf7a020c6a Io: Notify callbacks on memstick insert/remove. 2016-08-05 21:05:48 -07:00
Unknown W. Brackets
9e488e8be4 Io: Correct some memstick devctl accuracy issues.
This makes it pass the right values in a few more cases, and unregister
callbacks properly.  Also handles duplicate callbacks.
2016-08-05 20:42:58 -07:00
sum2012
da8188ab7d Add more check for safely 2016-08-06 06:52:48 +08:00
Unknown W. Brackets
2d4e75369a Oops, fix typo.
Pointed out by Florin9doi - wasn't currently causing problems because the
value 1 isn't yet being used.
2016-08-05 11:34:22 -07:00
Unknown W. Brackets
7127de302e Avoid some unused variable warnings. 2016-08-05 10:48:18 -07:00
Unknown W. Brackets
360be4073d Fix a switch missing value warning. 2016-08-05 10:48:04 -07:00