Fixing battery alarm when measurement of current is missing (Closes: #854643).
[debian/lxpanel.git] / ChangeLog
3* Fixed delayed application of font cnahges on dclock and weather plugins.
4* Allowed switching workplaces by scrolling over the pager.
5* Added new API: lxpanel_draw_label_text_with_color().
6* Fixed not-applicable font setting on thermal plugin.
7* Fixed crash on right-click task button after some task was killed using menu
8 on another task button.
9* Fixed crash after color was removed from monitor plugin configuration.
10* Aligned used memory calculation in lxpanel monitor with 'free' command line
11 utility.
12* Added possibility to use few weather providers for weather widget.
13* Disabled Yahoo! Weather because they removed free API support.
14* Added OpenWeatherMap weather provider.
15* Fixed wrong application position on taskbar in multihead configuration.
16* Fixed battery color (must be green) when battery is fully charged.
17* Fixed crash at task plugin when all windows lose focus.
18* Disambiguated keyboard layout names to follow variants.
22* Finally fixed battery calculations, it missed Power so left time was
23 always at zero.
24* Fixed task window raising on drop file on it (was broken since 0.9.0).
28* Fixed battery selection if battery detached but another is available.
29* Fixed battery percentage calculations if charge isn't available but
30 energy is, it appears broken in 0.9.0.
31* Fixed wrong state change on task button when hovered, it shouldn't
32 receive selected state until window has urgency.
33* Fixed wrong flat button appearance when hovered, it wasn't flat.
37* Fixed build failure without ALSA.
38* Added alternative mixers if build using OSS.
39* Fixed panel flicker with some window managers.
43* Added support for laptops with multiple batteries.
44* Added a way to scroll through workspaces by using the scroll wheel over
45 the deskno plugin.
46* Bunch of fixes for GTK+ 3.0 compatibility.
47* Fixed outdated lxpanel man page.
48* Fixed weather locations query (since YQL was changed recently).
49* Converted space plugin into internal PanelSpace widget in liblxpanel.
50* Converted task button into widget class to avoid ambiguous code.
51* Added support for third-party plugins localized descriptions.
52* Implemented "lxpanelctl command ..." to send message to panel plugin.
53* Added APIs for PanelIconGrid to draw focus on drop.
54* Converted launch button into widget class for more easy management.
55* Adjusted PanelIconGrid: min spacing is now 1, no_window flag is now
56 left unset by default, spacing is taken into account on overall size
57 to be consistent on chosen orientation.
58* Implemented dropping file or folder onto launch bar to create launcher.
59* Implemented dragging launchers around launchbars (between panels too).
60* Implemented dropping file or folder onto free panel space to create
61 launcher.
62* Implemented dragging launchers from launchbar to some free panel space.
63 When launcher dropped onto another place and former place's launchbar
64 becomes empty, it will not be replaced with a bootstrapping icon (as
65 it happens when last launcher is removed via configuration dialog)
66 but launchbar will be removed from the panel instead, that behavior
67 is more obvious and sensible.
68* Added stripping scheme from URI menu://applications/... when a launcher
69 is created, only menu-id itself should be used.
70* Implemented moving plugins across panel by means of middle button drag
71 and drop, i.e. middle-click it then drag, and plugin will follow the
72 mouse until middle button is released.
73* Merged 'volume' and 'volumealsa' plugins into single plugin which uses
74 the same interface but different driver, in dependency on how it was
75 built - either OSS or ALSA interface is used. Name 'volume' is used
76 for simplicity while 'volumealsa' is supported for compatibility.
77* Made default channel in 'volume' plugin definable in config. If there
78 is no config statement then plugin finds first usable one, the same
79 as before.
80* Made clicks for Toggle Mute, Show Slider and Open Mixer actions of the
81 'volume' plugin configurable. Defaults are the same: left-click shows
82 slider, middle-click toggles mute state.
83* Added support for 'PCM' and 'Headphone' channels for OSS mixer.
84* Added support for other (not default one) ALSA cards in 'volume' plugin
85 via 'CardNumber' setting.
86* Added hotkey support into 'volume' plugin to be able to use multimedia
87 keys for volume changing directly by plugin.
88* Fixed missing libkeybinder initialization (keybinding did not work).
89* Fixed check for attempt to add a binding for the same hotkey which is
90 already bound elsewhere.
91* Added a configuration dialog to the 'volume' plugin with all the new
92 settings available to choose and set, including preset of discovered
93 mixers, with ability to type own command as well.
94* Fixed crash on action on task window which was deleted while task menu
95 is still opened.
96* Fixed "dynamic" panel width allocation.
97* Fixed PanelIconGrid allocation in rigth-to-left languages, it was wrong
98 so some icons might be invisible or placed under other plugins.
99* Removed call to gtk_widget_set_style() from volume slider to fix colors
100 of current theme.
101* Changed icon size handling on task bar - it may now maintain the same
102 size as rest of icons. It may affect users who are used to have them
103 smaller, it's why this feature was made configurable, corresponding
104 config variable is UseSmallerIcons and default is 1 (old behavior).
105* Changed volume slider popup behavior - it now hides when loses focus.
106* Fixed invalid memory access in weather plugin.
107* Fixed incorrect reporting units on "Feel" value in weather plugin. YQL
108 always reports Fahrenheit degrees there.
109* Added a safeguard on menu cache returning items with empty Exec line.
110* Fixed maximizing windows using task bar, GDK functions not always work.
111* Fixed wrong bind of preferences dialog to the panel, which resulted in
112 other dialogs appear on the same workspace where preferences was.
113* Expanded launch buttons active area to launchbar borders so if clicked
114 even into desktop corner, it should activate button at that corner.
115* Fixed few memory leaks in 'batt' plugin.
116* Removed unwanted conversions with energy for charge in 'batt' plugin
117 which will mess up tooltip indications, and may make rate/percentage
118 calculations invalid.
119* Replaced Xclimsg() with Xclimsgx() to be screen aware with X11 message.
120* Added a workaround for WM like MWM which does not properly resize down
121 widgets of panel kind. It still leaves artefacts but is better now.
122* Added a workaround on GtkBox behavior which does not send allocation
123 requests to children in some cases, so resizing of launchtaskbar on
124 panel height change was broken.
125* Fixed PanelIconGrid layout on vertical panels with more than 1 column.
129* Fixed crash in taskbar plugin after number of desktops was updated.
130* Fixed incorrect panel geometry initialization.
131* Fixed crash with invalid size of icon in _NET_WM_ICON property.
41c9eeac 132* Fixed memory leak on 'indicator' plugin destruction.
133* Replaced old commands:
134 - Use notify send instead of xmessage
135 - Use nm-connection-editor instead of network-admin
139* Improved OSS headers detection a bit.
140* Fixed expand setting on plugins with default_expand when more than one
141 is available on the same panel.
142* Fixed icon for task button that retrieved using WM_HINTS.
143* Fixed wrong PanelIconGrid arrangement in vertical panel orientation.
144* Fixed missing handlers disconnect when destroying Task structure.
145* Removed writing debug messages to file when 'indicator' plugin is in
146 use - it will write all the debug there and that changes the behavior
147 which was not intended really.
148* Corrected background for 'indicator' plugin.
149* Fixed update 'indicator' plugin on configuration changes.
150* Fixed battery status: if discharge rate is 0 then it's charged.
151* Fixed incorrect cycle in netproc_devicelist_clear() leading to crash on
152 resume (after suspend).
153* Fixed scanning for temperature sensors which failed with some kernels.
154* Changed reconfiguring panel behavior: callbacks to plugins will be sent
155 on idle, not immediately to avoid "stuck" spin button (and eventually
156 even crash was possible).
157* Fixed initial icon on 'volumealsa' to show real state instead of muted.
158* Fixed 'dclock' updating that it will show time on start, not just on
159 next second change. It would create impression it's slow otherwise.
160* Fixed wrong task button activation on not processed drag of button.
164* Added workaround for crash in gtk-run with old libmenu-cache.
165* Core functions are separated into a private library to allow reliable
166 linking of modules using -Wl,-z,defs.
167* Added macro LXPANEL_CHECK_VERSION() for third party pluguns API check.
168* Added CONF_TYPE_EXTERNAL support for lxpanel_generic_config_dlg().
169* Implemented property "aspect-width" for PanelIconGrid to allow using
170 non-square tray sockets.
171* Added support for monitors "All" to span panel over all monitors (i.e.
172 to allow pre-0.6.0 behavior).
173* Implemented monitors hotplug support.
174* Fixed popups positioning in multi-monitor environment.
175* Fixed updating panel size if appropriate monitor changed its size or
176 position.
177* Implemented disabling for "Reserve space" button if another monitor
178 lies beyond the edge so reservation will cover it. Also reservation
179 will not be applied in such cases even if set in config manually.
180* Some edge and monitors selections in panel configuration dialog may be
181 insensitive now if appropriate edge and monitor combination is not
182 available, to avoid panels stacking one over another.
183* Fixed bug with hidden panel disappearing after resolution change.
184* Add lxpanel_image_new_for_icon() API to replace another (obsolete) API
185 _gtk_image_new_from_file_scaled().
186* Added API panel_config_hotkey_button_new() to use as CONF_TYPE_EXTERNAL
187 widget to allow configure global hotkeys for plugins functions.
188* Added API lxpanel_apply_hotkey() as a convenient libkeybinder interface
189 to use in modules that also use panel_config_hotkey_button_new(). Now
190 LXPanel requires libkeybinder too.
191* Added API panel_config_click_button_new() to configure mouse gestures
192 and panel_config_click_parse() to parse its output.
193* Added "icon-size-changed" signal to LXPanel which is emitted when icons
194 size in configuration dialog was changed.
195* Improved lxpanel_image_new_for_icon() API to follow panel icons size
196 changes, not only theme changes. This way calls on lxpanel_image_*
197 APIs on theme or panel changes may be eliminated, i.e. code becomes
198 simpler.
199* Added new lxpanel_image_change_icon() API for simplification reasons so
200 other lxpanel_image_* APIs can be replaced completely.
201* APIs lxpanel_button_set_icon() lxpanel_button_update_icon() now don't
202 require setting icon size since created button already follows size
203 from panel settings. Also it doesn't require refresh after the panel
204 configuration change.
205* Disabled scaling up small icons in the taskbar: scaled up icons look
206 bad due to pixelization (patch from Anton Lobashev).
207* When adding new panel, now correctly edges of monitor where popup was
208 are tried before any other monitors.
209* Correctly open 'netstat' plugin own menu on leftclick since rightclick
210 should open panel context menu instead.
211* System critical temperature level in 'thermal' plugin now is properly
212 ignored if manual levels are active.
213* Fixed click on 'menu' plugin, only image was clickable, not whole area.
214* Added API panel_config_int_button_new() for generic plugin config spin
215 button with custom range, not just generic 0...1000.
216* Fixed wrong behavior with PanelIconGrid constrained width after child
217 was removed: size wasn't always renegotiated correctly.
218* Fixed range of space reservation in multi-monitor setup (reservation
219 might cover another monitor).
220* Numeric-only string will be saved now double-quoted to distinguish it
221 from number in config.
222* Implemented flashing on task with urgency in grouped task list menu.
223* Disabled flashing on urgency hint if window has focus, most of window
224 managers do the same on window decorations.
225* Fixed border of 'batt' plugin, it should correctly use panel settings.
226 Also 'Size' setting of it doesn't include border width.
227* Allowed default alarmCommand on 'batt' plugin be translated.
228* Implemented sorting plugins in Add plugin window in alphabetic order.
229* Fixed font in the weather plugin to use panel settings.
230* Added new API lxpanel_button_compose() for future usage by plugins.
231* Added optional volumealsa plugin volume mapping from alsamixer (patch
232 from Peter).
233* Added new API lxpanel_button_set_label() to change label of button that
234 was created using some lxpanel_button_*() API.
235* Added "panel-font-changed" signal to LXPanel to be able follow settings
236 change in font configuration of panel using lxpanel_button_*() API.
237* Fixed nasty bug with autohidden panel after unhide appeared for short
238 time somewhere at the screen.
239* Fixed calendar and configuration windows blinking on their appearance.
240* Fixed panel update when background image changed in configuration.
241* Changed to use persistent background image for panel and Cairo. This
242 way updating background should be faster, and also fixed background
243 of plugins when image is used, both placement and alpha color.
244* Urgent window is now always visible on the taskbar irrelevant of the
245 desktop number on which it appears, because urgent window requires
246 user attention (patch from Andy Balaam).
247* Moved bit of code that is used out from src/bg.c and discarded src/bg.c
248 from code used.
249* Dropped setting members of Panel structure: workarea, wa_len, bg.
250* Replaced GtkComboBoxEntry in netstatus plugin window with GtkComboBox.
251* Simplified plugins background setting - they should never use any own
252 background but either use one from panel or from theme (depending on
253 panel configuration). This should improve performance.
254* Don't update a whole panel background anymore after some plugin was
255 resized, only update the plugin itself to improve performance.
259* Fixed unhiding panel if it becomes empty and height_when_hidden is 0.
260* Fixed invalid X protocol word size: despite of stating it 32 bit, the X
261 server uses unsigned long which is 64 bit on 64-bit architectures.
262* Adapted to use libmenu-cache >= 1.0.0 - it could show empty folders in
263 the desktop menu.
264* Fixed crash in taskbar after visible task changed name then gone.
265* Ensured panel background update after some plugin was resized.
266* FileManager statement from old config should never be scanned again.
267* Fixed positioning of new created panel, the edge was not saved.
268* Eliminated hardcoded "xterm" in 'volumealsa' plugin - LibFM has enough
269 means to call terminal when needed.
270* Fixed crash if 'volumealsa' plugin initialization failed.
274* Fixed search for the gtkrc file.
275* Fixed search path for configuration - it should be not compilation time
276 path but paths using $XDG_CONFIG_DIRS.
277* Fixed incorrect flag for 'launchbar' plugin which marks him expandable.
278* Fixed dragging of task buttons.
279* Corrected using $XDG_MENU_PREFIX to work the same way as libfm does.
280* Fixed using font description, font in gtkrc file was ignored.
281* Improved search for hw sensors in /sys/class/hwmon/ hierarchy.
282* Improved check for critical temperatures in 'termal' plugin, now each
283 individual hardware setting (if available) is also taken into
284 consideration.
285* Fixed parsing alias name in 'weather' plugin settings.
286* Got rid of all individual plugins/*/Makefile - those rules more easily
287 can be contained in the plugins/ Adding a simple plugin
288 basically would mean to add three lines into that file instead of
289 writing whole
290* Fixed invalid system config path search ("lxpanel" part was missing).
291* Fixed incorrect requirements in the lxpanel.pc file.
292* Fixed memory leak in the 'volumealsa' plugin.
293* Now 'volumealsa' checks for 'MixerCommand' setting in the configuration
294 before guessing it.
295* Fixed color saving in the configuration.
296* Fixed incomplete resources deallocation in 'volumealsa' plugin.
297* Fixed make uninstall (it left plugins installed).
298* Fixed monitor number set from GUI.
299* Fixed hang on netstatus icon in auto-hidden panel.
300* Fixed icon grid compilation with GTK+ < 2.20.
301* Fixed compilation without menu-cache.
302* Now man pages are included in the GIT and tarball, not just xml files.
303* Fixed incorrect printf arguments in 'netstatus' plugin.
307* New plugin 'launchtaskbar' with combined functionality from 'launchbar'
308 and 'taskbar'. For easy support codebase is merged instead of doing
309 duplicates but appearance is still the same in dependency from mode
310 chosen.
311* Integrated with LibFM, all launching and application selection in the
312 launchbar settings is done by LibFM now.
313* New simpler plugins API implementation, using LibFM plugins loader. In
314 new API some callbacks were simplified and some removed, see all the
315 detailed descriptions in the file plugin.h.
316* New plugins are GtkWidgets now, therefore there is no explicit destroy
317 for them or their data, all will be handled implicitly.
318* Changed config access with simple API similar to libconfig one.
319* Using icon caching from LibFM.
320* Applications properties in the menu are managed by LibFM API, no more
321 calls to lxshortcut application.
322* Setting for file manager is not handled on its own but XDG setting is
323 used now, i.e. default choice for "inode/directory" MIME type.
324* Setting for terminal is handled by LibFM, therefore it is the same as
325 in PCManFM now, no own setting anymore.
326* Replaced configure option --enable-cast-checks with --enable-debug.
327* Replaced 'pager' plugin with former 'wnckpager' one. The 'wnckpager'
328 name is still supported for compatibility but it is the same plugin.
329* Added new plugin 'weather', written by Piotr Sipika.
330* Using drag & drop handling from LibFM in launchbar. It is possible now
331 to use any kind of files as launchbuttons, and folders can receive
332 drops as well.
333* Allowed drag applications from system menu plugin so they now can be
334 dropped somewhere. The obvious example is drop on the desktop.
335* Using human readable sensor names if available (like 'Core 0', etc.).
336* Panel is allowed to hide completely (setting width when hidden to 0).
337* The IconGrid converted into GtkContainer derived class PanelIconGrid.
338* Allowed to use <USER_CONFIG_DIR>/lxpanel/<profile>/gtkrc for the panel
339 custom style setup.
340* The panel itself in not a struct now but a GtkWindow derived class so
341 no special API to destroy it is required.
342* Improved the layout of icons in panel, they will not align to the edge
343 of screen but appropriately to panel height. Some of them did that
344 already but some were aligned to the screen edge without any gap.
345* The button to configure plugin in panel plugins configuration tab is
346 renamed from 'Edit' to 'Properties'.
347* All logging is unified. The option --log is deprecated and isn't used
348 anymore. User can change logs appearance using G_MESSAGES_DEBUG and
349 G_MESSAGES_PREFIXED environment variables (see GLib docs).
350* Old APIs are in place still for backward compatibility with third party
351 plugins but will be dropped later, supposedly on next feature release
352 point. Old APIs are not present in public headers, compatibility is
353 on binary level only.
354* A whole lot of bugfixes.
3801. Add manapages of lxpanelctl.
3812. Supported HWAddr status in netstat plugin.
3851. Add manpages.
3862. reduce memory usage and delete unused functions in netstat plugin.
3901. Fixed compile errors in configure and
3912. Deleted unused files.
3923. Add a new network status plugin - netstat (testing).
3934. Fixed incorrect path of icons.
3945. Changed icon size to reduce memory usage.
3956. Add LXDE-specific configuration profile for LXPanel.
3967. Use "*.directory" file for the translation of categories if available.
397 #1875624 - LXPanel does not correctly show xdg menus.
3988. Fixed tintcolor bug (Request ID 1900678).