author | mickeyl <mickeyl> | 2006-06-09 00:21:31 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2006-06-09 00:21:31 (UTC) |
commit | ab1422b3e7df8644d6df2519f5ef5b5c831e3965 (patch) (unidiff) | |
tree | 8e25b980c4898f3253a8d1f9efb23494ff4033ed | |
parent | f469b23ef6f69b379dcb75834c14d19dbc4676d0 (diff) | |
download | opie-ab1422b3e7df8644d6df2519f5ef5b5c831e3965.zip opie-ab1422b3e7df8644d6df2519f5ef5b5c831e3965.tar.gz opie-ab1422b3e7df8644d6df2519f5ef5b5c831e3965.tar.bz2 |
add brightness control for motorola ezx
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | libopie2/opiecore/device/odevice_motorola_ezx.cpp | 55 |
2 files changed, 12 insertions, 44 deletions
@@ -1,377 +1,378 @@ | |||
1 | 2006-??-??Opie 1.2.3 | 1 | 2006-??-??Opie 1.2.3 |
2 | 2 | ||
3 | 3 | ||
4 | New Features | 4 | New Features |
5 | ------------ | 5 | ------------ |
6 | 6 | ||
7 | Fixed Bugs | 7 | Fixed Bugs |
8 | ---------- | 8 | ---------- |
9 | * n.a.- Improved iPAQ support in ODevice and low-level applets (Slavek Banko) | 9 | * n.a.- Improved iPAQ support in ODevice and low-level applets (Slavek Banko) |
10 | * n.a. - Improved platform support for the Motorola EZX platform (mickeyl) | ||
10 | 11 | ||
11 | Internal | 12 | Internal |
12 | -------- | 13 | -------- |
13 | 14 | ||
14 | 2006-05-28Opie 1.2.2 | 15 | 2006-05-28Opie 1.2.2 |
15 | 16 | ||
16 | 17 | ||
17 | New Features | 18 | New Features |
18 | ------------ | 19 | ------------ |
19 | * Appearance: Added configuration options to set smallIconSize, bigIconSize, useBigPixmaps (hrw, drw) | 20 | * Appearance: Added configuration options to set smallIconSize, bigIconSize, useBigPixmaps (hrw, drw) |
20 | * Opie-Notes: Notes application based on NoteZ (hrw) | 21 | * Opie-Notes: Notes application based on NoteZ (hrw) |
21 | * Opie-PackageManager: Added two configuration options: "Force recursive", "Verbose fetch" (hrw) | 22 | * Opie-PackageManager: Added two configuration options: "Force recursive", "Verbose fetch" (hrw) |
22 | * Added platform support for HTC Universal (ljp) | 23 | * Added platform support for HTC Universal (ljp) |
23 | * Made Opie-Bluetooth subsystem actually usable (korovkin) | 24 | * Made Opie-Bluetooth subsystem actually usable (korovkin) |
24 | * Added platform support for the Motorola EZX platform (mickeyl) | 25 | * Added platform support for the Motorola EZX platform (mickeyl) |
25 | 26 | ||
26 | Fixed Bugs | 27 | Fixed Bugs |
27 | ---------- | 28 | ---------- |
28 | * #1695 - Date selector use too small fontsize on VGA screen (hrw) | 29 | * #1695 - Date selector use too small fontsize on VGA screen (hrw) |
29 | * #1686 - opie-console lack UI setting for switching scrollbar (hrw) | 30 | * #1686 - opie-console lack UI setting for switching scrollbar (hrw) |
30 | * #1647 - Opie-console doesn't respect scroll-bar on left side (hrw) | 31 | * #1647 - Opie-console doesn't respect scroll-bar on left side (hrw) |
31 | * #1624 - Button settngs changes are applied only after restart (hrw) | 32 | * #1624 - Button settngs changes are applied only after restart (hrw) |
32 | * #1492 - Backup and Restore does not show list of backups to restore on start (hrw) | 33 | * #1492 - Backup and Restore does not show list of backups to restore on start (hrw) |
33 | * n.a. - remove hardcoded font size from wellenreiter (hrw) | 34 | * n.a. - remove hardcoded font size from wellenreiter (hrw) |
34 | * n.a. - added patch to build Qt/E 2.3.10 with gcc 4.x.x (hrw) | 35 | * n.a. - added patch to build Qt/E 2.3.10 with gcc 4.x.x (hrw) |
35 | * n.a. - make blue-pin UI resizable to looks good in any resolution (hrw) | 36 | * n.a. - make blue-pin UI resizable to looks good in any resolution (hrw) |
36 | * n.a. - fix a problem with vCard send to Sony Ericsson k600i (ar) | 37 | * n.a. - fix a problem with vCard send to Sony Ericsson k600i (ar) |
37 | * n.a. - add a patch to build Qt/E 2.3.10 on amd64 with gcc 4.x.x (ar) | 38 | * n.a. - add a patch to build Qt/E 2.3.10 on amd64 with gcc 4.x.x (ar) |
38 | * n.a. - Opie-console fallback to FixedFont settings from qpe.conf in config (hrw) | 39 | * n.a. - Opie-console fallback to FixedFont settings from qpe.conf in config (hrw) |
39 | * n.a. - Update version in About applet (hrw) | 40 | * n.a. - Update version in About applet (hrw) |
40 | * n.a. - add firstusage and background pictures for 480x640 devices (mickeyl) | 41 | * n.a. - add firstusage and background pictures for 480x640 devices (mickeyl) |
41 | * n.a. - many bluetooth fixes (korovkin) | 42 | * n.a. - many bluetooth fixes (korovkin) |
42 | 43 | ||
43 | Internal | 44 | Internal |
44 | -------- | 45 | -------- |
45 | * libopiecore: /etc/oz_version renamed to /etc/openzaurus-version (hrw) | 46 | * libopiecore: /etc/oz_version renamed to /etc/openzaurus-version (hrw) |
46 | * libopiecore: SL6000 (tosa) now uses corgi-bl (Dirk Opfer) | 47 | * libopiecore: SL6000 (tosa) now uses corgi-bl (Dirk Opfer) |
47 | * library/version.h: introduce integer version code in OPIE_VERSION for conditional compilation | 48 | * library/version.h: introduce integer version code in OPIE_VERSION for conditional compilation |
48 | * g++ 4.1.1 fixes all around (no extra qualifiers allowed) (mickeyl) | 49 | * g++ 4.1.1 fixes all around (no extra qualifiers allowed) (mickeyl) |
49 | * update README (mickeyl) | 50 | * update README (mickeyl) |
50 | * remove libslcompat - it never worked and we don't support Sharp closed source anymore anyway (mickeyl) | 51 | * remove libslcompat - it never worked and we don't support Sharp closed source anymore anyway (mickeyl) |
51 | 52 | ||
52 | 2005-09-11Opie 1.2.1 | 53 | 2005-09-11Opie 1.2.1 |
53 | 54 | ||
54 | 55 | ||
55 | New Features | 56 | New Features |
56 | ------------ | 57 | ------------ |
57 | * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker) | 58 | * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker) |
58 | * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly) | 59 | * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly) |
59 | * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer) | 60 | * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer) |
60 | * Wellenreiter: Remove Joining networks - use OpieStumbler for that (mickeyl) | 61 | * Wellenreiter: Remove Joining networks - use OpieStumbler for that (mickeyl) |
61 | * Opie-Mobilemsg has gone unsupported - it never really worked and there will be a replacement (mickeyl) | 62 | * Opie-Mobilemsg has gone unsupported - it never really worked and there will be a replacement (mickeyl) |
62 | * Opie-Tabmanager has gone unsupported - it barely works and there is not much of a use of it anyway (mickeyl) | 63 | * Opie-Tabmanager has gone unsupported - it barely works and there is not much of a use of it anyway (mickeyl) |
63 | * Checkbook: Added configuration option to use smaller font for checkbook transaction tab (hrw) | 64 | * Checkbook: Added configuration option to use smaller font for checkbook transaction tab (hrw) |
64 | * ZSafe: Made UI conform to Opie standards (drw) | 65 | * ZSafe: Made UI conform to Opie standards (drw) |
65 | * Today Addressbook plugin: Fixed configuration to show/not show birthdays, use checkboxes for selection (hrw) | 66 | * Today Addressbook plugin: Fixed configuration to show/not show birthdays, use checkboxes for selection (hrw) |
66 | * Opie-Console: Read initial fixed font configuration from qpe.conf (mickeyl) | 67 | * Opie-Console: Read initial fixed font configuration from qpe.conf (mickeyl) |
67 | * Opie-PcmciaApplet: Configure insert/resume actions and bind unsupported cards (mickeyl) | 68 | * Opie-PcmciaApplet: Configure insert/resume actions and bind unsupported cards (mickeyl) |
68 | * SysInfo: Remove CPU tab and add Devices tab instead (mickeyl) | 69 | * SysInfo: Remove CPU tab and add Devices tab instead (mickeyl) |
69 | * Opie-smb: Added Opie front end for Samba (ljp) | 70 | * Opie-smb: Added Opie front end for Samba (ljp) |
70 | * Opie-Bluetooth: Replace obex send implementation and patch libopieobex and the bluetoothapplet (Michael Haynie) | 71 | * Opie-Bluetooth: Replace obex send implementation and patch libopieobex and the bluetoothapplet (Michael Haynie) |
71 | * Opieplayer: rudimentary podcast support (ljp) | 72 | * Opieplayer: rudimentary podcast support (ljp) |
72 | 73 | ||
73 | Fixed Bugs | 74 | Fixed Bugs |
74 | ---------- | 75 | ---------- |
75 | * #1377 - Suspend Powermanagement when switched to another VT (mickeyl) | 76 | * #1377 - Suspend Powermanagement when switched to another VT (mickeyl) |
76 | - We actually suspend the complete Opie now in that case. | 77 | - We actually suspend the complete Opie now in that case. |
77 | * #1384 - Battery status updated improperly when charging (skyhusker) | 78 | * #1384 - Battery status updated improperly when charging (skyhusker) |
78 | * #1476 - Wrong order of application entries in the O-menu (skyhusker) | 79 | * #1476 - Wrong order of application entries in the O-menu (skyhusker) |
79 | * #1514 - Remove usage of cardmon/pcmcia picture in applications. pcmcia is now an inline picture (mickeyl) | 80 | * #1514 - Remove usage of cardmon/pcmcia picture in applications. pcmcia is now an inline picture (mickeyl) |
80 | * #1535- Missing line break and unnecessary location shown with Today-Calendar plugin (deller) | 81 | * #1535- Missing line break and unnecessary location shown with Today-Calendar plugin (deller) |
81 | * #1543 - Time Settings: "predict" tab is displayed twice after reopen (hrw) | 82 | * #1543 - Time Settings: "predict" tab is displayed twice after reopen (hrw) |
82 | * #1546 - Battery applet popup is not always large enough to show jacket remaining info (skyhusker) | 83 | * #1546 - Battery applet popup is not always large enough to show jacket remaining info (skyhusker) |
83 | * #1557 - Light&Power-Settings don't store warning intervall and warning levels (skyhusker) | 84 | * #1557 - Light&Power-Settings don't store warning intervall and warning levels (skyhusker) |
84 | * #1565 - crash-fix in odevice.cpp while scanning the distribution table (deller) | 85 | * #1565 - crash-fix in odevice.cpp while scanning the distribution table (deller) |
85 | * #1614 - Make Opie-console start in $HOME instead of / (skyhusker) | 86 | * #1614 - Make Opie-console start in $HOME instead of / (skyhusker) |
86 | * #1635 - opie-today, datebook-plugin does not show notes (skyhusker) | 87 | * #1635 - opie-today, datebook-plugin does not show notes (skyhusker) |
87 | * #1665 - Opie-IRC displays the host prepended to the message when peer is using and ipv6 address (skyhusker) | 88 | * #1665 - Opie-IRC displays the host prepended to the message when peer is using and ipv6 address (skyhusker) |
88 | * #1666 - Opie-IRC does not allow to add !channels in config asautojoin ones (skyhusker) | 89 | * #1666 - Opie-IRC does not allow to add !channels in config asautojoin ones (skyhusker) |
89 | * #1667 - Opie-IRC does not show messages from !channel (skyhusker) | 90 | * #1667 - Opie-IRC does not show messages from !channel (skyhusker) |
90 | * #1679 - Security PIN plugin is QVGA sized (hrw) | 91 | * #1679 - Security PIN plugin is QVGA sized (hrw) |
91 | * #1682 - Properly resize tab control in OTabWidget (drw) | 92 | * #1682 - Properly resize tab control in OTabWidget (drw) |
92 | * n.a. - always show volume and wireless applet popups inside visible screen (deller) | 93 | * n.a. - always show volume and wireless applet popups inside visible screen (deller) |
93 | * n.a. - scale O-Menu-Applets appropriately (mickeyl) | 94 | * n.a. - scale O-Menu-Applets appropriately (mickeyl) |
94 | * n.a. - libopienet: fix bugs in wireless scanning and setting SSID (skyhusker) | 95 | * n.a. - libopienet: fix bugs in wireless scanning and setting SSID (skyhusker) |
95 | * n.a. - Wellenreiter: relax WE version matching test a bit (mickeyl) | 96 | * n.a. - Wellenreiter: relax WE version matching test a bit (mickeyl) |
96 | * n.a. - scale BluezApplet appropriately and use larger icons (mickeyl) | 97 | * n.a. - scale BluezApplet appropriately and use larger icons (mickeyl) |
97 | * n.a. - memoryapplet: fix crash in memoryapplet on kernels without swap support (seneca cunningham) | 98 | * n.a. - memoryapplet: fix crash in memoryapplet on kernels without swap support (seneca cunningham) |
98 | * n.a. - networksettings: ignore hostap control interfaces wifi* (mickeyl) | 99 | * n.a. - networksettings: ignore hostap control interfaces wifi* (mickeyl) |
99 | * n.a. - Today Addressbook plugin fix configuration to show/not show birthdays, use checkboxes for selection (hrw) | 100 | * n.a. - Today Addressbook plugin fix configuration to show/not show birthdays, use checkboxes for selection (hrw) |
100 | * n.a. - remove hardcoded font size from netsystemtime (hrw) | 101 | * n.a. - remove hardcoded font size from netsystemtime (hrw) |
101 | * n.a. - remove hardcoded font size from checkbook graphs (hrw) | 102 | * n.a. - remove hardcoded font size from checkbook graphs (hrw) |
102 | * n.a. - Dagger - fixes for Sword 1.5.8, morph tag x-refs, closing last tab crash (drw) | 103 | * n.a. - Dagger - fixes for Sword 1.5.8, morph tag x-refs, closing last tab crash (drw) |
103 | 104 | ||
104 | 105 | ||
105 | Internal | 106 | Internal |
106 | -------- | 107 | -------- |
107 | * Make BluezApplet use OTaskbarApplet (mickeyl) | 108 | * Make BluezApplet use OTaskbarApplet (mickeyl) |
108 | * libopiecore: rewrite OFileNotification to use the Linux 2.6 inotify interface (mickeyl) | 109 | * libopiecore: rewrite OFileNotification to use the Linux 2.6 inotify interface (mickeyl) |
109 | * libopiecore: add ODirNotification - recursive directory notifications (mickeyl) | 110 | * libopiecore: add ODirNotification - recursive directory notifications (mickeyl) |
110 | * libopienet: Skip hostap control interfaces 'wifi' and improve robustness in ONetworkInterface (mickeyl) | 111 | * libopienet: Skip hostap control interfaces 'wifi' and improve robustness in ONetworkInterface (mickeyl) |
111 | * libopieui: Remove OVersatileView and OVersatileViewItem (mickeyl) | 112 | * libopieui: Remove OVersatileView and OVersatileViewItem (mickeyl) |
112 | * libopienet: Miscellaneous API cleanups (mickeyl) | 113 | * libopienet: Miscellaneous API cleanups (mickeyl) |
113 | * libopiecore: Add linux pcmcia system abstraction classes (mickeyl) | 114 | * libopiecore: Add linux pcmcia system abstraction classes (mickeyl) |
114 | * libopiecore: ODevice now knows the default gfx driver to use (mteira,mickeyl) | 115 | * libopiecore: ODevice now knows the default gfx driver to use (mteira,mickeyl) |
115 | * libopiecore: Add support for the Sharp SL-C3100 "Borzoi" (mickeyl) | 116 | * libopiecore: Add support for the Sharp SL-C3100 "Borzoi" (mickeyl) |
116 | * libopiecore: Add support for the new Linux Inputsystem Switches type [necessary for auto rotation in 2.6.13] (mickeyl) | 117 | * libopiecore: Add support for the new Linux Inputsystem Switches type [necessary for auto rotation in 2.6.13] (mickeyl) |
117 | * Remove assumptions about default gfx driver ("Transformed") all over the place (mteira,mickeyl) | 118 | * Remove assumptions about default gfx driver ("Transformed") all over the place (mteira,mickeyl) |
118 | * Fix / Optimize number of scanned directories (ljp) | 119 | * Fix / Optimize number of scanned directories (ljp) |
119 | * Use five point mouse calibration to make calibrated mouse drivers work on newer Zaurii (rp,mickeyl) | 120 | * Use five point mouse calibration to make calibrated mouse drivers work on newer Zaurii (rp,mickeyl) |
120 | 121 | ||
121 | 2005-03-25Opie 1.2.0 | 122 | 2005-03-25Opie 1.2.0 |
122 | 123 | ||
123 | Fixed Bugs | 124 | Fixed Bugs |
124 | ---------- | 125 | ---------- |
125 | * #1613 - AdvancedFM - scale toolbar icons appropriately (drw) | 126 | * #1613 - AdvancedFM - scale toolbar icons appropriately (drw) |
126 | * #1620 - OFileSelector - show the button on press and not on press on hold (alwin) | 127 | * #1620 - OFileSelector - show the button on press and not on press on hold (alwin) |
127 | * #1473 - Opie-Eye - Same as #1620 but we lack a common FileSystem Button class (zecke) | 128 | * #1473 - Opie-Eye - Same as #1620 but we lack a common FileSystem Button class (zecke) |
128 | * n.a. - PackageManager - fix bug where messages show up multiple times in install dialog (drw) | 129 | * n.a. - PackageManager - fix bug where messages show up multiple times in install dialog (drw) |
129 | * n.a.- make qpeglobal.h include qglobal.h (zecke) | 130 | * n.a.- make qpeglobal.h include qglobal.h (zecke) |
130 | 131 | ||
131 | 2005-03-20Opie 1.2.0-rc1 | 132 | 2005-03-20Opie 1.2.0-rc1 |
132 | 133 | ||
133 | 134 | ||
134 | New Features | 135 | New Features |
135 | ------------ | 136 | ------------ |
136 | * Launcher: Support a static background pixmap (mickeyl) | 137 | * Launcher: Support a static background pixmap (mickeyl) |
137 | * LauncherSettings: Choose whether to have a static background pixmap (mickeyl) | 138 | * LauncherSettings: Choose whether to have a static background pixmap (mickeyl) |
138 | * PackageManager supports the 'lists_dir' ipkg configuration option (drw) | 139 | * PackageManager supports the 'lists_dir' ipkg configuration option (drw) |
139 | * Added hi-res inline images for large resolution devices (drw) | 140 | * Added hi-res inline images for large resolution devices (drw) |
140 | * Improved launcher icons for consistency (ar) | 141 | * Improved launcher icons for consistency (ar) |
141 | * Datebook: Added plugin system to datebook so holidays and birthdays from contacts may displayed in datebook (alwin) | 142 | * Datebook: Added plugin system to datebook so holidays and birthdays from contacts may displayed in datebook (alwin) |
142 | 143 | ||
143 | Fixed Bugs | 144 | Fixed Bugs |
144 | ---------- | 145 | ---------- |
145 | * #1236 - VCards contained empty home and work address entries causing Palms to crash (eilers) | 146 | * #1236 - VCards contained empty home and work address entries causing Palms to crash (eilers) |
146 | * #1412 - Launcher Settings - fixed default settings for background in Edit tab dialog (drw) | 147 | * #1412 - Launcher Settings - fixed default settings for background in Edit tab dialog (drw) |
147 | * #1472 - Opie textedit now check for unsaved changes on ESC key (ljp) | 148 | * #1472 - Opie textedit now check for unsaved changes on ESC key (ljp) |
148 | * #1474 - Implement GUI for Scrollbars on the Left in Appearance (zecke) | 149 | * #1474 - Implement GUI for Scrollbars on the Left in Appearance (zecke) |
149 | * #1482 - Fix double '/' in paths (zecke) | 150 | * #1482 - Fix double '/' in paths (zecke) |
150 | * #1536 - Autosave of custom locations in opie backup (ar) | 151 | * #1536 - Autosave of custom locations in opie backup (ar) |
151 | * #1539 - Fixed displaying too long path in the delete dialog in opie-eye (zecke) | 152 | * #1539 - Fixed displaying too long path in the delete dialog in opie-eye (zecke) |
152 | * #1540 - Implemented deletion of DocLnks in opie-eye (zecke) | 153 | * #1540 - Implemented deletion of DocLnks in opie-eye (zecke) |
153 | * #1542 - Fixed Todo crash when priority < 1 or > 5 (drw) | 154 | * #1542 - Fixed Todo crash when priority < 1 or > 5 (drw) |
154 | * #1550 - Browse for alarm sound start in QPEDIR/sounds/ (zecke) | 155 | * #1550 - Browse for alarm sound start in QPEDIR/sounds/ (zecke) |
155 | * #1554 - Fixed Opie-Console name in .desktop file (mickeyl) | 156 | * #1554 - Fixed Opie-Console name in .desktop file (mickeyl) |
156 | * #1556 - Start to look for sound files in /opt/QtPalmtop/sounds (zecke) | 157 | * #1556 - Start to look for sound files in /opt/QtPalmtop/sounds (zecke) |
157 | * #1558 - Fixed opie-login breaking opie startup (mickeyl) | 158 | * #1558 - Fixed opie-login breaking opie startup (mickeyl) |
158 | * #1560 - Fixed Opie-Console picking up the wrong shell (bluelightning) | 159 | * #1560 - Fixed Opie-Console picking up the wrong shell (bluelightning) |
159 | * #1570 - Confirmation needed befor Restore a backup and overwrite local data (ar) | 160 | * #1570 - Confirmation needed befor Restore a backup and overwrite local data (ar) |
160 | * #1591 - Addressbook sortorder changed by clicking on column 0 (eilers) | 161 | * #1591 - Addressbook sortorder changed by clicking on column 0 (eilers) |
161 | * #1599 - Security - change recommendation for opie-multiauth to opie-securityplugin (gints) | 162 | * #1599 - Security - change recommendation for opie-multiauth to opie-securityplugin (gints) |
162 | * #1604 - Checkbook crashed on startup (drw) | 163 | * #1604 - Checkbook crashed on startup (drw) |
163 | * #1608 - Addressbook crashed after search, which may caused by not initialzed member variable (eilers) | 164 | * #1608 - Addressbook crashed after search, which may caused by not initialzed member variable (eilers) |
164 | * #1608 - QueryByExampe-Datediff on SQL database did not worked properly (eilers) | 165 | * #1608 - QueryByExampe-Datediff on SQL database did not worked properly (eilers) |
165 | * n.a. - Netsystemtime - fixed UI to prevent error dialog from displaying when it shouldn't, get rid of some compiler warnings (drw) | 166 | * n.a. - Netsystemtime - fixed UI to prevent error dialog from displaying when it shouldn't, get rid of some compiler warnings (drw) |
166 | * n.a. - PackageManager - fixed where last package in status file was not shown as installed when it should be (drw) | 167 | * n.a. - PackageManager - fixed where last package in status file was not shown as installed when it should be (drw) |
167 | * n.a. - PackageManager - fixed bug where lists_dir was not being honored at startup (drw) | 168 | * n.a. - PackageManager - fixed bug where lists_dir was not being honored at startup (drw) |
168 | * n.a. - PackageManager - provided default value for lists_dir when none is entered in configuration dialog (drw) | 169 | * n.a. - PackageManager - provided default value for lists_dir when none is entered in configuration dialog (drw) |
169 | * n.a. - OTabWidget - fixed scroll buttons, fix display position of tabs (drw) | 170 | * n.a. - OTabWidget - fixed scroll buttons, fix display position of tabs (drw) |
170 | * n.a. - AddressBook - fixed sorting by 'File As' name (drw) | 171 | * n.a. - AddressBook - fixed sorting by 'File As' name (drw) |
171 | * n.a. - AddressBook - fixed category handling for 'All' and 'Unfiled' (eilers) | 172 | * n.a. - AddressBook - fixed category handling for 'All' and 'Unfiled' (eilers) |
172 | * n.a. - AddressBook - fixed letter picker record selection and sort records afterwards (drw) | 173 | * n.a. - AddressBook - fixed letter picker record selection and sort records afterwards (drw) |
173 | 174 | ||
174 | Internal | 175 | Internal |
175 | -------- | 176 | -------- |
176 | * Worked around bug in Qt/Embedded 2.3.10: qt_version() returns 231 (mickeyl) | 177 | * Worked around bug in Qt/Embedded 2.3.10: qt_version() returns 231 (mickeyl) |
177 | * Killed the need for weak symbols in QtE (zecke) | 178 | * Killed the need for weak symbols in QtE (zecke) |
178 | * Added optional building libqpe without inline images (mickeyl) | 179 | * Added optional building libqpe without inline images (mickeyl) |
179 | * OColorButton - fixed so does not emit a colorSelected signal inside of resizeEvent (drw) | 180 | * OColorButton - fixed so does not emit a colorSelected signal inside of resizeEvent (drw) |
180 | 181 | ||
181 | 2005-02-03Opie 1.1.9 | 182 | 2005-02-03Opie 1.1.9 |
182 | 183 | ||
183 | New Features | 184 | New Features |
184 | ------------ | 185 | ------------ |
185 | * Number of icon columns in Launcher is customizable through Launcher.conf (hrw,zecke,mickeyl) | 186 | * Number of icon columns in Launcher is customizable through Launcher.conf (hrw,zecke,mickeyl) |
186 | * Number of icon columns in Launcher is customizable through LauncherSettings (mickeyl) | 187 | * Number of icon columns in Launcher is customizable through LauncherSettings (mickeyl) |
187 | * Usability enhancements in OpieIRC (skyhusker) | 188 | * Usability enhancements in OpieIRC (skyhusker) |
188 | 189 | ||
189 | Fixed Bugs | 190 | Fixed Bugs |
190 | ---------- | 191 | ---------- |
191 | * #1501 - Fixed bug in todo sql backend (eilers) | 192 | * #1501 - Fixed bug in todo sql backend (eilers) |
192 | * #1505 - Added more Swap sizes in memoryapplet (mickeyl) | 193 | * #1505 - Added more Swap sizes in memoryapplet (mickeyl) |
193 | * #1525 - Hopefully fixed double alarms and not removing alarms set with the Clock application (zecke) | 194 | * #1525 - Hopefully fixed double alarms and not removing alarms set with the Clock application (zecke) |
194 | * #1533 - Security Owner Dialog (shown in case of unsuccessfull authentiacation) wasn't able to display information in non latin1 encoding (zecke) | 195 | * #1533 - Security Owner Dialog (shown in case of unsuccessfull authentiacation) wasn't able to display information in non latin1 encoding (zecke) |
195 | * n.a. - Removed hard coded font sizes in a couple of inputmethods (mickeyl) | 196 | * n.a. - Removed hard coded font sizes in a couple of inputmethods (mickeyl) |
196 | * n.a. - Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration) (mickeyl) | 197 | * n.a. - Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration) (mickeyl) |
197 | * n.a. - Fixed numerous buglets in OpieIRC (skyhusker) | 198 | * n.a. - Fixed numerous buglets in OpieIRC (skyhusker) |
198 | 199 | ||
199 | Internal | 200 | Internal |
200 | -------- | 201 | -------- |
201 | * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl) | 202 | * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl) |
202 | * You can now use the Opie build system in combination with a OpenEmbedded staging area which makes a nice cross development environment (mickeyl) | 203 | * You can now use the Opie build system in combination with a OpenEmbedded staging area which makes a nice cross development environment (mickeyl) |
203 | * Made Opie compilable with Qt/Embedded 2.3.10 (ar) | 204 | * Made Opie compilable with Qt/Embedded 2.3.10 (ar) |
204 | * Changed Launcher to get default orientation from ODevice w/ QWS_DISPLAY overriding (mickeyl) | 205 | * Changed Launcher to get default orientation from ODevice w/ QWS_DISPLAY overriding (mickeyl) |
205 | * Build tree cleanups (mickeyl) | 206 | * Build tree cleanups (mickeyl) |
206 | 207 | ||
207 | 2004-11-26Opie 1.1.8 | 208 | 2004-11-26Opie 1.1.8 |
208 | 209 | ||
209 | New Features | 210 | New Features |
210 | ------------ | 211 | ------------ |
211 | * PackageManager supports installation of local ipkg files (drw) | 212 | * PackageManager supports installation of local ipkg files (drw) |
212 | * PackageManager supports linking of applications to root (drw) | 213 | * PackageManager supports linking of applications to root (drw) |
213 | * PackageManager supports src/gz feeds (drw,wimpie) | 214 | * PackageManager supports src/gz feeds (drw,wimpie) |
214 | * Added a syslog information tab to sysinfo (mickeyl) | 215 | * Added a syslog information tab to sysinfo (mickeyl) |
215 | * Added new, more consistent, PIM icons + a GIMP teplate (ar) | 216 | * Added new, more consistent, PIM icons + a GIMP teplate (ar) |
216 | 217 | ||
217 | Fixed Bugs | 218 | Fixed Bugs |
218 | ---------- | 219 | ---------- |
219 | * #1017 - Tetrix doesn't display correctly for high resolution screens (drw) | 220 | * #1017 - Tetrix doesn't display correctly for high resolution screens (drw) |
220 | * #1269 - VCards were imported into personal area if it was activated (eilers) | 221 | * #1269 - VCards were imported into personal area if it was activated (eilers) |
221 | * #1464 - Packagemanager dont set active filter after install a package (drw) | 222 | * #1464 - Packagemanager dont set active filter after install a package (drw) |
222 | * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers) | 223 | * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers) |
223 | * #1493 - Fixed one column layout bug of the launcher (hrw) | 224 | * #1493 - Fixed one column layout bug of the launcher (hrw) |
224 | * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw) | 225 | * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw) |
225 | * n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw) | 226 | * n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw) |
226 | * n.a. - Battery Applet - fix sizing of battery info popup (drw,mickeyl) | 227 | * n.a. - Battery Applet - fix sizing of battery info popup (drw,mickeyl) |
227 | 228 | ||
228 | Internal | 229 | Internal |
229 | -------- | 230 | -------- |
230 | * Moved libopie1 to unsupported (mickeyl) | 231 | * Moved libopie1 to unsupported (mickeyl) |
231 | * Implemented generic queryByExample() with incremental searching. A lot of internal changes of the Pim2-library (eilers) | 232 | * Implemented generic queryByExample() with incremental searching. A lot of internal changes of the Pim2-library (eilers) |
232 | * Added fast and full featured and incremental sorted() for SQL addressbook backend (eilers) | 233 | * Added fast and full featured and incremental sorted() for SQL addressbook backend (eilers) |
233 | 234 | ||
234 | 2004-11-14Opie 1.1.7 | 235 | 2004-11-14Opie 1.1.7 |
235 | 236 | ||
236 | New Features | 237 | New Features |
237 | ------------ | 238 | ------------ |
238 | * libOpieDB now uses SQLite V3 instead V2. Remember to upgrade your database files! (eilers) | 239 | * libOpieDB now uses SQLite V3 instead V2. Remember to upgrade your database files! (eilers) |
239 | * Backup now uses the busy indicator when backing up and restore (ar) | 240 | * Backup now uses the busy indicator when backing up and restore (ar) |
240 | * OpiePlayer2 gained adding of Directories to the playlist (zecke) | 241 | * OpiePlayer2 gained adding of Directories to the playlist (zecke) |
241 | * OpiePlayer2 better error handling (zecke) | 242 | * OpiePlayer2 better error handling (zecke) |
242 | * OpiePlayer2 progress indication while streaming (zecke) | 243 | * OpiePlayer2 progress indication while streaming (zecke) |
243 | * OpiePlayer2 ported to use libxine 1.0.0-rc6a (brad,zecke) | 244 | * OpiePlayer2 ported to use libxine 1.0.0-rc6a (brad,zecke) |
244 | * Ported brightnessapplet from Qtopia 1.7 (mickeyl) | 245 | * Ported brightnessapplet from Qtopia 1.7 (mickeyl) |
245 | * Opie-Eye got a Digital Camera File Backend (alwin,zecke) | 246 | * Opie-Eye got a Digital Camera File Backend (alwin,zecke) |
246 | * Support for Tuxpad1 of Tradesquare.NL (mickeyl,zecke) | 247 | * Support for Tuxpad1 of Tradesquare.NL (mickeyl,zecke) |
247 | * Opie-Console use Custom Font and Size in a Profile (harlekin) | 248 | * Opie-Console use Custom Font and Size in a Profile (harlekin) |
248 | * Opie-Console transparently log the Output and Input to a file (harlekin) | 249 | * Opie-Console transparently log the Output and Input to a file (harlekin) |
249 | * Added new O-menu icon to lock the PDA immediately: opie-lockapplet (clem) | 250 | * Added new O-menu icon to lock the PDA immediately: opie-lockapplet (clem) |
250 | * Opie-Security now hides the plugin-based authentication tabs if no auth. plugin package is installed (clem) | 251 | * Opie-Security now hides the plugin-based authentication tabs if no auth. plugin package is installed (clem) |
251 | * Opie-Security gained a 'test authentication' button (clem) | 252 | * Opie-Security gained a 'test authentication' button (clem) |
252 | * Opie-Eye got a more unique layout (menubar), a slideshow, user can setup some defaults | 253 | * Opie-Eye got a more unique layout (menubar), a slideshow, user can setup some defaults |
253 | * Opie-Mail improve the handling of POP mail boxes (alwin) | 254 | * Opie-Mail improve the handling of POP mail boxes (alwin) |
254 | * Both Opie-Eye and Opie-Mail were greatly improved due the hard work of Rajko Albrecht(alwin) | 255 | * Both Opie-Eye and Opie-Mail were greatly improved due the hard work of Rajko Albrecht(alwin) |
255 | * Opie IRC - backports of the 'NeIRC fork' (zecke) | 256 | * Opie IRC - backports of the 'NeIRC fork' (zecke) |
256 | 257 | ||
257 | Fixed Bugs | 258 | Fixed Bugs |
258 | ---------- | 259 | ---------- |
259 | * #501 - Pickboard is able to show 'Umlaute' (TT,zecke) | 260 | * #501 - Pickboard is able to show 'Umlaute' (TT,zecke) |
260 | * #608 - Make Opie usable for left handed users (zecke) | 261 | * #608 - Make Opie usable for left handed users (zecke) |
261 | * #957 - Import of VCards/VTodos/VEvents with BASE64 encoding (ljp,zecke) | 262 | * #957 - Import of VCards/VTodos/VEvents with BASE64 encoding (ljp,zecke) |
262 | * #1245 - Opie-Go 'paused' (zecke) | 263 | * #1245 - Opie-Go 'paused' (zecke) |
263 | * #1358 - DocTab didn't show any MimeTypes (was fixed earlier) (zecke) | 264 | * #1358 - DocTab didn't show any MimeTypes (was fixed earlier) (zecke) |
264 | * #1380 - QDateBookAccess::remove() doesn't remove entries (eilers, zecke) | 265 | * #1380 - QDateBookAccess::remove() doesn't remove entries (eilers, zecke) |
265 | * #1395 - Build VNC Backend with gcc3.4 | 266 | * #1395 - Build VNC Backend with gcc3.4 |
266 | * #1440 - The icon of opie-mobilemsg is missing (CoreDump) | 267 | * #1440 - The icon of opie-mobilemsg is missing (CoreDump) |
267 | * #1426 - Add missing opie-bartender Icon (CoreDump) | 268 | * #1426 - Add missing opie-bartender Icon (CoreDump) |
268 | * #1445 - Opie-Sheet Has No Icon (CoreDump) | 269 | * #1445 - Opie-Sheet Has No Icon (CoreDump) |
269 | * #1448 - Brightness Applet added (mickeyl) | 270 | * #1448 - Brightness Applet added (mickeyl) |
270 | * #1450 - ZSame didn't clear the bonus item after winning a game (zecke) | 271 | * #1450 - ZSame didn't clear the bonus item after winning a game (zecke) |
271 | * #1482 - Fix OFileSelector to be able to sort by size (zecke) | 272 | * #1482 - Fix OFileSelector to be able to sort by size (zecke) |
272 | * n.a. - Opie-mail: fixed some crasher, some layout-problems | 273 | * n.a. - Opie-mail: fixed some crasher, some layout-problems |
273 | * n.a. - Converted applications to not hardcode /opt/QtPalmtop but to use QPEApplication::qpeDir (zecke) | 274 | * n.a. - Converted applications to not hardcode /opt/QtPalmtop but to use QPEApplication::qpeDir (zecke) |
274 | * n.a. - Converted usage of qpeDir() not to include a '/' as first charachter of the string (zecke) | 275 | * n.a. - Converted usage of qpeDir() not to include a '/' as first charachter of the string (zecke) |
275 | * n.a. - Build system: Enable distcc and ccache when crosscompiling too, and use them everywhere we can (clem) | 276 | * n.a. - Build system: Enable distcc and ccache when crosscompiling too, and use them everywhere we can (clem) |
276 | * n.a. - Build system: Fix deps in several config.in (and fix scripts/deps.pl too) to stop breaking builds, especially with make -j highNumber (clem) | 277 | * n.a. - Build system: Fix deps in several config.in (and fix scripts/deps.pl too) to stop breaking builds, especially with make -j highNumber (clem) |
277 | * n.a. - Removed hardcoded icon size in a couple of applets (mickeyl) | 278 | * n.a. - Removed hardcoded icon size in a couple of applets (mickeyl) |
278 | 279 | ||
279 | Internal | 280 | Internal |
280 | -------- | 281 | -------- |
281 | * Opie-Qashmoney has been moved to unsupported (mickeyl) | 282 | * Opie-Qashmoney has been moved to unsupported (mickeyl) |
282 | * Opie-Ubrowser has been moved to unsupported (mickeyl) | 283 | * Opie-Ubrowser has been moved to unsupported (mickeyl) |
283 | 284 | ||
284 | 2004-09-17Opie 1.1.6 | 285 | 2004-09-17Opie 1.1.6 |
285 | 286 | ||
286 | New Features | 287 | New Features |
287 | ------------ | 288 | ------------ |
288 | * Fifteen gained configurable number of items (zecke) | 289 | * Fifteen gained configurable number of items (zecke) |
289 | * Fifteen can have custom background images (zecke) | 290 | * Fifteen can have custom background images (zecke) |
290 | * Added daemonizing capabilities to QWS Server [via Qt/Embedded] (mickeyl) | 291 | * Added daemonizing capabilities to QWS Server [via Qt/Embedded] (mickeyl) |
291 | * Integrated the new security framework into libopie2 (zecke,clem) | 292 | * Integrated the new security framework into libopie2 (zecke,clem) |
292 | * Converted the launcher to use the new security framework (zecke) | 293 | * Converted the launcher to use the new security framework (zecke) |
293 | * Backup can now handle custom locations for backup and restore (ar) | 294 | * Backup can now handle custom locations for backup and restore (ar) |
294 | * Implemented right-on-hold feedback (wimpie,zecke) | 295 | * Implemented right-on-hold feedback (wimpie,zecke) |
295 | * Lots of new features in opie-reader (tim,pohly) | 296 | * Lots of new features in opie-reader (tim,pohly) |
296 | * Build system cleanups (schurig) | 297 | * Build system cleanups (schurig) |
297 | 298 | ||
298 | Fixed Bugs | 299 | Fixed Bugs |
299 | -------- | 300 | -------- |
300 | * #1005 - Fixed backup to CompactFlash (ar) | 301 | * #1005 - Fixed backup to CompactFlash (ar) |
301 | * #1167 - Fixed Opie write crashing on more text than one page (ar) | 302 | * #1167 - Fixed Opie write crashing on more text than one page (ar) |
302 | * #1225 - Fixed repeated light flashing on Zaurus with keyz (mickeyl) | 303 | * #1225 - Fixed repeated light flashing on Zaurus with keyz (mickeyl) |
303 | * #1359 - Fixed bookmarks in Gutenbrowser (ljp) | 304 | * #1359 - Fixed bookmarks in Gutenbrowser (ljp) |
304 | * #1361 - Fixed auto upercase in Opie-Addressbook (eilers) | 305 | * #1361 - Fixed auto upercase in Opie-Addressbook (eilers) |
305 | * #1370 - Pimconverter now reacts on cancel key (eilers) | 306 | * #1370 - Pimconverter now reacts on cancel key (eilers) |
306 | * #1376 - Bring back the capslock/numlock display (zecke) | 307 | * #1376 - Bring back the capslock/numlock display (zecke) |
307 | * #1383 - Language settings now warns about losing open apps (Markus Litz) | 308 | * #1383 - Language settings now warns about losing open apps (Markus Litz) |
308 | * #1393 - Fixed line wrap issues in opie-console for the default profile (mickeyl) | 309 | * #1393 - Fixed line wrap issues in opie-console for the default profile (mickeyl) |
309 | * #1394 - Fixed oversized headline in opie-login (coredump) | 310 | * #1394 - Fixed oversized headline in opie-login (coredump) |
310 | * #1396 - Opie-console captures the escape key and vim is working (zecke) | 311 | * #1396 - Opie-console captures the escape key and vim is working (zecke) |
311 | * #1401 - Scrollbar is now only visible if necessary in DocTab (mickeyl) | 312 | * #1401 - Scrollbar is now only visible if necessary in DocTab (mickeyl) |
312 | 313 | ||
313 | 2004-07-06Opie 1.1.4 | 314 | 2004-07-06Opie 1.1.4 |
314 | 315 | ||
315 | New Features | 316 | New Features |
316 | ------------ | 317 | ------------ |
317 | * Added four themes courtesy Robert Griebl (http://www.softforge.de/zstyle) | 318 | * Added four themes courtesy Robert Griebl (http://www.softforge.de/zstyle) |
318 | * Added Conversion tool for pim-data (eilers) | 319 | * Added Conversion tool for pim-data (eilers) |
319 | * Introduced new OPimAccessFactory and OBackendFactory which simplyfies database access (eilers) | 320 | * Introduced new OPimAccessFactory and OBackendFactory which simplyfies database access (eilers) |
320 | * Modified the PIM API for providing generic use of OPimRecords (eilers) | 321 | * Modified the PIM API for providing generic use of OPimRecords (eilers) |
321 | * Clicking on the application symbol now iterates over the application's top level widgets if already raised (zecke) | 322 | * Clicking on the application symbol now iterates over the application's top level widgets if already raised (zecke) |
322 | 323 | ||
323 | Fixed Bugs | 324 | Fixed Bugs |
324 | -------- | 325 | -------- |
325 | * #1068 - Country Drop Down Box Off Screen | 326 | * #1068 - Country Drop Down Box Off Screen |
326 | * #1291 - Opie tinykate does not open .desktop files (ar) | 327 | * #1291 - Opie tinykate does not open .desktop files (ar) |
327 | * #1291 - Opie sheet not saving correctly (ar) | 328 | * #1291 - Opie sheet not saving correctly (ar) |
328 | * #1294 - Opie does not know about British Summer Time | 329 | * #1294 - Opie does not know about British Summer Time |
329 | * #1314 - Drawpad initialization (mickeyl) | 330 | * #1314 - Drawpad initialization (mickeyl) |
330 | * #1317 - Packagemanager crashes on hold-down or install (chicken) | 331 | * #1317 - Packagemanager crashes on hold-down or install (chicken) |
331 | * #1321 - Batteryapplet graphic glitch (harlekin) | 332 | * #1321 - Batteryapplet graphic glitch (harlekin) |
332 | * #1324 - ZSafe not starting up (mickeyl) | 333 | * #1324 - ZSafe not starting up (mickeyl) |
333 | * #1328 - Personal Home Address fields is trimmed to 1char (eilers) | 334 | * #1328 - Personal Home Address fields is trimmed to 1char (eilers) |
334 | * #1327 - Opie-mail ipk does not depend on libopiedb2 (chicken) | 335 | * #1327 - Opie-mail ipk does not depend on libopiedb2 (chicken) |
335 | * #1345 - Networksettingsplugin wlan plugin dependency on libpcap0 (mickeyl) | 336 | * #1345 - Networksettingsplugin wlan plugin dependency on libpcap0 (mickeyl) |
336 | * #1348 - Datebook dependency on libopiedb2 (chicken) | 337 | * #1348 - Datebook dependency on libopiedb2 (chicken) |
337 | * #1328 - Switched SQLDatabase and VCards char encoding from latin1 to unicode (eilers) | 338 | * #1328 - Switched SQLDatabase and VCards char encoding from latin1 to unicode (eilers) |
338 | 339 | ||
339 | 2004-04-25Opie 1.1.3 | 340 | 2004-04-25Opie 1.1.3 |
340 | 341 | ||
341 | * Introduced first implementation of SQL-Support using SQLite (eilers) | 342 | * Introduced first implementation of SQL-Support using SQLite (eilers) |
342 | * Added a new Gutenberg Project reader app - opie-gutenbrowser (ljp) | 343 | * Added a new Gutenberg Project reader app - opie-gutenbrowser (ljp) |
343 | * Added a real system graffiti character set (brad) | 344 | * Added a real system graffiti character set (brad) |
344 | * Added Generic Keyconfig Widget (zecke) | 345 | * Added Generic Keyconfig Widget (zecke) |
345 | * Improved Screenshotapplet and Drawpad integration. You can now open a screenshot in drawpad and take notes (zecke) | 346 | * Improved Screenshotapplet and Drawpad integration. You can now open a screenshot in drawpad and take notes (zecke) |
346 | * Added new Bible reader app - opie-dagger (drw) | 347 | * Added new Bible reader app - opie-dagger (drw) |
347 | * Added a new Image Viewer. Work is ongoing (zecke,alwin) | 348 | * Added a new Image Viewer. Work is ongoing (zecke,alwin) |
348 | * Added namespace usage in libopie2 and everywhere (zecke,alwin) | 349 | * Added namespace usage in libopie2 and everywhere (zecke,alwin) |
349 | * Enabled the possibility to pass command line arguments to applications (mickeyl) | 350 | * Enabled the possibility to pass command line arguments to applications (mickeyl) |
350 | * Added an about applet showing some credits and information about Opie (mickeyl) | 351 | * Added an about applet showing some credits and information about Opie (mickeyl) |
351 | * Added benchmarking functionality to sysinfo (mickeyl) | 352 | * Added benchmarking functionality to sysinfo (mickeyl) |
352 | * Added applet and configuration application for switching hardware keyboard layouts (alwin) | 353 | * Added applet and configuration application for switching hardware keyboard layouts (alwin) |
353 | * Ported applications from libopie1 to libopie2* (drw,ar,alwin) | 354 | * Ported applications from libopie1 to libopie2* (drw,ar,alwin) |
354 | * Imported fullscreen and font improvements from the Qkonsole fork to embeddedkonsole (waspe) | 355 | * Imported fullscreen and font improvements from the Qkonsole fork to embeddedkonsole (waspe) |
355 | * Clean-up of package information in control files (drw) | 356 | * Clean-up of package information in control files (drw) |
356 | * Repaired mediummount which was broken since integrating the quicklauncher (alwin) | 357 | * Repaired mediummount which was broken since integrating the quicklauncher (alwin) |
357 | * Improved big-screen support (zecke,ar) | 358 | * Improved big-screen support (zecke,ar) |
358 | * Improved multikeyboard support, added keyboard layout switching applet (mouse) | 359 | * Improved multikeyboard support, added keyboard layout switching applet (mouse) |
359 | * Added a new mail client based on libetpan (harlekin,alwin,jgf) | 360 | * Added a new mail client based on libetpan (harlekin,alwin,jgf) |
360 | * Added new package manager - opie-packagemanager (drw) | 361 | * Added new package manager - opie-packagemanager (drw) |
361 | * Improved light-n-power for C7x0 (mickeyl) | 362 | * Improved light-n-power for C7x0 (mickeyl) |
362 | * Added automatic rotation support for C7x0 (treke) | 363 | * Added automatic rotation support for C7x0 (treke) |
363 | * Split libopie1 up into a set of smaller - functionally grouped - libraries (mickeyl) | 364 | * Split libopie1 up into a set of smaller - functionally grouped - libraries (mickeyl) |
364 | * Added scanning the wireless network neighbourhood to networksettings (mickeyl) | 365 | * Added scanning the wireless network neighbourhood to networksettings (mickeyl) |
365 | 366 | ||
366 | 2003-11-29Opie 1.0.3 | 367 | 2003-11-29Opie 1.0.3 |
367 | 368 | ||
368 | * Released as Version 1.0.3 | 369 | * Released as Version 1.0.3 |
369 | * Improved i18n (various contributors) | 370 | * Improved i18n (various contributors) |
370 | * Reduced application startup time by integrating the TT quicklauncher (zecke,harlekin) | 371 | * Reduced application startup time by integrating the TT quicklauncher (zecke,harlekin) |
371 | * Made the Documents Tab optional (mickeyl) | 372 | * Made the Documents Tab optional (mickeyl) |
372 | * Integrated basic support for HP iPAQ 54xx and the Jornada 5xx (chicken) | 373 | * Integrated basic support for HP iPAQ 54xx and the Jornada 5xx (chicken) |
373 | 374 | ||
374 | 2003-08-04Opie 1.0.0 | 375 | 2003-08-04Opie 1.0.0 |
375 | 376 | ||
376 | * Released as Version 1.0.0 | 377 | * Released as Version 1.0.0 |
377 | * Including a PPP module for easy dial up (tille,harlekin,zecke) | 378 | * Including a PPP module for easy dial up (tille,harlekin,zecke) |
diff --git a/libopie2/opiecore/device/odevice_motorola_ezx.cpp b/libopie2/opiecore/device/odevice_motorola_ezx.cpp index 69256dd..eed81ac 100644 --- a/libopie2/opiecore/device/odevice_motorola_ezx.cpp +++ b/libopie2/opiecore/device/odevice_motorola_ezx.cpp | |||
@@ -1,325 +1,292 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | =. (C) 2006 Michael 'Mickey' Lauer <mickey@Vanille.de> | 3 | =. (C) 2006 Michael 'Mickey' Lauer <mickey@Vanille.de> |
4 | .=l. | 4 | .=l. |
5 | .>+-= | 5 | .>+-= |
6 | _;:, .> :=|. This program is free software; you can | 6 | _;:, .> :=|. This program is free software; you can |
7 | .> <`_, > . <= redistribute it and/or modify it under | 7 | .> <`_, > . <= redistribute it and/or modify it under |
8 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | 8 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public |
9 | .="- .-=="i, .._ License as published by the Free Software | 9 | .="- .-=="i, .._ License as published by the Free Software |
10 | - . .-<_> .<> Foundation; version 2 of the License. | 10 | - . .-<_> .<> Foundation; version 2 of the License. |
11 | ._= =} : | 11 | ._= =} : |
12 | .%`+i> _;_. | 12 | .%`+i> _;_. |
13 | .i_,=:_. -<s. This program is distributed in the hope that | 13 | .i_,=:_. -<s. This program is distributed in the hope that |
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
15 | : .. .:, . . . without even the implied warranty of | 15 | : .. .:, . . . without even the implied warranty of |
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
18 | ..}^=.= = ; Library General Public License for more | 18 | ..}^=.= = ; Library General Public License for more |
19 | ++= -. .` .: details. | 19 | ++= -. .` .: details. |
20 | : = ...= . :.=- | 20 | : = ...= . :.=- |
21 | -. .:....=;==+<; You should have received a copy of the GNU | 21 | -. .:....=;==+<; You should have received a copy of the GNU |
22 | -_. . . )=. = Library General Public License along with | 22 | -_. . . )=. = Library General Public License along with |
23 | -- :-=` this library; see the file COPYING.LIB. | 23 | -- :-=` this library; see the file COPYING.LIB. |
24 | If not, write to the Free Software Foundation, | 24 | If not, write to the Free Software Foundation, |
25 | Inc., 59 Temple Place - Suite 330, | 25 | Inc., 59 Temple Place - Suite 330, |
26 | Boston, MA 02111-1307, USA. | 26 | Boston, MA 02111-1307, USA. |
27 | */ | 27 | */ |
28 | 28 | ||
29 | #include "odevice_motorola_ezx.h" | 29 | #include "odevice_motorola_ezx.h" |
30 | 30 | ||
31 | /* OPIE */ | 31 | /* OPIE */ |
32 | #include <opie2/oinputsystem.h> | 32 | #include <opie2/oinputsystem.h> |
33 | #include <opie2/oresource.h> | 33 | #include <opie2/oresource.h> |
34 | 34 | ||
35 | #include <qpe/config.h> | 35 | #include <qpe/config.h> |
36 | #include <qpe/sound.h> | 36 | #include <qpe/sound.h> |
37 | 37 | ||
38 | /* QT */ | 38 | /* QT */ |
39 | #include <qapplication.h> | 39 | #include <qapplication.h> |
40 | #include <qfile.h> | 40 | #include <qfile.h> |
41 | #include <qtextstream.h> | 41 | #include <qtextstream.h> |
42 | #include <qwindowsystem_qws.h> | 42 | #include <qwindowsystem_qws.h> |
43 | #include <qcopchannel_qws.h> | 43 | #include <qcopchannel_qws.h> |
44 | 44 | ||
45 | /* STD */ | 45 | /* STD */ |
46 | #include <assert.h> | 46 | #include <assert.h> |
47 | #include <string.h> | 47 | #include <string.h> |
48 | #include <errno.h> | 48 | #include <errno.h> |
49 | #include <fcntl.h> | 49 | #include <fcntl.h> |
50 | #include <math.h> | 50 | #include <math.h> |
51 | #include <stdlib.h> | 51 | #include <stdlib.h> |
52 | #include <signal.h> | 52 | #include <signal.h> |
53 | #include <sys/ioctl.h> | 53 | #include <sys/ioctl.h> |
54 | #include <sys/time.h> | 54 | #include <sys/time.h> |
55 | #include <unistd.h> | 55 | #include <unistd.h> |
56 | #ifndef QT_NO_SOUND | 56 | #ifndef QT_NO_SOUND |
57 | #include <linux/soundcard.h> | 57 | #include <linux/soundcard.h> |
58 | #endif | 58 | #endif |
59 | 59 | ||
60 | using namespace Opie::Core; | 60 | using namespace Opie::Core; |
61 | using namespace Opie::Core::Internal; | 61 | using namespace Opie::Core::Internal; |
62 | 62 | ||
63 | struct ezx_button ezx_buttons [] = { | 63 | struct ezx_button ezx_buttons [] = { |
64 | { Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"), | 64 | { Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"), |
65 | "devicebuttons/z_calendar", | 65 | "devicebuttons/z_calendar", |
66 | "datebook", "nextView()", | 66 | "datebook", "nextView()", |
67 | "today", "raise()" }, | 67 | "today", "raise()" }, |
68 | { Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"), | 68 | { Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"), |
69 | "devicebuttons/z_contact", | 69 | "devicebuttons/z_contact", |
70 | "addressbook", "raise()", | 70 | "addressbook", "raise()", |
71 | "addressbook", "beamBusinessCard()" }, | 71 | "addressbook", "beamBusinessCard()" }, |
72 | { Qt::Key_F12, QT_TRANSLATE_NOOP("Button", "Home Button"), | 72 | { Qt::Key_F12, QT_TRANSLATE_NOOP("Button", "Home Button"), |
73 | "devicebuttons/z_home", | 73 | "devicebuttons/z_home", |
74 | "QPE/Launcher", "home()", | 74 | "QPE/Launcher", "home()", |
75 | "buttonsettings", "raise()" }, | 75 | "buttonsettings", "raise()" }, |
76 | { Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Menu Button"), | 76 | { Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Menu Button"), |
77 | "devicebuttons/z_menu", | 77 | "devicebuttons/z_menu", |
78 | "QPE/TaskBar", "toggleMenu()", | 78 | "QPE/TaskBar", "toggleMenu()", |
79 | "QPE/TaskBar", "toggleStartMenu()" }, | 79 | "QPE/TaskBar", "toggleStartMenu()" }, |
80 | { Qt::Key_F13, QT_TRANSLATE_NOOP("Button", "Mail Button"), | 80 | { Qt::Key_F13, QT_TRANSLATE_NOOP("Button", "Mail Button"), |
81 | "devicebuttons/z_mail", | 81 | "devicebuttons/z_mail", |
82 | "opiemail", "raise()", | 82 | "opiemail", "raise()", |
83 | "opiemail", "newMail()" }, | 83 | "opiemail", "newMail()" }, |
84 | }; | 84 | }; |
85 | 85 | ||
86 | void Motorola_EZX::init(const QString& cpu_info) | 86 | void Motorola_EZX::init(const QString& cpu_info) |
87 | { | 87 | { |
88 | qDebug( "Motorola_EZX::init()" ); | 88 | qDebug( "Motorola_EZX::init()" ); |
89 | // Set the time to wait until the system is really suspended | 89 | // Set the time to wait until the system is really suspended |
90 | // the delta between apm --suspend and sleeping | 90 | // the delta between apm --suspend and sleeping |
91 | setAPMTimeOut( 15000 ); | 91 | setAPMTimeOut( 15000 ); |
92 | 92 | ||
93 | d->m_vendorstr = "OpenEZX Team"; | 93 | d->m_vendorstr = "OpenEZX Team"; |
94 | d->m_systemstr = "OpenEZX"; | 94 | d->m_systemstr = "OpenEZX"; |
95 | d->m_system = System_OpenEZX; | 95 | d->m_system = System_OpenEZX; |
96 | // sysver already gathered | 96 | // sysver already gathered |
97 | 97 | ||
98 | // check the Motorola_EZX model | 98 | // check the Motorola_EZX model |
99 | QString model; | 99 | QString model; |
100 | int loc = cpu_info.find( ":" ); | 100 | int loc = cpu_info.find( ":" ); |
101 | if ( loc != -1 ) | 101 | if ( loc != -1 ) |
102 | model = cpu_info.mid( loc+2 ).simplifyWhiteSpace(); | 102 | model = cpu_info.mid( loc+2 ).simplifyWhiteSpace(); |
103 | else | 103 | else |
104 | model = cpu_info; | 104 | model = cpu_info; |
105 | 105 | ||
106 | if ( model == "Motorola Ezx Platform" ) { | 106 | if ( model == "Motorola Ezx Platform" ) { |
107 | d->m_model = Model_Motorola_EZX; | 107 | d->m_model = Model_Motorola_EZX; |
108 | d->m_modelstr = "Motorola_EZX"; | 108 | d->m_modelstr = "Motorola_EZX"; |
109 | } else assert( 0 ); | 109 | } else assert( 0 ); |
110 | 110 | ||
111 | // set path to backlight device in kernel 2.6 | 111 | // set path to backlight device in kernel 2.6 |
112 | m_backlightdev = "/sys/class/backlight/ezx-bl/"; | 112 | m_backlightdev = "/sys/class/backlight/ezx-bl/"; |
113 | d->m_rotation = Rot0; | 113 | d->m_rotation = Rot0; |
114 | //initHingeSensor(); | 114 | //initHingeSensor(); |
115 | 115 | ||
116 | // set default qte driver and led state | 116 | // set default qte driver and led state |
117 | d->m_qteDriver = "Transformed"; | 117 | d->m_qteDriver = "Transformed"; |
118 | m_leds[0] = Led_Off; | 118 | m_leds[0] = Led_Off; |
119 | 119 | ||
120 | qDebug( "Motorola_EZX::init() - Using the 2.6 OpenEZX HAL on a %s", (const char*) d->m_modelstr ); | 120 | qDebug( "Motorola_EZX::init() - Using the 2.6 OpenEZX HAL on a %s", (const char*) d->m_modelstr ); |
121 | } | 121 | } |
122 | 122 | ||
123 | void Motorola_EZX::initButtons() | 123 | void Motorola_EZX::initButtons() |
124 | { | 124 | { |
125 | qDebug( "Motorola_EZX::initButtons()" ); | 125 | qDebug( "Motorola_EZX::initButtons()" ); |
126 | if ( d->m_buttons ) | 126 | if ( d->m_buttons ) |
127 | return; | 127 | return; |
128 | 128 | ||
129 | d->m_buttons = new QValueList <ODeviceButton>; | 129 | d->m_buttons = new QValueList <ODeviceButton>; |
130 | 130 | ||
131 | struct ezx_button * ezx_buttons; | 131 | struct ezx_button * ezx_buttons; |
132 | int buttoncount; | 132 | int buttoncount; |
133 | 133 | ||
134 | /* | 134 | /* |
135 | 135 | ||
136 | switch ( d->m_model ) | 136 | switch ( d->m_model ) |
137 | { | 137 | { |
138 | case Model_Motorola_EZX_SL6000: | 138 | case Model_Motorola_EZX_SL6000: |
139 | pezx_buttons = ezx_buttons_6000; | 139 | pezx_buttons = ezx_buttons_6000; |
140 | buttoncount = ARRAY_SIZE(ezx_buttons_6000); | 140 | buttoncount = ARRAY_SIZE(ezx_buttons_6000); |
141 | break; | 141 | break; |
142 | case Model_Motorola_EZX_SLC3100: // fallthrough | 142 | case Model_Motorola_EZX_SLC3100: // fallthrough |
143 | case Model_Motorola_EZX_SLC3000: // fallthrough | 143 | case Model_Motorola_EZX_SLC3000: // fallthrough |
144 | case Model_Motorola_EZX_SLC1000: // fallthrough | 144 | case Model_Motorola_EZX_SLC1000: // fallthrough |
145 | case Model_Motorola_EZX_SLC7x0: | 145 | case Model_Motorola_EZX_SLC7x0: |
146 | if ( isQWS( ) ) | 146 | if ( isQWS( ) ) |
147 | { | 147 | { |
148 | addPreHandler(this); | 148 | addPreHandler(this); |
149 | } | 149 | } |
150 | pezx_buttons = ezx_buttons_c700; | 150 | pezx_buttons = ezx_buttons_c700; |
151 | buttoncount = ARRAY_SIZE(ezx_buttons_c700); | 151 | buttoncount = ARRAY_SIZE(ezx_buttons_c700); |
152 | break; | 152 | break; |
153 | default: | 153 | default: |
154 | pezx_buttons = ezx_buttons; | 154 | pezx_buttons = ezx_buttons; |
155 | buttoncount = ARRAY_SIZE(ezx_buttons); | 155 | buttoncount = ARRAY_SIZE(ezx_buttons); |
156 | break; | 156 | break; |
157 | } | 157 | } |
158 | 158 | ||
159 | for ( int i = 0; i < buttoncount; i++ ) { | 159 | for ( int i = 0; i < buttoncount; i++ ) { |
160 | struct ezx_button *zb = pezx_buttons + i; | 160 | struct ezx_button *zb = pezx_buttons + i; |
161 | ODeviceButton b; | 161 | ODeviceButton b; |
162 | 162 | ||
163 | b.setKeycode( zb->code ); | 163 | b.setKeycode( zb->code ); |
164 | b.setUserText( QObject::tr( "Button", zb->utext )); | 164 | b.setUserText( QObject::tr( "Button", zb->utext )); |
165 | b.setPixmap( OResource::loadPixmap( zb->pix )); | 165 | b.setPixmap( OResource::loadPixmap( zb->pix )); |
166 | b.setFactoryPresetPressedAction( OQCopMessage( makeChannel ( zb->fpressedservice ), zb->fpressedaction )); | 166 | b.setFactoryPresetPressedAction( OQCopMessage( makeChannel ( zb->fpressedservice ), zb->fpressedaction )); |
167 | b.setFactoryPresetHeldAction( OQCopMessage( makeChannel ( zb->fheldservice ), zb->fheldaction )); | 167 | b.setFactoryPresetHeldAction( OQCopMessage( makeChannel ( zb->fheldservice ), zb->fheldaction )); |
168 | d->m_buttons->append( b ); | 168 | d->m_buttons->append( b ); |
169 | } | 169 | } |
170 | */ | 170 | */ |
171 | reloadButtonMapping(); | 171 | reloadButtonMapping(); |
172 | } | 172 | } |
173 | 173 | ||
174 | void Motorola_EZX::playAlarmSound() | 174 | void Motorola_EZX::playAlarmSound() |
175 | { | 175 | { |
176 | #ifndef QT_NO_SOUND | 176 | #ifndef QT_NO_SOUND |
177 | static Sound snd ( "alarm" ); | 177 | static Sound snd ( "alarm" ); |
178 | if(!snd.isFinished()) | 178 | if(!snd.isFinished()) |
179 | return; | 179 | return; |
180 | 180 | ||
181 | changeMixerForAlarm(0, "/dev/sound/mixer", &snd ); | 181 | changeMixerForAlarm(0, "/dev/sound/mixer", &snd ); |
182 | snd. play(); | 182 | snd. play(); |
183 | #endif | 183 | #endif |
184 | } | 184 | } |
185 | 185 | ||
186 | QValueList <OLed> Motorola_EZX::ledList() const | 186 | QValueList <OLed> Motorola_EZX::ledList() const |
187 | { | 187 | { |
188 | QValueList <OLed> vl; | 188 | QValueList <OLed> vl; |
189 | vl << Led_Mail; | 189 | vl << Led_Mail; |
190 | return vl; | 190 | return vl; |
191 | } | 191 | } |
192 | 192 | ||
193 | QValueList <OLedState> Motorola_EZX::ledStateList( OLed l ) const | 193 | QValueList <OLedState> Motorola_EZX::ledStateList( OLed l ) const |
194 | { | 194 | { |
195 | QValueList <OLedState> vl; | 195 | QValueList <OLedState> vl; |
196 | 196 | ||
197 | if ( l == Led_Mail ) | 197 | if ( l == Led_Mail ) |
198 | vl << Led_Off << Led_On << Led_BlinkSlow; | 198 | vl << Led_Off << Led_On << Led_BlinkSlow; |
199 | return vl; | 199 | return vl; |
200 | } | 200 | } |
201 | 201 | ||
202 | OLedState Motorola_EZX::ledState( OLed which ) const | 202 | OLedState Motorola_EZX::ledState( OLed which ) const |
203 | { | 203 | { |
204 | if ( which == Led_Mail ) | 204 | if ( which == Led_Mail ) |
205 | return m_leds [0]; | 205 | return m_leds [0]; |
206 | else | 206 | else |
207 | return Led_Off; | 207 | return Led_Off; |
208 | } | 208 | } |
209 | 209 | ||
210 | bool Motorola_EZX::setLedState( OLed which, OLedState st ) | 210 | bool Motorola_EZX::setLedState( OLed which, OLedState st ) |
211 | { | 211 | { |
212 | // Currently not supported | 212 | // Currently not supported |
213 | qDebug( "Motorola_EZX::setLedState: ODevice handling not yet implemented" ); | 213 | qDebug( "Motorola_EZX::setLedState: ODevice handling not yet implemented" ); |
214 | return false; | 214 | return false; |
215 | } | 215 | } |
216 | 216 | ||
217 | int Motorola_EZX::displayBrightnessResolution() const | 217 | int Motorola_EZX::displayBrightnessResolution() const |
218 | { | 218 | { |
219 | // Currently not supported | ||
220 | qDebug( "Motorola_EZX::displayBrightnessResolution: ODevice handling not yet implemented" ); | ||
221 | return 100; | ||
222 | |||
223 | #if 0 | ||
224 | int res = 1; | 219 | int res = 1; |
225 | if (m_embedix) | 220 | int fd = ::open( m_backlightdev + "max_brightness", O_RDONLY|O_NONBLOCK ); |
226 | { | 221 | if ( fd ) |
227 | int fd = ::open( SHARP_FL_IOCTL_DEVICE, O_RDWR|O_NONBLOCK ); | ||
228 | if ( fd ) | ||
229 | { | ||
230 | int value = ::ioctl( fd, SHARP_FL_IOCTL_GET_STEP, 0 ); | ||
231 | ::close( fd ); | ||
232 | return value ? value : res; | ||
233 | } | ||
234 | } | ||
235 | else | ||
236 | { | 222 | { |
237 | int fd = ::open( m_backlightdev + "max_brightness", O_RDONLY|O_NONBLOCK ); | 223 | char buf[100]; |
238 | if ( fd ) | 224 | if ( ::read( fd, &buf[0], sizeof buf ) ) ::sscanf( &buf[0], "%d", &res ); |
239 | { | 225 | ::close( fd ); |
240 | char buf[100]; | ||
241 | if ( ::read( fd, &buf[0], sizeof buf ) ) ::sscanf( &buf[0], "%d", &res ); | ||
242 | ::close( fd ); | ||
243 | } | ||
244 | } | 226 | } |
245 | return res; | 227 | return res; |
246 | #endif | ||
247 | } | 228 | } |
248 | 229 | ||
249 | bool Motorola_EZX::setDisplayBrightness( int bright ) | 230 | bool Motorola_EZX::setDisplayBrightness( int bright ) |
250 | { | 231 | { |
251 | qDebug( "Motorola_EZX::setDisplayBrightness( %d )", bright ); | 232 | qDebug( "Motorola_EZX::setDisplayBrightness( %d )", bright ); |
252 | return false; | 233 | return false; |
253 | 234 | ||
254 | #if 0 | ||
255 | bool res = false; | 235 | bool res = false; |
256 | 236 | ||
257 | if ( bright > 255 ) bright = 255; | 237 | if ( bright > 255 ) bright = 255; |
258 | if ( bright < 0 ) bright = 0; | 238 | if ( bright < 0 ) bright = 0; |
259 | 239 | ||
260 | int numberOfSteps = displayBrightnessResolution(); | 240 | int numberOfSteps = displayBrightnessResolution(); |
261 | int val = ( bright == 1 ) ? 1 : ( bright * numberOfSteps ) / 255; | 241 | int val = ( bright == 1 ) ? 1 : ( bright * numberOfSteps ) / 255; |
262 | 242 | ||
263 | if ( m_embedix ) | 243 | int fd = ::open( m_backlightdev + "brightness", O_WRONLY|O_NONBLOCK ); |
264 | { | 244 | if ( fd ) |
265 | int fd = ::open( SHARP_FL_IOCTL_DEVICE, O_WRONLY|O_NONBLOCK ); | ||
266 | if ( fd ) | ||
267 | { | ||
268 | res = ( ::ioctl( fd, SHARP_FL_IOCTL_STEP_CONTRAST, val ) == 0 ); | ||
269 | ::close( fd ); | ||
270 | } | ||
271 | } | ||
272 | else | ||
273 | { | 245 | { |
274 | int fd = ::open( m_backlightdev + "brightness", O_WRONLY|O_NONBLOCK ); | 246 | char buf[100]; |
275 | if ( fd ) | 247 | int len = ::snprintf( &buf[0], sizeof buf, "%d", val ); |
276 | { | 248 | res = ( ::write( fd, &buf[0], len ) == 0 ); |
277 | char buf[100]; | 249 | ::close( fd ); |
278 | int len = ::snprintf( &buf[0], sizeof buf, "%d", val ); | ||
279 | res = ( ::write( fd, &buf[0], len ) == 0 ); | ||
280 | ::close( fd ); | ||
281 | } | ||
282 | } | 250 | } |
283 | return res; | 251 | return res; |
284 | #endif | ||
285 | } | 252 | } |
286 | 253 | ||
287 | bool Motorola_EZX::setDisplayStatus( bool on ) | 254 | bool Motorola_EZX::setDisplayStatus( bool on ) |
288 | { | 255 | { |
289 | bool res = false; | 256 | bool res = false; |
290 | int fd = ::open( m_backlightdev + "power", O_WRONLY|O_NONBLOCK ); | 257 | int fd = ::open( m_backlightdev + "power", O_WRONLY|O_NONBLOCK ); |
291 | if ( fd ) | 258 | if ( fd ) |
292 | { | 259 | { |
293 | char buf[10]; | 260 | char buf[10]; |
294 | buf[0] = on ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN; | 261 | buf[0] = on ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN; |
295 | buf[1] = '\0'; | 262 | buf[1] = '\0'; |
296 | res = ( ::write( fd, &buf[0], 2 ) == 0 ); | 263 | res = ( ::write( fd, &buf[0], 2 ) == 0 ); |
297 | ::close( fd ); | 264 | ::close( fd ); |
298 | } | 265 | } |
299 | return res; | 266 | return res; |
300 | } | 267 | } |
301 | 268 | ||
302 | void Motorola_EZX::systemMessage( const QCString &msg, const QByteArray & ) | 269 | void Motorola_EZX::systemMessage( const QCString &msg, const QByteArray & ) |
303 | { | 270 | { |
304 | if ( msg == "deviceButtonMappingChanged()" ) { | 271 | if ( msg == "deviceButtonMappingChanged()" ) { |
305 | reloadButtonMapping(); | 272 | reloadButtonMapping(); |
306 | } | 273 | } |
307 | } | 274 | } |
308 | 275 | ||
309 | bool Motorola_EZX::suspend() { | 276 | bool Motorola_EZX::suspend() { |
310 | if ( !isQWS( ) ) // only qwsserver is allowed to suspend | 277 | if ( !isQWS( ) ) // only qwsserver is allowed to suspend |
311 | return false; | 278 | return false; |
312 | 279 | ||
313 | bool res = false; | 280 | bool res = false; |
314 | QCopChannel::send( "QPE/System", "aboutToSuspend()" ); | 281 | QCopChannel::send( "QPE/System", "aboutToSuspend()" ); |
315 | 282 | ||
316 | struct timeval tvs, tvn; | 283 | struct timeval tvs, tvn; |
317 | ::gettimeofday ( &tvs, 0 ); | 284 | ::gettimeofday ( &tvs, 0 ); |
318 | 285 | ||
319 | ::sync(); // flush fs caches | 286 | ::sync(); // flush fs caches |
320 | res = ( ::system ( "apm --suspend" ) == 0 ); | 287 | res = ( ::system ( "apm --suspend" ) == 0 ); |
321 | 288 | ||
322 | QCopChannel::send( "QPE/System", "returnFromSuspend()" ); | 289 | QCopChannel::send( "QPE/System", "returnFromSuspend()" ); |
323 | 290 | ||
324 | return res; | 291 | return res; |
325 | } | 292 | } |