You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2007/01/28 15:28:04 UTC

[jira] Created: (DIRSTUDIO-47) Improve filter widget and filter editor dialog

Improve filter widget and filter editor dialog
----------------------------------------------

                 Key: DIRSTUDIO-47
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-47
             Project: Directory LDAP Studio
          Issue Type: Improvement
            Reporter: Stefan Seelmann
         Assigned To: Stefan Seelmann


The filter widget is used in search dialog, export wizards, batch wizard and filter children dialog. It has to be improved:
- Currently the filter widget accecpts malformed filters.
- Add support for extensible matching.
- Replace poor internal filter parser by the rich sharded-ldap filter parser. Perhaps the shared-ldap filter model and parser must be extended to track token offsets.
- Improve content assistent


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSTUDIO-47) Improve filter widget and filter editor dialog

Posted by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot updated DIRSTUDIO-47:
--------------------------------------------

    Fix Version/s:     (was: 0.9.0)
                   1.0.0

> Improve filter widget and filter editor dialog
> ----------------------------------------------
>
>                 Key: DIRSTUDIO-47
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-47
>             Project: Directory Studio
>          Issue Type: Improvement
>          Components: studio-browser
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>             Fix For: 1.0.0
>
>
> The filter widget is used in search dialog, export wizards, batch wizard and filter children dialog. It has to be improved:
> - Currently the filter widget accecpts malformed filters.
> - Add support for extensible matching.
> - Replace poor internal filter parser by the rich sharded-ldap filter parser. Perhaps the shared-ldap filter model and parser must be extended to track token offsets.
> - Improve content assistent

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-47) Improve filter widget and filter editor dialog

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-47?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497310 ] 

Stefan Seelmann commented on DIRSTUDIO-47:
------------------------------------------

I tried to include the shared-ldap filter parser into LS, however the antlr based filter parser in shared-ldap doesn't fit the needs of an filter parser in LS:

* Parse incomplete filters: The shared-ldap parser is designed to parse complete filters. But it isn't possible to parse incomplete filters. When typing the filter into the text field, for example 
  (teleph 
the antlr based filter parser just throws and exception "unexpected token". It doesn't provide any information about the edited part of the filter and it isn't possible to provide context sensitive content assistence to the user.

* Error tolerance: The antlr based parser stops if an unexpected character occurs. For a filter builder it is necessary to have an parser that continues when unexpected characters occurs. That makes it possible to mark (red squirrel) the invalid characters in the editor.

* Position tracking: For a filter builder it is necessary to get the position of each token (left parenthesis, attribute, assertion, value, ...) to enable syntax highlighting and context sensitive content assistent. With the antlr based parser it is possible to track the line and columnt but it doesn't fit the Eclipse editor framework reqirements. 

For that reasons I prefer to to keep and improve the hand-written filter parser in LS.


> Improve filter widget and filter editor dialog
> ----------------------------------------------
>
>                 Key: DIRSTUDIO-47
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-47
>             Project: Directory LDAP Studio
>          Issue Type: Improvement
>          Components: ldapstudio-browser
>            Reporter: Stefan Seelmann
>         Assigned To: Stefan Seelmann
>             Fix For: 0.9.0
>
>
> The filter widget is used in search dialog, export wizards, batch wizard and filter children dialog. It has to be improved:
> - Currently the filter widget accecpts malformed filters.
> - Add support for extensible matching.
> - Replace poor internal filter parser by the rich sharded-ldap filter parser. Perhaps the shared-ldap filter model and parser must be extended to track token offsets.
> - Improve content assistent

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSTUDIO-47) Improve filter widget and filter editor dialog

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann updated DIRSTUDIO-47:
-------------------------------------

    Component/s: ldapstudio-browser

> Improve filter widget and filter editor dialog
> ----------------------------------------------
>
>                 Key: DIRSTUDIO-47
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-47
>             Project: Directory LDAP Studio
>          Issue Type: Improvement
>          Components: ldapstudio-browser
>            Reporter: Stefan Seelmann
>         Assigned To: Stefan Seelmann
>
> The filter widget is used in search dialog, export wizards, batch wizard and filter children dialog. It has to be improved:
> - Currently the filter widget accecpts malformed filters.
> - Add support for extensible matching.
> - Replace poor internal filter parser by the rich sharded-ldap filter parser. Perhaps the shared-ldap filter model and parser must be extended to track token offsets.
> - Improve content assistent

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DIRSTUDIO-47) Improve filter widget and filter editor dialog

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann updated DIRSTUDIO-47:
-------------------------------------

    Fix Version/s: 0.9.0

> Improve filter widget and filter editor dialog
> ----------------------------------------------
>
>                 Key: DIRSTUDIO-47
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-47
>             Project: Directory LDAP Studio
>          Issue Type: Improvement
>          Components: ldapstudio-browser
>            Reporter: Stefan Seelmann
>         Assigned To: Stefan Seelmann
>             Fix For: 0.9.0
>
>
> The filter widget is used in search dialog, export wizards, batch wizard and filter children dialog. It has to be improved:
> - Currently the filter widget accecpts malformed filters.
> - Add support for extensible matching.
> - Replace poor internal filter parser by the rich sharded-ldap filter parser. Perhaps the shared-ldap filter model and parser must be extended to track token offsets.
> - Improve content assistent

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DIRSTUDIO-47) Improve filter widget and filter editor dialog

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann closed DIRSTUDIO-47.
------------------------------------

    Resolution: Fixed

Resolved in commits http://svn.apache.org/viewvc?view=rev&revision=543272 and http://svn.apache.org/viewvc?view=rev&revision=545640

> Improve filter widget and filter editor dialog
> ----------------------------------------------
>
>                 Key: DIRSTUDIO-47
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-47
>             Project: Directory Studio
>          Issue Type: Improvement
>          Components: studio-browser
>            Reporter: Stefan Seelmann
>            Assignee: Stefan Seelmann
>             Fix For: 0.9.0
>
>
> The filter widget is used in search dialog, export wizards, batch wizard and filter children dialog. It has to be improved:
> - Currently the filter widget accecpts malformed filters.
> - Add support for extensible matching.
> - Replace poor internal filter parser by the rich sharded-ldap filter parser. Perhaps the shared-ldap filter model and parser must be extended to track token offsets.
> - Improve content assistent

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.