Oberon Community Platform Forum
November 19, 2019, 07:17:24 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: "better" version of PET  (Read 6982 times)
rausm
Newbie
*
Posts: 5


« on: October 10, 2011, 05:49:59 PM »

Hi all,

in one screencast Sorren Renner (I think) mentioned somebody has an enhanced version of PET, with cross module search (or browsing) abilities.

The way I'm navigating the sources now is "way too much manual", like:

scroll to the top of the .mod file to verify what the "real" name of module is
locate that file in the files browser
clear the PET field with file name
drag&drop the "file" to the field
click load so it opens in a new tab instead of in new PET
click sort (in the program structure tree) and look for the definition i'm interested in

I'd really appreciate any improvement over this (even sugestions like "you are doing it wrong, here's the right way"; "it's easy to teach PET to do it for you" would be "christmas came early this year"). I guess I am spoiled, Lisp, Smalltalk or even the cream of .NET & Java IDEs have helpful shortcuts that help you open the relevant files / jump to the right location.

Also, whom do I need to bribe to get access to the repositories (mailed ocp _AT_ inf.ethz.ch last friday, maybe i'm expecting a reaction too soon but so far not even "F*ck off" came back). I thought that maybe the enhanced PET might be here, if I got it right BohdanT's DLL library is also there, so I'd love to take a peek.

Any suggestions on what would be a suitable intro for an absolute AOS beginner (code, or up-to-date docs).

Thanks in advance.
Logged
rausm
Newbie
*
Posts: 5


« Reply #1 on: October 11, 2011, 12:41:48 PM »

Some answers to my questions.

btw., should I try to write down what i find out - perhaps a cross between tutorial and guided tour through some nice examples I find ? Like the Navigate app - found it yesterday, should be pretty simple but haven't checked yet. So that next time somebody asks, you can tell him to RTFM  Grin ? And if so, is there something in between Notepad and the DTP (simple switching between a few font styles, anything more is bonus) ?

easier opening of files: drag the filename to the "file-switcher panel" (i forgot that i forgot to try this, remebered yesterday and it works)

I also dug into PET sources (among other things found the shortcuts list there), and from what i've seen in ModuleTree, at least opening of imported modules should work (judging from a glance at the click handlers) ? Perhaps PET is searching for the files in wrong place, I'll check it out as soon as the terror of "real work" is safely banished Wink. Is "liberally sprinkling the sources with KernelLog output" THE right way to check out what the heck gets passed where ?

Also found the GUIPatterns package, it still compiles (it's dated ~2006) so i'll focus on programmatic GUI construction for now. But if anybody has any suggestion of what would be the best info on "visual" GUI constuction methods (either through documents / direct manipulation or maybe through the XML GUI Builder) and how all those "moving parts" tie together. I've read/skimmed through a bunch of old Oberon docs, some BlackBox ones and although a lot of things looks similar I expect / have read a lot have changed too.

But I'll stop whining and - after perhaps sorting out PET, locating files by hand really kills the mood / flow - dive into the code available in the release, so far while not really getting the big picture I've at least gathered a few smaller ones.
Logged
soren renner
Global Moderator
Full Member
*****
Posts: 216



« Reply #2 on: October 11, 2011, 05:10:00 PM »

http://code.google.com/p/ethz-oberon-repository-mirror/
Logged
rausm
Newbie
*
Posts: 5


« Reply #3 on: October 11, 2011, 05:28:21 PM »

thanks' i knew about that mirror, only missed the last update, seemed dead for a few months.
Logged
soren renner
Global Moderator
Full Member
*****
Posts: 216



« Reply #4 on: October 12, 2011, 02:23:46 AM »

well, i should mirror update more often.
Logged
BohdanT
Sr. Member
****
Posts: 271


Life is difficult, but fortunately is short!


WWW
« Reply #5 on: October 19, 2011, 09:08:40 PM »

Also, whom do I need to bribe to get access to the repositories (mailed ocp _AT_ inf.ethz.ch last friday, maybe i'm expecting a reaction
For https://www.ocp.inf.ethz.ch/svn/aos - need password, but for https://www.ocp.inf.ethz.ch/svn/ocp community repository IMHO password is not needed.

Quote
if I got it right BohdanT's DLL library is also there, so I'd love to take a peek.
Yes it is there.

To enhance the PET, must be modified WMTextView, and he used throughout the system, which is not so simple. The second way - to make alternative PET + WMTextView
Logged
Bernhard T.
Administrator
Full Member
*****
Posts: 164


« Reply #6 on: October 21, 2011, 04:27:37 PM »

Any suggestions on what would be a suitable intro for an absolute AOS beginner (code, or up-to-date docs).

you could try Andre Fischer's User Guide (http://www.ocp.inf.ethz.ch/wiki/Documentation/Front?action=download&upname=A2Documentation.pdf) and https://www.ocp.inf.ethz.ch/svn/ocp/trunk/Documentation/

The latter is in the community repository. Otherwise: http://www.ocp.inf.ethz.ch/wiki/Documentation/Front is good entry point.

Bernhard
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!