haxe/haxe.patch

Thu, 04 Oct 2012 20:08:55 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:08:55 +0200
changeset 711
e5faec28ec63
parent 112
6052d0605a74
permissions
-rw-r--r--

Back out changes in 2.17.3:rateup.c disabling unit abbreviation.
Even when properly specifying 'kMG', the weekly, monthly, and yearly
graphs would not include abbreviated (with kMG postfix) values but
instead a very long figure such as '12000000.0 k' in the short legend.
The daily graphs don't suffer this problem, more research is needed.

     1 Index: haxe/doc/install.ml
     2 --- haxe/doc/install.ml.orig	2007-12-16 14:37:46 +0100
     3 +++ haxe/doc/install.ml	2008-05-30 14:06:45 +0200
     4 @@ -144,10 +144,10 @@
     5  in
     6  let startdir = Sys.getcwd() in
     7  try
     8 -	download();
     9 +	(* download(); *)
    10  	compile();
    11  	Sys.chdir startdir;
    12  with
    13  	Failure msg ->
    14  		Sys.chdir startdir;
    15 -		prerr_endline msg; exit 1
    16 \ No newline at end of file
    17 +		prerr_endline msg; exit 1
    18 Index: haxe/parser.ml
    19 --- haxe/parser.ml.orig	2008-11-25 21:20:36.000000000 +0100
    20 +++ haxe/parser.ml	2009-02-25 13:44:52.464412227 +0100
    21 @@ -299,9 +299,9 @@
    22  		}
    24  and parse_type_path_or_const = parser
    25 -	| [< '(Const (String s),_); >] -> TPConst (String s)
    26 -	| [< '(Const (Int i),_); >] -> TPConst (Int i)
    27 -	| [< '(Const (Float f),_); >] -> TPConst (Float f)
    28 +	| [< '(Const (String s),_); placeholder1 >] -> TPConst (String s)
    29 +	| [< '(Const (Int i),_); placeholder2 >] -> TPConst (Int i)
    30 +	| [< '(Const (Float f),_); placeholder3 >] -> TPConst (Float f)
    31  	| [< t = parse_type_path >] -> TPType t
    33  and parse_type_path_next t = parser

mercurial