qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] linux-user: Fix non-UTF-8 characters
@ 2011-12-02 19:30 Peter Maydell
  2011-12-02 19:30 ` [Qemu-devel] [PATCH 1/2] linux-user/cpu-uname.c: Convert to UTF-8 Peter Maydell
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Peter Maydell @ 2011-12-02 19:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Weil, Riku Voipio, Loïc Minier, patches

These two patches fix some non-UTF-8 characters in linux-user/
source files. Other than the five files Stefan Weil recently sent
a patch to fix, these are the only remaining non-UTF-8 characters
in the source tree.

Since I don't entirely trust the email path for sending patches
to files where the diffs include non-UTF-8, I've also put the
changes up in a git repo, so you may prefer to pull from there:

The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732:

  Update version for 1.0 release (2011-12-01 14:04:21 -0600)

are available in the git repository at:
  git://git.linaro.org/people/pmaydell/qemu-arm.git non-utf-fixes

Peter Maydell (2):
      linux-user/cpu-uname.c: Convert to UTF-8
      linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters

 linux-user/arm/nwfpe/fpopcode.h |   34 +++++++++++++++++-----------------
 linux-user/cpu-uname.c          |    2 +-
 2 files changed, 18 insertions(+), 18 deletions(-)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [PATCH 1/2] linux-user/cpu-uname.c: Convert to UTF-8
  2011-12-02 19:30 [Qemu-devel] [PATCH 0/2] linux-user: Fix non-UTF-8 characters Peter Maydell
@ 2011-12-02 19:30 ` Peter Maydell
  2011-12-02 19:30 ` [Qemu-devel] [PATCH 2/2] linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters Peter Maydell
  2011-12-03  7:55 ` [Qemu-devel] [PATCH 0/2] linux-user: " Stefan Weil
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2011-12-02 19:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Weil, Riku Voipio, Loïc Minier, patches

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 680 bytes --]

Convert comment from ISO-8859-1 encoding to UTF-8 to match the rest
of QEMU's source code.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 linux-user/cpu-uname.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/linux-user/cpu-uname.c b/linux-user/cpu-uname.c
index 23afede..ddc37be 100644
--- a/linux-user/cpu-uname.c
+++ b/linux-user/cpu-uname.c
@@ -1,7 +1,7 @@
 /*
  *  cpu to uname machine name map
  *
- *  Copyright (c) 2009 Loïc Minier
+ *  Copyright (c) 2009 Loïc Minier
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Qemu-devel] [PATCH 2/2] linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters
  2011-12-02 19:30 [Qemu-devel] [PATCH 0/2] linux-user: Fix non-UTF-8 characters Peter Maydell
  2011-12-02 19:30 ` [Qemu-devel] [PATCH 1/2] linux-user/cpu-uname.c: Convert to UTF-8 Peter Maydell
@ 2011-12-02 19:30 ` Peter Maydell
  2011-12-03  7:55 ` [Qemu-devel] [PATCH 0/2] linux-user: " Stefan Weil
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Maydell @ 2011-12-02 19:30 UTC (permalink / raw)
  To: qemu-devel; +Cc: Stefan Weil, Riku Voipio, Loïc Minier, patches

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 2979 bytes --]

Fix some stray non-UTF-8 characters used in some ASCII art tables
by converting them to plain ASCII '|' instead.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 linux-user/arm/nwfpe/fpopcode.h |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/linux-user/arm/nwfpe/fpopcode.h b/linux-user/arm/nwfpe/fpopcode.h
index e7d1009..1b1137f 100644
--- a/linux-user/arm/nwfpe/fpopcode.h
+++ b/linux-user/arm/nwfpe/fpopcode.h
@@ -75,11 +75,11 @@ TABLE 1
 +-------------------------+---+---+---------+---------+
 |  Precision              | u | v | FPSR.EP | length  |
 +-------------------------+---+---+---------+---------+
-| Single                  | 0 ü 0 |    x    | 1 words |
-| Double                  | 1 ü 1 |    x    | 2 words |
-| Extended                | 1 ü 1 |    x    | 3 words |
-| Packed decimal          | 1 ü 1 |    0    | 3 words |
-| Expanded packed decimal | 1 ü 1 |    1    | 4 words |
+| Single                  | 0 | 0 |    x    | 1 words |
+| Double                  | 1 | 1 |    x    | 2 words |
+| Extended                | 1 | 1 |    x    | 3 words |
+| Packed decimal          | 1 | 1 |    0    | 3 words |
+| Expanded packed decimal | 1 | 1 |    1    | 4 words |
 +-------------------------+---+---+---------+---------+
 Note: x = don't care
 */
@@ -89,10 +89,10 @@ TABLE 2
 +---+---+---------------------------------+
 | w | x | Number of registers to transfer |
 +---+---+---------------------------------+
-| 0 ü 1 |  1                              |
-| 1 ü 0 |  2                              |
-| 1 ü 1 |  3                              |
-| 0 ü 0 |  4                              |
+| 0 | 1 |  1                              |
+| 1 | 0 |  2                              |
+| 1 | 1 |  3                              |
+| 0 | 0 |  4                              |
 +---+---+---------------------------------+
 */
 
@@ -153,10 +153,10 @@ TABLE 5
 +-------------------------+---+---+
 |  Rounding Precision     | e | f |
 +-------------------------+---+---+
-| IEEE Single precision   | 0 ü 0 |
-| IEEE Double precision   | 0 ü 1 |
-| IEEE Extended precision | 1 ü 0 |
-| undefined (trap)        | 1 ü 1 |
+| IEEE Single precision   | 0 | 0 |
+| IEEE Double precision   | 0 | 1 |
+| IEEE Extended precision | 1 | 0 |
+| undefined (trap)        | 1 | 1 |
 +-------------------------+---+---+
 */
 
@@ -165,10 +165,10 @@ TABLE 5
 +---------------------------------+---+---+
 |  Rounding Mode                  | g | h |
 +---------------------------------+---+---+
-| Round to nearest (default)      | 0 ü 0 |
-| Round toward plus infinity      | 0 ü 1 |
-| Round toward negative infinity  | 1 ü 0 |
-| Round toward zero               | 1 ü 1 |
+| Round to nearest (default)      | 0 | 0 |
+| Round toward plus infinity      | 0 | 1 |
+| Round toward negative infinity  | 1 | 0 |
+| Round toward zero               | 1 | 1 |
 +---------------------------------+---+---+
 */
 
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH 0/2] linux-user: Fix non-UTF-8 characters
  2011-12-02 19:30 [Qemu-devel] [PATCH 0/2] linux-user: Fix non-UTF-8 characters Peter Maydell
  2011-12-02 19:30 ` [Qemu-devel] [PATCH 1/2] linux-user/cpu-uname.c: Convert to UTF-8 Peter Maydell
  2011-12-02 19:30 ` [Qemu-devel] [PATCH 2/2] linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters Peter Maydell
@ 2011-12-03  7:55 ` Stefan Weil
  2011-12-06 10:15   ` Stefan Hajnoczi
  2 siblings, 1 reply; 5+ messages in thread
From: Stefan Weil @ 2011-12-03  7:55 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-trivial, Loïc Minier, Riku Voipio, qemu-devel

Am 02.12.2011 20:30, schrieb Peter Maydell:
> These two patches fix some non-UTF-8 characters in linux-user/
> source files. Other than the five files Stefan Weil recently sent
> a patch to fix, these are the only remaining non-UTF-8 characters
> in the source tree.
>
> Since I don't entirely trust the email path for sending patches
> to files where the diffs include non-UTF-8, I've also put the
> changes up in a git repo, so you may prefer to pull from there:

'git am' accepted both patches here without any problem.

> The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732:
>
>    Update version for 1.0 release (2011-12-01 14:04:21 -0600)
>
> are available in the git repository at:
>    git://git.linaro.org/people/pmaydell/qemu-arm.git non-utf-fixes
>
> Peter Maydell (2):
>        linux-user/cpu-uname.c: Convert to UTF-8
>        linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters
>
>   linux-user/arm/nwfpe/fpopcode.h |   34 +++++++++++++++++-----------------
>   linux-user/cpu-uname.c          |    2 +-
>   2 files changed, 18 insertions(+), 18 deletions(-)

Reviewed-by: Stefan Weil <sw@weilnetz.de>

I cc'ed qemu-trivial, too. Stefan, you can take both patches
into the trivial patch queue.

Thanks + regards,
Stefan Weil

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [PATCH 0/2] linux-user: Fix non-UTF-8 characters
  2011-12-03  7:55 ` [Qemu-devel] [PATCH 0/2] linux-user: " Stefan Weil
@ 2011-12-06 10:15   ` Stefan Hajnoczi
  0 siblings, 0 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2011-12-06 10:15 UTC (permalink / raw)
  To: Stefan Weil
  Cc: qemu-trivial, Peter Maydell, Riku Voipio, Loïc Minier,
	qemu-devel

On Sat, Dec 03, 2011 at 08:55:59AM +0100, Stefan Weil wrote:
> Am 02.12.2011 20:30, schrieb Peter Maydell:
> >These two patches fix some non-UTF-8 characters in linux-user/
> >source files. Other than the five files Stefan Weil recently sent
> >a patch to fix, these are the only remaining non-UTF-8 characters
> >in the source tree.
> >
> >Since I don't entirely trust the email path for sending patches
> >to files where the diffs include non-UTF-8, I've also put the
> >changes up in a git repo, so you may prefer to pull from there:
> 
> 'git am' accepted both patches here without any problem.
> 
> >The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732:
> >
> >   Update version for 1.0 release (2011-12-01 14:04:21 -0600)
> >
> >are available in the git repository at:
> >   git://git.linaro.org/people/pmaydell/qemu-arm.git non-utf-fixes
> >
> >Peter Maydell (2):
> >       linux-user/cpu-uname.c: Convert to UTF-8
> >       linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters
> >
> >  linux-user/arm/nwfpe/fpopcode.h |   34 +++++++++++++++++-----------------
> >  linux-user/cpu-uname.c          |    2 +-
> >  2 files changed, 18 insertions(+), 18 deletions(-)
> 
> Reviewed-by: Stefan Weil <sw@weilnetz.de>
> 
> I cc'ed qemu-trivial, too. Stefan, you can take both patches
> into the trivial patch queue.

Thänk§, äppliéd to thé triviäl pätché§ -néxt tréé.

Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-06 10:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02 19:30 [Qemu-devel] [PATCH 0/2] linux-user: Fix non-UTF-8 characters Peter Maydell
2011-12-02 19:30 ` [Qemu-devel] [PATCH 1/2] linux-user/cpu-uname.c: Convert to UTF-8 Peter Maydell
2011-12-02 19:30 ` [Qemu-devel] [PATCH 2/2] linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters Peter Maydell
2011-12-03  7:55 ` [Qemu-devel] [PATCH 0/2] linux-user: " Stefan Weil
2011-12-06 10:15   ` Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).