# reportfmt

title: All Tickets
cols:
  #ffffff Key:
  #f2dcdc Active
  #e8e8e8 Review
  #cfe8bd Fixed
  #bde5d6 Tested
  #cacae5 Deferred
  #c8c8c8 Closed

sqlcode:
  SELECT
    CASE WHEN status IN ('Open','Verified') THEN '#f2dcdc'
         WHEN status='Review' THEN '#e8e8e8'
         WHEN status='Fixed' THEN '#cfe8bd'
         WHEN status='Tested' THEN '#bde5d6'
         WHEN status='Deferred' THEN '#cacae5'
         ELSE '#c8c8c8' END AS 'bgcolor',
    substr(tkt_uuid,1,10) AS '#',
    datetime(tkt_mtime) AS 'mtime',
    type,
    status,
    subsystem,
    title
  FROM ticket


# filename

name:
  TclPlugin/src/org/netbeans/modules/languages/tcl/debugger/callstack/TclCallStackModelColumnCmdStr.java


name:
  TclPlugin/src/org/netbeans/modules/languages/tcl/debugger/callstack/TclCallStackModelColumnFileNameAndLineNumber.java


name:
  TclPlugin/src/org/netbeans/modules/languages/tcl/debugger/callstack/TclCallStackModelColumnLevel.java


name:
  TclPlugin/src/org/netbeans/modules/languages/tcl/debugger/callstack/TclCallStackNodeActionsProvider.java


name:
  TclPlugin/src/org/netbeans/modules/languages/tcl/debugger/breakpoints/TclBreakpointAnnotationListener.java


name:
  TclPlugin/src/org/netbeans/modules/languages/tcl/debugger/watches/TclWatchesNodeActionsProvider.java


name:
  TclPlugin/src/META-INF/debugger/TclSession/CallStackView/org.netbeans.spi.viewmodel.NodeActionsProvider


name:
  TclPlugin/src/org/netbeans/modules/languages/tcl/debugger/breakpoints/TclBreakpointsNodeActionsProvider.java


name:
  TclPlugin/src/META-INF/debugger/TclSession/BreakpointsView/org.netbeans.spi.viewmodel.NodeActionsProvider


name:
  TclPlugin/src/META-INF/debugger/TclSession/org.netbeans.modules.languages.tcl.debugger.breakpoints.TclBreakpointsModel


name:
  TclPlugin/src/META-INF/debugger/TclSession/org.netbeans.modules.languages.tcl.debugger.watches.TclWatchesModel


name:
  TclPlugin/src/META-INF/debugger/TclSession/WatchesView/org.netbeans.spi.viewmodel.NodeActionsProvider


name:
  TclPlugin/src/org/netbeans/modules/languages/tcl/debugger/breakpoints/TclBreakpointActionsProvider.java


name:
  TclPlugin/src/org/netbeans/modules/languages/tcl/debugger/breakpoints/TclBreakpointActionProvider.java


name:
  TclPlugin/src/META-INF/debugger/TclSession/org.netbeans.modules.languages.tcl.debugger.variables.TclVariablesModel


name:
  TclPlugin/src/META-INF/debugger/TclSession/org.netbeans.modules.languages.tcl.debugger.TclDebuggerActionsProvider


# event

type: ci
user: dmp
comment:
  Added Tcl grammar (Tcl.g file) and needed modification to handle tcl syntax hilight using Tcl.g
  Working quite good already. Noticed some bug during viewing stepsource.tcl it needs to be corrected.


type: ci
user: dmp
comment:
  Basic project structure of Netbeans module.
  Ability to syntax hilight. (for example grammary → not tcl yet).
  Enable to open .tcl files.


type: ci
user: dmp
comment:
  Fixed few issues with hilight. Improved Tcl.g (BRACEs no longer with OPERATORs and tokens sequence seems to be much better).


type: ci
user: dmp
comment:
  Symbol '#' could be used inside ID token but not at the beginning - It's just a little fix.
  TclLexer.java renamed to Tcl.java it's default generated name (by antlr).
  Tcl.g was little improved.


type: ci
user: dmp
comment:
  Initial Tcl Project type is ready. Currently Netbeans recognises Tcl Project by looking for tclproject/ directory. Added two new packages: org.netbeans.modules.languages.tcl.project and org.netbeans.modules.languages.tcl.project.sample.


type: ci
user: dmp
comment:
  Deleted TclPlugin/nbproject/private/* from repository. It shouldn't be public - currently stores key and password to sign .NBM generated file. Private means private.


type: ci
user: dmp
comment:
  Added new package org.netbeans.modules.languages.tcl.optionpanel. OptionPanel appears in Netbeans Tools→Options and allows to set tclsh path (NbPreferences are used).


type: ci
user: dmp
comment:
  Added org.netbeans.modules.languages.tcl.run package. RunTclsh class allows to open new output window with tclsh. It also gives ability to execute tcl scripts (via first argument for tclsh). Toolbar button to execute empty tclsh is available. TclFileRunAction.java is now implemented.


type: ci
user: dmp
comment:
  Improved RunTclsh.java. Tclsh is set to an interactive mode (set ::tcl_interactive 1) and is working via Netbeans output window same as within standard console. Way of running scripts changed to "source" from tclsh instead of passing scripts location via first tclsh argument. Added popup window with information how to fix problem when default tclsh path doesn't work.


type: ci
user: dmp
comment:
  "Empty Tcl file" moved from "Others" to new "Tcl" category. Fixed stdout/stdin mixing in output window, using thread locking. Fixed backslashes escapes in paths (problem appeared under windows).


type: ci
user: dmp
comment:
  Feature "Run Project" is here. Tuned per project properties, mainly JFileChooser improved. New feature is corresponding between TclProject, TclProjectProperties and JPanelTclProjectPropertiesRunCategory classes.


type: ci
user: dmp
comment:
  Added tclproject.properties to TclEmptyProject default template. Old projects could be used too (TclProjectProperties generates tclproject.properties for Tcl Projects without already available properties file).


type: ci
user: dmp
comment:
  Added new package org.netbeans.modules.languages.tcl.debugger. Special META-INF to register debugger. Focused on Debugger UI. Toggle breakpoint in Line without implementation yet, bind available.


type: ci
user: dmp
comment:
  Added class TclDebuggerJavaPart. Prepared solution to share TclProject object between debugger classes via Netbeans Lookups and getServices. Improved TclProject class. Few renames to clarify.


type: ci
user: dmp
comment:
  Added class CurrentProgramCounterModify that handles actions with CurrentProgramCounterAnnotation. Currently for tests. Step Over and Step Into allows to move Program Counter within default run file. TclDebuggerUtils modified. Also TclDebuggerJavaPart class had some modifications. TclDebuggerActionsProvider class seems to be in final shape.


type: ci
user: dmp
comment:
  Added ability to do single steps within debug functionality. Added module description. Added new package org.netbeans.modules.languages.tcl.debugger.resources with debugServer.tcl included. Modified RunTclsh class to provide console for debugServer.tcl.


type: ci
user: dmp
ecomment:
  Improved debugServer.tcl. Single steps work better. Modified TclDebuggerJavaPart class to avoid Exceptions during connection with Tcl part.

comment:
  Improved debugServer.tcl. Single steps works better. Modified TclDebuggerJavaPart class to avoid Exceptions during connection with Tcl part.


type: ci
user: dmp
comment:
  "Step Over" should work as expected. Changed protocol between debugServer.tcl and TclDebuggerJavaPart class.


type: ci
user: dmp
comment:
  Added META-INF/debugger/TclSession/LocalView to register viewmodels. Added class TclVariableModel to implement variables window.


type: ci
user: dmp
ecomment:
  Added new package org.netbeans.modules.languages.tcl.debugger.variables to handle VariablesView. Includes NameColumn, TclVariable and the most important TclVariablesModel. Also TclDebuggerActionsProvider is now registered via META-INF/ to be available for TclVariablesModel class and for general comunication with TclDebuggerJavaPart. debugServer.tcl upgraded to serve <nowiki>[info vars].</nowiki>

comment:
  Added new package org.netbeans.modules.languages.tcl.debugger.variables to handle VariablesView. Includes NameColumn, TclVariable and the most important TclVariablesModel. Also TclDebuggerActionsProvider is now registered via META-INF/ to be available for TclVariablesModel class and for general comunication with TclDebuggerJavaPart. debugServer.tcl upgraded to serve [info vars].


type: ci
user: dmp
ecomment:
  <nowiki>Changed: [info vars] is now splited to [info locals] and [info globals]. VariablesView adapted to locals and globals. Added support for displaying arrays in VariablesView.</nowiki>

comment:
  Changed: [[info vars]] is now splited to [[info locals]] and [[info globals]]. VariablesView adapted to locals and globals. Added support for displaying arrays in VariablesView.


type: ci
user: dmp
ecomment:
  Fixed "current directory" in debug mode (previously set to projectDirectory, now it's a parent directory for tclRunFile). Added "cd" to proper one directory for "Run" functionality.

comment:
  Fixed "current directory" in debug mode (Previously was set to projectDirectory, now it's a parent directory for tclRunFile). Added "cd" to proper one for "Run" functionality.


type: ci
user: dmp
comment:
  Fixed debugServer.tcl. Protocol is newline-based, so newlines are filtered now: <nowiki> [ string map {"\n" "\\n"} $value  ] </nowiki>.


type: ci
user: dmp
comment:
  Fixed issue with new version of debugServer.tcl in Netbeans User Directory. Output from debugServer.tcl changed to stderr.


type: ci
user: dmp
comment:
  Added support for "Run to Cursor". Changed TclDebuggerUtils to use org.netbeans.spi.debugger.ui.EditorContextDispatcher.


type: ci
user: dmp
comment:
  Added implementation of WatchesView via TclWatchesModel class. Added required META-INF/ registrations. Default Netbeans icons for LocalVariables and Watches have been set instead of blank symbols.


type: ci
user: dmp
comment:
  Breakpoints related classes moved to new package: org.netbeans.modules.languages.tcl.debugger.breakpoints. Removed unused code in TclDebuggerUtils.


type: ci
user: dmp
comment:
  Created own implementation of "Add New Watch" action. Registered NodeActionsProvider for WatchesView. Package org.netbeans.modules.languages.tcl.debugger.variables splited to *.variables and new org.netbeans.modules.languages.tcl.debugger.watches package. Removed all compiler warnings.


type: ci
user: dmp
comment:
  Added own BreakpointsView - created classes TclBreakpointsModel and TclBreakpointsNodeActionsProvider. TclBreakpointsModel is updated after changes by TclDebuggerListener. Added new method to update TclWatchesModel, class can be accessed via Lookup. Classes from *.watches package have been changed to use lookupFirst() for TclWatchesModel.


type: ci
user: dmp
comment:
  Added a lock to action handlers in TclDebuggerJavaPart to protect from fast clicking on action buttons (it used to produce exceptions before). CallStackView implemented in debugServer.tcl. Updated TclDebuggerJavaPart to retrieve CallStackElements from debugServer.tcl.


type: ci
user: dmp
comment:
  Added new package org.netbeans.modules.languages.tcl.debugger.callstack and class TclCallStackElement. Should be added in previous commit.


type: ci
user: dmp
comment:
  Added CallStackView implementation. Registration using META-INF/debugger/TclSession/CallStackView/*. New classes in *.callstack package to handle Model, Columns and Actions. Corrected callStack implementation in debugServer.tcl.


type: ci
user: dmp
comment:
  Fixed lock on DebugSession and corrected inspiritDebugScriptFromResources() method in TclDebuggerJavaPart class.


type: ci
user: dmp
comment:
  Fixed possible null pointer exception inside getGroupName() method in TclBreakpoint class. Fixed debugger behaviour when socket is already used, to solve that, added isInactive() method to RunTclsh class.


# ticket

tkt_uuid: f35484178cb02bff9b56f3123076058e2ee7354a
type: Incident
status: Open
severity: Important
foundin: current
private_contact: cf5b0ad844057381d3efe598bd73878da7a1d6f9
title: single quotes in braces cause a hang or spin - fix proposed
comment:
  Where text is enclosed by braces {...} a single quote (') causes the lexer to spin. The fix seems to be to add a rule to the grammar thus:

  SQUOTE
          :       '\'' { $channel = HIDDEN; }
          ;

  Single quotes occur frequently when using Tcl to generate SQL.


tkt_uuid: 2dffbf74d3735a7bcfb2079032a7c1d7c4de11bb
type: Feature_Request
status: Open
severity: Minor
foundin: 2012-12-30 for NB7.2
private_contact: 61e3e360b9de6710bee979440213c28f2f0889f3
title: Separate project files and the actual source code
comment:
  When I try to create a Tcl project to manage my Tcl scripts, I'd like to have all the Netbeans project files being separated from my actual Tcl scripts. However, it seems the file scope is limited to project folder, and I have to move the source scripts to the project folder.

  If it's truly something missing, please add the feature. I'd expect it's something like the Netbeans Java or C projects. You may experience it by click "New Project..." and then select either Java or C/C++ projects, and then choose the "... with existing source" option. Netbeans will ask for the project folder, and then the directories of the actual source code.

  Anyway, thank you for providing the plug-in. It's very impressive!


