Commit Graph

482 Commits

Author SHA1 Message Date
Unknown W. Brackets
53cc4524b1 UI: Center multiline text more correctly. 2016-08-14 14:57:38 -07:00
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
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
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
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
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
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
fd546ff21d Fix some type comparison warnings. 2016-08-05 10:47:45 -07:00
Unknown W. Brackets
e55198f7e7 Correct some initialization order warnings.
Also, another missing init with IRBlocks.
2016-08-05 10:46:11 -07:00
Unknown W. Brackets
4bb24e0d8a Use gl3stub versions of VAO funcs on GLES. 2016-07-24 12:52:23 -07:00
Henrik Rydgård
3fc255b429 Make it possible to run even if SDL was built with joystick disabled. Should fix #8851. 2016-07-09 09:15:49 +02:00
Unknown W. Brackets
a2494b4ff2 UI: Allow TextViews to use wordwrap.
But they must have a fixed width.
2016-07-04 16:03:22 -07:00
Unknown W. Brackets
30e99206c9 UI: Add a generic word wrapper class. 2016-07-04 16:03:22 -07:00
Unknown W. Brackets
3c47440d0c http: Set an explicit timeout on HTTP connect.
Before we were just relying on whatever timeout connect() wanted.
2016-07-04 09:46:19 -07:00
Unknown W. Brackets
287d1967a5 http: Properly stop server on stop server. 2016-07-04 07:24:04 -07:00
Unknown W. Brackets
3eee81953a http: Report local address to server.
This allows matching inside a network.
2016-07-03 22:13:51 -07:00
Unknown W. Brackets
bc614b6f85 http: Add actual serving of recent ISOs. 2016-07-03 22:13:48 -07:00
Unknown W. Brackets
0c0525ed87 http: Send listing back as text/plain.
Since it isn't text/html.
2016-07-03 22:13:46 -07:00
Unknown W. Brackets
ee29c6c50f http: Allow binding a random port, timeout.
The timeout is useful to allow for shutdown of the thread.
2016-07-03 22:13:45 -07:00
Unknown W. Brackets
347158ecc6 Include Content-Transfer-Encoding in uploads.
We should specify it's binary, otherwise proxies might munge the data.
2016-06-12 09:07:04 -07:00
Unknown W. Brackets
f084084ff7 Clean up accidental debug code. 2016-05-31 11:53:17 -07:00
Unknown W. Brackets
30e13c7c37 Clean up some unused result warnings. 2016-05-31 11:49:59 -07:00
Unknown W. Brackets
419b960403 x86jit: Fix params in Replace_fabsf. 2016-05-31 10:40:14 -07:00
Henrik Rydgård
3147f1ac95 Merge pull request #8775 from unknownbrackets/http
Clean up HTTP server implementation
2016-05-28 12:34:55 +02:00
Unknown W. Brackets
95d912c378 Get rid of the input_state global linkage. 2016-05-27 20:24:01 -07:00
Unknown W. Brackets
11c7c25b03 http: Add a fast-path for large chunked sends.
These will be common.  Skip a memcpy.
2016-05-26 18:16:43 -07:00
Unknown W. Brackets
06c3dca1da http: Allow > 2GB responses. 2016-05-26 18:16:42 -07:00
Unknown W. Brackets
2dd157733b http: Allow customizing the response headers. 2016-05-26 18:16:40 -07:00
Unknown W. Brackets
8fc610e2d1 http: Make it possible to override 404 handling. 2016-05-26 18:16:40 -07:00
Unknown W. Brackets
1cc49f3be4 http: Allow retrieving other headers.
Such as range request headers, accept headers, cookies, etc.
2016-05-26 18:16:39 -07:00
Unknown W. Brackets
41e7d3ecde http: Switch to using input/output sinks.
This should be more performant than reading one byte at a time in a loop.
2016-05-26 18:16:38 -07:00
Unknown W. Brackets
85506e98fe http: Parse headers with folding, not alloc. 2016-05-26 18:16:38 -07:00
Unknown W. Brackets
026a69ebb0 http: Allow non-blocking on Windows. 2016-05-26 18:16:37 -07:00
Henrik Rydgard
fd0af5b271 Vulkan: Mostly pass the validation layers in SDK 1.0.13 2016-05-24 21:41:35 +02:00
Unknown W. Brackets
a4926de436 Qt: Allow full shutdown and config save on exit.
We want to save the config on exit, as pointed out by akien-mga, #8026.
Also works around what may be a Ubuntu bug, causing segfaults on exit.
2016-05-23 23:14:12 -07:00
Unknown W. Brackets
ba908b7b1e Qt: Use new window size config settings.
It's no longer tied directly to render resolution.
2016-05-21 09:58:58 -07:00
Unknown W. Brackets
6159bc003b Allow Qt platforms to use smallWindow dpi logic.
It doesn't look like there's any reason to limit this to Windows.
2016-05-21 09:58:23 -07:00
Unknown W. Brackets
eb45c5bc89 Update to latest armips to fix unittest on Android.
Also fixes ARRAY_SIZE warning.
2016-05-21 09:29:20 -07:00
Unknown W. Brackets
a913e0f0fc Remove some unused private properties. 2016-05-21 09:29:04 -07:00
Unknown W. Brackets
b09c2b1f75 Add some missing override definitions. 2016-05-21 09:29:03 -07:00
Henrik Rydgard
51bcb02921 Minor vulkan updates to match the latest SDK/validator 2016-05-14 16:29:40 +02:00
Unknown W. Brackets
2e1986d0c8 Fix a few reorder warnings. 2016-05-01 09:50:03 -07:00
Unknown W. Brackets
a518ad783d UI: Align screenshot preview in savestate manager. 2016-04-24 11:51:06 -07:00
Henrik Rydgard
fa64417917 Minor warning fixes 2016-04-10 10:34:39 +02:00