Commit Graph
39166 Commits
Author SHA1 Message Date
Henrik Rydgard 3ab2094b76 Buildfix attempt 2016-08-28 18:35:57 +02:00
Chris Burgener 842a29b0ae Add Frame Advance 2016-08-28 12:21:45 -04:00
Unknown W. Brackets 933949ddd2 Merge pull request #8937 from hrydgard/memprot-w-xor-x
Implement W^X-compatible JIT. Hopefully makes JIT work on iOS again
2016-08-28 09:19:54 -07:00
Henrik Rydgard 2a4f4ed41d iOS buildfix, fix another comment 2016-08-28 18:10:26 +02:00
Henrik Rydgard 1e4b77fb49 Use PAGE_SIZE, fix a comment, fix some indentation. 2016-08-28 18:07:54 +02:00
Henrik Rydgard d82ba24485 Symbian buildfix 2016-08-28 15:07:33 +02:00
Henrik Rydgard b264657d56 Implement W^X-compatible path. Works on Windows and Android, hopefully iOS (untested).
Disabled block linking in this mode, can re-enable with some more work later.

To enable W^X on other platforms than iOS, simply change PlatformIsWXExclusive.
2016-08-28 14:52:08 +02:00
Henrik Rydgard daf10ec882 Use JIT on iOS (not actually working yet, but it will start working in later commits) 2016-08-28 13:43:59 +02:00
Henrik Rydgard 13e73f8c86 Make sure to reset memory protection as appropriate. Remove unused WriteProtect on codeblocks (to be redesigned) 2016-08-28 13:37:30 +02:00
Henrik Rydgard 323eb72b7c Write-protect the dispatcher on all platforms. 2016-08-28 13:35:27 +02:00
Henrik Rydgard 5005e83254 Consistency improvements to the memory protect/alloc APIs 2016-08-28 12:28:17 +02:00
Henrik Rydgard adbac55b1d Replace Write/UnWriteProtectMemory with ProtectMemory that takes flags 2016-08-28 12:09:01 +02:00
Henrik Rydgård 22cef33a18 Merge pull request #8932 from unknownbrackets/font-minor
Font: Draw nothing for chars before first glyph
2016-08-28 11:21:24 +02:00
Henrik Rydgård ef3f369311 Merge pull request #8933 from unknownbrackets/utility-deps
Utility: Only require avcodec for mp4
2016-08-28 11:19:24 +02:00
Henrik Rydgård 0a1f322769 Merge pull request #8934 from unknownbrackets/io-seek
Io: Do not delay on file seek
2016-08-28 11:18:45 +02:00
Unknown W. Brackets 5a797a08f7 Io: Do not delay on file seek.
This doesn't seem to reschedule, must've measured wrong in #939.

Fixes #8749.
2016-08-27 14:18:59 -07:00
Unknown W. Brackets ee664fdc25 Utility: Only require avcodec for mp4.
Test was ambiguous - testing more carefully only 300 is required.  Not
sure how I got this wrong before since only 300 was required for the
others...

Should help #8926.
2016-08-27 10:15:35 -07:00
Unknown W. Brackets eacebd4c41 Font: Draw nothing for chars before first glyph.
This matches the logic in sceFontGetCharImageRect(), and improves tests.
Previously, we were drawing the alt character in these cases.
2016-08-27 09:41:01 -07:00
Henrik Rydgård 028e98a92c Merge pull request #8919 from unknownbrackets/ui-tweaks
UI: Suppress state slot switch preview during boot
2016-08-21 11:08:14 +02:00
Henrik Rydgård 947680dd8e Merge pull request #8924 from unknownbrackets/runtime-core
Fix cpu core change during runtime
2016-08-21 11:08:01 +02:00
Unknown W. Brackets 0855720e04 Fix cpu core change during runtime.
Some change must've lost this - the core wasn't updating without a game
restart.  Now it does.
2016-08-20 12:31:02 -07:00
Unknown W. Brackets a3efa99cd4 UI: Suppress state slot switch preview during boot.
Boot may change the slot if the game has game-specific settings, but we
shouldn't show the preview.

Should fix #8916.
2016-08-16 21:24:01 -07:00
Unknown W. Brackets e4b0f295b2 Oops, these should copy the i18n pointer.
Since it leaves scope.
2016-08-16 18:56:04 -07:00
Henrik Rydgård 2184d371c1 Merge pull request #8914 from unknownbrackets/psmf-size
Psmf: Ignore stream size with old PsmfPlayer libs
2016-08-16 15:03:24 +02:00
Henrik Rydgård 6b4b21726b Merge pull request #8913 from unknownbrackets/ui-tweaks
Add setting tips on selection
2016-08-16 15:02:42 +02:00
Henrik Rydgård 540e86b340 Merge pull request #8894 from unknownbrackets/core-profile
Clean up a few more core profile things
2016-08-16 15:01:55 +02:00
Unknown W. Brackets a0484dce65 Psmf: Use packets for end in all versions.
Turns out no version of the library looks at the pts for the end.
2016-08-15 21:00:10 -07:00
Unknown W. Brackets 4eca12890e Merge pull request #6 from sum2012/psmf-size
Psmf: Ignore last timestamp with old PsmfPlayer libs
2016-08-15 20:57:03 -07:00
Unknown W. Brackets 4507bb8466 Fix more cases of FILL_PARENT used as WRAP_CONTENT.
Fixes #8915.
2016-08-15 20:40:44 -07:00
sum2012 00a379e9f0 Psmf: Ignore last timestamp with old PsmfPlayer libs
Until 5.50
Fix #6574
2016-08-16 03:57:36 +08:00
Unknown W. Brackets f23391578f Psmf: Ignore stream size with old PsmfPlayer libs.
Until 5.50, the stream size was not used.  See #6574.
2016-08-14 17:24:29 -07:00
Unknown W. Brackets d9bbbab1b9 UI: Add various tips to some settings.
Let's not overuse these though: if it's not needed, that's for the best.
2016-08-14 15:26:42 -07:00
Unknown W. Brackets 0fd6f296de UI: Add a view to show setting info. 2016-08-14 14:57:39 -07:00
Unknown W. Brackets da7a42a957 UI: Measure text with & in it properly. 2016-08-14 14:57:39 -07:00
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
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