Ecere SDK/eC Forums https://ecere.org/community/ Print view |
|
SmartOpenFile issue [OP]EditBox.HasXXScroll issue https://ecere.org/community/viewtopic.php?f=5&t=229 |
Page 1 of 2 |
Author: | samsam598 [ Mon Apr 02, 2012 2:01 am ] |
Post subject: | SmartOpenFile issue [OP]EditBox.HasXXScroll issue |
Greetings! I tested with the lasted and found even I've set Editbox.HasHorzScroll=true and HasVertScroll=true, and even the text content is long enough,when the window shows up,the VScroll and HScroll bar are both invisible.Now if I resize the form with the form's right bottom,both show up now. Regards, Sam |
Author: | jerome [ Mon Apr 02, 2012 10:23 am ] |
Post subject: | Re: EditBox.HasXXScroll issue |
Thanks Sam! I've created a Mantis issue for you: http://ecere.com/mantis/view.php?id=734 I will look into this. It might have to do with an optimization I did for scroll bars last week. Regards, Jerome |
Author: | samsam598 [ Mon Sep 03, 2012 7:44 pm ] |
Post subject: | Re: EditBox.HasXXScroll issue |
Just wanna know whether this issue has been fixed or not.tks. |
Author: | jerome [ Mon Sep 03, 2012 8:47 pm ] |
Post subject: | Re: EditBox.HasXXScroll issue |
Hi Sam! No, as the status of the issue points out, I was awaiting feedback from you... I'm not sure I understand the problem and/or how to reproduce it. Could you please give me some code and steps to reproduce the problem? Thanks, Jerome |
Author: | samsam598 [ Mon Sep 03, 2012 9:17 pm ] |
Post subject: | Re: EditBox.HasXXScroll issue |
Sorry my bad.Just re-ran the program and found it works perfect now. Btw,the SmartFileOpen function is really great!!It works perfect as well with asia (Chinese) characters!! Code: Select all
|
Author: | samsam598 [ Tue Aug 27, 2013 5:21 am ] |
Post subject: | Re: EditBox.HasXXScroll issue |
Just found it.Please see comments in the source. Code: Select all
|
Author: | jerome [ Tue Aug 27, 2013 10:23 am ] |
Post subject: | Re: SmartOpenFile issue [OP]EditBox.HasXXScroll issue |
Hi Sam, The HTTPFile class does not support the https protocol at the moment. I'm not sure all that would be required to support it, we already have a SSLSocket class for connecting through OpenSSL in the extras . Contribution in this area would be much appreciated There is also the possibility of using libcurl. // is not recognized as an HTTP address when passed directly with OpenURL (Will look into the crash, at least it shouldn't crash) www. is not recognized as an HTTP address either when opened with OpenURL. You'd need to add the http:// in front As for hao123 and taobao, I've had reports and seen myself that HTTPFile is suffering from a few problems lately. I am hoping to find the time to look at these this week. Will keep you posted! Regards, Jerome |
Author: | jerome [ Fri Aug 30, 2013 4:08 am ] |
Post subject: | Re: SmartOpenFile issue [OP]EditBox.HasXXScroll issue |
Hi Sam, I've opened the following ticket regarding this issue: http://ecere.com/mantis/view.php?id=997 I've done some debugging, but still not quite sure what's causing the hangups. I will investigate further. Regards, Jerome |
Author: | jerome [ Wed Sep 18, 2013 12:20 am ] |
Post subject: | Re: SmartOpenFile issue [OP]EditBox.HasXXScroll issue |
Hi Sam, Regarding http://www.taobao.com , the server is serving text encoded in the GBK charset (Guojia Biaozhun - 国家标准), for which there is no support in Ecere at this time. Ecere currently only understands ASCII, ISO-8859-1 and UTF-8. You would need to first convert the text data into UTF-8 for it to display properly using the Ecere API. I believe I've solved a lot of the issues with the HTTPFile class, and will be pushing some commits to the master branch soon. I might look at what is required to support https as well sometime soon. Regards, Jerome |
Author: | samsam598 [ Wed Sep 18, 2013 11:48 pm ] |
Post subject: | Re: SmartOpenFile issue [OP]EditBox.HasXXScroll issue |
Appreciated.SmartFileOpen actually's done a great job.Even using some down and dirty c libs ,it can't be better as I far as I tested regarding the different locale or encoding issue.Per my experience on C/C++with WxWidgets,D,Lazaurs,eC provided the best crossplatfrom compatiblity.In eC I can talk with MS Access easily and proper handle/interact Chinese character with backend Access database,but in all others I've mentioned above,I encountered a lot of issues and Asian/Chinese character issue is not a issue that many developers who are interested in so there is rarely a known or prompt solution come up. Right at this moment,my issue with eC is when I tried to use a existing c lib(again in pure c project it works pretty good) in eC project,compiler often complains such as "error :expected ';' , '.' , ')' ,'asm' or '__attribute__' before '*' token etc.Each time when I encountered such an issue,I am quite cofused and depressed.I don't know is the c lib using some extra features like the one I encountered before,say curl,that is,it is the problem of the c lib itself,or a common issue that when there is some #define issue when the lib headers been included/imported in an eC project.I don't know either whethere in eC the current 'namespace' can help to avoid the issue. Regards, Sam |
All times are UTC-05:00 | Page 1 of 2 |
Powered by phpBB® Forum Software © phpBB Limited |