Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
The Start of Tcl 9
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 42 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Donal K. Fellows  
View profile  
 More options Nov 15 2012, 1:07 pm
Newsgroups: comp.lang.tcl
From: "Donal K. Fellows" <donal.k.fell...@manchester.ac.uk>
Date: Thu, 15 Nov 2012 12:07:03 -0600
Local: Thurs, Nov 15 2012 1:07 pm
Subject: The Start of Tcl 9
The Tcl Core Team is pleased to say that development has started on Tcl
9.0, where we will be trying to take a more radical approach to cleaning
up our code in order to enable improved long-term code health. Our aims
are to minimize the amount of breakage at the Tcl level (unless we've
got a *really good* reason otherwise); the C level will have rather more
changes with an aim to support such things as support for much larger
data and much greater performance.

We've started a branch in our fossil repository at:

   https://core.tcl.tk/tcl/timeline?r=novem

Follow along — or help! — but be aware that we've only just started on
this and there is a fair old way to go.

(Also, watch out for coming releases of 8.6.0 and 8.4.20 in the not too
distant future. We'll be progressing those in parallel; we don't
anticipate the effort for 9.0 from detracting from those in any way.)

Donal Fellows (for the TCT).


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Walzer  
View profile  
 More options Nov 15 2012, 5:31 pm
Newsgroups: comp.lang.tcl
From: Kevin Walzer <k...@codebykevin.com>
Date: Thu, 15 Nov 2012 17:31:37 -0500
Local: Thurs, Nov 15 2012 5:31 pm
Subject: Re: The Start of Tcl 9
On 11/15/12 1:07 PM, Donal K. Fellows wrote:

> The Tcl Core Team is pleased to say that development has started on Tcl
> 9.0, where we will be trying to take a more radical approach to cleaning
> up our code in order to enable improved long-term code health. Our aims
> are to minimize the amount of breakage at the Tcl level (unless we've
> got a *really good* reason otherwise); the C level will have rather more
> changes with an aim to support such things as support for much larger
> data and much greater performance.

Do you envision Tcl 9 following the direction of Python 3, or Perl 6?

--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe English  
View profile  
 More options Nov 16 2012, 12:20 am
Newsgroups: comp.lang.tcl
From: Joe English <jengl...@fdip.bad-monkeys.org>
Date: 16 Nov 2012 05:19:35 GMT
Local: Fri, Nov 16 2012 12:19 am
Subject: Re: The Start of Tcl 9
Kevin Walzer asked:

> Donal K. Fellows wrote:
>> The Tcl Core Team is pleased to say that development has started on Tcl
>> 9.0, where we will be trying to take a more radical approach to cleaning
>> up our code in order to enable improved long-term code health. Our aims
>> are to minimize the amount of breakage at the Tcl level (unless we've
>> got a *really good* reason otherwise); the C level will have rather more
>> changes with an aim to support such things as support for much larger
>> data and much greater performance.

> Do you envision Tcl 9 following the direction of Python 3, or Perl 6?

I'll just echo what Donal said: I envision that the impact to
existing Tcl scripts will be kept to a minimum.  Compatibility
is still an important factor; it's just that with Tcl 9 it will
no longer be the *most* important factor.

If a change would fix more new code than it would break old,
then the default decision will now be to make the change.
(In the 8.* series, the default decision was to keep things
the same.)  Hence: no more octal integer literals, no more
creative writing, and in general no more preservation of
longstanding bugs out of fear that it might break somebody's
decades-old unmaintained codebase.

On the C side, there will probably be bigger changes.  I would
not expect 1995-era extensions to continue to work under Tcl 9
without modification.  (However, compatibility is important
here, too, and I don't anticipate any major breakage to the C
API that we won't have been warned about.)

--Joe English


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Georgios Petasis  
View profile  
 More options Nov 16 2012, 2:46 am
Newsgroups: comp.lang.tcl
From: Georgios Petasis <peta...@iit.demokritos.gr>
Date: Fri, 16 Nov 2012 09:46:18 +0200
Local: Fri, Nov 16 2012 2:46 am
Subject: Re: The Start of Tcl 9
Στις 15/11/2012 20:07, ο/η Donal K. Fellows έγραψε:

It would be nice if we could enhance Tk a bit.
(Is it a good idea to use cairo in Tk?)
And perhaps look again the threads issue... :-)

George


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Donal K. Fellows  
View profile  
 More options Nov 16 2012, 7:55 am
Newsgroups: comp.lang.tcl
From: "Donal K. Fellows" <donal.k.fell...@manchester.ac.uk>
Date: Fri, 16 Nov 2012 06:55:00 -0600
Subject: Re: The Start of Tcl 9
On 16/11/2012 01:46, Georgios Petasis wrote:

> It would be nice if we could enhance Tk a bit.
> (Is it a good idea to use cairo in Tk?)
> And perhaps look again the threads issue... :-)

Improvements to the rendering engine would definitely be welcome, as
would reconsidering the nature of what a "widget" actually is in the
face of handheld touch-sensitive devices, but my time is mostly going to
be spent on Tcl. (The really big effort will be going into getting us
out of the performance rut that we've got stuck in, and that's going to
keep me very busy for a while.)

We can start a 'novem' branch for Tk any time; we just want a change
worthy of the name to kick it off. :-)

Donal.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Georgios Petasis  
View profile  
 More options Nov 16 2012, 8:33 am
Newsgroups: comp.lang.tcl
From: Georgios Petasis <peta...@iit.demokritos.gr>
Date: Fri, 16 Nov 2012 15:33:07 +0200
Local: Fri, Nov 16 2012 8:33 am
Subject: Re: The Start of Tcl 9
Στις 16/11/2012 14:55, ο/η Donal K. Fellows έγραψε:

I really don't know if moving to cairo is "the way to go", but I tried
it during an experiment for ttkgtk (porting tile-gtk to gtk 3), and was
easy to use. In addition it seemed cross-platform enough, with some
interesting capabilities, like drawing on a pdf document...

George


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Walzer  
View profile  
 More options Nov 16 2012, 9:44 am
Newsgroups: comp.lang.tcl
From: Kevin Walzer <k...@codebykevin.com>
Date: Fri, 16 Nov 2012 09:44:54 -0500
Local: Fri, Nov 16 2012 9:44 am
Subject: Re: The Start of Tcl 9
On 11/16/12 8:33 AM, Georgios Petasis wrote:

> I really don't know if moving to cairo is "the way to go", but I tried
> it during an experiment for ttkgtk (porting tile-gtk to gtk 3), and was
> easy to use. In addition it seemed cross-platform enough, with some
> interesting capabilities, like drawing on a pdf document...

> George

I've never understood this. Cairo would add a lot of complexity to Tk
(both in terms of its library dependency and licensing, which is LGPL).

--Kevin

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arjen Markus  
View profile  
 More options Nov 16 2012, 9:59 am
Newsgroups: comp.lang.tcl
From: Arjen Markus <arjen.markus...@gmail.com>
Date: Fri, 16 Nov 2012 06:59:49 -0800 (PST)
Local: Fri, Nov 16 2012 9:59 am
Subject: Re: The Start of Tcl 9
On Friday, November 16, 2012 2:33:33 PM UTC+1, Georgios Petasis wrote:

..., with some

> interesting capabilities, like drawing on a pdf document...

> George

Well, with Peter Spjuth's pdf4tcl package available that would be relatively easy
to accomplish in pure Tcl. I use it myself to copy the contents of a canvas
widget into a PDF document, but it can quite probably be adopted to directly
draw into such a document.

Regards,

Arjen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Gollwitzer  
View profile  
 More options Nov 16 2012, 11:46 am
Newsgroups: comp.lang.tcl
From: Christian Gollwitzer <aurio...@gmx.de>
Date: Fri, 16 Nov 2012 17:44:26 +0100
Local: Fri, Nov 16 2012 11:44 am
Subject: Re: The Start of Tcl 9
Am 15.11.12 19:07, schrieb Donal K. Fellows:

> The Tcl Core Team is pleased to say that development has started on Tcl
> 9.0, where we will be trying to take a more radical approach to cleaning
> up our code in order to enable improved long-term code health. Our aims
> are to minimize the amount of breakage at the Tcl level (unless we've
> got a *really good* reason otherwise); the C level will have rather more
> changes with an aim to support such things as support for much larger
> data and much greater performance.

Wow, that's great!

> (Also, watch out for coming releases of 8.6.0 and 8.4.20 in the not too
> distant future. We'll be progressing those in parallel; we don't
> anticipate the effort for 9.0 from detracting from those in any way.)

For the 8.6.0 release, I have a personal wish list what should be
addressed especially in Tk:

TkCocoa: -typevariable is not implemented in file dialogs. It worked
under Carbon, but in Cocoa the UI elements are missing (native
applications like Pages have it, and it behaves exactly like
-typevariable).

X11: -typevariable returns the wrong thing (works as documented in
Windows and TkCarbon)

- non-native themes have no visual feedback for the tristate third state
in checkboxes and radiobuttons.

I'm not sure I have written bug reports for all of these issues, but I
definitely have for the last one. It's fairly low-hanging fruit, since
Jeff Hobbs posted a hotfix here for one theme.

Is there any chance to get these issues addressed before 8.6.0? For the
last two, I could possibly provide a patch.

        Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Gollwitzer  
View profile  
 More options Nov 16 2012, 11:47 am
Newsgroups: comp.lang.tcl
From: Christian Gollwitzer <aurio...@gmx.de>
Date: Fri, 16 Nov 2012 17:47:03 +0100
Local: Fri, Nov 16 2012 11:47 am
Subject: Re: The Start of Tcl 9
Am 15.11.12 19:07, schrieb Donal K. Fellows:

> The Tcl Core Team is pleased to say that development has started on Tcl
> 9.0, where we will be trying to take a more radical approach to cleaning
> up our code in order to enable improved long-term code health. Our aims
> are to minimize the amount of breakage at the Tcl level (unless we've
> got a *really good* reason otherwise); the C level will have rather more
> changes with an aim to support such things as support for much larger
> data and much greater performance.

Wow, that's great!

> (Also, watch out for coming releases of 8.6.0 and 8.4.20 in the not too
> distant future. We'll be progressing those in parallel; we don't
> anticipate the effort for 9.0 from detracting from those in any way.)

For the 8.6.0 release, I have a personal wish list what should be
addressed especially in Tk:

TkCocoa: -typevariable is not implemented in file dialogs. It worked
under Carbon, but in Cocoa the UI elements are missing (native
applications like Pages have it, and it behaves exactly like
-typevariable).

X11: -typevariable returns the wrong thing (works as documented in
Windows and TkCarbon)

- non-native themes have no visual feedback for the tristate third state
in checkboxes and radiobuttons.

I'm not sure I have written bug reports for all of these issues, but I
definitely have for the last one. It's fairly low-hanging fruit, since
Jeff Hobbs posted a hotfix here for one theme.

Is there any chance to get these issues addressed before 8.6.0? For the
last two, I could possibly provide a patch.

        Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gerald W. Lester  
View profile  
 More options Nov 16 2012, 12:07 pm
Newsgroups: comp.lang.tcl
From: "Gerald W. Lester" <Gerald.Les...@KnG-Consulting.net>
Date: Fri, 16 Nov 2012 11:07:24 -0600
Local: Fri, Nov 16 2012 12:07 pm
Subject: Re: The Start of Tcl 9
On 11/16/12 10:44 AM, Christian Gollwitzer wrote:

> Am 15.11.12 19:07, schrieb Donal K. Fellows:
>>...
> Wow, that's great!

>> (Also, watch out for coming releases of 8.6.0 and 8.4.20 in the not too
>> distant future. We'll be progressing those in parallel; we don't
>> anticipate the effort for 9.0 from detracting from those in any way.)

> For the 8.6.0 release, I have a personal wish list what should be addressed
> especially in Tk:

8.6.0 has been feature frozen.  The 8.6.0 "production" release (not alpha or
beta) is coming out *REAL SOON NOW* (read minutes/hours/(very very few)days).

> TkCocoa: -typevariable is not implemented in file dialogs. It worked under
> Carbon, but in Cocoa the UI elements are missing (native applications like
> Pages have it, and it behaves exactly like -typevariable).

> X11: -typevariable returns the wrong thing (works as documented in Windows
> and TkCarbon)

> - non-native themes have no visual feedback for the tristate third state in
> checkboxes and radiobuttons.

> I'm not sure I have written bug reports for all of these issues, but I
> definitely have for the last one. It's fairly low-hanging fruit, since Jeff
> Hobbs posted a hotfix here for one theme.

> Is there any chance to get these issues addressed before 8.6.0?

No, that window/door is closed.

> For the last two, I could possibly provide a patch.

Please put the patch as part of your SourceForge bug.

--
+------------------------------------------------------------------------+
| Gerald W. Lester, President, KNG Consulting LLC                        |
| Email: Gerald.Les...@kng-consulting.net                                |
+------------------------------------------------------------------------+


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Les Cargill  
View profile  
 More options Nov 16 2012, 1:32 pm
Newsgroups: comp.lang.tcl
From: Les Cargill <lcargil...@comcast.com>
Date: Fri, 16 Nov 2012 12:32:38 -0600
Local: Fri, Nov 16 2012 1:32 pm
Subject: Re: The Start of Tcl 9

It sounds like 9 is a defacto... *gulp*... fork, then.

--
Les Cargill


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
s...@controlq.com  
View profile  
 More options Nov 16 2012, 6:01 pm
Newsgroups: comp.lang.tcl
From: S...@ControlQ.com
Date: Fri, 16 Nov 2012 18:00:59 -0500
Local: Fri, Nov 16 2012 6:00 pm
Subject: Re: The Start of Tcl 9

Perhaps a brief glance at the EVAS canvas tool in the Enlightenment distro
might be of some small inspiration ... They have some nice ideas in the
EFL, and if 9.x is coming, perhaps some inherent portability would be in
order (tablets etc).

Cheers,
Rob.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Googie  
View profile  
 More options Nov 18 2012, 7:54 am
Newsgroups: comp.lang.tcl
From: Googie <pawelsal...@gmail.com>
Date: Sun, 18 Nov 2012 04:54:19 -0800 (PST)
Local: Sun, Nov 18 2012 7:54 am
Subject: Re: The Start of Tcl 9
W dniu piątek, 16 listopada 2012 08:46:45 UTC+1 użytkownik Georgios Petasis napisał:

> And perhaps look again the threads issue... :-)

I'm not sure if this "issue" is about what I'm thinking it is about. What I mean is that I strongly agree that this would be an ideal moment to reconsider the multithreading model in Tcl, so developers have *possibility* to use many threads on one interpreter, or at least an easy way to share some of resources.

I know, I know... it would be huge amount of work on C level, since it wasn't designed like this, but if we're talking about more radical changes, well, I believe this is an important one.

Regards,
Googie


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Donal K. Fellows  
View profile  
 More options Nov 18 2012, 1:13 pm
Newsgroups: comp.lang.tcl
From: "Donal K. Fellows" <donal.k.fell...@manchester.ac.uk>
Date: Sun, 18 Nov 2012 10:13:17 -0800 (PST)
Local: Sun, Nov 18 2012 1:13 pm
Subject: Re: The Start of Tcl 9

On Friday, 16 November 2012 10:46:31 UTC-6, Christian Gollwitzer  wrote:
> Fore 8.6.0 release, I have a personal wish list what should be
> addred especially in Tk:
[...]
> Is there any chance to get these issues addressed before 8.6.0? For the
> last two, I could possibly provide a patch.

Not really. We are at an advanced stage of locking everything down, and would probably only hold for things that prevented tclsh/wish from running now. There is always 8.6.1...

Donal


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Gollwitzer  
View profile  
 More options Nov 19 2012, 1:51 am
Newsgroups: comp.lang.tcl
From: Christian Gollwitzer <aurio...@gmx.de>
Date: Mon, 19 Nov 2012 07:51:38 +0100
Local: Mon, Nov 19 2012 1:51 am
Subject: Re: The Start of Tcl 9
Am 18.11.12 19:13, schrieb Donal K. Fellows:

> On Friday, 16 November 2012 10:46:31 UTC-6, Christian Gollwitzer
> wrote:
>> Fore 8.6.0 release, I have a personal wish list what should be
>> addred especially in Tk:
> [...]
>> Is there any chance to get these issues addressed before 8.6.0? For
>> the last two, I could possibly provide a patch.

> Not really. We are at an advanced stage of locking everything down,
> and would probably only hold for things that prevented tclsh/wish
> from running now. There is always 8.6.1...

Now problem, I'll have more time to submit a patch;)

But 8.6b3 fails to compile on Mountain Lion. Tcl works, Tk fails in the
final link step:

Undefined symbols for architecture x86_64:
   "_OBJC_CLASS_$_TKApplication", referenced from:
       l_OBJC_$_CATEGORY_TKApplication_$_TKClipboard in tkMacOSXClipboard.o
       l_OBJC_$_CATEGORY_TKApplication_$_TKDialog in tkMacOSXDialog.o
       l_OBJC_$_CATEGORY_TKApplication_$_TKFontPanel in tkMacOSXDialog.o
       l_OBJC_$_CATEGORY_TKApplication_$_TKEvent in tkMacOSXEvent.o
       l_OBJC_$_CATEGORY_TKApplication_$_TKHLEvents in tkMacOSXHLEvents.o
       objc-class-ref in tkMacOSXInit.o
       l_OBJC_$_CATEGORY_TKApplication_$_TKInit in tkMacOSXInit.o
       ...
   "_OBJC_IVAR_$_TKApplication._defaultApplicationMenu", referenced from:
       -[TKApplication(TKMenu) tkSetMainMenu:] in tkMacOSXMenu.o
       -[TKApplication(TKMenus) _setupMenus] in tkMacOSXMenus.o
   "_OBJC_IVAR_$_TKApplication._defaultApplicationMenuItems", referenced
from:
       -[TKApplication(TKMenu) tkSetMainMenu:] in tkMacOSXMenu.o
       -[TKApplication(TKMenus) _setupMenus] in tkMacOSXMenus.o
       -[TKApplication(TKMenus) dealloc] in tkMacOSXMenus.o
   "_OBJC_IVAR_$_TKApplication._defaultHelpMenuItems", referenced from:
       -[TKApplication(TKMenu) tkSetMainMenu:] in tkMacOSXMenu.o
       -[TKApplication(TKMenus) _setupMenus] in tkMacOSXMenus.o
       -[TKApplication(TKMenus) dealloc] in tkMacOSXMenus.o
   "_OBJC_IVAR_$_TKApplication._defaultMainMenu", referenced from:
       -[TKApplication(TKInit) _setup:] in tkMacOSXInit.o
       -[TKApplication(TKMenu) tkSetMainMenu:] in tkMacOSXMenu.o
       -[TKApplication(TKMenus) _setupMenus] in tkMacOSXMenus.o
       -[TKApplication(TKMenus) dealloc] in tkMacOSXMenus.o
   "_OBJC_IVAR_$_TKApplication._defaultWindowsMenuItems", referenced from:
       -[TKApplication(TKMenu) tkSetMainMenu:] in tkMacOSXMenu.o
       -[TKApplication(TKMenus) _setupMenus] in tkMacOSXMenus.o
       -[TKApplication(TKMenus) dealloc] in tkMacOSXMenus.o
   "_OBJC_IVAR_$_TKApplication._eventInterp", referenced from:
       -[TKApplication(TKHLEvents) terminate:] in tkMacOSXHLEvents.o
       -[TKApplication(TKHLEvents) preferences:] in tkMacOSXHLEvents.o
       -[TKApplication(TKInit) _setup:] in tkMacOSXInit.o
       -[TKApplication(TKInit) tkFrameworkImagePath:] in tkMacOSXInit.o
       -[TKApplication(TKMenus) validateUserInterfaceItem:] in
tkMacOSXMenus.o
       -[TKApplication(TKMenus) orderFrontStandardAboutPanel:] in
tkMacOSXMenus.o
       -[TKApplication(TKMenus) showHelp:] in tkMacOSXMenus.o
       ...
   "_OBJC_IVAR_$_TKApplication._servicesMenu", referenced from:
       -[TKApplication(TKMenu) tkSetMainMenu:] in tkMacOSXMenu.o
       -[TKApplication(TKMenus) _setupMenus] in tkMacOSXMenus.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [libtk8.6.dylib] Error 1

My command lines were:
# Tcl
./configure --prefix=/Users/chris/Sources/tcl86 --enable-64bit
make -j4; make install

# Tk
./configure --prefix=/Users/chris/Sources/tcl86
--with-tcl=/Users/chris/Sources/tcl86/lib/ --enable-64bit --enable-aqua=yes
make -j4

Using CC=clang also does not help. I'm on OSX 10.8.2 using the newest
Xcode 4.2.5

        Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Gollwitzer  
View profile  
 More options Nov 19 2012, 2:01 am
Newsgroups: comp.lang.tcl
From: Christian Gollwitzer <aurio...@gmx.de>
Date: Mon, 19 Nov 2012 08:01:24 +0100
Local: Mon, Nov 19 2012 2:01 am
Subject: Re: The Start of Tcl 9
PS: It is a regression. 8.6b2 compiles and works, 8.6b3 fails to link

Am 19.11.12 07:51, schrieb Christian Gollwitzer:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Gollwitzer  
View profile  
 More options Nov 19 2012, 3:45 am
Newsgroups: comp.lang.tcl
From: Christian Gollwitzer <aurio...@gmx.de>
Date: Mon, 19 Nov 2012 09:45:33 +0100
Local: Mon, Nov 19 2012 3:45 am
Subject: Re: The Start of Tcl 9
Am 16.11.12 18:07, schrieb Gerald W. Lester:

>> TkCocoa: -typevariable is not implemented in file dialogs. It worked
>> under
>> Carbon, but in Cocoa the UI elements are missing (native applications
>> like
>> Pages have it, and it behaves exactly like -typevariable).

>> X11: -typevariable returns the wrong thing (works as documented in
>> Windows
>> and TkCarbon)

> Please put the patch as part of your SourceForge bug.

I see I haven't submitted a bug for that. I'll do it soon. For the
records, here is the patch for X11:

--- tk8.6b3/library/tkfbox.tcl  2012-09-13 21:57:38.000000000 +0200
+++ tcl86/lib/tk8.6/tkfbox.tcl  2012-11-19 09:38:50.000000000 +0100
@@ -310,6 +310,7 @@

      # 5. Parse the -filetypes option
      #
+    set data(origfiletypes) $data(-filetypes)
      set data(-filetypes) [::tk::FDGetFileTypes $data(-filetypes)]

      if {![winfo exists $data(-parent)]} {
@@ -1119,7 +1120,7 @@
            && [info exists data(filterType)] && $data(filterType) ne ""
        } then {
            upvar #0 $data(-typevariable) typeVariable
-           set typeVariable [lindex $data(filterType) 0]
+           set typeVariable [lindex $data(origfiletypes) [lsearch -exact
$data(-filetypes) $data(filterType)] 0]
        }
      }
      bind $data(okBtn) <Destroy> {}

=========================

Test scrip:

package require tcltest
package require Tk

puts [tk_getSaveFile -initialfile foo -typevariable seltype -filetypes
{{TEXT *.txt}}]
puts $seltype

# old behaviour
# Tk/Carbon: TEXT
# Tk/Cocoa: seltype is undefined
# Win: TEXT
# X11: TEXT (*.txt)

        Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Georgios Petasis  
View profile  
 More options Nov 19 2012, 4:44 am
Newsgroups: comp.lang.tcl
From: Georgios Petasis <peta...@iit.demokritos.gr>
Date: Mon, 19 Nov 2012 11:43:37 +0200
Local: Mon, Nov 19 2012 4:43 am
Subject: Re: The Start of Tcl 9
Στις 18/11/2012 14:54, ο/η Googie έγραψε:

> W dniu piątek, 16 listopada 2012 08:46:45 UTC+1 użytkownik Georgios Petasis napisał:
>> And perhaps look again the threads issue... :-)

> I'm not sure if this "issue" is about what I'm thinking it is about. What I mean is that I strongly agree that this would be an ideal moment to reconsider the multithreading model in Tcl, so developers have *possibility* to use many threads on one interpreter, or at least an easy way to share some of resources.

> I know, I know... it would be huge amount of work on C level, since it wasn't designed like this, but if we're talking about more radical changes, well, I believe this is an important one.

> Regards,
> Googie

It is what you are thinking about. It is not too easy to combine Tcl
with other threaded apps.

George


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Walzer  
View profile  
 More options Nov 19 2012, 9:28 am
Newsgroups: comp.lang.tcl
From: Kevin Walzer <k...@codebykevin.com>
Date: Mon, 19 Nov 2012 09:28:36 -0500
Local: Mon, Nov 19 2012 9:28 am
Subject: Re: The Start of Tcl 9
On 11/19/12 1:51 AM, Christian Gollwitzer wrote:

> My command lines were:
> # Tcl
> ./configure --prefix=/Users/chris/Sources/tcl86 --enable-64bit
> make -j4; make install

> # Tk
> ./configure --prefix=/Users/chris/Sources/tcl86
> --with-tcl=/Users/chris/Sources/tcl86/lib/ --enable-64bit --enable-aqua=yes
> make -j4

> Using CC=clang also does not help. I'm on OSX 10.8.2 using the newest
> Xcode 4.2.5

8.6b3 builds fine for me on 10.7. Try skipping configure and using these
flags:

        make -C tcl${ver}/macosx install INSTALL_ROOT="${HOME}/"
         make -C tk${ver}/macosx  install INSTALL_ROOT="${HOME}/"

Feel free to substitute whatever INSTALL_ROOT you want.

Building this way uses the GNUMakefile in the macosx source tree and
generally has better outcomes than running configure from the Unix subdir.

See http://wiki.tcl.tk/12987 for more guidelines.

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Donal K. Fellows  
View profile  
 More options Nov 19 2012, 9:58 am
Newsgroups: comp.lang.tcl
From: "Donal K. Fellows" <donal.k.fell...@manchester.ac.uk>
Date: Mon, 19 Nov 2012 14:58:29 +0000
Local: Mon, Nov 19 2012 9:58 am
Subject: Re: The Start of Tcl 9
On 18/11/2012 12:54, Googie wrote:

> W dniu piątek, 16 listopada 2012 08:46:45 UTC+1 użytkownik Georgios Petasis napisał:
>> And perhaps look again the threads issue... :-)

> I'm not sure if this "issue" is about what I'm thinking it is about.
> What I mean is that I strongly agree that this would be an ideal
> moment to reconsider the multithreading model in Tcl, so developers
> have *possibility* to use many threads on one interpreter, or at
> least an easy way to share some of resources.

And add a Global Interpreter Lock to protect all those resources from
concurrent access so that we can get the memory management correct.

Of course, that ruins scalability. There was evidence presented at the
Tcl Conference that 8.5 and 8.6 scale properly as more resources are
provided (and that 8.4 *doesn't*, at least in some cases, despite being
faster for some code in the single-threaded case). By "properly" I mean
that they were indicating that they were scaling very close to the ideal
curve; doubling the number of CPUs was about halving the execution time
for the particular app (something by Mentor? I forget the details right
now). There's a considerable literature that says that that is hard to
achieve.

No, we don't want no GIL. Nor a plethora of locks ("Jefe, what is a
plethora?") where you have the lock ordering problem and I'm not
convinced that we'd be able to conceal that from users either.

> I know, I know... it would be huge amount of work on C level, since
> it wasn't designed like this, but if we're talking about more radical
> changes, well, I believe this is an important one.

The big problem is that it is *difficult* to make programs that use
shared resources well[*]. We try very hard to avoid sharing resources
between threads precisely because that is so much harder to get yourself
into a nasty mess with. Yes, this means your dirty hacks might not work
so well but it also means that you really have to work very hard to get
yourself into a deadlock or livelock, unlike with so many other languages.

Donal.
[* In any language. The only ones where things are truly easy are the
ones where there are no shared mutable state, and shared non-mutable
state isn't all that easy too unless you are in the case where that bit
of state endures until the process terminates. ]


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Don Porter  
View profile  
 More options Nov 19 2012, 11:09 am
Newsgroups: comp.lang.tcl
From: Don Porter <d...@nist.gov>
Date: Mon, 19 Nov 2012 11:09:30 -0500
Local: Mon, Nov 19 2012 11:09 am
Subject: Re: The Start of Tcl 9
On 11/19/2012 01:51 AM, Christian Gollwitzer wrote:

> But 8.6b3 fails to compile on Mountain Lion.

That was out in September.  When did you plan on telling somebody?

Anyhow, if Kevin Walzer's instruction do not help, please give the
Tcl/Tk 8.6.0rc1 preview releases a try.  You can find them at
ftp://ftp.tcl.tk/pub/tcl/tcl8_6/

If you don't get to it right away, you may find 8.6.0rc2 previews there
instead.  If so, go ahead and test those instead.

If any Release Candidate fails to build, PLEASE REPORT THAT RIGHT AWAY!

--
| Don Porter            Applied and Computational Mathematics Division |
| donald.por...@nist.gov             Information Technology Laboratory |
| http://math.nist.gov/~DPorter/                                  NIST |
|______________________________________________________________________|


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Gollwitzer  
View profile  
 More options Nov 19 2012, 11:57 am
Newsgroups: comp.lang.tcl
From: Christian Gollwitzer <aurio...@gmx.de>
Date: Mon, 19 Nov 2012 17:57:16 +0100
Local: Mon, Nov 19 2012 11:57 am
Subject: Re: The Start of Tcl 9
Am 19.11.12 17:09, schrieb Don Porter:

> On 11/19/2012 01:51 AM, Christian Gollwitzer wrote:
>> But 8.6b3 fails to compile on Mountain Lion.

> That was out in September.  When did you plan on telling somebody?

Sorry, I'm not usually recompiling Tcl that often, it just failed when I
tried to recompile this morning in order to patch it.

> Anyhow, if Kevin Walzer's instruction do not help, please give the
> Tcl/Tk 8.6.0rc1 preview releases a try.  You can find them at
> ftp://ftp.tcl.tk/pub/tcl/tcl8_6/

> If you don't get to it right away, you may find 8.6.0rc2 previews there
> instead.  If so, go ahead and test those instead.

> If any Release Candidate fails to build, PLEASE REPORT THAT RIGHT AWAY!

Yes, here is my report: I tried rc1 using configure and it worked. My
command line was:

# Tcl
./configure --prefix=/Users/chris/Sources/tcl86 --enable-64bit
make -j4
make install

cd ../..
cd tk8.6.0/unix/
./configure --prefix=/Users/chris/Sources/tcl86 --enable-64bit
--enable-aqua --with-tcl=/Users/chris/Sources/tcl86/lib/
make -j4
make install

Sorry for the confusion and thanks for the good work. Can you post here
when rc2 is uploaded? I'll try that one, too.

Many thanks,

        Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Christian Gollwitzer  
View profile  
 More options Nov 19 2012, 12:02 pm
Newsgroups: comp.lang.tcl
From: Christian Gollwitzer <aurio...@gmx.de>
Date: Mon, 19 Nov 2012 18:02:45 +0100
Local: Mon, Nov 19 2012 12:02 pm
Subject: Re: The Start of Tcl 9
Bugs filed:

Am 19.11.12 09:45, schrieb Christian Gollwitzer:

> Am 16.11.12 18:07, schrieb Gerald W. Lester:
>>> TkCocoa: -typevariable is not implemented in file dialogs. It worked
>>> under
>>> Carbon, but in Cocoa the UI elements are missing (native applications
>>> like
>>> Pages have it, and it behaves exactly like -typevariable).

3588462

>>> X11: -typevariable returns the wrong thing (works as documented in
>>> Windows
>>> and TkCarbon)

>> Please put the patch as part of your SourceForge bug.

3588460

I'll have a look at 3217462 soon.

        Christian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Twylite  
View profile  
 More options Nov 20 2012, 6:51 am
Newsgroups: comp.lang.tcl
From: Twylite <twylite.cr...@gmail.com>
Date: Tue, 20 Nov 2012 03:51:12 -0800 (PST)
Local: Tues, Nov 20 2012 6:51 am
Subject: Re: The Start of Tcl 9
Hi,

> > What I mean is that I strongly agree that this would be an ideal
> > moment to reconsider the multithreading model in Tcl, so developers
> > have *possibility* to use many threads on one interpreter, or at
> > least an easy way to share some of resources.

> And add a Global Interpreter Lock to protect all those resources from
> concurrent access so that we can get the memory management correct.

Multiple threads per interp is bad.  Tcl's multiprocess (rather than multithread) model frees developers from a host of shared resource access problems that plague popular languages.

What I _would_ like to see is a much easier, lightweight way to run code in parallel in a different interp.  Something along the lines of transferring a closure to another interp and having it notifying the origin interp on completion.

That of course requires its own brand of magic.  But it may be quite easy to accomplish if we distinguish between a proc (which can modify global state) and a function (which cannot), and allow lightweight interp forking to execute functions.  I seem to recall that a proc/function distinction will also lend itself to a variety of bytecode compiler enhancements.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 42   Newer >
« Back to Discussions « Newer topic     Older topic »