<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/apps/plugins/lua/lua.make, branch wolf3d</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>Fix lua helpers -- supress line markers in preproc source generation scripts</title>
<updated>2018-12-24T20:37:06+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-12-24T20:24:03+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=a71af1778dc92132748879e6c14d620807a9c421'/>
<id>a71af1778dc92132748879e6c14d620807a9c421</id>
<content type='text'>
In newer builds line markers prevent lua helper scripts
from grabbing some inputs especially _bool

This patch adds the -P switch
  Inhibit generation of linemarkers in the output from the preprocessor.
  This might be useful when running the preprocessor on something that
  is not C code, and will be sent to a program which might be confused
  by the linemarkers.

Change-Id: I66c3b099729f6651300f9fcf4670533a20cc90c1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In newer builds line markers prevent lua helper scripts
from grabbing some inputs especially _bool

This patch adds the -P switch
  Inhibit generation of linemarkers in the output from the preprocessor.
  This might be useful when running the preprocessor on something that
  is not C code, and will be sent to a program which might be confused
  by the linemarkers.

Change-Id: I66c3b099729f6651300f9fcf4670533a20cc90c1
</pre>
</div>
</content>
</entry>
<entry>
<title>Lua Fix settings_helper for the gigaBeastS</title>
<updated>2018-12-17T15:41:15+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-12-17T15:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=28f91ff3dc6e0d7f98c793d022e405781f292eb6'/>
<id>28f91ff3dc6e0d7f98c793d022e405781f292eb6</id>
<content type='text'>
the gigabeatS has an embedded struct that needs to be parsed

Change-Id: I88c9101afaaa95182f37ade1410cccb4fb768e33
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the gigabeatS has an embedded struct that needs to be parsed

Change-Id: I88c9101afaaa95182f37ade1410cccb4fb768e33
</pre>
</div>
</content>
</entry>
<entry>
<title>Lua add read/write access to global_status, global_settings, audio_current_track</title>
<updated>2018-12-16T19:33:18+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-12-15T19:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=9d66b5459ecb9f85ffb194194abca5d46535774f'/>
<id>9d66b5459ecb9f85ffb194194abca5d46535774f</id>
<content type='text'>
moved items to rb.system
added read access to audio_current_track and audio_next_track

Change-Id: Ia055b8cb3848e540067818f596ffd1058da057fb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
moved items to rb.system
added read access to audio_current_track and audio_next_track

Change-Id: Ia055b8cb3848e540067818f596ffd1058da057fb
</pre>
</div>
</content>
</entry>
<entry>
<title>Lua optimize combine and rework similar functions</title>
<updated>2018-11-02T17:00:06+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-11-01T18:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=f6e10b84882387e304467f22ea2f6126cbaa1264'/>
<id>f6e10b84882387e304467f22ea2f6126cbaa1264</id>
<content type='text'>
rb.strncasecmp
    strcasecmp just exclude count -&gt; rb.strncasecmp(s1, s2)

rb.backlight_brightness_set
    backlight_set_brightness -- redundant
    rb.backlight_brightness_use_setting -&gt; rb.backlight_brightness_set()

rb.buttonlight_brightness_set
    buttonlight_set_brightness -- redundant
    rb.buttonlight_brightness_use_setting -&gt; rb.buttonlight_brightness_set()

rb.mixer_frequency
    rb.mixer_set_frequency -&gt; mixer_frequency(freq)
    rb.mixer_get_frequency -&gt; mixer_frequency

rb.backlight_onoff
    rb.backlight_on  -&gt; rb.backlight_onoff(true)
    rb.backlight_off -&gt; rb.backlight_onoff(false)

rb.touchscreen_mode
    rb.touchscreen_set_mode -&gt; rb.touchscreen_mode(mode)
    rb.touchscreen_get_mode -&gt; rb.touchscreen_mode()

rb.schedule_cpu_boost
    rb.trigger_cpu_boost -&gt; rb.schedule_cpu_boost(true)
    rb.cancel_cpu_boost -&gt; rb.schedule_cpu_boost(false)

Includes rbcompat.lua for backwards compatibility
if your script is broken by this change you simply add
`require("rbcompat")` to the top for the old functionality

Change-Id: Ibffd79a0d9be6d7d6a65cc4af5c0a1c6a0f3f94d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rb.strncasecmp
    strcasecmp just exclude count -&gt; rb.strncasecmp(s1, s2)

rb.backlight_brightness_set
    backlight_set_brightness -- redundant
    rb.backlight_brightness_use_setting -&gt; rb.backlight_brightness_set()

rb.buttonlight_brightness_set
    buttonlight_set_brightness -- redundant
    rb.buttonlight_brightness_use_setting -&gt; rb.buttonlight_brightness_set()

rb.mixer_frequency
    rb.mixer_set_frequency -&gt; mixer_frequency(freq)
    rb.mixer_get_frequency -&gt; mixer_frequency

rb.backlight_onoff
    rb.backlight_on  -&gt; rb.backlight_onoff(true)
    rb.backlight_off -&gt; rb.backlight_onoff(false)

rb.touchscreen_mode
    rb.touchscreen_set_mode -&gt; rb.touchscreen_mode(mode)
    rb.touchscreen_get_mode -&gt; rb.touchscreen_mode()

rb.schedule_cpu_boost
    rb.trigger_cpu_boost -&gt; rb.schedule_cpu_boost(true)
    rb.cancel_cpu_boost -&gt; rb.schedule_cpu_boost(false)

Includes rbcompat.lua for backwards compatibility
if your script is broken by this change you simply add
`require("rbcompat")` to the top for the old functionality

Change-Id: Ibffd79a0d9be6d7d6a65cc4af5c0a1c6a0f3f94d
</pre>
</div>
</content>
</entry>
<entry>
<title>lua consolidate pcm_ functions</title>
<updated>2018-10-30T18:16:01+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-10-30T17:56:36+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=74fe5203d06aee3ad3498fa9164762cfa1efa3d5'/>
<id>74fe5203d06aee3ad3498fa9164762cfa1efa3d5</id>
<content type='text'>
The way to call the pcm functions has changed
rb.pcm("option", var)
rb.pcm_set_frequency(freq) = becomes rb.pcm("pcmsetfrequency", freq)

added pcm.lua to the includes for conversion to old functions
if your script is broken by this change you simply add
`require("pcm")` to the top for the old functionality

added rb.pcm("calculatepeaks")

Change-Id: I092057b0c0b5575e567862661f122da1ca2680e8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The way to call the pcm functions has changed
rb.pcm("option", var)
rb.pcm_set_frequency(freq) = becomes rb.pcm("pcmsetfrequency", freq)

added pcm.lua to the includes for conversion to old functions
if your script is broken by this change you simply add
`require("pcm")` to the top for the old functionality

added rb.pcm("calculatepeaks")

Change-Id: I092057b0c0b5575e567862661f122da1ca2680e8
</pre>
</div>
</content>
</entry>
<entry>
<title>lua consolidate playlist_ functions</title>
<updated>2018-10-25T09:59:42+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-10-25T01:40:01+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=e4c5f5d412d94b10545980eea0b47d98e79712da'/>
<id>e4c5f5d412d94b10545980eea0b47d98e79712da</id>
<content type='text'>
The way to call the playlist functions has changed
rb.playlist("option", var)
rb.playlist_add(filename) = becomes rb.playlist("add", filename)

added playlist.lua to the includes for conversion to old functions
if your script is broken by this change you simply add `require("playlist")`
to the top for the old functionality

added rb.playlist_tracks(dir, filename) to playlist.lua
this will allow you to add all tracks in a playlist.m3u8
to a lua table

Change-Id: I87fcc56be365d8495d214f069331b6ddbfbef1db
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The way to call the playlist functions has changed
rb.playlist("option", var)
rb.playlist_add(filename) = becomes rb.playlist("add", filename)

added playlist.lua to the includes for conversion to old functions
if your script is broken by this change you simply add `require("playlist")`
to the top for the old functionality

added rb.playlist_tracks(dir, filename) to playlist.lua
this will allow you to add all tracks in a playlist.m3u8
to a lua table

Change-Id: I87fcc56be365d8495d214f069331b6ddbfbef1db
</pre>
</div>
</content>
</entry>
<entry>
<title>lua add audio_play consolidate audio_ functions</title>
<updated>2018-10-24T16:37:29+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-10-24T14:49:52+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=b670fcd50d42085a2db978bbcf2ccfd889d740ef'/>
<id>b670fcd50d42085a2db978bbcf2ccfd889d740ef</id>
<content type='text'>
audio_play was removed from the rocklib I assume due to inconsistent
behavior I've readded it with a check for audio paused which instead
uses rewind/ff and then resumes audio

the way to call the audio functions has changed as well
rb.audio("option", var)
so rb.audio_play(0, 0) becomes rb.audio("play", 0, 0)
audio_audio_flush_and_reload_tracks becomes
rb.audio("flushandreloadtracks")

all functions except audio("getfilepos") return the previous (or still current)
status

added audio.lua to the includes for conversion to old functions
if your script is broken by this change you simply add `require("audio")`
to the top for the old functionality

Change-Id: I364adf0c85d9c12b98cde29c26fbe5ee05b9d331
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
audio_play was removed from the rocklib I assume due to inconsistent
behavior I've readded it with a check for audio paused which instead
uses rewind/ff and then resumes audio

the way to call the audio functions has changed as well
rb.audio("option", var)
so rb.audio_play(0, 0) becomes rb.audio("play", 0, 0)
audio_audio_flush_and_reload_tracks becomes
rb.audio("flushandreloadtracks")

all functions except audio("getfilepos") return the previous (or still current)
status

added audio.lua to the includes for conversion to old functions
if your script is broken by this change you simply add `require("audio")`
to the top for the old functionality

Change-Id: I364adf0c85d9c12b98cde29c26fbe5ee05b9d331
</pre>
</div>
</content>
</entry>
<entry>
<title>Try #4 for lua make</title>
<updated>2018-07-24T06:31:19+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-07-24T06:31:19+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1b68aea444e23471b57f506211a55564aeace40a'/>
<id>1b68aea444e23471b57f506211a55564aeace40a</id>
<content type='text'>
Last commit was just a test to see if it work this one cleans it up
a bit and should be a bit faster

Change-Id: Ifdff5c5b78bcc6889506de607193246beccdde6b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Last commit was just a test to see if it work this one cleans it up
a bit and should be a bit faster

Change-Id: Ifdff5c5b78bcc6889506de607193246beccdde6b
</pre>
</div>
</content>
</entry>
<entry>
<title>Try # 3 for lua make file</title>
<updated>2018-07-24T05:31:40+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-07-24T05:31:40+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1482a31134d411996298d5c0c8db8aa9a029c3b1'/>
<id>1482a31134d411996298d5c0c8db8aa9a029c3b1</id>
<content type='text'>
Change-Id: I888612f3339ffcde28602a4e739b08f630de9c28
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I888612f3339ffcde28602a4e739b08f630de9c28
</pre>
</div>
</content>
</entry>
<entry>
<title>Lua Fix image saving for 32 bit targets -- update make file</title>
<updated>2018-07-24T05:09:01+00:00</updated>
<author>
<name>William Wilgus</name>
<email>me.theuser@yahoo.com</email>
</author>
<published>2018-07-24T05:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=aefdd2061dc8bd0ab0f1219e9ce2d7b59224f6d2'/>
<id>aefdd2061dc8bd0ab0f1219e9ce2d7b59224f6d2</id>
<content type='text'>
Hopefully this will fix the build faliures for a few targets

Change-Id: I68f6c85513ef589e5f6a50a8efc7bfae9fd62acd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hopefully this will fix the build faliures for a few targets

Change-Id: I68f6c85513ef589e5f6a50a8efc7bfae9fd62acd
</pre>
</div>
</content>
</entry>
</feed>
