Commit graph

30120 commits

Author SHA1 Message Date
Dominik Riebeling
b18bbabc91 Fix unused-but-set warnings in helper functions.
Instead of storing the return value and ignoring it use it directly to check if
an error occured. Addresses FS#12542.

Change-Id: I447afa006366acfd1851d5b13cae5f1561050283
2012-01-17 22:03:42 +01:00
Dominik Riebeling
633749ea61 TTS: check if created wav file exists.
Instead of simply assuming the wav file that is supposed to be created by the
TTS engine check if the file actually exists and return an error if not.

Change-Id: I9e4a85a061b44b48931614602683b1dfe7dfce67
2012-01-17 20:19:59 +01:00
Frank Gevaerts
6e11289cc2 Set HOME_DIR to "/". Should fix FS#12500.
The reasons for not using / don't seem to be valid (It can lead to //,
true, but not on any system where // is actually special, and
create_*_filename() handles / fine albeit not perfectly (more //)).

Handling /./ is desirable, but we can't afford to leave all automatic
filename generation broken indefinitely while people discuss possible
approaches.

Change-Id: I6718ea28d7c91e19f7da89f76c8cefd92e12fe5e
2012-01-17 18:44:29 +01:00
Andrew Ryabinin
978e506f1b HM-60x: Implement power off.
Change-Id: Ia3ae38bba09996e1d1e6043f340dbbc3a2ad68b5
2012-01-17 19:49:28 +04:00
Rafaël Carré
7b28711f6c usb-s3c6400: store endpoint status per direction
Just as like all other drivers do
Confirmed to work on Nano2g
2012-01-16 18:29:38 -05:00
Magnus Holmgren
d9f1f86a65 Add a generic *.exe to .gitignore, and remove the specific ones. 2012-01-16 22:29:47 +01:00
Dominik Riebeling
92fa7a846a Add alternate firmware filenames for e200v2.
Depending on the firmware version the filename is different, so it's necessary
to look for all the possible filenames when searching the file inside the zip.
The player happily accepts any of the filenames, so (as before) the first one
is used. Additional firmware filenames might be necessary for other players as
well.

Change-Id: If78444a8d9b7fe167ce0be1d58407038a4f9052b
2012-01-15 23:32:15 +01:00
Dominik Riebeling
b45cc0a13a Support reading OF files from zip.
Several devices require the original firmware to be able installing the
bootloader. Most vendors distribute the firmware file in zip format. Extend
reading the original firmware file to support reading the file from the zip
directly instead of requiring the user to separately extract it.

Change-Id: Ic4e89053456d8f7d6adc294f6657aceddbc354ba
2012-01-15 23:32:15 +01:00
Amaury Pouly
66c3086ae5 imx233: oops, forgot file
Change-Id: I2c672b51ac24bfcea7ce2b663deef18e02bc4b1f
2012-01-15 18:43:32 +01:00
Torne Wuff
1114a2b8ba Convert svn ignores into .gitignore.
Convert all svn:ignore properties from the old repo into a single
.gitignore file.
2012-01-15 15:16:14 +00:00
Dominik Riebeling
9db5c124af Fix wavtrim on voicefile creation.
Pass the threshold value for wavtrim to the TalkGenerator object instead of
using the default value. Makes wavtrim to be actually used.

Furthermore, check the result of the wavtrim call and respect its return value.
2012-01-15 12:30:03 +01:00
Jean-Louis Biasini
7f26a10d31 fuzeplus: update plugins keymaps (FS#12405)
Signed-off-by: Amaury Pouly <amaury.pouly@gmail.com>

Change-Id: Ib94cec07c80892eb50471c87b83e2701911ea0d7
2012-01-15 02:29:30 +01:00
Amaury Pouly
35ba39e57f imx233: add DCP driver (only memcpy implemented), move channel arbiter to kernel-imx233
Change-Id: I2bc5a49459c354027fc67a880bbf3b87c942bdd0
2012-01-15 02:29:30 +01:00
Amaury Pouly
8cadb587e8 fuzeplus: fix lcd-target.h (LCD_FRAMEBUF_ADDR must point to lcd_framebuffer and not FRAME)
Change-Id: Ia1f16f9b8e3041517b60336c06aedd40dfd2be12
2012-01-15 02:29:30 +01:00
Michael Giacomelli
cd99b0dbf9 Fix install directions for the Clip Zip.
Change-Id: I66214cd44afda7cba18f94f52d7979bcd9e8edd1
2012-01-14 16:48:58 -05:00
Michael Sevakis
cc26850135 Cut a few instructions from lcd_copy_buffer_rect.
Change-Id: I5159534f90b041c6ffefc00c8f91abc68ca6eb42
2012-01-14 16:17:18 -05:00
Dominik Riebeling
bb24ac8c27 Manual: don't break on missing player image.
As done with the screenshots display an error notice when the main image is
missing. Same is done for the remote image for targets that do have a remote.

\IfFileExists requires to use the full filename, not the stem as
\includegraphics accepts happily, so 36489d9 actually broke the main image for
all players.
2012-01-14 20:57:19 +01:00
Rafaël Carré
36489d9aa0 manual: don't error out if front image is missing 2012-01-14 14:13:37 -05:00
Dominik Riebeling
820dcfdfed Remove multithreading support from voicefile creation.
Running TTS and encoders with multiple threads is causing problems on Windows
since introduction of the feature (FS#12106, FS#11994). The current
implementation also makes wrong assumptions (having multiple threads talk to
the SAPI script doesn't make it run faster since it's still one thread
responsible for creation).

Completely remove multithreading support for that for now -- a different
implementation is necessary.

Change-Id: Icafa223644efc370a09186ce28ac83c22902e0c0
2012-01-14 16:37:01 +01:00
Jonathan Gordon
c2f0ba7ecd fix compiler error, missed action.h
Change-Id: Idc6d59835d1fd20cb4828543547b6d8b6f74053b
2012-01-15 00:56:56 +11:00
Dominik Riebeling
85a3f3f6b0 Update copyright information for 2012.
We're still working on this.

Change-Id: I029f192dfa9ab6d125140ce778100af1b383fd1e
2012-01-14 13:06:34 +01:00
Dominik Riebeling
42fa2a8d0f Improve error handling and logging.
- Fix a warning
- Log an error if the file to encode cannot be read.
- Adjust some log strings.
2012-01-14 12:14:49 +01:00
Michael Sevakis
b17bdb9349 tdspeed: Use "INT64_MAX" instead of "~(1ll << 63)" to get the maximum int64_t value.
Change-Id: I0830b3276eecb52e0f52599126fd23f95d0742aa
2012-01-13 17:54:43 -05:00
Michael Sevakis
e4a5762147 tdspeed: Tweak source and autocorrelation
C99-ify variables to keep them localized
Use sum of absolute differences instead of sum of squared differences for
autocorrelation which should reach the same conclusion and avoid 64-bit
multiplication.

Change-Id: If4f3715a36225420db3b05e9814b81766d04f0f3
2012-01-13 17:14:47 -05:00
Dominik Riebeling
420ae56cec rbspeex: make local functions static. 2012-01-12 20:49:19 +01:00
Jonathan Gordon
eb2ea7f9ad keyclick: Add a callback so screens can cancel a click. Add a generic list callback to stop clicks when we are at the end of the list
Change-Id: Iabb44a861dd7506cd883c1bdb0241303fa646746
2012-01-12 22:28:36 +11:00
Amaury Pouly
5ef27368f1 lcd: fix function name in comments in assembly files (lcd_write_yup_420 instead of lcd_write_yuv420) 2012-01-11 13:14:30 +01:00
Michael Chicoine
cfccd57dcb US English language update
Change-Id: Idb6ce02716887d70aee65f9266f17875cab84158
2012-01-10 09:26:06 -06:00
Ophir Lojkine
1313396cab FS#12392: french translation update
Change-Id: I370e2c1ccd4b0c1120079e46662573e7f3762dc6
Signed-off-by: Rafaël Carré <funman@videolan.org>
2012-01-10 03:05:21 -05:00
Frank Niggemann
83b0ec3919 FS#12515: update german translation
duplicate of FS#12433
duplicate of FS#12456
duplicate of FS#12386
duplicate of FS#12342
Signed-off-by: Rafaël Carré <funman@videolan.org>

Change-Id: If69d5fdb3a969d3c2c04df62ce841185f2864326
2012-01-10 00:20:28 -05:00
Peter Lecky
e4af358e0b FS#12516 - Slovak lang update
Change-Id: I4bca90cd3d757ff37f616f47c41dd78537db6a80
Signed-off-by: Rafaël Carré <funman@videolan.org>
2012-01-10 00:06:02 -05:00
Bertrik Sikken
f4def1cf0f FS#12511 - Polish translation by Artur Juraszek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31646 a1c6a512-1295-4272-9138-f99709370657
2012-01-09 21:19:14 +00:00
Jonathan Gordon
26b9566864 r31444 missed a file. make fuzeplus sim build again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31645 a1c6a512-1295-4272-9138-f99709370657
2012-01-09 10:16:05 +00:00
Michael Sevakis
5093e68e65 Fix Clip Zip bootloader build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31644 a1c6a512-1295-4272-9138-f99709370657
2012-01-09 05:23:25 +00:00
Michael Giacomelli
36613d57fa Commit FS#12454 - Faster line scroll speed by Martin Sagmuller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31643 a1c6a512-1295-4272-9138-f99709370657
2012-01-09 03:26:03 +00:00
Michael Sevakis
307cb04948 AS3525v1/2: Enable nested handling of interrupts
Mostly for the sake of reducing latency for audio servicing where other service
routines can take a long time to complete, leading to occasional drops of a
few samples, especially in recording, where they are fairly frequent.

One mystery that remains is GPIOA IRQ being interrupted causes strange
undefined instruction exceptions, most easily produced on my Fuze V2 with a
scrollwheel. Making GPIOA the top ISR for now, thus not interruptible, cures it.

SVC mode is used during the actual calls. Hopefully the SVC stack size is
sufficient. Prologue and epilogue code only uses the IRQ stack and is large
enough.

Any routine code that should not be interrupted should disable IRQ itself from
here on in.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31642 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 22:29:25 +00:00
Dominik Riebeling
5e21bbf575 Rename snprintf when building with MSVC to link with CRT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31641 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 20:09:59 +00:00
Dominik Riebeling
ab49b5e77b MSVC compatibility adjustments.
When using a global variable from a DLL with MSVC special handling is necessary
to avoid going through additional redirection.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31640 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 19:51:11 +00:00
Jens Arnold
e9b257f340 Add missing languages from configure, and sort them in exactly the same order for easier maintenance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31639 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 17:59:52 +00:00
Jens Arnold
8b4805203b Remove outdated (and buggy) configuration option for the 8MB mod. This is configured by selecting memory size directly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31638 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 17:38:40 +00:00
Jens Arnold
334e61293e Fix several flaws in argument handling and reconfiguring, mainly related to voice building: (1) Properly retain arguments containing spaces by re-quoting them. (2) Properly retain --tts when the default is selected by just pressing return. (3) Only append --tts and --language if they weren't already specified on the commandline, preventing duplication on 'make reconf'. (4) Never append --ttsopts and --encopts for the same reason. These are commandline only anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31637 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 13:59:15 +00:00
Bertrik Sikken
3d9f3f47d9 Remove duplicate #include "button.h"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31636 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 12:57:02 +00:00
Nick Peskett
8fdef407a4 Simulator: Emulate a period of external power after charging.
Also a bit of optimisation of battery_status_update().

FS#12506


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31635 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 12:07:17 +00:00
Dominik Riebeling
f1fc6bae25 Rockbox Utility: use libmp3lame for voice clips.
Instead of calling the lame executable use libmp3lame directly. As result, this
simplifies the prerequisites for creating voice clips for Archos devices to
putting the library in the system's search path (Windows: put libmp3lame.dll in
the search path or the same folder RockboxUtility.exe is located in. Linux:
install the library using your systems package manager) and configuration.

This creates a notable encoding speedup on Windows (around factor 6 on my test
setup) and a small speedup on Linux (around factor 1.2).

The implemenatation currently has the following limitations:
- Only enabled on Windows and Linux. On OS X installing the correct dylib is a
  bit nontrivial, so using the old command line based method is still in use
  for now.
- The encoder parameters are currently hardcoded to use the same values the
  build system uses.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31634 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 11:50:04 +00:00
Dominik Riebeling
3e014d3523 Fix wrong includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31633 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 11:49:57 +00:00
Bertrik Sikken
2ab3f336c7 FS#12406 - Updated Galician translation by Ismael Castiñeira Álvarez
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31632 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 10:31:29 +00:00
Bertrik Sikken
02a270ce2e sudoku: make local functions static and add missing #include
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31631 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 08:55:25 +00:00
Michael Giacomelli
92ef9b260a Clarify that you must reboot into the Sandisk firmware when uninstalling the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31630 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 07:05:58 +00:00
Rafaël Carré
4fc27c16ae adc-as3514.c : move to drivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31629 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 02:33:43 +00:00
Rafaël Carré
90736a4055 fix cpp condition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31628 a1c6a512-1295-4272-9138-f99709370657
2012-01-08 01:51:51 +00:00