Skip to content

Commit eff0f1b

Browse files
Nick Ing-Simmonseserte
authored andcommitted
import Tk 804.025_beta16 from CPAN
git-cpan-module: Tk git-cpan-version: 804.025_beta16 git-cpan-authorid: NI-S git-cpan-file: authors/id/N/NI/NI-S/Tk-804.025_beta16.tar.gz
1 parent b063b87 commit eff0f1b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+549
-131
lines changed

Change.log

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,58 @@
1+
Change 3173 on 2004/03/07 by nick@llama
2+
3+
Work round LVs (e.g. substr) not upgrading to UTF-8
4+
when asked. (https://rt.cpan.org/Ticket/Display.html?id=5529)
5+
6+
Change 3172 on 2004/03/07 by nick@llama
7+
8+
fileevent fix for socket with autoflush
9+
from [email protected] (which long been sitting in RT queue)
10+
11+
Change 3171 on 2004/03/06 by nick@llama
12+
13+
Remove some gcc-isms from PNG/libpng makefile.solaris
14+
Based on mail from Mun Johl <[email protected]>
15+
16+
Change 3170 on 2004/03/06 by nick@camel
17+
18+
Allow for possible skipped tearoff entry in a menubar
19+
menu when computing index for active element
20+
for <<MenuSelect>> etc.
21+
22+
Change 3169 on 2004/03/06 by nick@llama
23+
24+
Steve's patch to TIEHANDLE docs in Text.
25+
26+
Change 3168 on 2004/03/06 by nick@llama
27+
28+
HPUX/IA64 fix for libpng from
29+
"SEIP,CHRISTOPHER (HP-Roseville,ex1)" <[email protected]>
30+
31+
Change 3167 on 2004/03/06 by nick@llama
32+
33+
Steve's patch to make listbox demos take focus.
34+
35+
Change 3166 on 2004/02/29 by nick@llama
36+
37+
VTABLE cleanup load side
38+
39+
Change 3165 on 2004/02/29 by nick@llama
40+
41+
A little more protection on loading
42+
wrong vtables.
43+
44+
Change 3164 on 2004/02/29 by nick@llama
45+
46+
tkImgGIF does not need vtables
47+
48+
Change 3163 on 2004/02/29 by nick@llama
49+
50+
AIX PNG patch
51+
52+
Change 3162 on 2004/02/28 by nick@llama
53+
54+
Tk-804.025_beta15 Release Preparation
55+
156
Change 3161 on 2004/02/28 by nick@llama
257

358
Fix my e-mail address in a few spots

Compound/Compound.xs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
#include "pTk/tkVMacro.h"
2020

2121
DECLARE_VTABLES;
22-
TixVtab *TixVptr ;
23-
TixintVtab *TixintVptr ;
22+
DECLARE_TIX;
2423

2524
extern Tk_ImageType tixCompoundImageType;
2625

@@ -33,7 +32,6 @@ PROTOTYPES: DISABLE
3332
BOOT:
3433
{
3534
IMPORT_VTABLES;
36-
TixVptr = INT2PTR(TixVtab *, SvIV(perl_get_sv("Tk::TixVtab",5)));
37-
TixintVptr = INT2PTR(TixintVtab *, SvIV(perl_get_sv("Tk::TixintVtab",5)));
35+
IMPORT_TIX;
3836
Tk_CreateImageType(&tixCompoundImageType);
3937
}

Event/Event.xs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ PerlIOHandler *filePtr;
472472
IO *tmpio = GvIOp(filePtr->untied);
473473
IoIFP(tmpio) = IoIFP(filePtr->io);
474474
IoOFP(tmpio) = IoOFP(filePtr->io);
475+
IoFLAGS(tmpio) = IoFLAGS(filePtr->io);
475476
return newRV((SV *) filePtr->untied);
476477
}
477478
return &PL_sv_undef;

HList/HList.xs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020

2121

2222
DECLARE_VTABLES;
23-
TixVtab *TixVptr ;
24-
TixintVtab *TixintVptr ;
23+
DECLARE_TIX;
2524

2625
MODULE = Tk::HList PACKAGE = Tk
2726

@@ -37,6 +36,5 @@ CODE:
3736
BOOT:
3837
{
3938
IMPORT_VTABLES;
40-
TixVptr = INT2PTR(TixVtab *, SvIV(perl_get_sv("Tk::TixVtab",5)));
41-
TixintVptr = INT2PTR(TixintVtab *, SvIV(perl_get_sv("Tk::TixintVtab",5)));
39+
IMPORT_TIX;
4240
}

IO/IO.xs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
#include "tkGlue.h"
2121
#include "tkGlue.m"
2222

23-
TkeventVtab *TkeventVptr;
24-
23+
DECLARE_EVENT;
2524

2625
#define InputStream PerlIO *
2726
#define OutputStream PerlIO *
@@ -291,5 +290,5 @@ InputStream f
291290

292291
BOOT:
293292
{
294-
TkeventVptr = INT2PTR(TkeventVtab *, SvIV(perl_get_sv("Tk::TkeventVtab",GV_ADDWARN|GV_ADD)));
293+
IMPORT_EVENT;
295294
}

InputO/InputO.xs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020

2121

2222
DECLARE_VTABLES;
23-
TixVtab *TixVptr ;
24-
TixintVtab *TixintVptr ;
23+
DECLARE_TIX;
2524

2625
MODULE = Tk::InputO PACKAGE = Tk
2726

@@ -37,6 +36,5 @@ CODE:
3736
BOOT:
3837
{
3938
IMPORT_VTABLES;
40-
TixVptr = INT2PTR(TixVtab *, SvIV(perl_get_sv("Tk::TixVtab",5)));
41-
TixintVptr = INT2PTR(TixintVtab *, SvIV(perl_get_sv("Tk::TixintVtab",5)));
39+
IMPORT_TIX;
4240
}

JPEG/JPEG.xs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
extern Tk_PhotoImageFormat imgFmtJPEG;
2424

2525
DECLARE_VTABLES;
26-
TkimgphotoVtab *TkimgphotoVptr;
27-
ImgintVtab *ImgintVptr;
26+
DECLARE_PHOTO;
2827

2928
MODULE = Tk::JPEG PACKAGE = Tk::JPEG
3029

@@ -33,7 +32,6 @@ PROTOTYPES: DISABLE
3332
BOOT:
3433
{
3534
IMPORT_VTABLES;
36-
TkimgphotoVptr = (TkimgphotoVtab *) SvIV(FindTkVarName("TkimgphotoVtab",5)); \
37-
ImgintVptr = (ImgintVtab *) SvIV(FindTkVarName("ImgintVtab",5)); \
35+
IMPORT_PHOTO;
3836
Tk_CreatePhotoImageFormat(&imgFmtJPEG);
3937
}

MANIFEST

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,7 @@ PNG/libpng/scripts/makefile.gcc
658658
PNG/libpng/scripts/makefile.gcmmx
659659
PNG/libpng/scripts/makefile.hpgcc
660660
PNG/libpng/scripts/makefile.hpux
661+
PNG/libpng/scripts/makefile.hpux.ia64
661662
PNG/libpng/scripts/makefile.ibmc
662663
PNG/libpng/scripts/makefile.intel
663664
PNG/libpng/scripts/makefile.knr

Mwm/Mwm.xs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121

2222

2323
DECLARE_VTABLES;
24-
TixVtab *TixVptr ;
25-
TixintVtab *TixintVptr ;
24+
DECLARE_TIX;
2625

2726

2827
MODULE = Tk::Mwm PACKAGE = Tk::Mwm
@@ -32,8 +31,7 @@ PROTOTYPES: DISABLE
3231
BOOT:
3332
{
3433
IMPORT_VTABLES;
35-
TixVptr = INT2PTR(TixVtab *, SvIV(perl_get_sv("Tk::TixVtab",5)));
36-
TixintVptr = INT2PTR(TixintVtab *, SvIV(perl_get_sv("Tk::TixintVtab",5)));
34+
IMPORT_TIX;
3735
/* Initialize the display item types */
3836
#if !defined(__WIN32__) && !defined(__PM__)
3937
Lang_TkSubCommand("mwm",Tix_MwmCmd);

NBFrame/NBFrame.xs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020

2121

2222
DECLARE_VTABLES;
23-
TixVtab *TixVptr ;
24-
TixintVtab *TixintVptr ;
23+
DECLARE_TIX;
2524

2625
MODULE = Tk::NBFrame PACKAGE = Tk
2726

@@ -34,10 +33,8 @@ CODE:
3433
TKXSRETURN(XSTkCommand(cv,1,Tix_NoteBookFrameCmd,items,&ST(0)));
3534
}
3635

37-
3836
BOOT:
3937
{
4038
IMPORT_VTABLES;
41-
TixVptr = INT2PTR(TixVtab *, SvIV(perl_get_sv("Tk::TixVtab",5)));
42-
TixintVptr = INT2PTR(TixintVtab *, SvIV(perl_get_sv("Tk::TixintVtab",5)));
39+
IMPORT_TIX;
4340
}

0 commit comments

Comments
 (0)