| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
| |
Change-Id: I033db3d3a838f0a950ce7707de6a0cd4b2595d93
|
| |
|
|
|
|
|
|
|
| |
disconnect() needs to be called exactly once per call to init_connection().
In case of bus resets, disconnect() was not called, which led to leaking
alloc_maximum() allocated buflib handles, which led to buflib running out
of memory to allocate.
Change-Id: I03025da578dc54e48b6de6bd3e3f40feae7220a6
|
| |
|
|
| |
Change-Id: I7ae40db0f81d1d51742501936b13b387f94a25e5
|
| |
|
|
| |
Change-Id: I68ed0e914239f0caf83082a41c2480a01b69285a
|
| |
|
|
| |
Change-Id: I62cedf992bb096987050621cfc34f0432e9da170
|
| |
|
|
| |
Change-Id: I9c1825296a788587b8d494d8514b3314847b0ff0
|
| |
|
|
|
|
|
| |
system.h doesn't need it on its own and this change makes it less
dependant on Rockbox internals.
Change-Id: I4e1e4108a52a7b599627a829204eb82b392fc6d6
|
| |
|
|
|
|
|
|
| |
Some seldomly used drawmode combinations did not work in conjunction with
alpha bitmaps and backdrops. Now all should work (see comment added) by using
more bits.
Change-Id: I2bc96ecf471fa8c1a608a321a235b9c8527b3dc5
|
| |
|
|
|
|
|
|
|
|
|
| |
bpb_is_sane() used to effectively multiplying the sector size (relative
to 512 bytes) twice, which meant that filesystems with e.g. 2K sectors and
32 sectors per cluster were rejected because while this adds up to 64K
clusters (i.e. the upper limit), the calculation wrongly came to 256K.
This bug tends to affect 5.5G ipods when formatted using dosfstools.
Change-Id: Ia3f1e1303b2af953f497ccdbf23cd49c3d72e46a
|
| |
|
|
| |
Change-Id: Icfe7c4bb880c2f10918a7809f0f1f1c3838f6f48
|
| |
|
|
|
|
|
|
|
| |
85 is already used by HIFI E.T. MA8C.
Change-Id: I7f30d6b1acbebd6152d11fa46ec87d95e6a809e7
Reviewed-on: http://gerrit.rockbox.org/703
Reviewed-by: Purling Nayuki <cyq.yzfl@gmail.com>
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
|
| |
|
|
| |
Change-Id: I98acfc9394ac83a45985364fdfad85af2f7d1773
|
| |
|
|
| |
Change-Id: I1f8d3d67b224c1c531438b94e3aab640b76770be
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the radioart crash that was the result of buffering.c working
on a freed buffer at the same time as buflib (radioart uses buffering.c for the
images). With this change the buffer is owned by buflib exclusively so this
cannot happen.
As a result, audio_get_buffer() doesn't exist anymore. Callers should call
core_alloc_maximum() directly. This buffer needs to be protected as usual
against movement if necessary (previously it was not protected at all which
cased the radioart crash), To get most of it they can adjust the willingness of
the talk engine to give its buffer away (at the expense of disabling voice
interface) with the new talk_buffer_set_policy() function.
Change-Id: I52123012208d04967876a304451d634e2bef3a33
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This function relocates a buflib back buffer, updating pointers in struct
buflib_context. It does not move any data by itself.
The intended use-case is buflib-on-buflib, where a buflib back buffer is
allocated with buflib and attempted to be moved. The move_callback() can call
this and return BUFLIB_CB_OK on success. No move_callback() is called for the
subordinate buflib buffer, therefore it must not contain non-movable
allocations. The caller is generally responsible moving the data and all its
implications.
Change-Id: I869219f9cff786a172c9e917a5f34470073892e6
|
| |
|
|
|
|
|
|
| |
This function will now ask shrinkable allocations to give up all of their
memory. With future support of playback.c this can be used as a safe
replacement for audio_get_buffer().
Change-Id: I290a51d2c75254e66baf5698c41dc444dea6247a
|
| |
|
|
|
|
| |
Tested on different revisions and it works reliably.
Change-Id: Ic710236247a17f516c8561429f2da5c9684341b9
|
| |
|
|
| |
Change-Id: Ie36e48742c0ed9aa3fd6f49aa034a11d2492327c
|
| |
|
|
| |
Change-Id: Iebbe518dcaf5c9e1573309b3fee17b52998d941c
|
| |
|
|
| |
Change-Id: Ie62386a8f3e9986381f96eb83abb69bfc42b42e1
|
| |
|
|
|
|
| |
error).
Change-Id: I29243bb36b6cec1471bd6c0afc64e00547a68c50
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
callbacks.
Much of the scrolling work is moved from lcd-bitmap-common to lcd-scroll.c,
a small scroll callback routine remains. This callback can potentially be
overridden by more extensive scrollers.
The callback also gets fed with pixel-based scrolling information, which
finally removes the strict line-based nature of the scroll engine. Along with
this is the change from scroll_stop_viewport_line() to scroll_stop_viewport_rect()
which works on a pixel-based rectangle instead of lines.
The ultimate goal is to move most of the scroll work to apps, which can
much better decide which line decorations to apply etc. This work is laying
the ground work.
Change-Id: I3b2885cf7d8696ddd9253d5a9a73318d3d42831a
|
| |
|
|
|
|
|
| |
This allows to draw lines without destroying styles that were drawn manually
(e.g. from apps/) beforehand.
Change-Id: I0de290c9343061efb115e1b76da5b76395c2b2af
|
| |
|
|
|
|
|
| |
Uses a similar technique as lcd_*.c files of #including a common .c file, so
that a unified implementation can be reused for both displays.
Change-Id: I21f6de76df757b093e1a1dff0a4caf96a44fe77e
|
| |
|
|
|
|
| |
lcd api.
Change-Id: I8ada10b96bfb628cca0331689e8b936ae47c7e1c
|
| |
|
|
| |
Change-Id: Ibec2d039ac0ba1214c9bd1b667bc8a9538a0d3d7
|
| |
|
|
| |
Change-Id: I60cd312c501f2f0fe0c12489c86c856eeb8e1aa8
|
| |
|
|
| |
Change-Id: Id06dbe0909e37587a45a2ebf5b0beab93cd44f61
|
| |
|
|
| |
Change-Id: I546177a247646d7a9864d1ec2796ef0708e50667
|
| |
|
|
| |
Change-Id: Ic326e59385aff3be1ada52b482e94051c512323d
|
| |
|
|
| |
Change-Id: If0e4b0ac8b24413b77f1d67293c652c6a0e01bbd
|
| |
|
|
| |
Change-Id: Ia8116528ca65844322177531f14b2f6bbfb56719
|
| |
|
|
|
|
|
|
| |
The port uses the imx233 soc, it's a STMP3650 based Samsung player
Change-Id: I50b6d7e77fd292fab5ed26de87853cd5aaf9eaa4
Reviewed-on: http://gerrit.rockbox.org/490
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
|
| |
|
|
| |
Change-Id: Icd36e6b03965272eb169a19630b720f38bac6d9e
|
| |
|
|
| |
Change-Id: I56527f2d643cb3c453e08cd1f759b80ce10ceb66
|
| |
|
|
| |
Change-Id: Ia1f7e8b633dfe6ef8dc840b3eb22eaf79c53ce6b
|
| |
|
|
|
|
|
|
| |
This reverts commit 462adf2a0fefbfdbccfafa11c999ac6beb114e8a.
Leaving the card in TRAN results in a huge power consumption because some cards
and internal bridges do not automatically enter power saving mode in TRAN state.
Change-Id: If79efe8cf99b24174889b3a5ebbcb51b07085f58
|
| |
|
|
|
|
|
|
|
|
| |
The ZEN/ZEN-XFi seem to be very picky about the lcd. And they do not like
standby mode so I'm going to drop it, the OF doesn't use it anyway. I still
don't know what this "power" pin is about, obviously it's not real power but
the OF toggle it. Let's hope the lcd will finally become more stable with
fix: the driver now does full power on/off on enable/disable.
Change-Id: I1c465ee4f2462bc3d9507e5f575f0a181af60214
|
| |
|
|
|
|
|
|
| |
via target-defined option
Change-Id: I1bffbc7f17a11cf690a771057c2e4a7ba6a5faaa
Reviewed-on: http://gerrit.rockbox.org/678
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
|
| |
|
|
| |
Change-Id: I5f40efd03b133acab86315d36580fcad68834f78
|
| |
|
|
|
|
| |
Change-Id: I5ca5c3ae28db1427e2528cb1740a9199180b9b38
Reviewed-on: http://gerrit.rockbox.org/670
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
|
| |
|
|
|
|
|
|
|
|
| |
The code was trying to probe for volume presence by calling drive layer
with volume index. It is a miracle it get unnoticed so far. Introduce
proper volume probing using the vol->drive map in the disk layer.
Change-Id: I463a5bcc8170f007cad049536094207d2ba3c6fc
Reviewed-on: http://gerrit.rockbox.org/669
Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
|
| |
|
|
|
|
|
|
| |
Tested on iPod Mini 1G.
Change-Id: I67ac9b7ed84c34533107136d0aa72e5ce3bcc5bc
Reviewed-on: http://gerrit.rockbox.org/668
Reviewed-by: Frank Gevaerts <frank@gevaerts.be>
|
| |
|
|
| |
Change-Id: Id35fbdbc62b804e9a67c6d1f18b19a1d2051bb78
|
| |
|
|
| |
Change-Id: Ieb015e78d1c0aa74c61591e442bfdf5f883f3811
|
| |
|
|
| |
Change-Id: Ia7c30821a9417a23478c053b3edcf26e1179a9d9
|
| |
|
|
| |
Change-Id: I9d283592c6411c97948ae4962e2c22d7ab45bec3
|
| |
|
|
| |
Change-Id: Icbdf47c5c508516892b1ce75558b878dc512e780
|
| |
|
|
| |
Change-Id: I0e0e04d4de3b28058e3822043d46d64291265c75
|
| |
|
|
|
|
|
|
|
| |
Choices are limited for those: i2c is either generic software or imx233
hardware and power is either none or with a gpio. So factor ever possible
combination in a single common file and use fmradio-target.h to supply the
required parameters. This will remove a bunch of duplicate code.
Change-Id: If12faeb2e371631cd39cc18a4c1d859812007934
|