Permalink
Commits on Nov 18, 2017
  1. Action Rewrite - Fix red

    William Wilgus
    William Wilgus committed Nov 18, 2017
    Change-Id: Iaa3e452994295b381297c1b6c9f61407e8ba0296
  2. Action.c FIX / Rework / Clean-up Action System

    William Wilgus authored and pamaury committed Sep 26, 2017
    FIX - softlock not allowing power button to shutdown device when active
    FIX - autolock not working unless Selective backlight enabled
    
    Rework - get_action_worker split into more managable chunks
    
    Rework - moved all static variables to a single struct action_last
             to be passed through all internal functions
    
    Rework - current action state moved to struct action_current
             to be initialized at each get_action /get_action_custom call
    
    Rework - action lookup in button maps changed slightly to prefer fully formed actions
             rather than  blindly returning action with BUTTON_NONE as pre_button
             this should allow actions defined in keymaps positional independence
    
    Rework / Clean-up - moved conditionals on internal functions to inside the functions
                      -Allows much cleaner code & empty functions should be optimized
                       out by compiler
    
    Rework / Clean-up - softlock and backlight exemptions code
    
    Clean-up - remove a lot of (now) unused defines
    
    Clean-up - organize / move all exported functions to their own section in the file
    
    Comments added to all internal functions to better explain their purpose
    
    Change-Id: I0ac02d1a2b45826843611513fea3c20a819d2fed
Commits on Nov 14, 2017
  1. nwz: improve keymap

    pamaury committed Nov 14, 2017
    - enable various features in radio screen (like mode switch)
    - improve keyboard (short play to select, long play to finish, power to abort)
    - enable volume keys in radio screen if available
    
    Change-Id: I01e71291cfd783763ffd55d4fa60610b6900c726
Commits on Nov 13, 2017
  1. nwz: enable plugins on all targets except NWZ-A860

    pamaury committed Nov 13, 2017
    Keymap might be suboptimal.
    
    Change-Id: Ibaf51e91cf935c96b7f419647fe1147dee6cc8be
  2. nwz: fix tuner on older players (also fixes audio because Sony)

    pamaury committed Nov 13, 2017
    Change-Id: I1915bcfc27708d34a9dde81fce1e0bc0b01e1040
Commits on Nov 12, 2017
  1. Imx233 Disable Autoslow only at maximum cpu frequency

    William Wilgus authored and pamaury committed Oct 20, 2017
    At normal loads:
    - disabling auto slow boosts performance at the cost of runtime (~ -5%)
    - disabling at max cpu does not noticibly decrease runtime
    
    Change-Id: I5de80201c9a24ce556862151cbd6b21b01708b63
  2. hwstub: add code to dump STMP rom

    pamaury committed Nov 12, 2017
    Change-Id: I083024662f3c085f7bcd2f85b0a68de85725b0f3
  3. hwstub: expose read/write functions

    pamaury committed Nov 12, 2017
    Previously only atomic read/write 8/16/32 were exposed. But it is useful to
    be able to read a whole buffer at once, this is more efficient than N times
    read8.
    
    Change-Id: I06e331641e1ab1f74c0e16e8c432eafb398e8e6d
  4. hwstub: fix horrible bug

    pamaury committed Nov 12, 2017
    It's a wonder it worked, basically any big transfer returned garbage
    
    Change-Id: Ic2b2fc1805423c70db8eac40692ba842c72462ab
Commits on Nov 7, 2017
  1. rolo.c: Change 'int errno' to 'int err'

    Michael Sevakis
    Michael Sevakis committed Nov 7, 2017
    It can cause issues if errno.h finds itself included there
    
    Change-Id: Id5d2be66cd3af4c2760e4a37d3332853e9b54f95
  2. libpcm: Get unbranded structure tag out of my way.

    Michael Sevakis
    Michael Sevakis committed Nov 7, 2017
    No functional changes.
    
    Change-Id: If372023cb605389a203a635b700eca20685ad49b
Commits on Nov 6, 2017
  1. fix red

    pamaury committed Nov 6, 2017
    Change-Id: If18080a1525591f803e2cb6dd0f28b4f1e286bdb
  2. nwzlinux: add support for radio

    pamaury committed Nov 3, 2017
    None of the Sony up to A15 seem to support RDS (they use either Si4702 or Si4708),
    thus I did not add any code to support RDS.
    
    Change-Id: I64838993b9705b36b94665f8470c7a89c772c961
Commits on Nov 5, 2017
  1. mkimxboot: small fixes and display a human readable error

    pamaury committed Nov 5, 2017
    Change-Id: I9362b62351925aef5b14656635875123942fe7e4
Commits on Nov 4, 2017
  1. Add support for ZEN Mozaic firmware Version 1.06.01 to mkzenboot

    pamaury committed Nov 4, 2017
    Change-Id: I7d912c50ae14e186cb2a2d0f66b876cfe9ff3028
  2. fuzep: fix rds

    pamaury committed Nov 4, 2017
    Change-Id: I15900f638f8f45cb7035a0e7b1caecb62d1d70e8
  3. puzzles: fix blitting when zoomed

    built1n committed Nov 4, 2017
    Both blitter_save() and blitter_load() functioned incorrectly when
    zoomed in -- blitter_save() would copy from the wrong location, and
    blitter_load() would ignore the y-coordinate of the destination.
    
    Change-Id: I7c85debf5953575f72c4a81e3dbcf514202c3aed
  4. puzzles: clarify code and documentation

    built1n committed Nov 4, 2017
    This adds no functionality, but instead cleans up the source and adds
    some more substantial documentation.
    
    Change-Id: I77328c171a61db7729bdf928ba094cfbed4ec0dd
  5. puzzles: fix title drawing

    built1n committed Nov 3, 2017
    This fixes two separate bugs: The first was that the drawmode was not
    reliably set when drawing the title, occasionally leading to a black
    rectangle where the title should be; the second that the title bar's
    space wasn't being cleared before drawing, leading to artifacts when
    the length of the title string changed.
    
    Change-Id: I3859125b14d568e1098b095ab134645a504b2d45
Commits on Nov 1, 2017
  1. nwztools/scsitools: print device list when listing series

    pamaury committed Nov 1, 2017
    Change-Id: Ic46c724c5d89a775dc20853410c8fe6f0ff9a4c8
  2. nwztools: add NW-A46 to the database

    pamaury committed Nov 1, 2017
    Change-Id: I85dc2080e0be07ff689384c0445f4f1595baf4ac
Commits on Oct 31, 2017
  1. AMS: Convert ascodec_endofch() to use bit mod function's return value.

    Michael Sevakis
    Michael Sevakis committed Oct 31, 2017
    It cleans up the code and it was the initial inspiring reason to
    change them.
    
    Change-Id: I299499117b8a12d93d13d6563683bab89ab80555
  2. Make atomic bit modification functions return previous value.

    Michael Sevakis
    Michael Sevakis committed Jan 24, 2017
    Change-Id: I19a94cf946735e1d9e51c3207cd82198fd4dfc1a
  3. puzzles: add an interaction mode to the "Zoom In" feature

    built1n committed Oct 31, 2017
    This makes it possible to play the game while zoomed in. Read the
    manual entry if you want to know more.
    
    Change-Id: Iff8bab12f92ebd2798047c25d1fde7740aa543ce
Commits on Oct 29, 2017
  1. puzzles: sync with upstream

    built1n committed Oct 29, 2017
    This includes the fix for Map's incorrect cursor positioning when
    zoomed in.
    
    Change-Id: I7d7d1f3031bbe1390e89340039996f99efaa8ef5
  2. Revert "tlsf: pack info structs"

    built1n committed Oct 29, 2017
    This reverts commit 8a6d7ce.
    
    Packing the structs was mostly a precautionary measure, tlsf should
    still work without it.
  3. Add boot from other volumes in bootloader on targets with HAVE_MULTIV…

    William Wilgus authored and pamaury committed Feb 10, 2017
    …OLUME
    
    Adds the ability to load firmware from other drives on MULTIVOLUME targets
    Mihail Zenkov <mihail.zenkov@gmail.com> had posted a hard coded patch
    to allow this on several Sansa players, I made it more universal
    
    Redirect file rockbox_main.<name> should placed in root of
    drive you would like to be main, if this file empty or there a single
    slash '/' firmware will be loaded from /.rockbox in root of this drive
    If instead a /<*DIRECTORY*> is supplied in rockbox_main.<name> then
    firmware will be loaded from /<dir>/.rockbox/
    
    NOTES*
    
    The directory can have multiple levels however..
    leading slash MUST be included
    trailing slash can be omitted
    (eg. /test/.rockbox would be simply '/test' in the redirect file)
    
    Redirect file will not work on internal drive (whatever is default boot drive)
    
    Volume with the highest index containing redirect file will be loaded
    first.
    
    Firmware file is checked for boot data region, if missing, firmware
    image will not be loaded.
    
    On failure or if no redirect file is found load will fallback to
    internal drive
    
    Currently only Sansa Fuze+, Sansa Clip+,
    Sansa Clip Zip, Sansa Fuzev2, and Sansa Fuzev1 are implemented.
    
    Players (with HAVE_MULTIVOLUME)
    will need #define HAVE_BOOTDATA and #define BOOT_REDIR "rockbox_main.<name>"
    added to their config file
    
    boot_data is implemented in crt0.s file (See g#1552)
    ARM and IMX233 have aleady been implemented
    
    Once these conditions are met <HAVE_MULTIBOOT> will be defined by config.h
    
    Partitions on the drives are able to have a redirect as
    well.
    
    Change-Id: Iada3263919f6bcad7d0d7d8279b4239aafa07ee9
  4. Add boot data to MOST AS3525 Devices

    William Wilgus authored and pamaury committed Feb 8, 2017
    Adds boot data to as3525 devices Sansa C200v2 E200v2 Clip Clipv2 Clip+ ClipZip
    fuze, fuzev2 m200v4
    
    Adds boot_data to features.txt
    
    default arm crt0.s now had boot data if HAVE_BOOTDATA is defined
    
    Change-Id: I614a556696540511a69fc12a4520b01c268bf8a9
  5. Add boot data support to rockbox.

    William Wilgus authored and pamaury committed Feb 5, 2017
    Bootdata is a special location in the Firmware marked by a magic header
    The bootloader is able to copy information to the firmware by locating
    this struct and passing data to the firmware when it is loaded but
    before it is actually executed
    
    Data is verified by a crc of the bootdata
    
    
    Change-Id: Ib3d78cc0c3a9d47d6fe73be4747a11b7ad6f0a9e
  6. tlsf: remove memset() call in add_new_area()

    built1n committed Oct 29, 2017
    This call was not needed in the first place, but was causing crashes in
    sgt-puzzles. Removing it fixes the crashes.
    
    Change-Id: I1149d5600e1c97e0e848fdd34bf65d54c930adab
  7. tlsf: pack info structs

    built1n committed Oct 29, 2017
    This should make it build cleanly under -Wcast-align, which should
    hopefully avoid any alignment issues on ARM.
    
    Change-Id: Ie147323d2d8cb980dcbb94710387b7ee80826c4d
  8. puzzles: improve zoom rendering

    built1n committed Oct 29, 2017
    This adds colored font rendering, as well as a workaround for font
    loading while zoomed. Additionally, the frontend has been modified to
    match the new upstream API.
    
    Change-Id: I8c3fe57e6854f176485bf792cf4778cd54a21674
Commits on Oct 28, 2017
  1. imx233: Implement mutex for cpu_boost_lock/unlock

    William Wilgus authored and pamaury committed Oct 13, 2017
    Playing AAC-HE files resulted in a race condition between
    audio/codec/buffering for set_cpu_frequency
    
    Change-Id: I35e1c1fd18db623e2990c305acdca03f57184d0d
  2. SVG image of the Sony NWZ-E580 and other formats for the manual.

    b0hoon authored and pamaury committed Oct 2, 2017
    Change-Id: I30453398ab317f5c263371aa5798463f26ac4dbb
  3. puzzles: fix clipping and 24-bit handling

    built1n committed Oct 28, 2017
    Should fix the build.
    
    Change-Id: I68f06702570389c2c9d0d76acc064c324cac457b