Commit graph

1038 commits

Author SHA1 Message Date
Frederic Crozat
ff959dbd2f [script] add support for message in script 2009-08-19 15:56:15 +02:00
Frederic Crozat
fc2cbc497a [script] Display password dialog even if called twice 2009-08-18 19:19:13 +02:00
Charlie Brej
a4836e83fe [image] Scale images not using data beyond the edge of the last pixel
When using 1 pixel wide images and stretching them, the result is a fade
between the pixel data and the transparent pixels beyond the end of the image.
2009-08-18 16:39:50 +01:00
Ray Strode
72b13eb70d [window] Reopen tty if disconnected
Some init implementations forcefully take over the tty after rc.sysinit
with the TIOCSCTTY ioctl, forcing plymouth's connection to the tty
to get dropped.  This comment just reopens the tty if it gets taken
over.

It may make sense at some point to use /dev/input for catching input
events instead of the tty, to side step these kinds of problems.
2009-08-14 08:44:47 -04:00
Charlie Brej
25f5ddeb05 [image] Supply correct width and height limits to interpolate
The supplied width and height were for the new rather than the old image so
some reads would access pixels beyond the edge of the image.
2009-08-11 16:47:37 +01:00
Frederic Crozat
52f9e0eae9 [daemon] fix fd leak 2009-08-11 17:25:41 +02:00
Frederic Crozat
ca3b1505ec [client] Fix memleak at exit 2009-08-11 17:25:41 +02:00
Frederic Crozat
093966a300 [client] Fix memleak in command argument 2009-08-11 17:25:41 +02:00
Frederic Crozat
ad52a2f7aa [libply] Fix memleak in command parser 2009-08-11 17:25:41 +02:00
Frederic Crozat
579419b01e [libply] Fix message list memleaks 2009-08-11 17:25:41 +02:00
Frederic Crozat
e1541d73d2 [throbgress] Fix memleak 2009-08-11 17:25:41 +02:00
Frederic Crozat
5f6e7332c5 [space-flares] Fix memleak 2009-08-11 17:25:41 +02:00
Frederic Crozat
a1d66397af [daemon] fix memleak in argument parsing 2009-08-11 17:25:41 +02:00
Frederic Crozat
bac4c66aa3 [libplybootsplash] fix memleak 2009-08-11 17:25:41 +02:00
Frederic Crozat
279e709d91 allow to change system release filename with configure option 2009-08-11 17:25:41 +02:00
Charlie Brej
1dec20fab9 [image] Add interpolation to image rotation and resize
This gives a smoother edges for rotated objects and less blocky results on
resizes.
2009-08-11 15:56:40 +01:00
Charlie Brej
00f250914b [boot-splash] Allocate new string when concatenating
Mallocs when concatenating command line arguments to a string.
Used in the testing code.
2009-08-11 15:37:47 +01:00
Ray Strode
407059671a [main] Log debug messages more aggressively
Previously, we'd only log messages to a file if plymouth
crashed and it was started with --debug.  Now we log
messages to a file if it's started with --debug, or run with
plymouth:debug or plymouth:debug=file:/var/log/plymouth/foo.log
2009-08-10 14:24:31 -04:00
Ray Strode
b003b2cf8d [buffer] Increase the upper limit on buffer sizes
This should really be configurable per buffer, I think,
but for now set the upper limit to much higher than it is now.
2009-08-10 14:02:05 -04:00
Ray Strode
106ee5505d [window] Handle disconnected tty fd better
Right now if we ever get a hangup from the mainloop
on the tty fd then the window's fd watch on the tty
becomes invalid and we will ultimately crash when
trying to disconnect the watch later.

This commit sets the watch to NULL if a hang up happens,
and adds some debug spew.
2009-08-10 13:47:41 -04:00
Ray Strode
82c9f34450 [pkgconfig] Fix up include paths 2009-08-07 16:34:15 -04:00
Ray Strode
977eac590a [configure] Add AS_AC_EXPAND for configured dirs
We want the .pc file to have the full expanded paths,
so it doesn't end up with unexpanded datarootdir, etc.

To achieve this we copy in the AS_AC_EXPAND macro
that thomasvs did a while ago.
2009-08-07 16:32:32 -04:00
Ray Strode
3896ebdcc7 [pkgconfig] Fix up pkgconfig variables
They were wrong before
2009-08-07 16:32:10 -04:00
Ray Strode
712b2eefe6 [configure] Specify plugin path in one place
Currently it's hardcoded all over the place in various Makefiles.

This commit consolidates its definition to configure.ac
2009-08-07 16:31:58 -04:00
Ray Strode
28a273306e [client] add --get-splash-plugin-path argument
It can be useful to know where the splash plugins are
on multilib systems.
2009-08-07 16:07:14 -04:00
Ray Strode
73bf320c55 [main] Allow splash to be specified from grub
We now check the splash from the kernel command line.
This allows initrds to ship a few splashes at once and
make it changeable at boot time.
2009-08-07 15:09:18 -04:00
Ray Strode
6468f43ef8 [configure] Add goo to turn on silent build
Automake 1.11 has a new feature that's all the rage these days.

It makes build output look like:

CC     plymouthd-ply-boot-server.o
CC     plymouthd-ply-boot-splash.o
CC     plymouthd-main.o
CCLD   plymouthd

instead of the usual field gcc gunk.

This commit turns it on for those who have it.
2009-08-06 21:21:43 -04:00
Ray Strode
626e75e140 [event-loop] Add some debug messages to event loop
It may help track down a crasher bug Fredric Crozat is
seeing.
2009-08-06 14:42:56 -04:00
Ray Strode
9630c8b1e5 [two-step] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
2009-08-06 09:47:46 -04:00
Ray Strode
6cfee930e3 [throbgress] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
2009-08-06 09:10:03 -04:00
Ray Strode
f581814099 [space-flares] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
2009-08-06 09:07:24 -04:00
Ray Strode
e6c57c98c2 [script] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
2009-08-06 09:05:42 -04:00
Ray Strode
c4dce3a16d [fade-throbber] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
2009-08-06 09:04:23 -04:00
Ray Strode
66364c712d [details] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
2009-08-06 09:02:30 -04:00
Ray Strode
f81632299e [text] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
2009-08-06 08:59:54 -04:00
Ray Strode
9443dd0d4c [text] Mark internal functions static 2009-08-06 08:44:49 -04:00
Ray Strode
f4d5be76ae [text] Drop unused functions 2009-08-06 08:43:09 -04:00
Ray Strode
a86405b795 [details] Drop unused function 2009-08-05 23:10:24 -04:00
Ray Strode
0b67fbbdce [script] do abs(x) > epsilon instead of x != 0
Fixes a compiler warning.
2009-08-05 23:09:02 -04:00
Ray Strode
10b68cecef [space-flares] Add casts to silence warnings 2009-08-05 23:02:47 -04:00
Ray Strode
6ee5d8f881 [details] Add cast to silence warning 2009-08-05 23:00:18 -04:00
Ray Strode
7462f8142d [text] Drop unused variable 2009-08-05 22:59:42 -04:00
Ray Strode
3951104e21 [fade-throbber] Fix signedness problem 2009-08-05 22:58:51 -04:00
Ray Strode
82db416f40 [window] Fix constness bug in test 2009-08-05 22:56:12 -04:00
Ray Strode
78bacad196 [log-viewer] Drop unused variable 2009-08-05 22:55:07 -04:00
Ray Strode
cfcf95e994 [client] Drop unused variable 2009-08-05 22:53:46 -04:00
Ray Strode
509254ec7d [main] drop unused function 2009-08-05 22:52:39 -04:00
Ray Strode
230a37e550 [main] Fix redirect_standard_io_to_device arg constness 2009-08-05 22:50:17 -04:00
Ray Strode
1d8ec8f0f2 [window] Fix signedness confusion 2009-08-05 22:49:12 -04:00
Ray Strode
246c52d341 [utils] Make utf-8 functions take const char *
They were taking char * before which is wrong
since they don't take ownership of the passed in
bytes, only look at them.
2009-08-05 22:45:24 -04:00