Maarten ter Huurne
bcbedc8f40
Updated code calling opk_extract_file().
...
I changed the return type from char* to void* in libopk, now updating
the gmenu2x code to match.
2013-02-05 19:05:44 +01: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
Maarten ter Huurne
e4d78bee60
Made GMenu2X::menu private
...
There was only one outside use; turned that into a new public method
on the GMenu2X class.
2012-12-20 22:01:30 +01:00
Maarten ter Huurne
a18730ee13
Changed text color of warnings from yellow to magenta
...
Yellow is almost unreadable if the console background is white.
2012-12-20 17:54:15 +01:00
Paul Cercueil
874ddd3cad
Keep CPU frequency scaling for the GCW0 build disabled until it works
2012-12-08 18:18:00 -03:00
Paul Cercueil
610b489d51
Add support of text manuals (.man.txt files) inside OPK archives
2012-12-08 04:26:48 -03:00
Paul Cercueil
f2e3efd359
Hide the 'Edit' option if there's nothing to configure
2012-12-08 01:59:11 -03:00
Paul Cercueil
a60d97fbff
Hide the selector dir/browser link options if OPK doesn't open a file
2012-12-08 01:45:21 -03:00
Paul Cercueil
c9fc163bea
Add --disable-cpufreq switch to disable clock management
2012-12-08 01:03:33 -03:00
Paul Cercueil
473949bb4f
Remove hardcoded MHz values, use the defined main/max clocks instead
2012-12-06 20:53:39 -03:00
Paul Cercueil
df7fb985a3
Introduce new skin "OD" for the GCW-Zero platform.
2012-12-04 14:22:42 -03:00
Paul Cercueil
389253b4c6
Load the skin's wallpaper if the default one is not yet defined
2012-12-04 14:21:22 -03:00
Maarten ter Huurne
37a29d30d1
Added .gitignore for data dir
2012-12-04 16:52:00 +01:00
Maarten ter Huurne
04b64f47b5
Added wallpaper for GCW Zero
...
This is an original "artwork" by me, a close-up photo of a zero on
a CRT monitor with some effects applied to the raw image.
2012-12-04 16:49:11 +01:00
Paul Cercueil
2154b59452
Move Nanonote specific wallpapers to their platform folder
2012-12-04 12:53:54 -03:00
Paul Cercueil
efdf766102
Enable support for multiple .desktop for one platform inside OPKs
2012-11-29 23:44:58 -03:00
Paul Cercueil
6629a63871
Renamed 'dingux' platform to 'a320'
...
Dingux being now replaced by OpenDingux, which covers other platforms
than the A320, the platform corresponding to the A320 is now named
accordingly.
2012-11-27 02:14:08 -03:00
Paul Cercueil
59ece31c00
Dingux: remove empty sections 'emulators' and 'games'
2012-11-18 19:06:36 -03:00
Paul Cercueil
c6a83e1ed7
Open OPKs only if compatible with the current platform
2012-11-18 18:52:23 -03:00
Paul Cercueil
d4c086a64d
Add initial support for the GCW Zero
2012-11-18 18:41:20 -03:00
Paul Cercueil
77046f3553
Add support for reading manuals located inside OPK archives
2012-11-11 19:47:45 -03:00
Paul Cercueil
8d96f3c261
Update to use the latest libopk API, and simplify loadPNG
2012-11-05 18:48:48 -03:00
Paul Cercueil
0b922e97f3
For non-OPK programs, chdir() to the app's directory as well
2012-10-23 16:34:01 +02:00
Paul Cercueil
b8112d1a73
Fix a bug where having multiple MIME types would crash GMenu2X
2012-10-23 16:19:00 +02:00
Paul Cercueil
df981eb03a
Drop the 'remove link' option on the context menu of OPKs
2012-10-23 06:45:56 +02:00
Paul Cercueil
64eb86f8e8
Default the 'browser' option to 'true'.
...
This permits the 'browser' option to be saved for OPK packages
as well.
2012-10-23 06:39:51 +02:00
Paul Cercueil
4c4f452abb
Hide parameters not suitable for OPKs on the context menu
2012-10-23 06:33:27 +02:00
Paul Cercueil
dec1a8956a
Assign an icon for a given link only if it hasn't been done before
2012-10-23 06:20:03 +02:00
Paul Cercueil
c94968f533
Memorize the selector's directory as the default one for later use
...
When a app is launched with a file selected with the built-in file
selector, we memorize the directory on which the file was found,
so that a future launch of that application will directly open
that directory.
2012-10-23 05:34:21 +02:00
Paul Cercueil
a04b9e3ab3
Save changes made on the link of an OPK on the user directory.
2012-10-23 05:32:48 +02:00
Paul Cercueil
5f1cff6d0f
Build file extensions filter from the MIME types present on the OPK
...
This feature is enabled only if libxdgmime is available.
2012-10-22 23:40:09 +02:00
Paul Cercueil
e7e21b424b
Use the '%f' token to insert the selected file on the params.
...
Other tokens available are '%F', '%u' and '%U'.
It replaces the previous token '[selFile]'.
2012-10-22 23:34:33 +02:00
Paul Cercueil
0fc6ac67f0
Hide the 'params' option from the user on the contextual menu
...
The user shouldn't care at all about what is given as a parameter.
The 'params' option is only used by the links provided with GMenu2X.
2012-10-22 23:12:21 +02:00
Paul Cercueil
d6cdb90c81
Before launching any app, update the standard I/O file descriptors
2012-10-20 17:32:17 +02:00
Paul Cercueil
6a9f429f32
Update "exec" to aim the binary if a change of directory if needed
2012-10-17 23:48:11 +02:00
Paul Cercueil
0ddc562bf1
Fix icon not appearing on loading menu of OPK packages based links
2012-10-17 23:43:44 +02:00
Paul Cercueil
79ea2349c4
Dingux: set all the system links (except Terminal) as non-editable
2012-10-17 23:43:36 +02:00
Paul Cercueil
170a7dc4c6
Add "editable" parameter: when "false", the link can't be modified.
...
If omitted, the default value is "true".
2012-10-17 23:43:32 +02:00
Paul Cercueil
c1a95a2fa6
Removed unused class variable 'useRamTimings' from LinkApp
2012-10-17 23:43:27 +02:00
kyak
c302218f00
update startup script for nanonote
...
Change default font to 6x10 and add some explanations
2012-10-14 12:07:05 +04: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
c58c726954
configure.in: update libopk check to match latest libopk API
2012-10-08 19:51:30 +02:00
Paul Cercueil
ef18841eb1
Fix build when libopk is not present.
2012-10-08 19:46:50 +02:00
Paul Cercueil
f6c19d0aa1
Mount the OPK packages in order to execute the binary included.
2012-10-08 08:22:48 +02:00
Paul Cercueil
909fef2f3a
Update to use the latest libopk API.
2012-10-08 08:19:59 +02:00
Paul Cercueil
876f2cff86
Fix a bug where only some parameters were read from the links files.
2012-10-08 06:09:37 +02:00
Paul Cercueil
cd4809343b
During init, load all packages in CARD_ROOT/*/apps
2012-10-07 21:51:25 +02:00
Paul Cercueil
61d22e26e6
LinkApp: Added support for reading OPK packages.
2012-10-07 21:50:07 +02:00
Paul Cercueil
e3837fce68
If a filename contains '#' don't check if the file exists.
2012-10-07 20:08:25 +02:00
Paul Cercueil
0cbb5ee09a
Make loadPNG() able to read files from OPK packages.
...
The filename passed to it should contain the filename of the squashfs
image, the character '#', and the filename of the .png file contained
inside the package.
E.g.:
/tmp/package.opk#icon.png
2012-10-07 20:04:30 +02:00