Commit Graph

641 Commits

Author SHA1 Message Date
Jack Palevich 79dce8722e am 87d8ccb0: am c0f25335: Make pointer casting work.
Merge commit '87d8ccb07ed0aa4ee55dd473c36191892cbcdd6e'

* commit '87d8ccb07ed0aa4ee55dd473c36191892cbcdd6e':
  Make pointer casting work.
2009-08-25 12:29:09 -07:00
Jack Palevich 87d8ccb07e am c0f25335: Make pointer casting work.
Merge commit 'c0f253359f11c087a3ffc92b46755c6c96f57899' into eclair-plus-aosp

* commit 'c0f253359f11c087a3ffc92b46755c6c96f57899':
  Make pointer casting work.
2009-08-25 12:27:16 -07:00
Jack Palevich c0f253359f Make pointer casting work. 2009-08-25 12:23:43 -07:00
Jack Palevich 4d03dd0f1c am 67132d9d: am 0f400c59: Add runtime check for whether or not the OTCC-output tests can be run.
Merge commit '67132d9d27dcf892fe8113c567f2ae75350b2db1'

* commit '67132d9d27dcf892fe8113c567f2ae75350b2db1':
  Add runtime check for whether or not the OTCC-output tests can be run.
2009-08-25 12:01:12 -07:00
Jack Palevich 67132d9d27 am 0f400c59: Add runtime check for whether or not the OTCC-output tests can be run.
Merge commit '0f400c59b815c94cd925a843e8529240e6ca7535' into eclair-plus-aosp

* commit '0f400c59b815c94cd925a843e8529240e6ca7535':
  Add runtime check for whether or not the OTCC-output tests can be run.
2009-08-25 11:59:33 -07:00
Jack Palevich 0f400c59b8 Add runtime check for whether or not the OTCC-output tests can be run.
This means we don't have to manually specify the --norunotcc flag.
2009-08-25 11:57:13 -07:00
Doug Zongker 884a1d7583 am b8ebbcc8: am 90b06ac7: only use faster SHA-1 code on machines with good libc
Merge commit 'b8ebbcc88cdab8b0c8d96feca4507dcae11607f4'

* commit 'b8ebbcc88cdab8b0c8d96feca4507dcae11607f4':
  only use faster SHA-1 code on machines with good libc
2009-08-21 11:14:32 -07:00
Doug Zongker b8ebbcc88c am 90b06ac7: only use faster SHA-1 code on machines with good libc
Merge commit '90b06ac786f859895ac503cf42759c2706205700' into eclair-plus-aosp

* commit '90b06ac786f859895ac503cf42759c2706205700':
  only use faster SHA-1 code on machines with good libc
2009-08-21 11:13:13 -07:00
Doug Zongker 90b06ac786 only use faster SHA-1 code on machines with good libc
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.
2009-08-21 11:08:25 -07:00
Doug Zongker deb3772545 am 70670ff0: am a2f441b8: Merge change 21613 into eclair
Merge commit '70670ff0d8e089ebd7d08482672671f5b16723ba'

* commit '70670ff0d8e089ebd7d08482672671f5b16723ba':
  add optimized SHA1 algorithm
2009-08-21 10:40:24 -07:00
Doug Zongker 70670ff0d8 am a2f441b8: Merge change 21613 into eclair
Merge commit 'a2f441b8c6781472deb5da0b27c3b5c81114299a' into eclair-plus-aosp

* commit 'a2f441b8c6781472deb5da0b27c3b5c81114299a':
  add optimized SHA1 algorithm
2009-08-21 10:38:14 -07:00
Android (Google) Code Review a2f441b8c6 Merge change 21613 into eclair
* changes:
  add optimized SHA1 algorithm
2009-08-21 10:36:44 -07:00
Jean-Baptiste Queru 4a568cbee2 am 50717d3c: merge from open-source master
Merge commit '50717d3ca874d13f802e402e43dd9cbd5b19539a'

* commit '50717d3ca874d13f802e402e43dd9cbd5b19539a':
  system/core: vold: Change permission of external storage device nodes
  vold: Check partitions 1-4 instead of 0-3
2009-08-21 10:23:34 -07:00
Jean-Baptiste Queru 50717d3ca8 merge from open-source master 2009-08-21 10:19:14 -07:00
San Mehat e36c153e25 system/core: vold: Change permission of external storage device nodes
Signed-off-by: San Mehat <san@google.com>
2009-08-21 09:38:51 -07:00
San Mehat 7fe0fe9393 am 444acdd4: am 85b3fcc5: system/core: vold: Change permission of external storage device nodes
Merge commit '444acdd4366dbe7ca4b277a6e5532ea02cc1fbbb'

* commit '444acdd4366dbe7ca4b277a6e5532ea02cc1fbbb':
  system/core: vold: Change permission of external storage device nodes
2009-08-21 09:07:30 -07:00
San Mehat 92b21d5974 am 6d51d9ca: system/core: vold: Change permission of external storage device nodes
Merge commit '6d51d9ca81ac2c406f4e20be40a9cddad8362e1a'

* commit '6d51d9ca81ac2c406f4e20be40a9cddad8362e1a':
  system/core: vold: Change permission of external storage device nodes
2009-08-21 09:07:29 -07:00
San Mehat 444acdd436 am 85b3fcc5: system/core: vold: Change permission of external storage device nodes
Merge commit '85b3fcc5de004999756c1e90bcf845480217b3f6' into eclair

* commit '85b3fcc5de004999756c1e90bcf845480217b3f6':
  system/core: vold: Change permission of external storage device nodes
2009-08-21 09:04:32 -07:00
San Mehat 85b3fcc5de system/core: vold: Change permission of external storage device nodes
Signed-off-by: San Mehat <san@google.com>
2009-08-21 08:47:42 -07:00
San Mehat 6d51d9ca81 system/core: vold: Change permission of external storage device nodes
Signed-off-by: San Mehat <san@google.com>
2009-08-21 08:35:54 -07:00
Andy McFadden ffc211102f am 1fd8a8ed: Merge change 21737 into eclair
Merge commit '1fd8a8ed0aa641d909e6157ea685ee3d97a81398'

* commit '1fd8a8ed0aa641d909e6157ea685ee3d97a81398':
  Added -s flag to ls.
2009-08-21 07:42:39 -07:00
Android (Google) Code Review 1fd8a8ed0a Merge change 21737 into eclair
* changes:
  Added -s flag to ls.
2009-08-21 07:39:52 -07:00
Iliyan Malchev a38181d4f7 am e37c724b: Merge change 22155 into eclair
Merge commit 'e37c724bfc60cca4e9bd262c25c58af72abbac13'

* commit 'e37c724bfc60cca4e9bd262c25c58af72abbac13':
  devices: set permissions for lightsensor
2009-08-20 17:06:32 -07:00
Android (Google) Code Review e37c724bfc Merge change 22155 into eclair
* changes:
  devices: set permissions for lightsensor
2009-08-20 17:03:35 -07:00
Jack Palevich 423c05c48c am fb62cf96: Merge change 22143 into eclair
Merge commit 'fb62cf969013a67e1cd7712cd978f54dce27733b'

* commit 'fb62cf969013a67e1cd7712cd978f54dce27733b':
  Add ARM hardware floating point support.
2009-08-20 15:39:25 -07:00
Android (Google) Code Review fb62cf9690 Merge change 22143 into eclair
* changes:
  Add ARM hardware floating point support.
2009-08-20 15:35:35 -07:00
Jack Palevich 30321cb3f3 Add ARM hardware floating point support. 2009-08-20 15:34:23 -07:00
John Michelau 80c5953bb5 am 46fdd267: Merge change 21956 into eclair
Merge commit '46fdd2676ea0dd4ca46493440bb4e6eaecf8795d'

* commit '46fdd2676ea0dd4ca46493440bb4e6eaecf8795d':
  Route all log tags with "RIL" prefix to radio buffer.
2009-08-20 09:45:33 -07:00
Android (Google) Code Review 46fdd2676e Merge change 21956 into eclair
* changes:
  Route all log tags with "RIL" prefix to radio buffer.
2009-08-20 09:42:46 -07:00
Iliyan Malchev 3bc1e9cd7b devices: set permissions for lightsensor
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-08-20 08:52:56 -07:00
Dan Murphy 4430f0c121 am 5f1b3393: Merge change 21921 into eclair
Merge commit '5f1b3393ab580d7f85916ddd2d6b2dbd1077366b'

* commit '5f1b3393ab580d7f85916ddd2d6b2dbd1077366b':
  fastboot: Add retry to USB read call.
2009-08-19 11:50:59 -07:00
Android (Google) Code Review 5f1b3393ab Merge change 21921 into eclair
* changes:
  fastboot: Add retry to USB read call.
2009-08-19 11:48:32 -07:00
Dan Murphy b2de4db941 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>
2009-08-19 14:32:01 -04:00
Jack Palevich 70a9519db7 am d3abe3c4: Add a --nox86 flag to allow disabling x86 tests
Merge commit 'd3abe3c40de5709f2614aee49451d2d7e28150c3'

* commit 'd3abe3c40de5709f2614aee49451d2d7e28150c3':
  Add a --nox86 flag to allow disabling x86 tests
2009-08-19 11:18:31 -07:00
Jack Palevich 337b972f93 am 0a01a5db: Handle functions with anonymous arguments
Merge commit '0a01a5db5672b65f81732eaed6fb9fcccea16d06'

* commit '0a01a5db5672b65f81732eaed6fb9fcccea16d06':
  Handle functions with anonymous arguments
2009-08-19 11:18:30 -07:00
Jack Palevich d3abe3c40d Add a --nox86 flag to allow disabling x86 tests
The x86 tests don't work on non-Linux systems.
2009-08-19 11:12:56 -07:00
Jack Palevich 0a01a5db56 Handle functions with anonymous arguments
Example:

int f(int a, int, int c) {
    return a + c;
}
2009-08-19 10:53:43 -07:00
John Michelau ed7ccae296 Route all log tags with "RIL" prefix to radio buffer. 2009-08-19 10:06:52 -07:00
Jack Palevich 9be4634a75 am 761aeb43: Merge change 21845 into eclair
Merge commit '761aeb431e6d1482754a98bba2b683ba8111ef88'

* commit '761aeb431e6d1482754a98bba2b683ba8111ef88':
  Allow redefinition of macros.
2009-08-18 18:31:49 -07:00
Android (Google) Code Review 761aeb431e Merge change 21845 into eclair
* changes:
  Allow redefinition of macros.
2009-08-18 18:27:22 -07:00
Jack Palevich 815d8b8fdb Allow redefinition of macros.
Example:

#define A 3
#define A 4

This used to do strange things, but now works as it should.
2009-08-18 18:25:56 -07:00
Jack Palevich 3888c019ef am 9d129689: Merge change 21834 into eclair
Merge commit '9d1296898a93293e64529d548189bfc8185ffd08'

* commit '9d1296898a93293e64529d548189bfc8185ffd08':
  Allow '//'-style comments in #defines.
2009-08-18 17:49:39 -07:00
Android (Google) Code Review 9d1296898a Merge change 21834 into eclair
* changes:
  Allow '//'-style comments in #defines.
2009-08-18 17:46:17 -07:00
Jack Palevich 0b1827a5b2 Allow '//'-style comments in #defines. 2009-08-18 17:44:12 -07:00
Jack Palevich bf2d557b0a am 29f34260: Merge change 21812 into eclair
Merge commit '29f3426016116678c122b37cf6d5d40bdfec7749'

* commit '29f3426016116678c122b37cf6d5d40bdfec7749':
  Allow parenthesized expressions as the value of defines
2009-08-18 17:20:08 -07:00
Android (Google) Code Review 29f3426016 Merge change 21812 into eclair
* changes:
  Allow parenthesized expressions as the value of defines
2009-08-18 16:10:24 -07:00
Jack Palevich 0b2de0de64 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.
2009-08-18 16:04:03 -07:00
Mathias Agopian a89d4d0236 am 9d881764: fix part of [2017702] OpenGL bugs with alpha values of 1.0 in the source during blending into 8888 buffers
Merge commit '9d881764173ce16badb6f1098ba5cf44b36f9aec'

* commit '9d881764173ce16badb6f1098ba5cf44b36f9aec':
  fix part of [2017702] OpenGL bugs with alpha values of 1.0 in the source during blending into 8888 buffers
2009-08-18 14:38:10 -07:00
Mathias Agopian 9d88176417 fix part of [2017702] OpenGL bugs with alpha values of 1.0 in the source 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.
2009-08-18 14:34:51 -07:00
Andy McFadden 327e696808 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.
2009-08-18 11:10:03 -07:00