Commits on Feb 3, 2011
  1. delete debian directory

    poelzi committed Feb 3, 2011
    will be existing in debian branch only, as debian maintainer
  2. bump version to 0.4.0

    poelzi committed Feb 3, 2011
  3. add gnome workaround

    poelzi committed Feb 3, 2011
    gnome has the same bad behaviour as kde...
  4. move config.h to src

    poelzi committed Feb 3, 2011
  5. add get_active_pos(proc)

    poelzi committed Feb 3, 2011
    returns the current position in the active pids list, so 1 is the
    current used program.
    minor cleanups
Commits on Feb 2, 2011
  1. add memory.swappiness to rules

    poelzi committed Feb 2, 2011
    we can make help swaping out memory while still help to preventing
    lags after longer idle phases by using fine graduated swappiness
  2. refactor xwatch

    poelzi committed Feb 2, 2011
    cleanup the whole xwatch plugin. it now searches the users env for XAUTHORITY
    files tries harder to connect. this should now work with gdm login managers
    that use a extra xauth file per session. removed the fork since seteuid is
    just doing the job fine.
    cleanup various other places
Commits on Feb 1, 2011
  1. reworked environment and command line parsing

    poelzi committed Feb 1, 2011
    we now use nice hashtables for saving the environment, preparsed.
    we do this only on demand, same on the command line.
    export process groups to lua
Commits on Jan 31, 2011
  1. add fast user stats lookup

    poelzi committed Jan 31, 2011
    ulatency.get_uid_stats returns a tuple (active, idle) for fast rule swtiches
  2. add session tracking

    poelzi committed Jan 31, 2011
    we now track all sessions created/removed from console kit in the core.
    this tracking allows now to destinguish between active and ideling sessions
    depending the desktop ui notifies consolekit correctly.
    fixed bug when DEVELOP_MODE is on and started as root with sudo.
    now compiles with dbus off
Commits on Jan 29, 2011
  1. landing of dbus interface

    poelzi committed Jan 29, 2011
    ulatencyd now provides a dbus interface on the system bus that allows to
    query and manipulate the daemon while running.
    currently implemented methods are:
    - querying the system flags. allows a gui to notify the user when something
      bad is happening. Signal for this is pending.
    - set the active flag for processes. this allows the window manager for example
      to set the active pid and no hack through the xwatch plugin is required.
    - get informations about available scheduler configs and
    - allows with root priviliges to change the configuration while running.
      this can be used to switch to a game scheduler config for example
    extended the u_scheduler interface to provide more methods for this interface
  2. remove unused code

    poelzi committed Jan 29, 2011
  3. also ignore krunner on fixup

    poelzi committed Jan 29, 2011
Commits on Jan 27, 2011
  1. add -d for daemon mode

    poelzi committed Jan 27, 2011
    added from arch packages.
    thanks SpepS for the patch.
Commits on Jan 25, 2011
  1. add missing change

    poelzi committed Jan 25, 2011
  2. make sure all parents are updated

    poelzi committed Jan 25, 2011
    if the parent pid changes for something to 0, i guess
    this can happen to kernel threads, they need to be attached
    to the root node
  3. fix wrong argument to g_node_new

    poelzi committed Jan 25, 2011
    add some more asserts.
    prevent endless loop when proc is freed
  4. merge

    poelzi committed Jan 25, 2011
Commits on Jan 24, 2011
  1. started redesigning u_proc

    poelzi committed Jan 24, 2011
    env, commandline etc will be stored in u_proc and
    no longer be used from libproc. the values will read on
    fix for bug #5
  2. fix typo in protetors rulefile

    poelzi committed Jan 24, 2011
Commits on Jan 21, 2011
  1. add sysctl interface

    poelzi committed Jan 21, 2011
Commits on Jan 20, 2011
  1. update debian changelog

    poelzi committed Jan 20, 2011
  2. release 0.3.5

    poelzi committed Jan 20, 2011
  3. implement fake group system

    poelzi committed Jan 20, 2011
    turns out that even as root it is not possible to issue a setgrpid on
    a process, not even attached with ptrace as a fake parent.
    added a workaround for that, allowing process groups to be set anytime.
    add a kde filter and cleanup function that fixes the mess kde does at launching
    jobs. all of them have the same session and task group, which a program started
    by a desktop env should not have
  4. changed scheduling to be group based

    poelzi committed Jan 20, 2011
    use process group to be the identifier for groups and not session anymore.
    this has advantage as this value is supposed to be used as such.
    the process group can be set from the outside (added lua api for that).
    spawned processes from shells for example get a now process group, so
    the shell will be more responsive then the program executing, allowing
    signals to be passed better.
  5. implement io scheduling, better detection

    poelzi committed Jan 20, 2011
    implement io scheduling for processes. this allows better distribution
    of of the available bandwidth of the system across the tasks running
    add detection of cgroup subsystems, so definitions of not available
    subsystems are ignored.
Commits on Jan 19, 2011
  1. add config file for init.d

    dodo committed Jan 19, 2011
  2. fix compile error

    poelzi committed Jan 19, 2011
    use native debian format in trunk for easier usage
  3. add log file support

    poelzi committed Jan 19, 2011
    add -f option to write log file, this disables console output
    fix error in test cmake file
Commits on Jan 18, 2011
  1. readme & cmake updates

    poelzi committed Jan 18, 2011
  2. fix wrong cmake file

    poelzi committed Jan 18, 2011