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
Ray Strode
17cb6197d0
[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.
2009-08-05 22:40:48 -04:00
Ray Strode
13ad2849cf
[progress-animation] Add casts to silence warning
2009-08-05 22:38:00 -04:00
Ray Strode
37ddabe163
[progress-bar] Remove unused variables
2009-08-05 22:36:24 -04:00
Ray Strode
29721caa27
[label] Unload plugin on free
2009-08-05 22:35:45 -04:00
Ray Strode
60b15dd999
[label] Add ply_label_hide to header
2009-08-05 22:32:29 -04:00
Ray Strode
4acdd54a49
[progress] Fix constness problem
2009-08-05 22:30:44 -04:00
Ray Strode
32943e1cf8
[progress] add pause/unpause to header
...
They weren't in the header so were getting used implicitly
2009-08-05 22:29:20 -04:00
Ray Strode
3d9945a23c
[progress] Remove duplicate declaration from header
2009-08-05 22:28:25 -04:00
Ray Strode
79a1c28c34
[progress] Remove unused variable
2009-08-05 22:27:46 -04:00
Ray Strode
b9972dc156
[command-parser] free list data in destructors
...
The command and option lists were getting freed, but the
actual commands and options weren't.
2009-08-05 22:26:40 -04:00
Ray Strode
425d8133ab
[command-parser] Make some int fields size_t
...
This fixes a couple of compiler warnings.
2009-08-05 22:18:37 -04:00
Ray Strode
283215be39
[command-parser] Add int cast to printf to %*s arg
...
This fixes a compiler warning.
2009-08-05 22:14:35 -04:00
Ray Strode
8753c3bbac
[command-parser] Drop unused variables
...
This fixes a couple of compiler warnings.
2009-08-05 22:13:28 -04:00
Ray Strode
4b42a0781a
[command-parser] make constructor/destructors static
...
They aren't public API and this fixes a compiler warning.
2009-08-05 18:39:00 -04:00
Ray Strode
81cf6189fb
[hashtable] Add casts to fix constness warnings
2009-08-05 18:37:45 -04:00
Ray Strode
67ec695d6f
[hashtable] add "static" specifier to internal functions
2009-08-05 18:33:54 -04:00