skeezix [Fri, 8 Mar 2013 04:17:53 +0000 (23:17 -0500)]
Make 'arguments' to file association properly optional
skeezix [Fri, 8 Mar 2013 04:05:38 +0000 (23:05 -0500)]
PXML support for file associations, and spitting out extra .desktop files for them, seems to work
Grazvydas Ignotas [Thu, 7 Mar 2013 16:06:09 +0000 (18:06 +0200)]
pnd_run.sh: add alternative way to pass args
skeezix [Wed, 6 Mar 2013 22:16:42 +0000 (17:16 -0500)]
file associations should more or less work; only filetype is honored in the <association> line.
skeezix [Wed, 6 Mar 2013 16:31:49 +0000 (11:31 -0500)]
Preliminary addition of mimetype handling for file associations; not yet tested much
Grazvydas Ignotas [Sun, 3 Mar 2013 01:17:36 +0000 (03:17 +0200)]
pnd_make.sh: support squashfs xz, fix -s arg
Grazvydas Ignotas [Sun, 3 Mar 2013 01:11:34 +0000 (03:11 +0200)]
pnd_run.sh: restore fb0 layer config too
Grazvydas Ignotas [Sat, 2 Mar 2013 20:41:57 +0000 (22:41 +0200)]
pnd_run.sh: override more xdg paths
Grazvydas Ignotas [Sat, 2 Mar 2013 19:57:03 +0000 (21:57 +0200)]
pnd_run.sh: restore fb0 too
skeezix [Fri, 18 May 2012 01:56:15 +0000 (21:56 -0400)]
mmenu: introduced artificial delay after SD event (ins/eject); mmenu is racing against pndnotifyd
and if mmenu wakes up first, then the lockfile is not yet present and mmenu sees minimal changes..
so if we make mmenu wait a second or two then almost certainly pndnotifyd should have awoken and
set up its lockfile. (Another option is to tweak pndnotifyd to wake up more often, but I prefer
not to bother that application as it is omnipresent .. lets avoid introducing cpu leach.)
skeezix [Fri, 18 May 2012 01:30:57 +0000 (21:30 -0400)]
mmenu: separate /pandora/mmenu scan from pnd-scan per se .. so if .desktop is scan, and .pnd is not, but an aux-pnd searchpath is defined
then attempt to pnd-disco there (regardless of .pnd scan being disabled otherwise.) This will restore expected functionality from previous
(pre-.desktop scan) releases, and generalyl will not bother anyone (few use 'mmenu' specific apps anyway.) For people who do use it, it'll
start working again, though not quite as fast as a pure .desktop scan (since there are no .desktop's for the mmenu-specific pnds, by definition.)
skeezix [Thu, 10 May 2012 21:19:37 +0000 (17:19 -0400)]
evmapperd: Added preliminary support for HOLD key
skeezix [Tue, 28 Feb 2012 20:58:04 +0000 (15:58 -0500)]
libpnd; fix for docs ("info") in pnds, being emitted into .desktops for mmenu sake
skeezix [Tue, 28 Feb 2012 20:32:37 +0000 (15:32 -0500)]
mmenu; larger font in list view; added to config file and config menu; default folders
skeezix [Mon, 27 Feb 2012 22:20:00 +0000 (17:20 -0500)]
mmenu; in list view, properly handle icon on demand loading
skeezix [Mon, 27 Feb 2012 22:07:14 +0000 (17:07 -0500)]
mmenu: Looks like I forgot to make it togglable.. adding that in quick
skeezix [Mon, 27 Feb 2012 22:00:47 +0000 (17:00 -0500)]
mmenu: Mostly untested; pushing in list-view changes so porg/pmprog can fiddle easier :)
Nils Kneuper [Thu, 23 Feb 2012 16:20:56 +0000 (17:20 +0100)]
Changed the osversion to only accept nonNegativeInteger (in the schema).
This make checking via scripts that allow "equal" or "less than"
comparisions more easy (or possible at all...).
Grazvydas Ignotas [Fri, 10 Feb 2012 22:56:51 +0000 (00:56 +0200)]
pndevmapperd: trigger non-hold key events on keydown
just got annoyed by unresponsive brightness controls
skeezix [Tue, 31 Jan 2012 20:31:27 +0000 (15:31 -0500)]
mmenu: Fixing bug in custom category management
skeezix [Sat, 28 Jan 2012 01:34:34 +0000 (20:34 -0500)]
Fix for bug that cropped up in recent changes; no apps at all should be fine, just useless :) Specifically, no _tabs_ should be fine.
Grazvydas Ignotas [Sat, 14 Jan 2012 23:19:36 +0000 (01:19 +0200)]
pndevmapperd: support multiple charge devices
needed by the new kernel.
skeezix [Fri, 13 Jan 2012 04:51:55 +0000 (23:51 -0500)]
Slightly better locking, but mostly .. minimenu on first boot will pick up icons now, instead of ignoring most of them for being 'too new'
skeezix [Thu, 12 Jan 2012 21:53:22 +0000 (16:53 -0500)]
Preliminary stab at app scan locking; pndnotifyd creates logfile /tmp/whatever and minimenu watches out for it
mmenu will ignore 'old' lockfile (2 minutes or more), and for recent lockfile (<2mins) it will check every half second
for up to 20 times (10 seconds)
mmenu is configured in mmenu.conf so these settings can be fiddled with
skeezix [Thu, 12 Jan 2012 19:30:03 +0000 (14:30 -0500)]
Lame little fix in case of lazy consumer code
skeezix [Thu, 12 Jan 2012 04:21:40 +0000 (23:21 -0500)]
Attempting fix for latest mmenu beta (using .desktop loading) not exec'ing some pnd applications.
I think -s was botched, and some attributes not used (cpu speed), which have been fixed/added now,
using additional X-Pandora attributes to avoid 'guesswork'
Michael Mrozek [Sat, 7 Jan 2012 02:21:20 +0000 (03:21 +0100)]
Makefile: Fixed wrong directory for new skin
Michael Mrozek [Sat, 24 Dec 2011 16:39:32 +0000 (17:39 +0100)]
MiniMenu Makefile: Added new skin (clean), WIP
Michael Mrozek [Sat, 24 Dec 2011 16:16:54 +0000 (17:16 +0100)]
minimenu/skin/clean: Added a new skin (WIP)
Nils Kneuper [Thu, 22 Dec 2011 11:00:32 +0000 (12:00 +0100)]
improve text about examples since the old wiki page skeezix created is
*not* the best source to get examples (at least when looking at all of
the page...)
sebt3 [Wed, 23 Nov 2011 17:37:07 +0000 (12:37 -0500)]
Modified the makefile to link using g++ when linking with stdc++ on aTc request
skeezix [Tue, 22 Nov 2011 22:32:28 +0000 (17:32 -0500)]
Change default mmenu config so as to skip auto loading icons, but load visible
skeezix [Tue, 22 Nov 2011 22:31:44 +0000 (17:31 -0500)]
If load-icons-later is 2, then will skip auto loading icons entirely
skeezix [Tue, 22 Nov 2011 22:15:39 +0000 (17:15 -0500)]
Added new mmenu.conf option, to have mmenu load all visible icons as needed; combine with load defered means icons will load in background, but visible ones loaded before render
skeezix [Thu, 10 Nov 2011 16:42:10 +0000 (11:42 -0500)]
mmenu; on shutdown, stores conf file (for last app/cat sake.)
Grazvydas Ignotas [Thu, 10 Nov 2011 13:26:47 +0000 (15:26 +0200)]
pnd_run: mount squashfs and isofs as readonly
otherwise kernel opens pnds as writable and pndnotifyd gets
unwanted IN_CLOSE_WRITE event on exit, which causes a rescan and
.desktop regeneration (slow thing).
Not to mention those filesystems are readonly anyway.
skeezix [Wed, 9 Nov 2011 21:26:04 +0000 (16:26 -0500)]
mmenu; fixed .desktop and pnd scans differing apps found; .desktop was missing /usr/pandora/mmenu for mmenu specific firmware built in apps; also, was
accidentally including bad categories, where pnd-scan filters them out. As of now, app listings between .desktop and pnd-scan should be more or less
the same, unless purposefully different through various nefarious means
skeezix [Wed, 9 Nov 2011 20:15:19 +0000 (15:15 -0500)]
mmenu; actually handle remembering app when in a pnd subcat virtual folder
skeezix [Wed, 9 Nov 2011 19:44:43 +0000 (14:44 -0500)]
Can now remember last app run, so on return to mmenu it jumps right back there
--> defaults to _yes_, but used to be _no_, so people need to reset conf in the menu
or toggle it to Yes; a reflash or new users will default to yes
skeezix [Fri, 4 Nov 2011 19:23:12 +0000 (15:23 -0400)]
libpnd: when parsing .desktop, ignore files that are info.desktop files
libpnd: include more X-Pandora attributes in .desktop, to make parsing easier
skeezix [Fri, 4 Nov 2011 18:36:59 +0000 (14:36 -0400)]
mmenu: background loading icons works nicely .. pretty fast, doesn't impact user speed much
conf: setting bg icon loading to default on in the deployment mmenu.conf
conf: did not yet set default to loading .desktops, still using .pnd for mmenu discovery .. overall a net speedup due to bg icon load, but even faster with .desktop
skeezix [Thu, 3 Nov 2011 17:38:13 +0000 (13:38 -0400)]
mmenu can now load .desktops (better at libpnd generated ones)
default is to only accept libpnd origin .desktops
skeezix [Thu, 3 Nov 2011 01:39:57 +0000 (21:39 -0400)]
Allow parse_dotdesktop() to mark libpnd origin or not, and convenience filter to ditch non-libpnd ones
skeezix [Wed, 2 Nov 2011 21:13:30 +0000 (17:13 -0400)]
Added basic libpnd function to scan a .desktop and create a disco-t from it
skeezix [Mon, 31 Oct 2011 15:20:49 +0000 (11:20 -0400)]
excerpt of a rant to me by Craig:
"No, you and your Lintard friends destroyed everything the Pandora could
have been, as you well know there were complex plans to make it as
revolutionary in function as it was in design, but you lintarded it up to
be a pile of shit."
---> ahh, so good to work for free under this sort of leadership ;)
sebt3 [Sat, 1 Oct 2011 15:32:54 +0000 (11:32 -0400)]
Added package tags support
sebt3 [Sun, 25 Sep 2011 12:27:32 +0000 (08:27 -0400)]
restore the framebuffer status on PND exit
Hide $HOME into $REAL_HOME
Cloudef [Tue, 30 Aug 2011 13:12:15 +0000 (16:12 +0300)]
Fix leaks on discovery test
Cloudef [Wed, 31 Aug 2011 14:53:22 +0000 (17:53 +0300)]
Fix even more leaks
Cloudef [Tue, 30 Aug 2011 12:11:14 +0000 (15:11 +0300)]
Add version && package version support to discovery
Grazvydas Ignotas [Sat, 27 Aug 2011 13:56:04 +0000 (16:56 +0300)]
get rid of EOL spaces
Some editors remove them automatically, and people start sending patches
with such changes mixed in the patch with actual changes, which makes
those patches hard to review, so let's just sed out those spaces.
Cloudef [Sun, 7 Aug 2011 22:53:15 +0000 (01:53 +0300)]
Fix leaks on libpnd
Grazvydas Ignotas [Thu, 4 Aug 2011 22:37:22 +0000 (01:37 +0300)]
pndevmapperd: add unexpected charge stop workaround
My machine in some real rare cases (once a week or so) just stops
charging without any good reason. What helps here is replugging
the charger or writing to a chip charge register, so we do the later
indirectly every 20 minutes as a workaround.
There have been similar reports in the forums, where user leaves
the machine charging overnight and finds flat battery in the morning,
so hopefully this will help them too.
Grazvydas Ignotas [Thu, 4 Aug 2011 22:24:26 +0000 (01:24 +0300)]
pndevmapperd: don't do charge control too often
when led blinking is going on sigalrm_handler is called quite often,
and we don't want to bother kernel with this that much.
Grazvydas Ignotas [Thu, 4 Aug 2011 22:09:29 +0000 (01:09 +0300)]
pndevmapperd: don't blink when charging up
there is no point attracting attention when charging up,
if bat is still low (I even find it annoying).
Grazvydas Ignotas [Mon, 20 Jun 2011 20:23:08 +0000 (23:23 +0300)]
pndevmapperd: add basic charge control
Battery monitor thread now will also do charger control using
the new on/off switch provided by kernel:
- turn on charging when capacity goes below certain configured threshold
- turn it off when it reaches configured capacity AND charge current
goes below configured threshold.
Using initial threshold from David Goldsmith.
sebt3 [Mon, 13 Jun 2011 13:34:31 +0000 (09:34 -0400)]
Merge branch 'master' of ssh://openpandora.org/srv/git/pandora-libraries
sebt3 [Mon, 13 Jun 2011 13:29:54 +0000 (09:29 -0400)]
add /sbin/ to each losetup call as it seems to be missing from root PATH when sudo-ing.
Michael Mrozek [Wed, 8 Jun 2011 01:47:18 +0000 (03:47 +0200)]
/conf/desktop: Changed document viewer to links
skeezix [Tue, 7 Jun 2011 16:02:20 +0000 (12:02 -0400)]
Bloody off-by-1 error for a malloc, leading to ever-so-slight memory corruption. (caused 'arg' argument to randomly show up in 'info links' .desktop's)
Michael Mrozek [Tue, 7 Jun 2011 10:28:35 +0000 (12:28 +0200)]
/conf/desktop: Changed default documentation viewer to links
sebt3 [Thu, 2 Jun 2011 23:24:45 +0000 (19:24 -0400)]
Forgot a "fi" !!!
sebt3 [Thu, 2 Jun 2011 22:02:58 +0000 (18:02 -0400)]
Fix issues :
- /mnt/pnd was used by some pnds, so it now create a symlink there
- Space in appdata
- PND started from a symlinked directory
sebt3 [Thu, 26 May 2011 21:17:07 +0000 (17:17 -0400)]
Updated pnd_run.sh with the version planned for HF6
skeezix [Tue, 24 May 2011 15:10:13 +0000 (11:10 -0400)]
Patch from Cloudef to add very basic support for 'package' PXML tags
skeezix [Wed, 18 May 2011 01:35:43 +0000 (21:35 -0400)]
Conf to allow Menu to scan root of SD, and one sublevel of root
skeezix [Wed, 18 May 2011 01:33:29 +0000 (21:33 -0400)]
Added 'depth limit' option to pnd_disco searchpaths, so can search recursively forever, or be told how far max to go
Nils Kneuper [Wed, 9 Mar 2011 23:31:00 +0000 (00:31 +0100)]
adjust pnd_make.sh to make use of the new file (setting the
folder/author correctly)
Nils Kneuper [Wed, 9 Mar 2011 23:28:59 +0000 (00:28 +0100)]
new genpxml.sh from sebt3 with slight modifications
this script does not generate pxml files that can be validated with the
schema (yet), but at least it *does* generate some sane stuff...
skeezix [Wed, 9 Mar 2011 16:54:32 +0000 (11:54 -0500)]
libpnd; header and body for get_description() were a little out of sync; header was correct, so added wrapper function to body so as to match header, without removing the inconsistent existing function (on the off chance some app is using it.) We can deprecate it later if we like.
skeezix [Wed, 9 Mar 2011 16:50:15 +0000 (11:50 -0500)]
libpnd; supporting newer <titles> and <descriptions> blocks (with backwards compat for existing <title> and <description> series)
Nils Kneuper [Tue, 8 Mar 2011 13:42:25 +0000 (14:42 +0100)]
mark the restored scripts as executable
Nils Kneuper [Tue, 8 Mar 2011 13:41:02 +0000 (14:41 +0100)]
updated pnd_make.sh based on comments from the ML and irc:
* use genpxml.sh and the schema from the dir in which pnd_make.sh is if
* no param is supplied
* check if a PXML file was actually created during the genpxml step
* add some checks for required programs (iso and squashfs stuff)
* add some more sanity checks including aborts if an error was detected
* add missing help info for the param --genpxml
* add comment at the top of the file mentioning what the file is about
* fix various typos
Nils Kneuper [Sun, 6 Mar 2011 01:05:59 +0000 (02:05 +0100)]
new pnd_make.sh with many changes (but still compatible when usign the
old commands). Changelog:
* Add decent argument parsing.
* Add support for schema validation.
* Add support for additional switches:
--genpxml define the script to be used to generate a pxml file
--schema define the schema file to be used
* Add colored output.
* General cleanup.
Nils Kneuper [Sat, 5 Mar 2011 19:35:09 +0000 (20:35 +0100)]
New schema as discussed on the firmware-dev ml, cf this thread:
http://openpandora.org/pipermail/firmware-dev/2011-March/000056.html
Added updated examples
Michael Mrozek [Sat, 5 Mar 2011 01:15:44 +0000 (02:15 +0100)]
pandora-libraries: Readded needed scripts
Michael Mrozek [Tue, 22 Feb 2011 23:11:28 +0000 (00:11 +0100)]
Removed scripts from libpnd
skeezix [Tue, 22 Feb 2011 20:07:55 +0000 (15:07 -0500)]
libpnd; make pndvalidator slightly less useless.. can illustrate some pnd iteration
skeezix [Mon, 21 Feb 2011 21:14:05 +0000 (16:14 -0500)]
libpnd - inotify was catching all modifications instead of closed-writable files. Thanks to Demitar for the catch!
skeezix [Sun, 20 Feb 2011 04:02:58 +0000 (23:02 -0500)]
Added some notes to docs/PXML_schema_plaintext.txt to document its accuracy
skeezix [Sun, 20 Feb 2011 03:51:43 +0000 (22:51 -0500)]
Updated documentation (PXML_schema.xsd and human readable version) and genpxml.sh -- should pass PXML_schema.xsd
skeezix [Sun, 20 Feb 2011 03:37:07 +0000 (22:37 -0500)]
mmenu; when list custom subcats, show custom maincats and FD maincats-that-also-have-custom-subcats; when unregister subcats, same change
skeezix [Wed, 16 Feb 2011 16:30:38 +0000 (11:30 -0500)]
mmenu -- minor buglet when trying to create custom subcats for FD cats
skeezix [Wed, 16 Feb 2011 14:40:03 +0000 (09:40 -0500)]
Added folder-up and subfolder artwork to default skin, courtesy DaveC
skeezix [Wed, 16 Feb 2011 14:35:42 +0000 (09:35 -0500)]
Minor documentation change
skeezix [Sun, 13 Feb 2011 03:47:32 +0000 (22:47 -0500)]
mmenu; added Pick Skin and Manage Categories type options to Configure menu (still leaving them in Select root menu for now, but at least all in Configure now)
skeezix [Sun, 13 Feb 2011 03:28:09 +0000 (22:28 -0500)]
mmenu; fix for minor bug -- when 'do not show app in main cat, if it has subcats assigned', files with ovr that were in other for bad cat sake, and also have subcat, could get hidden. (see Abiword.) Fixed.
skeezix [Thu, 10 Feb 2011 21:18:26 +0000 (16:18 -0500)]
mmenu: set subcat-folder and dotdot-folder artwork back to something useful for release
skeezix [Thu, 10 Feb 2011 21:10:02 +0000 (16:10 -0500)]
mmenu: Split up folder artwork so skinners can have some fun; falls back to exising artwork conf-key
skeezix [Thu, 10 Feb 2011 20:30:39 +0000 (15:30 -0500)]
mmenu fix: don't allow blank cat names to be created; also, don't crash when subcat has same name as parent cat.
skeezix [Wed, 9 Feb 2011 21:21:17 +0000 (16:21 -0500)]
Merge branch 'master' of ssh://skeezixgit@git.openpandora.org/srv/git/pandora-libraries
skeezix [Wed, 9 Feb 2011 21:20:56 +0000 (16:20 -0500)]
mmenu; for ED, but not quite ready
skeezix [Wed, 9 Feb 2011 21:11:53 +0000 (16:11 -0500)]
mmenu: can now associate custom cats/subcats to an app; special exception -- you're allowed to register subcats for standard FD cats, may Crom have mercy on my soul
skeezix [Wed, 9 Feb 2011 18:21:12 +0000 (13:21 -0500)]
mmenu; nearly done support for custom categories; not quite done, but nearly.
Michael Mrozek [Wed, 9 Feb 2011 00:15:46 +0000 (01:15 +0100)]
op_power.sh: Changed the script so it uses op_cpuspeed.sh for setting
the CPU speed (system conform)
skeezix [Tue, 8 Feb 2011 20:22:49 +0000 (15:22 -0500)]
mmenu; fix 'reveal hidden' to work (broken in recent changes to category_publish() model of operation)
skeezix [Tue, 8 Feb 2011 19:53:17 +0000 (14:53 -0500)]
libpnd, mmenu: better handling of 'NoSubcategory' pseudo-subcategory in ovr files
skeezix [Tue, 8 Feb 2011 19:21:47 +0000 (14:21 -0500)]
mmenu; better handling where a suncategory name is available to multiple parent categories
skeezix [Tue, 8 Feb 2011 16:32:05 +0000 (11:32 -0500)]
libpnd: repaired bugs #128 and #150 from tracker, relating to pnd-discovery crashing when PXMLs had lots of <description> tags; realloc() miscalculation. Test cases now included in testdata/apps/sebt3*. Thanks Sebastian!
skeezix [Tue, 8 Feb 2011 14:44:17 +0000 (09:44 -0500)]
Added missing 'extern "C"' wrappers two pnd_io_* headers. Thanks crow!