File: ChangeLog

package info (click to toggle)
xsnow 1:3.1.1-1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 2,524 kB
  • sloc: ansic: 9,248; xml: 5,034; sh: 1,659; cpp: 118; pascal: 105; makefile: 70
file content (426 lines) | stat: -rw-r--r-- 16,447 bytes parent folder | download
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
version 3.1.0
	1:change version number
	  some trivia in transparent.c
	2:take care that only generated flakes are used when snow->defaults
	3:snow flakes size adjustable
	4:limit snowsize
	  start snowflake always above window
	  all generated snow xpm's: width multiple of 8
	  also all off the vintage xpm's in Pixmaps
	  change defaults for max number of flakes and blow-off to more humane
	      numbers
	5:use effective width for flakes (weff in snow.c)
	  small changes in GenerateFlakesFromFallen()
	  it appears that the height of an xpm should be >=2 to prevent
	    terrible degradation of performance. snow.c: genxpmflake()
	6:snow.h, snow.c: remove w and h from type Snow, these were redundant
	7:changed some defaults and ranges
	8:snow.c: reduce extra_flakes to 300. I have the impression that this
	     is beneficial for cramped systems
	  correct bug: blowoff.c: do not generate blow-off snow if Flags.NoSnowFlakes
	9:utils.c: wrapper for cairo_paint_with_alpha(). If alpha > 0.9, use
	     cairo_paint(). Seems to have some performance gain (less stress
	     on Xorg), but I am not sure.
	  main.c: hide gtk_widget TransB when not used.
	          gray out transparency when running in fvwm-like environment
	  added test2.sh for 'make check' and 'autopkgtest'
	  GetCurrentWorkspace now always returns 0 if there are problems 
	10:added tests using simulated mouse clicks, test2.sh and test3.sh
	   xsnow reports now which Santa is chosen, needed for 
	     'make check' and autopkgtest
	   in Pixmaps: changed snowtree.xpm, eland.xpm, polarbear.xpm,
	      huis4.xpm, AltSanta*.xpm to use one char to encode color
	      using 'convert in.xpm -colors nn out.xpm'
	11:removed references to test2.sh and test3.sh
	   add flag '-noisy'
	   corrected non fatal bugs in xpmtobits
	   implemented 'birds follow Santa'
	12:main.c: do_display_dimensions(): restart stars etc. not in the
	   first call
	   add scale button for 'Lift snow windows' == OffsetY
	13:corrected handling of fluff in snow.c
	   corrected: if !ShowBirds, Santa should be shown (main.c)
	14:some fine tuning snow on trees
	15:trivia in snow.h
	16:fixed serious bug in snow.c which caused freezing
	   snow flakes when changing size of flakes
version 3.0.10
	1:Better icons
	2:better flakes
	3:more flakes, auto generate snow includes and macro's for pixmaps.c
	4:more flakes
	5:more flakes
	  birds.c: made attraction point transparent again
	  ui.xml: remove seperators from snow tab
	7:get rid of snow??.xbm. Conversion from xpm is done with xpmtoxbm().
	  rename snow*.xpm to flake*.xpm
	8:next to the 7 archaic flakes, generate random flakes
	  changed the addcopyright.sh script to only trigger on
	  the first -copyright- line
	9:some code clean up
version 3.0.9
	1:Windows.c: remove useless call to DisplayDimensions from do_wupdate()
	2:fallensnow.c xsnow.h: shorter time between updates fallensnow
	  better simulation of plowing
	  3:snow.c: InitFlake takes now care of inserting flake in set
	    of flakes
version 3.0.8
	1:check op _NET_WIM_WINDOW_TYPE_DOCK: do not fall snow on
	  such a window
	2:changed 0 -> NULL where appropriate
	  insert __attribute__ ((unused)) via macro UNUSED where appropriate
	3:create GetProperty32() in wmctrl.c
	4:fallenshow.h: moved window-specific items in FallenSnow to
	  FallenSnow.win
	6:stratify windows.c
	  transparent.c: make also click-through in draw callback
	8:ask for confirmation before permanently de-activating 
	  'Below windows'.
	  Remove 'BelowAll' from .xsnowrc.
	9:also in Cairo fluff
	12:better display of blown snow
	13:change code for going in and out full screen mode
	   default is now full screen
	   transparent.c: draw1(): remember two previous widgets in stead of
	   one.
	   removed full-screen button, see comment at Flags.FullScreen
	   in main.c
	14:Solution for refusing to go below windows: first
	   ask the opposite.
	15:Use absolute x,y coordinates for determining snow window placement
	   and dimensions.
	   Created a call back to check coordinates and dimensions of
	   snowwindow once per second.
	16:Changed css color for troughs.
	   No flakes: no fallensnow, no fluff, no blowoff, no treesnow.
	   Flakes blown off trees&window&bottom: smallest type of snow.
	   Flakes from disappearing fallensnow: all types.
	   Somewhat more randominess in generateflakesfromfallensnow
	   in the x-value of the flakes. Better ploughing!
	 17:yellow confirm button.
	    Bigger logo santa.xpm
	    Stratified MakeFlake-InitFlake combo.
	    Corrected two typos in flags.c
	 18:take care that trees are not placed partially right from screen
	    removed -noquiet flag
version 3.0.7
	1:adapt hovertext for 'Below windows' button.
	some code-cleanup
version 3.0.6
	1:Correct some typo's
	Removed memory-leak in birds.c: birds_draw
	birds.c: birds_draw: Correct position of birds by their width and height
	2:Paint with transparency if ~Flags.BelowAll
	3:No need for restart after changing below/above
	4:introduction of transparency used by painting
	fixed bug concerning removing trees
	5:scenery.c: change definition of Tree to **Treeinfo and changed a few 
	  lines accordingly
	RedrawTrees now clears fallensnow on scenery
	Change factor -> cpufactor
	fallensnow.c: HandleFallenSnow: do not collect snow on bottom when Flags.NoKeepSBot
	6:Changed actions at interrupt.
	Removed unused CleanGC
	transparent.c: simplified applying skip-taskbar-hint
	               added skip-pager-hint
version 3.0.5
	New major release
	transparent.c: Prevent icons for transparent windows showing up in taskbar
	windows.c: no update of windows if not snowing on a desktop
	DetermineWindow (windows.c): make sure IsDesktop is initialized
	SigHandler (main.c): Nicer exit after interrupt.
	Use execvp instead of execve restarting xsnow.
	Stratified some code starting from main.c: drawit
	wmctrl.c: also sticky=1 if (int)ws == -1
	Adapt for uploading to debian
version 3.0.4.30
	Some trivial changes to settings tab.
	Better handling of clicking BGColor button.
	Removed root window choice.
	Birds: set meanspeed before creation, not after.
version 3.0.4.29
	Gray out all birds buttons when appropriate
version 3.0.4.28
	In settings: gray out and make inactive not usable buttons
version 3.0.4.27
	better logic to determine what kind of windows are used
	simplified ui settings window
version 3.0.4.21
	transparent.c: remove sticky hint for gdkwindow: this is ierreversible
	made do_wupdate conform. Created windows.c. This is a mess, have to
	look into it.
version 3.0.4.20
	ui: colors, and slight layout improvements
	corrected error after going to full screen of behind windows
	removed setting of kde background (kdesetbg)
version 3.0.4.19
	re-instated the stopafter functionality
	ui: set colors
version 3.0.4.18
	added a warning for a too high system load
version 3.0.4.17
	convert snow_on_tree done, together with some other minor adjustments
version 3.0.4.16
	produce output with -h, -help, -H, -manpage, -v, -version without
	    calling gtk_init()
	made parsing of flags conformant with the docs: added -v
	place test for wayland before gtk_init()
	do not draw fallensnow when window is hidden (iconized)
version 3.0.4.15
	blowoff in standard
	made timeout callbacks conform doc
version 3.0.4.14
	fallensnow in standard
version 3.0.4.13
	place gtk_init before handling the flags
	changed code for 'on all workspaces' (settings)
	do not collect snow if y <= 0
	implemented part of standard form for fallensnow
	  todo: snow disappears now from windows that show on all workspaces
version 3.0.4.12
	draw stars using surfaces
version 3.0.4.11
	added stdlkib.h where desirable
version 3.0.4.10
	stars done
version 3.0.4.09
	some minor things in snow.c
version 3.0.4.08
	wind done
version 3.0.4.07
	meteorite done
version 3.0.4.06
	snow in standard form for the major part
version 3.0.4.05
	start with snow in standard form.
	hashtable.{cpp,h}: added set functions
	turned macro's delflake and makeflake into functions
	stratified declarations of xpm's (pixmap.(c,h}
	added snow xpm's (it seems there is no standard function to convert
	   bitmap to GdkPixbuf)
	implemented canonical update of sreen, using gtk_widget_queue_draw()
version 3.0.4.03/4
	put birds in 'standard form'
version 3.0.4.02
	gtk-scenery working
	use timeout time at computing birds position (contrary to 3.0.3)
version 3.0.4.01
	Santa.c: handle usage of user-defined Santa
	if Flags.NoMenu: do not write to ui labels or make ui sticky/unsticky
	Made start with gtk-ing scenery.
version 3.0.3.01
	All santa stuff moved from main.c to Santa.c
	Added utils.c utils.h
version 3.0.3-gtk-0.1
	Santa runs in gtk
version 3.0.3
	birds.c: use actual time to compute bird positions instead of callback
	time
	birds.c: make speed adjustment of birds dependent on time elapsed
	previous line: not a good idea, removed corresponding code
	birds.c: more dramatic (re)start

version 3.0.2
	If birds not on active workspace, do not updte and paint them
	Add 'extern' to all function prototypes for consistency.
	Diversify debian/copyright

version 3.0.1
	make ui stickiness same as snow and birds windows
	resolve some debian copyright issues in debian/copyright

version 3.0.0
	use wallcl()*1.0e6 to initialize drand48, not wallclock()
	mv ui.glade ui.xml
	add css to minimize ui.
	add birds page, not functioning yet.
	make xsnow compilable with g++
	adding birds ....

version 2.0.22
	xsnow.desktop: in xfce icon does not show in
	  panel: change 'xsnow.xpm' into 'xsnow'
	do not show flake count when option -nomenu is given
	fixed bug: when no desktop session can be determined
	  from environment: make it 'unknown_desktop_session'
	   - Thanks to Xose Vazquez Perez
version 2.0.21
	attempt better layout of settings screen
	Somewhat better layout for all menus
	Rudolf -> Rudolph in displayable strings
	Show number of flakes in 'snow' tab
	Added some id's in ui.glade
version 2.0.20
	replace timing loop with g_timeout_add()
	add polarbear
	use g_get_monotonic_time() for wallclock
	give every snowflake its own g_timeout_add()
	give Santa highest priority (not that it matters much, it seems)
	Change fuse algorithm: now Updatesnowflake kills flake when number
	  of flakes is above threshold
	Initsnowflake: start y above above window
	updatesnowflake: do not force y >=0
	add button for flake-count-max
	put refresh of trees in g_timeout_add()
	idem for stars
	Smooyth vertical movements of Santa
	remove nosnowarea's. Replace nosnowarea_static by TreeRegion
	reinstate nosnowarea_dynamic
	fix issue with erasing flakes that are in a tree
	if FlakeCount > max, high probabilty to remove blown-off flakes
	all scales show now numerical value
	removed -showstats option
version 2.0.19
	debian/tests/control: removed test2.sh
version 2.0.18
	main.c: test if WAYLAND_DISPLAY is set before setting GDK_BACKEND
	main.c: restart after changing display settings 
	main.c: no Thanks after man page or help
	docs.c: minor adjustments
	debug.h: added
	main.c, flags.c: do not assume getenv("HOME") works as expected.
version 2.0.17
	main.c: The output of PrintVersion() appeared in the top of the man page.
	   Corrected this.
	main.c: CleanFallenArea() marked the fallensnow region always as clean,
	   but this must be done only when whole x-range is cleared.
version 2.0.16
	dsimple.c: int screen = 0; -> static int screen = 0;
	   and move to the top of the file. Ticket 1: gcc-10 related
	transparent.c:
	  keep xsnow visible after 'show desktop', and show xsnow on all 
	  desktops
	wmctrl.c: special care for compiz
version 2.0.15
	ui.glade: added 'Donate' button
version 2.0.14
	src/Makefile.am: use exec_prefix in stead of prefix for gamesdir
	transparent.c: simplify creation of transparent window
	main.c: removed use of SigHupHandler 
	docs.c: corrected misspelled default values
	test1.sh: check 'xsnow -h' if default values are subtituted
	main.c, ui.glade: better algorithm to determine number of flakes
	    to generate
version 2.0.13
	main.c: do_genflakes(): take into account that do_genflakes()
	   can be disabled by SnowRunning
	flags.c: add forgotten -alpha flag
version 2.0.12
	pixmaps.c: corrected width and height for snow.
	main.c: simplified create rectangular region
	debian/copyright: corrected
	main.c: remove flakes that fall below bottom of screen, also if
	   no fallensnow on bottom
	main.c: corrected bug which coaused no snow at all with -nomenu
	Lower default snowspeed (SNOWSPEED in xsnow.h)
	update snowflakes in chunks, so that other animations run at
	   desired speed.
	remove option -kde: settings are the same as for -gnome
	do not add or delete flakes when updating snowflakes
	   is running (test on SnowRunning)
	for updatesanta, gensnowflakes, snowflakes: after a suspend
	   or sleep the elapsed time can have a strange
	   value. Take care of that.

version 2.0.10
	prepare for running in wayland by setting environment
	  variable GDK_BACKEND=x11 (main.c)
	fix some typo's in docs.c

version 2.0.9
	some debian adjustments
	fix xfce problems: the workspace of the transparent
	  snow window is not available in xfce
	  some windows have both the _NET_FRAME_EXTENTS and
	  _GTK_FRAME_EXTENTS. Priority is given to the latter.
	Snowflakes that touch fallen snow are not erased any more:
	  erasure caused bad looking effects.
	Removed 'showstats' from config
version 2.0.8
	some more debian stuff
	add support for xfce desktop
version 2.0.7
	added some debian stuff
version 2.05
	Fixed issues when trees are not shown: snow was still
	collecting on trees, snow was not visible after not-shown
	tree. 

version 2.04
	Fixed bug in main.c: check for valid return value of 
	FindWindow() in do_wupdate().

Version 2.03
	Fixed bug in main.c: only set transworkspace if usingtrans.

Version 2.02
	Snowing halted when a workspade before the snow workspace was
	removed. Fixed by checking the workspace of SnowWin in do_wupdate().

Solved in 2.01
	tree-xpm's are mirrored randomly
	flag -treeregion implemented
	fluff on bottom in snow window when nokeepsnowonscreen
	parametrize MAXONTREES
	implement vintage
	in fvwm: after minimize window, no snow is shown on the
	  window when it is restored. 
	Handle window that is visible on all workspaces
	implement no snow when window disappears
	implement nowplow
	Try to snow on trees
	plowing should be partial: only take snow away where Santa was: Won't
	fix
	stars are competing with fallen snow: let snow win: Won't fix
	Create precise region from bitmap vintage tree
	Implement nokeepsnowonwindows etc
	when wind: make generated flakes at bottom cyclic
	Solved strange behaviour with system monitor window
	  and others: gedit, nautilus etc. on gnome desktop
	  no problem on fvwm desktop
	find automatically desired offsets
	  determine size of decoration from a partial screendump ?
	  use xwininfo to point to a gauge window ?
	no rounding of edges of fallen snow at the bottom
	automatically determine tree regions
	create 'fuse': remove nearly all flakes when number is really too high
	for testing purposes: color a region see do_testing()
	read tree.xpm from ~/xsnow/pixmaps/tree.xpm if present
	let Santa plough through fallensnow: do not redraw fallen snow
	   if overlap with Santa
	faster update of fallen snow after move of window
	animation of blown fallen  snow
	extra snow not cyclic
	get rid of flake.x and y, use only rx and ry
	animation of snow fallen from disappeared windows
	gracefully exit when window where is snowing in, disappears
	let trees not overlap
	fallensnow surfaces often too jerky
	round snow at the edges
	animation of do_clean
	let Santa be affected by strong wind
	replace old wind by storm now and then
	offsets for windows & bottom
	wind is changing continuously
	cyclic disappear, appear of flakes
	Solve floating point exception when starting in too small
	  window (oclock) (div by 0 in RandInt)
	move to other workspace of a window: bad behaviour:
	  snow stays on original workspace, window does no
	  receive snow any more: see put correct workspace in fallensnow areas
	  in xsnow.c
	snow on windows: implemented
	ctrl-c sometimes causes: cannot parse output of wmctrl: solved by
	  letting wmctrl return -1 in case of problems

2019-01
	A few minor changes after 1.42:
	changed timing loop
	find Desktop in Gnome and KDE
	can run in user-pointed window (-xwininfo)
	added another kind of tree
	added starts
	added meteorite
	changed algorithm for fallen snow
	nosnowarea's
	and some more ...