Changeset 92


Ignore:
Timestamp:
Mar 3, 2007, 8:16:21 PM (18 years ago)
Author:
RBRi
Message:

again small refactoring

Location:
trunk/NewView
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/NewView/MainForm.pas

    r82 r92  
    54735473  else if StrLeft( LinkString, 3 ) = 'url' then
    54745474  begin
    5475     URL := StrRightFrom( LinkString, 5 );
    5476     LaunchURL( URL );
    5477     SetStatus( 'Opened '
    5478                + URL );
     5475    URL := StrRightFrom(LinkString, 5);
     5476
     5477    try
     5478      LaunchURL(URL);
     5479    except
     5480      on E:Exception do
     5481      begin
     5482        DoErrorDlg('Error', E.Message);
     5483      end;
     5484      else raise;
     5485    end;
     5486
     5487    SetStatus('Opened ' + URL );
    54795488  end
    54805489  else if StrLeft( LinkString, 8 ) = 'external' then
  • trunk/NewView/NewView.spr

    r89 r92  
    170170[Find History]
    171171
    172 Find0=language
    173 Find1=SelectDrivesButton
    174 Find2=ResultsOutline
    175 Find3=ACL
    176 Find4=ACLFileUtility
    177 Find5=Cmdl
    178 Find6=forms
    179 Find7='NEWVIEW_DEBUG'
    180 Find8=StrExtractStrings
    181 Find9=extract
    182 Find10=Unit
    183 Find11=TopicByResourceIDMI
    184 Find12=DebugTopicByResourceIDMI
    185 Find13=DebugTopic
    186 Find14=Debug
    187 Find15=ResourceID
     172Find0=Web
     173Find1=LaunchURL
     174Find2=WebBrowser
     175Find3=WebBrowserUnit
     176Find4=language
     177Find5=SelectDrivesButton
     178Find6=ResultsOutline
     179Find7=ACL
     180Find8=ACLFileUtility
     181Find9=Cmdl
     182Find10=forms
     183Find11='NEWVIEW_DEBUG'
     184Find12=StrExtractStrings
     185Find13=extract
     186Find14=Unit
     187Find15=TopicByResourceIDMI
    188188
    189189[General]
    190190
    191191Version=Sibyl Project Ver2.02
    192 ProjectName=P:\NEWVIEW_DEV\NEWVIEW\NewView.spr
     192ProjectName=P:\NEWVIEW_DEV\NewView\NewView.spr
    193193ProjectType=Visual
    194194CompLibName=D:\progs\Sibyl\Bin\CompLib.dll
     
    215215File0.Width=1306
    216216File0.Height=548
    217 File0.Column=1
    218 File0.Line=70
     217File0.Column=75
     218File0.Line=5463
    219219File1=.\StringUtilsUnit.pas
    220220File1.Left=-4
     
    271271File8.Width=1306
    272272File8.Height=548
    273 File8.Column=116
    274 File8.Line=579
     273File8.Column=1
     274File8.Line=1
     275File9=.\WebBrowserUnit.pas
     276File9.Left=-4
     277File9.Bottom=-5
     278File9.Width=1306
     279File9.Height=548
     280File9.Column=1
     281File9.Line=20
    275282
    276283[Linker Options]
     
    290297[Project Files]
    291298
    292 Primary=.\NewView.pas
     299Primary=
    293300MainFile0=.\NewView.pas
    294301MainFile0.Ext=.EXE
     
    414421MainFile0.Dependency88=.\OPTIONSFORM.PAS
    415422MainFile0.Dependency89=.\VERSIONUNIT.PAS
    416 MainFile0.Dependency90=..\.\components\WEBBROWSERUNIT.PAS
     423MainFile0.Dependency90=.\WEBBROWSERUNIT.PAS
    417424MainFile0.Dependency91=.\PRODUCTINFORMATIONFORMUNIT.PAS
    418425MainFile0.Dependency92=.\NOTEFORM.PAS
  • trunk/NewView/unittests/newviewtests.spr

    r89 r92  
    3434File23=STRINGUTILSUNITTESTS
    3535File24=FILEUTILSUNITTESTS
    36 File25=HELPTOPICTESTS
     36File25=PMSTDDLG
     37File26=PMHELP
     38File27=MESSAGES
     39File28=FORMS
     40File29=RUNPROGRAMUNIT
     41File30=WEBBROWSERUNIT
     42File31=HELPTOPICTESTS
    3743
    3844[Compiler Options]
     
    6066[Directories]
    6167
    62 LastDir=P:\NEWVIEW_DEV\NEWVIEW
     68LastDir=P:\NEWVIEW_DEV\COMPONENTS
    6369OutDir=P:\NEWVIEW_DEV\build\unittest
    64 LibDir=P:\NEWVIEW_DEV\build\library;P:\NEWVIEW_DEV\build\sibyl\lib
     70LibDir=P:\NEWVIEW_DEV\build\library;P:\NEWVIEW_DEV\Components;P:\NEWVIEW_DEV\build\sibyl\lib
    6571LibSrcDir=P:\NEWVIEW_DEV\NEWVIEW;D:\PROGS\SIBYL\Source\RTL;D:\PROGS\SIBYL\Source\SPCC
    6672IncSrcDir=
     
    6975[Find History]
    7076
    71 Find0=testListFilesInDirectory_ManyFiles
    72 Find1=testAddDirectorySeparator_ManyChars
    73 Find2=Listfile
    74 Find3=list
    75 Find4=DirectoryExists
    76 Find5=false
    77 Find6=RemoveRightDirectorySeparator
    78 Find7=bbb
    79 Find8=testRemoveRightDirectorySeparator_Empty
    80 Find9=DirectoryEx
    81 Find10=directory
    82 Find11=result.add(@
    83 Find12=testExpandPath_RootDirForDrive
    84 Find13=testExpandPath_DriveWithoutSlash
    85 Find14=abc
    86 Find15=parentdir
     77Find0=trow
     78Find1=RunProgramUnit
     79Find2=ExtractFilePath
     80Find3=SearchPath
     81Find4=testListFilesInDirectory_ManyFiles
     82Find5=testAddDirectorySeparator_ManyChars
     83Find6=Listfile
     84Find7=list
     85Find8=DirectoryExists
     86Find9=false
     87Find10=RemoveRightDirectorySeparator
     88Find11=bbb
     89Find12=testRemoveRightDirectorySeparator_Empty
     90Find13=DirectoryEx
     91Find14=directory
     92Find15=result.add(@
    8793
    8894[General]
     
    100106[Last Closed Files]
    101107
    102 File0=..\..\.\Library\ACLFindFunctions.pas
    103 File1=.\testassert.pas
    104 File2=.\CmdLineParameterUnitTests.pas
    105 File3=..\.\CmdLineParameterUnit.pas
    106 File4=..\..\.\Library\ACLFileIOUtility.pas
    107 File5=D:\PROGS\SIBYL\SOURCE\RTL\SYSTEM.PAS
     108File0=..\..\.\COMPONENTS\DialogIcons.rc
     109File1=..\..\.\Components\ACLMessageForm.pas
     110File2=..\..\.\Components\ACLDialogs.pas
     111File3=..\..\.\Library\ACLFindFunctions.pas
     112File4=.\testassert.pas
     113File5=..\..\.\Library\ACLFileIOUtility.pas
    108114
    109115[Last Open Files]
     
    114120File0.Width=1306
    115121File0.Height=548
    116 File0.Column=43
    117 File0.Line=55
     122File0.Column=18
     123File0.Line=10
    118124File1=..\.\StringUtilsUnit.pas
    119125File1.Left=-4
     
    121127File1.Width=1306
    122128File1.Height=548
    123 File1.Column=43
    124 File1.Line=121
     129File1.Column=1
     130File1.Line=233
    125131File2=.\StringUtilsUnitTests.pas
    126132File2.Left=-4
     
    142148File4.Width=1306
    143149File4.Height=548
    144 File4.Column=39
    145 File4.Line=421
     150File4.Column=25
     151File4.Line=38
    146152File5=..\..\.\Library\ACLFileUtility.pas
    147153File5.Left=-4
     
    149155File5.Width=1306
    150156File5.Height=548
    151 File5.Column=1
    152 File5.Line=207
     157File5.Column=24
     158File5.Line=1005
    153159File6=..\.\DebugUnit.pas
    154160File6.Left=-4
     
    158164File6.Column=68
    159165File6.Line=29
     166File7=.\CmdLineParameterUnitTests.pas
     167File7.Left=-4
     168File7.Bottom=-5
     169File7.Width=1306
     170File7.Height=548
     171File7.Column=29
     172File7.Line=1
     173File8=..\.\CmdLineParameterUnit.pas
     174File8.Left=-4
     175File8.Bottom=-5
     176File8.Width=1306
     177File8.Height=548
     178File8.Column=1
     179File8.Line=1
     180File9=..\.\WebBrowserUnit.pas
     181File9.Left=-4
     182File9.Bottom=-5
     183File9.Width=1306
     184File9.Height=548
     185File9.Column=13
     186File9.Line=1
    160187
    161188[Linker Options]
     
    178205MainFile0=.\NewViewTests.pas
    179206MainFile0.Ext=.EXE
    180 MainFile0.Checksum=6912
     207MainFile0.Checksum=8448
    181208MainFile0.Expanded=False
    182209MainFile0.File0=.\StringUtilsUnitTests.pas
     
    209236MainFile0.Dependency22=.\STRINGUTILSUNITTESTS.PAS
    210237MainFile0.Dependency23=.\FILEUTILSUNITTESTS.PAS
    211 MainFile0.Dependency24=.\HELPTOPICTESTS.PAS
     238MainFile0.Dependency24=D:\PROGS\SIBYL\Source\RTL\PMSTDDLG.PAS
     239MainFile0.Dependency25=D:\PROGS\SIBYL\Source\RTL\PMHELP.PAS
     240MainFile0.Dependency26=D:\PROGS\SIBYL\Source\SPCC\MESSAGES.PAS
     241MainFile0.Dependency27=D:\PROGS\SIBYL\Source\SPCC\FORMS.PAS
     242MainFile0.Dependency28=..\.\WEBBROWSERUNIT.PAS
     243MainFile0.Dependency29=.\HELPTOPICTESTS.PAS
    212244
    213245[Replace History]
Note: See TracChangeset for help on using the changeset viewer.