summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-05-25package: update version (2.5.5)Munkyu Im2-1/+4
Change-Id: I97d657dc98d4a3cf1c4e6b4ab544404b3fb2f2b2 Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
2016-05-23net: remove tap uninstallerMunkyu Im2-7/+0
Change-Id: Ie3beb2883cd8321bffeca61221742c7f33749637 Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
2016-04-25package: update version (2.5.4)SeokYeon Hwang2-1/+4
Change-Id: I1f2a112266f80a9a04c5c03e503822a5c40248ee Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-04-25supplements: modify make_emul_images.sh scriptSooyoung Ha1-43/+55
Now it supports 2 partition image converting. Change-Id: I2d7df78acaa5110575d1dfa968323f813855beec Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
2016-04-25virtio-keyboard: fix misuse of virtqueue_pop()SeokYeon Hwang1-4/+3
It can cause infinite loop and can lock device driver. Change-Id: I362a219b8a3643a7c4e196cc6c3e5d3982d467ba Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-03-31reboot: add popup message & rename 'Force Reboot'Jinhyung Choi12-37/+44
the location of reboot menu item is changed from first depth to second depth under Advanced menu. Change-Id: Ie471387ff45807f8819439ee16336b07b0053ab4 Signed-off-by: Jinhyung Choi <jinh0.choi@samsung.com>
2016-03-22package: update version (2.5.3)Jinhyung Jo2-1/+5
Change-Id: I173d40b8b923ddfbdc62a22365194e99e3057f71 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2016-03-16YaGL: skip GL_ARB_ES3_compatibility checkVasiliy Ulyanov2-2/+12
ES3 compatibility extension seems to cause problems with yagl. Disable autodetection for the moment. Change-Id: I63f58f81551c25674586961a437c4e82966992b5 Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
2016-03-16gui: add "window_position" startup option as optional parameterGiWoong Kim3-25/+37
Open the emulator window at given position if qemu has a "window_position" variable in startup options. ex) emulator-x86.sh .../vm_launch.conf --window_position 100,100 Change-Id: I935ffea3e7aa67ccfa30a8152a1aacab275bf0e7 Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-03-14display: add missing initializationGiWoong Kim1-0/+1
Change-Id: Ib368c3dd8c8e84c08c6f001d221f10608e57aa9f Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-03-08package: update version (2.5.2)Jinhyung Jo2-1/+8
Change-Id: I614f48f54589529fbce0922d2f4db7b054079f95 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2016-03-08gui: remove memory leakGiWoong Kim9-19/+9
delete MainWindow class before emulator exit Change-Id: Id694cf58d2eebfbb2237e86a4fb7ea42d205bcb1 Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-03-08audio: support audio hot-plug event for WindowsByeongki Shin3-55/+533
Because dsound audio doesn't support audio endpoint event, it has failed to initialize without speaker or mic connection. Now, dsound supports audio endpoint event. Therefore, emulator can play sound even if a speaker is connected to host lately. - Because the COM initialization requires for each thread, in order to share the object, a thread is used as init and event handler. - When event occurs, the notification callback sends it to init thread. If we handle the event in notification callback, it would make deadlock. Change-Id: Iaeef62d6c5b0952f77f0040abea9bfc7778be536 Signed-off-by: Byeongki Shin <bk0121.shin@samsung.com>
2016-03-08maru-tablet: fix unexpected shutdown issueJinhyung Jo2-85/+93
If a user uses this device to hard, the emulator dies unexpectedly. Its reason is to use the virtio queue. The tablet device accesses the queue that is not prepared and then releases it. Fix the issue and refactoring the code. - improve the use of the virtio queue - remove unused structure & variables - pthread mutex to qemu mutex - remove unnecessary function declaration - clean up logs. Change-Id: I8adfd2e89c88185547333a45462eceaa1f061c5b Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
2016-03-08rotary: correct use of virtioqueue to fix bugJinhyung Jo2-69/+95
When using the rotary device, the segmentation fault occurs in the host. Its cause is due to use the virtioqueue in the wrong way. So correct with the kernel driver side. Fix the fault and simplify complex sources. Conflicts: ;; VIRTIO_ROTARY to VIRTIO_MARU_ROTARY tizen/src/hw/virtio/maru_virtio_rotary.c Change-Id: I85d0517a6567de742bbd56cd756faa9b8f47e58c Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com> (cherry picked from commit b4ec658343d4808aba2f4f3d04f26f65f3cb73c2)
2016-03-08hwkey: add XML schema for color-filled hoverGiWoong Kim6-17/+41
<form> ... <hover fill="true"> <color R="255" G="255" B="255"/> </hover> </form> Change-Id: I1de124cdb6f82c84294364872136d01e0a6c9b3f Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-03-08menu: modify event filter ruleGiWoong Kim1-2/+7
Do not filter out a right-click event when it is triggerd at outside of menu. But, still need a event filtering at inside of menu to prevent the selection mistake. Change-Id: Ieb453a6d9b68cbce875cc7a58e805fa73a47adcf Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-03-08skin: delete legacy skin resourcesGiWoong Kim25-374/+0
- mobile-320x480-3btn - wearableO-360x360-1btn Change-Id: I9640a6706b1ff5108a525ecf8bc26e51287e14cc Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-03-08hwkey: add Back key to wearable-general skin for Qt GUIGiWoong Kim3-1/+5
Change-Id: If6a0986521ac51049889f3692f9be491bc11f4be Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-02-24configure: use TIZEN_SDK_DEV directory that is really existSeokYeon Hwang1-1/+3
Change-Id: I5c4cf7b7f0b987de59fd158816098a31fb2ec168 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-02-19util: remove/replace unnecessary system(3) callSangho Park2-45/+57
* Mac OS X ** use uname(3) instead of system("uname") ** remove system("java -version") * Linux ** Try to read /etc/lsb-release ** Add get_number_of_processors() ** Remove redundant codes Change-Id: I0a73b27ab35a6ab9dd774455b33182abb15ad481 Signed-off-by: Sangho Park <sangho.p@samsung.com>
2016-02-19display: protect the integrity of the input devicesGiWoong Kim4-1/+44
When user changes widget focus while mouse dragging, it causes a mismatch problem between press event and release event. To protect the integrity of the input devices, press event of mouse or touch screen device should be canceled(by auto-generated release event) if user opens context popup menu or enable the moving mode. Change-Id: Id0817d1ee826b5576fdfe058ce98e964d3d2ae72 Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-02-17ecs: apply code conventionsChulHo Song31-1282/+1323
Change-Id: I93f9cd75492f33259adeaa2ca5f237648f5e0312 Signed-off-by: ChulHo Song <ch81.song@samsung.com>
2016-02-16configure: cross-build with TIZEN_SDK_DEV_PATHSangho Park1-5/+5
When TIZEN_SDK_DEV_PATH env. variable is already exported, cross-compiling fails because TIZEN_SDK_DEV_PATH is for native build. Append CROSS_PREFIX to TIZEN_SDK_DEV_PATH and support cross-build. Change-Id: I51218f895e9131153ac27ff2cdc8a8de53018379 Signed-off-by: Sangho Park <sangho.p@samsung.com>
2016-02-16touch: minor cleanup for touch eventGiWoong Kim8-98/+102
- remove dependency with emul_state - modify function and variable names Change-Id: I675bc802ea9ee54e7b587f7f5441623cdd71ac12 Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-02-11osutil: minor refactoring on vm_lockSangho Park2-16/+24
* Remove assertion on remove vm_lock because lock_file can be INVALID_HANDLE_VALUE or -1 * Add assertion on locking vm * Remove redundant g_strdup() Change-Id: Ica262b8522aeec26561e5f06b46295b48159b307 Signed-off-by: Sangho Park <sangho.p@samsung.com>
2016-02-11net_helper: use qemu_socket() instead of socket()Sangho Park2-52/+4
* Change socket() to qemu_socket() ** qemu_socket() turns on SOCK_CLOEXEC option. * Remove unused functions, socket_close() and socket_close_handler() Change-Id: I8878bd50b2a6a78680583a5922c597378c67eea3 Signed-off-by: Sangho Park <sangho.p@samsung.com>
2016-02-03source: add braces to if statementsChulHo Song1-2/+3
Change-Id: Iccd3f70f0773099c2d38bddb86e7dc1fc3c75eca Signed-off-by: ChulHo Song <ch81.song@samsung.com> (cherry picked from commit c390c54dbc94019b5725d1e8b7890bba3e46742e)
2016-02-03sdcard: send notification to ECP when sdcard state is changedChulHo Song2-7/+8
Change-Id: Ic8804fc221058cae14bd74509c2ca84b6b45c29c Signed-off-by: ChulHo Song <ch81.song@samsung.com> (cherry picked from commit 7e051a5400555016e4656f9635e0fe4b26409405)
2016-02-03sdcard: add trailing backslash only if path has no trailing backslashChulHo Song2-1/+10
Change-Id: I350f81df3c9ddc0408a21a1b5673ed0dcf8c378c Signed-off-by: ChulHo Song <ch81.song@samsung.com> (cherry picked from commit 47774e6252defe89cb31fbc06b684e134e3bbcde)
2016-02-01osutil: fix bugs on locking sdcard in WindowsSangho Park1-49/+57
* Remove 'pid' on filename of sdcard lock. It makes that only a single emulator can attach the same sdcard image. * Check whether sdcard is already attached or not when try to attach sdcard * Check whether sdcard is attached and same when try to detach sdcard * Refactoring ** Just CloseHandle() when detach sdcard. It is sufficient to remove the lock file ** Remove redundant memory allocation Change-Id: Ib6611dceffa5b9e6dfaf10fb450b9c7b218687b7 Signed-off-by: Sangho Park <sangho.p@samsung.com>
2016-01-29osutil: lock the sdcard image instead of lock fileSangho Park3-41/+48
Lock a sdcard image file to use and prevent other emulator from using the sdcard image. Additional lock file is not needed. Change-Id: Ie39cf7d1a66c7047593968caec3970c907eee935 Signed-off-by: Sangho Park <sangho.p@samsung.com> Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
2016-01-28osutil: modified posix lock mechanismSangho Park1-40/+63
After failing to lock file, check the lock whether other emulator locks the file or not. If other emulator does not lock the file, try again to lock file after sleep. Change-Id: I9cfc3c4af395eb0d9e113eefb83d3953b431a19c Signed-off-by: Sangho Park <sangho.p@samsung.com>
2016-01-27display: no need to consider multi-touch drawing when mouse enabledGiWoong Kim2-12/+21
Change-Id: I1dd6cdd16155249be4a3376904e98a496b317cc5 Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-01-27mouse: synchronize mouse position between guest and host after movingGiWoong Kim3-29/+32
Change-Id: Ia42b64d1a89f678e9b21ed37c31a2da922c10a8f Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-01-27menu: modified move functionGiWoong Kim11-74/+232
Let's keep the emulator window covered with transparent widget while moving, to handle mouse events conveniently. However, display region is excepted. Display can be drawn black or frozen screen if it has a transparent layer on it. So, to avoid this issue, display handles mouse events directly while moving, instead of helping of transparent widget. Change-Id: I37d69f1c041843fdaa61244268d06bbf0af7c20b Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-01-27YaGL: modify native configs enumerator in OS XJinhyung Jo1-80/+136
Some apps want to get the config without multisampling. Currently, YaGL module provides only one config with multisampling attribute. So the apps fail because they can not find the matched config in OS X. So add one more pixelformat without multisampling attribute & add related tasks. Change-Id: Ibf41243110d9212b9a62e4006dfa6f9c4356291f Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com> (cherry picked from commit 2c9de13bde79583b1f6dfe78fc16f3cfcec99973)
2016-01-27osutil-win32: always get java path from registryJinhyung Jo1-46/+8
Regardless of the architecture of the emulator(32bit or 64bit), always gets the java execution path from Windows registry. This commit would be helpful to reduce the java execution failure. Conflicts: tizen/src/util/osutil-win32.c Change-Id: I4680c888292a0c11d85f7a662708faf8973c6bc4 Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com> (cherry picked from commit 6eb715fd787c0f25a519903b8a552d8e95d0e6b7)
2016-01-26package: update version (2.5.1)SeokYeon Hwang1-1/+1
Change-Id: Ia4e204f96c0a027f12a5692f93839e6e6760b6fa Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-01-26osutil: change locking mechanismSeokYeon Hwang5-328/+186
Using file lock mechanism instead of shared memory. Emulator-manager can share same file lock for checking whether same VM is running or not. On Linux and MacOSX, POSIX file lock is used. If it is failed to lock file and the file is not locked with valid type and record, it will try again to lock file after sleeping. On Windows, emulator will stop before checking lock because platform image file and kernel log file are aleady opened with exclusive write lock by pre-executed emulator. But it is still useful for emulator-manager. In addition, header files are cleaned up. Change-Id: Ibedfac3503fb0d19956a7fbed6736337be8f2223 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com> Signed-off-by: Sangho Park <sangho.p@samsung.com>
2016-01-22menu: refactoring for Move functionGiWoong Kim5-72/+66
- cancel the moving mode before the layout changing - use override functions instead of event filter - delete unnecessary functions - modify function and variable names Change-Id: I0e97f3c9816ab4f107796bba0616a6ab590184ff Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-01-22keyboard: ignore key events while the display is offJihye Won1-0/+13
There was a bug when a user presses the HW key shortcut in display-off mode. The reason is that the guest OS receives key events while the display is off. After applying this commit, the emulator ignores key events while the display is off. Change-Id: I97f2e21f1d0aaaa9aa4ddba9c18518a5a5df74bc Signed-off-by: Jihye Won <jihye.won1@samsung.com> (cherry picked from commit 36cec4673a2927d99696122ef795eec01da723a9)
2016-01-20shortcuts: changed the shortcut for Power functionJihye Won11-38/+38
According to the version of OS or Platform, the previous shortcut for Power function(Ctrl+Shift+F7) did not work well. After performing tests on MacOS 10.10, 10.11, Ubuntu, Windows 7 and Windows 10, I confirmed the new shorcut(Ctrl+shift+F8) operates correctly. Change-Id: I0a12216a066cd46a604a5060ed88a75dda29c3bc Signed-off-by: Jihye Won <jihye.won1@samsung.com> (cherry picked from commit afbc265908c2319d03e596bd9f568a5d96e56004)
2016-01-15shortcuts: change Scale function shortcutsJihye Won6-12/+12
I changed Scale function shortcuts because MacOSX uses Control+Shift+Arrows Keys for Mission Control Shortcuts. Mission Control Shortcuts are enable as the default setting on MacOSX. So, I changed shortcuts for Scale function to avoid the system shortcuts. Change-Id: I8a4fe87e79e0a216058d17e320e1fb22c682f2ab Signed-off-by: Jihye Won <jihye.won1@samsung.com>
2016-01-14qt5_msgbox: fix the bug of an abnormal execution in WindowsWon Jihye2-4/+29
_spawnv function was changed into CreateProcess function to execute the program(qt5_msgbox). _spawnv eventually call CreateProcess because CreateProcess is Win32 API function. Also, CreateProcess gives us more control over the child processes. Although I can not find out the exact reason of the bug, I fixed the bug by using CreateProcess. Change-Id: Ib8d53df65da93460a2ac6c8e57bff660d14021ca Signed-off-by: Jihye Won <jihye.won1@samsung.com>
2016-01-14gui: delete meaningless linesGiWoong Kim3-5/+0
QWidget's showEvent function is empty. Change-Id: I55feb0a06e7e3aa374ec62667f62009d6d9c4c2c Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-01-14controller: make fixed size floating controllerGiWoong Kim1-0/+2
Sets both the minimum and maximum sizes of the widget to initial value, thereby preventing it from ever growing or shrinking. Change-Id: I6afc0150255b51ea42575bd881d2b9e06f5a316c Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-01-14controller: consider elided text for key buttonsGiWoong Kim2-0/+10
If the string text is wider than button width, use an elided version of the string. Change-Id: I458b04d794db717e6a428b78ddbe9e38a083db30 Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
2016-01-13package: update version (2.5.0)SeokYeon Hwang2-1/+4
Rebased on QEMU 2.5.0 Change-Id: I97488a8595de890f4238bf1e2ad2486595f6be24 Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
2016-01-13emul_state: delete unnecessary functionsGiWoong Kim4-113/+1
Change-Id: I86f25232bb0f5739c52b58c0d44ef686e6fa1204 Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>