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

15 years agoInitial commit of libpnd 0.0.5 so we cna restart with GIT
skeezix [Wed, 18 Feb 2009 13:50:22 +0000 (08:50 -0500)]
Initial commit of libpnd 0.0.5 so we cna restart with GIT