December 20, 2005
On Tue, 20 Dec 2005 22:39:08 +0000 (UTC), Chris Lajoie wrote:


[snip]

> Shawn, I don't know what you use currently, but if you are just using the command line client, I recommend TortiseSVN for using svn in windows. I am usually reluctant to try shell extensions, but it's not irritating (IMO) as most.

I can second this opinion. I've found TortoiseSVN to be seamless and very easy to use. I've never needed to use the command line SVN client.

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"A learning experience is one of those things that says,
 'You know that thing you just did? Don't do that.'" - D.N. Adams
21/12/2005 10:23:36 AM
December 20, 2005
Me too.

The only problem I've had with it is with respect to very large directories ~ MS File Explorer goes to sleep for ages whilst Tortoise figures out which icon to show for each file. It's not a problem for "reasonable" directory sizes, but I have one enormous set of files (1502) from Doxygen ...



"Derek Parnell" <derek@psych.ward> wrote in message news:4xvmq8euflu9.198qk9j1nzvj9$.dlg@40tude.net...
> On Tue, 20 Dec 2005 22:39:08 +0000 (UTC), Chris Lajoie wrote:
>
>
> [snip]
>
>> Shawn, I don't know what you use currently, but if you are just using the
>> command line client, I recommend TortiseSVN for using svn in windows. I
>> am
>> usually reluctant to try shell extensions, but it's not irritating (IMO)
>> as most.
>
> I can second this opinion. I've found TortoiseSVN to be seamless and very easy to use. I've never needed to use the command line SVN client.
>
> -- 
> Derek
> (skype: derek.j.parnell)
> Melbourne, Australia
> "A learning experience is one of those things that says,
> 'You know that thing you just did? Don't do that.'" - D.N. Adams
> 21/12/2005 10:23:36 AM


December 21, 2005
Kris wrote:
> Me too.
> 
> The only problem I've had with it is with respect to very large directories ~ MS File Explorer goes to sleep for ages whilst Tortoise figures out which icon to show for each file. It's not a problem for "reasonable" directory sizes, but I have one enormous set of files (1502) from Doxygen ...
> 
> 
> 

This problem is what made me move to the command line version in preference to the shell version.  The shell extension seems to slow down the file listing somewhat in explorer directories and significantly more in long listings like Kris mentions.  Otherwise, the shell extension does simplify the svn interface.  But, in actual fact, the command line isn't that complicated either.  There are relatively few commands to learn (at least the ones that are frequently used): checkout, update and cleanup.  Those are the basic ones used by the project users.  There are only two or three more commands that would be by frequently used by the project developer.

-JJR
December 21, 2005
"Brad Anderson" <brad@dsource.dot.org> says:43A834E6.6060806@dsource.dot.org...
> Shawn Liu wrote:
>> "Charles" <noone@nowhere.com> says:do98bu$v5p$1@digitaldaemon.com...
>
> Shawn,
>
> 1. Is it time for a separate 'Poseidon' project on dsource?
>

Sure. Charles is preparing some intelligent feature for it. And where may be
someother people interested to contribute.
Thanks!

> 2. Is it time for a clean-up of the SVN repos for DWT?  Having a zip file of the source is not ideal, because it doesn't let people track the individual changes to files.  Also, people should be able to go to /trunk and see the current code, go to /tags/0.33 and see the code exactly as it was for release 0.33, and so on.
>

I usually make D developement at office. But there is no means to upload any thing from company. (There is even a length limitation when post to NG from company). I can only access SVN at home. And keep just one zipped file make it some easier. I will try to clean up SVN repos later.

> Are you able to use SVN client like in #2?  I seem to remember bandwidth issues for so many files, and that's why you only upload one zip.  I can certainly help you get caught up with the SVN repos if you want...
>
> Let me know on these two issues.
>
> BA

I use TortoiseSVN as the client. And dsource.org has a high throughput than before. Thanks for keeping the site well maintained.



December 21, 2005
The ak.xml is easy to use with a friendly API interface though lack of documents. And there is less decency issue (only two files) to import to other projects.

And some suggestion:
When update partial content of an existed xml file. akxml makes some blank
space inserted every time and makes the file a little larger. Currently I
rewrite all the content to solve it. There may be an alignment or indent
when save. Maybe there is but I didn't find since lack of documents :)

Thanks!

"bobef" <bobef@lessequal.com> says:do9edq$1f0s$1@digitaldaemon.com...
> LOL. I just opened the screenshot and it is using my xml library. I never thought someone will use this stuff it was meant for personal usage (actualy I tested D with it and I fell in love :) so it was never documented... Anyway I wish to say I am glad. And also this was good reminder for me about DWT. I was wondering which library should I move akIDE to after my disapointment with GTK. I've seen DWT before but from another perspective... Now it looks very suitable and I will give it serious examination. Wish you luck.
>
> Shawn Liu wrote:
>> "Poseidon" is an open source D editor written with DWT.
>>
>> features:
>> 1) multiple documents/multiple projects management (early)
>> 2) syntax high light powered by Scintilla
>> 3) customizable hot key (short cut) for editor
>> 4) customizable external tools
>> 5) decent find/replace, code navigation behaviors
>> 6) compile/build integrated as external tools
>>
>> binary package : http://svn.dsource.org/projects/dwt/downloads/win32/Poseidon-v0.1-bin.rar screen shot: http://svn.dsource.org/projects/dwt/downloads/win32/examples/poseidon.png
>>
>> The source code is coming with DWT 0.33 soon.
>>
>> - Shawn Liu
>>
>>
>> 

December 21, 2005
The tips of Poseidon:

1) Double click on the header of editor tab to toggle its state. Double click on the header of bottom panel to toggle the minimized/restore state.

2) Right click on a edit item header to performance a "save/save all/close all/close others" operation.

3) Select on some text, press F3/F4 to find next/prev matched without popup the find dialog. It is true even with "regular expressions" on. When no text selected, the original searched target is applied.

4) There are 3 short-cuts to do code comment. the default is
CTRL+Q : toggle the line/block comment by "//"
CTRL+SHIFT+Q : do a general "/* */" comment
CTRL+B : do a box comment like
/**
*
*/


Enjoy!

- Shawn

"Shawn Liu" <shawn666.liu@gmail.com> says:do964j$qr7$1@digitaldaemon.com...
> "Poseidon" is an open source D editor written with DWT.
>
> features:
> 1) multiple documents/multiple projects management (early)
> 2) syntax high light powered by Scintilla
> 3) customizable hot key (short cut) for editor
> 4) customizable external tools
> 5) decent find/replace, code navigation behaviors
> 6) compile/build integrated as external tools
>
> binary package : http://svn.dsource.org/projects/dwt/downloads/win32/Poseidon-v0.1-bin.rar screen shot: http://svn.dsource.org/projects/dwt/downloads/win32/examples/poseidon.png
>
> The source code is coming with DWT 0.33 soon.
>
> - Shawn Liu
>


December 21, 2005
The internal codepage of Scintilla is set to fixed as SC_CP_UTF8.

Since D string is in UTF8 format, set scintilla's CP to utf8 make it free
for D to access scintilla text involved APIs and a high performance. Because
there is no conversion between D string and Scintilla text buffer.
Any other encoded files are converted to UTF8 when loaded by scintilla. And
convert to its original format when scintilla do a save operation. This is
done with the help of "dmd/packages/dwt/examples/Poseidon/util/fileutil.d".


"Charles" <noone@nowhere.com> says:do9cll$1922$1@digitaldaemon.com...
> Hehe, sorry you'd have to change the source .
>
> In the file dmd/packages/dwt/examples/Poseidon/ui/scintillaex.d in
> function
> [ init() ] on line 246 there is  [ setCodePage(SC_CP_UTF8 ); ] .
>
> I'm not sure what you would change it too though, whats your native
> language
> ?
>
> Charlie
> 

December 21, 2005
Yes, you are right. There is indentation added when saving. Look at save function in core.d. The saving code is incomplete by the way. When I find time I will improve it... Here is what I do. When I load an XML file I call xml.m_root.clean(1); which should remove all whitespaces, i.e. it will remove the whitespaces from each elemnt that contains only whitespaces (assumed indentation), so I can read it corretly and then when I save it the indentation is added again... Hope this helps... I made it this way because it makes the XML files more readable. I can't remember if the indentation is currently optional when saving but it will be when the library is complete one day...

Shawn Liu wrote:
> The ak.xml is easy to use with a friendly API interface though lack of documents. And there is less decency issue (only two files) to import to other projects.
> 
> And some suggestion:
> When update partial content of an existed xml file. akxml makes some blank space inserted every time and makes the file a little larger. Currently I rewrite all the content to solve it. There may be an alignment or indent
> when save. Maybe there is but I didn't find since lack of documents :)
> 
> Thanks!
> 
> "bobef" <bobef@lessequal.com> says:do9edq$1f0s$1@digitaldaemon.com...
> 
>>LOL. I just opened the screenshot and it is using my xml library. I never thought someone will use this stuff it was meant for personal usage (actualy I tested D with it and I fell in love :) so it was never documented... Anyway I wish to say I am glad. And also this was good reminder for me about DWT. I was wondering which library should I move akIDE to after my disapointment with GTK. I've seen DWT before but from another perspective... Now it looks very suitable and I will give it serious examination. Wish you luck.
>>
>>Shawn Liu wrote:
>>
>>>"Poseidon" is an open source D editor written with DWT.
>>>
>>>features:
>>>1) multiple documents/multiple projects management (early)
>>>2) syntax high light powered by Scintilla
>>>3) customizable hot key (short cut) for editor
>>>4) customizable external tools
>>>5) decent find/replace, code navigation behaviors
>>>6) compile/build integrated as external tools
>>>
>>>binary package :
>>>http://svn.dsource.org/projects/dwt/downloads/win32/Poseidon-v0.1-bin.rar
>>>screen shot:
>>>http://svn.dsource.org/projects/dwt/downloads/win32/examples/poseidon.png
>>>
>>>The source code is coming with DWT 0.33 soon.
>>>
>>>- Shawn Liu
>>>
>>>
>>>
> 
> 
December 21, 2005
Shawn Liu wrote:
> The internal codepage of Scintilla is set to fixed as SC_CP_UTF8.
> 
> Since D string is in UTF8 format, set scintilla's CP to utf8 make it free for D to access scintilla text involved APIs and a high performance. Because there is no conversion between D string and Scintilla text buffer.
> Any other encoded files are converted to UTF8 when loaded by scintilla. And convert to its original format when scintilla do a save operation. This is done with the help of "dmd/packages/dwt/examples/Poseidon/util/fileutil.d".
> 

This sounds great. Do you have any idea of what is going on with my problem? I like Posidon but it is a little hard to write code when you can't enter []{} and have to copy paste them from somewhere else. :)
December 21, 2005
In article <dobbna$1ees$1@digitaldaemon.com>, Ivan Senji says...
>
>This sounds great.

You may download SciTE from http://www.scintilla.org and have a try. If SciTE can help you to enter those characters, Poseidon can be modified to satisfy you.

The current suspect code maybe in ui/editor.d line 1399-1400 in the private void onKeyDown(Event e) method.

comment the two lines and recompile it. But it only involved in CTRL key ??