Age | Commit message (Collapse) | Author | Files | Lines |
|
This remove hald/linux2/probing/shared.h for better reuse of related
functions and to avoid compiler warnings about defined but unused
functions.
Major changes:
* removed shared.h and switched addons and prober to use with
logger.[c,h] the same functions and format as the hal daemon.
* split off powermanagement related code from util.c/h to a new file
util_pm.[c,h].
* added a new file util_helper.[c,h] to collect functions
drop_privileges() and hal_set_proc_title*().
* removed unused function strdup_valid_utf8() from probe-storage.c and
updated hal_util_strdup_valid_utf8() to do the same as
strdup_valid_utf8() before.
* fixed compiler warning in ids.c (use now *_ids_free() functions
instead of call free() directly without checks).
* fixed compiler warning in addon-macbookpro-backlight.c (added '#if 0'
around unused function)
|
|
Moved linux2/blockdev.c:is_mounted_by_hald() to
util.c:hal_util_is_mounted_by_hald() so all backends can use it.
Fixed some compilation warnings when compiling with non-GNU
compiler and libc.
|
|
files.
|
|
messages to syslog instead of stderr. With this option HAL writes debug
messages also if run as daemon. Removed useless call of logger_init ().
Moved first debug message to reduce unneeded double check of
opt_become_daemon.
; hald/logger.h: Added write to syslog instead of stderr. Remove empty and
useless function logger_init ().
|
|
COPYING file. Patch from Danny Kukawka <danny.kukawka@web.de>.
|
|
if the hald instance is started with verbose. Add HALD_STARTUP resp.
HALD_SHUTDOWN only if the callout is in response to hald starting
up/shutting down.
Add an verbose option. Use the HALD_VERBOSE environment variable. Postpone
daemonization until we are done probing.
Move hald_is_[verbose|initialising|is_shutting_down] here
We can now always assume we got a parent
We can now always assume we got a parent
Complete rewrite of probing code; now we construct a list of ''coldplug
events'' and feed them to the two new functions add_device() and
rem_device(); this unifies a few codepaths and it's much faster,
cleaner and just yummier. Also ensure that callouts are run
sequentially.
New functions (logger_emit): Print time and don't print function name
Add logger_[enable|disable].
Use /tmp for the temporary file (fs_table_has_volume): Remove debug spew
(add_udi): Log a message to the syslog on success (remove_udi): Log a
message to the syslog on success (clean): Log a message to the syslog
on success (main): Use HALD_VERBOSE. When invoked for the ''computer''
device object on hald startup, automatically clean the fstab (but only
if using a managed keyword). Don't remove entries on hald shutdown. In
line with the osspec.c changes (sequential callouts) we now get a fully
sanitized /etc/fstab at hald startup, Yay!
Less syslog spamming
Less syslog spamming (main): Less syslog spamming
|
|
|
|
more object oriented and thus more compact; it's currently disabled
until it's more tested; you have to manually enable by editing
hald/Makefile.am
Add new linux specific parts; currently disabled
add ds_device_async_wait_for_property()
Add device member used in for wait_for_property
(async_find_check_new_addition): add wait_for_property check
(ds_device_async_wait_for_property): new function
new file
new files
new files
new file
new file
new file
new file
new file
new files
new file
new file
new file
new file
|
|
style than me so I chose the GNOME coding guidelines, indent -kr -i8
-pcs -lps -psl, and did some manual reformatting
|
|
fixup doxygen grouping
fixup doxygen grouping
Don't print out trace priority logging statements
Add mount point detection by monitoring /etc and looking at /etc/mtab.
Several new functions.
new function
Add _detection_done() method that is called when device detection (on
startup of the HAL daemon) is done
Call _detection_done (ospec_hotplug): Handle input being hotplugged
added doxygen comments
added doxygen comments
added doxygen comments
|
|
RECURSIVE to NO.
Add AM_PATH_PYTHON. Add --with-hwdata option and search for places normally
placed at RedHat and Debian. Require version 0.20 of D-BUS (Martin
Waitz). Make USE_MAINTAINER_MODE an AM_CONDITIONAL. Don't check for
libpci. Default D-BUS system.d directory to our own prefix. Add
--with-hotplug option to specify the hotplug.d directory. Default to
/etc/hotplug.d. Add tools/device-manager/Makefile. Print out
HWDATA_DIR, LINUX_HOTPLUG_DIR.
All source files, s/LOG_/HAL_/. Fixup Doxygen documentation
new file
change logging macros
add logger.c to SOURCES
Use EV_SYN if EV_RST is not defined
add device-manager to SUBDIRS
new file; generates Const.py with correct version and paths. Installs into
the python program and data into $(datadir)/hal/device-manager. Links
from $(bindir) to the installation location.
new file
Removed from CVS; now autogenerated from Const.py.in
Prefix with Const.DATADIR when loading png files
Prefix with Const.DATADIR when loading glade file
|