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