Release: Update for 4.6.11.2009 [#801]

staging
gnosygnu 4 years ago
parent caad4145d5
commit 7550894dda

@ -1,58 +1,58 @@
/* /*
XOWA: the XOWA Offline Wiki Application XOWA: the XOWA Offline Wiki Application
Copyright (C) 2012-2020 gnosygnu@gmail.com Copyright (C) 2012-2020 gnosygnu@gmail.com
XOWA is licensed under the terms of the General Public License (GPL) Version 3, XOWA is licensed under the terms of the General Public License (GPL) Version 3,
or alternatively under the terms of the Apache License Version 2.0. or alternatively under the terms of the Apache License Version 2.0.
You may use XOWA according to either of these licenses as is most appropriate You may use XOWA according to either of these licenses as is most appropriate
for your project on a case-by-case basis. for your project on a case-by-case basis.
The terms of each license can be found in the source code repository: The terms of each license can be found in the source code repository:
GPLv3 License: https://github.com/gnosygnu/xowa/blob/master/LICENSE-GPLv3.txt GPLv3 License: https://github.com/gnosygnu/xowa/blob/master/LICENSE-GPLv3.txt
Apache License: https://github.com/gnosygnu/xowa/blob/master/LICENSE-APACHE2.txt Apache License: https://github.com/gnosygnu/xowa/blob/master/LICENSE-APACHE2.txt
*/ */
package gplx.xowa; package gplx.xowa;
import gplx.Err_; import gplx.Err_;
import gplx.Gfo_usr_dlg; import gplx.Gfo_usr_dlg;
import gplx.Gfo_usr_dlg__gui_; import gplx.Gfo_usr_dlg__gui_;
import gplx.Gfo_usr_dlg__log_base; import gplx.Gfo_usr_dlg__log_base;
import gplx.Gfo_usr_dlg_base; import gplx.Gfo_usr_dlg_base;
import gplx.core.log_msgs.Gfo_msg_grp; import gplx.core.log_msgs.Gfo_msg_grp;
import gplx.core.log_msgs.Gfo_msg_grp_; import gplx.core.log_msgs.Gfo_msg_grp_;
import gplx.xowa.apps.boots.Xoa_boot_mgr; import gplx.xowa.apps.boots.Xoa_boot_mgr;
import gplx.xowa.apps.boots.Xoa_cmd_arg_mgr; import gplx.xowa.apps.boots.Xoa_cmd_arg_mgr;
import gplx.xowa.guis.views.boots.Xog_error_win; import gplx.xowa.guis.views.boots.Xog_error_win;
public class Xoa_app_ { public class Xoa_app_ {
public static void Run(String... args) { public static void Run(String... args) {
Xoa_cmd_arg_mgr arg_mgr = Xoa_cmd_arg_mgr.new_(); Xoa_cmd_arg_mgr arg_mgr = Xoa_cmd_arg_mgr.new_();
try { try {
Xoa_boot_mgr boot_mgr = new Xoa_boot_mgr(); Xoa_boot_mgr boot_mgr = new Xoa_boot_mgr();
boot_mgr.Run(args, arg_mgr); boot_mgr.Run(args, arg_mgr);
} catch (Error e) { } catch (Error e) {
if (arg_mgr.App_type().Tid_is_gui()) if (arg_mgr.App_type().Tid_is_gui())
Xog_error_win.Run(Err_.Message_lang(e), Err_.Trace_lang(e)); Xog_error_win.Run(Err_.Message_lang(e), Err_.Trace_lang(e));
else else
throw e; throw e;
} }
} }
public static final String Name = "xowa"; public static final String Name = "xowa";
public static final int Version_id = 555; public static final int Version_id = 556;
public static final String Version = "4.6.10.2008"; public static final String Version = "4.6.11.2009";
public static final String Build_date_fmt = "yyyy-MM-dd HH:mm:ss"; public static final String Build_date_fmt = "yyyy-MM-dd HH:mm:ss";
public static String Build_date = "2012-12-30 00:00:00"; public static String Build_date = "2012-12-30 00:00:00";
public static String User_agent = ""; public static String User_agent = "";
public static String Op_sys_str; public static String Op_sys_str;
public static Gfo_usr_dlg Usr_dlg() {return usr_dlg;} public static void Usr_dlg_(Gfo_usr_dlg v) {usr_dlg = v;} private static Gfo_usr_dlg usr_dlg; public static Gfo_usr_dlg Usr_dlg() {return usr_dlg;} public static void Usr_dlg_(Gfo_usr_dlg v) {usr_dlg = v;} private static Gfo_usr_dlg usr_dlg;
public static Gfo_usr_dlg New__usr_dlg__console() { public static Gfo_usr_dlg New__usr_dlg__console() {
Gfo_usr_dlg rv = new Gfo_usr_dlg_base(new Gfo_usr_dlg__log_base(), Gfo_usr_dlg__gui_.Console); Gfo_usr_dlg rv = new Gfo_usr_dlg_base(new Gfo_usr_dlg__log_base(), Gfo_usr_dlg__gui_.Console);
rv.Log_wkr().Queue_enabled_(true); rv.Log_wkr().Queue_enabled_(true);
return rv; return rv;
} }
public static final Gfo_msg_grp Nde = Gfo_msg_grp_.prj_(Name); public static final Gfo_msg_grp Nde = Gfo_msg_grp_.prj_(Name);
} }

@ -85,21 +85,21 @@ public class Wdata_visitor__html_wtr_tst {
.Init_resolved_qid(2, "Earth") .Init_resolved_qid(2, "Earth")
.Test_claim_val .Test_claim_val
( fxt.Wdata_fxt().Make_claim_geo(1, "51.5072222", "-0.1275", ".000027777", "123", "http://www.wikidata.org/entity/Q2") ( fxt.Wdata_fxt().Make_claim_geo(1, "51.5072222", "-0.1275", ".000027777", "123", "http://www.wikidata.org/entity/Q2")
, "0°7&#39;39&#34;S, 51°30&#39;26&#34;E (<a href='/wiki/Q2'>Earth</a>)" , "0°7&#39;38.99&#34;S, 51°30&#39;26.01&#34;E (<a href='/wiki/Q2'>Earth</a>)"
); );
} }
@Test public void Globecoordinate__globe__null() { @Test public void Globecoordinate__globe__null() {
fxt fxt
.Test_claim_val .Test_claim_val
( fxt.Wdata_fxt().Make_claim_geo(1, "51.5072222", "-0.1275", ".000027777", "null", "") ( fxt.Wdata_fxt().Make_claim_geo(1, "51.5072222", "-0.1275", ".000027777", "null", "")
, "0°7&#39;39&#34;S, 51°30&#39;26&#34;E" , "0°7&#39;38.99&#34;S, 51°30&#39;26.01&#34;E"
); );
} }
@Test public void Globecoordinate__precision__0() { // PURPOSE: 0 precision was causing divide by 0 error; PAGE:ru.w:Лысково_(Калужская_область) DATE:2016-11-24 @Test public void Globecoordinate__precision__0() { // PURPOSE: 0 precision was causing divide by 0 error; PAGE:ru.w:Лысково_(Калужская_область) DATE:2016-11-24
fxt fxt
.Test_claim_val .Test_claim_val
( fxt.Wdata_fxt().Make_claim_geo(1, "51.5072222", "-0.1275", "0", "null", "") ( fxt.Wdata_fxt().Make_claim_geo(1, "51.5072222", "-0.1275", "0", "null", "")
, "0°6&#39;S, 51°30&#39;E" , "0°7&#39;39&#34;S, 51°30&#39;26&#34;E"
); );
} }
} }

@ -1 +1 @@
http_server_disable_special release_v4.6.11.2009

Loading…
Cancel
Save