Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-29 Thread April White

April White wrote:
I think I am going to rethink my approach to the job system under 
Linux, to minimize the changes.  Back to the drawing board.


Success!

I have to remove all of my debug code, document my changes, and remember 
how to connect to the site where I've stored previous versions in the 
past, but it works on my Mandriva box.


Okay, only the 'Go' command, but it works.  I'll try the change I made 
to the SciTE/Lua interface, where I added scite.Execute()


Happiness is!

April

--
You can't teach a new mouse old clicks.
Steve Quinn Maxims for the Internet Age

___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest


Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-29 Thread Neil Hodgson
April White:

 Okay, only the 'Go' command, but it works.  I'll try the change I made
 to the SciTE/Lua interface, where I added scite.Execute()

   Good! Shouldn't be much more work to add the other commands.

   Neil
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest


Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-16 Thread steve donovan

On 7/16/07, steve donovan [EMAIL PROTECTED] wrote:

I think you're going to need threads!

On mature reflection, threads are more trouble than they're worth. One
still has the old problem of communicating with a GUI thread, which
SendMessage does for us semi-magically.

Instead, when a job finishes with a 0 exit code, and there's something
left in the job queue, just do it again until the queue is finished.

BTW, I've noticed that one doesn't always get a 0 exitcode with the
GTK version, particularly if I'm using make. This would be a problem
for a job queue.

steve d.
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest


Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-15 Thread April White

April White wrote:

... And the GTK source compiles, but no job runs - ...


I think I know why it is not running the commands in Linux.  In the 
win32 changes, when a command is added the program broadcasts a message 
IDM_JOBS, which in turn starts the execution of jobs.  I did not 
implement such a thing in the gtk code. 

Is there an equivalent to win32 SendMessage()? 


April

--
I'm drowning in boredom, and you're handing me anchors?

___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest


Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-15 Thread Neil Hodgson

April White:


Thanks Mitchell.  I did compile with DEBUG=1, and followed the steps
above, but I did not get a segfault while executing a tool - nothing did
happen - but I did get a double free or corruption when I exited
SciTE. The results of 'back' were vague and useless, showing a few
unidentified addresses and some with system names such as 'libc.so.6'


  There are various memory debuggers. I've found Valgrind useful on Linux.


Is there an equivalent to win32 SendMessage()?


  There is no close equivalent to SendMessage.

  Neil
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest


Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-15 Thread April White

Neil Hodgson wrote:
  There are various memory debuggers. I've found Valgrind useful on 
Linux.
Thank you for reminding me.  I've seen it discussed on other lists, and 
I also saw it in the list of packages.  I just have to remember to try it.



  There is no close equivalent to SendMessage.

Thank you Neil.

I think I am going to rethink my approach to the job system under Linux, 
to minimize the changes.  Back to the drawing board.


April

--
I'm drowning in boredom, and you're handing me anchors?

___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest


Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-14 Thread steve donovan

Now this is _exactly_ why I wanted to do simple debugging when still
inside SciTE!  kdevelop,anjuta, etc are overengineered nightmares.
You can't write a hello,world!' program without choosing a licence
and creating a makefile. So Mitchell's advice is pretty good.

steve d.

On 7/14/07, Neil Hodgson [EMAIL PROTECTED] wrote:

April White:

 So the rhetorical question is, how do I debug this?  My Linux experience
 is really limited, heck I cannot even find where aliases are set nor
 change one to suit my preferences.  Well I can type in the command, but
 I want to put it into my start up script - which I did - but it does not
 'take'.

   IIRC I used kdevelop for a while but like most IDEs, it really
expects you to be using its project facility so you have to figure out
how to run up an external executable. I've never found a Linux IDE
that I actually like so most debugging is done using Visual Studio on
Windows.

   Neil
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest


___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest


Re: [scite] me, Linux, and SciTE/Scintilla

2007-07-13 Thread Neil Hodgson

April White:


So the rhetorical question is, how do I debug this?  My Linux experience
is really limited, heck I cannot even find where aliases are set nor
change one to suit my preferences.  Well I can type in the command, but
I want to put it into my start up script - which I did - but it does not
'take'.


  IIRC I used kdevelop for a while but like most IDEs, it really
expects you to be using its project facility so you have to figure out
how to run up an external executable. I've never found a Linux IDE
that I actually like so most debugging is done using Visual Studio on
Windows.

  Neil
___
Scite-interest mailing list
Scite-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scite-interest