| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Working features:
- struct
- union
- nested structs
- anonymous structs
- forward declarations
- '.' and '->'
- copying structs using '='
Missing features:
- passing structs by value
- returning structs by value
- typedef
- sizeof
Example:
struct v {float x, y, z, w; };
void add(struct v* result, struct v* a, struct v* b) {
result->x = a->x + b->x;
result->y = a->y + b->y;
result->z = a->z + b->z;
result->w = a->w + b->w;
}
Reworked size-of and alignment logic to support structs.
Improved encoding of ARM immediate constants.
|
| |
|
|
|
|
| |
This means we don't have to manually specify the --norunotcc flag.
|
|
|
|
|
| |
Macs don't have byteswap.h or endian.h. Change conditionals to only
use the faster SHA-1 code on little-endian machines with byteswap.h.
|
|\
| |
| |
| |
| | |
* changes:
add optimized SHA1 algorithm
|
| |
| |
| |
| |
| |
| |
| | |
This optimized implementation of the SHA1 algorithm is about 28%
faster than the old one (on sapphire hardware) but assumes
little-endianness. Add it, but continue using the old implementation
on big-endian hardware.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
nodes
Merge commit '85b3fcc5de004999756c1e90bcf845480217b3f6' into eclair
* commit '85b3fcc5de004999756c1e90bcf845480217b3f6':
system/core: vold: Change permission of external storage device nodes
|
| | |
| | |
| | |
| | | |
Signed-off-by: San Mehat <san@google.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: San Mehat <san@google.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
Added -s flag to ls.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This may not be useful, and may actually be misleading since yaffs2
doesn't track the blocks used for each file (it just divides the length
down by 512). I'm submitting it because yaffs2 isn't the only
filesystem we'll ever use.
I also changed some sprintf to snprintf, mostly out of paranoid habit.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
devices: set permissions for lightsensor
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
Add ARM hardware floating point support.
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | | |
* changes:
Route all log tags with "RIL" prefix to radio buffer.
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | |
| | | | | |
| | | | | | |
* changes:
fastboot: Add retry to USB read call.
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the USB connection to the device is reset but is still there
the code should retry to re-connect the device and continue.
This is a short term fix for a bootloader issue.
We should revisit and look for a better solution.
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
The x86 tests don't work on non-Linux systems.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Example:
int f(int a, int, int c) {
return a + c;
}
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
Allow redefinition of macros.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Example:
#define A 3
#define A 4
This used to do strange things, but now works as it should.
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* changes:
Allow '//'-style comments in #defines.
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* changes:
Allow parenthesized expressions as the value of defines
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For example, this now works:
#define A (1 + 2)
Note that we still don't support defines with argument lists, so this is
still illegal:
#define A(X) (X + 2)
Also in this change: The compiler test script allows command-line
arguments to disable testing on ARM and to disable testing the output
of the old OTCC compiler.
Disabling testing on ARM is handy for developing front-end code when no
device or emulator is available.
Disabling testing OTCC output is handy for some 64-bit Linux environments,
because the original OTCC needs some tweaking to be fully compatible, and
I don't have time to investigate this problem right now.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
during blending into 8888 buffers
when ONE / ONE_MINUS_SRC_ALPHA blending mode was used, the code wasn't saturating the color component.
the reason was that this mode is used for premltiplied alpha blending, however, if used with a non
premultiplied source, the color component would wrap.
unfortunately, this costs 6 extra cycles per pixels, however... "correctness" prevails.
this should not impact the UI since it's using h/w acceleration most of the time it also doesn't
impact games which should be using h/w GL. This change will slow the emulator down a bit.
|
| |/
|/|
| |
| | |
master branch
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'e3baafd85a5fecd1714441455e3f75f26b5c381e'
* commit 'e3baafd85a5fecd1714441455e3f75f26b5c381e':
BUG 2033924: Add AdbWinUsbApi.dll to prebuilt for Windows SDK
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'c52c602171cb29c4a4c38005f321cf95d50d3418'
* commit 'c52c602171cb29c4a4c38005f321cf95d50d3418':
DO NOT MERGE adb: Remove adbd from simulator build.
|
| |
| |
| |
| |
| |
| | |
It no longer compiles without recent kernel headers.
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit '704aa833382a73f8e02d49b7e9c2aef9a49c65bd'
* commit '704aa833382a73f8e02d49b7e9c2aef9a49c65bd':
DO NOT MERGE cherry-pick "adb reboot" from master:
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
adb: add "adb reboot" command.
This will allow rebooting the device via adb on any build, including user builds.
An optional argument can be provided
(for example, "adb reboot bootloader" or adb reboot recovery")
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a device.
Now, a command like "adb shell" will print "insufficient permissions for device"
instead of "device not found" if adb does not have permissions to communicate with the device.
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |
| |
| |
| | |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
communicate with.
adb devices will now list devices without adequate file system permissions in /dev/bus/usb as:
List of devices attached
???????????? no permissions
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
we actually have to saturate when doing premultilied blending with opengl
|
| | | |
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
Merge commit 'c5ceeeedeeb1cc3ba3d8b54b04f983ae666755a2'
* commit 'c5ceeeedeeb1cc3ba3d8b54b04f983ae666755a2':
strip comments from event-log-tags on device
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
* changes:
strip comments from event-log-tags on device
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This saves about 8k from the system image.
Bug: 2036961
|
| |_|/
|/| |
| | |
| | | |
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
Merge commit 'ee40fc4e64e1656a16603778bee895ea389ec7d5'
* commit 'ee40fc4e64e1656a16603778bee895ea389ec7d5':
rootdir: init.rc: Bump up background cpu shares to 5.0%
|
| |/
| |
| |
| | |
Signed-off-by: San Mehat <san@google.com>
|
| |
| |
| |
| |
| |
| | |
It no longer compiles without recent kernel headers.
Signed-off-by: Mike Lockwood <lockwood@android.com>
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
adb: add "adb reboot" command.
|