Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Ivanko B
Me have quite another scenario - all things (the progress bar, the cancel button, the thread component and the thread OnExecute function) happen on a main form. 2012/7/21, Martin Schreiber : > On Saturday 21 July 2012 18:08:29 Ivanko B wrote: >> The "updater" [shows SSLing/CRYPTing, HTTP handling,

Re: [MSEide-MSEgui-talk] Wishlist: editor with tabs visible

2012-07-21 Thread Martin Schreiber
On Tuesday 17 July 2012 09:18:44 Graeme Geldenhuys wrote: > On 17 July 2012 06:26, Martin Schreiber wrote: > > IIRC I once had TAB display code in MSEgui already. I'll have a look. > > Awesome, thanks. Git master 705685a007a2b7193163f8c28ddf5b9c1ad354b6 has 'Project'-'Options'-'Show Tabs'. Mart

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Martin Schreiber
On Saturday 21 July 2012 18:08:29 Ivanko B wrote: > The "updater" [shows SSLing/CRYPTing, HTTP handling, also threading ] ? > Not finished yet - 2 (pre-file & global) progress bars are to > implement. That's why the need in threading has happened :) > Examples are here: http://gitorious.org/mseuniv

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Ivanko B
The "updater" [shows SSLing/CRYPTing, HTTP handling, also threading ] ? Not finished yet - 2 (pre-file & global) progress bars are to implement. That's why the need in threading has happened :) 2012/7/21, Martin Schreiber : > On Saturday 21 July 2012 16:38:21 Ivanko B wrote: >> Hmm.. is it possibl

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Martin Schreiber
On Saturday 21 July 2012 16:38:21 Ivanko B wrote: > Hmm.. is it possible to write smth like README.threads so that to > describe all the different threading components ? IIRC you made an example project already? Martin -

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Ivanko B
Hmm.. is it possible to write smth like README.threads so that to describe all the different threading components ? 1) where & which one to use 2) assigning thread function 3) starting & life cycle & pausing & interrupting & terminating & interacting with main application 4) whether & how to use se

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Martin Schreiber
On Saturday 21 July 2012 13:47:40 Ivanko B wrote: > Check .terminated regularely in the receiving loop and exit > if "true". > = > To check if the thread still alive in the ttread's OnExecute function > (where the receiving loop is) ? > Yes, check if .terminate() has been called. > onstar

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Ivanko B
Check .terminated regularely in the receiving loop and exit if "true". = To check if the thread still alive in the ttread's OnExecute function (where the receiving loop is) ? onstart and onterminate run in application.lock() state. = Are they required to use ? To perform some clea

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Martin Schreiber
On Saturday 21 July 2012 13:14:18 Ivanko B wrote: > That's tguithread.active:= true & tprogressbar.value are fully enough > for the scenario? Yes. Although if you don't use tguithread.runwithwaitdialog() you could use the normal tthreadcomp. > Should me use any app locking, thread starting & >

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Ivanko B
That's tguithread.active:= true & tprogressbar.value are fully enough for the scenario? Should me use any app locking, thread starting & terminating stuff ? How to exit the thread (aborting download in the thread by a button on MAINFO ) so that the main application to exit next ? 2012/7/21, Marti

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Martin Schreiber
On Saturday 21 July 2012 12:45:46 Ivanko B wrote: > How then to implement proper progress bar for the attached code ?: > tprogressbar.value is thread safe. Simply use it. Martin -- Live Security Virtual Conference Exclusi

Re: [MSEide-MSEgui-talk] ZenGL, OpenGL library

2012-07-21 Thread wahono sri
>> > Is there a demo of an editor as MSEide source editor or the like? > Yes but for text input and draw UTF8 text. http://zengl.org/download.html -- Live Security Virtual Conference Exclusive live event will cover all the

Re: [MSEide-MSEgui-talk] ZenGL, OpenGL library

2012-07-21 Thread Martin Schreiber
On Saturday 21 July 2012 10:44:24 wahono sri wrote: > > Looks interesting. How does it draw text? Freetype? Did you test the text > > drawing performance? > > As I look in zengl sourcecode, they use their own text drawing, but > maybe the problem is their use their own font (ZFI). :). Experimental

Re: [MSEide-MSEgui-talk] ZenGL, OpenGL library

2012-07-21 Thread wahono sri
> Looks interesting. How does it draw text? Freetype? Did you test the text > drawing performance? As I look in zengl sourcecode, they use their own text drawing, but maybe the problem is their use their own font (ZFI). :). For performance test it look good as I run their demo. > The license is L

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Martin Schreiber
On Saturday 21 July 2012 09:02:37 Ivanko B wrote: > Please don't forget application.lock()/unlock(). > = > When & where to put these commands ? > When touching main (gui) thread elements from an additional thread. " application.lock; //access main thread elements application.unlock;

Re: [MSEide-MSEgui-talk] Truncated & mashed WRITELN to IDE console output

2012-07-21 Thread Ivanko B
Please don't forget application.lock()/unlock(). = When & where to put these commands ? 2012/7/21, Martin Schreiber : > On Friday 20 July 2012 20:08:20 Ivanko B wrote: >> if issued by a thread, even calling FLASH (stdout) doesn't help. > > Use a mutex in order to serialize output. Fo