bugWeeChat - Bugs: bug #25754, Namespace weechat:: not created in...

 
 

bug #25754: Namespace weechat:: not created in tcl-plugin

Submitted by:  Dmitry <karvur>
Submitted on:  Tue 03 Mar 2009 04:54:12 PM UTC  
 
Category: compilationSeverity: 3 - Normal
Item Group: compile/installStatus: Fixed
Privacy: PublicAssigned to: Sebastien Helleu <flashcode>
Originator Name: Open/Closed: Closed
Release: 0.3.0IRC nick: Karvur

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 06 Mar 2009 10:54:42 PM UTC, comment #3:

Sorry bug is from you too (didn't notice it), so fixed like you suggested ;)

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Fri 06 Mar 2009 10:47:52 PM UTC, comment #2:

Fixed like Dmitry suggested. Please tell me if problem is fixed.

Sebastien Helleu <flashcode>
Project AdministratorIn charge of this item.
Wed 04 Mar 2009 05:36:35 AM UTC, comment #1:

Namespaces in Tcl is supported long ago. But Tcl_CreateNamespace in public interface recently.

is think it is better to use:
Tcl_Eval(interp,"namespace eval weechat {}");

instead of:

#ifdef HAVE_TCL_CREATE_NS
/* create weechat namespace */
Tcl_CreateNamespace (interp, "weechat",(ClientData)0,NULL);
#endif

Dmitry <karvur>
Tue 03 Mar 2009 04:54:12 PM UTC, original submission:

In autotools or cmake configuration macros "#ifdef HAVE_TCL_CREATE_NS" not defined, as result Namespace weechat:: not created with Tcl_CreateNamespace.

so series of Tcl_SetVar functions not create variables
Tcl_SetVar (interp, "weechat::WEECHAT_RC_OK", Tcl_GetStringFromObj (objp, &i),0);

Dmitry <karvur>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by flashcode (Posted a comment)
  • -unavailable- added by karvur
  • -unavailable- added by karvur
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Sep 2009 06:46:04 PM UTCflashcodeRelease2.1-dev=>0.3.0
      Open/ClosedOpen=>Closed
    Sat 11 Apr 2009 07:52:06 PM UTCflashcodeStatusReady For Test=>Fixed
    Fri 06 Mar 2009 10:47:52 PM UTCflashcodeStatusNone=>Ready For Test
      Assigned toNone=>flashcode
    Thu 05 Mar 2009 11:28:11 AM UTCkarvurCarbon-CopyRemoved 72508=>-
    Wed 04 Mar 2009 06:12:31 AM UTCkarvurCarbon-Copy-=>Added flashcode
    Tue 03 Mar 2009 04:54:12 PM UTCkarvurCarbon-Copy-=>Added karvur

    Back to the top


    Powered by Savane 3.1-cleanup1