]>
git.ipfire.org Git - thirdparty/plymouth.git/log
Ray Strode [Mon, 10 Aug 2009 17:47:41 +0000 (13:47 -0400)]
[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.
Ray Strode [Fri, 7 Aug 2009 20:34:15 +0000 (16:34 -0400)]
[pkgconfig] Fix up include paths
Ray Strode [Fri, 7 Aug 2009 20:28:46 +0000 (16:28 -0400)]
[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.
Ray Strode [Fri, 7 Aug 2009 20:32:10 +0000 (16:32 -0400)]
[pkgconfig] Fix up pkgconfig variables
They were wrong before
Ray Strode [Fri, 7 Aug 2009 20:17:32 +0000 (16:17 -0400)]
[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
Ray Strode [Fri, 7 Aug 2009 20:07:14 +0000 (16:07 -0400)]
[client] add --get-splash-plugin-path argument
It can be useful to know where the splash plugins are
on multilib systems.
Ray Strode [Fri, 7 Aug 2009 19:09:18 +0000 (15:09 -0400)]
[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.
Ray Strode [Fri, 7 Aug 2009 01:21:43 +0000 (21:21 -0400)]
[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.
Ray Strode [Thu, 6 Aug 2009 18:42:56 +0000 (14:42 -0400)]
[event-loop] Add some debug messages to event loop
It may help track down a crasher bug Fredric Crozat is
seeing.
Ray Strode [Thu, 6 Aug 2009 12:59:54 +0000 (08:59 -0400)]
[two-step] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
Ray Strode [Thu, 6 Aug 2009 12:59:54 +0000 (08:59 -0400)]
[throbgress] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
Ray Strode [Thu, 6 Aug 2009 12:59:54 +0000 (08:59 -0400)]
[space-flares] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
Ray Strode [Thu, 6 Aug 2009 12:59:54 +0000 (08:59 -0400)]
[script] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
Ray Strode [Thu, 6 Aug 2009 12:59:54 +0000 (08:59 -0400)]
[fade-throbber] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
Ray Strode [Thu, 6 Aug 2009 12:59:54 +0000 (08:59 -0400)]
[details] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
Ray Strode [Thu, 6 Aug 2009 12:59:54 +0000 (08:59 -0400)]
[text] Mark plugin interface functions static
They should only get accessed via the vtable,
so we don't need to export them directly.
Ray Strode [Thu, 6 Aug 2009 12:44:49 +0000 (08:44 -0400)]
[text] Mark internal functions static
Ray Strode [Thu, 6 Aug 2009 12:42:39 +0000 (08:42 -0400)]
[text] Drop unused functions
Ray Strode [Thu, 6 Aug 2009 03:10:24 +0000 (23:10 -0400)]
[details] Drop unused function
Ray Strode [Thu, 6 Aug 2009 03:09:02 +0000 (23:09 -0400)]
[script] do abs(x) > epsilon instead of x != 0
Fixes a compiler warning.
Ray Strode [Thu, 6 Aug 2009 03:02:47 +0000 (23:02 -0400)]
[space-flares] Add casts to silence warnings
Ray Strode [Thu, 6 Aug 2009 03:00:18 +0000 (23:00 -0400)]
[details] Add cast to silence warning
Ray Strode [Thu, 6 Aug 2009 02:59:42 +0000 (22:59 -0400)]
[text] Drop unused variable
Ray Strode [Thu, 6 Aug 2009 02:58:51 +0000 (22:58 -0400)]
[fade-throbber] Fix signedness problem
Ray Strode [Thu, 6 Aug 2009 02:56:12 +0000 (22:56 -0400)]
[window] Fix constness bug in test
Ray Strode [Thu, 6 Aug 2009 02:55:07 +0000 (22:55 -0400)]
[log-viewer] Drop unused variable
Ray Strode [Thu, 6 Aug 2009 02:53:46 +0000 (22:53 -0400)]
[client] Drop unused variable
Ray Strode [Thu, 6 Aug 2009 02:52:39 +0000 (22:52 -0400)]
[main] drop unused function
Ray Strode [Thu, 6 Aug 2009 02:50:17 +0000 (22:50 -0400)]
[main] Fix redirect_standard_io_to_device arg constness
Ray Strode [Thu, 6 Aug 2009 02:48:16 +0000 (22:48 -0400)]
[window] Fix signedness confusion
Ray Strode [Thu, 6 Aug 2009 02:45:24 +0000 (22:45 -0400)]
[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.
Ray Strode [Thu, 6 Aug 2009 02:40:48 +0000 (22:40 -0400)]
[text-progress-bar] Don't initialize os_string
It's not const, so initializing it with a string literal
makes the compiler moan.
At some point we should move os string getting to libply.
Ray Strode [Thu, 6 Aug 2009 02:37:44 +0000 (22:37 -0400)]
[progress-animation] Add casts to silence warning
Ray Strode [Thu, 6 Aug 2009 02:36:24 +0000 (22:36 -0400)]
[progress-bar] Remove unused variables
Ray Strode [Thu, 6 Aug 2009 02:35:45 +0000 (22:35 -0400)]
[label] Unload plugin on free
Ray Strode [Thu, 6 Aug 2009 02:32:29 +0000 (22:32 -0400)]
[label] Add ply_label_hide to header
Ray Strode [Thu, 6 Aug 2009 02:30:44 +0000 (22:30 -0400)]
[progress] Fix constness problem
Ray Strode [Thu, 6 Aug 2009 02:29:20 +0000 (22:29 -0400)]
[progress] add pause/unpause to header
They weren't in the header so were getting used implicitly
Ray Strode [Thu, 6 Aug 2009 02:28:25 +0000 (22:28 -0400)]
[progress] Remove duplicate declaration from header
Ray Strode [Thu, 6 Aug 2009 02:27:46 +0000 (22:27 -0400)]
[progress] Remove unused variable
Ray Strode [Thu, 6 Aug 2009 02:26:40 +0000 (22:26 -0400)]
[command-parser] free list data in destructors
The command and option lists were getting freed, but the
actual commands and options weren't.
Ray Strode [Thu, 6 Aug 2009 02:18:37 +0000 (22:18 -0400)]
[command-parser] Make some int fields size_t
This fixes a couple of compiler warnings.
Ray Strode [Thu, 6 Aug 2009 02:14:35 +0000 (22:14 -0400)]
[command-parser] Add int cast to printf to %*s arg
This fixes a compiler warning.
Ray Strode [Thu, 6 Aug 2009 02:13:28 +0000 (22:13 -0400)]
[command-parser] Drop unused variables
This fixes a couple of compiler warnings.
Ray Strode [Wed, 5 Aug 2009 22:12:21 +0000 (18:12 -0400)]
[command-parser] make constructor/destructors static
They aren't public API and this fixes a compiler warning.
Ray Strode [Wed, 5 Aug 2009 22:37:45 +0000 (18:37 -0400)]
[hashtable] Add casts to fix constness warnings
Ray Strode [Wed, 5 Aug 2009 22:33:54 +0000 (18:33 -0400)]
[hashtable] add "static" specifier to internal functions
Ray Strode [Wed, 5 Aug 2009 22:32:42 +0000 (18:32 -0400)]
[hashtable] Fix some signedness warnings
Ray Strode [Wed, 5 Aug 2009 22:31:04 +0000 (18:31 -0400)]
[hashtable] make insert_internal static
Ray Strode [Wed, 5 Aug 2009 22:29:45 +0000 (18:29 -0400)]
[hashtable] include string.h
So we can use strcmp without a compiler warning.
Ray Strode [Wed, 5 Aug 2009 22:28:06 +0000 (18:28 -0400)]
[hashtable] Add some intptr_t casts
This is to fix some compiler warnings.
Ray Strode [Wed, 5 Aug 2009 22:23:11 +0000 (18:23 -0400)]
[event-loop] Make ply_event_loop_free_sources static
This fixes a compiler warning.
Ray Strode [Wed, 5 Aug 2009 22:22:23 +0000 (18:22 -0400)]
[terminal] fix header prototype
argument list was () instead of (void). This fixes
a compiler warning.
Ray Strode [Wed, 5 Aug 2009 22:12:21 +0000 (18:12 -0400)]
[utils] Fix signedness warning in utf8 handling
Ray Strode [Wed, 5 Aug 2009 22:12:21 +0000 (18:12 -0400)]
[utils] drop ply_create_unix_socket
It's dead code.
Ray Strode [Wed, 5 Aug 2009 22:12:21 +0000 (18:12 -0400)]
[list] make node constructor/destructor static
They aren't public API and this fixes a compiler warning.
Ray Strode [Wed, 5 Aug 2009 22:10:37 +0000 (18:10 -0400)]
[frame-buffer] Drop ply_frame_buffer_area_union
It's no longer used. We can always pull it out of history if we
need it again.
Ray Strode [Wed, 5 Aug 2009 22:08:06 +0000 (18:08 -0400)]
[frame-buffer] Fix some signedness warnings
Ray Strode [Wed, 5 Aug 2009 22:05:54 +0000 (18:05 -0400)]
[frame-buffer] use inline at start of prototype
This fixes a gcc warning.
Ray Strode [Wed, 5 Aug 2009 19:41:37 +0000 (15:41 -0400)]
[script] drop stringify, .script.h instead of .string
stringify.py is written in perl, but doesn't do much to justify the
dependency. We now just do sed in the Makefile. Also, rename
.string to .script.h since that's a little more conventional.
Ray Strode [Wed, 5 Aug 2009 18:24:31 +0000 (14:24 -0400)]
[script] Add actual generated sources to BUILT_SOURCES
Commit
b01ac7970d0e65a70b48ca79b88e51c429ae5e75 was wrong,
it added non-generated source files to BUILT_SOURCES.
Charlie Brej [Wed, 5 Aug 2009 15:30:13 +0000 (16:30 +0100)]
[two-step] Do not remove an additional bullet when backspaceing
Plugins shouldn't do anything when they see a backspace. The number of bullets
is passed to them through a password status callback.
Charlie Brej [Wed, 5 Aug 2009 15:21:53 +0000 (16:21 +0100)]
[throbgress] Do not remove an additional bullet when backspaceing
Plugins shouldn't do anything when they see a backspace. The number of bullets
is passed to them through a password status callback.
Frederic Crozat [Wed, 5 Aug 2009 14:21:15 +0000 (16:21 +0200)]
[splash] do not ship generated files in tarball
Ray Strode [Wed, 5 Aug 2009 14:55:47 +0000 (10:55 -0400)]
[script] Call stringify.pl from srcdir
This fixes a builddir != srcdir problem
Ray Strode [Wed, 5 Aug 2009 14:54:58 +0000 (10:54 -0400)]
[script] Add generated source files to BUILT_SOURCES
This is one part of fixing make distcheck.
Ray Strode [Fri, 24 Jul 2009 13:00:02 +0000 (09:00 -0400)]
[gitignore] Unignore some .plymouth files
There are a couple of .plymouth files that aren't
generated, so we shouldn't ignore them.
Charlie Brej [Mon, 20 Jul 2009 14:33:00 +0000 (15:33 +0100)]
[gitignore] Add new file types for git to ignore
".plymouth" is generated from ".plymouth.in" files.
".string" is generated from ".script" files.
".bck" is used as backups by Nedit.
Charlie Brej [Mon, 20 Jul 2009 14:15:09 +0000 (15:15 +0100)]
[script] Correct vareable to variable
There are likely many other misspellings that I consistently get wrong.
Charlie Brej [Mon, 20 Jul 2009 14:10:49 +0000 (15:10 +0100)]
[script] Sort the sprites so they are drawn in the correct order
Sorting is done using the Z parameter. The higher the closer to the front and
the more above the others.
Charlie Brej [Mon, 20 Jul 2009 13:12:53 +0000 (14:12 +0100)]
[script] Rename ply-scan to script-scan
The scan functions were originally aimed to be put in libply but then again I
can't think of anything that would use them so they are now renamed to left in
the plugin.
Charlie Brej [Mon, 20 Jul 2009 12:59:20 +0000 (13:59 +0100)]
[script] Tidy up the example script
Removes the spinfinity function as it used an ugly ../ path to get the images
and assumed that spinfinity was installed.
Removes some elements which were only inserted for testing.
Charlie Brej [Sun, 12 Jul 2009 18:04:53 +0000 (19:04 +0100)]
[script] Remove print object function which was unused
It was useful when the language was being constructed to make sure reference
counts were sane but only worked in text mode.
Charlie Brej [Sun, 12 Jul 2009 14:11:43 +0000 (15:11 +0100)]
[script] Remove a no longer necessary parse error test and message
Also a couple minor indentations
Charlie Brej [Sun, 12 Jul 2009 14:09:00 +0000 (15:09 +0100)]
[script] Preset plymouth callback functions to script NULL objects
They were set to the real NULL which most script-object functions cannot deal
with.
Charlie Brej [Sat, 11 Jul 2009 16:17:53 +0000 (17:17 +0100)]
[script] Use ply_scan_token_is_something wrapper functions in the parser
Makes the code easier to read and a bit smaller.
Charlie Brej [Fri, 10 Jul 2009 15:54:00 +0000 (16:54 +0100)]
[script] Use the parse operator table and procedure definition functions
This should make the script-parse a little more manageable and cut a few lines
of code.
Charlie Brej [Fri, 10 Jul 2009 15:08:57 +0000 (16:08 +0100)]
[script] Use a symbol table lookup parse function
Charlie Brej [Fri, 10 Jul 2009 14:23:54 +0000 (15:23 +0100)]
[script] Merge all Left-To-Right parsing into a single function
Charlie Brej [Thu, 9 Jul 2009 18:19:34 +0000 (19:19 +0100)]
[script] Allows definitions of functions to be described within expressions
As well as
fun fun_name (foo) {return foo+10;}
now you can also say
fun_name = fun (foo) return foo+10;
Charlie Brej [Wed, 8 Jul 2009 23:23:23 +0000 (00:23 +0100)]
[script] Add support for variable number of arguments
Functions can pick up the full array of arguments passed in using the "_args"
local variable. This is a hash with arguments stored indexed from "0" to "N".
The "count" entry in the _args hash contains the number of vars passed in.
Charlie Brej [Wed, 8 Jul 2009 21:48:08 +0000 (22:48 +0100)]
[script] Remove some asserts which are no longer useful
Charlie Brej [Wed, 8 Jul 2009 21:21:32 +0000 (22:21 +0100)]
[script] Remove some derefs as they are now handled in the access functions
Charlie Brej [Wed, 8 Jul 2009 20:57:34 +0000 (21:57 +0100)]
[script] More changes to use access functions
Charlie Brej [Wed, 8 Jul 2009 16:07:42 +0000 (17:07 +0100)]
[script] Use hash access functions rather than doing lookups directly
Charlie Brej [Wed, 8 Jul 2009 15:40:32 +0000 (16:40 +0100)]
[script] Use access functions instead of directly accessing function objects
Charlie Brej [Wed, 8 Jul 2009 14:49:04 +0000 (15:49 +0100)]
[script] Abstract formations of script_return_t with helper functions
Charlie Brej [Wed, 8 Jul 2009 13:09:50 +0000 (14:09 +0100)]
[script] Simplify object comparisons
Also removes many -Wextra warnings
Charlie Brej [Wed, 8 Jul 2009 10:26:13 +0000 (11:26 +0100)]
[script] Typo in the MathMax function
Charlie Brej [Wed, 8 Jul 2009 10:02:10 +0000 (11:02 +0100)]
[script] Fix some compile warnings
Fixed by making most plugin functions static as they dont get linked from
outside anyway. Also changed some char* to const char*.
Charlie Brej [Wed, 8 Jul 2009 09:40:02 +0000 (10:40 +0100)]
[script] Correct the math min and max functions
Were the wrong way round and confusingly written. Also adds a MathPi constant.
Charlie Brej [Wed, 8 Jul 2009 09:06:25 +0000 (10:06 +0100)]
[script] Add atan2 to the math library
Charlie Brej [Sat, 4 Jul 2009 11:06:02 +0000 (12:06 +0100)]
[script] Add "_t" to all struct names
Charlie Brej [Fri, 3 Jul 2009 16:07:10 +0000 (17:07 +0100)]
[script] Corrected indentation and formatting to match the rest of the project
Uncrustify did a reasonable job and only needed minor fixups.
Charlie Brej [Fri, 3 Jul 2009 14:53:43 +0000 (15:53 +0100)]
[script] Add GPL 2+ licence headers to all .c and .h files
Charlie Brej [Fri, 3 Jul 2009 14:37:31 +0000 (15:37 +0100)]
[script] Remove the display state as it is now handled by the script
Charlie Brej [Fri, 3 Jul 2009 14:33:14 +0000 (15:33 +0100)]
[script] Fix minor memory leaks
Charlie Brej [Fri, 3 Jul 2009 13:56:18 +0000 (14:56 +0100)]
[script] Free any remaining over sprites at plugin destroy
Charlie Brej [Fri, 3 Jul 2009 10:56:04 +0000 (11:56 +0100)]
[script] Simplify native functions by using the hash-cast access functions
Charlie Brej [Thu, 2 Jul 2009 15:41:48 +0000 (16:41 +0100)]
[script] Use the helper hash element extraction functions
This should simplify the code a little as it removes the need to play with
objects which must be unreffed.