From: Esteban A. B. <nab...@ya...> - 2009-07-26 17:15:47
|
> defenatly need to talk about wxDevIDE. i took a look at the > code and then i felt overwhelmed and kinda quit. some of the > delphi stuff is duplicated over an already exsisting C++ > solution. Tstringlist could be replaced with wxArrayString, > unless there is a viable reason we need to keep the other > one or that the wx version is too unstable. i have not seen > that it is. > > I have always said that we need to keep the > "LOOK AND FEEL" of wxDevC++. How we implement it > (e.g. Tstringlist/wxArrayString) is, for ME, unimportant. As > long as it looks like wxDevC++ and feels like wxDevC++ > (especially the designer) then I'm a happy > chappie. I agree with Mal. In fact, I think the point of wxDevIDE is the chance of getting rid of tons of things wxDevCpp does wrong. Sure, the current code may be helpful in understanding several things, like how the compiler, the debugger or the designer stuff works, etc. but in my opinion it would be a big mistake just taking the code and try to translate it to C++. You don't want to try to deal with the huge ass TMainForm mess again. In fact, a good desing separates the GUI stuff from the business domain objects; in that regard, the TMainForm implementation is a fundamentally flawed desing. I can give several other examples of things wxDevCpp does wrong: for one, event-driven sections of code are very difficult to understand. I've had lots of pain looking for the right place in code that gets executed after some obvious action in the GUI; there are several places that use things like the repaint event of some component to check on the state of some other component to trigger some action. Again, a good design requires the control of the flow of actions to be condenced in some well defined objects in which these tasks are clearly identified. > also in > keeping the interface the same it will mean configuration > dialogs too. most generally for the compiler this is easy > from what i have seen, but the editor is a different matter. > we can't make it a clone, but that is not the point. we > have an issue with the [editor dialog]&[editor] combo. > do we just MAKE the dialog as Devish as possible and pass it > to the ide or do we make a template class and have the > plugin fill it out. obviously if we don't use a plugin > for this there is no problem, but, planning for the future > makes things a lot easier. > > If I understand you correctly, I believe that > the editor "plugin", should contain the editor > itself as well as the config dialog. This should be as wxDev > as possible, removing what is not supported (I don't > think graying out is an option here since graying out > suggests that some action results in UNgraying), and adding > any options that are not supported by synedit (Code Folding > for example). This info could/should be in its own config > file, separate from the general stuff for the IDE. I've written a proposal on how the plugins support could be modeled. http://wxdevide.wiki.sourceforge.net/wxDevIDE+API?f=print I know it is a little confusing, but my idea could be summarized in observing which parts of the IDE are good candidates for plugin replacement, and implement all the comunication between them and the cotroller objects throwgh interfaces (c++ abstract classes). At this point I think I would like to contribute in this area of the project, if you guys agree. ____________________________________________________________________________________ ¡Obtén la mejor experiencia en la web! Descarga gratis el nuevo Internet Explorer 8. http://downloads.yahoo.com/ieak8/?l=e1 |
From: M N. <m.n...@wa...> - 2009-07-26 17:31:40
|
On Sun, Jul 26, 2009 at 7:15 PM, Esteban Aguilar B. <nab...@ya...>wrote: > > > I have always said that we need to keep the > > "LOOK AND FEEL" of wxDevC++. How we implement it > > (e.g. Tstringlist/wxArrayString) is, for ME, unimportant. As > > long as it looks like wxDevC++ and feels like wxDevC++ > > (especially the designer) then I'm a happy > > chappie. > > I agree with Mal. In fact, I think the point of wxDevIDE is the chance of > getting rid of tons of things wxDevCpp does wrong. Sure, the current code > may be helpful in understanding several things, like how the compiler, the > debugger or the designer stuff works, etc. but in my opinion it would be a > big mistake just taking the code and try to translate it to C++. Designing the IDE should be reasonably simple, since we are just replicating a lot of dialogs in the first place. And I do agree that attempting to merely translate the Delphi to C++ is fraught with problems. > > > You don't want to try to deal with the huge ass TMainForm mess again. In > fact, a good desing separates the GUI stuff from the business domain > objects; in that regard, the TMainForm implementation is a fundamentally > flawed desing. > > I can give several other examples of things wxDevCpp does wrong: for one, > event-driven sections of code are very difficult to understand. I've had > lots of pain looking for the right place in code that gets executed after > some obvious action in the GUI; there are several places that use things > like the repaint event of some component to check on the state of some other > component to trigger some action. Again, a good design requires the control > of the flow of actions to be condenced in some well defined objects in which > these tasks are clearly identified. I too found it difficult to fathom when some of the code was actually being run. > > > > > I've written a proposal on how the plugins support could be modeled. > > http://wxdevide.wiki.sourceforge.net/wxDevIDE+API?f=print > > I know it is a little confusing, but my idea could be summarized in > observing which parts of the IDE are good candidates for plugin replacement, > and implement all the comunication between them and the cotroller objects > throwgh interfaces (c++ abstract classes). > > At this point I think I would like to contribute in this area of the > project, if you guys agree. > > I say go ahead. Any hard and fast documentation is good when we are all so spread out as we are. Best regards Mal |
From: Tony R. <tb...@gm...> - 2009-07-26 17:32:27
|
> > At this point I think I would like to contribute in this area of the > project, if you guys agree. > > > Yes, definitely do. At this point, our goal should be working on the developers documentation/design (again). It looks like SF now has a Wiki setup for the wxDevIDE project (http://wxdevide.wiki.sourceforge.net/). Perhaps Nuklear can move the existing docs to that Wiki so that we'll have a central spot to brainstorm and refine our goals. -Tony |
From: Nuklear Z. <nuk...@gm...> - 2009-07-26 20:14:46
|
i feel the same about keeping the look as close as possible, i suggested a "template" dialog just because not all editors are the same. i don't know if the rtf version would ever be a full blown and supported one or if i'd give it coloring options, but i could. i just mostly want to give that plugin a good test. scintilla does not suport cursor past end of like like synedit does. it would be a waist to NOT support code folding, so that's where i am comming from. and why i suggested a "sub dialog" for the other editor behavior. it would not encroach on the dev dialogs and all the stnedit like stuff can be plugged into the main dialog. Nuklear On Sun, Jul 26, 2009 at 11:32 AM, Tony Reina <tb...@gm...> wrote: > > >> At this point I think I would like to contribute in this area of the >> project, if you guys agree. >> >> >> > Yes, definitely do. At this point, our goal should be working on the > developers documentation/design (again). It looks like SF now has a Wiki > setup for the wxDevIDE project (http://wxdevide.wiki.sourceforge.net/). > Perhaps Nuklear can move the existing docs to that Wiki so that we'll have a > central spot to brainstorm and refine our goals. > > -Tony > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Wxdevide-devs mailing list > Wxd...@li... > https://lists.sourceforge.net/lists/listinfo/wxdevide-devs > > |
From: Nuklear Z. <nuk...@gm...> - 2009-07-26 21:24:30
|
just curious, has anyone heard form kinming lately? On Sun, Jul 26, 2009 at 2:14 PM, Nuklear Zelph <nuk...@gm...>wrote: > i feel the same about keeping the look as close as possible, i suggested a > "template" dialog just because not all editors are the same. i don't know if > the rtf version would ever be a full blown and supported one or if i'd give > it coloring options, but i could. i just mostly want to give that plugin a > good test. scintilla does not suport cursor past end of like like synedit > does. it would be a waist to NOT support code folding, so that's where i am > comming from. and why i suggested a "sub dialog" for the other editor > behavior. it would not encroach on the dev dialogs and all the stnedit like > stuff can be plugged into the main dialog. > > Nuklear > > On Sun, Jul 26, 2009 at 11:32 AM, Tony Reina <tb...@gm...> wrote: > >> >> >>> At this point I think I would like to contribute in this area of the >>> project, if you guys agree. >>> >>> >>> >> Yes, definitely do. At this point, our goal should be working on the >> developers documentation/design (again). It looks like SF now has a Wiki >> setup for the wxDevIDE project (http://wxdevide.wiki.sourceforge.net/). >> Perhaps Nuklear can move the existing docs to that Wiki so that we'll have a >> central spot to brainstorm and refine our goals. >> >> -Tony >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Wxdevide-devs mailing list >> Wxd...@li... >> https://lists.sourceforge.net/lists/listinfo/wxdevide-devs >> >> > |