Henrik Rydgard
25711066df
Add prioritizedworkqueue, thread stuff, ui tweaks, small optimizations in file util
2013-04-13 21:22:03 +02:00
Sacha
bff1115f0c
Support Qt 'app boosters'. A technique where Qt apps are treated as shared objects and loaded in to an existing Qt app shell. This is used on Harmattan and Blackberry10.
2013-04-14 03:00:43 +10:00
Sacha
5626d01e14
More Harmattan/N9 support.
2013-04-12 02:50:14 +10:00
Sacha
bd7bee5a11
Blackberry tablets have reversed accelerometer values (y = x) due to their landscape affinity. The only Blackberry tablet is also the only device with 1024 pixel width, so check for this as it is easier than looking up machine ID.
2013-04-12 00:21:35 +10:00
Sacha
9c96dcea91
Blackberry: If PPSSPP dir doesn't exist yet, a lot of things break. Let's just use documents dir.
2013-04-11 15:12:48 +10:00
Unknown W. Brackets
8e0e4bf1d1
Uninvert bumpers, fixes hrydgard/ppsspp#1096 .
2013-04-06 20:22:29 -07:00
Sacha
7ebbe20904
Support accelerometer in Qt for all mobile platforms.
2013-04-07 00:52:09 +10:00
Sacha
110e88e257
Fix stuck keys on Qt and Blackberry
2013-04-07 00:34:46 +10:00
Sacha
00307429eb
Add input state to Qt, as required
2013-04-01 22:43:01 +10:00
Henrik Rydgard
1f34f8ff60
Allow loading textures from a PNG in RAM. Add startsWith string function.
2013-03-30 13:11:52 +01:00
Unknown W. Brackets
abc38a90f6
Buildfix for Mac/Linux/etc.
...
Although, Qt seems more involved...
2013-03-29 22:20:21 -07:00
Henrik Rydgard
a47c3b465e
NativeMix now returns int
2013-03-29 18:09:59 +01:00
Aapo Rantalainen
762d096cc0
Maemo5: SDL_ShowCursor(SDL_DISABLE);
...
Cursor flickered. And there are no use of cursor with touch screen.
2013-03-25 20:45:39 +02:00
Aapo Rantalainen
0fbb4c3905
Maemo5 support. Almost same than PANDORA
2013-03-22 17:14:18 +02:00
Sacha
3c160ecb5a
Only run the UI on X11 for now until threads issue is resolved.
2013-03-20 08:49:50 +10:00
Sacha
a0f4674f0b
Use Qt to lock orientation instead of platform-specific code.
2013-03-20 05:27:27 +10:00
Sacha
1ec67d5ac2
Use lowercase letters for mobile Qt UI
2013-03-12 14:41:26 +10:00
Sacha
e0d107ad20
Accelerometer support for Blackberry.
2013-03-11 22:04:06 +10:00
Sacha
9964684920
Add accelerometer support to Qt (Symbian-only for now)
2013-03-11 11:51:35 +10:00
Sacha
b8100e0238
MIPS support
2013-03-10 13:22:46 +10:00
Sacha
7bc8374c88
Change Blackbery paths
2013-03-10 12:28:34 +10:00
Unknown W. Brackets
f26d95dba1
Fix FlushSocket() error check.
2013-03-02 13:40:07 -08:00
Unknown W. Brackets
3c1566b9a7
Linux buildfix, darn.
2013-03-01 22:50:14 -08:00
Unknown W. Brackets
9817448c59
If needed, call send() multiple times in HTTP.
2013-02-28 23:48:41 -08:00
Unknown W. Brackets
17c8eb1ae7
Arg, buildfix for Mac.
2013-02-23 19:52:48 -08:00
Unknown W. Brackets
e77cea0211
Buildfix for Mac.
2013-02-23 19:48:25 -08:00
Unknown W. Brackets
9c183fcca8
Add a timeout event.wait_for() method.
...
Not exactly like std::condition_variable, but similar.
2013-02-23 13:23:20 -08:00
Sacha
f4cc78cbfd
Use RunFast VFPv2 mode on Symbian.
2013-02-20 13:07:19 +10:00
Sacha
f807e225f7
Quick fix for missing QDir
2013-02-20 00:18:13 +10:00
Sacha
14386f87b0
Use temp path from Qt. Fixes windows.
2013-02-20 00:04:30 +10:00
Xele02
be52e8c673
Add mutex, or wait don't work correctly
2013-02-17 01:28:26 +01:00
Sacha
0bb312c92a
Now that only mobile platforms use this code path, remove the desktop support
2013-02-13 05:11:56 +10:00
Sacha
14b9794c26
Move PPSSPP window init out of here because native is meant to be generic.
2013-02-13 04:54:47 +10:00
Sacha
21e4e12f65
Fix spinny buttons animation on Qt and Blackberry front-ends.
2013-02-11 21:35:10 +10:00
Sacha
fa10aae32f
Use fixed DPI on Symbian. New devices seem to lie about DPI.
2013-02-11 12:10:42 +10:00
Marcin Mikołajczyk
e6dce8e1af
Fix PPSSPP Qt interface compilation on 64bit Linux
2013-02-04 15:55:17 +01:00
Xele02
de960cb8c9
Correct audio crash when close
2013-02-01 02:13:32 +01:00
Sacha
a8e30185f2
Small adjustments for Blackberry/Symbian
2013-01-29 07:35:39 +10:00
Henrik Rydgård
2f06061f36
Merge pull request #38 from KentuckyCompass/tab_turbo
...
tab key for turbo mode
2013-01-26 02:02:39 -08:00
KentuckyCompass
0d8bcfe9ae
tab key for turbo mode
2013-01-25 17:24:50 -08:00
Summeli
9493e56b2c
Routing loggings in Symbian though qDebug to the console
2013-01-25 17:00:07 +02:00
Sacha
d783975258
Fix cityhash for non-glibc systems where byteswap isn't defined. Define it manually instead. Also, fix harmattan building of Qt frontend.
2013-01-23 11:31:19 +10:00
Sacha
00acbd2f74
Revert some temporary changes for Stage 1 refactor of Qt.
2013-01-16 02:19:22 +10:00
Sacha
ef75aee0a2
Fix Qt audio for all platforms.
2013-01-15 20:45:26 +10:00
Sacha
0578607c84
Pandora buildfix and joystick support.
2013-01-14 21:32:39 +10:00
Sacha
02307d8226
Fix Qt native file and remove redundancies.
2013-01-14 19:20:28 +10:00
Sacha
063087abba
Revert "Merge pull request #29 from Xele02/qtwindow"
...
This reverts commit 170a45ef4f
, reversing
changes made to 657f5d32f4
.
2013-01-14 19:10:51 +10:00
Henrik Rydgård
170a45ef4f
Merge pull request #29 from Xele02/qtwindow
...
Update native for Qt Window
2013-01-13 15:06:38 -08:00
Xele02
597be2bb04
Update native for Qt Window
...
Add mutex lock. Wait cond didn't work without it.
2013-01-13 23:27:49 +01:00
Sacha
44e9e946a9
Add names to the magic numbers of left joystick input (Qt/Blackberry).
2013-01-13 02:29:37 +10:00
Henrik Rydgård
9df584067e
Merge pull request #28 from xsacha/pandora-port
...
Port to Pandora.
2013-01-12 08:14:55 -08:00
Sacha
7c0f9617b0
Port to Pandora. Thanks to ptitSeb.
2013-01-13 01:45:01 +10:00
Henrik Rydgard
dcc9785357
Bugfix LoggingDeadline
2013-01-11 23:46:37 +01:00
Florent Castelli
7b9daa28c4
Properly restore all the OpenGL states properly and added a sanity check.
...
Also set the proper viewport value at startup.
2013-01-11 19:02:56 +01:00
Henrik Rydgard
af5142d32a
Add missing printf parameter
2013-01-11 00:29:26 +01:00
Henrik Rydgard
135ae4faf5
Add LoggingDeadline, sprinkle this to track what takes time
2013-01-10 23:47:50 +01:00
Henrik Rydgård
c63061ddfd
Merge pull request #25 from xsacha/master
...
Qt and Blackberry port
2013-01-10 02:29:18 -08:00
Sacha
1d82b785df
Fix joystick keys
2013-01-10 20:25:10 +10:00
Henrik Rydgård
11a1e35783
Disable poor frame limiter in PCMain.cpp (SDL) for now, rely on vsync instead.
2013-01-10 11:11:32 +01:00
Sacha
472cf6af1a
Fix keyboard input on Blackberry and enable on Qt frontend. Make Qt open a window instead of fullscreen for non-mobile systems. Make the window resizable (updates pixel_*res and dp_*res).
2013-01-10 18:06:11 +10:00
Henrik Rydgård
1556328129
Make TouchButton not always override other input. Modify mappings.
2012-12-26 08:25:38 +01:00
Sacha
1a3fa62361
Support for Linux/Windows in Qt frontend
2012-12-23 17:47:52 +10:00
Sacha
885f06eecf
Add audio to Qt frontend
2012-12-16 19:47:51 +10:00
Sacha
5cec70972f
Clean up QtMain
2012-12-13 17:05:12 +10:00
Sacha
aa8a1c7de0
Symbian support.
...
Add new Qt frontend. Can be used by any platform. Currently used by Symbian.
2012-12-13 16:38:33 +10:00
Henrik Rydgård
7ed5811db3
Restore a few missing pieces of glstate. Cleanup.
2012-12-05 10:41:47 +07:00
Sacha
3785e2994d
Blackberry 10 Port
...
* Replace SDL with asound backend (removes the only dependency)
* Use BlackberryAudio to expose asound (Known bug: delayed audio)
* Proper spacing for keyboard keys
* Clean up for BlackberryMain.cpp
* Remove some redundancies for Blackberry EGL setup
2012-12-02 15:53:13 +10:00
Henrik Rydgard
92bd22ffe5
Merge branch 'master' of github.com:hrydgard/native
2012-12-01 10:36:49 +01:00
Henrik Rydgard
c952c8d0e7
Fix volume buttons on android and add some functonality to the VFS.
2012-12-01 10:35:55 +01:00
Sacha
c0f531d182
Use swipe down or back to pause game on Blackberry (sets PAD_BUTTON_MENU). Fix a glitch which prevented keys from being set.
2012-11-28 23:03:09 +10:00
Henrik Rydgard
8c7b70e0d9
SDL include workaround
2012-11-27 16:53:22 +01:00
Henrik Rydgard
390f9b93de
Merge branch 'master' of github.com:hrydgard/native
2012-11-27 16:38:59 +01:00
Henrik Rydgard
0853b3ed8e
Add directory listings to VFS
2012-11-27 16:38:24 +01:00
Sacha
640cce9b88
Use new defines: USING_GLES2, ARM and add iOS support.
2012-11-26 20:27:35 +10:00
Florent Castelli
3d1a14ef78
Include SDL.h instead of SDL/SDL.h
2012-11-25 22:25:54 +01:00
Henrik Rydgard
8677fac72c
Some UI code cleanup. Another variant of ease curve function. RebindTexture.
2012-11-22 18:41:04 +01:00
Henrik Rydgard
16e3d67063
Add UIContext, to make it easier to pass around what's needed to draw.
...
Not used in PPSSPP yet, for the curious.
2012-11-22 18:40:32 +01:00
Sacha
0bed6a94f0
Remove redundant Blackberry code in FBO and Main
2012-11-21 23:08:14 +10:00
Kovensky
b17119f2c6
Fixes for compatibility with FreeBSD
...
backtrace.cpp assumes that anything non-windows is linux.
stb_vorbis.c includes malloc.h which has been deprecated since the 90s
on all implementations other than MSVC.
The stat64 hack in file_util.cpp is only needed on linux.
http_client.h also assumes non-windows is linux.
2012-11-18 21:41:44 -03:00
Sacha
fa2b68e19a
Fix for file UI on Blackberry
2012-11-15 01:43:33 +10:00
Sacha
79e5f1b25a
Blackberry: Fixes for keyboard, touch lagg and more
2012-11-12 02:00:51 +10:00
Sacha
19e059c362
Add toast dialogs to BB10. Allow use of (hardcoded) keyboard shortcuts for USB/BT keyboards on Blackberry. Fix a file manager glitch. Track mouse movements (note: this is laggy for now)
2012-11-08 15:27:53 +10:00
Sacha
0c77415df1
Blackberry 10 fully supported with working video, input and sound on Playbook, Dev Alpha and beyond.
...
Video: http://www.youtube.com/watch?v=CdUL1DalYrw
2012-11-08 03:29:35 +10:00
Sacha
b52bd57aa1
PPSSPP ported to Blackberry 10
...
Now builds for Playbook and Dev Alpha
Android's GLES2 backend is used.
2012-11-05 23:22:10 +10:00
MrOrdinaire
a13616e684
fix missing #include's and missing CMake linking directives
2012-11-03 10:34:06 +08:00
Henrik Rydgård
91d086e359
Fix portrait zoom in PCMain
2012-10-31 14:01:32 +01:00
Henrik Rydgård
ad001f7e16
PCMain: Simulate tablet resolution with option
2012-10-31 12:12:24 +01:00
Henrik Rydgård
5a5f599e1b
Reindent (->tabs)
2012-10-30 13:20:55 +01:00
Henrik Rydgård
60d3b5f601
UI work
2012-10-28 11:37:10 +01:00
Henrik Rydgård
748bdb3101
Virtual input code now working
2012-10-26 18:42:32 +02:00
Henrik Rydgard
70e6752884
Simple framework for virtual touchscreen buttons
2012-10-26 15:58:09 +02:00
Henrik Rydgård
46f7f29cec
Avoid LLVM warning
2012-10-06 12:28:20 +02:00
Henrik Rydgard
976c0d96d1
Merge branch 'master' of github.com:hrydgard/native
...
Conflicts:
ui/screen.cpp
2012-09-28 10:01:45 +02:00
Henrik Rydgard
1c1889c726
WIP
2012-09-28 10:01:01 +02:00
Henrik Rydgard
01f2b5ada0
Remove the screenManager global, other assorted cleanup
2012-09-18 09:46:58 +02:00
Henrik Rydgard
c5370b497b
Fix bug in readWString
2012-09-17 19:26:28 +02:00
Henrik Rydgard
743631c217
Warning fixes. add comments about OpenGL 3 context in SDL.
2012-09-01 15:16:23 +02:00
Henrik Rydgard
4de7dc1b06
Merge branch 'master' of github.com:hrydgard/native into HEAD
...
Conflicts:
ext/stb_vorbis/stb_vorbis.c
2012-08-31 13:11:40 +02:00
Henrik Rydgard
c1d198914c
Minor fixes
2012-08-31 12:11:11 +02:00
Henrik Rydgard
3a533ad74c
Misc
2012-08-29 13:46:28 +02:00
Henrik Rydgard
f79111b217
Allow creating shaders from source strings directly
2012-08-27 23:28:52 +02:00
Henrik Rydgard
754dadfd05
Merge branch 'master' of github.com:hrydgard/native
2012-08-13 20:12:56 +02:00
Henrik Rydgard
2b65089df6
Merge branch 'master' of github.com:hrydgard/native
2012-08-13 20:11:43 +02:00
Henrik Rydgard
45949ac008
ConstString
2012-08-13 20:11:24 +02:00
Henrik Rydgard
9303c13cbe
Pass external dir to native apps
2012-08-13 00:41:24 +02:00
Henrik Rydgard
49a79dc568
porta fixes
2012-08-12 20:50:12 +02:00
Henrik Rydgard
a757fa2c99
Add x64 crash
2012-08-12 15:12:23 +02:00
Henrik Rydgard
e64a159407
basic events
2012-08-08 00:10:34 +02:00
Henrik Rydgard
b8cafe1561
cleanup
2012-08-06 22:05:24 +02:00
Henrik Rydgard
3b3f8242b0
mouse->pointer
2012-07-26 17:24:47 +02:00
Henrik Rydgard
55aea944a4
indentation / porta
2012-07-26 15:37:18 +02:00
Henrik Rydgard
a67237fba7
Add some old code, do some buildfixing
2012-07-26 13:47:15 +02:00
Henrik Rydgard
7e2e7856d8
Remove LAMEString.cpp/h
2012-07-23 20:45:04 +02:00
Henrik Rydgard
4fb4124e0a
Fixes from fixing the mac port
2012-07-18 12:03:51 +02:00
Henrik Rydgard
9d531d717a
Add some code to pop up an inputbox on android.
2012-07-16 15:00:52 +02:00
Henrik Rydgard
c762d1c0a5
Add a simple screen manager (kind of like activity stack)
2012-07-16 01:10:03 +02:00
Henrik Rydgard
5819c79463
Add writeWString for std::string
2012-07-15 17:38:03 +02:00
Henrik Rydgard
5a6622eb37
Redo the DPI/Density code. It now makes sense.
2012-07-15 17:04:27 +02:00
Henrik Rydgard
1254fe414c
Change target to 4.0 (but support 2.2, of course). Fix resulting lint issues.
2012-07-13 00:13:02 +02:00
Henrik Rydgard
4a6bc60ea8
warnin fixin
2012-07-09 01:11:18 +02:00
Henrik Rydgard
b041bd474b
Take DPI into account. Fix some memory leaks in JNI code.
2012-07-09 00:43:04 +02:00
Henrik Rydgard
40ca72fcc6
Merge branch 'master' of github.com:hrydgard/native
2012-07-08 11:32:46 +02:00
Henrik Rydgard
aaa15177e0
some basic zoom/dpi stuff, to be improved
2012-07-06 22:32:32 +02:00
Henrik Rydgard
ee2dfaba5a
Merge branch 'master' of github.com:hrydgard/native
2012-07-05 23:30:47 +02:00
Henrik Rydgard
90dc94a0ac
Portafix
2012-07-05 23:30:35 +02:00
Henrik Rydgard
3c818e0af7
Cleanup, add some wrappers for compat with some old code I have
2012-07-01 11:38:18 +02:00
Henrik Rydgard
d0d004fb6f
...
2012-06-11 23:26:17 +02:00
Henrik Rydgard
5dbea73016
Add some old HTTP client code, just for kicks.
2012-06-03 19:01:08 +02:00
Henrik Rydgard
e7bf0303e2
Basic DPI scaling hack.
2012-05-14 22:07:40 +02:00
Henrik Rydgard
caf0580c38
Tabs unification
2012-05-08 22:04:24 +02:00
Henrik Rydgard
ec57b692eb
Misc
2012-05-06 23:21:26 +02:00
Henrik Rydgard
8e775751fc
Undef CHECK
2012-05-06 20:37:28 +02:00
Henrik Rydgard
fe1c7d2cdf
Add initial multitouch support
2012-04-27 00:48:30 +02:00
Henrik Rydgard
5616ba99f0
add lock_guard
2012-04-18 00:22:32 +02:00
Henrik Rydgard
71a266fa2f
Mutex. start work on keyboard support
2012-04-17 23:14:03 +02:00
Henrik Rydgard
7e0ab8720e
Merge branch 'master' of github.com:hrydgard/native
2012-04-17 00:47:19 +02:00
Henrik Rydgard
45846e4c95
Keyboard support prep
2012-04-16 23:30:13 +02:00
Henrik Rydgard
bc3f6ee57a
Buildfix
2012-04-16 00:35:11 +02:00
Henrik Rydgard
2993ff1a7b
Increase buffer size to avoid drops
2012-04-12 13:28:38 +02:00
Henrik Rydgard
9684be3257
Add MIDI Input support (Windows only).
2012-04-12 12:52:55 +02:00
Henrik Rydgard
888b973bf3
Apps can now request portrait mode if desired
2012-04-10 15:44:58 +02:00
Henrik Rydgard
ddf4165e4c
...
2012-04-10 12:03:30 +02:00
Henrik Rydgard
fc886b23e6
Move the SDL C++ wrapper code into the native project as well.
2012-04-10 12:01:05 +02:00
Henrik Rydgard
cb7e3e62e7
Don't reference removed files
2012-04-06 16:59:39 +02:00
Henrik Rydgard
c82e19a91e
Merge branch 'master' of github.com:hrydgard/native
...
Conflicts:
base/stringutil.h
2012-03-31 11:16:50 +02:00
Henrik Rydgard
8b076c5b88
Cleanup
2012-03-31 11:16:13 +02:00
Henrik Rydgard
a4b7a0cb13
Add code to set the thread name
2012-03-27 23:39:13 +02:00
Henrik Rydgard
2e561248b8
parseHex
2012-03-27 22:54:58 +02:00
Henrik Rydgard
22dfdd2832
Initial commit
2012-03-24 23:39:19 +01:00