Commit graph

141 commits

Author SHA1 Message Date
Ray Strode
6385af9737 don't block indefinitely if our timeout timer expires before hitting epoll_wait 2007-06-07 15:09:03 -04:00
Ray Strode
a3d18a2cd2 add support for timeouts to the event loop 2007-06-07 14:51:27 -04:00
Ray Strode
87fb3dcb26 rename ply_event_loop_exit_closure_t to ply_event_loop_closure_t 2007-06-07 11:02:43 -04:00
Ray Strode
afcb402f78 drop some items from TODO list 2007-06-06 18:26:58 -04:00
Ray Strode
71528ae79e fix up some of the makefiles to use libply 2007-06-06 18:25:21 -04:00
Ray Strode
cb4a2f4b62 drop other autogenerated file from version control 2007-06-06 18:24:51 -04:00
Ray Strode
2b7680ccb1 drop autogenerated file from version control 2007-06-06 18:24:00 -04:00
Ray Strode
86898c1fce check for plugin failure in the boot splash test program,
change the location we look for the plugin
2007-06-06 18:23:24 -04:00
Ray Strode
dc93a9bc16 drop funky workaround in event loop code 2007-06-06 18:22:41 -04:00
Ray Strode
b157f818ac split the common code off into libply and move things to separate directories 2007-06-06 18:13:17 -04:00
Ray Strode
177a24020b add start of fedora-fade-in plugin 2007-06-06 17:10:22 -04:00
Ray Strode
f3b0031ba6 try to run fedora-fade-in.so from current directory 2007-06-06 17:09:41 -04:00
Ray Strode
1cc0d920fc commit autogoo 2007-06-06 17:09:03 -04:00
Ray Strode
9478db2d3d fix up signature of plugin show splash vfunc 2007-06-06 17:08:42 -04:00
Ray Strode
2224329fdd change the event loop test to quit after a 5 second alarm 2007-06-06 16:32:11 -04:00
Ray Strode
5b416dbb9d reverse conditional in new module load code 2007-06-06 16:22:03 -04:00
Ray Strode
e525478603 require libtool in configure 2007-06-06 15:39:57 -04:00
Ray Strode
64bff4b7ca s/intptr_t/struct _ply_boot_splash_plugin/ in ply_boot_splash_plugin_t typedef 2007-06-06 15:30:38 -04:00
Ray Strode
8cfba64f86 add TODO item to add the ability to watch for timeouts in the event loop 2007-06-06 15:05:38 -04:00
Ray Strode
76a2e17cee add small wrapper functions around dlopen and friends.
create the start of a boot-splash api for managing the
splash screen.  Setup main.c to use the api (no plugin
exists yet, though, so things are pretty hosed atm)
2007-06-06 14:14:37 -04:00
Ray Strode
a2bba28d72 automatically switch back to text mode when running ply-image-test for a while 2007-06-06 10:16:38 -04:00
Ray Strode
d86e8e7e69 pass target instead of source to umount (woops!) 2007-06-06 10:15:45 -04:00
Ray Strode
dae686682d once the system is fully initialized, all modules are loaded,
and the filesystem is completely mounted, etc, mount the root
filesystem again from within the initrd so we can write the
boot log out
2007-06-05 16:51:40 -04:00
Ray Strode
150194ce40 don't setup an default output fd for the terminal sesssion and drop the toupper hack 2007-06-05 16:49:44 -04:00
Ray Strode
85b75dfdbf make ply_logger_flush() a noop if the logger isn't logging,
or doesn't have an fd to flush to.
2007-06-05 16:47:12 -04:00
Ray Strode
541f094fb4 don't spew PING debug message when rhgb-client --ping is
run
2007-06-05 15:58:08 -04:00
Ray Strode
bc4b031f1c i don't know 2007-06-05 11:25:41 -04:00
Ray Strode
94efb1940a add the start of boot status tracking to plymouth 2007-06-05 00:42:38 -04:00
Ray Strode
2f919192b9 don't direct messages to screen anymore 2007-06-05 00:42:01 -04:00
Ray Strode
947015ce39 add sysinit support to the boot classes 2007-06-05 00:41:04 -04:00
Ray Strode
43dd5755db add --sysinit support for rhgb-client. hide error message for now 2007-06-05 00:39:49 -04:00
Ray Strode
258a164073 use FIONREAD ioctl to try to preemptively detect eof, so we don't have to
add some "I did a read and got 0 back" api
2007-06-05 00:39:12 -04:00
Ray Strode
56d1e615d7 add the beginning of an rhgb-client clone 2007-06-04 17:17:12 -04:00
Ray Strode
049c0a744d add "quit" and "update" commands to the ply-boot status
code
2007-06-04 16:14:16 -04:00
Ray Strode
0b6fb93e25 rework event loop to not access free'd memory if an
fd watch gets removed while its source is being dispatched

Also, ignore disconnect events until after all handlers
have been dispatched for non-disconnect events
2007-06-04 16:13:11 -04:00
Ray Strode
2cad0aea0a move most of the guts of ply_list_remove_node
to ply_list_unlink_node, and rewrite it to be
more readable.
2007-06-04 16:09:35 -04:00
Ray Strode
1a723d2cf4 add some support for "update" command to boot status daemon 2007-06-03 23:00:41 -04:00
Ray Strode
ef470c559f update TODO file 2007-06-03 21:47:45 -04:00
Ray Strode
42e92b2e37 add some forgotton files from last commit 2007-06-03 21:46:00 -04:00
Ray Strode
ee407ee53b add the start of some classes for tracking boot status 2007-06-03 20:11:58 -04:00
Ray Strode
a6f81dcdf9 commit header file changes for previous ply-utils commit 2007-06-03 20:10:21 -04:00
Ray Strode
f8b5c8157e adapt the event loop code to support watching the same
fd from more than one place (and with different conditions)
2007-06-03 20:09:48 -04:00
Ray Strode
6eeab19385 add some socket handling apis to ply-utils.c and fixup
a thinko in ply_read_bytes
2007-06-03 19:27:05 -04:00
Ray Strode
7ab0dc597e add new ply_list_get_last_node function to get the list tail 2007-05-31 17:01:09 -04:00
Ray Strode
7f7f14aafc more off by one ickyness in the errno stack thing 2007-05-30 17:55:33 -04:00
Ray Strode
d1e2d29814 change event loop "watch fd" api to let the user specify a condition to watch for 2007-05-30 10:32:55 -04:00
Ray Strode
aa4848fbc2 save errno before closing fds in error path and restore
afterward.
2007-05-29 20:46:07 -04:00
Ray Strode
79ee862f70 drop the unused ply_read_some_bytes function 2007-05-29 20:13:34 -04:00
Ray Strode
29744ccc0b fix an off by one in the errno stack code 2007-05-29 10:07:26 -04:00
Ray Strode
65a6735c92 handle framerate differently and print it to stderr for debugging 2007-05-24 17:31:44 -04:00