summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ChangeLog1
-rw-r--r--noncore/net/wellenreiter/gui/packetview.cpp7
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b0f1d9..ebd9d92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,337 +1,338 @@
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 6
7 7
8 Fixed Bugs 8 Fixed Bugs
9 ---------- 9 ----------
10 * #1695 - Date selector use too small fontsize on VGA screen (hrw) 10 * #1695 - Date selector use too small fontsize on VGA screen (hrw)
11 * n.a. - remove hardcoded font size from wellenreiter (hrw)
11 12
12 2005-09-11Opie 1.2.1 13 2005-09-11Opie 1.2.1
13 14
14 15
15 New Features 16 New Features
16 ------------ 17 ------------
17 * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker) 18 * OpieStumbler: Scans WiFi networks using the wireless extension scanning (skyhusker)
18 * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly) 19 * Opie-Reader: Support for document formats ArriereGo and Reb, add flite output (tim,pohly)
19 * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer) 20 * Opie-Networksettings: Add support for wlan-ng devices and improve WEP handling (Dirk Opfer)
20 * Wellenreiter: Remove Joining networks - use OpieStumbler for that (mickeyl) 21 * Wellenreiter: Remove Joining networks - use OpieStumbler for that (mickeyl)
21 * Opie-Mobilemsg has gone unsupported - it never really worked and there will be a replacement (mickeyl) 22 * Opie-Mobilemsg has gone unsupported - it never really worked and there will be a replacement (mickeyl)
22 * Opie-Tabmanager has gone unsupported - it barely works and there is not much of a use of it anyway (mickeyl) 23 * Opie-Tabmanager has gone unsupported - it barely works and there is not much of a use of it anyway (mickeyl)
23 * Checkbook: Added configuration option to use smaller font for checkbook transaction tab (hrw) 24 * Checkbook: Added configuration option to use smaller font for checkbook transaction tab (hrw)
24 * ZSafe: Made UI conform to Opie standards (drw) 25 * ZSafe: Made UI conform to Opie standards (drw)
25 * Today Addressbook plugin: Fixed configuration to show/not show birthdays, use checkboxes for selection (hrw) 26 * Today Addressbook plugin: Fixed configuration to show/not show birthdays, use checkboxes for selection (hrw)
26 * Opie-Console: Read initial fixed font configuration from qpe.conf (mickeyl) 27 * Opie-Console: Read initial fixed font configuration from qpe.conf (mickeyl)
27 * Opie-PcmciaApplet: Configure insert/resume actions and bind unsupported cards (mickeyl) 28 * Opie-PcmciaApplet: Configure insert/resume actions and bind unsupported cards (mickeyl)
28 * SysInfo: Remove CPU tab and add Devices tab instead (mickeyl) 29 * SysInfo: Remove CPU tab and add Devices tab instead (mickeyl)
29 * Opie-smb: Added Opie front end for Samba (ljp) 30 * Opie-smb: Added Opie front end for Samba (ljp)
30 * Opie-Bluetooth: Replace obex send implementation and patch libopieobex and the bluetoothapplet (Michael Haynie) 31 * Opie-Bluetooth: Replace obex send implementation and patch libopieobex and the bluetoothapplet (Michael Haynie)
31 * Opieplayer: rudimentary podcast support (ljp) 32 * Opieplayer: rudimentary podcast support (ljp)
32 33
33 Fixed Bugs 34 Fixed Bugs
34 ---------- 35 ----------
35 * #1377 - Suspend Powermanagement when switched to another VT (mickeyl) 36 * #1377 - Suspend Powermanagement when switched to another VT (mickeyl)
36 - We actually suspend the complete Opie now in that case. 37 - We actually suspend the complete Opie now in that case.
37 * #1384 - Battery status updated improperly when charging (skyhusker) 38 * #1384 - Battery status updated improperly when charging (skyhusker)
38 * #1476 - Wrong order of application entries in the O-menu (skyhusker) 39 * #1476 - Wrong order of application entries in the O-menu (skyhusker)
39 * #1514 - Remove usage of cardmon/pcmcia picture in applications. pcmcia is now an inline picture (mickeyl) 40 * #1514 - Remove usage of cardmon/pcmcia picture in applications. pcmcia is now an inline picture (mickeyl)
40 * #1535- Missing line break and unnecessary location shown with Today-Calendar plugin (deller) 41 * #1535- Missing line break and unnecessary location shown with Today-Calendar plugin (deller)
41 * #1543 - Time Settings: "predict" tab is displayed twice after reopen (hrw) 42 * #1543 - Time Settings: "predict" tab is displayed twice after reopen (hrw)
42 * #1546 - Battery applet popup is not always large enough to show jacket remaining info (skyhusker) 43 * #1546 - Battery applet popup is not always large enough to show jacket remaining info (skyhusker)
43 * #1557 - Light&Power-Settings don't store warning intervall and warning levels (skyhusker) 44 * #1557 - Light&Power-Settings don't store warning intervall and warning levels (skyhusker)
44 * #1565 - crash-fix in odevice.cpp while scanning the distribution table (deller) 45 * #1565 - crash-fix in odevice.cpp while scanning the distribution table (deller)
45 * #1614 - Make Opie-console start in $HOME instead of / (skyhusker) 46 * #1614 - Make Opie-console start in $HOME instead of / (skyhusker)
46 * #1635 - opie-today, datebook-plugin does not show notes (skyhusker) 47 * #1635 - opie-today, datebook-plugin does not show notes (skyhusker)
47 * #1665 - Opie-IRC displays the host prepended to the message when peer is using and ipv6 address (skyhusker) 48 * #1665 - Opie-IRC displays the host prepended to the message when peer is using and ipv6 address (skyhusker)
48 * #1666 - Opie-IRC does not allow to add !channels in config asautojoin ones (skyhusker) 49 * #1666 - Opie-IRC does not allow to add !channels in config asautojoin ones (skyhusker)
49 * #1667 - Opie-IRC does not show messages from !channel (skyhusker) 50 * #1667 - Opie-IRC does not show messages from !channel (skyhusker)
50 * #1679 - Security PIN plugin is QVGA sized (hrw) 51 * #1679 - Security PIN plugin is QVGA sized (hrw)
51 * #1682 - Properly resize tab control in OTabWidget (drw) 52 * #1682 - Properly resize tab control in OTabWidget (drw)
52 * n.a. - always show volume and wireless applet popups inside visible screen (deller) 53 * n.a. - always show volume and wireless applet popups inside visible screen (deller)
53 * n.a. - scale O-Menu-Applets appropriately (mickeyl) 54 * n.a. - scale O-Menu-Applets appropriately (mickeyl)
54 * n.a. - libopienet: fix bugs in wireless scanning and setting SSID (skyhusker) 55 * n.a. - libopienet: fix bugs in wireless scanning and setting SSID (skyhusker)
55 * n.a. - Wellenreiter: relax WE version matching test a bit (mickeyl) 56 * n.a. - Wellenreiter: relax WE version matching test a bit (mickeyl)
56 * n.a. - scale BluezApplet appropriately and use larger icons (mickeyl) 57 * n.a. - scale BluezApplet appropriately and use larger icons (mickeyl)
57 * n.a. - memoryapplet: fix crash in memoryapplet on kernels without swap support (seneca cunningham) 58 * n.a. - memoryapplet: fix crash in memoryapplet on kernels without swap support (seneca cunningham)
58 * n.a. - networksettings: ignore hostap control interfaces wifi* (mickeyl) 59 * n.a. - networksettings: ignore hostap control interfaces wifi* (mickeyl)
59 * n.a. - Today Addressbook plugin fix configuration to show/not show birthdays, use checkboxes for selection (hrw) 60 * n.a. - Today Addressbook plugin fix configuration to show/not show birthdays, use checkboxes for selection (hrw)
60 * n.a. - remove hardcoded font size from netsystemtime (hrw) 61 * n.a. - remove hardcoded font size from netsystemtime (hrw)
61 * n.a. - remove hardcoded font size from checkbook graphs (hrw) 62 * n.a. - remove hardcoded font size from checkbook graphs (hrw)
62 * n.a. - Dagger - fixes for Sword 1.5.8, morph tag x-refs, closing last tab crash (drw) 63 * n.a. - Dagger - fixes for Sword 1.5.8, morph tag x-refs, closing last tab crash (drw)
63 64
64 65
65 Internal 66 Internal
66 -------- 67 --------
67 * Make BluezApplet use OTaskbarApplet (mickeyl) 68 * Make BluezApplet use OTaskbarApplet (mickeyl)
68 * libopiecore: rewrite OFileNotification to use the Linux 2.6 inotify interface (mickeyl) 69 * libopiecore: rewrite OFileNotification to use the Linux 2.6 inotify interface (mickeyl)
69 * libopiecore: add ODirNotification - recursive directory notifications (mickeyl) 70 * libopiecore: add ODirNotification - recursive directory notifications (mickeyl)
70 * libopienet: Skip hostap control interfaces 'wifi' and improve robustness in ONetworkInterface (mickeyl) 71 * libopienet: Skip hostap control interfaces 'wifi' and improve robustness in ONetworkInterface (mickeyl)
71 * libopieui: Remove OVersatileView and OVersatileViewItem (mickeyl) 72 * libopieui: Remove OVersatileView and OVersatileViewItem (mickeyl)
72 * libopienet: Miscellaneous API cleanups (mickeyl) 73 * libopienet: Miscellaneous API cleanups (mickeyl)
73 * libopiecore: Add linux pcmcia system abstraction classes (mickeyl) 74 * libopiecore: Add linux pcmcia system abstraction classes (mickeyl)
74 * libopiecore: ODevice now knows the default gfx driver to use (mteira,mickeyl) 75 * libopiecore: ODevice now knows the default gfx driver to use (mteira,mickeyl)
75 * libopiecore: Add support for the Sharp SL-C3100 "Borzoi" (mickeyl) 76 * libopiecore: Add support for the Sharp SL-C3100 "Borzoi" (mickeyl)
76 * libopiecore: Add support for the new Linux Inputsystem Switches type [necessary for auto rotation in 2.6.13] (mickeyl) 77 * libopiecore: Add support for the new Linux Inputsystem Switches type [necessary for auto rotation in 2.6.13] (mickeyl)
77 * Remove assumptions about default gfx driver ("Transformed") all over the place (mteira,mickeyl) 78 * Remove assumptions about default gfx driver ("Transformed") all over the place (mteira,mickeyl)
78 * Fix / Optimize number of scanned directories (ljp) 79 * Fix / Optimize number of scanned directories (ljp)
79 * Use five point mouse calibration to make calibrated mouse drivers work on newer Zaurii (rp,mickeyl) 80 * Use five point mouse calibration to make calibrated mouse drivers work on newer Zaurii (rp,mickeyl)
80 81
81 2005-03-25Opie 1.2.0 82 2005-03-25Opie 1.2.0
82 83
83 Fixed Bugs 84 Fixed Bugs
84 ---------- 85 ----------
85 * #1613 - AdvancedFM - scale toolbar icons appropriately (drw) 86 * #1613 - AdvancedFM - scale toolbar icons appropriately (drw)
86 * #1620 - OFileSelector - show the button on press and not on press on hold (alwin) 87 * #1620 - OFileSelector - show the button on press and not on press on hold (alwin)
87 * #1473 - Opie-Eye - Same as #1620 but we lack a common FileSystem Button class (zecke) 88 * #1473 - Opie-Eye - Same as #1620 but we lack a common FileSystem Button class (zecke)
88 * n.a. - PackageManager - fix bug where messages show up multiple times in install dialog (drw) 89 * n.a. - PackageManager - fix bug where messages show up multiple times in install dialog (drw)
89 * n.a.- make qpeglobal.h include qglobal.h (zecke) 90 * n.a.- make qpeglobal.h include qglobal.h (zecke)
90 91
91 2005-03-20Opie 1.2.0-rc1 92 2005-03-20Opie 1.2.0-rc1
92 93
93 94
94 New Features 95 New Features
95 ------------ 96 ------------
96 * Launcher: Support a static background pixmap (mickeyl) 97 * Launcher: Support a static background pixmap (mickeyl)
97 * LauncherSettings: Choose whether to have a static background pixmap (mickeyl) 98 * LauncherSettings: Choose whether to have a static background pixmap (mickeyl)
98 * PackageManager supports the 'lists_dir' ipkg configuration option (drw) 99 * PackageManager supports the 'lists_dir' ipkg configuration option (drw)
99 * Added hi-res inline images for large resolution devices (drw) 100 * Added hi-res inline images for large resolution devices (drw)
100 * Improved launcher icons for consistency (ar) 101 * Improved launcher icons for consistency (ar)
101 * Datebook: Added plugin system to datebook so holidays and birthdays from contacts may displayed in datebook (alwin) 102 * Datebook: Added plugin system to datebook so holidays and birthdays from contacts may displayed in datebook (alwin)
102 103
103 Fixed Bugs 104 Fixed Bugs
104 ---------- 105 ----------
105 * #1236 - VCards contained empty home and work address entries causing Palms to crash (eilers) 106 * #1236 - VCards contained empty home and work address entries causing Palms to crash (eilers)
106 * #1412 - Launcher Settings - fixed default settings for background in Edit tab dialog (drw) 107 * #1412 - Launcher Settings - fixed default settings for background in Edit tab dialog (drw)
107 * #1472 - Opie textedit now check for unsaved changes on ESC key (ljp) 108 * #1472 - Opie textedit now check for unsaved changes on ESC key (ljp)
108 * #1474 - Implement GUI for Scrollbars on the Left in Appearance (zecke) 109 * #1474 - Implement GUI for Scrollbars on the Left in Appearance (zecke)
109 * #1482 - Fix double '/' in paths (zecke) 110 * #1482 - Fix double '/' in paths (zecke)
110 * #1536 - Autosave of custom locations in opie backup (ar) 111 * #1536 - Autosave of custom locations in opie backup (ar)
111 * #1539 - Fixed displaying too long path in the delete dialog in opie-eye (zecke) 112 * #1539 - Fixed displaying too long path in the delete dialog in opie-eye (zecke)
112 * #1540 - Implemented deletion of DocLnks in opie-eye (zecke) 113 * #1540 - Implemented deletion of DocLnks in opie-eye (zecke)
113 * #1542 - Fixed Todo crash when priority < 1 or > 5 (drw) 114 * #1542 - Fixed Todo crash when priority < 1 or > 5 (drw)
114 * #1550 - Browse for alarm sound start in QPEDIR/sounds/ (zecke) 115 * #1550 - Browse for alarm sound start in QPEDIR/sounds/ (zecke)
115 * #1554 - Fixed Opie-Console name in .desktop file (mickeyl) 116 * #1554 - Fixed Opie-Console name in .desktop file (mickeyl)
116 * #1556 - Start to look for sound files in /opt/QtPalmtop/sounds (zecke) 117 * #1556 - Start to look for sound files in /opt/QtPalmtop/sounds (zecke)
117 * #1558 - Fixed opie-login breaking opie startup (mickeyl) 118 * #1558 - Fixed opie-login breaking opie startup (mickeyl)
118 * #1560 - Fixed Opie-Console picking up the wrong shell (bluelightning) 119 * #1560 - Fixed Opie-Console picking up the wrong shell (bluelightning)
119 * #1570 - Confirmation needed befor Restore a backup and overwrite local data (ar) 120 * #1570 - Confirmation needed befor Restore a backup and overwrite local data (ar)
120 * #1591 - Addressbook sortorder changed by clicking on column 0 (eilers) 121 * #1591 - Addressbook sortorder changed by clicking on column 0 (eilers)
121 * #1599 - Security - change recommendation for opie-multiauth to opie-securityplugin (gints) 122 * #1599 - Security - change recommendation for opie-multiauth to opie-securityplugin (gints)
122 * #1604 - Checkbook crashed on startup (drw) 123 * #1604 - Checkbook crashed on startup (drw)
123 * #1608 - Addressbook crashed after search, which may caused by not initialzed member variable (eilers) 124 * #1608 - Addressbook crashed after search, which may caused by not initialzed member variable (eilers)
124 * #1608 - QueryByExampe-Datediff on SQL database did not worked properly (eilers) 125 * #1608 - QueryByExampe-Datediff on SQL database did not worked properly (eilers)
125 * n.a. - Netsystemtime - fixed UI to prevent error dialog from displaying when it shouldn't, get rid of some compiler warnings (drw) 126 * n.a. - Netsystemtime - fixed UI to prevent error dialog from displaying when it shouldn't, get rid of some compiler warnings (drw)
126 * n.a. - PackageManager - fixed where last package in status file was not shown as installed when it should be (drw) 127 * n.a. - PackageManager - fixed where last package in status file was not shown as installed when it should be (drw)
127 * n.a. - PackageManager - fixed bug where lists_dir was not being honored at startup (drw) 128 * n.a. - PackageManager - fixed bug where lists_dir was not being honored at startup (drw)
128 * n.a. - PackageManager - provided default value for lists_dir when none is entered in configuration dialog (drw) 129 * n.a. - PackageManager - provided default value for lists_dir when none is entered in configuration dialog (drw)
129 * n.a. - OTabWidget - fixed scroll buttons, fix display position of tabs (drw) 130 * n.a. - OTabWidget - fixed scroll buttons, fix display position of tabs (drw)
130 * n.a. - AddressBook - fixed sorting by 'File As' name (drw) 131 * n.a. - AddressBook - fixed sorting by 'File As' name (drw)
131 * n.a. - AddressBook - fixed category handling for 'All' and 'Unfiled' (eilers) 132 * n.a. - AddressBook - fixed category handling for 'All' and 'Unfiled' (eilers)
132 * n.a. - AddressBook - fixed letter picker record selection and sort records afterwards (drw) 133 * n.a. - AddressBook - fixed letter picker record selection and sort records afterwards (drw)
133 134
134 Internal 135 Internal
135 -------- 136 --------
136 * Worked around bug in Qt/Embedded 2.3.10: qt_version() returns 231 (mickeyl) 137 * Worked around bug in Qt/Embedded 2.3.10: qt_version() returns 231 (mickeyl)
137 * Killed the need for weak symbols in QtE (zecke) 138 * Killed the need for weak symbols in QtE (zecke)
138 * Added optional building libqpe without inline images (mickeyl) 139 * Added optional building libqpe without inline images (mickeyl)
139 * OColorButton - fixed so does not emit a colorSelected signal inside of resizeEvent (drw) 140 * OColorButton - fixed so does not emit a colorSelected signal inside of resizeEvent (drw)
140 141
141 2005-02-03Opie 1.1.9 142 2005-02-03Opie 1.1.9
142 143
143 New Features 144 New Features
144 ------------ 145 ------------
145 * Number of icon columns in Launcher is customizable through Launcher.conf (hrw,zecke,mickeyl) 146 * Number of icon columns in Launcher is customizable through Launcher.conf (hrw,zecke,mickeyl)
146 * Number of icon columns in Launcher is customizable through LauncherSettings (mickeyl) 147 * Number of icon columns in Launcher is customizable through LauncherSettings (mickeyl)
147 * Usability enhancements in OpieIRC (skyhusker) 148 * Usability enhancements in OpieIRC (skyhusker)
148 149
149 Fixed Bugs 150 Fixed Bugs
150 ---------- 151 ----------
151 * #1501 - Fixed bug in todo sql backend (eilers) 152 * #1501 - Fixed bug in todo sql backend (eilers)
152 * #1505 - Added more Swap sizes in memoryapplet (mickeyl) 153 * #1505 - Added more Swap sizes in memoryapplet (mickeyl)
153 * #1525 - Hopefully fixed double alarms and not removing alarms set with the Clock application (zecke) 154 * #1525 - Hopefully fixed double alarms and not removing alarms set with the Clock application (zecke)
154 * #1533 - Security Owner Dialog (shown in case of unsuccessfull authentiacation) wasn't able to display information in non latin1 encoding (zecke) 155 * #1533 - Security Owner Dialog (shown in case of unsuccessfull authentiacation) wasn't able to display information in non latin1 encoding (zecke)
155 * n.a. - Removed hard coded font sizes in a couple of inputmethods (mickeyl) 156 * n.a. - Removed hard coded font sizes in a couple of inputmethods (mickeyl)
156 * n.a. - Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration) (mickeyl) 157 * n.a. - Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration) (mickeyl)
157 * n.a. - Fixed numerous buglets in OpieIRC (skyhusker) 158 * n.a. - Fixed numerous buglets in OpieIRC (skyhusker)
158 159
159 Internal 160 Internal
160 -------- 161 --------
161 * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl) 162 * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl)
162 * You can now use the Opie build system in combination with a OpenEmbedded staging area which makes a nice cross development environment (mickeyl) 163 * You can now use the Opie build system in combination with a OpenEmbedded staging area which makes a nice cross development environment (mickeyl)
163 * Made Opie compilable with Qt/Embedded 2.3.10 (ar) 164 * Made Opie compilable with Qt/Embedded 2.3.10 (ar)
164 * Changed Launcher to get default orientation from ODevice w/ QWS_DISPLAY overriding (mickeyl) 165 * Changed Launcher to get default orientation from ODevice w/ QWS_DISPLAY overriding (mickeyl)
165 * Build tree cleanups (mickeyl) 166 * Build tree cleanups (mickeyl)
166 167
167 2004-11-26Opie 1.1.8 168 2004-11-26Opie 1.1.8
168 169
169 New Features 170 New Features
170 ------------ 171 ------------
171 * PackageManager supports installation of local ipkg files (drw) 172 * PackageManager supports installation of local ipkg files (drw)
172 * PackageManager supports linking of applications to root (drw) 173 * PackageManager supports linking of applications to root (drw)
173 * PackageManager supports src/gz feeds (drw,wimpie) 174 * PackageManager supports src/gz feeds (drw,wimpie)
174 * Added a syslog information tab to sysinfo (mickeyl) 175 * Added a syslog information tab to sysinfo (mickeyl)
175 * Added new, more consistent, PIM icons + a GIMP teplate (ar) 176 * Added new, more consistent, PIM icons + a GIMP teplate (ar)
176 177
177 Fixed Bugs 178 Fixed Bugs
178 ---------- 179 ----------
179 * #1017 - Tetrix doesn't display correctly for high resolution screens (drw) 180 * #1017 - Tetrix doesn't display correctly for high resolution screens (drw)
180 * #1269 - VCards were imported into personal area if it was activated (eilers) 181 * #1269 - VCards were imported into personal area if it was activated (eilers)
181 * #1464 - Packagemanager dont set active filter after install a package (drw) 182 * #1464 - Packagemanager dont set active filter after install a package (drw)
182 * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers) 183 * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers)
183 * #1493 - Fixed one column layout bug of the launcher (hrw) 184 * #1493 - Fixed one column layout bug of the launcher (hrw)
184 * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw) 185 * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw)
185 * n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw) 186 * n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw)
186 * n.a. - Battery Applet - fix sizing of battery info popup (drw,mickeyl) 187 * n.a. - Battery Applet - fix sizing of battery info popup (drw,mickeyl)
187 188
188 Internal 189 Internal
189 -------- 190 --------
190 * Moved libopie1 to unsupported (mickeyl) 191 * Moved libopie1 to unsupported (mickeyl)
191 * Implemented generic queryByExample() with incremental searching. A lot of internal changes of the Pim2-library (eilers) 192 * Implemented generic queryByExample() with incremental searching. A lot of internal changes of the Pim2-library (eilers)
192 * Added fast and full featured and incremental sorted() for SQL addressbook backend (eilers) 193 * Added fast and full featured and incremental sorted() for SQL addressbook backend (eilers)
193 194
194 2004-11-14Opie 1.1.7 195 2004-11-14Opie 1.1.7
195 196
196 New Features 197 New Features
197 ------------ 198 ------------
198 * libOpieDB now uses SQLite V3 instead V2. Remember to upgrade your database files! (eilers) 199 * libOpieDB now uses SQLite V3 instead V2. Remember to upgrade your database files! (eilers)
199 * Backup now uses the busy indicator when backing up and restore (ar) 200 * Backup now uses the busy indicator when backing up and restore (ar)
200 * OpiePlayer2 gained adding of Directories to the playlist (zecke) 201 * OpiePlayer2 gained adding of Directories to the playlist (zecke)
201 * OpiePlayer2 better error handling (zecke) 202 * OpiePlayer2 better error handling (zecke)
202 * OpiePlayer2 progress indication while streaming (zecke) 203 * OpiePlayer2 progress indication while streaming (zecke)
203 * OpiePlayer2 ported to use libxine 1.0.0-rc6a (brad,zecke) 204 * OpiePlayer2 ported to use libxine 1.0.0-rc6a (brad,zecke)
204 * Ported brightnessapplet from Qtopia 1.7 (mickeyl) 205 * Ported brightnessapplet from Qtopia 1.7 (mickeyl)
205 * Opie-Eye got a Digital Camera File Backend (alwin,zecke) 206 * Opie-Eye got a Digital Camera File Backend (alwin,zecke)
206 * Support for Tuxpad1 of Tradesquare.NL (mickeyl,zecke) 207 * Support for Tuxpad1 of Tradesquare.NL (mickeyl,zecke)
207 * Opie-Console use Custom Font and Size in a Profile (harlekin) 208 * Opie-Console use Custom Font and Size in a Profile (harlekin)
208 * Opie-Console transparently log the Output and Input to a file (harlekin) 209 * Opie-Console transparently log the Output and Input to a file (harlekin)
209 * Added new O-menu icon to lock the PDA immediately: opie-lockapplet (clem) 210 * Added new O-menu icon to lock the PDA immediately: opie-lockapplet (clem)
210 * Opie-Security now hides the plugin-based authentication tabs if no auth. plugin package is installed (clem) 211 * Opie-Security now hides the plugin-based authentication tabs if no auth. plugin package is installed (clem)
211 * Opie-Security gained a 'test authentication' button (clem) 212 * Opie-Security gained a 'test authentication' button (clem)
212 * Opie-Eye got a more unique layout (menubar), a slideshow, user can setup some defaults 213 * Opie-Eye got a more unique layout (menubar), a slideshow, user can setup some defaults
213 * Opie-Mail improve the handling of POP mail boxes (alwin) 214 * Opie-Mail improve the handling of POP mail boxes (alwin)
214 * Both Opie-Eye and Opie-Mail were greatly improved due the hard work of Rajko Albrecht(alwin) 215 * Both Opie-Eye and Opie-Mail were greatly improved due the hard work of Rajko Albrecht(alwin)
215 * Opie IRC - backports of the 'NeIRC fork' (zecke) 216 * Opie IRC - backports of the 'NeIRC fork' (zecke)
216 217
217 Fixed Bugs 218 Fixed Bugs
218 ---------- 219 ----------
219 * #501 - Pickboard is able to show 'Umlaute' (TT,zecke) 220 * #501 - Pickboard is able to show 'Umlaute' (TT,zecke)
220 * #608 - Make Opie usable for left handed users (zecke) 221 * #608 - Make Opie usable for left handed users (zecke)
221 * #957 - Import of VCards/VTodos/VEvents with BASE64 encoding (ljp,zecke) 222 * #957 - Import of VCards/VTodos/VEvents with BASE64 encoding (ljp,zecke)
222 * #1245 - Opie-Go 'paused' (zecke) 223 * #1245 - Opie-Go 'paused' (zecke)
223 * #1358 - DocTab didn't show any MimeTypes (was fixed earlier) (zecke) 224 * #1358 - DocTab didn't show any MimeTypes (was fixed earlier) (zecke)
224 * #1380 - QDateBookAccess::remove() doesn't remove entries (eilers, zecke) 225 * #1380 - QDateBookAccess::remove() doesn't remove entries (eilers, zecke)
225 * #1395 - Build VNC Backend with gcc3.4 226 * #1395 - Build VNC Backend with gcc3.4
226 * #1440 - The icon of opie-mobilemsg is missing (CoreDump) 227 * #1440 - The icon of opie-mobilemsg is missing (CoreDump)
227 * #1426 - Add missing opie-bartender Icon (CoreDump) 228 * #1426 - Add missing opie-bartender Icon (CoreDump)
228 * #1445 - Opie-Sheet Has No Icon (CoreDump) 229 * #1445 - Opie-Sheet Has No Icon (CoreDump)
229 * #1448 - Brightness Applet added (mickeyl) 230 * #1448 - Brightness Applet added (mickeyl)
230 * #1450 - ZSame didn't clear the bonus item after winning a game (zecke) 231 * #1450 - ZSame didn't clear the bonus item after winning a game (zecke)
231 * #1482 - Fix OFileSelector to be able to sort by size (zecke) 232 * #1482 - Fix OFileSelector to be able to sort by size (zecke)
232 * n.a. - Opie-mail: fixed some crasher, some layout-problems 233 * n.a. - Opie-mail: fixed some crasher, some layout-problems
233 * n.a. - Converted applications to not hardcode /opt/QtPalmtop but to use QPEApplication::qpeDir (zecke) 234 * n.a. - Converted applications to not hardcode /opt/QtPalmtop but to use QPEApplication::qpeDir (zecke)
234 * n.a. - Converted usage of qpeDir() not to include a '/' as first charachter of the string (zecke) 235 * n.a. - Converted usage of qpeDir() not to include a '/' as first charachter of the string (zecke)
235 * n.a. - Build system: Enable distcc and ccache when crosscompiling too, and use them everywhere we can (clem) 236 * n.a. - Build system: Enable distcc and ccache when crosscompiling too, and use them everywhere we can (clem)
236 * 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) 237 * 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)
237 * n.a. - Removed hardcoded icon size in a couple of applets (mickeyl) 238 * n.a. - Removed hardcoded icon size in a couple of applets (mickeyl)
238 239
239 Internal 240 Internal
240 -------- 241 --------
241 * Opie-Qashmoney has been moved to unsupported (mickeyl) 242 * Opie-Qashmoney has been moved to unsupported (mickeyl)
242 * Opie-Ubrowser has been moved to unsupported (mickeyl) 243 * Opie-Ubrowser has been moved to unsupported (mickeyl)
243 244
244 2004-09-17Opie 1.1.6 245 2004-09-17Opie 1.1.6
245 246
246 New Features 247 New Features
247 ------------ 248 ------------
248 * Fifteen gained configurable number of items (zecke) 249 * Fifteen gained configurable number of items (zecke)
249 * Fifteen can have custom background images (zecke) 250 * Fifteen can have custom background images (zecke)
250 * Added daemonizing capabilities to QWS Server [via Qt/Embedded] (mickeyl) 251 * Added daemonizing capabilities to QWS Server [via Qt/Embedded] (mickeyl)
251 * Integrated the new security framework into libopie2 (zecke,clem) 252 * Integrated the new security framework into libopie2 (zecke,clem)
252 * Converted the launcher to use the new security framework (zecke) 253 * Converted the launcher to use the new security framework (zecke)
253 * Backup can now handle custom locations for backup and restore (ar) 254 * Backup can now handle custom locations for backup and restore (ar)
254 * Implemented right-on-hold feedback (wimpie,zecke) 255 * Implemented right-on-hold feedback (wimpie,zecke)
255 * Lots of new features in opie-reader (tim,pohly) 256 * Lots of new features in opie-reader (tim,pohly)
256 * Build system cleanups (schurig) 257 * Build system cleanups (schurig)
257 258
258 Fixed Bugs 259 Fixed Bugs
259 -------- 260 --------
260 * #1005 - Fixed backup to CompactFlash (ar) 261 * #1005 - Fixed backup to CompactFlash (ar)
261 * #1167 - Fixed Opie write crashing on more text than one page (ar) 262 * #1167 - Fixed Opie write crashing on more text than one page (ar)
262 * #1225 - Fixed repeated light flashing on Zaurus with keyz (mickeyl) 263 * #1225 - Fixed repeated light flashing on Zaurus with keyz (mickeyl)
263 * #1359 - Fixed bookmarks in Gutenbrowser (ljp) 264 * #1359 - Fixed bookmarks in Gutenbrowser (ljp)
264 * #1361 - Fixed auto upercase in Opie-Addressbook (eilers) 265 * #1361 - Fixed auto upercase in Opie-Addressbook (eilers)
265 * #1370 - Pimconverter now reacts on cancel key (eilers) 266 * #1370 - Pimconverter now reacts on cancel key (eilers)
266 * #1376 - Bring back the capslock/numlock display (zecke) 267 * #1376 - Bring back the capslock/numlock display (zecke)
267 * #1383 - Language settings now warns about losing open apps (Markus Litz) 268 * #1383 - Language settings now warns about losing open apps (Markus Litz)
268 * #1393 - Fixed line wrap issues in opie-console for the default profile (mickeyl) 269 * #1393 - Fixed line wrap issues in opie-console for the default profile (mickeyl)
269 * #1394 - Fixed oversized headline in opie-login (coredump) 270 * #1394 - Fixed oversized headline in opie-login (coredump)
270 * #1396 - Opie-console captures the escape key and vim is working (zecke) 271 * #1396 - Opie-console captures the escape key and vim is working (zecke)
271 * #1401 - Scrollbar is now only visible if necessary in DocTab (mickeyl) 272 * #1401 - Scrollbar is now only visible if necessary in DocTab (mickeyl)
272 273
273 2004-07-06Opie 1.1.4 274 2004-07-06Opie 1.1.4
274 275
275 New Features 276 New Features
276 ------------ 277 ------------
277 * Added four themes courtesy Robert Griebl (http://www.softforge.de/zstyle) 278 * Added four themes courtesy Robert Griebl (http://www.softforge.de/zstyle)
278 * Added Conversion tool for pim-data (eilers) 279 * Added Conversion tool for pim-data (eilers)
279 * Introduced new OPimAccessFactory and OBackendFactory which simplyfies database access (eilers) 280 * Introduced new OPimAccessFactory and OBackendFactory which simplyfies database access (eilers)
280 * Modified the PIM API for providing generic use of OPimRecords (eilers) 281 * Modified the PIM API for providing generic use of OPimRecords (eilers)
281 * Clicking on the application symbol now iterates over the application's top level widgets if already raised (zecke) 282 * Clicking on the application symbol now iterates over the application's top level widgets if already raised (zecke)
282 283
283 Fixed Bugs 284 Fixed Bugs
284 -------- 285 --------
285 * #1068 - Country Drop Down Box Off Screen 286 * #1068 - Country Drop Down Box Off Screen
286 * #1291 - Opie tinykate does not open .desktop files (ar) 287 * #1291 - Opie tinykate does not open .desktop files (ar)
287 * #1291 - Opie sheet not saving correctly (ar) 288 * #1291 - Opie sheet not saving correctly (ar)
288 * #1294 - Opie does not know about British Summer Time 289 * #1294 - Opie does not know about British Summer Time
289 * #1314 - Drawpad initialization (mickeyl) 290 * #1314 - Drawpad initialization (mickeyl)
290 * #1317 - Packagemanager crashes on hold-down or install (chicken) 291 * #1317 - Packagemanager crashes on hold-down or install (chicken)
291 * #1321 - Batteryapplet graphic glitch (harlekin) 292 * #1321 - Batteryapplet graphic glitch (harlekin)
292 * #1324 - ZSafe not starting up (mickeyl) 293 * #1324 - ZSafe not starting up (mickeyl)
293 * #1328 - Personal Home Address fields is trimmed to 1char (eilers) 294 * #1328 - Personal Home Address fields is trimmed to 1char (eilers)
294 * #1327 - Opie-mail ipk does not depend on libopiedb2 (chicken) 295 * #1327 - Opie-mail ipk does not depend on libopiedb2 (chicken)
295 * #1345 - Networksettingsplugin wlan plugin dependency on libpcap0 (mickeyl) 296 * #1345 - Networksettingsplugin wlan plugin dependency on libpcap0 (mickeyl)
296 * #1348 - Datebook dependency on libopiedb2 (chicken) 297 * #1348 - Datebook dependency on libopiedb2 (chicken)
297 * #1328 - Switched SQLDatabase and VCards char encoding from latin1 to unicode (eilers) 298 * #1328 - Switched SQLDatabase and VCards char encoding from latin1 to unicode (eilers)
298 299
299 2004-04-25Opie 1.1.3 300 2004-04-25Opie 1.1.3
300 301
301 * Introduced first implementation of SQL-Support using SQLite (eilers) 302 * Introduced first implementation of SQL-Support using SQLite (eilers)
302 * Added a new Gutenberg Project reader app - opie-gutenbrowser (ljp) 303 * Added a new Gutenberg Project reader app - opie-gutenbrowser (ljp)
303 * Added a real system graffiti character set (brad) 304 * Added a real system graffiti character set (brad)
304 * Added Generic Keyconfig Widget (zecke) 305 * Added Generic Keyconfig Widget (zecke)
305 * Improved Screenshotapplet and Drawpad integration. You can now open a screenshot in drawpad and take notes (zecke) 306 * Improved Screenshotapplet and Drawpad integration. You can now open a screenshot in drawpad and take notes (zecke)
306 * Added new Bible reader app - opie-dagger (drw) 307 * Added new Bible reader app - opie-dagger (drw)
307 * Added a new Image Viewer. Work is ongoing (zecke,alwin) 308 * Added a new Image Viewer. Work is ongoing (zecke,alwin)
308 * Added namespace usage in libopie2 and everywhere (zecke,alwin) 309 * Added namespace usage in libopie2 and everywhere (zecke,alwin)
309 * Enabled the possibility to pass command line arguments to applications (mickeyl) 310 * Enabled the possibility to pass command line arguments to applications (mickeyl)
310 * Added an about applet showing some credits and information about Opie (mickeyl) 311 * Added an about applet showing some credits and information about Opie (mickeyl)
311 * Added benchmarking functionality to sysinfo (mickeyl) 312 * Added benchmarking functionality to sysinfo (mickeyl)
312 * Added applet and configuration application for switching hardware keyboard layouts (alwin) 313 * Added applet and configuration application for switching hardware keyboard layouts (alwin)
313 * Ported applications from libopie1 to libopie2* (drw,ar,alwin) 314 * Ported applications from libopie1 to libopie2* (drw,ar,alwin)
314 * Imported fullscreen and font improvements from the Qkonsole fork to embeddedkonsole (waspe) 315 * Imported fullscreen and font improvements from the Qkonsole fork to embeddedkonsole (waspe)
315 * Clean-up of package information in control files (drw) 316 * Clean-up of package information in control files (drw)
316 * Repaired mediummount which was broken since integrating the quicklauncher (alwin) 317 * Repaired mediummount which was broken since integrating the quicklauncher (alwin)
317 * Improved big-screen support (zecke,ar) 318 * Improved big-screen support (zecke,ar)
318 * Improved multikeyboard support, added keyboard layout switching applet (mouse) 319 * Improved multikeyboard support, added keyboard layout switching applet (mouse)
319 * Added a new mail client based on libetpan (harlekin,alwin,jgf) 320 * Added a new mail client based on libetpan (harlekin,alwin,jgf)
320 * Added new package manager - opie-packagemanager (drw) 321 * Added new package manager - opie-packagemanager (drw)
321 * Improved light-n-power for C7x0 (mickeyl) 322 * Improved light-n-power for C7x0 (mickeyl)
322 * Added automatic rotation support for C7x0 (treke) 323 * Added automatic rotation support for C7x0 (treke)
323 * Split libopie1 up into a set of smaller - functionally grouped - libraries (mickeyl) 324 * Split libopie1 up into a set of smaller - functionally grouped - libraries (mickeyl)
324 * Added scanning the wireless network neighbourhood to networksettings (mickeyl) 325 * Added scanning the wireless network neighbourhood to networksettings (mickeyl)
325 326
326 2003-11-29Opie 1.0.3 327 2003-11-29Opie 1.0.3
327 328
328 * Released as Version 1.0.3 329 * Released as Version 1.0.3
329 * Improved i18n (various contributors) 330 * Improved i18n (various contributors)
330 * Reduced application startup time by integrating the TT quicklauncher (zecke,harlekin) 331 * Reduced application startup time by integrating the TT quicklauncher (zecke,harlekin)
331 * Made the Documents Tab optional (mickeyl) 332 * Made the Documents Tab optional (mickeyl)
332 * Integrated basic support for HP iPAQ 54xx and the Jornada 5xx (chicken) 333 * Integrated basic support for HP iPAQ 54xx and the Jornada 5xx (chicken)
333 334
334 2003-08-04Opie 1.0.0 335 2003-08-04Opie 1.0.0
335 336
336 * Released as Version 1.0.0 337 * Released as Version 1.0.0
337 * Including a PPP module for easy dial up (tille,harlekin,zecke) 338 * Including a PPP module for easy dial up (tille,harlekin,zecke)
diff --git a/noncore/net/wellenreiter/gui/packetview.cpp b/noncore/net/wellenreiter/gui/packetview.cpp
index d71111f..ffe2f01 100644
--- a/noncore/net/wellenreiter/gui/packetview.cpp
+++ b/noncore/net/wellenreiter/gui/packetview.cpp
@@ -1,165 +1,168 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2002-2004 Michael 'Mickey' Lauer. All rights reserved. 2** Copyright (C) 2002-2004 Michael 'Mickey' Lauer. All rights reserved.
3** 3**
4** This file is part of Wellenreiter II. 4** This file is part of Wellenreiter II.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14**********************************************************************/ 14**********************************************************************/
15 15
16#include "packetview.h" 16#include "packetview.h"
17 17
18/* OPIE */ 18/* OPIE */
19#include <opie2/opcap.h> 19#include <opie2/opcap.h>
20#include <opie2/odebug.h> 20#include <opie2/odebug.h>
21#include <opie2/olistview.h> 21#include <opie2/olistview.h>
22#include <opie2/oapplication.h> 22#include <opie2/oapplication.h>
23#include <qpe/config.h>
23 24
24/* QT */ 25/* QT */
25#include <qfont.h> 26#include <qfont.h>
26#include <qlabel.h> 27#include <qlabel.h>
27#include <qlayout.h> 28#include <qlayout.h>
28#include <qlist.h> 29#include <qlist.h>
29#include <qlistview.h> 30#include <qlistview.h>
30#include <qobjectlist.h> 31#include <qobjectlist.h>
31#include <qspinbox.h> 32#include <qspinbox.h>
32#include <qtextview.h> 33#include <qtextview.h>
33 34
34using namespace Opie::Net; 35using namespace Opie::Net;
35using namespace Opie::Core; 36using namespace Opie::Core;
36using namespace Opie::Ui; 37using namespace Opie::Ui;
37 38
38PacketView::PacketView( QWidget * parent, const char * name, WFlags f ) 39PacketView::PacketView( QWidget * parent, const char * name, WFlags f )
39 :QFrame( parent, name, f ) 40 :QFrame( parent, name, f )
40{ 41{
42 Config c( "qpe" );
43 c.setGroup( "Appearance" );
44
41 _number = new QSpinBox( this ); 45 _number = new QSpinBox( this );
42 _number->setPrefix( "Pkt# " ); 46 _number->setPrefix( "Pkt# " );
43 _label = new QLabel( this ); 47 _label = new QLabel( this );
44 _list = new OListView( this ); 48 _list = new OListView( this );
45 _list->addColumn( "#" ); 49 _list->addColumn( "#" );
46 _list->addColumn( "Packet Type" ); 50 _list->addColumn( "Packet Type" );
47 _list->setColumnAlignment( 0, Qt::AlignCenter ); 51 _list->setColumnAlignment( 0, Qt::AlignCenter );
48 _list->setColumnAlignment( 1, Qt::AlignLeft ); 52 _list->setColumnAlignment( 1, Qt::AlignLeft );
49 _list->setAllColumnsShowFocus( true ); 53 _list->setAllColumnsShowFocus( true );
50 _list->setFont( QFont( "Fixed", 8 ) );
51 54
52 _hex = new QTextView( this ); 55 _hex = new QTextView( this );
53 _hex->setMargin( 0 ); 56 _hex->setMargin( 0 );
54 _hex->setFont( QFont( "Fixed", 8 ) ); 57 _hex->setFont( QFont( c.readEntry( "FixedFontFamily", "Fixed" ), c.readNumEntry( "FixedFontSize", 8 ) ) );
55 58
56 QVBoxLayout* vb = new QVBoxLayout( this, 2, 2 ); 59 QVBoxLayout* vb = new QVBoxLayout( this, 2, 2 );
57 QHBoxLayout* hb = new QHBoxLayout( vb, 2 ); 60 QHBoxLayout* hb = new QHBoxLayout( vb, 2 );
58 hb->addWidget( _label, 5 ); 61 hb->addWidget( _label, 5 );
59 hb->addWidget( _number, 2 ); 62 hb->addWidget( _number, 2 );
60 vb->addWidget( _list, 3 ); 63 vb->addWidget( _list, 3 );
61 vb->addWidget( _hex, 4 ); // allow a bit (4/3) more space 64 vb->addWidget( _hex, 4 ); // allow a bit (4/3) more space
62 65
63 _packets.setAutoDelete( true ); 66 _packets.setAutoDelete( true );
64 67
65 connect( _number, SIGNAL( valueChanged( int ) ), this, SLOT( showPacket( int ) ) ); 68 connect( _number, SIGNAL( valueChanged( int ) ), this, SLOT( showPacket( int ) ) );
66 connect( parent, SIGNAL( currentChanged( QWidget *) ), this, SLOT( activated( QWidget* ) ) ); 69 connect( parent, SIGNAL( currentChanged( QWidget *) ), this, SLOT( activated( QWidget* ) ) );
67 70
68 clear(); 71 clear();
69 72
70} 73}
71 74
72void PacketView::add( const OPacket* p, int size ) 75void PacketView::add( const OPacket* p, int size )
73{ 76{
74 /* 77 /*
75 * don't scroll away when somebody views packages 78 * don't scroll away when somebody views packages
76 * while scanning 79 * while scanning
77 */ 80 */
78 int value = _number->value(); 81 int value = _number->value();
79 bool last = (value == static_cast<int>( _packets.count() ) ); 82 bool last = (value == static_cast<int>( _packets.count() ) );
80 83
81 odebug << "PacketView::add() size = " << size << oendl; 84 odebug << "PacketView::add() size = " << size << oendl;
82 if ( size == -1 ) // unlimited buffer 85 if ( size == -1 ) // unlimited buffer
83 { 86 {
84 _packets.append( p ); 87 _packets.append( p );
85 } 88 }
86 else 89 else
87 { // limited buffer, limit = size 90 { // limited buffer, limit = size
88 while ( _packets.count() >= static_cast<uint>( size ) ) 91 while ( _packets.count() >= static_cast<uint>( size ) )
89 { 92 {
90 _packets.removeFirst(); 93 _packets.removeFirst();
91 --value; 94 --value;
92 } 95 }
93 96
94 /* check if we lost our packet */ 97 /* check if we lost our packet */
95 last = ( value < 1 ); 98 last = ( value < 1 );
96 _packets.append( p ); 99 _packets.append( p );
97 } 100 }
98 101
99 _number->setMinValue( 1 ); 102 _number->setMinValue( 1 );
100 _number->setMaxValue( _packets.count() ); 103 _number->setMaxValue( _packets.count() );
101 _number->setValue( last ? _packets.count() : value ); 104 _number->setValue( last ? _packets.count() : value );
102} 105}
103 106
104void PacketView::showPacket( int number ) 107void PacketView::showPacket( int number )
105{ 108{
106 _list->clear(); 109 _list->clear();
107 _hex->setText(""); 110 _hex->setText("");
108 const OPacket* p = _packets.at( number-1 ); 111 const OPacket* p = _packets.at( number-1 );
109 112
110 if ( p ) 113 if ( p )
111 { 114 {
112 _doSubPackets( const_cast<QObjectList*>( p->children() ), 0 ); 115 _doSubPackets( const_cast<QObjectList*>( p->children() ), 0 );
113 _doHexPacket( p ); 116 _doHexPacket( p );
114 QDateTime dt; dt.setTime_t( p->timeval().tv_sec ); 117 QDateTime dt; dt.setTime_t( p->timeval().tv_sec );
115 _label->setText( dt.toString() + QString().sprintf( " Len=%d", p->len() ) ); 118 _label->setText( dt.toString() + QString().sprintf( " Len=%d", p->len() ) );
116 } 119 }
117 else 120 else
118 { 121 {
119 odebug << "D'oh! No packet!" << oendl; 122 odebug << "D'oh! No packet!" << oendl;
120 } 123 }
121} 124}
122 125
123void PacketView::activated( QWidget* w ) 126void PacketView::activated( QWidget* w )
124{ 127{
125 if ( ( this == w ) && _packets.count() ) 128 if ( ( this == w ) && _packets.count() )
126 { 129 {
127 _number->setValue( 1 ); 130 _number->setValue( 1 );
128 } 131 }
129} 132}
130 133
131void PacketView::_doSubPackets( QObjectList* l, int counter ) 134void PacketView::_doSubPackets( QObjectList* l, int counter )
132{ 135{
133 if (!l) return; 136 if (!l) return;
134 QObject* o = l->first(); 137 QObject* o = l->first();
135 while ( o ) 138 while ( o )
136 { 139 {
137 new OListViewItem( _list, QString::number( counter++ ), o->name() ); 140 new OListViewItem( _list, QString::number( counter++ ), o->name() );
138 _doSubPackets( const_cast<QObjectList*>( o->children() ), counter ); 141 _doSubPackets( const_cast<QObjectList*>( o->children() ), counter );
139 o = l->next(); 142 o = l->next();
140 } 143 }
141} 144}
142 145
143void PacketView::_doHexPacket( const OPacket* p ) 146void PacketView::_doHexPacket( const OPacket* p )
144{ 147{
145 if ( oApp->desktop()->width() > 320 ) 148 if ( oApp->desktop()->width() > 320 )
146 _hex->setText( p->dump( 16 ) ); 149 _hex->setText( p->dump( 16 ) );
147 else 150 else
148 _hex->setText( p->dump( 8 ) ); 151 _hex->setText( p->dump( 8 ) );
149} 152}
150 153
151const QString PacketView::getLog() const 154const QString PacketView::getLog() const
152{ 155{
153 return QString::null; 156 return QString::null;
154} 157}
155 158
156void PacketView::clear() 159void PacketView::clear()
157{ 160{
158 _packets.clear(); 161 _packets.clear();
159 _number->setMinValue( 0 ); 162 _number->setMinValue( 0 );
160 _number->setMaxValue( 0 ); 163 _number->setMaxValue( 0 );
161 _label->setText( "---" ); 164 _label->setText( "---" );
162 _list->clear(); 165 _list->clear();
163 _hex->setText( " <center><i>-- no Packet available --</i></center> " ); 166 _hex->setText( " <center><i>-- no Packet available --</i></center> " );
164} 167}
165 168