pandora-libraries.git
11 years agoCategory scroll offscreen left/right added
skeezix [Tue, 9 Mar 2010 17:42:42 +0000 (12:42 -0500)]
Category scroll offscreen left/right added
Conf file now instructs which of the 6 categories to use (main, main sub1, main sub2, and the alt 3 as well); default is main and alt only (no subs)

11 years agoUpdated makefile to lessen the breakage of image :)
skeezix [Tue, 9 Mar 2010 17:03:54 +0000 (12:03 -0500)]
Updated makefile to lessen the breakage of image :)

11 years agoFix so preview pics will scale correctly
skeezix [Tue, 9 Mar 2010 16:28:10 +0000 (11:28 -0500)]
Fix so preview pics will scale correctly

11 years agoMinor cleanups; possibly fixed Makefile for djw and mmenu
skeezix [Tue, 9 Mar 2010 15:30:06 +0000 (10:30 -0500)]
Minor cleanups; possibly fixed Makefile for djw and mmenu

11 years agoAdded GPLv2 license to minimenu
skeezix [Mon, 8 Mar 2010 21:48:21 +0000 (16:48 -0500)]
Added GPLv2 license to minimenu

11 years agoFirst checkin of Minimenu
skeezix [Mon, 8 Mar 2010 21:05:29 +0000 (16:05 -0500)]
First checkin of Minimenu

11 years agoAdded 'apps' dir to menu, so it goes with out posted goals of emitting to both deskto...
skeezix [Sat, 6 Mar 2010 04:52:45 +0000 (23:52 -0500)]
Added 'apps' dir to menu, so it goes with out posted goals of emitting to both desktop and menu
This has been bandied about for months, time to commit it :)

11 years agoAdded NORUN option to pnd_apps_exec, which goes as far as pnd_run but then skips...
skeezix [Sat, 6 Mar 2010 04:32:07 +0000 (23:32 -0500)]
Added NORUN option to pnd_apps_exec, which goes as far as pnd_run but then skips it. It records the pnd_run.sh
line to a buffer, which can then be retrieved. Thus, an app can find out how to run an app without depending on
pnd_apps_exec to actually run it.

11 years agoOnly merge overrides if the caller specifies override searchpath
skeezix [Sat, 6 Mar 2010 04:31:05 +0000 (23:31 -0500)]
Only merge overrides if the caller specifies override searchpath

11 years agoAdded get_size() func
skeezix [Sat, 6 Mar 2010 04:30:28 +0000 (23:30 -0500)]
Added get_size() func

11 years agoAdded _get_as_int_d function, which is same as _get_as_int but with default value...
skeezix [Sat, 6 Mar 2010 04:29:35 +0000 (23:29 -0500)]
Added _get_as_int_d function, which is same as _get_as_int but with default value (instead of returning BADNUM)

11 years agoMerge branch 'master' of ssh://skeezixgit@git.openpandora.org/srv/git/pandora-libraries
skeezix [Sat, 6 Mar 2010 04:28:30 +0000 (23:28 -0500)]
Merge branch 'master' of ssh://skeezixgit@git.openpandora.org/srv/git/pandora-libraries

11 years agoLimit how far we can backseek through a pnd-file
skeezix [Sat, 6 Mar 2010 04:27:30 +0000 (23:27 -0500)]
Limit how far we can backseek through a pnd-file

11 years agoMerge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Fri, 5 Mar 2010 15:40:45 +0000 (16:40 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries

11 years agoOnly forking when killing x.
vimacs [Fri, 5 Mar 2010 15:39:59 +0000 (16:39 +0100)]
Only forking when killing x.
modified:   testdata/scripts/pnd_run.sh

11 years agoAdded some basic pandora-logos to libpnd for people to use.. thanks ED :)
skeezix [Fri, 5 Mar 2010 02:30:05 +0000 (21:30 -0500)]
Added some basic pandora-logos to libpnd for people to use.. thanks ED :)

11 years agodoh.
skeezix [Fri, 5 Mar 2010 02:01:41 +0000 (21:01 -0500)]
doh.

11 years agowaitpid() instead of wait() in mount, unmount, and exec of pnds
skeezix [Fri, 5 Mar 2010 01:41:38 +0000 (20:41 -0500)]
waitpid() instead of wait() in mount, unmount, and exec of pnds

11 years agoMinor fix for config parsing, eliminates some prelude spacing on value form key/value...
skeezix [Fri, 5 Mar 2010 01:35:36 +0000 (20:35 -0500)]
Minor fix for config parsing, eliminates some prelude spacing on value form key/value pairs
minor change to notifyd's help message

11 years agoFix for getting .de when you wanted .en for example.. slightly better(?) isolang...
skeezix [Tue, 2 Mar 2010 04:07:13 +0000 (23:07 -0500)]
Fix for getting .de when you wanted .en for example.. slightly better(?) isolang best matcher

11 years agoAdding argument support to PXML; pnd_run.sh already had it, but PXML did not.
skeezix [Tue, 2 Mar 2010 03:38:35 +0000 (22:38 -0500)]
Adding argument support to PXML; pnd_run.sh already had it, but PXML did not.
In the Exec tag you can now specify args to pass, save you making sh-scripts in the pnd a lot of the time

11 years agoMinor debugging added; turns out a bug I tracked for hours was... a bad SDHC card :(
skeezix [Tue, 2 Mar 2010 03:08:12 +0000 (22:08 -0500)]
Minor debugging added; turns out a bug I tracked for hours was... a bad SDHC card :(

11 years agoSlightly larger icon read/write buffer
skeezix [Mon, 1 Mar 2010 05:01:53 +0000 (00:01 -0500)]
Slightly larger icon read/write buffer

11 years agoReduce over-icon-generation due to multiapps
skeezix [Mon, 1 Mar 2010 04:34:02 +0000 (23:34 -0500)]
Reduce over-icon-generation due to multiapps

11 years agoLarge change, to support multiple applications within a single PXML.xml file.
skeezix [Mon, 1 Mar 2010 03:52:09 +0000 (22:52 -0500)]
Large change, to support multiple applications within a single PXML.xml file.
genpxml script was updated to generate properly formed new XML
test apps were updated to comply
pnd_run will attempt to run all subapps right now, for lack of a better idea :)
pndnotifyd will generate all the icons and .desktop files for all subapps, and it should all work

11 years agoI too can mistype!
skeezix [Sat, 27 Feb 2010 02:15:45 +0000 (21:15 -0500)]
I too can mistype!

11 years agoAdded definition of 'affirmative' for bools in PXML
skeezix [Sat, 27 Feb 2010 02:13:43 +0000 (21:13 -0500)]
Added definition of 'affirmative' for bools in PXML
Added cpu-speed setting for app-exec and .desktop->Exec

11 years agosleepyhead :)
skeezix [Sat, 27 Feb 2010 02:03:00 +0000 (21:03 -0500)]
sleepyhead :)

11 years agodoh...
vimacs [Sat, 27 Feb 2010 01:33:15 +0000 (02:33 +0100)]
doh...
modified:   ../testdata/scripts/pnd_run.sh

11 years agoChange cpu clock [-c] stub
vimacs [Fri, 26 Feb 2010 12:47:37 +0000 (13:47 +0100)]
Change cpu clock [-c] stub
modified:   testdata/scripts/pnd_run.sh

11 years agolowered time for killist from 3 to 1 sec
vimacs [Fri, 26 Feb 2010 12:39:37 +0000 (13:39 +0100)]
lowered time for killist from 3 to 1 sec
modified:   testdata/scripts/op_menu.sh

11 years agoMake libpnd a little more tolerant of padding at end of PXML, when looking for icon
skeezix [Thu, 25 Feb 2010 16:00:11 +0000 (11:00 -0500)]
Make libpnd a little more tolerant of padding at end of PXML, when looking for icon

11 years agomoved umount union to section without noexec, noexec prevents aufs from working
vimacs [Thu, 18 Feb 2010 21:17:36 +0000 (22:17 +0100)]
moved umount union to section without noexec, noexec prevents aufs from working
modified:   testdata/sh/sudoers

11 years agoAdded shutdown warning/timer.
vimacs [Thu, 18 Feb 2010 18:29:00 +0000 (19:29 +0100)]
Added shutdown warning/timer.
modified:   testdata/scripts/op_power.sh

11 years agoThere may have been a bug preventing the pidlist to display which could be fixed...
vimacs [Thu, 18 Feb 2010 17:44:12 +0000 (18:44 +0100)]
There may have been a bug preventing the pidlist to display which could be fixed now :-)
modified:   testdata/scripts/op_menu.sh

11 years agochanged cpu resume from -ge 14 to -gt 14
vimacs [Thu, 18 Feb 2010 17:07:51 +0000 (18:07 +0100)]
changed cpu resume from -ge 14 to -gt 14
modified:   testdata/scripts/op_power.sh

11 years agofixed typo
root [Thu, 18 Feb 2010 16:59:31 +0000 (17:59 +0100)]
fixed typo
modified:   testdata/scripts/op_power.sh

11 years agoFixed conf for vimacs new script
skeezix [Thu, 18 Feb 2010 16:31:42 +0000 (11:31 -0500)]
Fixed conf for vimacs new script

11 years agoProper wl initfile name
vimacs [Thu, 18 Feb 2010 16:27:56 +0000 (17:27 +0100)]
Proper wl initfile name
modified:   testdata/scripts/op_power.sh

11 years ago new file: testdata/scripts/op_battlow.sh
vimacs [Thu, 18 Feb 2010 16:25:55 +0000 (17:25 +0100)]
new file:   testdata/scripts/op_battlow.sh

11 years agoPower down/up bt and wl
vimacs [Thu, 18 Feb 2010 15:22:01 +0000 (16:22 +0100)]
Power down/up bt and wl
modified:   testdata/scripts/op_power.sh

11 years agocheck if statefile exists
vimacs [Thu, 18 Feb 2010 15:20:25 +0000 (16:20 +0100)]
check if statefile exists
modified:   testdata/scripts/op_power.sh

11 years agoMerge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Thu, 18 Feb 2010 14:53:08 +0000 (15:53 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries

11 years agonew standby script
vimacs [Thu, 18 Feb 2010 14:52:28 +0000 (15:52 +0100)]
new standby script
modified:   testdata/scripts/op_power.sh

11 years agoAnd lets only do critical shutdown when a script is specified, shall we :)
skeezix [Thu, 18 Feb 2010 03:28:16 +0000 (22:28 -0500)]
And lets only do critical shutdown when a script is specified, shall we :)

11 years agoAdded critical battery level forced shutdown .. calls script when battery gets to...
skeezix [Thu, 18 Feb 2010 03:26:04 +0000 (22:26 -0500)]
Added critical battery level forced shutdown .. calls script when battery gets to (say) 1%
configured in evmapper conf

11 years agoAdded basic LED stuff to libpnd pnd_device
skeezix [Thu, 18 Feb 2010 03:07:38 +0000 (22:07 -0500)]
Added basic LED stuff to libpnd pnd_device
Added blink-timer to evmapperd .. low battery causes blink! cute!

11 years agoEvtest added (from beagleboard guys, just copied in for convenience)
skeezix [Wed, 17 Feb 2010 22:18:28 +0000 (17:18 -0500)]
Evtest added (from beagleboard guys, just copied in for convenience)
evmapperd properly detects power button now .. so can now do lid, power, and pandora-menu buttons
... soon to add power level blinking

11 years agoZombie.
skeezix [Wed, 17 Feb 2010 20:10:58 +0000 (15:10 -0500)]
Zombie.

11 years agoAdded anit-zombie measures to evmapperd
skeezix [Wed, 17 Feb 2010 19:28:47 +0000 (14:28 -0500)]
Added anit-zombie measures to evmapperd

11 years agofixed
vimacs [Wed, 17 Feb 2010 17:04:19 +0000 (18:04 +0100)]
fixed
modified:   testdata/scripts/op_lid.sh
modified:   testdata/scripts/op_menu.sh

11 years agoRemember old brightnes, dont use op_bright.sh
vimacs [Wed, 17 Feb 2010 12:14:54 +0000 (13:14 +0100)]
Remember old brightnes, dont use op_bright.sh
modified:   testdata/scripts/op_lid.sh

11 years agoMerge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Wed, 17 Feb 2010 11:35:33 +0000 (12:35 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries

11 years agoSwitched to su -c instead of sudo.
vimacs [Wed, 17 Feb 2010 11:34:19 +0000 (12:34 +0100)]
Switched to su -c instead of sudo.
modified:   testdata/scripts/op_menu.sh

11 years agoAdded a lame but working dbus watch ability..
skeezix [Tue, 16 Feb 2010 17:51:57 +0000 (12:51 -0500)]
Added a lame but working dbus watch ability..
-- dbus can watch insert/eject
-- inotify can watch file moves
-- etc/pandora/conf/apps notify list removed /media (was catching the OS, since fw mounted to /media/mmcblk0p1 when boot off SD!)
-- dbusnotifytest seems to work on desktop and panda
Working much better, catches every insert/eject just fine, without spamming

11 years agoAnother minor, useless change.
skeezix [Tue, 16 Feb 2010 04:43:18 +0000 (23:43 -0500)]
Another minor, useless change.

11 years agoMore logging in pnd_notify
skeezix [Tue, 16 Feb 2010 01:19:37 +0000 (20:19 -0500)]
More logging in pnd_notify

11 years agoMinor changes, all commented out; bloody inotify.
skeezix [Tue, 16 Feb 2010 01:14:23 +0000 (20:14 -0500)]
Minor changes, all commented out; bloody inotify.

11 years agoMerge branch 'master' of ssh://skeezixgit@git.openpandora.org/srv/git/pandora-libraries
skeezix [Mon, 15 Feb 2010 19:29:48 +0000 (14:29 -0500)]
Merge branch 'master' of ssh://skeezixgit@git.openpandora.org/srv/git/pandora-libraries

11 years agoAdded a param to inotify flags; seems to detect removal of SDs much better now
skeezix [Mon, 15 Feb 2010 19:28:52 +0000 (14:28 -0500)]
Added a param to inotify flags; seems to detect removal of SDs much better now

11 years agoMerge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Mon, 15 Feb 2010 18:52:03 +0000 (19:52 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries

11 years ago modified: testdata/scripts/op_menu.sh
vimacs [Mon, 15 Feb 2010 18:51:31 +0000 (19:51 +0100)]
modified:   testdata/scripts/op_menu.sh

11 years agoAdded 'seconds since first log line' to pnd_logger
skeezix [Mon, 15 Feb 2010 18:49:18 +0000 (13:49 -0500)]
Added 'seconds since first log line' to pnd_logger
pndnotifyd should now ignore a rediscover request within 2s of past one, maybe avoid a few 'redraws'

11 years agoAdded pnd_info.c since I'm an idiot
skeezix [Mon, 15 Feb 2010 14:54:55 +0000 (09:54 -0500)]
Added pnd_info.c since I'm an idiot

11 years agoMakefile rule, copy pnd_info into deployment tree
skeezix [Mon, 15 Feb 2010 14:45:05 +0000 (09:45 -0500)]
Makefile rule, copy pnd_info into deployment tree

11 years agoMinor fixes for a couple 'uninitialized vars' that gcc here wasn't informing me of :)
skeezix [Mon, 15 Feb 2010 14:41:47 +0000 (09:41 -0500)]
Minor fixes for a couple 'uninitialized vars' that gcc here wasn't informing me of :)

11 years agoAdded -l option to pndevmapperd, same as in pndnotifyd
skeezix [Mon, 15 Feb 2010 04:19:38 +0000 (23:19 -0500)]
Added -l option to pndevmapperd, same as in pndnotifyd
Previous push, added pnd_info for userland inspection of PXML.xml -- say user wants to know how to install an app or something

11 years agopndnotifyd logging was already available (just drop the -d on command line, and redir...
skeezix [Mon, 15 Feb 2010 03:31:02 +0000 (22:31 -0500)]
pndnotifyd logging was already available (just drop the -d on command line, and redirect to file; log level was in conf file..)
 -- but now you can just add -l to command line to cause it to go go debuglevel and spit out to /tmp/pndnotifyd.log
 -- can actualyl do -l#, where # is log level, default is 0 (all)

pnd_logger now has set_buried_logging() which lets you turn on logging in libpnd API that doesn't normally log, such as
the discovery code; this way we can log some deep-shit, if we really want to

11 years agoAdded <mkdir> to PXML.xml wherein pndnotifyd will attempt to create some directories...
skeezix [Sun, 14 Feb 2010 05:05:47 +0000 (00:05 -0500)]
Added <mkdir> to PXML.xml wherein pndnotifyd will attempt to create some directories on the SD card hosting the pnd-file, when directed to.
Shoudl be used sparingly, bt coudl be handy for guiding user to a needed path, or implying canonicle paths

11 years agofixed x restarting, last commit fixed a bug that didnt exist in that way...
vimacs [Sat, 13 Feb 2010 12:26:03 +0000 (13:26 +0100)]
fixed x restarting, last commit fixed a bug that didnt exist in that way...
modified:   testdata/scripts/pnd_run.sh

11 years agodetaching and killing x should work now, maybe
vimacs [Sat, 13 Feb 2010 12:19:58 +0000 (13:19 +0100)]
detaching and killing x should work now, maybe
modified:   testdata/scripts/pnd_run.sh

11 years agoadded -j, join | mounts aditional folder into the union
vimacs [Tue, 9 Feb 2010 21:10:01 +0000 (22:10 +0100)]
added -j, join | mounts aditional folder into the union
modified:   testdata/scripts/pnd_run.sh

11 years agoop_lidtoggle.sh > op_lid.sh
vimacs [Sun, 10 Jan 2010 15:03:33 +0000 (16:03 +0100)]
op_lidtoggle.sh > op_lid.sh
modified:   deployment/etc/pandora/conf/eventmap

11 years ago modified: testdata/scripts/op_menu.sh
vimacs [Fri, 8 Jan 2010 07:19:15 +0000 (08:19 +0100)]
modified:   testdata/scripts/op_menu.sh

11 years agofixed sudoers?
vimacs [Thu, 31 Dec 2009 03:13:31 +0000 (04:13 +0100)]
fixed sudoers?
modified:   testdata/sh/sudoers

11 years ago modified: testdata/scripts/op_power.sh
vimacs [Thu, 31 Dec 2009 02:32:13 +0000 (03:32 +0100)]
modified:   testdata/scripts/op_power.sh

11 years ago modified: testdata/scripts/op_lid.sh
vimacs [Thu, 31 Dec 2009 02:02:05 +0000 (03:02 +0100)]
modified:   testdata/scripts/op_lid.sh

11 years ago new file: testdata/scripts/op_lid.sh
vimacs [Thu, 31 Dec 2009 01:59:34 +0000 (02:59 +0100)]
new file:   testdata/scripts/op_lid.sh

11 years agoFixed op_menu if no x is running and added screen poweroff and cpu slowdown to power...
vimacs [Sat, 26 Dec 2009 21:28:02 +0000 (22:28 +0100)]
Fixed op_menu if no x is running and added screen poweroff and cpu slowdown to power button script
modified:   testdata/scripts/op_menu.sh
modified:   testdata/scripts/op_power.sh

11 years agoadded op_power, untested!
vimacs [Sat, 26 Dec 2009 21:14:48 +0000 (22:14 +0100)]
added op_power, untested!
new file:   testdata/scripts/op_power.sh

11 years agoFixed sudoers so exec on aufs doesnt fail.
vimacs [Sat, 26 Dec 2009 10:45:10 +0000 (11:45 +0100)]
Fixed sudoers so exec on aufs doesnt fail.
modified:   testdata/sh/sudoers

11 years agoMerge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Fri, 25 Dec 2009 16:47:07 +0000 (17:47 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries

11 years agoFixed sudoers, i think
vimacs [Fri, 25 Dec 2009 16:46:03 +0000 (17:46 +0100)]
Fixed sudoers, i think
modified:   testdata/sh/sudoers

11 years agoAdded .sh
skeezix [Wed, 23 Dec 2009 01:47:18 +0000 (20:47 -0500)]
Added .sh

11 years agoAdded .sh :)
skeezix [Wed, 23 Dec 2009 01:46:50 +0000 (20:46 -0500)]
Added .sh :)

11 years ago renamed: pnd_button.sh -> op_menu.sh
vimacs [Tue, 22 Dec 2009 23:54:11 +0000 (00:54 +0100)]
renamed:    pnd_button.sh -> op_menu.sh

11 years agoFixed pnd_button to work as root
vimacs [Tue, 22 Dec 2009 23:52:07 +0000 (00:52 +0100)]
Fixed pnd_button to work as root
modified:   pnd_button.sh

11 years agoAdded X-Pandora-UID to .desktop
skeezix [Tue, 22 Dec 2009 16:26:57 +0000 (11:26 -0500)]
Added X-Pandora-UID to .desktop
Changed _Source to X-Pandora-Source
Cleaned up a header collision from old copy/paste
Fixed discotest to use correct header

11 years agoMore with the debug
skeezix [Tue, 22 Dec 2009 15:33:38 +0000 (10:33 -0500)]
More with the debug

11 years agoAdded a bit more debug, check_login() will ignore root as a candidate, and set defaul...
skeezix [Tue, 22 Dec 2009 15:31:24 +0000 (10:31 -0500)]
Added a bit more debug, check_login() will ignore root as a candidate, and set default $HOME to path found in filesystem as its sometimes inaccurate too early

11 years agoMerge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Mon, 21 Dec 2009 22:39:28 +0000 (23:39 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries

11 years agocheck if squashfs version is > 4
vimacs [Mon, 21 Dec 2009 22:38:53 +0000 (23:38 +0100)]
check if squashfs version is > 4
modified:   testdata/scripts/pnd_make.sh

11 years agoDEbugging :/
skeezix [Mon, 21 Dec 2009 20:41:13 +0000 (15:41 -0500)]
DEbugging :/

11 years agoAdded a flush option to pnd_log, which makes log-to-stdout useful
skeezix [Mon, 21 Dec 2009 18:13:50 +0000 (13:13 -0500)]
Added a flush option to pnd_log, which makes log-to-stdout useful

11 years agoAdded Comment= to .desktop emitted files, if description_en is present
skeezix [Mon, 21 Dec 2009 17:33:28 +0000 (12:33 -0500)]
Added Comment= to .desktop emitted files, if description_en is present
Switched up category handling code, so it just blindly copies categories from PXML.xml to .desktop

11 years agoUNTESTED
skeezix [Mon, 21 Dec 2009 16:58:47 +0000 (11:58 -0500)]
UNTESTED
pndevmapperd -
  - added power button option
  - through in a naive try at catching the lid open/close

11 years agodoh..
vimacs [Sat, 19 Dec 2009 02:53:15 +0000 (03:53 +0100)]
doh..
modified:   testdata/scripts/pnd_make.sh

11 years agoMerge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Sat, 19 Dec 2009 02:43:21 +0000 (03:43 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries

11 years agoAdded a spin-delay at start of pndnotifyd so in theory it will wait until a user...
skeezix [Sat, 19 Dec 2009 03:27:35 +0000 (22:27 -0500)]
Added a spin-delay at start of pndnotifyd so in theory it will wait until a user logs in; this possibly could solve the problem where sometimes pndnotifyd doesn't emit .desktops
extended evmapperd to not spam-execute script (configurable minimum separation time between runs)
extended evmapperd to pass the hold-time of key to script as first argument (argv[1], since argv[0] is job name)

11 years agoforgot to add c to getopt
vimacs [Sat, 19 Dec 2009 02:42:49 +0000 (03:42 +0100)]
forgot to add c to getopt
modified:   testdata/scripts/pnd_make.sh