Commit graph

1062 commits

Author SHA1 Message Date
Frederic Crozat
267008cd21 [daemon] splash=verbose is equivalent to no splash (splashy compatibility) 2009-09-01 19:01:28 +02:00
Charlie Brej
4539abfba2 [script] Generate error messages on erroneous operations 2009-08-31 01:17:56 +01:00
Charlie Brej
e84fc98325 [script] Add a expressions and operators to the debug hashtables 2009-08-31 00:24:08 +01:00
Charlie Brej
88064f16bf [script] Add debug information to parsed operations 2009-08-30 23:41:15 +01:00
Charlie Brej
755dabe67c [script] Pass the debug position when creating all expression elements
Will be used later to form a debug table
2009-08-30 22:14:59 +01:00
Charlie Brej
b5b0ace532 [script] Keep the filename while scanning for parsing error messages 2009-08-30 20:53:13 +01:00
Charlie Brej
6be18908b2 [script] Adds debug support source files 2009-08-30 19:07:51 +01:00
Charlie Brej
0b4bb63bae [script] Move op generation to constructor functions
moves all construction of OPs to one place to allow adding debug info.
2009-08-30 18:19:08 +01:00
Ray Strode
803204e6cb [scripts] add plymouth-generate-initrd script
One useful way to use plymouth is by installing it into
an auxillary initrd image, that overlays the primary one.

This allows plymouth and its current theme to get updated
indepedently of the kernel and the rest of the initrd
stuff.

plymouth-generate-initrd creates an initrd named:

     initrd-plymouth.img

in /boot that is suitable for use a second initrd on
the initrd line in grub.conf.
2009-08-28 20:04:17 -04:00
Charlie Brej
92d75daf5a [script] Move expression generation to constructor functions
This is in preparation for debugging support
2009-08-28 16:38:08 +01:00
Charlie Brej
bafe3437ea [main] Allow debug output file to be set on the command line 2009-08-27 16:57:12 +01:00
Charlie Brej
7700889c69 [script] Remove a line used for debugging 2009-08-27 16:30:14 +01:00
Charlie Brej
f86e899810 [script] Add support for Infinity and NaN
The rules are inhertited from C (NaN != NaN etc).
2009-08-27 15:33:16 +01:00
Charlie Brej
fec26df01c [script] Remove integer objects and rename floats "numbers"
Integers were upgraded to floats during many operations and there was no real
advantage to keep them.
2009-08-26 18:07:48 +01:00
Ray Strode
d633072a71 [populate-initrd] Get plugin path from plymouth
Previously, we'd try to guess the plugin path based
on the arch of the running process.  That's sort of
fragile, so better to just install plugins where
plymouth says it's going to look for them.
2009-08-25 14:53:31 -04:00
Ray Strode
d2a3fbe75f [configure] Bump to 0.7.1 2009-08-25 13:30:44 -04:00
Ray Strode
25bac96695 [glow] Soften corners of entry box
They (somewhat) have the illusion of roundness now.
2009-08-25 13:15:17 -04:00
Ray Strode
3aca57aa35 [glow] Update bullet to be more like GTK+ default
It makes things look more consistent.
2009-08-25 13:15:08 -04:00
Frederic Crozat
9da0276853 [script] use dialog instead of dialogue 2009-08-25 15:59:30 +02:00
Ray Strode
16f326ccc8 [utils] Force modules to stay resident after close
Some modules (the label plugin in particular) use
libraries with static data that don't do well with
being unmapped and remapped later.

This commit changes the module loading call so that
plugins aren't unmapped at close time (the close
is effectively ignored).  This simplifies things
for now.

At some point we may want to make it decidable on
a per plugin basis.
2009-08-25 07:43:09 -04:00
Ray Strode
24f86e7a50 [script] Force graphics mode before each frame
It's what all the other boot splash plugins do.  This
is important because things occasionally muck with the
terminal during boot up (knocking it out of raw mode, etc),
and resetting the window graphics mode resets the terminal
settings as well.

Future, potentially better alternatives to this could be:

1) TIOCSLCKTRMIOS to lock the terminal settings
2) Using /dev/input instead of the tty for keyboard input
2009-08-24 21:25:52 -04:00
Ray Strode
51f613548c [main] Don't try to write debug buffer if open fails
Before we would try to use the fd causing assertion failures.
2009-08-24 13:48:01 -04:00
Ray Strode
77fe2c0e11 [main] initialize debug_buffer_path when --debug but no plymouth:debug
Before it wasn't ever getting set, causing crashes with --debug
in some cases.
2009-08-24 13:46:12 -04:00
Ray Strode
d75e8cf26e [animation] don't go into loop with 0 frame animations
The animation class doesn't handle its frames missing
too well right now.  In fact, it goes into an infinite
loop instead of completing.

This commit fixes that.
2009-08-24 09:48:24 -04:00
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