Changeset 9104 for trunk/tools


Ignore:
Timestamp:
Aug 23, 2002, 5:47:22 PM (23 years ago)
Author:
sandervl
Message:

new odinbug version

Location:
trunk/tools/OdinBug
Files:
18 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/OdinBug/ODINBUG.IPF

    r8634 r9104  
    1 :userdoc.:title.OdinBug Help 0.5.6
     1:userdoc.:title.OdinBug Help 0.5.7
    22:docprof toc=123.
    33.***************************************************
     
    77:h1 res=100 x=right y=bottom width=66% height=100%.Introduction
    88
    9 :font facename='Default' size=0x0.:artwork align=center name='E:\DEV\REXX\VXREXX\PROJECTS\ODINBUG\ODIN.BMP' fit.
     9:artwork align=center name='E:\DEV\REXX\VXREXX\PROJECTS\ODINBUG\ODIN.BMP' fit.:font facename='Default' size=0x0.
    1010:p.OdinBug is a helper application for Odin&comma. the Win32-subsystem of
    1111OS&slr.2 (eCS) . Its purpose is to ease the creation of proper bug reports.
     
    2727:h2 res=120 x=right y=bottom width=66% height=100%.Reporting Odin bugs
    2828
    29 :font facename='Default' size=0x0.:p.To make our job easier when dealing with reports of failures to run
     29:p.:font facename='Default' size=0x0.To make our job easier when dealing with reports of failures to run
    3030certain applications&comma. there's a :link reftype=hd res=840.standard form:elink. to report bugs. Use
    3131OdinBug to create these bug reports.
     
    6666:h2 res=130 x=right y=bottom width=66% height=100%.Useful tips
    6767
    68 :font facename='Default' size=0x0.:p.Crashes are always easy to locate in logfiles (search for 'Exception Information')&comma.
     68:p.:font facename='Default' size=0x0.Crashes are always easy to locate in logfiles (search for 'Exception Information')&comma.
    6969but improper behaviour isn't.
    7070:p.In the system menu (top left button of a window)&comma. there's a menu item called
     
    8080:h2 res=140 x=right y=bottom width=66% height=100%.How to create a bug report in a few easy steps
    8181
    82 :font facename='Default' size=0x0.:p.Ideally OdinBug should be called immediately after you experienced a crash
     82:p.:font facename='Default' size=0x0.Ideally OdinBug should be called immediately after you experienced a crash
    8383in a Win32 program and after you have :link reftype=hd res=220.created a log file:elink..
    8484
     
    120120:h1 res=200 x=right y=bottom width=66% height=100%.Application
    121121
    122 :font facename='Default' size=0x0.:p.The "Application" page of OdinBug presents a form to fill in all
     122:p.:font facename='Default' size=0x0.The "Application" page of OdinBug presents a form to fill in all
    123123kind of information about the program that you want to create a
    124124bug report for.
     
    138138:h2 res=220.Odin logfiles and how to create them
    139139
    140 :font facename='Default' size=0x0.:p.The logfile is the main source of bug information for OdinBug. It
     140:p.:font facename='Default' size=0x0.The logfile is the main source of bug information for OdinBug. It
    141141is impossible to create a bugreport without a logfile!
    142142
     
    190190:h2 res=230.Windows executable
    191191
    192 :font facename='Default' size=0x0.:p.The field "Windows Executable" should hold the name of the binary
     192:p.:font facename='Default' size=0x0.The field "Windows Executable" should hold the name of the binary
    193193program file&comma. that was used to run the Win32-application.
    194194:p.If the name is not what you think it should be&comma. you might
     
    201201:h2 res=240.Application name
    202202
    203 :font facename='Default' size=0x0.:p.The application name is not meant to be the name of the
     203:p.:font facename='Default' size=0x0.The application name is not meant to be the name of the
    204204executable&comma. but the name of the program as it is
    205205advertised&comma. for example&colon.
     
    219219:h2 res=250.Version
    220220
    221 :font facename='Default' size=0x0.:p.The version field should contain the exact revision number of the
     221:p.:font facename='Default' size=0x0.The version field should contain the exact revision number of the
    222222program to make it easy for Team Odin to exactly identify the
    223223program you are using. For example&colon.
     
    237237:h2 res=260.Ohhh, no
    238238
    239 :font facename='Default' size=0x0.:p.Set the "Ohh&comma. no!" checkmark&comma. if a popup messagebox
     239:p.:font facename='Default' size=0x0.Set the "Ohh&comma. no!" checkmark&comma. if a popup messagebox
    240240saying "Ohhh&comma. no! Unhandled exception..." was shown during
    241241the program was run.
     
    248248:h2 res=270.Available from
    249249
    250 :font facename='Default' size=0x0.:p.The purpose of the "Available from" field is to tell Team Odin
     250:p.:font facename='Default' size=0x0.The purpose of the "Available from" field is to tell Team Odin
    251251from where they eventually could achieve the application for
    252252testing it with Odin. This could be a URL or Webpage.
     
    260260:h2 res=280.Verbal description
    261261
    262 :font facename='Default' size=0x0.:p.The "Verbal description" field is the plcae where you (the user)
     262:p.:font facename='Default' size=0x0.The "Verbal description" field is the plcae where you (the user)
    263263can express in your own words&comma. what you have done&comma.
    264264seen or heard.
     
    276276:h2 res=290.Exception page
    277277
    278 :font facename='Default' size=0x0.:p.The "Exception"page shows the most important techniscal
     278:p.:font facename='Default' size=0x0.The "Exception"page shows the most important techniscal
    279279information&comma. that Team Odin needs in order to track down a
    280280bug.
     
    286286:h1 res=300 x=right y=bottom width=66% height=100%.Odin
    287287
    288 :font facename='Default' size=0x0.:p.The "Odin" page shows all the necessary information about your
     288:p.:font facename='Default' size=0x0.The "Odin" page shows all the necessary information about your
    289289installed Odin-subsystem.
    290290:p.All information is gathered from various source around your
     
    298298:h2 res=320.Current Odin build
    299299
    300 :font facename='Default' size=0x0.:p.The "Current Odin build" field shows the filename of the
     300:p.:font facename='Default' size=0x0.The "Current Odin build" field shows the filename of the
    301301currently installed Odin build. As Odin buildfiles follow a
    302302strict name scheme&comma. this can usually be determined
     
    315315:h2 res=330.Installation method
    316316
    317 :font facename='Default' size=0x0.:p.The field "Installation method" shows whether the last install
     317:p.:font facename='Default' size=0x0.The field "Installation method" shows whether the last install
    318318was done from a daily build ZIP file or from a weekly build WPI
    319319file.
     
    330330:h2 res=340.Launching method
    331331
    332 :font facename='Default' size=0x0.:p.The "Launching method" field shows whether the Win32 program was
     332:p.:font facename='Default' size=0x0.The "Launching method" field shows whether the Win32 program was
    333333launched using PE.EXE&comma. PEC.EXE or the transparent loader
    334334Win32K.SYS.
     
    345345:h2 res=350.Win32K.SYS parameters
    346346
    347 :font facename='Default' size=0x0.:p.As Win32K.SYS can operate in various modes&comma. the "WIN32K.SYS
     347:p.:font facename='Default' size=0x0.As Win32K.SYS can operate in various modes&comma. the "WIN32K.SYS
    348348parameters" field shows which parameters were used.
    349349
     
    360360:h2 res=360.Last WarpIN installation
    361361
    362 :font facename='Default' size=0x0.:p.It is essential that Odin is installed properly. UnZIPping the
     362:p.:font facename='Default' size=0x0.It is essential that Odin is installed properly. UnZIPping the
    363363files only&comma. is not enough to have a proper Odin
    364364environment.
     
    376376:h2 res=370.Last OdinInst installation
    377377
    378 :font facename='Default' size=0x0.:p.:link reftype=fn refid=1.OdinInst.EXE:elink. updates the registry and creates a bunch of
     378:p.:link reftype=fn refid=1.:font facename='Default' size=0x0.OdinInst.EXE:elink. updates the registry and creates a bunch of
    379379directories.
    380380:p.Both are vital to have a proper Odin environment.
     
    388388:h2 res=380.Odin "Windows" directory
    389389
    390 :font facename='Default' size=0x0.:p.Odin creates a directory structure&comma. which resembles the one
     390:p.:font facename='Default' size=0x0.Odin creates a directory structure&comma. which resembles the one
    391391usually found  in a real Windows.
    392392:p.The "Windows" directory of Odin is the directory that is
     
    403403:h2 res=390.Odin "System" directory
    404404
    405 :font facename='Default' size=0x0.:p.Odin creates a directory structure&comma. which resembles the one
     405:p.:font facename='Default' size=0x0.Odin creates a directory structure&comma. which resembles the one
    406406usually found  in a real Windows.
    407407:p.The "System" directory of Odin is the directory that is
     
    416416:h2 res=3100.Evaluated Odin.INI
    417417
    418 :font facename='Default' size=0x0.:p.Odin.INI stores specific settings about the Odin environment.
     418:p.:font facename='Default' size=0x0.Odin.INI stores specific settings about the Odin environment.
    419419:p.It is recreated every time :link reftype=fn refid=1.OdinInst.EXE:elink. is called.
    420420:p.For currently implemented Odin.INI settings read this file
     
    427427:h1 res=400 x=right y=bottom width=66% height=100%.System
    428428
    429 :font facename='Default' size=0x0.:p.The "System" page provides necessary information about your
     429:p.:font facename='Default' size=0x0.The "System" page provides necessary information about your
    430430system&comma. especially about your Operating System and your
    431431display driver.
     
    435435:h2 res=420.OS/2 system type and version
    436436
    437 :font facename='Default' size=0x0.:p.The OS&slr.2 (eCS) system type and version is of general
     437:p.:font facename='Default' size=0x0.The OS&slr.2 (eCS) system type and version is of general
    438438importance for Team Odin. It simply tells whether you run Warp
    4394393&comma. 4&comma. 4.5 aka MCP&comma. WarpServer for eBusiness or
     
    449449:h2 res=430.OS/2 reports and kernel revision
    450450
    451 :font facename='Default' size=0x0.:p.This information is of general importance for Team Odin.
     451:p.:font facename='Default' size=0x0.This information is of general importance for Team Odin.
    452452
    453453:hp7.:p.Source of information&colon.:ehp7.
     
    461461:h2 res=440.FixPack level
    462462
    463 :font facename='Default' size=0x0.:p.The "FixPack level" field shows on which fixpack level your
     463:p.:font facename='Default' size=0x0.The "FixPack level" field shows on which fixpack level your
    464464system is.
    465465:p.Please provide this information manually&comma. if you are on a
     
    477477:h2 res=450.Display driver
    478478
    479 :font facename='Default' size=0x0.:p.The "Display driver" field indicates&comma. which video driver
     479:p.:font facename='Default' size=0x0.The "Display driver" field indicates&comma. which video driver
    480480you are currently using.
    481481:p.This information is very important for Team Odin&comma. because
     
    490490:h2 res=460.Display driver version
    491491
    492 :font facename='Default' size=0x0.:p.As the name indicates&comma. the "display driver version" field
     492:p.:font facename='Default' size=0x0.As the name indicates&comma. the "display driver version" field
    493493shows the driver revision of your video adapter driver.
    494494:p.Please provide this information manually&comma. if you do not run
     
    502502:h2 res=470.Display chipset
    503503
    504 :font facename='Default' size=0x0.:p.The "Display chipset" field indicates the video chipset your
     504:p.:font facename='Default' size=0x0.The "Display chipset" field indicates the video chipset your
    505505video adapter is using.
    506506:p.Please provide this information manually&comma. if you do not run
     
    516516:h2 res=480.XF86Sup.SYS loaded
    517517
    518 :font facename='Default' size=0x0.:p.This checkbox shows whether Holger Veit's XFree86 support driver
     518:p.:font facename='Default' size=0x0.This checkbox shows whether Holger Veit's XFree86 support driver
    519519named XF86SUP.SYS is installed on your system.
    520520
     
    531531:h1 res=500 x=right y=bottom width=66% height=100%.Settings
    532532
    533 :font facename='Default' size=0x0.:p.The "Settings" page displays all configurable options for
     533:p.:font facename='Default' size=0x0.The "Settings" page displays all configurable options for
    534534OdinBug.
    535535:p.By setting these you can change the behaviour of OdinBug to a
     
    538538:h2 res=520.Add exception info and stack dump and line buffer
    539539
    540 :font facename='Default' size=0x0.:p.For Team Odin the exception information and the stack dump is the
     540:p.:font facename='Default' size=0x0.For Team Odin the exception information and the stack dump is the
    541541most important information&comma. when trying to fix a bug.
    542542:p.The exception information is found on the page "Exception". This
     
    548548:h2 res=530.Default build directory
    549549
    550 :font facename='Default' size=0x0.:p.This is the directory where you store your complete buildfiles
     550:p.:font facename='Default' size=0x0.This is the directory where you store your complete buildfiles
    551551(i.e the odin32bin-20011010-debug.ZIP or .wpi files).
    552552
    553553:h2 res=540.Application directory
    554554
    555 :font facename='Default' size=0x0.:p.The application directory is the directory&comma. where OdinBug
     555:p.:font facename='Default' size=0x0.The application directory is the directory&comma. where OdinBug
    556556should look for logfiles. This is only useful if you have one
    557557application that you want to make bug reports for.
     
    563563:h2 res=550.Logfile browser
    564564
    565 :font facename='Default' size=0x0.:p.In the logfile browser field you can specify a program&comma.
     565:p.:font facename='Default' size=0x0.In the logfile browser field you can specify a program&comma.
    566566that you want to use to manually investigate the odin32_?.log
    567567file.
     
    573573:h2 res=560.Ask, whether to delete the logfile
    574574
    575 :font facename='Default' size=0x0.:p.If this option is set&comma. OdinBug will ask you&comma. if you
     575:p.:font facename='Default' size=0x0.If this option is set&comma. OdinBug will ask you&comma. if you
    576576would like to delete the currently used odin32_?.log before
    577577OdinBug itself is closed.
     
    581581:h1 res=600 x=right y=bottom width=66% height=100%.EMail
    582582
    583 :font facename='Default' size=0x0.:p.The email settings let you specify&comma. which email client
     583:p.:font facename='Default' size=0x0.The email settings let you specify&comma. which email client
    584584OdinBug should use for sending the email that holds the bug
    585585report.
     
    611611:h2 res=620.EMail address
    612612
    613 :font facename='Default' size=0x0.:p.This is the address&comma. where the bug report should be sent
     613:p.:font facename='Default' size=0x0.This is the address&comma. where the bug report should be sent
    614614to.
    615615:p.Currently the only valid address is
     
    625625:h2 res=630.Netscape Messenger 4.61
    626626
    627 :font facename='Default' size=0x0.:p.If you click on this radio button&comma. you do not have to enter
     627:p.:font facename='Default' size=0x0.If you click on this radio button&comma. you do not have to enter
    628628anything more&comma. OdinBug will do all the rest for you.
    629629:p.Please note that current Mozilla and IBM-Webbrowser releases do
     
    633633:h2 res=640.PMMail (via PMMSend)
    634634
    635 :font facename='Default' size=0x0.:p.If you use PMMail as your favorite email client&comma. you have
     635:p.:font facename='Default' size=0x0.If you use PMMail as your favorite email client&comma. you have
    636636to check this radio button. OdinBug will take care of all the
    637637rest.
     
    651651:h2 res=650.MR/2 ICE
    652652
    653 :font facename='Default' size=0x0.:p.If you use MR&slr.2 ICE as your favorite email client&comma. you
     653:p.:font facename='Default' size=0x0.If you use MR&slr.2 ICE as your favorite email client&comma. you
    654654have to check this radio button. OdinBug will take care of all
    655655the rest.
     
    658658:h2 res=660.PolarBar
    659659
    660 :font facename='Default' size=0x0.:p.If you use PolarBar as your favorite email client&comma. you have
     660:p.:font facename='Default' size=0x0.If you use PolarBar as your favorite email client&comma. you have
    661661to check this radio button.
    662662
     
    673673:h2 res=670.Other email client
    674674
    675 :font facename='Default' size=0x0.:p.If you are using the generic email support&comma. you will have
     675:p.:font facename='Default' size=0x0.If you are using the generic email support&comma. you will have
    676676to paste the bug report from the clipboard to the body of the
    677677message. Eventually you will also have to specify the subject.
     
    681681:h2 res=680.EMail directory
    682682
    683 :font facename='Default' size=0x0.:p.OdinBug changes into this directory before sending the report if
     683:p.:font facename='Default' size=0x0.OdinBug changes into this directory before sending the report if
    684684this field is not empty.
    685685:p.This field is needed for PMMail support and might be useful for
     
    688688:h2 res=690.EMail account/Outbox directory
    689689
    690 :font facename='Default' size=0x0.:p.:hp2.PMMail users&colon.
     690:p.:font facename='Default' size=0x0.P:hp2.MMail users&colon.
    691691:p.:ehp2.Specify your email account directory name here (normally one of
    692692the directories
     
    698698:h1 res=700 x=right y=bottom width=66% height=100%.Buttons
    699699
    700 :font facename='Default' size=0x0.:p.The following pages describe the functions of the various buttons
     700:p.:font facename='Default' size=0x0.The following pages describe the functions of the various buttons
    701701found in OdinBug.
    702702
    703703:h2 res=720.Create
    704704
    705 :font facename='Default' size=0x0.:p.By pressing this button&comma. the actual report is created in
     705:p.:font facename='Default' size=0x0.By pressing this button&comma. the actual report is created in
    706706the :link reftype=hd res=840.standard form:elink.. All the information has to be gathered and
    707707entered before doing this.
     
    712712:h2 res=730.EMail
    713713
    714 :font facename='Default' size=0x0.:p.Pressing the EMail button will copy the reportfile to the
     714:p.:font facename='Default' size=0x0.Pressing the EMail button will copy the reportfile to the
    715715clipboard&comma. open an instance of your favorite email program.
    716716
     
    724724:h2 res=740.Open
    725725
    726 :font facename='Default' size=0x0.:p.Pressing this button opens the newly created OdinBug.RPT bug
     726:p.:font facename='Default' size=0x0.Pressing this button opens the newly created OdinBug.RPT bug
    727727report file in your favorite editor&comma. in order to modify it
    728728manually before sending it to the appropriate email address.
     
    730730:h2 res=750.Browse
    731731
    732 :font facename='Default' size=0x0.:p.Pressing this button opens the program specified as logfile
     732:p.:font facename='Default' size=0x0.Pressing this button opens the program specified as logfile
    733733browser on the settings page with the current odin32_?.log as
    734734parameter in order to ease the manual investigation of the
     
    737737:h2 res=760.Help
    738738
    739 :font facename='Default' size=0x0.:p.This button opens the file you are just reading.
     739:p.:font facename='Default' size=0x0.This button opens the file you are just reading.
    740740:p.Amazing&comma. ain't it?
    741741
    742742:h2 res=770.Exit
    743743
    744 :font facename='Default' size=0x0.:p.Pressing this button will close OdinBug without any further
     744:p.:font facename='Default' size=0x0.Pressing this button will close OdinBug without any further
    745745action.
    746746
    747747:h2 res=780.Save settings
    748748
    749 :font facename='Default' size=0x0.:p.Pressing this button saves all the options to OdinBug.INI&comma.
     749:p.:font facename='Default' size=0x0.Pressing this button saves all the options to OdinBug.INI&comma.
    750750a standard OS&slr.2 (eCS) INI file which resides in the same
    751751directory as OdinBug.EXE.
     
    753753:h2 res=790.Recreate objects
    754754
    755 :font facename='Default' size=0x0.:p.When OdinBug.EXE is called for the first time (or with the
     755:p.:font facename='Default' size=0x0.When OdinBug.EXE is called for the first time (or with the
    756756&slr.InstallOnly commandline switch)&comma. it will
    757757create&slr.update its objects and associations in the Odin
     
    761761:h2 res=7100.Destroy objects
    762762
    763 :font facename='Default' size=0x0.:p.Pressing this button will destroy all objects that are created by
     763:p.:font facename='Default' size=0x0.Pressing this button will destroy all objects that are created by
    764764OdinBug.
    765765:note.OdinBug also creates the Odin folder&comma. if it is not found on
     
    770770:h2 res=7110.About
    771771
    772 :font facename='Default' size=0x0.:p.Like in every program the "About" button is the most important
     772:p.:font facename='Default' size=0x0.Like in every program the "About" button is the most important
    773773function of all.
    774774:p.It displays&comma. what you never would have expected&colon. All
     
    779779:h1 res=800 x=right y=bottom width=66% height=100%.Miscanellous
    780780
    781 :font facename='Default' size=0x0.:p.The following sections of the manual contain various topics
     781:p.:font facename='Default' size=0x0.The following sections of the manual contain various topics
    782782around Odin&comma. logging and reporting bugs.
    783783
    784784:h2 res=820.Extended logging feature
    785785
    786 :font facename='Default' size=0x0.:p.Disabling or enabling logging for all the Odin dlls isn't always
     786:p.:font facename='Default' size=0x0.Disabling or enabling logging for all the Odin dlls isn't always
    787787useful. To make logging more flexible&comma. you can now disable
    788788or enable separate source files for each dll.
     
    828828:h2 res=830.Email client support and further development
    829829
    830 :font facename='Default' size=0x0.:p.In order to provide email support for a specific email
     830:p.:font facename='Default' size=0x0.In order to provide email support for a specific email
    831831program&comma. I need to know how to send emails by command line
    832832with this program.
     
    847847:h2 res=840.Standard form of a bug report
    848848
    849 :font facename='Default' size=0x0.:lines align=left.:font facename='Courier' size=12x6.--------------------- Begin of Odin Bug Report ----------------------
     849:lines align=left.:font facename='Courier' size=12x6.:font facename='Default' size=0x0.--------------------- Begin of Odin Bug Report ----------------------
    850850 
    851851Odin build information&colon.
     
    892892:h2 res=850.Installation of OdinBug
    893893
    894 :font facename='Default' size=0x0.:p.As OdinBug.EXE is written in VX-REXX it needs the VROBJ.DLL runtime.
     894:p.:font facename='Default' size=0x0.As OdinBug.EXE is written in VX-REXX it needs the VROBJ.DLL runtime.
    895895
    896896:p.VROBJ.DLL can be found in the directory x&colon.&bsl.IMAGES (x=CD-ROM drive)
     
    941941:h2 res=860.Commandline options for OdinBug
    942942
    943 :font facename='Default' size=0x0.:p.OdinBug accepts the following items on the commandline&colon.
     943:p.:font facename='Default' size=0x0.OdinBug accepts the following items on the commandline&colon.
    944944:ul.
    945945:li.:font facename='Courier' size=12x6.&slr.InstallOnly:font facename='Default' size=0x0. (not case sensitive)&colon.
     
    959959:h2 res=870.Contributors
    960960
    961 :font facename='Default' size=0x0.:p.This compilation was done in November&slr.December 2001 by&colon.
     961:p.:font facename='Default' size=0x0.This compilation was done in November&slr.December 2001 by&colon.
    962962
    963963:p.Herwig Bauernfeind (:link reftype=fn refid=999.herwig.bauernfeind@aon.at:elink.)
     
    981981:h2 res=880.Dedication
    982982
    983 :font facename='Default' size=0x0.:p.This release is dedicated to the loving memory of my elder
     983:p.:font facename='Default' size=0x0.This release is dedicated to the loving memory of my elder
    984984brother Walter Bauernfeind&comma. who died from cancer on
    98598506.01.2002.
     
    991991
    992992
    993 :p.:link reftype=fn refid=IPFGen.About IPF-Generator:elink.
    994 :fn id=IPFGen.:lines.:hp8.:font facename='Tms Rmn' size=24x14.IPF-Generator Version 0.82:font facename=Helv size=8x4.alpha:ehp8.:font facename='Tms Rmn' size=24x14.
    995 :font facename=Helv size=8x4.Another fine user developed piece of software
    996 written in FRED for good, old Framework IV.
    997 (c) by Herwig Bauernfeind. All rights reserved.
    998 :elines.:p.IPF-Generator is (1) a printer driver and (2) a bound set of macros, that create the IPF-Tags (not all by now), translate Framework container structures to .IPF structures and call the IBM IPF-Compiler at last.
    999 :p.Viewers available for OS/2-PM, OS/2-Text, Win16, DOS-Text.:efn.
    1000993:euserdoc.
  • trunk/tools/OdinBug/OdinBug.RC

    r8634 r9104  
    11ICON 1 ODINBUG.ICO
    22BITMAP 2 ODIN.BMP
     3BITMAP 4 PAPER1.BMP
     4BITMAP 5 PAPER2.BMP
     5BITMAP 6 PAPER3.BMP
     6BITMAP 11 TAB11.BMP
     7BITMAP 12 TAB12.BMP
     8BITMAP 13 TAB13.BMP
     9BITMAP 14 TAB14.BMP
     10BITMAP 15 TAB15.BMP
     11BITMAP 16 TAB16.BMP
     12BITMAP 21 TAB21.BMP
     13BITMAP 22 TAB22.BMP
     14BITMAP 23 TAB23.BMP
     15BITMAP 24 TAB24.BMP
     16BITMAP 25 TAB25.BMP
     17BITMAP 26 TAB26.BMP
     18
  • trunk/tools/OdinBug/OdinBug.VRP

    r8634 r9104  
    66RunParameters:
    77RunDirectory:
    8 VRXWindow: __VREMainWindow,1,527,1987,979,7995
    9 VRXWindow: __VREFileListWindow,1,542,10058,1912,3358
    10 VRXWindow: __VRESectionListWindow,1,5661,10058,4291,3373
    11 VRXWindow: __VREToolsWindow,1,527,60,4996,1681
    12 VRXWindow: __VREWindListWindow,1,2469,10058,3162,3373
     8VRXWindow: __VREMainWindow,1,1039,1987,994,7905
     9VRXWindow: __VREFileListWindow,1,602,10901,2665,3358
     10VRXWindow: __VRESectionListWindow,1,5977,10901,2650,3342
     11VRXWindow: __VREToolsWindow,1,2800,60,5505,1688
     12VRXWindow: __VREWindListWindow,1,3297,10901,2650,3150
    1313UserFile: 1
    1414UserWindow: OdinBugReport,1
     15UserWindow: Progress,1
    1516UserWindow: AboutPage,1
  • trunk/tools/OdinBug/OdinBug.VRX

    r8634 r9104  
    9696       which display driver is installed
    9797     */
     98    FoundWin32KSysNow = 0
    9899    ConfigSys = SysBootDrive()'\CONFIG.SYS'
    99100    do while lines(ConfigSys) > 0
     
    133134    call lineout(ConfigSys)
    134135return
     136
    135137/*:VRX         _AnalyseKernel32DLL
    136138*/
     
    186188
    187189    ExceptFilename = filespec('D',LogFileName)||filespec('P',LogFileName)||'Except.$$$'
    188 
    189190    LogFileSize = stream(LogfileName,'c','QUERY SIZE')
    190191    ApproxLines = LogFileSize % 41
     
    235236    call lineout(LogFileName)
    236237return
     238
    237239/*:VRX         _AnalyseOdinIni
    238240*/
     
    306308        if pos('build',logline) > 0 then do
    307309            SddBuildNr = substr(LogLine,pos('build',logline),10)
     310            IsSNAP = sign(Pos('SNAP',LogLine))
    308311        end
    309312    end
     
    313316    License = linein(GraphicsLog)
    314317    select
    315         when word(License,1)= 'Valid' & word(License,2) = 'IHV' then Driver = 'Scitech Display Doctor/SE'
    316         when word(License,1)= 'Registered' & word(License,2) = 'end' then Driver = 'Scitech Display Doctor/Pro'
    317         otherwise Driver = 'Scitech DD/Demo'
     318        when word(License,1)= 'Valid' & word(License,2) = 'IHV' & \IsSNAP then Driver = 'Scitech Display Doctor/SE'
     319        when word(License,1)= 'Valid' & word(License,2) = 'IHV' & IsSNAP  then Driver = 'Scitech SNAP/OEM'
     320        when word(License,1)= 'Registered' & word(License,2) = 'end' & \IsSNAP then Driver = 'Scitech Display Doctor/Pro'
     321        when word(License,1)= 'Registered' & word(License,2) = 'end' & IsSNAP  then Driver = 'Scitech SNAP'
     322        otherwise if IsSNAP then Driver = 'Scitech SNAP/Demo'
     323            else Driver = 'Scitech Display Doctor/Demo'
    318324    end
    319325
     
    349355    sys_os2 = SysSearchPath('path', 'syslevel.os2')
    350356    sys_info = Charin(sys_os2, 1, 150)
    351     Parse Var sys_info . 61 os_name 141 os_comp 150
     357    Parse Var sys_info . 53 os_type 61 os_name 141 os_comp 150
    352358    os_name = Strip(os_name, 't', '00'x)
     359    os_type = Strip(os_type, 't', '_')
     360    parse var os_type . 4 major 6 minor
    353361    os_ver  = SysOS2Ver()
    354     if os_ver = 2.30 then OS2Type = "OS/2 Warp 3 (not supported)"
     362    if os_ver = 2.30 then OS2Type = "OS/2 Warp 3.0x (not supported)"
    355363    select
    356364        when os_comp = '5639A6100' then do
    357             if os_ver = 2.40 then OS2Type = "OS/2 Warp 4"
    358             if os_ver = 2.45 then OS2Type = "OS/2 Warp 4.5"
    359         end
    360         when os_comp = '5639A6101' then OS2Type = "OS/2 4.51 MCP or eComStation"
    361         when os_comp = '5639A6150' then OS2Type = "OS/2 WSeB uni"
    362         when os_comp = '5639A5550' then OS2Type = "OS/2 WSeB smp"
     365            if os_ver = 2.40 then OS2Type = "OS/2 Warp 4.00"
     366            if os_ver = 2.45 then OS2Type = "OS/2 Warp 4.50"
     367        end
     368        when os_comp = '5639A6101' & minor = '01' then OS2Type = "OS/2 Warp 4.51 (MCP1)"
     369        when os_comp = '5639A6101' & minor = '02' then OS2Type = "OS/2 Warp 4.52 (MCP2)"
     370        when os_comp = '5639A6150' & minor = '00' then OS2Type = "OS/2 WSeB 4.50 uni"
     371        when os_comp = '5639A6150' & minor = '01' then OS2Type = "OS/2 WSeB 4.51 uni (ACP1)"
     372        when os_comp = '5639A6150' & minor = '02' then OS2Type = "OS/2 WSeB 4.52 uni (ACP2)"
     373        when os_comp = '5639A5550' & minor = '00' then OS2Type = "OS/2 WSeB 4.50 smp"
     374        when os_comp = '5639A5550' & minor = '01' then OS2Type = "OS/2 WSeB 4.51 smp (ACP1)"
     375        when os_comp = '5639A5550' & minor = '02' then OS2Type = "OS/2 WSeB 4.52 smp (ACP2)"
    363376        otherwise do
    364377        end
     
    366379    ok = stream(sys_os2,'c','CLOSE')
    367380
     381    /* detect eComStation - a very simplicistic approach */   
     382    ecs = 1
     383    ok = SysFileTree(SysBootDrive()'\WiseMachine.fit',ecs.,'FO')
     384    ecs = ecs * ecs.0
     385    ok = SysFileTree(SysBootDrive()'\eCS',ecs.,'DO')
     386    ecs = ecs * ecs.0
     387    ok = SysFileTree(SysBootDrive()'\TVoice',ecs.,'DO')
     388    ecs = ecs * ecs.0
     389    if ecs then OS2Type = 'eComStation (Base: 'substr(OS2Type,10)')'
     390   
    368391    /* get Kernel Version */
    369392    BldInfo     = 'BldInfo.TXT'
     
    510533        end
    511534    end
    512     /* if UseRxNap then ok = RxNap(1) */
    513535return
    514536
     
    555577    end
    556578return AllowReport
    557 /*:VRX         _CheckInvalidreport
    558 */
    559 _CheckInvalidreport:
     579
     580/*:VRX         _CheckInvalidReport
     581*/
     582_CheckInvalidReport:
    560583    Invalidreport = 0
    561584    InvalidReport = InvalidReport + (VRGet("EF_Build","value") = "")
     
    627650    end
    628651    ok = lineout(ExceptFileName)
    629 return   
    630 
    631 /*
    632     call lineout RptFileName, 'Exception information and stack dump:'
    633     call lineout RptFileName, '  '
    634     LogFileName = VRget("EF_LogFile","Value")
    635     if LogFileName = '' then return
    636     Buffer.0 = VRGet("SPIN_BufferSize","Value")
    637     LogFileSize = stream(LogfileName,'c','QUERY SIZE')
    638     call _InitProgress
    639     ApproxLines = LogFileSize % 41
    640    
    641     I = 0
    642     do while pos('Exception Information',LogLine) = 0 & lines(LogFileName) <> 0
    643         LogLine = linein(LogFileName)
    644         I = I + 1
    645         idx = I // 10 + 1
    646         Buffer.idx = LogLine
    647         if I // 1000 = 0 then do
    648             call _CheckForEvent
    649             Progress = I * 100 % ApproxLines
    650             ok = VRSet("SL_Progress","Percentile",Progress)
    651         end
    652     end
    653     if lines(LogFileName) = 0 then do
    654         call lineout RptFileName, 'No exception found in logfile!'
    655     end
    656     else do /* we had an exception lets create the dump */
    657         do J = idx+1 to 10
    658             call lineout RptFileName, Buffer.J
    659         end
    660         do J = 1 to idx
    661             call lineout RptFileName, Buffer.J
    662         end
    663         LogLine = linein(LogFileName)
    664         do until pos('End Of Exception Information',LogLine) > 0 | lines(LogFileName) = 0
    665             LogLine = linein(LogFileName)
    666             call lineout RptFileName, LogLine
    667         end
    668 
    669         do while pos('** BEGIN STACK DUMP **',LogLine) = 0 & lines(LogFileName) <> 0
    670             LogLine = linein(LogFileName)
    671             I = I + 1
    672             Progress = I * 100 % ApproxLines
    673             ok = VRSet("SL_Progress","Percentile",Progress)
    674         end
    675         call lineout RptFileName, LogLine
    676         do until pos('** END OF STACK DUMP **',LogLine) > 0 | lines(LogFileName) = 0
    677             LogLine = linein(LogFileName)
    678             call lineout RptFileName,LogLine
    679         end
    680     end
    681     call lineout(LogFileName)
    682     ok = VRSet("Progress","Visible", 0) */
     652return
    683653
    684654/*:VRX         _CreateObject
     
    889859
    890860Options Must Begin With A Slash '/'  */
     861
    891862/*:VRX         _EMailPolarbar
    892863*/
     
    927898    end
    928899return
     900
    929901/*:VRX         _FillPageException
    930902*/
     
    947919return
    948920
    949 /*:VRX         _GotNewLogfileName
    950 */
    951 _GotNewLogfileName:
     921/*:VRX         _GotNewLogFileName
     922*/
     923_GotNewLogFileName:
    952924    ok = VRSet("PB_CreateReport","Visible", 1)
    953925    ok = VRset("EF_LogFile","Value",LogFilename)
     
    10501022    end
    10511023return
     1024
    10521025/*:VRX         _GUIInit
    10531026*/
     
    10571030                              else ok = VRSet("CB_WIN32LOG_ENABLED","set",0)
    10581031
    1059     ok = VRSet( "GB_Settings",       "HintText", "Currently using "our_ini)
     1032    ok = VRSet( "Page_6",            "HintText", "Currently using "our_ini) /* Settings page */
    10601033    ok = VRSet( "EF_BuildDir",       "Value", BuildDir       )
    10611034    ok = VRSet( "EF_TestAppDir",     "Value", TestAppDir     )
     
    10771050
    10781051    /*  enter help file */
    1079     ok = VRSet("OdinBugReport",   "HelpFile", base_dir"OdinBug.HLP")
    1080     ok = VRSet("PageApplication", "HelpFile", base_dir"OdinBug.HLP")
    1081     ok = VRSet("PageOdin",        "HelpFile", base_dir"OdinBug.HLP")
    1082     ok = VRSet("PageSystem",      "HelpFile", base_dir"OdinBug.HLP")
    1083     ok = VRSet("PageSettings",    "HelpFile", base_dir"OdinBug.HLP")
    1084     ok = VRSet("PageEMail",       "HelpFile", base_dir"OdinBug.HLP")
     1052    ok = VRSet("OdinBugReport", "HelpFile", base_dir"OdinBug.HLP") /* Main Window */
     1053/*  ok = VRSet("Page_1",        "HelpFile", base_dir"OdinBug.HLP") /* Application */
     1054    ok = VRSet("Page_3",        "HelpFile", base_dir"OdinBug.HLP") /* Odin */
     1055    ok = VRSet("Page_4",        "HelpFile", base_dir"OdinBug.HLP") /* System */
     1056    ok = VRSet("Page_5",        "HelpFile", base_dir"OdinBug.HLP") /* Settings */
     1057    ok = VRSet("Page_6",        "HelpFile", base_dir"OdinBug.HLP") /* EMail */  */
    10851058return
    10861059
     
    11311104/*:VRX         _INIRead
    11321105*/
    1133 _INIRead: /* Initialize variables, read values from INI file */
     1106_INIRead:
    11341107    /* Show our window */
    11351108    if translate(VRGet("Application","Commandline")) <> '/INSTALLONLY' then do
     
    11421115    ok = SysFileDelete('OdinBug.CFG')
    11431116
    1144     /* Disable obsolete RxNap support */
    1145     UseRxNap                = 0 /* \RxFuncQuery(RxNap) */
    1146  
    11471117    /* Msg.Title = default title for message boxes */
    11481118    Msg.Title               = 'Odin Bug Report Generator'
    11491119
    1150     /*  Initialize variables - former undocumented cfg switches */
     1120    /*  Initialize variables */
    11511121    WarnOld                 = 10 /* days */
    11521122    TooOld                  = 20 /* days */
     
    11581128    ExceptionSearchDone     = 0
    11591129    DestroyWPS              = 0
     1130    ReplaceObjects          = 0
    11601131
    11611132    /* for abbreviation purposes */   
     
    12811252/*:VRX         _INIWrite
    12821253*/
    1283 _INIWrite: /* Write settings to INI file */
     1254_INIWrite:
    12841255    ok = VRSetIni( "OdinBug", "BuildDir", BuildDir, our_ini, 'NoClose' )
    12851256    ok = VRSetIni( "OdinBug", "DontSaveAppDir", DontSaveAppDir, our_ini, 'NoClose' )
     
    13061277    ok = SysDestroyObject("<OdinBug>")
    13071278
    1308     /* Set Creation Disposition - we are polite and update always */
    1309     CreateCollision = 'Update'
     1279    /* Set Creation Disposition - we are polite and update per default */
     1280    if ReplaceObjects then CreateCollision = 'Replace'
     1281                      else CreateCollision = 'Update'
    13101282
    13111283    rc1 = _CreateObject( 'WPFolder','Odin','<WP_PROGRAMSFOLDER>',,
     
    13641336            'OBJECTID=<Subscribe_odinusers@yahoogroups>',,
    13651337        CreateCollision )
    1366     rc6 = _CreateObject( 'WPProgram','Project Odin User''s Manual','<ODINFOLDER>',,
     1338    rc6 = _CreateObject( 'WPProgram','Odin User''s Manual','<ODINFOLDER>',,
    13671339            'EXENAME=VIEW.EXE;'||,
    13681340            'PROGTYPE=PM;'||,
    13691341            'PARAMETERS='||base_dir||'ODINUSER.INF Introduction;'||,
    1370             'TITLE=Project Odin^User''s Manual;'||,
     1342            'TITLE=Odin User''s Manual;'||,
    13711343            'NOPRINT=YES;'||,
    13721344            'HIDEBUTTON=DEFAULT;'||,
     
    13741346            'CCVIEW=DEFAULT;'||,
    13751347            'DEFAULTVIEW=DEFAULT;'||,
    1376             'OBJECTID=<Project_Odin_Users_Manual>',,
     1348            'OBJECTID=<Odin_Users_Manual>',,
    13771349        CreateCollision )
    13781350
     
    13981370    end
    13991371return
     1372
    14001373/*:VRX         _LaunchPMMail
    14011374*/
     
    14381411        when KeyStr = "{Alt}h" then call PB_Help_Click
    14391412        when KeyStr = "{Alt}x" then call PB_Exit_Click
     1413        when KeyStr = "{Alt}{PgUp}" then call Activate max(CurrentPageNr-1,1)
     1414        when KeyStr = "{Alt}{PgDown}" then call Activate min(CurrentPageNr+1,Pages)
    14401415        otherwise ok = VRSet(KeyObj, "KeyString", Keystr)
    14411416    end
    14421417return
    1443 
    14441418/*:VRX         _ShowMsg
    14451419*/
     
    14611435    call _AnalyseWarpINdatabase
    14621436    call _GUIRedraw
    1463     if LogFileName = ''
     1437    if LogFileName = '' | LogfileName = 'LOGFILENAME'
    14641438        then call PB_SearchLogFile_Click
    14651439        else call _GotNewLogfileName
     
    15791553return
    15801554
     1555/*:VRX         Activate
     1556*/
     1557Activate:
     1558    parse arg Nr
     1559    call PushbackAll
     1560    CurrentPageNr = Nr
     1561    /* ok = VRSet("PB_"Nr,"Font","9.WarpSans Bold") */
     1562    ok = VRSet("TAB_"Nr,"Top", TabTop-8)
     1563    ok = VRSet("TAB_"Nr,"Left",TabWidth*(Nr-1)+PageLeft)
     1564    ok = VRSet("TAB_"Nr,"PicturePath", "#1"||Nr)
     1565    ok = VRset("DT_PageName", "Caption", VRGet("Page_"Nr, "Caption"))
     1566    ok = VRSet("Page_"Nr,"Visible", 1)
     1567    ok = VRSet("Page_"Nr,"BorderType", 'None')
     1568    ok = VRSet("Page_"Nr,"Height", VRget("GB_Main2","Height")-600)
     1569    ok = VRSet("Page_"Nr,"Width", VRget("GB_Main2","Width")-450)
     1570    ok = VRSet("Menu_"Nr,"Checked", 1)
     1571    select
     1572        when Nr = 1 then ok = VRSet("IPB_paper","PicturePath","#4")
     1573        when Nr = Pages then ok = VRSet("IPB_paper","PicturePath","#6")
     1574        otherwise ok = VRSet("IPB_paper","PicturePath","#5")
     1575    end
     1576return
     1577
    15811578/*:VRX         CB_AddException_Click
    15821579*/
     
    16091606return
    16101607
    1611 /*:VRX         CB_UseRxNap_Click
    1612 */
    1613 CB_UseRxNap_Click:
    1614     UseRxNap then ok = VRGet("CB_UseRxNap","Set")
     1608/*:VRX         CB_ReplaceObjects_Click
     1609*/
     1610CB_ReplaceObjects_Click:
     1611    ReplaceObjects = VRget("CB_replaceObjects","set")
    16151612return
    16161613
     
    17341731return 0
    17351732
     1733/*:VRX         GB_Main_ContextMenu
     1734*/
     1735GB_Main_ContextMenu:
     1736    nop
     1737return
     1738
     1739/*:VRX         GetBootDrive
     1740*/
     1741GetBootDrive:
     1742/* Use SysBootDrive if possible */
     1743If Rxfuncadd('SysBootDrive', 'RexxUtil', 'SysBootDrive') Then
     1744   Return Left(Value('RUNWORKPLACE',,'OS2ENVIRONMENT'),2)
     1745Else
     1746   Return SysBootDrive()
     1747
     1748
    17361749/*:VRX         Halt
    17371750*/
     
    17401753return
    17411754
    1742 /*:VRX         HelpWindow_Close
    1743 */
    1744 HelpWindow_Close:
    1745     call HelpWindow_Fini
    1746 return
    1747 
    1748 /*:VRX         HelpWindow_Create
    1749 */
    1750 HelpWindow_Create:
    1751     call HelpWindow_Init
    1752 return
    1753 
    1754 /*:VRX         HelpWindow_Fini
    1755 */
    1756 HelpWindow_Fini:
    1757     window = VRInfo( "Window" )
    1758     call VRDestroy window
    1759     drop window
    1760 return
    1761 /*:VRX         HelpWindow_Init
    1762 */
    1763 HelpWindow_Init:
    1764     window = VRInfo( "Object" )
    1765     if( \VRIsChildOf( window, "Notebook" ) ) then do
    1766         /* call VRMethod window, "CenterWindow" */
    1767         call VRSet window, "Visible", 1
    1768         call VRMethod window, "Activate"
    1769     end
    1770     drop window
    1771 return
    1772 
    17731755/*:VRX         Init
    17741756*/
    17751757Init:
    1776     window = VRWindow()
    1777     call VRMethod window, "CenterWindow"
    1778     call VRSet window, "Visible", 0
    1779     call VRMethod window, "Activate"
    1780     drop window
    1781 return
    1782 
    1783 /*:VRX         NB_Main_PageSelected
    1784 */
    1785 NB_Main_PageSelected:
    1786     /* CurPage = VRMethod("NB_Main","GetPageWindow",VRInfo("Page")) */
    1787     CurPage = VRInfo("Page")
    1788     select
    1789         when CurPage = 1 then ok = VRMethod("EF_Appname","setfocus")
    1790         when CurPage = 2 then ok = VRMethod("LB_Exception","setfocus")
    1791         when CurPage = 3 then ok = VRMethod("EF_Build","setfocus")
    1792         when CurPage = 4 then ok = VRMethod("DDCB_OS2Version","Setfocus")
    1793         when CurPage = 5 then do
    1794             ok = VRSet("EF_BuildDir","Value", BuildDir)
    1795             ok = VRSet("EF_TestAppDir","Value", TestAppDir)
    1796             ok = VRMethod("EF_BuildDir","SetFocus")
    1797         end
    1798         when CurPage = 6 then do
    1799             ok = VRSet("EF_MessengerDir","Value", MessengerDir)
    1800             ok = VRMethod("DDCB_EMail","SetFocus")
    1801         end
    1802         otherwise nop
    1803     end
     1758window = VRWindow()
     1759call VRMethod window, "CenterWindow"
     1760call VRSet window, "Visible", 0
     1761call VRMethod window, "Activate"
     1762drop window
     1763return
     1764
     1765/*:VRX         IPB_Paper_Click
     1766*/
     1767IPB_Paper_Click:
     1768    if VRInfo("Left") >  VRInfo("Top") then call Activate min(CurrentPageNr+1,Pages)
     1769    if VRInfo("Left") <= VRInfo("Top") then call Activate max(CurrentPageNr-1,1)
     1770return
     1771
     1772/*:VRX         Menu_1_Click
     1773*/
     1774Menu_1_Click:
     1775    call Activate 1
     1776return
     1777
     1778/*:VRX         Menu_2_Click
     1779*/
     1780Menu_2_Click:
     1781    call Activate 2
     1782return
     1783
     1784/*:VRX         Menu_3_Click
     1785*/
     1786Menu_3_Click:
     1787    call Activate 3
     1788return
     1789
     1790/*:VRX         Menu_4_Click
     1791*/
     1792Menu_4_Click:
     1793    call Activate 4
     1794return
     1795
     1796/*:VRX         Menu_5_Click
     1797*/
     1798Menu_5_Click:
     1799    call Activate 5
     1800return
     1801
     1802/*:VRX         Menu_6_Click
     1803*/
     1804Menu_6_Click:
     1805    call Activate 6
    18041806return
    18051807
     
    18181820return
    18191821
     1822/*:VRX         OdinBugReport_ContextMenu
     1823*/
     1824OdinBugReport_ContextMenu:
     1825    ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" )
     1826return
     1827
    18201828/*:VRX         OdinBugReport_Create
    18211829*/
     
    18231831    call _LoadOtherFuncs
    18241832    window = VRLoadSecondary( "Progress" )
     1833    ok = VRMethod("PB_Exit","SetFocus")
     1834    call PushbackAll
     1835    call TAB_1_Click
    18251836    call _INIRead
    1826 return
    1827 
    1828 /*:VRX         PageApplication_Close
    1829 */
    1830 PageApplication_Close:
    1831     call PageApplication_Fini
    1832 return
    1833 
    1834 /*:VRX         PageApplication_Create
    1835 */
    1836 PageApplication_Create:
    1837     call PageApplication_Init
     1837    call Page1_Create
     1838    call Page2_Create
     1839    call Page3_Create
     1840    call Page4_Create
     1841    call Page5_Create
     1842    call Page6_Create
     1843    /* call OdinBugReport_Resize */
     1844
     1845return
     1846
     1847/*:VRX         OdinBugReport_KeyPress
     1848*/
     1849OdinBugReport_KeyPress:
     1850    call _ProcessHotKeys
     1851return
     1852
     1853/*:VRX         OdinBugReport_Resize
     1854*/
     1855OdinBugReport_Resize:
     1856    MainWin = "OdinBugReport"
     1857    ok = VRset(MainWin,"Visible", 0)
     1858    ok = VRSet(MainWin,"Width",max(VRget(MainWin,"Width"),Pages*TabWidth+300))
     1859    ok = VRset("GB_Main","width",VRget(MainWin,"Width")-150)
     1860    ok = VRset("GB_Main","Height",VRget(MainWin,"Height")-1175-330)
     1861    ok = VRset("GB_Main2","width",VRget("GB_Main","Width")-260)
     1862    ok = VRset("GB_Main2","Height",VRget("GB_Main","Height")-275)
     1863    ok = VRset("GB_LineVertical","Left",VRget("GB_Main2","Width")-60)
     1864    ok = VRset("GB_LineVertical","Height",VRget("GB_Main2","Height")-410)
     1865    ok = VRset("IPB_Paper","Left",VRget("GB_Main2","width")-510)
     1866    ok = VRset("GB_LineHorizTop","Width",VRget("GB_Main2","width")-480)
     1867    ok = VRset("GB_LineHorizTop","Width",VRget("GB_Main2","width")-480)
     1868    ok = VRset("GB_LineHorizSubtitle","Width",VRget("GB_Main2","width")-480)
     1869    do I = 1 to Pages
     1870        ok = VRSet("Page_"I,"Height", VRget("GB_Main2","Height")-600)
     1871        ok = VRSet("Page_"I,"Width", VRget("GB_Main2","Width")-450)
     1872    end
     1873    ok = VRSEt("PB_CreateReport","top",VRGet("GB_Main","Height")+365)
     1874    ok = VRSEt("PB_EMail","top",VRGet("GB_Main","Height")+365)
     1875    ok = VRSEt("PB_OpenReport","top",VRGet("GB_Main","Height")+365)
     1876    ok = VRSEt("PB_BrowseLogFile","top",VRGet("GB_Main","Height")+365)
     1877    ok = VRSEt("PB_Help","top",VRGet("GB_Main","Height")+365)
     1878    ok = VRSEt("PB_Exit","top",VRGet("GB_Main","Height")+365)
     1879    ButtonDist= 1080
     1880    ButtonNr  = 6
     1881    ButtonPos = max((VRget(MainWin,"Width")-ButtonDist*ButtonNr)/2,0)
     1882    ok = VRSEt("PB_CreateReport","Left",ButtonPos+ButtonDist*(ButtonNr-6))
     1883    ok = VRSEt("PB_EMail","Left",ButtonPos+ButtonDist*(ButtonNr-5))
     1884    ok = VRSEt("PB_OpenReport","Left",ButtonPos+ButtonDist*(ButtonNr-4))
     1885    ok = VRSEt("PB_BrowseLogFile","Left",ButtonPos+ButtonDist*(ButtonNr-3))
     1886    ok = VRSEt("PB_Help","left",ButtonPos+ButtonDist*(ButtonNr-2))
     1887    ok = VRSEt("PB_Exit","left",ButtonPos+ButtonDist*(ButtonNr-1))
     1888    ok = VRset(MainWin,"Visible", 1)
     1889return
     1890
     1891/*:VRX         Page1_Create
     1892*/
     1893Page1_Create:
     1894    call Page1_Init /* Application */
    18381895    call _StartUp
    1839 return
    1840 
    1841 /*:VRX         PageApplication_Fini
    1842 */
    1843 PageApplication_Fini:
    1844     window = VRInfo( "Window" )
    1845     call VRDestroy window
    1846     drop window
    1847 return
    1848 /*:VRX         PageApplication_Init
    1849 */
    1850 PageApplication_Init:
    1851     window = VRInfo( "Object" )
    1852     if( \VRIsChildOf( window, "Notebook" ) ) then do
    1853         call VRMethod window, "CenterWindow"
    1854         call VRSet window, "Visible", 1
    1855         call VRMethod window, "Activate"
    1856     end
    1857     drop window
    1858 return
    1859 
    1860 /*:VRX         PageApplication_KeyPress
    1861 */
    1862 PageApplication_KeyPress:
    1863     call _ProcessHotkeys
    1864 return
    1865 
    1866 /*:VRX         PageEMail_Close
    1867 */
    1868 PageEMail_Close:
    1869     call PageEMail_Fini
    1870 return
    1871 
    1872 /*:VRX         PageEMail_Create
    1873 */
    1874 PageEMail_Create:
    1875     call PageEMail_Init
    1876 return
    1877 
    1878 /*:VRX         PageEMail_Fini
    1879 */
    1880 PageEMail_Fini:
    1881     window = VRInfo( "Window" )
    1882     call VRDestroy window
    1883     drop window
    1884 return
    1885 /*:VRX         PageEMail_Init
    1886 */
    1887 PageEMail_Init:
    1888     window = VRInfo( "Object" )
    1889     if( \VRIsChildOf( window, "Notebook" ) ) then do
    1890         call VRMethod window, "CenterWindow"
    1891         call VRSet window, "Visible", 1
    1892         call VRMethod window, "Activate"
    1893     end
    1894     drop window
    1895 return
    1896 
    1897 /*:VRX         PageEMail_KeyPress
    1898 */
    1899 PageEMail_KeyPress:
    1900     call _ProcessHotkeys
    1901 return
    1902 
    1903 /*:VRX         PageException_Close
    1904 */
    1905 PageException_Close:
    1906     call PageException_Fini
    1907 return
    1908 
    1909 /*:VRX         PageException_Create
    1910 */
    1911 PageException_Create:
    1912     call PageException_Init
    1913 return
    1914 
    1915 /*:VRX         PageException_Fini
    1916 */
    1917 PageException_Fini:
    1918     window = VRInfo( "Window" )
    1919     call VRDestroy window
    1920     drop window
    1921 return
    1922 /*:VRX         PageException_Init
    1923 */
    1924 PageException_Init:
    1925     window = VRInfo( "Object" )
    1926     if( \VRIsChildOf( window, "Notebook" ) ) then do
    1927         call VRMethod window, "CenterWindow"
    1928         call VRSet window, "Visible", 1
    1929         call VRMethod window, "Activate"
    1930     end
    1931     drop window
    1932 return
    1933 
    1934 /*:VRX         PageOdin_Close
    1935 */
    1936 PageOdin_Close:
    1937     call PageOdin_Fini
    1938 return
    1939 
    1940 /*:VRX         PageOdin_Create
    1941 */
    1942 PageOdin_Create:
    1943     call PageOdin_Init
    1944 return
    1945 
    1946 /*:VRX         PageOdin_Fini
    1947 */
    1948 PageOdin_Fini:
    1949     window = VRInfo( "Window" )
    1950     call VRDestroy window
    1951     drop window
    1952 return
    1953 /*:VRX         PageOdin_Init
    1954 */
    1955 PageOdin_Init:
    1956     window = VRInfo( "Object" )
    1957     if( \VRIsChildOf( window, "Notebook" ) ) then do
    1958         call VRMethod window, "CenterWindow"
    1959         call VRSet window, "Visible", 1
    1960         call VRMethod window, "Activate"
    1961     end
    1962     drop window
    1963 return
    1964 
    1965 /*:VRX         PageOdin_KeyPress
    1966 */
    1967 PageOdin_KeyPress:
    1968     call _ProcessHotkeys
    1969 return
    1970 
    1971 /*:VRX         PageSettings_Close
    1972 */
    1973 PageSettings_Close:
    1974     call PageSettings_Fini
    1975 return
    1976 
    1977 /*:VRX         PageSettings_Create
    1978 */
    1979 PageSettings_Create:
    1980     call PageSettings_Init
    1981 return
    1982 
    1983 /*:VRX         PageSettings_Fini
    1984 */
    1985 PageSettings_Fini:
    1986     window = VRInfo( "Window" )
    1987     call VRDestroy window
    1988     drop window
    1989 return
    1990 /*:VRX         PageSettings_Init
    1991 */
    1992 PageSettings_Init:
    1993     window = VRInfo( "Object" )
    1994     if( \VRIsChildOf( window, "Notebook" ) ) then do
    1995         call VRMethod window, "CenterWindow"
    1996         call VRSet window, "Visible", 1
    1997         call VRMethod window, "Activate"
    1998     end
    1999     drop window
    2000 return
    2001 
    2002 /*:VRX         PageSettings_KeyPress
    2003 */
    2004 PageSettings_KeyPress:
    2005     call _ProcessHotKeys
    2006 return
    2007 
    2008 /*:VRX         PageSystem_Close
    2009 */
    2010 PageSystem_Close:
    2011     call PageSystem_Fini
    2012 return
    2013 
    2014 /*:VRX         PageSystem_Create
    2015 */
    2016 PageSystem_Create:
    2017     call PageSystem_Init
    2018 return
    2019 
    2020 /*:VRX         PageSystem_Fini
    2021 */
    2022 PageSystem_Fini:
    2023     window = VRInfo( "Window" )
    2024     call VRDestroy window
    2025     drop window
    2026 return
    2027 /*:VRX         PageSystem_Init
    2028 */
    2029 PageSystem_Init:
    2030     window = VRInfo( "Object" )
    2031     if( \VRIsChildOf( window, "Notebook" ) ) then do
    2032         call VRMethod window, "CenterWindow"
    2033         call VRSet window, "Visible", 1
    2034         call VRMethod window, "Activate"
    2035     end
    2036     drop window
    2037 return
    2038 
    2039 /*:VRX         PageSystem_KeyPress
    2040 */
    2041 PageSystem_KeyPress:
    2042     call _ProcessHotkeys
    2043 return
    2044 
    2045 /*:VRX         PB_About1_Click
    2046 */
    2047 PB_About1_Click:
    2048     window = VRLoadSecondary( "AboutPage", "W" )
     1896Return
     1897
     1898/*:VRX         Page1_Init
     1899*/
     1900Page1_Init:
     1901
     1902return
     1903
     1904/*:VRX         Page2_Create
     1905*/
     1906Page2_create:
     1907
     1908Return
     1909/*:VRX         Page2_init
     1910*/
     1911Page2_init:
     1912
     1913return
     1914
     1915/*:VRX         Page3_Create
     1916*/
     1917Page3_create:
     1918
     1919Return
     1920/*:VRX         Page3_Init
     1921*/
     1922Page3_Init:
     1923
     1924return
     1925
     1926/*:VRX         Page4_Create
     1927*/
     1928Page4_Create:
     1929
     1930Return
     1931/*:VRX         Page4_init
     1932*/
     1933Page4_init:
     1934
     1935return
     1936
     1937/*:VRX         Page5_Create
     1938*/
     1939Page5_Create:
     1940
     1941return
     1942
     1943/*:VRX         Page6_Create
     1944*/
     1945Page6_Create:
     1946
    20491947return
    20501948
     
    20661964    'start "Browsing 'LogFileName'" /F 'LogFileBrowser' "'LogFileName'"'
    20671965return
     1966
    20681967/*:VRX         PB_CreateReport_Click
    20691968*/
     
    21102009    call OdinBugReport_Close
    21112010return
     2011
    21122012/*:VRX         PB_Help_Click
    21132013*/
     
    21162016    /* ok = SysSetObjectData(base_dir"OdinBug.HLP","OPEN=DEFAULT;PARAMETERS=Introduction") */
    21172017return
    2118 /*:VRX         PB_Install1_Click
    2119 */
    2120 PB_Install1_Click:
    2121     call _InstallWPSObjects
    2122 return
     2018
    21232019/*:VRX         PB_Install_Click
    21242020*/
     
    21312027    ok = SysSetObjectData(RPTFileName,"OPEN=DEFAULT")
    21322028return
     2029
    21332030/*:VRX         PB_SaveSettings1_Click
    21342031*/
     
    22052102    Lines.1 = "Many thanks go to Team Odin and their efforts, especially to Sander van Leeuwen for his (almost) endless patience and to my testers Sven Stroh and Peter Weilbacher."
    22062103    Lines.2 = " "
    2207     Lines.3 = "This program is free, but copyrighted software. The license for Odin is also valid for this program. Current source is freely available by request to the author."
     2104    Lines.3 = "This program is free, but copyrighted software. The license for Odin is also valid for this program."
    22082105    Lines.0 = 3
    22092106    Buttons.1 = "OK"
     
    22122109return
    22132110
    2214 /*:VRX         PB_UnInstall1_Click
    2215 */
    2216 PB_UnInstall1_Click:
    2217     call _UnInstallWPSObjects
    2218 return
    22192111/*:VRX         PB_UnInstall_Click
    22202112*/
     
    22522144    end
    22532145    drop window
     2146return
     2147
     2148/*:VRX         PushbackAll
     2149*/
     2150PushbackAll:
     2151    Pages = 6
     2152    /* Tab distance from top */
     2153    TabTop = 25
     2154    TabWidth = 1180
     2155    TabHeight= 360
     2156
     2157    /* Page Position */
     2158    PageLeft = 120
     2159    PageTop = PageLeft + TabTop + 330
     2160
     2161    /* Page size */
     2162    PageHeight = 4500
     2163    PageWidth = 7000
     2164    ok = VRset("DT_PageName", "Caption", "")
     2165    ok = VRSet("GB_Main","Left", 0)
     2166    ok = VRSet("GB_Main","Top", TabTop+290)
     2167    do I = 1 to Pages
     2168        ok = VRSet("TAB_"I,"Top", TabTop)
     2169        ok = VRSet("TAB_"I,"PicturePath","#2"||I)
     2170        ok = VRSet("TAB_"I,"Left",TabWidth*(I-1)+PageLeft)
     2171        ok = VRSet("TAB_"I,"Width",TabWidth)
     2172        ok = VRSet("TAB_"I,"Height",TabHeight)
     2173        ok = VRSet("Page_"I,"Height", PageHeight)
     2174        ok = VRSet("Page_"I,"Width", PageWidth)
     2175        ok = VRSet("Page_"I,"Left", PageLeft)
     2176        ok = VRSet("Page_"I,"Top", PageTop)
     2177        ok = VRSet("Page_"I,"Visible", 0)
     2178        ok = VRSet("Page_"I,"BackColor", "<default>")
     2179        ok = VRSet("Menu_"I,"Checked", 0)
     2180    end
    22542181return
    22552182
     
    23942321return
    23952322
     2323/*:VRX         TAB_1_Click
     2324*/
     2325TAB_1_Click:
     2326    call Activate 1
     2327return
     2328
     2329/*:VRX         TAB_1_ContextMenu
     2330*/
     2331TAB_1_ContextMenu:
     2332    ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" )
     2333return
     2334
     2335/*:VRX         TAB_2_Click
     2336*/
     2337TAB_2_Click:
     2338    call Activate 2
     2339return
     2340
     2341/*:VRX         TAB_2_ContextMenu
     2342*/
     2343TAB_2_ContextMenu:
     2344    ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" )
     2345return
     2346
     2347/*:VRX         TAB_3_Click
     2348*/
     2349TAB_3_Click:
     2350    call Activate 3
     2351return
     2352
     2353/*:VRX         TAB_3_ContextMenu
     2354*/
     2355TAB_3_ContextMenu:
     2356    ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" )
     2357return
     2358
     2359/*:VRX         TAB_4_Click
     2360*/
     2361TAB_4_Click:
     2362    call Activate 4
     2363return
     2364
     2365/*:VRX         TAB_4_ContextMenu
     2366*/
     2367TAB_4_ContextMenu:
     2368    ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" )
     2369return
     2370
     2371/*:VRX         TAB_5_Click
     2372*/
     2373TAB_5_Click:
     2374    call Activate 5
     2375return
     2376
     2377/*:VRX         TAB_5_ContextMenu
     2378*/
     2379TAB_5_ContextMenu:
     2380    ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" )
     2381return
     2382
     2383/*:VRX         TAB_6_Click
     2384*/
     2385TAB_6_Click:
     2386    call Activate 6
     2387return
     2388
     2389/*:VRX         TAB_6_ContextMenu
     2390*/
     2391TAB_6_ContextMenu:
     2392    ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" )
     2393return
     2394
    23962395/*:VRX         TM_CheckValid_Trigger
    23972396*/
  • trunk/tools/OdinBug/readme.source

    r8634 r9104  
    1 Sourcecode for OdinBug 0.5.5
     1Sourcecode for OdinBug 0.5.7
    22============================
    33
     
    88      VX-REXX projects folder.
    99   
    10    2. Unzip this OdinBugSrc055.ZIP in this folder.
     10   2. Unzip this OdinBugSrc057.ZIP in this folder.
    1111
    1212   3. Open OdinBug.VRP using VRXedit.
     
    3232      taken to syncronize these two (or three). Check for event
    3333      routines tied to the entryfields on the settings page and
    34       for the subroutines _GUInit, _GUIEMailInit, _GUIRedraw and
     34      for the subroutines _GUIInit, _GUIEMailInit, _GUIRedraw and
    3535      _GUIRedraw2 to get an idea how I do this.
    3636   
     
    6161D. AUTHOR:
    6262
    63 Herwig Bauernfeind, 02-12-2001
     63Herwig Bauernfeind, 11-08-2002
    6464EMail: herwig.bauernfeind@aon.at
Note: See TracChangeset for help on using the changeset viewer.