summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ChangeLog4
-rw-r--r--libopie2/opiecore/device/odevice.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a0e5edc..ccec044 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,216 +1,220 @@
1 2005-??-??Opie 1.2.2 1 2005-??-??Opie 1.2.2
2 2
3 3
4 New Features 4 New Features
5 ------------ 5 ------------
6 * Appearance: Added configuration options to set smallIconSize, bigIconSize, useBigPixmaps (hrw, drw) 6 * Appearance: Added configuration options to set smallIconSize, bigIconSize, useBigPixmaps (hrw, drw)
7 * Opie-Notes: Notes application based on NoteZ (hrw) 7 * Opie-Notes: Notes application based on NoteZ (hrw)
8 * OPIE-PackageManager: Added two configuration options: "Force recursive", "Verbose fetch" (hrw) 8 * OPIE-PackageManager: Added two configuration options: "Force recursive", "Verbose fetch" (hrw)
9 9
10 Fixed Bugs 10 Fixed Bugs
11 ---------- 11 ----------
12 * #1695 - Date selector use too small fontsize on VGA screen (hrw) 12 * #1695 - Date selector use too small fontsize on VGA screen (hrw)
13 * #1686 - opie-console lack UI setting for switching scrollbar (hrw) 13 * #1686 - opie-console lack UI setting for switching scrollbar (hrw)
14 * #1647 - Opie-console doesn't respect scroll-bar on left side (hrw) 14 * #1647 - Opie-console doesn't respect scroll-bar on left side (hrw)
15 * #1624 - Button settngs changes are applied only after restart (hrw) 15 * #1624 - Button settngs changes are applied only after restart (hrw)
16 * #1492 - Backup and Restore does not show list of backups to restore on start (hrw) 16 * #1492 - Backup and Restore does not show list of backups to restore on start (hrw)
17 * n.a. - remove hardcoded font size from wellenreiter (hrw) 17 * n.a. - remove hardcoded font size from wellenreiter (hrw)
18 * n.a. - added patch to build QT/E 2.3.10 with gcc 4.x.x (hrw) 18 * n.a. - added patch to build QT/E 2.3.10 with gcc 4.x.x (hrw)
19 * n.a. - make blue-pin UI resizable to looks good in any resolution (hrw) 19 * n.a. - make blue-pin UI resizable to looks good in any resolution (hrw)
20 * n.a. - fix a problem with vCard send to Sony Ericsson k600i (ar) 20 * n.a. - fix a problem with vCard send to Sony Ericsson k600i (ar)
21 * n.a. - add a patch to build Qt/E 2.3.10 on amd64 with gcc 4.x.x (ar) 21 * n.a. - add a patch to build Qt/E 2.3.10 on amd64 with gcc 4.x.x (ar)
22 * n.a. - Opie-console fallback to FixedFont settings from qpe.conf in config (hrw) 22 * n.a. - Opie-console fallback to FixedFont settings from qpe.conf in config (hrw)
23 * n.a. - Set version to 1.2.1 in About applet (hrw) 23 * n.a. - Set version to 1.2.1 in About applet (hrw)
24 24
25 Internal
26 --------
27 * libopiecore: /etc/oz_version renamed to /etc/openzaurus-version (hrw)
28
25 2005-09-11Opie 1.2.1 29 2005-09-11Opie 1.2.1
26 30
27 31
28 New Features 32 New Features
29 ------------ 33 ------------
30 * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker) 34 * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker)
31 * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly) 35 * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly)
32 * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer) 36 * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer)
33 * Wellenreiter: Remove Joining networks - use OpieStumbler for that (mickeyl) 37 * Wellenreiter: Remove Joining networks - use OpieStumbler for that (mickeyl)
34 * Opie-Mobilemsg has gone unsupported - it never really worked and there will be a replacement (mickeyl) 38 * Opie-Mobilemsg has gone unsupported - it never really worked and there will be a replacement (mickeyl)
35 * Opie-Tabmanager has gone unsupported - it barely works and there is not much of a use of it anyway (mickeyl) 39 * Opie-Tabmanager has gone unsupported - it barely works and there is not much of a use of it anyway (mickeyl)
36 * Checkbook: Added configuration option to use smaller font for checkbook transaction tab (hrw) 40 * Checkbook: Added configuration option to use smaller font for checkbook transaction tab (hrw)
37 * ZSafe: Made UI conform to Opie standards (drw) 41 * ZSafe: Made UI conform to Opie standards (drw)
38 * Today Addressbook plugin: Fixed configuration to show/not show birthdays, use checkboxes for selection (hrw) 42 * Today Addressbook plugin: Fixed configuration to show/not show birthdays, use checkboxes for selection (hrw)
39 * Opie-Console: Read initial fixed font configuration from qpe.conf (mickeyl) 43 * Opie-Console: Read initial fixed font configuration from qpe.conf (mickeyl)
40 * Opie-PcmciaApplet: Configure insert/resume actions and bind unsupported cards (mickeyl) 44 * Opie-PcmciaApplet: Configure insert/resume actions and bind unsupported cards (mickeyl)
41 * SysInfo: Remove CPU tab and add Devices tab instead (mickeyl) 45 * SysInfo: Remove CPU tab and add Devices tab instead (mickeyl)
42 * Opie-smb: Added Opie front end for Samba (ljp) 46 * Opie-smb: Added Opie front end for Samba (ljp)
43 * Opie-Bluetooth: Replace obex send implementation and patch libopieobex and the bluetoothapplet (Michael Haynie) 47 * Opie-Bluetooth: Replace obex send implementation and patch libopieobex and the bluetoothapplet (Michael Haynie)
44 * Opieplayer: rudimentary podcast support (ljp) 48 * Opieplayer: rudimentary podcast support (ljp)
45 49
46 Fixed Bugs 50 Fixed Bugs
47 ---------- 51 ----------
48 * #1377 - Suspend Powermanagement when switched to another VT (mickeyl) 52 * #1377 - Suspend Powermanagement when switched to another VT (mickeyl)
49 - We actually suspend the complete Opie now in that case. 53 - We actually suspend the complete Opie now in that case.
50 * #1384 - Battery status updated improperly when charging (skyhusker) 54 * #1384 - Battery status updated improperly when charging (skyhusker)
51 * #1476 - Wrong order of application entries in the O-menu (skyhusker) 55 * #1476 - Wrong order of application entries in the O-menu (skyhusker)
52 * #1514 - Remove usage of cardmon/pcmcia picture in applications. pcmcia is now an inline picture (mickeyl) 56 * #1514 - Remove usage of cardmon/pcmcia picture in applications. pcmcia is now an inline picture (mickeyl)
53 * #1535- Missing line break and unnecessary location shown with Today-Calendar plugin (deller) 57 * #1535- Missing line break and unnecessary location shown with Today-Calendar plugin (deller)
54 * #1543 - Time Settings: "predict" tab is displayed twice after reopen (hrw) 58 * #1543 - Time Settings: "predict" tab is displayed twice after reopen (hrw)
55 * #1546 - Battery applet popup is not always large enough to show jacket remaining info (skyhusker) 59 * #1546 - Battery applet popup is not always large enough to show jacket remaining info (skyhusker)
56 * #1557 - Light&Power-Settings don't store warning intervall and warning levels (skyhusker) 60 * #1557 - Light&Power-Settings don't store warning intervall and warning levels (skyhusker)
57 * #1565 - crash-fix in odevice.cpp while scanning the distribution table (deller) 61 * #1565 - crash-fix in odevice.cpp while scanning the distribution table (deller)
58 * #1614 - Make Opie-console start in $HOME instead of / (skyhusker) 62 * #1614 - Make Opie-console start in $HOME instead of / (skyhusker)
59 * #1635 - opie-today, datebook-plugin does not show notes (skyhusker) 63 * #1635 - opie-today, datebook-plugin does not show notes (skyhusker)
60 * #1665 - Opie-IRC displays the host prepended to the message when peer is using and ipv6 address (skyhusker) 64 * #1665 - Opie-IRC displays the host prepended to the message when peer is using and ipv6 address (skyhusker)
61 * #1666 - Opie-IRC does not allow to add !channels in config asautojoin ones (skyhusker) 65 * #1666 - Opie-IRC does not allow to add !channels in config asautojoin ones (skyhusker)
62 * #1667 - Opie-IRC does not show messages from !channel (skyhusker) 66 * #1667 - Opie-IRC does not show messages from !channel (skyhusker)
63 * #1679 - Security PIN plugin is QVGA sized (hrw) 67 * #1679 - Security PIN plugin is QVGA sized (hrw)
64 * #1682 - Properly resize tab control in OTabWidget (drw) 68 * #1682 - Properly resize tab control in OTabWidget (drw)
65 * n.a. - always show volume and wireless applet popups inside visible screen (deller) 69 * n.a. - always show volume and wireless applet popups inside visible screen (deller)
66 * n.a. - scale O-Menu-Applets appropriately (mickeyl) 70 * n.a. - scale O-Menu-Applets appropriately (mickeyl)
67 * n.a. - libopienet: fix bugs in wireless scanning and setting SSID (skyhusker) 71 * n.a. - libopienet: fix bugs in wireless scanning and setting SSID (skyhusker)
68 * n.a. - Wellenreiter: relax WE version matching test a bit (mickeyl) 72 * n.a. - Wellenreiter: relax WE version matching test a bit (mickeyl)
69 * n.a. - scale BluezApplet appropriately and use larger icons (mickeyl) 73 * n.a. - scale BluezApplet appropriately and use larger icons (mickeyl)
70 * n.a. - memoryapplet: fix crash in memoryapplet on kernels without swap support (seneca cunningham) 74 * n.a. - memoryapplet: fix crash in memoryapplet on kernels without swap support (seneca cunningham)
71 * n.a. - networksettings: ignore hostap control interfaces wifi* (mickeyl) 75 * n.a. - networksettings: ignore hostap control interfaces wifi* (mickeyl)
72 * n.a. - Today Addressbook plugin fix configuration to show/not show birthdays, use checkboxes for selection (hrw) 76 * n.a. - Today Addressbook plugin fix configuration to show/not show birthdays, use checkboxes for selection (hrw)
73 * n.a. - remove hardcoded font size from netsystemtime (hrw) 77 * n.a. - remove hardcoded font size from netsystemtime (hrw)
74 * n.a. - remove hardcoded font size from checkbook graphs (hrw) 78 * n.a. - remove hardcoded font size from checkbook graphs (hrw)
75 * n.a. - Dagger - fixes for Sword 1.5.8, morph tag x-refs, closing last tab crash (drw) 79 * n.a. - Dagger - fixes for Sword 1.5.8, morph tag x-refs, closing last tab crash (drw)
76 80
77 81
78 Internal 82 Internal
79 -------- 83 --------
80 * Make BluezApplet use OTaskbarApplet (mickeyl) 84 * Make BluezApplet use OTaskbarApplet (mickeyl)
81 * libopiecore: rewrite OFileNotification to use the Linux 2.6 inotify interface (mickeyl) 85 * libopiecore: rewrite OFileNotification to use the Linux 2.6 inotify interface (mickeyl)
82 * libopiecore: add ODirNotification - recursive directory notifications (mickeyl) 86 * libopiecore: add ODirNotification - recursive directory notifications (mickeyl)
83 * libopienet: Skip hostap control interfaces 'wifi' and improve robustness in ONetworkInterface (mickeyl) 87 * libopienet: Skip hostap control interfaces 'wifi' and improve robustness in ONetworkInterface (mickeyl)
84 * libopieui: Remove OVersatileView and OVersatileViewItem (mickeyl) 88 * libopieui: Remove OVersatileView and OVersatileViewItem (mickeyl)
85 * libopienet: Miscellaneous API cleanups (mickeyl) 89 * libopienet: Miscellaneous API cleanups (mickeyl)
86 * libopiecore: Add linux pcmcia system abstraction classes (mickeyl) 90 * libopiecore: Add linux pcmcia system abstraction classes (mickeyl)
87 * libopiecore: ODevice now knows the default gfx driver to use (mteira,mickeyl) 91 * libopiecore: ODevice now knows the default gfx driver to use (mteira,mickeyl)
88 * libopiecore: Add support for the Sharp SL-C3100 "Borzoi" (mickeyl) 92 * libopiecore: Add support for the Sharp SL-C3100 "Borzoi" (mickeyl)
89 * libopiecore: Add support for the new Linux Inputsystem Switches type [necessary for auto rotation in 2.6.13] (mickeyl) 93 * libopiecore: Add support for the new Linux Inputsystem Switches type [necessary for auto rotation in 2.6.13] (mickeyl)
90 * Remove assumptions about default gfx driver ("Transformed") all over the place (mteira,mickeyl) 94 * Remove assumptions about default gfx driver ("Transformed") all over the place (mteira,mickeyl)
91 * Fix / Optimize number of scanned directories (ljp) 95 * Fix / Optimize number of scanned directories (ljp)
92 * Use five point mouse calibration to make calibrated mouse drivers work on newer Zaurii (rp,mickeyl) 96 * Use five point mouse calibration to make calibrated mouse drivers work on newer Zaurii (rp,mickeyl)
93 97
94 2005-03-25Opie 1.2.0 98 2005-03-25Opie 1.2.0
95 99
96 Fixed Bugs 100 Fixed Bugs
97 ---------- 101 ----------
98 * #1613 - AdvancedFM - scale toolbar icons appropriately (drw) 102 * #1613 - AdvancedFM - scale toolbar icons appropriately (drw)
99 * #1620 - OFileSelector - show the button on press and not on press on hold (alwin) 103 * #1620 - OFileSelector - show the button on press and not on press on hold (alwin)
100 * #1473 - Opie-Eye - Same as #1620 but we lack a common FileSystem Button class (zecke) 104 * #1473 - Opie-Eye - Same as #1620 but we lack a common FileSystem Button class (zecke)
101 * n.a. - PackageManager - fix bug where messages show up multiple times in install dialog (drw) 105 * n.a. - PackageManager - fix bug where messages show up multiple times in install dialog (drw)
102 * n.a.- make qpeglobal.h include qglobal.h (zecke) 106 * n.a.- make qpeglobal.h include qglobal.h (zecke)
103 107
104 2005-03-20Opie 1.2.0-rc1 108 2005-03-20Opie 1.2.0-rc1
105 109
106 110
107 New Features 111 New Features
108 ------------ 112 ------------
109 * Launcher: Support a static background pixmap (mickeyl) 113 * Launcher: Support a static background pixmap (mickeyl)
110 * LauncherSettings: Choose whether to have a static background pixmap (mickeyl) 114 * LauncherSettings: Choose whether to have a static background pixmap (mickeyl)
111 * PackageManager supports the 'lists_dir' ipkg configuration option (drw) 115 * PackageManager supports the 'lists_dir' ipkg configuration option (drw)
112 * Added hi-res inline images for large resolution devices (drw) 116 * Added hi-res inline images for large resolution devices (drw)
113 * Improved launcher icons for consistency (ar) 117 * Improved launcher icons for consistency (ar)
114 * Datebook: Added plugin system to datebook so holidays and birthdays from contacts may displayed in datebook (alwin) 118 * Datebook: Added plugin system to datebook so holidays and birthdays from contacts may displayed in datebook (alwin)
115 119
116 Fixed Bugs 120 Fixed Bugs
117 ---------- 121 ----------
118 * #1236 - VCards contained empty home and work address entries causing Palms to crash (eilers) 122 * #1236 - VCards contained empty home and work address entries causing Palms to crash (eilers)
119 * #1412 - Launcher Settings - fixed default settings for background in Edit tab dialog (drw) 123 * #1412 - Launcher Settings - fixed default settings for background in Edit tab dialog (drw)
120 * #1472 - Opie textedit now check for unsaved changes on ESC key (ljp) 124 * #1472 - Opie textedit now check for unsaved changes on ESC key (ljp)
121 * #1474 - Implement GUI for Scrollbars on the Left in Appearance (zecke) 125 * #1474 - Implement GUI for Scrollbars on the Left in Appearance (zecke)
122 * #1482 - Fix double '/' in paths (zecke) 126 * #1482 - Fix double '/' in paths (zecke)
123 * #1536 - Autosave of custom locations in opie backup (ar) 127 * #1536 - Autosave of custom locations in opie backup (ar)
124 * #1539 - Fixed displaying too long path in the delete dialog in opie-eye (zecke) 128 * #1539 - Fixed displaying too long path in the delete dialog in opie-eye (zecke)
125 * #1540 - Implemented deletion of DocLnks in opie-eye (zecke) 129 * #1540 - Implemented deletion of DocLnks in opie-eye (zecke)
126 * #1542 - Fixed Todo crash when priority < 1 or > 5 (drw) 130 * #1542 - Fixed Todo crash when priority < 1 or > 5 (drw)
127 * #1550 - Browse for alarm sound start in QPEDIR/sounds/ (zecke) 131 * #1550 - Browse for alarm sound start in QPEDIR/sounds/ (zecke)
128 * #1554 - Fixed Opie-Console name in .desktop file (mickeyl) 132 * #1554 - Fixed Opie-Console name in .desktop file (mickeyl)
129 * #1556 - Start to look for sound files in /opt/QtPalmtop/sounds (zecke) 133 * #1556 - Start to look for sound files in /opt/QtPalmtop/sounds (zecke)
130 * #1558 - Fixed opie-login breaking opie startup (mickeyl) 134 * #1558 - Fixed opie-login breaking opie startup (mickeyl)
131 * #1560 - Fixed Opie-Console picking up the wrong shell (bluelightning) 135 * #1560 - Fixed Opie-Console picking up the wrong shell (bluelightning)
132 * #1570 - Confirmation needed befor Restore a backup and overwrite local data (ar) 136 * #1570 - Confirmation needed befor Restore a backup and overwrite local data (ar)
133 * #1591 - Addressbook sortorder changed by clicking on column 0 (eilers) 137 * #1591 - Addressbook sortorder changed by clicking on column 0 (eilers)
134 * #1599 - Security - change recommendation for opie-multiauth to opie-securityplugin (gints) 138 * #1599 - Security - change recommendation for opie-multiauth to opie-securityplugin (gints)
135 * #1604 - Checkbook crashed on startup (drw) 139 * #1604 - Checkbook crashed on startup (drw)
136 * #1608 - Addressbook crashed after search, which may caused by not initialzed member variable (eilers) 140 * #1608 - Addressbook crashed after search, which may caused by not initialzed member variable (eilers)
137 * #1608 - QueryByExampe-Datediff on SQL database did not worked properly (eilers) 141 * #1608 - QueryByExampe-Datediff on SQL database did not worked properly (eilers)
138 * n.a. - Netsystemtime - fixed UI to prevent error dialog from displaying when it shouldn't, get rid of some compiler warnings (drw) 142 * n.a. - Netsystemtime - fixed UI to prevent error dialog from displaying when it shouldn't, get rid of some compiler warnings (drw)
139 * n.a. - PackageManager - fixed where last package in status file was not shown as installed when it should be (drw) 143 * n.a. - PackageManager - fixed where last package in status file was not shown as installed when it should be (drw)
140 * n.a. - PackageManager - fixed bug where lists_dir was not being honored at startup (drw) 144 * n.a. - PackageManager - fixed bug where lists_dir was not being honored at startup (drw)
141 * n.a. - PackageManager - provided default value for lists_dir when none is entered in configuration dialog (drw) 145 * n.a. - PackageManager - provided default value for lists_dir when none is entered in configuration dialog (drw)
142 * n.a. - OTabWidget - fixed scroll buttons, fix display position of tabs (drw) 146 * n.a. - OTabWidget - fixed scroll buttons, fix display position of tabs (drw)
143 * n.a. - AddressBook - fixed sorting by 'File As' name (drw) 147 * n.a. - AddressBook - fixed sorting by 'File As' name (drw)
144 * n.a. - AddressBook - fixed category handling for 'All' and 'Unfiled' (eilers) 148 * n.a. - AddressBook - fixed category handling for 'All' and 'Unfiled' (eilers)
145 * n.a. - AddressBook - fixed letter picker record selection and sort records afterwards (drw) 149 * n.a. - AddressBook - fixed letter picker record selection and sort records afterwards (drw)
146 150
147 Internal 151 Internal
148 -------- 152 --------
149 * Worked around bug in Qt/Embedded 2.3.10: qt_version() returns 231 (mickeyl) 153 * Worked around bug in Qt/Embedded 2.3.10: qt_version() returns 231 (mickeyl)
150 * Killed the need for weak symbols in QtE (zecke) 154 * Killed the need for weak symbols in QtE (zecke)
151 * Added optional building libqpe without inline images (mickeyl) 155 * Added optional building libqpe without inline images (mickeyl)
152 * OColorButton - fixed so does not emit a colorSelected signal inside of resizeEvent (drw) 156 * OColorButton - fixed so does not emit a colorSelected signal inside of resizeEvent (drw)
153 157
154 2005-02-03Opie 1.1.9 158 2005-02-03Opie 1.1.9
155 159
156 New Features 160 New Features
157 ------------ 161 ------------
158 * Number of icon columns in Launcher is customizable through Launcher.conf (hrw,zecke,mickeyl) 162 * Number of icon columns in Launcher is customizable through Launcher.conf (hrw,zecke,mickeyl)
159 * Number of icon columns in Launcher is customizable through LauncherSettings (mickeyl) 163 * Number of icon columns in Launcher is customizable through LauncherSettings (mickeyl)
160 * Usability enhancements in OpieIRC (skyhusker) 164 * Usability enhancements in OpieIRC (skyhusker)
161 165
162 Fixed Bugs 166 Fixed Bugs
163 ---------- 167 ----------
164 * #1501 - Fixed bug in todo sql backend (eilers) 168 * #1501 - Fixed bug in todo sql backend (eilers)
165 * #1505 - Added more Swap sizes in memoryapplet (mickeyl) 169 * #1505 - Added more Swap sizes in memoryapplet (mickeyl)
166 * #1525 - Hopefully fixed double alarms and not removing alarms set with the Clock application (zecke) 170 * #1525 - Hopefully fixed double alarms and not removing alarms set with the Clock application (zecke)
167 * #1533 - Security Owner Dialog (shown in case of unsuccessfull authentiacation) wasn't able to display information in non latin1 encoding (zecke) 171 * #1533 - Security Owner Dialog (shown in case of unsuccessfull authentiacation) wasn't able to display information in non latin1 encoding (zecke)
168 * n.a. - Removed hard coded font sizes in a couple of inputmethods (mickeyl) 172 * n.a. - Removed hard coded font sizes in a couple of inputmethods (mickeyl)
169 * n.a. - Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration) (mickeyl) 173 * n.a. - Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration) (mickeyl)
170 * n.a. - Fixed numerous buglets in OpieIRC (skyhusker) 174 * n.a. - Fixed numerous buglets in OpieIRC (skyhusker)
171 175
172 Internal 176 Internal
173 -------- 177 --------
174 * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl) 178 * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl)
175 * You can now use the Opie build system in combination with a OpenEmbedded staging area which makes a nice cross development environment (mickeyl) 179 * You can now use the Opie build system in combination with a OpenEmbedded staging area which makes a nice cross development environment (mickeyl)
176 * Made Opie compilable with Qt/Embedded 2.3.10 (ar) 180 * Made Opie compilable with Qt/Embedded 2.3.10 (ar)
177 * Changed Launcher to get default orientation from ODevice w/ QWS_DISPLAY overriding (mickeyl) 181 * Changed Launcher to get default orientation from ODevice w/ QWS_DISPLAY overriding (mickeyl)
178 * Build tree cleanups (mickeyl) 182 * Build tree cleanups (mickeyl)
179 183
180 2004-11-26Opie 1.1.8 184 2004-11-26Opie 1.1.8
181 185
182 New Features 186 New Features
183 ------------ 187 ------------
184 * PackageManager supports installation of local ipkg files (drw) 188 * PackageManager supports installation of local ipkg files (drw)
185 * PackageManager supports linking of applications to root (drw) 189 * PackageManager supports linking of applications to root (drw)
186 * PackageManager supports src/gz feeds (drw,wimpie) 190 * PackageManager supports src/gz feeds (drw,wimpie)
187 * Added a syslog information tab to sysinfo (mickeyl) 191 * Added a syslog information tab to sysinfo (mickeyl)
188 * Added new, more consistent, PIM icons + a GIMP teplate (ar) 192 * Added new, more consistent, PIM icons + a GIMP teplate (ar)
189 193
190 Fixed Bugs 194 Fixed Bugs
191 ---------- 195 ----------
192 * #1017 - Tetrix doesn't display correctly for high resolution screens (drw) 196 * #1017 - Tetrix doesn't display correctly for high resolution screens (drw)
193 * #1269 - VCards were imported into personal area if it was activated (eilers) 197 * #1269 - VCards were imported into personal area if it was activated (eilers)
194 * #1464 - Packagemanager dont set active filter after install a package (drw) 198 * #1464 - Packagemanager dont set active filter after install a package (drw)
195 * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers) 199 * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers)
196 * #1493 - Fixed one column layout bug of the launcher (hrw) 200 * #1493 - Fixed one column layout bug of the launcher (hrw)
197 * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw) 201 * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw)
198 * n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw) 202 * n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw)
199 * n.a. - Battery Applet - fix sizing of battery info popup (drw,mickeyl) 203 * n.a. - Battery Applet - fix sizing of battery info popup (drw,mickeyl)
200 204
201 Internal 205 Internal
202 -------- 206 --------
203 * Moved libopie1 to unsupported (mickeyl) 207 * Moved libopie1 to unsupported (mickeyl)
204 * Implemented generic queryByExample() with incremental searching. A lot of internal changes of the Pim2-library (eilers) 208 * Implemented generic queryByExample() with incremental searching. A lot of internal changes of the Pim2-library (eilers)
205 * Added fast and full featured and incremental sorted() for SQL addressbook backend (eilers) 209 * Added fast and full featured and incremental sorted() for SQL addressbook backend (eilers)
206 210
207 2004-11-14Opie 1.1.7 211 2004-11-14Opie 1.1.7
208 212
209 New Features 213 New Features
210 ------------ 214 ------------
211 * libOpieDB now uses SQLite V3 instead V2. Remember to upgrade your database files! (eilers) 215 * libOpieDB now uses SQLite V3 instead V2. Remember to upgrade your database files! (eilers)
212 * Backup now uses the busy indicator when backing up and restore (ar) 216 * Backup now uses the busy indicator when backing up and restore (ar)
213 * OpiePlayer2 gained adding of Directories to the playlist (zecke) 217 * OpiePlayer2 gained adding of Directories to the playlist (zecke)
214 * OpiePlayer2 better error handling (zecke) 218 * OpiePlayer2 better error handling (zecke)
215 * OpiePlayer2 progress indication while streaming (zecke) 219 * OpiePlayer2 progress indication while streaming (zecke)
216 * OpiePlayer2 ported to use libxine 1.0.0-rc6a (brad,zecke) 220 * OpiePlayer2 ported to use libxine 1.0.0-rc6a (brad,zecke)
diff --git a/libopie2/opiecore/device/odevice.cpp b/libopie2/opiecore/device/odevice.cpp
index 62bb68a..7b99eb4 100644
--- a/libopie2/opiecore/device/odevice.cpp
+++ b/libopie2/opiecore/device/odevice.cpp
@@ -1,269 +1,269 @@
1/* 1/*
2                 This file is part of the Opie Project 2                 This file is part of the Opie Project
3 =. (C) 2002-2005 The Opie Team <opie-devel@handhelds.org> 3 =. (C) 2002-2005 The Opie Team <opie-devel@handhelds.org>
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 29
30 30
31#include "odevice_beagle.h" 31#include "odevice_beagle.h"
32#include "odevice_ipaq.h" 32#include "odevice_ipaq.h"
33#include "odevice_mypal.h" 33#include "odevice_mypal.h"
34#include "odevice_jornada.h" 34#include "odevice_jornada.h"
35#include "odevice_ramses.h" 35#include "odevice_ramses.h"
36#include "odevice_simpad.h" 36#include "odevice_simpad.h"
37#include "odevice_yopy.h" 37#include "odevice_yopy.h"
38#include "odevice_zaurus.h" 38#include "odevice_zaurus.h"
39#include "odevice_genuineintel.h" 39#include "odevice_genuineintel.h"
40 40
41/* QT */ 41/* QT */
42#include <qapplication.h> 42#include <qapplication.h>
43#include <qfile.h> 43#include <qfile.h>
44#include <qtextstream.h> 44#include <qtextstream.h>
45#include <qwindowsystem_qws.h> 45#include <qwindowsystem_qws.h>
46 46
47/* OPIE */ 47/* OPIE */
48#include <qpe/config.h> 48#include <qpe/config.h>
49#include <qpe/sound.h> 49#include <qpe/sound.h>
50#include <qpe/qcopenvelope_qws.h> 50#include <qpe/qcopenvelope_qws.h>
51#include <qpe/sound.h> 51#include <qpe/sound.h>
52 52
53#include <opie2/okeyfilter.h> 53#include <opie2/okeyfilter.h>
54#include <opie2/oresource.h> 54#include <opie2/oresource.h>
55 55
56/* STD */ 56/* STD */
57#include <fcntl.h> 57#include <fcntl.h>
58#include <math.h> 58#include <math.h>
59#include <stdlib.h> 59#include <stdlib.h>
60#include <signal.h> 60#include <signal.h>
61#include <sys/ioctl.h> 61#include <sys/ioctl.h>
62#include <sys/time.h> 62#include <sys/time.h>
63#include <unistd.h> 63#include <unistd.h>
64#ifndef QT_NO_SOUND 64#ifndef QT_NO_SOUND
65#include <linux/soundcard.h> 65#include <linux/soundcard.h>
66#endif 66#endif
67 67
68namespace Opie { 68namespace Opie {
69namespace Core { 69namespace Core {
70 70
71static const char* PATH_PROC_CPUINFO = "/proc/cpuinfo"; 71static const char* PATH_PROC_CPUINFO = "/proc/cpuinfo";
72 72
73 73
74/* STATIC and common implementation */ 74/* STATIC and common implementation */
75/* EXPORT */ ODistribution distributions[] = { 75/* EXPORT */ ODistribution distributions[] = {
76 { System_Familiar, "FamiliarLinux", "/etc/familiar-version" }, 76 { System_Familiar, "FamiliarLinux", "/etc/familiar-version" },
77 { System_OpenZaurus, "OpenZaurus", "/etc/oz_version" }, 77 { System_OpenZaurus, "OpenZaurus", "/etc/openzaurus-version" },
78 { System_OpenEmbedded, "OpenEmbedded", "/etc/oe-version" }, 78 { System_OpenEmbedded, "OpenEmbedded", "/etc/oe-version" },
79 { System_Unknown, "Linux", "/etc/issue" }, 79 { System_Unknown, "Linux", "/etc/issue" },
80}; 80};
81 81
82 82
83/* EXPORT */ bool isQWS(){ 83/* EXPORT */ bool isQWS(){
84 return qApp ? ( qApp->type() == QApplication::GuiServer ) : false; 84 return qApp ? ( qApp->type() == QApplication::GuiServer ) : false;
85} 85}
86 86
87/* EXPORT */ QCString makeChannel ( const char *str ){ 87/* EXPORT */ QCString makeChannel ( const char *str ){
88 if ( str && !::strchr ( str, '/' )) 88 if ( str && !::strchr ( str, '/' ))
89 return QCString ( "QPE/Application/" ) + str; 89 return QCString ( "QPE/Application/" ) + str;
90 else 90 else
91 return str; 91 return str;
92} 92}
93 93
94 94
95 95
96/* Now the default implementation of ODevice */ 96/* Now the default implementation of ODevice */
97 97
98struct default_button default_buttons [] = { 98struct default_button default_buttons [] = {
99 { Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"), 99 { Qt::Key_F9, QT_TRANSLATE_NOOP("Button", "Calendar Button"),
100 "devicebuttons/z_calendar", 100 "devicebuttons/z_calendar",
101 "datebook", "nextView()", 101 "datebook", "nextView()",
102 "today", "raise()" }, 102 "today", "raise()" },
103 { Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"), 103 { Qt::Key_F10, QT_TRANSLATE_NOOP("Button", "Contacts Button"),
104 "devicebuttons/z_contact", 104 "devicebuttons/z_contact",
105 "addressbook", "raise()", 105 "addressbook", "raise()",
106 "addressbook", "beamBusinessCard()" }, 106 "addressbook", "beamBusinessCard()" },
107 { Qt::Key_F12, QT_TRANSLATE_NOOP("Button", "Home Button"), 107 { Qt::Key_F12, QT_TRANSLATE_NOOP("Button", "Home Button"),
108 "devicebuttons/z_home", 108 "devicebuttons/z_home",
109 "QPE/Launcher", "home()", 109 "QPE/Launcher", "home()",
110 "buttonsettings", "raise()" }, 110 "buttonsettings", "raise()" },
111 { Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Menu Button"), 111 { Qt::Key_F11, QT_TRANSLATE_NOOP("Button", "Menu Button"),
112 "devicebuttons/z_menu", 112 "devicebuttons/z_menu",
113 "QPE/TaskBar", "toggleMenu()", 113 "QPE/TaskBar", "toggleMenu()",
114 "QPE/TaskBar", "toggleStartMenu()" }, 114 "QPE/TaskBar", "toggleStartMenu()" },
115 { Qt::Key_F13, QT_TRANSLATE_NOOP("Button", "Mail Button"), 115 { Qt::Key_F13, QT_TRANSLATE_NOOP("Button", "Mail Button"),
116 "devicebuttons/z_mail", 116 "devicebuttons/z_mail",
117 "opiemail", "raise()", 117 "opiemail", "raise()",
118 "opiemail", "newMail()" }, 118 "opiemail", "newMail()" },
119}; 119};
120 120
121ODevice *ODevice::inst() 121ODevice *ODevice::inst()
122{ 122{
123 static ODevice *dev = 0; 123 static ODevice *dev = 0;
124 QString cpu_info; 124 QString cpu_info;
125 125
126 if ( !dev ) 126 if ( !dev )
127 { 127 {
128 QFile f( PATH_PROC_CPUINFO ); 128 QFile f( PATH_PROC_CPUINFO );
129 if ( f.open( IO_ReadOnly ) ) 129 if ( f.open( IO_ReadOnly ) )
130 { 130 {
131 QTextStream s( &f ); 131 QTextStream s( &f );
132 while ( !s.atEnd() ) 132 while ( !s.atEnd() )
133 { 133 {
134 QString line; 134 QString line;
135 line = s.readLine(); 135 line = s.readLine();
136 if ( line.startsWith( "Hardware" ) ) 136 if ( line.startsWith( "Hardware" ) )
137 { 137 {
138 qDebug( "ODevice() - found '%s'", (const char*) line ); 138 qDebug( "ODevice() - found '%s'", (const char*) line );
139 cpu_info = line; 139 cpu_info = line;
140 if ( line.contains( "sharp", false ) ) dev = new Internal::Zaurus(); 140 if ( line.contains( "sharp", false ) ) dev = new Internal::Zaurus();
141 else if ( line.contains( "ipaq", false ) ) dev = new Internal::iPAQ(); 141 else if ( line.contains( "ipaq", false ) ) dev = new Internal::iPAQ();
142 else if ( line.contains( "mypal", false ) ) dev = new Internal::MyPal(); 142 else if ( line.contains( "mypal", false ) ) dev = new Internal::MyPal();
143 else if ( line.contains( "simpad", false ) ) dev = new Internal::SIMpad(); 143 else if ( line.contains( "simpad", false ) ) dev = new Internal::SIMpad();
144 else if ( line.contains( "jornada", false ) ) dev = new Internal::Jornada(); 144 else if ( line.contains( "jornada", false ) ) dev = new Internal::Jornada();
145 else if ( line.contains( "ramses", false ) ) dev = new Internal::Ramses(); 145 else if ( line.contains( "ramses", false ) ) dev = new Internal::Ramses();
146 else if ( line.contains( "Tradesquare.NL", false ) ) dev = new Internal::Beagle(); 146 else if ( line.contains( "Tradesquare.NL", false ) ) dev = new Internal::Beagle();
147 else qWarning( "ODevice() - unknown hardware - using default." ); 147 else qWarning( "ODevice() - unknown hardware - using default." );
148 break; 148 break;
149 } else if ( line.startsWith( "vendor_id" ) ) { 149 } else if ( line.startsWith( "vendor_id" ) ) {
150 qDebug( "ODevice() - found '%s'", (const char*) line ); 150 qDebug( "ODevice() - found '%s'", (const char*) line );
151 cpu_info = line; 151 cpu_info = line;
152 if( line.contains( "genuineintel", false ) ) { 152 if( line.contains( "genuineintel", false ) ) {
153 dev = new Internal::GenuineIntel(); 153 dev = new Internal::GenuineIntel();
154 break; 154 break;
155 } 155 }
156 } 156 }
157 } 157 }
158 } 158 }
159 else 159 else
160 { 160 {
161 qWarning( "ODevice() - can't open '%s' - unknown hardware - using default.", PATH_PROC_CPUINFO ); 161 qWarning( "ODevice() - can't open '%s' - unknown hardware - using default.", PATH_PROC_CPUINFO );
162 } 162 }
163 if ( !dev ) dev = new ODevice(); 163 if ( !dev ) dev = new ODevice();
164 dev->init(cpu_info); 164 dev->init(cpu_info);
165 } 165 }
166 return dev; 166 return dev;
167} 167}
168 168
169ODevice::ODevice() 169ODevice::ODevice()
170{ 170{
171 d = new ODeviceData; 171 d = new ODeviceData;
172 172
173 d->m_modelstr = "Unknown"; 173 d->m_modelstr = "Unknown";
174 d->m_model = Model_Unknown; 174 d->m_model = Model_Unknown;
175 d->m_vendorstr = "Unknown"; 175 d->m_vendorstr = "Unknown";
176 d->m_vendor = Vendor_Unknown; 176 d->m_vendor = Vendor_Unknown;
177 d->m_systemstr = "Unknown"; 177 d->m_systemstr = "Unknown";
178 d->m_system = System_Unknown; 178 d->m_system = System_Unknown;
179 d->m_sysverstr = "0.0"; 179 d->m_sysverstr = "0.0";
180 d->m_rotation = Rot0; 180 d->m_rotation = Rot0;
181 d->m_direction = CW; 181 d->m_direction = CW;
182 d->m_qteDriver = "Transformed"; 182 d->m_qteDriver = "Transformed";
183 183
184 d->m_holdtime = 1000; // 1000ms 184 d->m_holdtime = 1000; // 1000ms
185 d->m_buttons = 0; 185 d->m_buttons = 0;
186 d->m_cpu_frequencies = new QStrList; 186 d->m_cpu_frequencies = new QStrList;
187 187
188 188
189 /* mixer */ 189 /* mixer */
190 d->m_sound = d->m_vol = d->m_mixer = -1; 190 d->m_sound = d->m_vol = d->m_mixer = -1;
191 191
192 /* System QCopChannel created */ 192 /* System QCopChannel created */
193 d->m_initializedButtonQcop = false; 193 d->m_initializedButtonQcop = false;
194 194
195 // New distribution detection code first checks for legacy distributions, 195 // New distribution detection code first checks for legacy distributions,
196 // identified by /etc/familiar-version or /etc/oz_version. 196 // identified by /etc/familiar-version or /etc/oz_version.
197 // Then check for OpenEmbedded and lastly, read /etc/issue 197 // Then check for OpenEmbedded and lastly, read /etc/issue
198 198
199 for ( unsigned int i = 0; i < sizeof(distributions)/sizeof(ODistribution); ++i ) 199 for ( unsigned int i = 0; i < sizeof(distributions)/sizeof(ODistribution); ++i )
200 { 200 {
201 if ( QFile::exists( distributions[i].sysvfile ) ) 201 if ( QFile::exists( distributions[i].sysvfile ) )
202 { 202 {
203 d->m_systemstr = distributions[i].sysstr; 203 d->m_systemstr = distributions[i].sysstr;
204 d->m_system = distributions[i].system; 204 d->m_system = distributions[i].system;
205 d->m_sysverstr = "<Unknown>"; 205 d->m_sysverstr = "<Unknown>";
206 QFile f( distributions[i].sysvfile ); 206 QFile f( distributions[i].sysvfile );
207 if ( f.open( IO_ReadOnly ) ) 207 if ( f.open( IO_ReadOnly ) )
208 { 208 {
209 QTextStream ts( &f ); 209 QTextStream ts( &f );
210 d->m_sysverstr = ts.readLine().replace( QRegExp( "\\\\." ), "" ); 210 d->m_sysverstr = ts.readLine().replace( QRegExp( "\\\\." ), "" );
211 } 211 }
212 break; 212 break;
213 } 213 }
214 } 214 }
215} 215}
216 216
217void ODevice::systemMessage( const QCString &msg, const QByteArray & ) 217void ODevice::systemMessage( const QCString &msg, const QByteArray & )
218{ 218{
219 if ( msg == "deviceButtonMappingChanged()" ) { 219 if ( msg == "deviceButtonMappingChanged()" ) {
220 reloadButtonMapping(); 220 reloadButtonMapping();
221 } 221 }
222} 222}
223 223
224void ODevice::init(const QString&) 224void ODevice::init(const QString&)
225{ 225{
226} 226}
227 227
228/** 228/**
229* This method initialises the button mapping 229* This method initialises the button mapping
230*/ 230*/
231void ODevice::initButtons() 231void ODevice::initButtons()
232{ 232{
233 if ( d->m_buttons ) 233 if ( d->m_buttons )
234 return; 234 return;
235 235
236 qDebug ( "init Buttons" ); 236 qDebug ( "init Buttons" );
237 d->m_buttons = new QValueList <ODeviceButton>; 237 d->m_buttons = new QValueList <ODeviceButton>;
238 for ( uint i = 0; i < ( sizeof( default_buttons ) / sizeof( default_button )); i++ ) { 238 for ( uint i = 0; i < ( sizeof( default_buttons ) / sizeof( default_button )); i++ ) {
239 default_button *db = default_buttons + i; 239 default_button *db = default_buttons + i;
240 ODeviceButton b; 240 ODeviceButton b;
241 b. setKeycode ( db->code ); 241 b. setKeycode ( db->code );
242 b. setUserText ( QObject::tr ( "Button", db->utext )); 242 b. setUserText ( QObject::tr ( "Button", db->utext ));
243 b. setPixmap ( OResource::loadPixmap ( db->pix )); 243 b. setPixmap ( OResource::loadPixmap ( db->pix ));
244 b. setFactoryPresetPressedAction ( OQCopMessage ( makeChannel ( db->fpressedservice ), db->fpressedaction )); 244 b. setFactoryPresetPressedAction ( OQCopMessage ( makeChannel ( db->fpressedservice ), db->fpressedaction ));
245 b. setFactoryPresetHeldAction ( OQCopMessage ( makeChannel ( db->fheldservice ), db->fheldaction )); 245 b. setFactoryPresetHeldAction ( OQCopMessage ( makeChannel ( db->fheldservice ), db->fheldaction ));
246 d->m_buttons->append ( b ); 246 d->m_buttons->append ( b );
247 } 247 }
248 248
249 reloadButtonMapping(); 249 reloadButtonMapping();
250} 250}
251 251
252ODevice::~ODevice() 252ODevice::~ODevice()
253{ 253{
254// we leak m_devicebuttons and m_cpu_frequency 254// we leak m_devicebuttons and m_cpu_frequency
255// but it's a singleton and it is not so importantant 255// but it's a singleton and it is not so importantant
256// -zecke 256// -zecke
257 delete d; 257 delete d;
258} 258}
259 259
260/** 260/**
261* This method will try to suspend the device 261* This method will try to suspend the device
262* It only works if the user is the QWS Server and the apm application 262* It only works if the user is the QWS Server and the apm application
263* is installed. 263* is installed.
264* It tries to suspend and then waits some time cause some distributions 264* It tries to suspend and then waits some time cause some distributions
265* do have asynchronus apm implementations. 265* do have asynchronus apm implementations.
266* This method will either fail and return false or it'll suspend the 266* This method will either fail and return false or it'll suspend the
267* device and return once the device got woken up 267* device and return once the device got woken up
268* 268*
269* @return if the device got suspended 269* @return if the device got suspended