pandora-libraries.git
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

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

11 years agoFix; introduced a core-dump that will occur when SD is not in place.
skeezix [Thu, 17 Dec 2009 19:53:29 +0000 (14:53 -0500)]
Fix; introduced a core-dump that will occur when SD is not in place.

11 years agoForgot to add a deployment conf
skeezix [Thu, 17 Dec 2009 18:58:08 +0000 (13:58 -0500)]
Forgot to add a deployment conf

11 years agoAdded basic and UNTESTED pndevmapperd to catch key events and invoke scripts
skeezix [Thu, 17 Dec 2009 18:54:48 +0000 (13:54 -0500)]
Added basic and UNTESTED pndevmapperd to catch key events and invoke scripts

TODO:
  - handle lid open/close events (toggle screen)
  - get it added to init scripts and image
  - handle keys .. menu -> popmenu script, key lock (?) -> toggle power mode
  - does it work at all?

11 years agoAdded an extra log line; could be useful if you're sitting around watching logs
skeezix [Thu, 17 Dec 2009 04:12:42 +0000 (23:12 -0500)]
Added an extra log line; could be useful if you're sitting around watching logs

11 years agoUNTESTED on device!
skeezix [Thu, 17 Dec 2009 04:11:01 +0000 (23:11 -0500)]
UNTESTED on device!

Put in a workaround for the inotify being out in space issue, maybe. At least,
pndnotifyd will try inotify and see if it notices anything; if so, continues,
otherwise bitches.

11 years agoIn the last couple checkins, introduced a bug where when a SD is popped out
skeezix [Thu, 17 Dec 2009 03:27:39 +0000 (22:27 -0500)]
In the last couple checkins, introduced a bug where when a SD is popped out
the icons are not removed from desktop. That'll teach me to out-clever myself.

11 years agoslim > slim-init
vimacs [Thu, 17 Dec 2009 02:34:18 +0000 (03:34 +0100)]
slim > slim-init
modified:   testdata/scripts/pnd_run.sh
modified:   testdata/sh/sudoers

11 years agoFixed a bad desktop conf for deployment
skeezix [Tue, 15 Dec 2009 20:49:59 +0000 (15:49 -0500)]
Fixed a bad desktop conf for deployment

11 years agoAdd a couple things to TODO list so I don't forget (TODO.txt)
skeezix [Tue, 15 Dec 2009 16:05:48 +0000 (11:05 -0500)]
Add a couple things to TODO list so I don't forget (TODO.txt)
Remove some inaccurate comments from pndnotifyd

11 years agoAdded basic emit_icon_to_buffer() routine for cpasjuste; you must free its return...
skeezix [Tue, 15 Dec 2009 15:50:59 +0000 (10:50 -0500)]
Added basic emit_icon_to_buffer() routine for cpasjuste; you must free its return on your own

11 years agoFixed mounting of .pnd on /
vimacs [Sat, 12 Dec 2009 14:19:59 +0000 (15:19 +0100)]
Fixed mounting of .pnd on /
Changed gdm to slim
Updated sudoers
modified:   testdata/scripts/pnd_run.sh
modified:   testdata/sh/sudoers

11 years agoNow detects fs appdata is on and only uses noplink aufs option if its vfat
vimacs [Fri, 11 Dec 2009 20:25:05 +0000 (21:25 +0100)]
Now detects fs appdata is on and only uses noplink aufs option if its vfat
modified:   testdata/scripts/pnd_run.sh

11 years agoAdded noplink option to aufs, changed losetup to /sbin/losetup
vimacs [Fri, 11 Dec 2009 19:44:30 +0000 (20:44 +0100)]
Added noplink option to aufs, changed losetup to /sbin/losetup
Should check fs where appdata folder is on and only use noplink if apropiate
modified:   testdata/scripts/pnd_run.sh

11 years agoMerge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Sun, 15 Nov 2009 05:33:00 +0000 (06:33 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries

11 years agoLeast interesting change ever (testdata/conf/apps so notify path includes testdata...
skeezix [Wed, 9 Dec 2009 04:29:19 +0000 (23:29 -0500)]
Least interesting change ever (testdata/conf/apps so notify path includes testdata/menuapps)

11 years agoMisc little fixes of last commits; ie: change interval to 5s default instead of 10
skeezix [Wed, 9 Dec 2009 04:21:42 +0000 (23:21 -0500)]
Misc little fixes of last commits; ie: change interval to 5s default instead of 10
- change 'apps.autodiscovery.searchpath' to be 'everything' (desktop/menu and apps from prior to recent changes), just to make sure pmenu gets it all
- point deployment menu to correct folder

11 years agoFix path for desktop-conf; ie: icons for menu can cache in the same place as .desktop
skeezix [Tue, 8 Dec 2009 21:54:23 +0000 (16:54 -0500)]
Fix path for desktop-conf; ie: icons for menu can cache in the same place as .desktop

11 years agoHacked around pndnotifyd so it supports two sets of paths now -- menu path and deskto...
skeezix [Tue, 8 Dec 2009 21:35:19 +0000 (16:35 -0500)]
Hacked around pndnotifyd so it supports two sets of paths now -- menu path and desktop path
ie: apps are now in SD /pandora/desktop and /pandora/menu and go to their configured .desktop emit paths
TODO: fix up discotest and conftest to not look for apps.autodiscovery.searchpath but left it in for now

11 years ago Removed a c&p error
vimacs [Sun, 15 Nov 2009 05:30:59 +0000 (06:30 +0100)]
Removed a c&p error
modified:   pnd_make.sh

11 years ago Fixed proper umounting
vimacs [Sun, 15 Nov 2009 02:05:08 +0000 (03:05 +0100)]
Fixed proper umounting
changed the way the loop device is determined
Some cleanup
sometimes a loop device remains active, got to find out why still
modified:   testdata/scripts/pnd_run.sh

11 years agoMerge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Sun, 15 Nov 2009 00:02:53 +0000 (01:02 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries

11 years agoAnothe rminor typo; damn, I must've had a bad day when I refactored this :)
skeezix [Fri, 20 Nov 2009 18:59:04 +0000 (13:59 -0500)]
Anothe rminor typo; damn, I must've had a bad day when I refactored this :)

11 years agoFixed typo in pnd_device.h; thanks cpas :)
skeezix [Fri, 20 Nov 2009 18:19:24 +0000 (13:19 -0500)]
Fixed typo in pnd_device.h; thanks cpas :)

11 years agoAdded pnd_run to 'make deploy' target
skeezix [Mon, 16 Nov 2009 17:11:35 +0000 (12:11 -0500)]
Added pnd_run to 'make deploy' target
Added an error comment to pnd_run

11 years agoAdded pnd_run binary app for invoking a pndfile by path; the app will figure out...
skeezix [Mon, 16 Nov 2009 16:51:22 +0000 (11:51 -0500)]
Added pnd_run binary app for invoking a pndfile by path; the app will figure out the PXML.xml and launch params and such just as if run via pndnotidyd etc, so handy for command line launches.
App also runs from arbitrary path, pndfile does not need to be in a searchpath.

11 years ago new file: testdata/scripts/pnd_button.sh
vimacs [Sun, 15 Nov 2009 00:00:40 +0000 (01:00 +0100)]
new file:   testdata/scripts/pnd_button.sh
take care of menu button
Added -c to create squashfs pnd
Now also eats squashfs

11 years ago modified: genpxml.sh
vimacs [Sat, 14 Nov 2009 23:10:33 +0000 (00:10 +0100)]
modified:   genpxml.sh

11 years agopndnotifyd now uses pnd_logger to do its printf madness; cleans up the code nicely.
skeezix [Thu, 12 Nov 2009 20:06:55 +0000 (15:06 -0500)]
pndnotifyd now uses pnd_logger to do its printf madness; cleans up the code nicely.
pndnotifyd now will look in 'apps' config for pndnotifyd.loglevel to set logging level, which
is otherwise default to '1' now. (0 includes debug info as well.)
Also added a couple things to pnd_logger

11 years agoAdded a rudimentary yet very easy to use logger; can log to one or more targets at...
skeezix [Thu, 12 Nov 2009 18:56:55 +0000 (13:56 -0500)]
Added a rudimentary yet very easy to use logger; can log to one or more targets at once, and honours level filtering

11 years agoAdded desc-en and preview-pic[12] to the discovery struct; man, we need to improve...
skeezix [Wed, 11 Nov 2009 15:20:13 +0000 (10:20 -0500)]
Added desc-en and preview-pic[12] to the discovery struct; man, we need to improve that whole disco-t thing someday :)

11 years agospit out PXML.xml into pnd folder
vimacs [Wed, 11 Nov 2009 12:45:58 +0000 (13:45 +0100)]
spit out PXML.xml into pnd folder
modified:   pnd_make.sh

11 years agoMerge branch 'master' of git://git.openpandora.org/pandora-libraries
vimacs [Mon, 9 Nov 2009 21:36:19 +0000 (22:36 +0100)]
Merge branch 'master' of git://git.openpandora.org/pandora-libraries

11 years agoFixed stupid error that prevented -m and -u to work without -e
vimacs [Mon, 9 Nov 2009 21:34:15 +0000 (22:34 +0100)]
Fixed stupid error that prevented -m and -u to work without -e
modified:   pnd_run.sh

11 years agoSome more cleaning and commenting, "check" some params.
vimacs [Mon, 2 Nov 2009 23:33:28 +0000 (00:33 +0100)]
Some more cleaning and commenting, "check" some params.
modified:   pnd_run.sh

11 years agoSome cleanup in pnd_run, removed zip support and mounting without union
vimacs [Mon, 2 Nov 2009 01:52:50 +0000 (02:52 +0100)]
Some cleanup in pnd_run, removed zip support and mounting without union
also added some comments
modified:   pnd_run.sh

11 years agoSet permissions for appdata folder
vimacs [Sun, 1 Nov 2009 16:49:27 +0000 (17:49 +0100)]
Set permissions for appdata folder
modified:   pnd_run.sh
modified:   ../sh/sudoers

11 years agoSome more cleanup after closing a pnd, /pandora/appdata now gets removed as well...
vimacs [Sun, 1 Nov 2009 16:27:38 +0000 (17:27 +0100)]
Some more cleanup after closing a pnd, /pandora/appdata now gets removed as well if empty
modified:   pnd_run.sh
modified:   sudoers

11 years agoCleaned up the init script a bit
vimacs [Sun, 1 Nov 2009 14:47:53 +0000 (15:47 +0100)]
Cleaned up the init script a bit
modified:   pndnotifyd

11 years agoEdited sudoers once more, duh
vimacs [Sat, 31 Oct 2009 21:09:03 +0000 (22:09 +0100)]
Edited sudoers once more, duh
modified:   sudoers

11 years agoUpdated sudoers to work with latest scripts
vimacs [Sat, 31 Oct 2009 21:01:17 +0000 (22:01 +0100)]
Updated sudoers to work with latest scripts
modified:   sudoers

11 years agoUpdated support scripts
user [Sat, 31 Oct 2009 20:49:05 +0000 (21:49 +0100)]
Updated support scripts
modified:   genpxml.sh
modified:   pnd_make.sh
modified:   pnd_run.sh

11 years agoFixed a memleak I recently added
skeezix [Sun, 11 Oct 2009 12:45:31 +0000 (08:45 -0400)]
Fixed a memleak I recently added

11 years agoRemove dependancy on pnd_keytype.h since it stinks :)
skeezix [Sat, 10 Oct 2009 23:32:37 +0000 (19:32 -0400)]
Remove dependancy on pnd_keytype.h since it stinks :)

11 years agoTurn bitmask into discrete array refs; thats how code was before I cleaned it up...
skeezix [Sat, 10 Oct 2009 22:51:08 +0000 (18:51 -0400)]
Turn bitmask into discrete array refs; thats how code was before I cleaned it up and bugged it.
Really would love to remove those global vars and convert it to a bitmask, but another day

11 years agoAdded pnd_io_gpio.[ch] and pnd_keytype_h and updated Makefile -- inhale some cpasjust...
skeezix [Sat, 10 Oct 2009 22:44:25 +0000 (18:44 -0400)]
Added pnd_io_gpio.[ch] and pnd_keytype_h and updated Makefile -- inhale some cpasjuste raw IO code
-- should save peopel writing their own code, or perhaps they can model code after this.
-- its a little goofy, but what can you say .. clean it up later

11 years agoUpdating to vimacs current pair of scripts - genpxml and pnd_make
skeezix [Sat, 10 Oct 2009 16:49:09 +0000 (12:49 -0400)]
Updating to vimacs current pair of scripts - genpxml and pnd_make

11 years agoNumerous fixes and changes
skeezix [Sat, 10 Oct 2009 15:45:38 +0000 (11:45 -0400)]
Numerous fixes and changes
- a fix to invokers of the pnd_locate_filename function; you must strdup() the result .. otherwise multiple invocations will
  return the same buffer, and thus all references will change simultaneously
- nohup is only put into Exec= line .desktop if it is also a no-x11 app (most apps should be x11 I imagine, using SDL?)
- Icons for .desktops can be placed anywhere; path is configured .. 'iconpath' key; nolonger assumed to be same location
  as .desktop's go to
- updated config files to include iconpath (test goes to testdata/dotdesktop for now); production goes to /tmp for now
- updated config files so .desktop goes to ~/Desktop for production
- updated config files to comment out pnd_hup script, as xfce appears not to need it. (it may be re-enabled should we switch WMs)

11 years agoexpand_tilde in pnd_utility now understands that ~ actually maps to the logged in...
skeezix [Sat, 10 Oct 2009 14:30:46 +0000 (10:30 -0400)]
expand_tilde in pnd_utility now understands that ~ actually maps to the logged in users homedir --
ie: In the event pndnotifyd is run as root from init/etc, and finds ~ in the dot-desktop emit path,
it should figure out tha actual user's homedir, not roots.

NOTE: This is for expand-tilde and not functions that depend on wordexp() -- ie: searchpaths, where
~ would be a standard shell expansion for the user who ran the job

11 years agoAdded in rudimentary category support for dotdesktop file emitting; ie: PXML's catego...
skeezix [Sat, 10 Oct 2009 08:50:37 +0000 (04:50 -0400)]
Added in rudimentary category support for dotdesktop file emitting; ie: PXML's category will pass through a new config file that attempts to map them to a freedesktop standard category
Also included some possibly sensible defaults for categories
Fixed a hard to spot parsing bug in pnd_tinyxml (& instead of |, bad dflem ;) so categories are pulled in correctly now
- really, we should fix up the pxml struct (and disco struct) to have trees instead of fixedcount fields
- really really, we should fix disco-t to be derived from pxml-t to avoid the duplication; when it was simpler I thought it was a good idea to separate disco and pxml structures, but they're too fat now :/

11 years agoBringing in patches from cpasjuste
skeezix [Fri, 9 Oct 2009 18:49:04 +0000 (14:49 -0400)]
Bringing in patches from cpasjuste

11 years agoMoved path determination to pnd_apps (more likely people will see it, and makes sense...
skeezix [Wed, 10 Jun 2009 09:25:02 +0000 (05:25 -0400)]
Moved path determination to pnd_apps (more likely people will see it, and makes sense.) Could also be
pnd_utility maybe, but meh.
Made get_ro_mountpoint and get_appdata_path for clarifying the two mountpoints.. 99% will want
get_appdata_path

11 years agoRefreshed pnd_run and sudoers scripts from wiki
skeezix [Wed, 10 Jun 2009 05:44:42 +0000 (01:44 -0400)]
Refreshed pnd_run and sudoers scripts from wiki
Added support for 'no_x11' option in PXML.xml (and subsequently in emit_dotdesktop and pnd_apps_exec)
-> untested
Added pnd_pnd_mount and pnd_pnd_unmount in pnd_pndfiles, so apps can mount and find screenshots and such
-> untested
Added basic validator app (doesn't do anything, we need to add some regexp's in there!)
Added some new element names in pnd_pxml_names etc for the tinyxml parser

11 years agoAdded basic pndvalidator app, though it doesn't actually validate anyone. <- fill...
skeezix [Wed, 10 Jun 2009 03:16:21 +0000 (23:16 -0400)]
Added basic pndvalidator app, though it doesn't actually validate anyone. <- fill me in please ;)
Added <package name="foo" released="bar"/> to PXML parser

11 years agoInitial import of the Matchbox/GTK theme for the GUI elements.
David-John Willis [Wed, 20 May 2009 13:01:41 +0000 (14:01 +0100)]
Initial import of the Matchbox/GTK theme for the GUI elements.

11 years agoEdit Makefile
David-John Willis [Mon, 18 May 2009 15:19:31 +0000 (16:19 +0100)]
Edit Makefile

12 years agoRemoved -n (no union) from .desktop Exec
skeezix [Wed, 1 Apr 2009 13:57:28 +0000 (09:57 -0400)]
Removed -n (no union) from .desktop Exec

12 years agoAdded -b UNIQUEID to both .desktop and to pnd_app_exec() -- why don't these two thing...
skeezix [Wed, 1 Apr 2009 13:55:10 +0000 (09:55 -0400)]
Added -b UNIQUEID to both .desktop and to pnd_app_exec() -- why don't these two things share common code?
Added /usr/bin/nohup to .desktop
Need to figure out when to use -x to pnd_run to kill X11

12 years agoAnd again
skeezix [Wed, 1 Apr 2009 13:23:45 +0000 (09:23 -0400)]
And again

12 years agoAdded CXX to Makefile to crosscompile should work right
skeezix [Wed, 1 Apr 2009 13:23:19 +0000 (09:23 -0400)]
Added CXX to Makefile to crosscompile should work right