QuickWho

Check-in [327c2ce2e1]
Login

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

Overview
Comment:Tweaks
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 327c2ce2e1361aeb00fda68a7c320879e7558f20
User & Date: kevin 2020-02-22 18:57:54
Context
2020-02-23
03:25
More work on Windows build check-in: b680e2f7a7 user: kevin tags: trunk
2020-02-22
18:57
Tweaks check-in: 327c2ce2e1 user: kevin tags: trunk
2020-02-21
13:51
Add Windows help: check-in: 278f231001 user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to build.bat.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
SET COPYCMD=/Y


set pythondir="C:\Users\kevin\AppData\Local\Programs\Python\Python35"

if exist dist\ (
rd dist\ /s /q
)

if exist QuickWho.exe (
del QuickWho.exe
)

call windres icons.rc -o coff -o icons.o
call windres versioninfo.rc -o coff -o versioninfo.o
call buildexe %pythondir%

call xcopy %pythondir% dist\QuickWho /s /i /y

call xcopy scriptlibs dist\QuickWho\tcl\tk8.6  /s /i /y
call xcopy winlibs dist\QuickWho\tcl\tk8.6  /s /i /y
::call xcopy msgcat dist\QuickWho\tcl /s /i /y
call xcopy  C:\Strawberry\c\bin\*.dll dist\QuickWho\
call xcopy "C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64\*.dll" dist\QuickWho\
call xcopy QuickWho.exe dist\QuickWho\
call xcopy QuickWho.py dist\QuickWho\
call xcopy ToolTip.py dist\QuickWho\

rd C:\Users\kevin\Desktop\quickwho\dist\QuickWho\Doc\ /s /q
rd C:\Users\kevin\Desktop\quickwho\dist\QuickWho\Scripts\ /s /q 
rd C:\Users\kevin\Desktop\quickwho\dist\QuickWho\Tools\ /s /q






<
<
|
|


<
<
<
|
<
<
<

<
|
<
<
<
<
<
|
<
|
|
<
<
<
|


1
2
3


4
5
6
7



8



9

10





11

12
13



14
15
16
SET COPYCMD=/Y




if exist build\ (
rd build\ /s /q
)




call python seup.py build





call xcopy uninstall.bat build\





call xcopy textsweep.ico build\

call xcopy C:\Users\Kevin\Desktop\pathed.exe build\
call xcopy C:\Users\Kevin\Desktop\DDECmd.exe build\bin\



call xcopy quickwho-cli.bat build\bin\


Deleted buildexe.bat.

1
gcc  icons.o versioninfo.o quickwho.c -I %1\include -L%1\libs -L%1\DLLs -lShlwapi -lpython35 -mwindows -o QuickWho.exe
<


Deleted icons.rc.

1
APPICONS ICON "quickwho.ico"
<


Deleted launcher.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

name=`basename "$0"`
tmp="$0"
tmp=`dirname "$tmp"`
tmp=`dirname "$tmp"`
bundle=`dirname "$tmp"`
bundle_contents="$bundle"/Contents
bundle_res="$bundle_contents"/Resources
bundle_frameworks="$bundle_contents"/Frameworks
python="$bundle_res"/QuickWho
main_script="$bundle_res"/QuickWho.py

export DYLD_LIBRARY_PATH="$bundle_frameworks"
export DYLD_FRAMEWORK_PATH="$bundle_frameworks"


exec "$python" "$@" $main_script
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<




































Deleted main.m.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>
#import <stdlib.h>
#import <stdio.h>
#import <unistd.h>
#import <sys/wait.h>

int main (int argc, const char * argv[]) {

 
  NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

  NSString *launchpath = [[NSBundle mainBundle] pathForResource:@"launcher" ofType:nil];

  char cmd[50000];

  [launchpath getCString:cmd maxLength:(sizeof cmd) encoding:NSUTF8StringEncoding];

  system(cmd);

  [pool release];

  
}
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
















































Added quickwho-cli.bat.





























>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
:::quickwho-cli   -- batch interface to QuickWho. © 2020 Kevin Walzer/WordTech Communications LLC.
 
::check to see if QuickWho is running
 
call ddecmd servers | findstr "QuickWho"
If %ERRORLEVEL% EQU 1  start QuickWho.exe
::check to see if run with or without args
 
if "%~1"=="" (
  exit
) else (
timeout 5
call ddecmd execute --server TclEval --topic QuickWho --command "getDomain %1"
)

Added scriptlibs/machelp/QuickWho User Help.mht.

more than 10,000 changes

Deleted scriptlibs/machelp/TextSweep User Help.mht.

more than 10,000 changes

Deleted versioninfo.rc.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
1 VERSIONINFO
FILEVERSION 6, 4, 0, 0
PRODUCTVERSION 6, 4, 0, 0
FILEOS 4
FILETYPE 1
{
    BLOCK "StringFileInfo" {
        BLOCK "040904E4" {
            VALUE "FileDescription", "Internet domain information, with style"
            VALUE "OriginalFilename", "QuickWho"
            VALUE "CompanyName", "WordTech Communications LLC"
            VALUE "FileVersion", "6.4.0"
            VALUE "LegalCopyright", "(c) 2018 WordTech Communications LLC"
            VALUE "ProductName", "QuickWho"
            VALUE "ProductVersion", "6.4.0"
        }
    }
    BLOCK "VarFileInfo" {
        VALUE "Translation", 0x409, 1252
    }
}
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<
<