summaryrefslogtreecommitdiff
authorhrw <hrw>2006-01-23 13:33:31 (UTC)
committer hrw <hrw>2006-01-23 13:33:31 (UTC)
commitdccddc207399669495ec0f5b4c6faa0d5159dc87 (patch) (unidiff)
treefa9cfb30b34d67a20bf11dd6d88c01596b3e4aeb
parentd5a4ddcb27db77d41de3f6a66bef4227c33d925e (diff)
downloadopie-dccddc207399669495ec0f5b4c6faa0d5159dc87.zip
opie-dccddc207399669495ec0f5b4c6faa0d5159dc87.tar.gz
opie-dccddc207399669495ec0f5b4c6faa0d5159dc87.tar.bz2
libopiecore: /etc/oz_version renamed to /etc/openzaurus-version
Diffstat (more/less context) (show 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,72 +1,76 @@
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)
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
@@ -29,97 +29,97 @@
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