~helene-verhaeghe27/cairo-dock-core/bugfix

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
====================================================
                    NEW RELEASE
====================================================

For each new version:
	* Bump dock's version (CMakeLists.txt - Core & Plug-ins)
	* Check the link to third-party applets' website:
		- src/cairo-dock-gui-commons.c:136:#define DISTANT_DIR "3.3.0"
		- ../cairo-dock-plug-ins/Dbus/src/applet-dbus.c:55:#define DISTANT_DIR "3.3.0"
	* Check the link to theme dir on the server:
		- CMakeList.txt:134: set (CAIRO_DOCK_DISTANT_THEMES_DIR "themes3.1")
	* Remove useless g_print
	* Check the ChangeLog file
	* Update doc on doc.glx-dock.org
	* Update translations: cd po/misc && ./update-translations.sh -cpt
	* Update desktop-files: cd po/misc && ./update-desktop-files.sh


====================================================
                 BEFORE THE RELEASE
====================================================

3.0:
  ** Must-Be-Done **
	- crash: Unity-4 -> DustSand -> Clear -> Humanity -> Unity-4
	- cairo-dock-gui-themes.c:111 -> cairo-dock-gui-manager.c:414
	- cairo-dock-applications-manager.c:1663 -> cairo-dock-class-manager.c:66
	- indicators on different icon sizes
	- slide view view: separator & scrollbar in vertical mode, last line out of the dock in horizontal mode
	- cairo_dock_get_pixbuf_from_pixmap: assertion `pIconPixbuf != NULL' failed
	- drop/hover indicators on different icon sizes
	- cairo_dock_get_max_scale & fMagnitudeMax must die
	- check Notification Area, there might be a bug (bitecoin, litecoin, skype)
	- make some tests with the Dbus API and sub-docks / tmp launcher
	- PM: crash when no battery is plugged ?
  ** That-Would-Be-Nice **
	- add a parameter for sub-dock icon size?
	- redirection texture: make it per-container, or use the container gl buffer instead
	- Slide view: allow to use the same borders as default (radius, color, width)
	- Dialogs: allow to use the same borders as default (radius, color)
	- let the view place the X thumbnail
	- get rid of CAIRO_DOCK_IS_DOCK
	- Icon bg: add ratio
	- Default theme more consistent
	- Recent Events: handle recent apps
	- Firefox launcher: handle recent URLs
	- check for config panel (g_object_unref assertion)
	- review Help hints
	- find Kwin/XFCE versions of gnome-control-center and KWin config tool for Composite-manager
	- draw a preview of the dock in opengl
	- display Help GUI in simple mode
	- kde integration ++
	- stack: enable iSubdockViewType
	- link launchers with class+command

3.1:
	- an appli icon loaded before being inserted in a dock !
	- add "add an applet" in the menu
	- Dbus: third-party applets: allow to load applets from a local archive (when dropped between 2 icons).
	- when an icon in a sub-dock demands attention, also animate the icon in the main dock.
	- search in Recent-Events' dialog (seems like libzeitgeist is buggy)
	- taskbar: separator as an option -> test
	- taskbar, minimized windows only: when restored, an appli icon gets the "?" for a second before disappearing
	- Twitter: when a new entry apears in the timeline, have to click on the applet to stop the animation (doesn't stop from the menu).
	- image buffer: draw the surface from the center, like the texture.
	- Icons: use an image buffer + a request size.
	- add a function cairo_dock_render_one_icon_in_desklet_opengl().
	- gauge with images: improve transition
	- GUI: current items: don't allow the "delete" menu on the main dock
	- old systray seems broken once again :-/

all:
	- Remove GCC warnings
	- (try to only use temporally g_print functions ;) )
	- Complete the ChangeLog file

	static int r=0;
	if (!r)
	{
		Screen *scr = XDefaultScreenOfDisplay (s_XDisplay);
		Visual *visual = DefaultVisualOfScreen (scr);
		cairo_surface_t * s = cairo_xlib_surface_create (s_XDisplay,
                                                         cairo_dock_get_root_id(),
                                                         visual,
                                                         g_desktopGeometry.iXScreenWidth[CAIRO_DOCK_HORIZONTAL], g_desktopGeometry.iXScreenHeight[CAIRO_DOCK_HORIZONTAL]);
		if (s)
		{
			cairo_surface_write_to_png (s, "/tmp/screenshot.png");
			cairo_surface_destroy (s);
		}
		r=1;
	}