Changeset 9104 for trunk/tools
- Timestamp:
- Aug 23, 2002, 5:47:22 PM (23 years ago)
- 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. 61 :userdoc.:title.OdinBug Help 0.5.7 2 2 :docprof toc=123. 3 3 .*************************************************** … … 7 7 :h1 res=100 x=right y=bottom width=66% height=100%.Introduction 8 8 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. 10 10 :p.OdinBug is a helper application for Odin&comma. the Win32-subsystem of 11 11 OS&slr.2 (eCS) . Its purpose is to ease the creation of proper bug reports. … … 27 27 :h2 res=120 x=right y=bottom width=66% height=100%.Reporting Odin bugs 28 28 29 : font facename='Default' size=0x0.:p.To make our job easier when dealing with reports of failures to run29 :p.:font facename='Default' size=0x0.To make our job easier when dealing with reports of failures to run 30 30 certain applications&comma. there's a :link reftype=hd res=840.standard form:elink. to report bugs. Use 31 31 OdinBug to create these bug reports. … … 66 66 :h2 res=130 x=right y=bottom width=66% height=100%.Useful tips 67 67 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. 69 69 but improper behaviour isn't. 70 70 :p.In the system menu (top left button of a window)&comma. there's a menu item called … … 80 80 :h2 res=140 x=right y=bottom width=66% height=100%.How to create a bug report in a few easy steps 81 81 82 : font facename='Default' size=0x0.:p.Ideally OdinBug should be called immediately after you experienced a crash82 :p.:font facename='Default' size=0x0.Ideally OdinBug should be called immediately after you experienced a crash 83 83 in a Win32 program and after you have :link reftype=hd res=220.created a log file:elink.. 84 84 … … 120 120 :h1 res=200 x=right y=bottom width=66% height=100%.Application 121 121 122 : font facename='Default' size=0x0.:p.The "Application" page of OdinBug presents a form to fill in all122 :p.:font facename='Default' size=0x0.The "Application" page of OdinBug presents a form to fill in all 123 123 kind of information about the program that you want to create a 124 124 bug report for. … … 138 138 :h2 res=220.Odin logfiles and how to create them 139 139 140 : font facename='Default' size=0x0.:p.The logfile is the main source of bug information for OdinBug. It140 :p.:font facename='Default' size=0x0.The logfile is the main source of bug information for OdinBug. It 141 141 is impossible to create a bugreport without a logfile! 142 142 … … 190 190 :h2 res=230.Windows executable 191 191 192 : font facename='Default' size=0x0.:p.The field "Windows Executable" should hold the name of the binary192 :p.:font facename='Default' size=0x0.The field "Windows Executable" should hold the name of the binary 193 193 program file&comma. that was used to run the Win32-application. 194 194 :p.If the name is not what you think it should be&comma. you might … … 201 201 :h2 res=240.Application name 202 202 203 : font facename='Default' size=0x0.:p.The application name is not meant to be the name of the203 :p.:font facename='Default' size=0x0.The application name is not meant to be the name of the 204 204 executable&comma. but the name of the program as it is 205 205 advertised&comma. for example&colon. … … 219 219 :h2 res=250.Version 220 220 221 : font facename='Default' size=0x0.:p.The version field should contain the exact revision number of the221 :p.:font facename='Default' size=0x0.The version field should contain the exact revision number of the 222 222 program to make it easy for Team Odin to exactly identify the 223 223 program you are using. For example&colon. … … 237 237 :h2 res=260.Ohhh, no 238 238 239 : font facename='Default' size=0x0.:p.Set the "Ohh&comma. no!" checkmark&comma. if a popup messagebox239 :p.:font facename='Default' size=0x0.Set the "Ohh&comma. no!" checkmark&comma. if a popup messagebox 240 240 saying "Ohhh&comma. no! Unhandled exception..." was shown during 241 241 the program was run. … … 248 248 :h2 res=270.Available from 249 249 250 : font facename='Default' size=0x0.:p.The purpose of the "Available from" field is to tell Team Odin250 :p.:font facename='Default' size=0x0.The purpose of the "Available from" field is to tell Team Odin 251 251 from where they eventually could achieve the application for 252 252 testing it with Odin. This could be a URL or Webpage. … … 260 260 :h2 res=280.Verbal description 261 261 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) 263 263 can express in your own words&comma. what you have done&comma. 264 264 seen or heard. … … 276 276 :h2 res=290.Exception page 277 277 278 : font facename='Default' size=0x0.:p.The "Exception"page shows the most important techniscal278 :p.:font facename='Default' size=0x0.The "Exception"page shows the most important techniscal 279 279 information&comma. that Team Odin needs in order to track down a 280 280 bug. … … 286 286 :h1 res=300 x=right y=bottom width=66% height=100%.Odin 287 287 288 : font facename='Default' size=0x0.:p.The "Odin" page shows all the necessary information about your288 :p.:font facename='Default' size=0x0.The "Odin" page shows all the necessary information about your 289 289 installed Odin-subsystem. 290 290 :p.All information is gathered from various source around your … … 298 298 :h2 res=320.Current Odin build 299 299 300 : font facename='Default' size=0x0.:p.The "Current Odin build" field shows the filename of the300 :p.:font facename='Default' size=0x0.The "Current Odin build" field shows the filename of the 301 301 currently installed Odin build. As Odin buildfiles follow a 302 302 strict name scheme&comma. this can usually be determined … … 315 315 :h2 res=330.Installation method 316 316 317 : font facename='Default' size=0x0.:p.The field "Installation method" shows whether the last install317 :p.:font facename='Default' size=0x0.The field "Installation method" shows whether the last install 318 318 was done from a daily build ZIP file or from a weekly build WPI 319 319 file. … … 330 330 :h2 res=340.Launching method 331 331 332 : font facename='Default' size=0x0.:p.The "Launching method" field shows whether the Win32 program was332 :p.:font facename='Default' size=0x0.The "Launching method" field shows whether the Win32 program was 333 333 launched using PE.EXE&comma. PEC.EXE or the transparent loader 334 334 Win32K.SYS. … … 345 345 :h2 res=350.Win32K.SYS parameters 346 346 347 : font facename='Default' size=0x0.:p.As Win32K.SYS can operate in various modes&comma. the "WIN32K.SYS347 :p.:font facename='Default' size=0x0.As Win32K.SYS can operate in various modes&comma. the "WIN32K.SYS 348 348 parameters" field shows which parameters were used. 349 349 … … 360 360 :h2 res=360.Last WarpIN installation 361 361 362 : font facename='Default' size=0x0.:p.It is essential that Odin is installed properly. UnZIPping the362 :p.:font facename='Default' size=0x0.It is essential that Odin is installed properly. UnZIPping the 363 363 files only&comma. is not enough to have a proper Odin 364 364 environment. … … 376 376 :h2 res=370.Last OdinInst installation 377 377 378 : font facename='Default' size=0x0.:p.:link reftype=fn refid=1.OdinInst.EXE:elink. updates the registry and creates a bunch of378 :p.:link reftype=fn refid=1.:font facename='Default' size=0x0.OdinInst.EXE:elink. updates the registry and creates a bunch of 379 379 directories. 380 380 :p.Both are vital to have a proper Odin environment. … … 388 388 :h2 res=380.Odin "Windows" directory 389 389 390 : font facename='Default' size=0x0.:p.Odin creates a directory structure&comma. which resembles the one390 :p.:font facename='Default' size=0x0.Odin creates a directory structure&comma. which resembles the one 391 391 usually found in a real Windows. 392 392 :p.The "Windows" directory of Odin is the directory that is … … 403 403 :h2 res=390.Odin "System" directory 404 404 405 : font facename='Default' size=0x0.:p.Odin creates a directory structure&comma. which resembles the one405 :p.:font facename='Default' size=0x0.Odin creates a directory structure&comma. which resembles the one 406 406 usually found in a real Windows. 407 407 :p.The "System" directory of Odin is the directory that is … … 416 416 :h2 res=3100.Evaluated Odin.INI 417 417 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. 419 419 :p.It is recreated every time :link reftype=fn refid=1.OdinInst.EXE:elink. is called. 420 420 :p.For currently implemented Odin.INI settings read this file … … 427 427 :h1 res=400 x=right y=bottom width=66% height=100%.System 428 428 429 : font facename='Default' size=0x0.:p.The "System" page provides necessary information about your429 :p.:font facename='Default' size=0x0.The "System" page provides necessary information about your 430 430 system&comma. especially about your Operating System and your 431 431 display driver. … … 435 435 :h2 res=420.OS/2 system type and version 436 436 437 : font facename='Default' size=0x0.:p.The OS&slr.2 (eCS) system type and version is of general437 :p.:font facename='Default' size=0x0.The OS&slr.2 (eCS) system type and version is of general 438 438 importance for Team Odin. It simply tells whether you run Warp 439 439 3&comma. 4&comma. 4.5 aka MCP&comma. WarpServer for eBusiness or … … 449 449 :h2 res=430.OS/2 reports and kernel revision 450 450 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. 452 452 453 453 :hp7.:p.Source of information&colon.:ehp7. … … 461 461 :h2 res=440.FixPack level 462 462 463 : font facename='Default' size=0x0.:p.The "FixPack level" field shows on which fixpack level your463 :p.:font facename='Default' size=0x0.The "FixPack level" field shows on which fixpack level your 464 464 system is. 465 465 :p.Please provide this information manually&comma. if you are on a … … 477 477 :h2 res=450.Display driver 478 478 479 : font facename='Default' size=0x0.:p.The "Display driver" field indicates&comma. which video driver479 :p.:font facename='Default' size=0x0.The "Display driver" field indicates&comma. which video driver 480 480 you are currently using. 481 481 :p.This information is very important for Team Odin&comma. because … … 490 490 :h2 res=460.Display driver version 491 491 492 : font facename='Default' size=0x0.:p.As the name indicates&comma. the "display driver version" field492 :p.:font facename='Default' size=0x0.As the name indicates&comma. the "display driver version" field 493 493 shows the driver revision of your video adapter driver. 494 494 :p.Please provide this information manually&comma. if you do not run … … 502 502 :h2 res=470.Display chipset 503 503 504 : font facename='Default' size=0x0.:p.The "Display chipset" field indicates the video chipset your504 :p.:font facename='Default' size=0x0.The "Display chipset" field indicates the video chipset your 505 505 video adapter is using. 506 506 :p.Please provide this information manually&comma. if you do not run … … 516 516 :h2 res=480.XF86Sup.SYS loaded 517 517 518 : font facename='Default' size=0x0.:p.This checkbox shows whether Holger Veit's XFree86 support driver518 :p.:font facename='Default' size=0x0.This checkbox shows whether Holger Veit's XFree86 support driver 519 519 named XF86SUP.SYS is installed on your system. 520 520 … … 531 531 :h1 res=500 x=right y=bottom width=66% height=100%.Settings 532 532 533 : font facename='Default' size=0x0.:p.The "Settings" page displays all configurable options for533 :p.:font facename='Default' size=0x0.The "Settings" page displays all configurable options for 534 534 OdinBug. 535 535 :p.By setting these you can change the behaviour of OdinBug to a … … 538 538 :h2 res=520.Add exception info and stack dump and line buffer 539 539 540 : font facename='Default' size=0x0.:p.For Team Odin the exception information and the stack dump is the540 :p.:font facename='Default' size=0x0.For Team Odin the exception information and the stack dump is the 541 541 most important information&comma. when trying to fix a bug. 542 542 :p.The exception information is found on the page "Exception". This … … 548 548 :h2 res=530.Default build directory 549 549 550 : font facename='Default' size=0x0.:p.This is the directory where you store your complete buildfiles550 :p.:font facename='Default' size=0x0.This is the directory where you store your complete buildfiles 551 551 (i.e the odin32bin-20011010-debug.ZIP or .wpi files). 552 552 553 553 :h2 res=540.Application directory 554 554 555 : font facename='Default' size=0x0.:p.The application directory is the directory&comma. where OdinBug555 :p.:font facename='Default' size=0x0.The application directory is the directory&comma. where OdinBug 556 556 should look for logfiles. This is only useful if you have one 557 557 application that you want to make bug reports for. … … 563 563 :h2 res=550.Logfile browser 564 564 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. 566 566 that you want to use to manually investigate the odin32_?.log 567 567 file. … … 573 573 :h2 res=560.Ask, whether to delete the logfile 574 574 575 : font facename='Default' size=0x0.:p.If this option is set&comma. OdinBug will ask you&comma. if you575 :p.:font facename='Default' size=0x0.If this option is set&comma. OdinBug will ask you&comma. if you 576 576 would like to delete the currently used odin32_?.log before 577 577 OdinBug itself is closed. … … 581 581 :h1 res=600 x=right y=bottom width=66% height=100%.EMail 582 582 583 : font facename='Default' size=0x0.:p.The email settings let you specify&comma. which email client583 :p.:font facename='Default' size=0x0.The email settings let you specify&comma. which email client 584 584 OdinBug should use for sending the email that holds the bug 585 585 report. … … 611 611 :h2 res=620.EMail address 612 612 613 : font facename='Default' size=0x0.:p.This is the address&comma. where the bug report should be sent613 :p.:font facename='Default' size=0x0.This is the address&comma. where the bug report should be sent 614 614 to. 615 615 :p.Currently the only valid address is … … 625 625 :h2 res=630.Netscape Messenger 4.61 626 626 627 : font facename='Default' size=0x0.:p.If you click on this radio button&comma. you do not have to enter627 :p.:font facename='Default' size=0x0.If you click on this radio button&comma. you do not have to enter 628 628 anything more&comma. OdinBug will do all the rest for you. 629 629 :p.Please note that current Mozilla and IBM-Webbrowser releases do … … 633 633 :h2 res=640.PMMail (via PMMSend) 634 634 635 : font facename='Default' size=0x0.:p.If you use PMMail as your favorite email client&comma. you have635 :p.:font facename='Default' size=0x0.If you use PMMail as your favorite email client&comma. you have 636 636 to check this radio button. OdinBug will take care of all the 637 637 rest. … … 651 651 :h2 res=650.MR/2 ICE 652 652 653 : font facename='Default' size=0x0.:p.If you use MR&slr.2 ICE as your favorite email client&comma. you653 :p.:font facename='Default' size=0x0.If you use MR&slr.2 ICE as your favorite email client&comma. you 654 654 have to check this radio button. OdinBug will take care of all 655 655 the rest. … … 658 658 :h2 res=660.PolarBar 659 659 660 : font facename='Default' size=0x0.:p.If you use PolarBar as your favorite email client&comma. you have660 :p.:font facename='Default' size=0x0.If you use PolarBar as your favorite email client&comma. you have 661 661 to check this radio button. 662 662 … … 673 673 :h2 res=670.Other email client 674 674 675 : font facename='Default' size=0x0.:p.If you are using the generic email support&comma. you will have675 :p.:font facename='Default' size=0x0.If you are using the generic email support&comma. you will have 676 676 to paste the bug report from the clipboard to the body of the 677 677 message. Eventually you will also have to specify the subject. … … 681 681 :h2 res=680.EMail directory 682 682 683 : font facename='Default' size=0x0.:p.OdinBug changes into this directory before sending the report if683 :p.:font facename='Default' size=0x0.OdinBug changes into this directory before sending the report if 684 684 this field is not empty. 685 685 :p.This field is needed for PMMail support and might be useful for … … 688 688 :h2 res=690.EMail account/Outbox directory 689 689 690 : font facename='Default' size=0x0.:p.:hp2.PMMail users&colon.690 :p.:font facename='Default' size=0x0.P:hp2.MMail users&colon. 691 691 :p.:ehp2.Specify your email account directory name here (normally one of 692 692 the directories … … 698 698 :h1 res=700 x=right y=bottom width=66% height=100%.Buttons 699 699 700 : font facename='Default' size=0x0.:p.The following pages describe the functions of the various buttons700 :p.:font facename='Default' size=0x0.The following pages describe the functions of the various buttons 701 701 found in OdinBug. 702 702 703 703 :h2 res=720.Create 704 704 705 : font facename='Default' size=0x0.:p.By pressing this button&comma. the actual report is created in705 :p.:font facename='Default' size=0x0.By pressing this button&comma. the actual report is created in 706 706 the :link reftype=hd res=840.standard form:elink.. All the information has to be gathered and 707 707 entered before doing this. … … 712 712 :h2 res=730.EMail 713 713 714 : font facename='Default' size=0x0.:p.Pressing the EMail button will copy the reportfile to the714 :p.:font facename='Default' size=0x0.Pressing the EMail button will copy the reportfile to the 715 715 clipboard&comma. open an instance of your favorite email program. 716 716 … … 724 724 :h2 res=740.Open 725 725 726 : font facename='Default' size=0x0.:p.Pressing this button opens the newly created OdinBug.RPT bug726 :p.:font facename='Default' size=0x0.Pressing this button opens the newly created OdinBug.RPT bug 727 727 report file in your favorite editor&comma. in order to modify it 728 728 manually before sending it to the appropriate email address. … … 730 730 :h2 res=750.Browse 731 731 732 : font facename='Default' size=0x0.:p.Pressing this button opens the program specified as logfile732 :p.:font facename='Default' size=0x0.Pressing this button opens the program specified as logfile 733 733 browser on the settings page with the current odin32_?.log as 734 734 parameter in order to ease the manual investigation of the … … 737 737 :h2 res=760.Help 738 738 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. 740 740 :p.Amazing&comma. ain't it? 741 741 742 742 :h2 res=770.Exit 743 743 744 : font facename='Default' size=0x0.:p.Pressing this button will close OdinBug without any further744 :p.:font facename='Default' size=0x0.Pressing this button will close OdinBug without any further 745 745 action. 746 746 747 747 :h2 res=780.Save settings 748 748 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. 750 750 a standard OS&slr.2 (eCS) INI file which resides in the same 751 751 directory as OdinBug.EXE. … … 753 753 :h2 res=790.Recreate objects 754 754 755 : font facename='Default' size=0x0.:p.When OdinBug.EXE is called for the first time (or with the755 :p.:font facename='Default' size=0x0.When OdinBug.EXE is called for the first time (or with the 756 756 &slr.InstallOnly commandline switch)&comma. it will 757 757 create&slr.update its objects and associations in the Odin … … 761 761 :h2 res=7100.Destroy objects 762 762 763 : font facename='Default' size=0x0.:p.Pressing this button will destroy all objects that are created by763 :p.:font facename='Default' size=0x0.Pressing this button will destroy all objects that are created by 764 764 OdinBug. 765 765 :note.OdinBug also creates the Odin folder&comma. if it is not found on … … 770 770 :h2 res=7110.About 771 771 772 : font facename='Default' size=0x0.:p.Like in every program the "About" button is the most important772 :p.:font facename='Default' size=0x0.Like in every program the "About" button is the most important 773 773 function of all. 774 774 :p.It displays&comma. what you never would have expected&colon. All … … 779 779 :h1 res=800 x=right y=bottom width=66% height=100%.Miscanellous 780 780 781 : font facename='Default' size=0x0.:p.The following sections of the manual contain various topics781 :p.:font facename='Default' size=0x0.The following sections of the manual contain various topics 782 782 around Odin&comma. logging and reporting bugs. 783 783 784 784 :h2 res=820.Extended logging feature 785 785 786 : font facename='Default' size=0x0.:p.Disabling or enabling logging for all the Odin dlls isn't always786 :p.:font facename='Default' size=0x0.Disabling or enabling logging for all the Odin dlls isn't always 787 787 useful. To make logging more flexible&comma. you can now disable 788 788 or enable separate source files for each dll. … … 828 828 :h2 res=830.Email client support and further development 829 829 830 : font facename='Default' size=0x0.:p.In order to provide email support for a specific email830 :p.:font facename='Default' size=0x0.In order to provide email support for a specific email 831 831 program&comma. I need to know how to send emails by command line 832 832 with this program. … … 847 847 :h2 res=840.Standard form of a bug report 848 848 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 ---------------------- 850 850 851 851 Odin build information&colon. … … 892 892 :h2 res=850.Installation of OdinBug 893 893 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. 895 895 896 896 :p.VROBJ.DLL can be found in the directory x&colon.&bsl.IMAGES (x=CD-ROM drive) … … 941 941 :h2 res=860.Commandline options for OdinBug 942 942 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. 944 944 :ul. 945 945 :li.:font facename='Courier' size=12x6.&slr.InstallOnly:font facename='Default' size=0x0. (not case sensitive)&colon. … … 959 959 :h2 res=870.Contributors 960 960 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. 962 962 963 963 :p.Herwig Bauernfeind (:link reftype=fn refid=999.herwig.bauernfeind@aon.at:elink.) … … 981 981 :h2 res=880.Dedication 982 982 983 : font facename='Default' size=0x0.:p.This release is dedicated to the loving memory of my elder983 :p.:font facename='Default' size=0x0.This release is dedicated to the loving memory of my elder 984 984 brother Walter Bauernfeind&comma. who died from cancer on 985 985 06.01.2002. … … 991 991 992 992 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 software996 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.1000 993 :euserdoc. -
trunk/tools/OdinBug/OdinBug.RC
r8634 r9104 1 1 ICON 1 ODINBUG.ICO 2 2 BITMAP 2 ODIN.BMP 3 BITMAP 4 PAPER1.BMP 4 BITMAP 5 PAPER2.BMP 5 BITMAP 6 PAPER3.BMP 6 BITMAP 11 TAB11.BMP 7 BITMAP 12 TAB12.BMP 8 BITMAP 13 TAB13.BMP 9 BITMAP 14 TAB14.BMP 10 BITMAP 15 TAB15.BMP 11 BITMAP 16 TAB16.BMP 12 BITMAP 21 TAB21.BMP 13 BITMAP 22 TAB22.BMP 14 BITMAP 23 TAB23.BMP 15 BITMAP 24 TAB24.BMP 16 BITMAP 25 TAB25.BMP 17 BITMAP 26 TAB26.BMP 18 -
trunk/tools/OdinBug/OdinBug.VRP
r8634 r9104 6 6 RunParameters: 7 7 RunDirectory: 8 VRXWindow: __VREMainWindow,1, 527,1987,979,79959 VRXWindow: __VREFileListWindow,1, 542,10058,1912,335810 VRXWindow: __VRESectionListWindow,1,5 661,10058,4291,337311 VRXWindow: __VREToolsWindow,1, 527,60,4996,168112 VRXWindow: __VREWindListWindow,1, 2469,10058,3162,33738 VRXWindow: __VREMainWindow,1,1039,1987,994,7905 9 VRXWindow: __VREFileListWindow,1,602,10901,2665,3358 10 VRXWindow: __VRESectionListWindow,1,5977,10901,2650,3342 11 VRXWindow: __VREToolsWindow,1,2800,60,5505,1688 12 VRXWindow: __VREWindListWindow,1,3297,10901,2650,3150 13 13 UserFile: 1 14 14 UserWindow: OdinBugReport,1 15 UserWindow: Progress,1 15 16 UserWindow: AboutPage,1 -
trunk/tools/OdinBug/OdinBug.VRX
r8634 r9104 96 96 which display driver is installed 97 97 */ 98 FoundWin32KSysNow = 0 98 99 ConfigSys = SysBootDrive()'\CONFIG.SYS' 99 100 do while lines(ConfigSys) > 0 … … 133 134 call lineout(ConfigSys) 134 135 return 136 135 137 /*:VRX _AnalyseKernel32DLL 136 138 */ … … 186 188 187 189 ExceptFilename = filespec('D',LogFileName)||filespec('P',LogFileName)||'Except.$$$' 188 189 190 LogFileSize = stream(LogfileName,'c','QUERY SIZE') 190 191 ApproxLines = LogFileSize % 41 … … 235 236 call lineout(LogFileName) 236 237 return 238 237 239 /*:VRX _AnalyseOdinIni 238 240 */ … … 306 308 if pos('build',logline) > 0 then do 307 309 SddBuildNr = substr(LogLine,pos('build',logline),10) 310 IsSNAP = sign(Pos('SNAP',LogLine)) 308 311 end 309 312 end … … 313 316 License = linein(GraphicsLog) 314 317 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' 318 324 end 319 325 … … 349 355 sys_os2 = SysSearchPath('path', 'syslevel.os2') 350 356 sys_info = Charin(sys_os2, 1, 150) 351 Parse Var sys_info . 61 os_name 141 os_comp 150357 Parse Var sys_info . 53 os_type 61 os_name 141 os_comp 150 352 358 os_name = Strip(os_name, 't', '00'x) 359 os_type = Strip(os_type, 't', '_') 360 parse var os_type . 4 major 6 minor 353 361 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)" 355 363 select 356 364 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)" 363 376 otherwise do 364 377 end … … 366 379 ok = stream(sys_os2,'c','CLOSE') 367 380 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 368 391 /* get Kernel Version */ 369 392 BldInfo = 'BldInfo.TXT' … … 510 533 end 511 534 end 512 /* if UseRxNap then ok = RxNap(1) */513 535 return 514 536 … … 555 577 end 556 578 return AllowReport 557 /*:VRX _CheckInvalidreport 558 */ 559 _CheckInvalidreport: 579 580 /*:VRX _CheckInvalidReport 581 */ 582 _CheckInvalidReport: 560 583 Invalidreport = 0 561 584 InvalidReport = InvalidReport + (VRGet("EF_Build","value") = "") … … 627 650 end 628 651 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) */ 652 return 683 653 684 654 /*:VRX _CreateObject … … 889 859 890 860 Options Must Begin With A Slash '/' */ 861 891 862 /*:VRX _EMailPolarbar 892 863 */ … … 927 898 end 928 899 return 900 929 901 /*:VRX _FillPageException 930 902 */ … … 947 919 return 948 920 949 /*:VRX _GotNewLog fileName950 */ 951 _GotNewLog fileName:921 /*:VRX _GotNewLogFileName 922 */ 923 _GotNewLogFileName: 952 924 ok = VRSet("PB_CreateReport","Visible", 1) 953 925 ok = VRset("EF_LogFile","Value",LogFilename) … … 1050 1022 end 1051 1023 return 1024 1052 1025 /*:VRX _GUIInit 1053 1026 */ … … 1057 1030 else ok = VRSet("CB_WIN32LOG_ENABLED","set",0) 1058 1031 1059 ok = VRSet( " GB_Settings", "HintText", "Currently using "our_ini)1032 ok = VRSet( "Page_6", "HintText", "Currently using "our_ini) /* Settings page */ 1060 1033 ok = VRSet( "EF_BuildDir", "Value", BuildDir ) 1061 1034 ok = VRSet( "EF_TestAppDir", "Value", TestAppDir ) … … 1077 1050 1078 1051 /* enter help file */ 1079 ok = VRSet("OdinBugReport", "HelpFile", base_dir"OdinBug.HLP")1080 ok = VRSet("PageApplication", "HelpFile", base_dir"OdinBug.HLP") 1081 ok = VRSet("Page Odin", "HelpFile", base_dir"OdinBug.HLP")1082 ok = VRSet("Page System", "HelpFile", base_dir"OdinBug.HLP")1083 ok = VRSet("Page Settings", "HelpFile", base_dir"OdinBug.HLP")1084 ok = VRSet("Page EMail", "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 */ */ 1085 1058 return 1086 1059 … … 1131 1104 /*:VRX _INIRead 1132 1105 */ 1133 _INIRead: /* Initialize variables, read values from INI file */1106 _INIRead: 1134 1107 /* Show our window */ 1135 1108 if translate(VRGet("Application","Commandline")) <> '/INSTALLONLY' then do … … 1142 1115 ok = SysFileDelete('OdinBug.CFG') 1143 1116 1144 /* Disable obsolete RxNap support */1145 UseRxNap = 0 /* \RxFuncQuery(RxNap) */1146 1147 1117 /* Msg.Title = default title for message boxes */ 1148 1118 Msg.Title = 'Odin Bug Report Generator' 1149 1119 1150 /* Initialize variables - former undocumented cfg switches*/1120 /* Initialize variables */ 1151 1121 WarnOld = 10 /* days */ 1152 1122 TooOld = 20 /* days */ … … 1158 1128 ExceptionSearchDone = 0 1159 1129 DestroyWPS = 0 1130 ReplaceObjects = 0 1160 1131 1161 1132 /* for abbreviation purposes */ … … 1281 1252 /*:VRX _INIWrite 1282 1253 */ 1283 _INIWrite: /* Write settings to INI file */1254 _INIWrite: 1284 1255 ok = VRSetIni( "OdinBug", "BuildDir", BuildDir, our_ini, 'NoClose' ) 1285 1256 ok = VRSetIni( "OdinBug", "DontSaveAppDir", DontSaveAppDir, our_ini, 'NoClose' ) … … 1306 1277 ok = SysDestroyObject("<OdinBug>") 1307 1278 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' 1310 1282 1311 1283 rc1 = _CreateObject( 'WPFolder','Odin','<WP_PROGRAMSFOLDER>',, … … 1364 1336 'OBJECTID=<Subscribe_odinusers@yahoogroups>',, 1365 1337 CreateCollision ) 1366 rc6 = _CreateObject( 'WPProgram',' ProjectOdin User''s Manual','<ODINFOLDER>',,1338 rc6 = _CreateObject( 'WPProgram','Odin User''s Manual','<ODINFOLDER>',, 1367 1339 'EXENAME=VIEW.EXE;'||, 1368 1340 'PROGTYPE=PM;'||, 1369 1341 'PARAMETERS='||base_dir||'ODINUSER.INF Introduction;'||, 1370 'TITLE= Project Odin^User''s Manual;'||,1342 'TITLE=Odin User''s Manual;'||, 1371 1343 'NOPRINT=YES;'||, 1372 1344 'HIDEBUTTON=DEFAULT;'||, … … 1374 1346 'CCVIEW=DEFAULT;'||, 1375 1347 'DEFAULTVIEW=DEFAULT;'||, 1376 'OBJECTID=< Project_Odin_Users_Manual>',,1348 'OBJECTID=<Odin_Users_Manual>',, 1377 1349 CreateCollision ) 1378 1350 … … 1398 1370 end 1399 1371 return 1372 1400 1373 /*:VRX _LaunchPMMail 1401 1374 */ … … 1438 1411 when KeyStr = "{Alt}h" then call PB_Help_Click 1439 1412 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) 1440 1415 otherwise ok = VRSet(KeyObj, "KeyString", Keystr) 1441 1416 end 1442 1417 return 1443 1444 1418 /*:VRX _ShowMsg 1445 1419 */ … … 1461 1435 call _AnalyseWarpINdatabase 1462 1436 call _GUIRedraw 1463 if LogFileName = '' 1437 if LogFileName = '' | LogfileName = 'LOGFILENAME' 1464 1438 then call PB_SearchLogFile_Click 1465 1439 else call _GotNewLogfileName … … 1579 1553 return 1580 1554 1555 /*:VRX Activate 1556 */ 1557 Activate: 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 1576 return 1577 1581 1578 /*:VRX CB_AddException_Click 1582 1579 */ … … 1609 1606 return 1610 1607 1611 /*:VRX CB_ UseRxNap_Click1612 */ 1613 CB_ UseRxNap_Click:1614 UseRxNap then ok = VRGet("CB_UseRxNap","Set")1608 /*:VRX CB_ReplaceObjects_Click 1609 */ 1610 CB_ReplaceObjects_Click: 1611 ReplaceObjects = VRget("CB_replaceObjects","set") 1615 1612 return 1616 1613 … … 1734 1731 return 0 1735 1732 1733 /*:VRX GB_Main_ContextMenu 1734 */ 1735 GB_Main_ContextMenu: 1736 nop 1737 return 1738 1739 /*:VRX GetBootDrive 1740 */ 1741 GetBootDrive: 1742 /* Use SysBootDrive if possible */ 1743 If Rxfuncadd('SysBootDrive', 'RexxUtil', 'SysBootDrive') Then 1744 Return Left(Value('RUNWORKPLACE',,'OS2ENVIRONMENT'),2) 1745 Else 1746 Return SysBootDrive() 1747 1748 1736 1749 /*:VRX Halt 1737 1750 */ … … 1740 1753 return 1741 1754 1742 /*:VRX HelpWindow_Close1743 */1744 HelpWindow_Close:1745 call HelpWindow_Fini1746 return1747 1748 /*:VRX HelpWindow_Create1749 */1750 HelpWindow_Create:1751 call HelpWindow_Init1752 return1753 1754 /*:VRX HelpWindow_Fini1755 */1756 HelpWindow_Fini:1757 window = VRInfo( "Window" )1758 call VRDestroy window1759 drop window1760 return1761 /*:VRX HelpWindow_Init1762 */1763 HelpWindow_Init:1764 window = VRInfo( "Object" )1765 if( \VRIsChildOf( window, "Notebook" ) ) then do1766 /* call VRMethod window, "CenterWindow" */1767 call VRSet window, "Visible", 11768 call VRMethod window, "Activate"1769 end1770 drop window1771 return1772 1773 1755 /*:VRX Init 1774 1756 */ 1775 1757 Init: 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 1758 window = VRWindow() 1759 call VRMethod window, "CenterWindow" 1760 call VRSet window, "Visible", 0 1761 call VRMethod window, "Activate" 1762 drop window 1763 return 1764 1765 /*:VRX IPB_Paper_Click 1766 */ 1767 IPB_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) 1770 return 1771 1772 /*:VRX Menu_1_Click 1773 */ 1774 Menu_1_Click: 1775 call Activate 1 1776 return 1777 1778 /*:VRX Menu_2_Click 1779 */ 1780 Menu_2_Click: 1781 call Activate 2 1782 return 1783 1784 /*:VRX Menu_3_Click 1785 */ 1786 Menu_3_Click: 1787 call Activate 3 1788 return 1789 1790 /*:VRX Menu_4_Click 1791 */ 1792 Menu_4_Click: 1793 call Activate 4 1794 return 1795 1796 /*:VRX Menu_5_Click 1797 */ 1798 Menu_5_Click: 1799 call Activate 5 1800 return 1801 1802 /*:VRX Menu_6_Click 1803 */ 1804 Menu_6_Click: 1805 call Activate 6 1804 1806 return 1805 1807 … … 1818 1820 return 1819 1821 1822 /*:VRX OdinBugReport_ContextMenu 1823 */ 1824 OdinBugReport_ContextMenu: 1825 ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" ) 1826 return 1827 1820 1828 /*:VRX OdinBugReport_Create 1821 1829 */ … … 1823 1831 call _LoadOtherFuncs 1824 1832 window = VRLoadSecondary( "Progress" ) 1833 ok = VRMethod("PB_Exit","SetFocus") 1834 call PushbackAll 1835 call TAB_1_Click 1825 1836 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 1845 return 1846 1847 /*:VRX OdinBugReport_KeyPress 1848 */ 1849 OdinBugReport_KeyPress: 1850 call _ProcessHotKeys 1851 return 1852 1853 /*:VRX OdinBugReport_Resize 1854 */ 1855 OdinBugReport_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) 1889 return 1890 1891 /*:VRX Page1_Create 1892 */ 1893 Page1_Create: 1894 call Page1_Init /* Application */ 1838 1895 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" ) 1896 Return 1897 1898 /*:VRX Page1_Init 1899 */ 1900 Page1_Init: 1901 1902 return 1903 1904 /*:VRX Page2_Create 1905 */ 1906 Page2_create: 1907 1908 Return 1909 /*:VRX Page2_init 1910 */ 1911 Page2_init: 1912 1913 return 1914 1915 /*:VRX Page3_Create 1916 */ 1917 Page3_create: 1918 1919 Return 1920 /*:VRX Page3_Init 1921 */ 1922 Page3_Init: 1923 1924 return 1925 1926 /*:VRX Page4_Create 1927 */ 1928 Page4_Create: 1929 1930 Return 1931 /*:VRX Page4_init 1932 */ 1933 Page4_init: 1934 1935 return 1936 1937 /*:VRX Page5_Create 1938 */ 1939 Page5_Create: 1940 1941 return 1942 1943 /*:VRX Page6_Create 1944 */ 1945 Page6_Create: 1946 2049 1947 return 2050 1948 … … 2066 1964 'start "Browsing 'LogFileName'" /F 'LogFileBrowser' "'LogFileName'"' 2067 1965 return 1966 2068 1967 /*:VRX PB_CreateReport_Click 2069 1968 */ … … 2110 2009 call OdinBugReport_Close 2111 2010 return 2011 2112 2012 /*:VRX PB_Help_Click 2113 2013 */ … … 2116 2016 /* ok = SysSetObjectData(base_dir"OdinBug.HLP","OPEN=DEFAULT;PARAMETERS=Introduction") */ 2117 2017 return 2118 /*:VRX PB_Install1_Click 2119 */ 2120 PB_Install1_Click: 2121 call _InstallWPSObjects 2122 return 2018 2123 2019 /*:VRX PB_Install_Click 2124 2020 */ … … 2131 2027 ok = SysSetObjectData(RPTFileName,"OPEN=DEFAULT") 2132 2028 return 2029 2133 2030 /*:VRX PB_SaveSettings1_Click 2134 2031 */ … … 2205 2102 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." 2206 2103 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." 2208 2105 Lines.0 = 3 2209 2106 Buttons.1 = "OK" … … 2212 2109 return 2213 2110 2214 /*:VRX PB_UnInstall1_Click2215 */2216 PB_UnInstall1_Click:2217 call _UnInstallWPSObjects2218 return2219 2111 /*:VRX PB_UnInstall_Click 2220 2112 */ … … 2252 2144 end 2253 2145 drop window 2146 return 2147 2148 /*:VRX PushbackAll 2149 */ 2150 PushbackAll: 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 2254 2181 return 2255 2182 … … 2394 2321 return 2395 2322 2323 /*:VRX TAB_1_Click 2324 */ 2325 TAB_1_Click: 2326 call Activate 1 2327 return 2328 2329 /*:VRX TAB_1_ContextMenu 2330 */ 2331 TAB_1_ContextMenu: 2332 ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" ) 2333 return 2334 2335 /*:VRX TAB_2_Click 2336 */ 2337 TAB_2_Click: 2338 call Activate 2 2339 return 2340 2341 /*:VRX TAB_2_ContextMenu 2342 */ 2343 TAB_2_ContextMenu: 2344 ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" ) 2345 return 2346 2347 /*:VRX TAB_3_Click 2348 */ 2349 TAB_3_Click: 2350 call Activate 3 2351 return 2352 2353 /*:VRX TAB_3_ContextMenu 2354 */ 2355 TAB_3_ContextMenu: 2356 ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" ) 2357 return 2358 2359 /*:VRX TAB_4_Click 2360 */ 2361 TAB_4_Click: 2362 call Activate 4 2363 return 2364 2365 /*:VRX TAB_4_ContextMenu 2366 */ 2367 TAB_4_ContextMenu: 2368 ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" ) 2369 return 2370 2371 /*:VRX TAB_5_Click 2372 */ 2373 TAB_5_Click: 2374 call Activate 5 2375 return 2376 2377 /*:VRX TAB_5_ContextMenu 2378 */ 2379 TAB_5_ContextMenu: 2380 ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" ) 2381 return 2382 2383 /*:VRX TAB_6_Click 2384 */ 2385 TAB_6_Click: 2386 call Activate 6 2387 return 2388 2389 /*:VRX TAB_6_ContextMenu 2390 */ 2391 TAB_6_ContextMenu: 2392 ok = VRMethod( "Menu_TabMenu", "Popup", , , "", "" ) 2393 return 2394 2396 2395 /*:VRX TM_CheckValid_Trigger 2397 2396 */ -
trunk/tools/OdinBug/readme.source
r8634 r9104 1 Sourcecode for OdinBug 0.5. 51 Sourcecode for OdinBug 0.5.7 2 2 ============================ 3 3 … … 8 8 VX-REXX projects folder. 9 9 10 2. Unzip this OdinBugSrc05 5.ZIP in this folder.10 2. Unzip this OdinBugSrc057.ZIP in this folder. 11 11 12 12 3. Open OdinBug.VRP using VRXedit. … … 32 32 taken to syncronize these two (or three). Check for event 33 33 routines tied to the entryfields on the settings page and 34 for the subroutines _GUI nit, _GUIEMailInit, _GUIRedraw and34 for the subroutines _GUIInit, _GUIEMailInit, _GUIRedraw and 35 35 _GUIRedraw2 to get an idea how I do this. 36 36 … … 61 61 D. AUTHOR: 62 62 63 Herwig Bauernfeind, 02-12-200163 Herwig Bauernfeind, 11-08-2002 64 64 EMail: herwig.bauernfeind@aon.at
Note:
See TracChangeset
for help on using the changeset viewer.