Unknown W. Brackets
c448f67b9d
Use getaddrinfo() instead of gethostbyname().
...
The latter is not re-entrant, so not thread-safe.
At the same time, support round-robin DNS in a sort of trivial way.
2013-06-08 19:10:00 -07:00
Henrik Rydgard
166acebeff
A lot of NewUI work: layout and focus fixes, "TabHolder"
2013-06-08 22:41:17 +02:00
Henrik Rydgard
8e5890a7e2
Warning fixes, add deleteDir()
2013-06-08 17:43:27 +02:00
Henrik Rydgard
c94767905a
Add missing return true;
2013-06-05 21:23:33 +02:00
Sacha
628005799f
Meego Harmattan buildfix.
2013-06-06 03:40:45 +10:00
Henrik Rydgard
04f6a35031
More logging, making things slightly more robust somehow (fixed a hang issue without knowing what actually fixed it..)
2013-06-04 23:53:41 +02:00
Henrik Rydgard
a509d38357
UI, http with gzip, etc.
2013-06-04 22:32:04 +02:00
Henrik Rydgard
3b9750ee49
Fix a race condition in downloader, some ui style stuff
2013-06-04 22:32:04 +02:00
Sacha
a4e9197fb4
Buildfix for Blackberry and Meego.
...
Disable external display for Blackberry devices with 16:9 aspect ratio and no keyboard.
Cleanup BlackberryMain.
2013-06-04 22:50:22 +10:00
Sacha
f9e9ed6e27
Update BlackberryMain.
...
Now can push game output to external display and render at external display native resolution. Very useful for Q5/Q10 owners. Maybe not so good for Z10 right now as controls are not shown on device.
Known issue: HDMI only works if it was plugged in when the application started. Hotplugging still has issues.
2013-06-04 14:40:10 +10:00
Henrik Rydgard
c87fe2f782
UIScreen helper class, derive your newUI screens from this.
2013-06-03 19:59:33 +02:00
Henrik Rydgard
2b3e1355ad
More UI fixes
2013-06-03 19:59:32 +02:00
Henrik Rydgard
27db010dde
Remove 'p' alias for functional placeholders
2013-06-03 19:59:32 +02:00
Sacha
b8f2a75677
Initialise buttons so we don't get stuck keys.
2013-06-03 03:39:02 +10:00
Sacha
b7a01dc2fe
Fix shared_ptr as well.
2013-06-02 22:58:55 +10:00
Sacha
0ef45bd23d
Move C++11 functions to std namespace.
2013-06-02 22:25:57 +10:00
Henrik Rydgård
5ee92c352b
Merge pull request #84 from xsacha/master
...
Fix up spacing/tabs in mutex.h
2013-06-02 04:51:26 -07:00
Sacha
8206163dae
Fix up spacing/tabs in mutex.h
2013-06-02 21:45:35 +10:00
Henrik Rydgard
476021d5a4
Fix namespace issues in base/functional.h
2013-06-02 13:44:04 +02:00
Henrik Rydgard
396a232b78
Increase the size of some char arrays that hold paths.
2013-06-02 10:36:37 +02:00
Sacha
58c40dabb1
Fix C++11 usage in native with platform-specific hacks.
2013-06-02 13:06:40 +10:00
Henrik Rydgard
4267d9903c
More networking and UI stuff
2013-06-01 18:59:31 +02:00
Sacha
e2378dd970
New Blackberry 10 frontend
...
New BlackberryMain class, separated in to main, display and audio.
Multiple display support (such as HDMI, AV out or Blackberry dock).
Switchable display support. Starts in internal display for menus. Switches to external display for in game. Currently does not work properly for hotplugging screens so the switchable displays is disabled.
2013-06-01 16:04:10 +10:00
Henrik Rydgard
4a208872c5
Android buildfixing
2013-06-01 00:50:08 +02:00
Henrik Rydgard
21a9fa2645
Merge remote-tracking branch 'origin'
...
Conflicts:
native.vcxproj
native.vcxproj.filters
2013-05-31 23:08:19 +02:00
Henrik Rydgard
5f659ce282
Add some network stuff (background downloader, URL splitter)
2013-05-31 23:04:42 +02:00
Henrik Rydgård
0de33b1d4b
Merge pull request #82 from lioncash/master
...
Memleak fix.
2013-05-30 12:22:20 -07:00
lioncash
5f16de6667
Fix a memleak in function DNSResolveTry in resolve.cpp.
2013-05-30 15:08:51 -04:00
Henrik Rydgård
57d54633d8
Merge pull request #81 from KingDuckZ/master
...
Warning fix on Intel compiler
2013-05-30 07:41:17 -07:00
King_DuckZ
ceefd214c4
Warning fix on Intel compiler.
2013-05-30 15:19:00 +02:00
Henrik Rydgard
7b7c44eb50
Smooth autoscroll
2013-05-28 00:50:19 +02:00
Henrik Rydgard
f075c8fd56
Merge DrawContext into UIContext.
2013-05-28 00:32:00 +02:00
Henrik Rydgard
cbf1b2d29d
Use scissor to clip scrollviews correctly.
2013-05-27 22:57:06 +02:00
Henrik Rydgard
0d4e1e8201
Add AnchorLayout, TriggerButton
2013-05-27 22:22:35 +02:00
Henrik Rydgard
0244a26544
More newUI work: better focus movement, autoscroll
2013-05-27 21:39:56 +02:00
Henrik Rydgard
2a821db448
NewUI: Gridlayout. Fully directional keyboard focus movement.
2013-05-27 00:54:02 +02:00
Henrik Rydgård
f6b5119112
Merge pull request #79 from unknownbrackets/audio-timing
...
Play only the rendered/valid samples in SLES
2013-05-25 14:40:31 -07:00
Unknown W. Brackets
23d73664c4
Play only the rendered/valid samples in SLES.
2013-05-25 14:30:31 -07:00
Henrik Rydgård
edac7c236c
Merge pull request #78 from unknownbrackets/audio-timing
...
Return number of samples in NativeApp::audioRender()
2013-05-25 13:22:30 -07:00
Unknown W. Brackets
a17a16eda2
Avoid a memory copy when audio is ahead.
2013-05-25 12:11:06 -07:00
Unknown W. Brackets
85f386c38b
Return number of samples in NativeApp::audioRender().
...
This way we can try to avoid writing invalid data to the buffer.
2013-05-25 11:44:32 -07:00
Henrik Rydgard
7bad683cae
More new UI work
2013-05-25 16:57:20 +02:00
Henrik Rydgard
02a3cc1b5b
ScrollView kinda working
2013-05-25 16:57:19 +02:00
Henrik Rydgard
f482d3c857
NewUI: Add basic keyboard focus movement
2013-05-25 16:57:19 +02:00
Henrik Rydgard
8b75763275
WIP new UI layout system!
2013-05-25 16:57:07 +02:00
Sacha
dfe03d3d97
Blackberry: Improve Wiimote key mappings.
...
Also, map dpad to analog.
2013-05-23 18:20:53 +10:00
Henrik Rydgard
42e5c184c2
Warning fix
2013-05-22 11:04:14 +02:00
Sacha
cc80e0292f
Add controller/gamepad support to Blackberry 10.
2013-05-22 01:30:43 +10:00
Sacha
6c3a381781
Remove code that is redundant for Blackberry 10.
2013-05-21 23:46:12 +10:00
Sacha
a6dc54e678
Remove Playbook OS support.
...
Remove the #ifdef's for BB10.
Switch asound to OpenAL (which is included in BB10). Fixes some glitches with sound.
2013-05-20 22:43:18 +10:00