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

14 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.

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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)

14 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

14 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

14 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

14 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

14 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

14 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

14 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 :)

14 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 :)

14 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

14 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.

14 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

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

14 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

14 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

14 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 :)

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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 :)

14 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

14 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

14 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

14 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)

14 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

14 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 :/

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

14 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

14 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

14 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

14 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.

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

15 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

15 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

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

15 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

15 years agoMerged in changes from dflemstr (thanks!)
skeezix [Wed, 25 Mar 2009 01:47:19 +0000 (21:47 -0400)]
Merged in changes from dflemstr (thanks!)
Fixed a couple NULLs in there (well fixed, or a quick hack to cover 'em up, whichever :)
Redid sample apps to use new PXML format so they actually provide info to discotest

15 years agorevert change to deployment conf (where .desktop files go)
skeezix [Fri, 13 Mar 2009 13:50:45 +0000 (09:50 -0400)]
revert change to deployment conf (where .desktop files go)

15 years agoAdded crosscompile env var to ar and ranlib too
skeezix [Sat, 7 Mar 2009 13:02:28 +0000 (08:02 -0500)]
Added crosscompile env var to ar and ranlib too

15 years agoFixed the init script to start/stop pndnotifyd for release
skeezix [Sat, 7 Mar 2009 11:19:35 +0000 (06:19 -0500)]
Fixed the init script to start/stop pndnotifyd for release

15 years agoBrought over pnd_hup.sh
skeezix [Sat, 7 Mar 2009 10:33:47 +0000 (05:33 -0500)]
Brought over pnd_hup.sh
Added CROSSCOMPILE env to gcc in hopes of making djw's life easier

15 years agoadded very basic docs for pndnotifyd
skeezix [Sat, 7 Mar 2009 07:00:37 +0000 (02:00 -0500)]
added very basic docs for pndnotifyd

15 years agoSlight config change
skeezix [Sat, 7 Mar 2009 06:47:49 +0000 (01:47 -0500)]
Slight config change

15 years agoCreated pnd_desktop.[ch] pair, to contain relocated dotdesktop and icon stuff
skeezix [Sat, 7 Mar 2009 06:43:14 +0000 (01:43 -0500)]
Created pnd_desktop.[ch] pair, to contain relocated dotdesktop and icon stuff
Relocated hup-script config key/default to pnd_desktop
Figured that app searchpath was being misused -- using for both app searchpath and notify searchpath, so
created new config entry for notify searchpath; ie: you might wish to notify on /media so that dirs
created by automount will be detected, but you may not wish to find .pnd files in that path (since it
recurses and would thus find apps on the entire SD card.)

15 years agoAdded support for a hup script; if the pnd.hupscript key is within the 'apps' config...
skeezix [Sat, 7 Mar 2009 06:09:00 +0000 (01:09 -0500)]
Added support for a hup script; if the pnd.hupscript key is within the 'apps' config, then after emitting .desktop files pndnotifyd will attempt to invoke the
hupscript, which could in turn hup the launcher application (to let it know to rescan)

Fiddled with re-setting-up-notifiers after autodiscovery (to handle newly mounted directories, in case user downloads an app on-device, or uses the shell, etc),
but led to some odd situations. (ie: shutting down and reopening the inotify fd seemed to cause it to immediately need a rescan, so could repeat 2 or 3 times..)

15 years agoMostly changes to pndnotify, to facilitate HUP to reload conf, and to add watches...
skeezix [Sat, 7 Mar 2009 04:59:14 +0000 (23:59 -0500)]
Mostly changes to pndnotify, to facilitate HUP to reload conf, and to add watches to newly found directories (and their subdirs)
Added backlight control to pnd_device as well as clock-get (all untested)
Added a free to pnd_notify to avoid leakage

15 years agoFix to support arg change in pnd_run.sh; applied previously to pnd_apps_exec(), but...
skeezix [Sat, 7 Mar 2009 03:36:08 +0000 (22:36 -0500)]
Fix to support arg change in pnd_run.sh; applied previously to pnd_apps_exec(), but forgot to do it here :(

15 years agoAdded globbing support for all searchpaths! (can now search /media/*/pandora/apps...
skeezix [Sat, 7 Mar 2009 03:22:56 +0000 (22:22 -0500)]
Added globbing support for all searchpaths! (can now search /media/*/pandora/apps say)
Altered Makefile to create media/mmcblk0p1 type dirs in the deployment directory; makes pndnotifyd life easier
Changed configs to allow for wildcards
Added second testdata appdir, to prove ./testdata/app? will pick up both dirs

15 years agoFix for utility
skeezix [Fri, 6 Mar 2009 05:18:06 +0000 (00:18 -0500)]
Fix for utility

15 years agoChanged deployment desktop conf to point to ~/.applications for .desktop
skeezix [Fri, 6 Mar 2009 04:37:03 +0000 (23:37 -0500)]
Changed deployment desktop conf to point to ~/.applications for .desktop

15 years agoAdded support for "~" expansion in the dotdesktop-path (and only in that place, in...
skeezix [Fri, 6 Mar 2009 04:35:28 +0000 (23:35 -0500)]
Added support for "~" expansion in the dotdesktop-path (and only in that place, in pndnotifyd)

15 years agoFix default paths for conf location
skeezix [Fri, 6 Mar 2009 03:40:07 +0000 (22:40 -0500)]
Fix default paths for conf location

15 years agoFixed bug where would crash during merge override PXML if no unique-id
skeezix [Fri, 6 Mar 2009 00:58:22 +0000 (19:58 -0500)]
Fixed bug where would crash during merge override PXML if no unique-id

15 years agoMerged updated scripts from vimacs, updated Makefile with some deployment rules
skeezix [Fri, 6 Mar 2009 00:40:20 +0000 (19:40 -0500)]
Merged updated scripts from vimacs, updated Makefile with some deployment rules

15 years agoSwitched -u to -n for pnd_run
skeezix [Wed, 25 Feb 2009 18:17:45 +0000 (13:17 -0500)]
Switched -u to -n for pnd_run
Made -u optional, now requires a flag ORed in to get it
Made rel_startdir optional
Made a few args required

15 years agoAdded a 'flags' arg to pnd_apps_exec
skeezix [Wed, 25 Feb 2009 18:06:49 +0000 (13:06 -0500)]
Added a 'flags' arg to pnd_apps_exec

Added option PND_EXEC_OPTION_BLOCK to require libpnd to hang until child process completes.

15 years agoFor fun, adding basic default Categories line to .desktop
skeezix [Wed, 25 Feb 2009 17:23:08 +0000 (12:23 -0500)]
For fun, adding basic default Categories line to .desktop

15 years agoFix for dotdesktop to match spec; need the proper [header] line
skeezix [Wed, 25 Feb 2009 17:16:18 +0000 (12:16 -0500)]
Fix for dotdesktop to match spec; need the proper [header] line

15 years agoupdated todo list
skeezix [Tue, 24 Feb 2009 05:27:23 +0000 (00:27 -0500)]
updated todo list

15 years agoSome fixes for startdir in .desktop
skeezix [Tue, 24 Feb 2009 05:15:52 +0000 (00:15 -0500)]
Some fixes for startdir in .desktop

15 years agoCouple optimizations --
skeezix [Tue, 24 Feb 2009 05:03:36 +0000 (00:03 -0500)]
Couple optimizations --

- when about to remove non-existant apps .desktop file, check if it has _Source=libpnd line in it.
  If not, leave it alone.. could be a bundled app, or user created or something
- when about to extract icons, if the file already exists, don't bother extracting it again

15 years agoAdded support for icon emiting from appdir's as well
skeezix [Tue, 24 Feb 2009 04:22:46 +0000 (23:22 -0500)]
Added support for icon emiting from appdir's as well
Added icon dump support better to discotest, and to pndnotifyd
icons are dumped out into dotdesktop dir with unique-id, same as .desktop file
in discotest and pndnotifyd case, the disco struct is edited to refer to the new icon location (on success of course)
As such .desktop now shows new icon, woowoo
NOTE: The icon file is not removed when the .desktop is .. leave icon behind for cache sake?

15 years agoSplit disco_t -> path_to_object into object_path and object_filename so it is more...
skeezix [Tue, 24 Feb 2009 03:58:45 +0000 (22:58 -0500)]
Split disco_t -> path_to_object into object_path and object_filename so it is more consistent, if a little more annoying to use :)
updated pnd_run which now uses sudo (needs edit to /etc/sudoers to work), now works nicely even as non-root!

15 years agoAdded basic icon support
skeezix [Tue, 24 Feb 2009 02:25:52 +0000 (21:25 -0500)]
Added basic icon support
discotest has it, not yet pndnotifyd
discotest can extract icon from pnd to /tmp
Almost there!

15 years agoAdded deployment directory with some possibly production conf's
skeezix [Mon, 23 Feb 2009 23:45:21 +0000 (18:45 -0500)]
Added deployment directory with some possibly production conf's
Added deploy make target to create deployment dir stuff
Added another sample pnd file (no icon), and added icon to the x86_ls sample
Added target 'pnd' that can make the sample pnd files

15 years agoFixed getopt in pnd_run.sh and eliminated unused var
skeezix [Mon, 23 Feb 2009 23:04:02 +0000 (18:04 -0500)]
Fixed getopt in pnd_run.sh and eliminated unused var

15 years agoAdded first stab of pnd exec support
skeezix [Mon, 23 Feb 2009 22:54:44 +0000 (17:54 -0500)]
Added first stab of pnd exec support
Fixed base path in auto-disco to drop PXML.xml portion (but keep .pnd portion)
Added pnd_apps.c/pnd_apps_exec()
.desktop file should have a useful Exec line in it now

15 years agoAdded base path to disco struct
skeezix [Mon, 23 Feb 2009 21:31:06 +0000 (16:31 -0500)]
Added base path to disco struct

15 years agoFixed up exec and icon paths
skeezix [Mon, 23 Feb 2009 21:20:38 +0000 (16:20 -0500)]
Fixed up exec and icon paths

15 years agomerge some cpas changes in for the PXML.[ch] fields
skeezix [Mon, 23 Feb 2009 21:06:05 +0000 (16:06 -0500)]
merge some cpas changes in for the PXML.[ch] fields

15 years agoMinor fix to tinyxml code
skeezix [Mon, 23 Feb 2009 20:57:05 +0000 (15:57 -0500)]
Minor fix to tinyxml code

15 years agodiscovery code now recognizes pnd files
skeezix [Mon, 23 Feb 2009 20:50:40 +0000 (15:50 -0500)]
discovery code now recognizes pnd files

Fixed a bunch of little bugs lieing around

Almost there.. just need to fix up the exec-paths in the .desktop files, and add icon support.. and see TODO.. *cry*

15 years agoSyncing up before merging in cpasjuste changes in pxml
skeezix [Mon, 23 Feb 2009 14:54:04 +0000 (09:54 -0500)]
Syncing up before merging in cpasjuste changes in pxml

15 years agoRe-apply a couple fixes that got lost somewhere .. memset after malloc in pnd_pxml...
skeezix [Thu, 19 Feb 2009 21:50:43 +0000 (16:50 -0500)]
Re-apply a couple fixes that got lost somewhere .. memset after malloc in pnd_pxml, and other things. Curious.

15 years agoFixed bug in pnd_notify that prevented 'mv' files in/out from working. Now
skeezix [Thu, 19 Feb 2009 21:30:05 +0000 (16:30 -0500)]
Fixed bug in pnd_notify that prevented 'mv' files in/out from working. Now
moving an app into watches will create/remove .desktop correctly

15 years ago'Fix'; chdir /tmp is a good idea, but currently I'm using relative paths a lot so...
skeezix [Thu, 19 Feb 2009 21:14:46 +0000 (16:14 -0500)]
'Fix'; chdir /tmp is a good idea, but currently I'm using relative paths a lot so that
breaks my testing, when in daemon mode. Worry about it later.

15 years agopndnotifyd should monitor dir, creating and removing appropriatee .desktop files
skeezix [Thu, 19 Feb 2009 21:08:51 +0000 (16:08 -0500)]
pndnotifyd should monitor dir, creating and removing appropriatee .desktop files

15 years agoAdded basic .desktop emit code
skeezix [Thu, 19 Feb 2009 19:33:28 +0000 (14:33 -0500)]
Added basic .desktop emit code

pndnotifyd is almost ready to spit out .desktops after changes in app searchpath!

15 years agoAdded pndnotifyd to monitor the dirs in the search-path; will be adding to it to...
skeezix [Thu, 19 Feb 2009 18:32:18 +0000 (13:32 -0500)]
Added pndnotifyd to monitor the dirs in the search-path; will be adding to it to emit .desktop files soon as well

15 years agoMinor edit
skeezix [Thu, 19 Feb 2009 15:43:20 +0000 (10:43 -0500)]
Minor edit

15 years agoAdded pnd_device.[ch] with basic clock setting support
skeezix [Wed, 18 Feb 2009 14:34:45 +0000 (09:34 -0500)]
Added pnd_device.[ch] with basic clock setting support

15 years agoEmpty file just sot GIT keeps the 'bin' directory.
skeezix [Wed, 18 Feb 2009 14:15:25 +0000 (09:15 -0500)]
Empty file just sot GIT keeps the 'bin' directory.