Re: Progress on ProjectCenter...
Gregory Casamento <[email protected]> Tue, 4 Aug 2026 22:13:56 -0400
| Newsgroups | gmane.comp.lib.gnustep.general |
|---|---|
| Message-ID | <CA+BLX-zmcWq37OKz3RVdcXB69M9+gs4L8RRyoV=NSf0=-NrHfQ@mail.gmail.com> |
--0000000000006ffc5e06584354e9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Riccardo, See below... On Tue, Aug 4, 2026 at 3:09=E2=80=AFPM Riccardo Mottola <riccardo.mottola@l= ibero.it> wrote: > Hi, > > Gregory Casamento wrote: > > Hey guys, > > > > Just letting you know... lately I have been working on ProjectCenter. > > I have partially redone how the debugger interacts with the machine > > interface. > > Nice. I was working on the same stuff... I see you used part of the > breakpoint infrastructure. I had several issues in getting/setting lists > so I never commited the rest. > I had particular issues when using "del" or "del x" where x is a breakpoint. I found several memory issues. Does it reparse breakpoint set in the debugger or silenced through it or > are you bound to gui? > The debugger reparses breakpoint responses from gdb/MI. In Modules/Debuggers/ProjectCenter/GDBWrapper.m:371, parseStringLine: parses MI records. A pity ju always go alone and never coordinate.. but it is what it is. > I had no idea you were working on anything, as I had not seen any work on PC for a while. I apologize if I stepped on your feet. > Currently I switched focus to the sheer humongous task of bae and gui > work. it broke things so many times, it just needs full attention and > testing. > Understood. > > I have also added visible breakpoints that can be set by clicking on > > the "gutter" where the line numbers are. Things are still a bit > > unstable, but I am working on it. Additionally, I have made the > > handling of tabs more consistent so that the code is displayed as it > > would be in emacs. > > Nice... I thought of a different interface with an editor, but > eventually both are needed. > > Hmm.. tabs were fine... > Tabs were being handled inconsistently. When using an actual "/t" character, it would not indent properly. Things that would display properly in Emacs were not displaying correctly in ProjectCenter. Part of the issue was the editor did not set a paragraph style/default tab interval for the text view. So real tab characters were rendered using the text system=E2=80=99s default tab stops, while ProjectCenter=E2=80=99s ruler/col= umn logic assumed fixed-width editor columns. The change I made added an 8-character tab interval based on the editor font width in Modules/Editors/ProjectCenter/PCEditorView.m:538, then applied it to typing attributes and existing text. In short, tabs were NOT fine. :). The reason you are likely not seeing this is that if you solely use PC then you're not using any other characters for tabs. This is why you're not seeing the same issues I am. > > > > I am trying to make PC more usable and stable. It's getting to a > > point where I would like to use it on a regular basis. :). I have > > attached a screenshot so you can see the progress. The little red dot > > is a break point I set in the AppDelegate. Check it out and let me > > know what you think. > > Will test of course. I do use ProjectCenter for 90% of my projects and > it is/was very stable. Stabilized it a lot. > That's cool. I have been less inclined to use it (PC) mainly because of the debugger and the editor issue I mentioned above. After these changes I am finding it more difficult to resist. ;) > Riccardo > Yours, GC --=20 Gregory Casamento GNUstep Lead Developer / Black Lotus, Principal Consultant http://www.gnustep.org - http://heronsperch.blogspot.com https://www.openhub.net/languages/objective_c --0000000000006ffc5e06584354e9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:monospace,monospace">Riccardo,</div><div class=3D"gmail_default" s= tyle=3D"font-family:monospace,monospace"><br></div><div class=3D"gmail_defa= ult" style=3D"font-family:monospace,monospace">See below...</div></div><br>= <div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"= gmail_attr">On Tue, Aug 4, 2026 at 3:09=E2=80=AFPM Riccardo Mottola <<a = href=3D"mailto:[email protected]">[email protected]</a>&g= t; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0p= x 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br= > <br> Gregory Casamento wrote:<br> > Hey guys,<br> ><br> > Just letting you know... lately I have been working on ProjectCenter.= =C2=A0 <br> > I have partially redone how the debugger interacts with the machine <b= r> > interface.<br> <br> Nice. I was working on the same stuff... I see you used part of the <br> breakpoint infrastructure. I had several issues in getting/setting lists <b= r> so I never commited the rest.<br></blockquote><div><br></div><div><div clas= s=3D"gmail_default" style=3D"font-family:monospace,monospace">I had particu= lar issues when using "del" or "del x" where x is a bre= akpoint.=C2=A0 I found several memory issues.</div></div><div><br></div><bl= ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef= t:1px solid rgb(204,204,204);padding-left:1ex"> Does it reparse breakpoint set in the debugger or silenced through it or <b= r> are you bound to gui?<br></blockquote><div><br></div><div class=3D"gmail_de= fault" style=3D""><font face=3D"monospace"><span style=3D"background-color:= transparent">The debugger reparses breakpoint responses from gdb/MI. In Mod= ules/Debuggers/</span><span style=3D"background-color:transparent">ProjectC= enter/GDBWrapper.m:371, parseStringLine: parses MI records.</span></font></= div></div><div class=3D"gmail_quote gmail_quote_container"><br><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol= id rgb(204,204,204);padding-left:1ex">A pity ju always go alone and never c= oordinate.. but it is what it is.<br></blockquote><div><br></div><div><div = class=3D"gmail_default" style=3D"font-family:monospace,monospace">I had no = idea you were working on anything, as I had not seen any work on PC for a w= hile.=C2=A0 I apologize if I stepped on your feet.</div></div><div>=C2=A0</= div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor= der-left:1px solid rgb(204,204,204);padding-left:1ex"> Currently I switched focus to the sheer humongous task of bae and gui <br> work. it broke things so many times, it just needs full attention and <br> testing.<br></blockquote><div><br></div><div><div class=3D"gmail_default" s= tyle=3D"font-family:monospace,monospace">Understood.</div></div><div>=C2=A0= </div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b= order-left:1px solid rgb(204,204,204);padding-left:1ex"> > I have also added visible breakpoints that can be set by clicking on <= br> > the "gutter" where the line numbers are.=C2=A0 Things are st= ill a bit <br> > unstable, but I am working on it.=C2=A0 Additionally, I have made the = <br> > handling of tabs more consistent so that the code is displayed as it <= br> > would be in emacs.<br> <br> Nice... I thought of a different interface with an editor, but <br> eventually both are needed.<br> <br> Hmm.. tabs were fine...<br></blockquote><div><br></div><div><div class=3D"g= mail_default" style=3D""><font face=3D"monospace">Tabs were being handled i= nconsistently.=C2=A0 When using an actual "/t" character, it woul= d not indent properly.=C2=A0 Things that would display properly in Emacs we= re not displaying correctly in ProjectCenter.=C2=A0 Part of the issue was= =C2=A0<span style=3D"background-color:transparent">the editor did not set a= paragraph=C2=A0</span><span style=3D"background-color:transparent">style/d= efault tab interval for the text view. So real tab characters were rendered= =C2=A0</span><span style=3D"background-color:transparent">using the text sy= stem=E2=80=99s default tab stops, while ProjectCenter=E2=80=99s ruler/colum= n logic=C2=A0</span><span style=3D"background-color:transparent">assumed fi= xed-width editor columns.</span></font></div></div><div class=3D"gmail_defa= ult" style=3D""><font face=3D"monospace"><span style=3D"background-color:tr= ansparent"><br></span></font></div><div class=3D"gmail_default" style=3D"">= <font face=3D"monospace">The change I made added an 8-character tab interva= l based on the editor font width in Modules/Editors/ProjectCenter/PCEditorV= iew.m:538, then applied it to typing attributes and existing text.<span sty= le=3D"background-color:transparent"></span></font></div><div class=3D"gmail= _default" style=3D""><font face=3D"monospace"><span style=3D"background-col= or:transparent"><br></span></font></div><div class=3D"gmail_default" style= =3D""><font face=3D"monospace"><span style=3D"background-color:transparent"= >In short, tabs were NOT fine. :). The reason you are likely not seeing thi= s is that if you solely use PC then you're not using any other characte= rs for tabs.=C2=A0 This is why you're not seeing the same issues I am.<= /span></font></div><div><font face=3D"monospace">=C2=A0</font></div><blockq= uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1p= x solid rgb(204,204,204);padding-left:1ex"> ><br> > I am trying to make PC more usable and stable.=C2=A0 It's getting = to a <br> > point where I would like to use it on a regular basis. :). I have <br> > attached a screenshot so you can see the progress.=C2=A0 The little re= d dot <br> > is a break point=C2=A0I set in the AppDelegate.=C2=A0 Check it out and= =C2=A0let me <br> > know what you think.<br> <br> Will test of course. I do use ProjectCenter for 90% of my projects and <br> it is/was very stable. Stabilized it a lot.<br></blockquote><div><br></div>= <div><div class=3D"gmail_default" style=3D"font-family:monospace,monospace"= >That's cool.=C2=A0 I have been less inclined to use it (PC) mainly bec= ause of the debugger and the editor issue I mentioned above.=C2=A0 After th= ese changes I am finding it more difficult to resist. ;)</div></div><div>= =C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0= .8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Riccardo<br> </blockquote></div><div><br clear=3D"all"></div><div><div class=3D"gmail_de= fault" style=3D"font-family:monospace,monospace">Yours, GC</div></div><span= class=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"g= mail_signature"><div dir=3D"ltr"><div dir=3D"ltr"><div><div dir=3D"ltr"><fo= nt face=3D"monospace">Gregory Casamento<br>GNUstep Lead Developer / Black L= otus, Principal Consultant<br><a href=3D"http://www.gnustep.org" target=3D"= _blank">http://www.gnustep.org</a> - <a href=3D"http://heronsperch.blogspot= .com" target=3D"_blank">http://heronsperch.blogspot.com</a><br></font></div= ></div><div dir=3D"ltr"><font color=3D"#888888" face=3D"monospace"><a href= =3D"https://www.openhub.net/languages/objective_c" style=3D"color:rgb(17,85= ,204)" target=3D"_blank">https://www.openhub.net/languages/objective_c</a><= /font></div></div></div></div></div> --0000000000006ffc5e06584354e9--