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

 
 

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

Submitter:  Dmitry <karvur>
Submitted:  Tue 03 Mar 2009 04:54:12 PM UTC
 
Category:  compilation Severity:  3 - Normal
Item Group:  compile/install Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.0 IRC nick:  Karvur
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

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 Administrator
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 Administrator
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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-06 flashcode Release3.3-dev 0.3.0
        Open/ClosedOpen Closed
    2009-04-11 flashcode StatusReady For Test Fixed
    2009-03-06 flashcode StatusNone Ready For Test
        Assigned toNone flashcode
    2009-03-05 karvur Carbon-CopyRemoved 72508 -
    2009-03-04 karvur Carbon-Copy- Added flashcode
    2009-03-03 karvur Carbon-Copy- Added karvur

    Back to the top


    Powered by Savane 3.9