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
Ray Strode
5b22da9d14
use integer math instead of floating point math for blending ops
2007-05-24 17:29:12 -04:00
Ray Strode
5cd108b845
use uint_fast32_t instead of unit_least32_t for device pixel
2007-05-24 17:28:26 -04:00
Ray Strode
754c779af8
drop unused field from fb struct
2007-05-24 17:27:01 -04:00
Ray Strode
0072b409ff
check FRAMEBUFFER for fb device, if available
2007-05-24 09:20:32 -04:00
Ray Strode
d99441216e
set graphics mode in image test program to prevent blinking during boot up
2007-05-24 01:42:59 -04:00
Ray Strode
c8e94e96df
add some blue to the background in the image-test to get an idea why things are blinking during bootup
2007-05-24 01:04:35 -04:00
Ray Strode
8faff2c1b1
add a few inline statements and drop framerate to make ply-image-test less resource hungry
2007-05-24 00:50:59 -04:00
Ray Strode
ed4b03058c
add "watch init's progress" to TODO list
2007-05-23 22:25:36 -04:00
Ray Strode
4cff534b9d
add O_NOCTTY to a few open calls
2007-05-23 20:05:51 -04:00
Ray Strode
b57eed5c0b
add missing close() call. redirect messages to /dev/null
2007-05-23 19:46:37 -04:00
Ray Strode
40e9dc0ea2
allow a terminal session to also take over /dev/console
2007-05-23 19:33:22 -04:00
Ray Strode
6949c46ea2
mount /proc and /dev/pts if they aren't mounted
...
turn all redirected messages to uppercase
2007-05-23 17:11:18 -04:00
Ray Strode
7724425f22
mount /dev/pts if it's not mounted yet
2007-05-23 16:08:54 -04:00
Ray Strode
8117bae564
fix typo in error message
2007-05-23 16:08:18 -04:00
Ray Strode
178fd654ab
add new functions that check if a file or dir exists
2007-05-23 15:32:06 -04:00
Ray Strode
23aad94507
add start of a program to eat a sessions output
2007-05-23 14:29:14 -04:00
Ray Strode
a707efeca4
add logger files to event-loop test program
2007-05-23 14:28:52 -04:00
Ray Strode
871d3fa991
remove erroneous space between macro name and arg list for ply_flush_log
2007-05-23 14:28:17 -04:00
Ray Strode
44d8319565
temporarily hide bug in code by removing an assert
2007-05-23 14:27:23 -04:00
Ray Strode
b489445041
don't output terminal session by default
2007-05-23 14:26:48 -04:00
Ray Strode
cfe0e7b1a5
add new ply_save_errno/ply_restore_errno functions
...
The primary mechanism for reporting problems in this program
is through errno. Since errno can get wiped out transparently
across syscalls, it's often necessary to save errno before making
a syscall and restore it afterward. These functions make that
easier.
2007-05-23 11:50:05 -04:00
Ray Strode
f7726dbc72
automatically add new lines to log messages unless explicitly
...
called _without_new_line
2007-05-23 11:27:08 -04:00
Ray Strode
c8e7fc693c
add support for default error logging
...
This commit adds a convience macros, ply_error (), that
will by default log error messages to the standard error.
This commit also adds a new api for specifying a policy
for determining when to automatically flush the log buffer.
2007-05-23 11:22:07 -04:00