Manpower

Check-in [c726dbf678]
Login

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

Overview
Comment:Update to version 6.3
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: c726dbf678676205bf3c44a295c2623e88f817bb
User & Date: kevin 2016-07-02 16:23:56
Context
2016-07-02
17:42
Update check-in: e6a44c8ae8 user: kevin tags: trunk
16:23
Update to version 6.3 check-in: c726dbf678 user: kevin tags: trunk
2015-08-30
03:13
Additional materials on MIT license check-in: 1c5998f30b user: kevin tags: trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Deleted libs/customfont1.0/libcustomfont1.0.dylib.

cannot compute difference between binary files

Deleted libs/customfont1.0/pkgIndex.tcl.

1
2
3
4
5
6
7
#
# Tcl package index file
#
package ifneeded customfont 1.0 "
    package require Tk 8.5-
    if {\"AppKit\" ni \[winfo server .\]} {error {TkAqua Cocoa required}}
        load [list ][file join $dir libcustomfont1.0.dylib] customfont"
<
<
<
<
<
<
<














Changes to libs/machelp/help.txt.

1
2
3
4
5
6
7
8
9
10
11
12
13

14
15
16
17
18
19
20
title: Manpower User Help
alias: TOC

 - [Introduction to Manpower]
 - [Installing Manpower]
 - [Browsing Man Pages with Manpower]
 - [Bookmarks]
 - [Scriptability and Services]
 - [Window Menu]
 - [Help]
 - [Preferences]
 - [Acknowledgments]
 - [Version History]


-------------------
title: Introduction to Manpower
alias: Introduction

Manpower is a Mac OS X graphical user interface to the main system of Unix software documentation, the man page. Man pages are concise but thorough descriptions of the functionality and methods of the various Unix command-line programs; there may be hundreds of such programs installed on a Unix or Linux system. Man pages are typically accessed in the Unix terminal by typing the phrase "man program," with "program" being the specific name of the Unix tool you are trying to learn more about.














>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
title: Manpower User Help
alias: TOC

 - [Introduction to Manpower]
 - [Installing Manpower]
 - [Browsing Man Pages with Manpower]
 - [Bookmarks]
 - [Scriptability and Services]
 - [Window Menu]
 - [Help]
 - [Preferences]
 - [Acknowledgments]
 - [Version History]
 - [License]

-------------------
title: Introduction to Manpower
alias: Introduction

Manpower is a Mac OS X graphical user interface to the main system of Unix software documentation, the man page. Man pages are concise but thorough descriptions of the functionality and methods of the various Unix command-line programs; there may be hundreds of such programs installed on a Unix or Linux system. Man pages are typically accessed in the Unix terminal by typing the phrase "man program," with "program" being the specific name of the Unix tool you are trying to learn more about.

219
220
221
222
223
224
225
















  * Window position now saved automatically when program closes.
  * New built-in helpviewer; avoids UI glitches of native Mac help viewer.
  * New graphics engine: improved UI appearance.
  * Adds standard Mac "window" menu to better fit in with system interface guidelines.

'''1.0 (May 19, 2008):'''
  * Initial commercial release.























>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
  * Window position now saved automatically when program closes.
  * New built-in helpviewer; avoids UI glitches of native Mac help viewer.
  * New graphics engine: improved UI appearance.
  * Adds standard Mac "window" menu to better fit in with system interface guidelines.

'''1.0 (May 19, 2008):'''
  * Initial commercial release.

-------------------
title: License
alias: License
 
'''The MIT License (MIT)'''

Manpower source code: [http://fossil.codebykevin.com/fossil.cgi/manpower/]

Copyright (c) 2016 WordTech Communications LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Changes to libs/manpower/manpower-main.tcl.

14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package require regproc
package require machelp
package require windowlist
package require appname
package require tclservices
package require cocoaprint
package require Tclapplescript
package require customfont
package require fullscreen
package require launcher
package require tooltip
package require aem
package require xplat

aem::installeventhandler CoKv sMan showManFromScript







<







14
15
16
17
18
19
20

21
22
23
24
25
26
27
package require regproc
package require machelp
package require windowlist
package require appname
package require tclservices
package require cocoaprint
package require Tclapplescript

package require fullscreen
package require launcher
package require tooltip
package require aem
package require xplat

aem::installeventhandler CoKv sMan showManFromScript
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
    global font_name
    global datadir

    set manitem ""
    set searchterm ""
    set manterm ""
    
    ::customfont::addcustomfont iconic_stroke.ttf ;#24.0
    ::fullscreen::fullscreen .

    #set up menu
    menu .mb

    #apple menu
    menu .mb.apple







<







108
109
110
111
112
113
114

115
116
117
118
119
120
121
    global font_name
    global datadir

    set manitem ""
    set searchterm ""
    set manterm ""
    

    ::fullscreen::fullscreen .

    #set up menu
    menu .mb

    #apple menu
    menu .mb.apple
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
    global appversion
    global datadir
    global rmanpath
    global cachedir
    global searchterm
    global mynode
    
    appname::setAppName Manpower 6.2


    set rmanpath [file join [file dirname [info script]] rman]

    
    #check for app support directory
    set appdir [file join $::env(HOME) "Library" "Application Support" "Manpower"]







|







1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
    global appversion
    global datadir
    global rmanpath
    global cachedir
    global searchterm
    global mynode
    
    appname::setAppName Manpower 6.3


    set rmanpath [file join [file dirname [info script]] rman]

    
    #check for app support directory
    set appdir [file join $::env(HOME) "Library" "Application Support" "Manpower"]
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
    $w.ftext.text tag bind url <ButtonPress-1> {
	launcher::launchurl "http://www.codebykevin.com/manpower.html"
    }

    
    $w.ftext.text insert end "Manpower $appname::version\n" "bold center"
    $w.ftext.text insert end "Manage Your Man Pages\n\n" center
    $w.ftext.text insert end "Copyright (c) 2015 WordTech Communications LLC\n\n" center
    $w.ftext.text insert end "http://www.codebykevin.com/manpower.html\n\n" "url center"
    $w.ftext.text insert end "See Acknowledgements in Manpower Help for additional credits and see History in Manpower Help for changes in this version" center
    
    $w.ftext.text config -state disabled

    bind $w <Command-W> [list wm withdraw $w]
    bind $w <Command-w> [list wm withdraw $w]







|







1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
    $w.ftext.text tag bind url <ButtonPress-1> {
	launcher::launchurl "http://www.codebykevin.com/manpower.html"
    }

    
    $w.ftext.text insert end "Manpower $appname::version\n" "bold center"
    $w.ftext.text insert end "Manage Your Man Pages\n\n" center
    $w.ftext.text insert end "Copyright (c) 2016 WordTech Communications LLC\n\n" center
    $w.ftext.text insert end "http://www.codebykevin.com/manpower.html\n\n" "url center"
    $w.ftext.text insert end "See Acknowledgements in Manpower Help for additional credits and see History in Manpower Help for changes in this version" center
    
    $w.ftext.text config -state disabled

    bind $w <Command-W> [list wm withdraw $w]
    bind $w <Command-w> [list wm withdraw $w]