Paul Cercueil
84a987e9d5
When loading multiple OPKs, don't order links each time one is added
2013-07-19 12:50:20 -04:00
Paul Cercueil
69b9657af4
Add function openPackagesFromDir() to simplify constructor of Menu
2013-07-19 12:01:25 -04:00
Paul Cercueil
36c4205e0e
Don't try to read OPKs in /media/./apps and /media/../apps
2013-07-19 11:57:35 -04:00
Paul Cercueil
04d9d9322d
Remove trailing slash from CARD_ROOT
2013-07-19 11:54:09 -04:00
Paul Cercueil
5e7bcf3a1f
Remove all links of an "apps" dir when it is removed or renamed
2013-07-18 21:34:03 -04:00
Paul Cercueil
cc869c07a8
Fix link insertion/deletion when OPKs are overwritten from SSH/FTP
2013-07-18 21:27:27 -04:00
Paul Cercueil
bcb3e98ddc
Order the links in alphabetical order
2013-07-18 17:38:09 -04:00
Paul Cercueil
dfad7c39a7
Remove all links of an OPK when moved out of the monitored folder
...
It was previously removing only one link, but an OPK can provide
multiples links.
2013-07-18 16:29:56 -04:00
Paul Cercueil
13b3d8e0ca
Monitor OPK folders using inotify and automatically add/delete links
2013-07-16 13:36:18 -04:00
Paul Cercueil
1467c9b9d7
Don't try to find OPKs inside non-existing directories
2013-07-16 12:44:30 -04:00
Paul Cercueil
78ad051756
Split huge function readPackages into two functions
2013-07-10 18:57:56 -04:00
Paul Cercueil
c58b3a535e
Update GMenu2X to use the latest libopk v1.0 API
2013-05-26 19:06:53 -04:00
Maarten ter Huurne
90ec4b9ace
Ignore OPK files of which the name starts with a dot
...
These are not actual OPK files, but metadata (I assume) storage that
Mac OS X adds to vfat file systems. The current version of libopk has
extremely poor error handling, so ignoring these files avoids a crash.
But even when libopk is fixed, not trying to open these files as OPKs
will be useful since it saves time.
2013-01-24 23:26:30 +01:00
Paul Cercueil
efdf766102
Enable support for multiple .desktop for one platform inside OPKs
2012-11-29 23:44:58 -03:00
Paul Cercueil
4a60aa000d
Load the OPK in the section defined by their "Categories" parameter
2012-10-09 01:41:57 +02:00
Paul Cercueil
cd4809343b
During init, load all packages in CARD_ROOT/*/apps
2012-10-07 21:51:25 +02:00
Paul Cercueil
3dc12d06ea
menu.cpp: Don't use stat() to know if a FS entry is a directory
...
The pointer returned by readdir() already informs us of the type
of the FS entry.
2012-10-06 17:38:58 +02:00
Paul Cercueil
7687212b4e
Removed the "wrapper" feature.
...
It is up to the system to restart GMenu2X when the application exits.
2012-04-13 18:12:30 +02:00
Maarten ter Huurne
d2413d8233
Added missing #includes.
...
Fixes compilation with GCC 4.7.0.
2012-03-24 12:00:25 +01:00
Maarten ter Huurne
57ad81e3df
Merged LinkAction class into its base class.
...
LinkApp now calls its launch method via the delegate mechanism instead of
via an overridden virtual method. This should make it easier to move the
launch method out of LinkApp and into the GMenu2X main class.
2012-03-24 11:57:21 +01:00
Maarten ter Huurne
1ad6b2f25a
Made GMenu2X::ts private.
...
Pass Touchscreen reference to constructors instead of pulling it from
the GMenu2X class.
2011-12-23 14:03:05 +01:00
Maarten ter Huurne
a01d892eb6
More header cleanups.
...
This time the focus was on removing namespace imports from headers.
2011-10-23 16:43:56 +02:00
Ayla
3995133fa5
When deleting a link, check if the icon is used elsewhere before unloading it.
2011-09-18 13:22:02 +02:00
Ayla
4636a84eef
Create the "sections" user directory if required, when creating a new link.
...
It previously assumed that this directory was present, which isn't
the case all the time.
2011-07-25 12:05:24 +02:00
Ayla
81a607c36e
Fixed a good number of memory leaks.
...
The objects created with "new" were destroyed with "free()",
instead of "delete"; as a result, the destructors were never called.
2011-07-20 13:43:25 +02:00
Ayla
f7817b19ab
The links will now be loaded from both the system and the user-specific directories.
2011-07-11 02:49:44 +02:00
Ayla
114fe594d0
The sections directories shall now be found under the user-specific directory.
2011-04-03 11:44:08 +02:00
Ayla
8336c83129
If the "sections/" directory is missing, we create it as well as some default sections (settings, applications...).
2011-04-03 11:34:40 +02:00
Xiangfu Liu
91d3fea2ec
fixed section display not correct in ben nanonote
2011-01-13 17:20:17 +08:00
Ayla
08468776f4
When a foo.dge file is loaded, the image file foo.png will be automatically assigned.
2010-09-18 21:28:54 +02:00
Ayla
7c9364780b
Replaced every message output by calls to the log macros.
2010-09-17 22:31:09 +02:00
Maarten ter Huurne
9fcaa2b8fa
Give LinkApp a direct reference to the InputManager object instead of fetching it from the GMenu2X object.
2010-07-27 23:22:46 +02:00
Maarten ter Huurne
8032d96a17
Converted public fields of FileLister to private.
2010-07-27 21:41:35 +02:00
Maarten ter Huurne
0cd6b8264c
Converted public fields of LinkApp to private.
...
Although exposing a read/write reference to a private field is not much better than having a public field.
Well, at least we are explicit about the nasty stuff now.
2010-07-27 21:26:02 +02:00
Maarten ter Huurne
8a9aac028b
Converted public fields of Menu to private.
2010-07-27 21:12:15 +02:00
Maarten ter Huurne
0a1fdf2c12
Fixed typo.
2010-07-26 02:48:23 +02:00
Maarten ter Huurne
660b4f01aa
In "utilities.h", only include those headers that are needed by the definitions in "utilities.h".
2010-06-19 04:44:03 +02:00
Maarten ter Huurne
dae5627091
Removed PXML support.
...
PXML is the metadata format for Pandora packages. It is not used on the
NanoNote or under Dingux.
Ideally it would be a compilation option, but without an active upstream it
would not receive any testing and therefore likely be broken. So in my
opinion it is more time efficient to remove it now and re-add if it is ever
wanted again.
2010-06-17 19:37:21 +02:00
Lars-Peter Clausen
8b862b8398
Unify filedialog and browsedialog code
2010-05-03 19:58:28 +02:00
Lars-Peter Clausen
40a26e1a9c
pass strings by reference where possible
2010-05-02 14:38:16 +02:00
Lars-Peter Clausen
667fb05a35
Kill float and double
2010-05-01 13:20:47 +02:00
Mirko Lindner
cddcd72e33
initial commit - needs clean-up
...
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
2010-02-04 12:33:47 +01:00