iwidgets for itk4

Artifact [e1a04f14fa]
Login

Artifact [e1a04f14fa]

Artifact e1a04f14fad87cd6a436c86072fedf2cc71ebefc:

Ticket change [e1a04f14fa] - New ticket [f0036c69c9191b43|f0036c69c9] <i>scrolledhtml -import method fails on Windows with valid pathname.</i>. by anonymous 2016-08-31 23:21:47.
D 2016-08-31T23:21:47.562
J icomment The\scode\sbelow\sfrom\sthe\sscrolledhtml\swidget\simport\smethod\swill\snot\swork\swith\sWindows\sfile\spathnames.\s\sIt's\swrong\son\sa\sfew\scounts.\r\n\r\n\s\s\s\s\s\s\s\s\s\s-link\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s#\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s#\sgot\s-link,\sso\sset\spath\srelative\sto\scurrent\slocale,\sif\spath\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s#\sis\sa\srelative\spathname\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s#\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\sif\s{[string\scompare\s"."\s[file\sdirname\s$filename]]\s==\s0}\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sset\sf\s[open\s$_cwd/$filename\sr]\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s}\selse\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sif\s{[string\sindex\s[file\sdirname\s$filename]\s0]\s!=\s"/"\s&&\\\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s[string\sindex\s[file\sdirname\s$filename]\s0]\s!=\s"~"}\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sset\sf\s[open\s$_cwd/$filename\sr]\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sappend\s_cwd\s/\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sappend\s_cwd\s[file\sdirname\s$filename]\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s}\selse\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sset\sf\s[open\s$filename\sr]\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sset\s_cwd\s[file\sdirname\s$filename]\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s}\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s}\r\n\s\s\s\s\s\s\s\s\s\s}
J login anonymous
J mimetype text/x-fossil-plain
J severity Critical
J status Open
J title scrolledhtml\s-import\smethod\sfails\son\sWindows\swith\svalid\spathname.
J type Code_Defect
K f0036c69c9191b43a3631dd7f39a898b99517c69
U anonymous
Z f366bc7e98eb5d7e7afc7e2139b52c2a