Stringscan

Check-in [7da71d67c6]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Tweaks for Windows build
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:7da71d67c66d6aa56276fc3915ab998ca6046243eeaa8e334687545a640e684a
User & Date: kevin 2020-05-11 01:44:49
Context
2020-05-12
23:56
Update user help check-in: f896605cb6 user: kevin tags: trunk
2020-05-11
01:44
Tweaks for Windows build check-in: 7da71d67c6 user: kevin tags: trunk
2020-05-09
19:06
More work on Windows check-in: 224e27ac1f user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to buildexe.bat.

1
2

call %1\gcc  icons.o versioninfo.o stringscan.c -m64 -I%2\include\ruby-2.3.0\x64-mingw32 -I%2\include -I%2\include\ruby-2.3.0 -L%2\lib -L%2\bin -L%2%\lib\libx64-msvcrt-ruby230-dll.a -llibx64-msvcrt-ruby230 -lShlwapi -mwindows -o Stringscan.exe
 

<
|
>

1
2


 ocra stringscan.rb lib/**/* --no-autoload --gem-full=tk --debug-extract  --dll tcl86.dll --dll tk86.dll --no-enc --add-all-core 

Changes to stringscan.rb.

349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
            $root.protocol(:WM_DELETE_WINDOW){
          $root['state'] = 'withdrawn'
        }
        $root.bind("#{$accelkey}-W", proc{$root['state'] = 'withdrawn'})
        $root.bind("#{$accelkey}-w", proc{$root['state'] = 'withdrawn'})
        $root.bind( '<LightAqua>', proc{Tk.tk_call('darkaqua::changeImagesLight')})
        $root.bind( '<DarkAqua>', proc{Tk.tk_call('darkaqua::changeImagesDark')}) 
	Tk.tk_call('darkaqua::checkDarkMode')
      end
    $root.bind("#{$accelkey}-Q", proc{shutdown})
    $root.bind("#{$accelkey}-q", proc{shutdown})
    $root.bind("#{$accelkey}-O", proc{choosedir})
    $root.bind("#{$accelkey}-o", proc{choosedir})
    $root.bind("#{$accelkey}-R", proc{stringgrep})
    $root.bind("#{$accelkey}-r", proc{stringgrep})







|







349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
            $root.protocol(:WM_DELETE_WINDOW){
          $root['state'] = 'withdrawn'
        }
        $root.bind("#{$accelkey}-W", proc{$root['state'] = 'withdrawn'})
        $root.bind("#{$accelkey}-w", proc{$root['state'] = 'withdrawn'})
        $root.bind( '<LightAqua>', proc{Tk.tk_call('darkaqua::changeImagesLight')})
        $root.bind( '<DarkAqua>', proc{Tk.tk_call('darkaqua::changeImagesDark')}) 
		Tk.tk_call('darkaqua::checkDarkMode')
      end
    $root.bind("#{$accelkey}-Q", proc{shutdown})
    $root.bind("#{$accelkey}-q", proc{shutdown})
    $root.bind("#{$accelkey}-O", proc{choosedir})
    $root.bind("#{$accelkey}-o", proc{choosedir})
    $root.bind("#{$accelkey}-R", proc{stringgrep})
    $root.bind("#{$accelkey}-r", proc{stringgrep})