]> git.phdru.name Git - phdru.name/cgi-bin/blog-ru/search-tags.git/log
phdru.name/cgi-bin/blog-ru/search-tags.git
7 years agoVersion 0.4: use grako instead of PLY v0.4
Oleg Broytman [Sun, 10 Jul 2016 23:03:47 +0000 (02:03 +0300)]
Version 0.4: use grako instead of PLY

7 years agoAdd git aliases to commit/tag with a message from ChangeLog
Oleg Broytman [Sun, 10 Jul 2016 22:59:27 +0000 (01:59 +0300)]
Add git aliases to commit/tag with a message from ChangeLog

7 years agoGrako-based parser seems to be working fine
Oleg Broytman [Sun, 10 Jul 2016 22:54:43 +0000 (01:54 +0300)]
Grako-based parser seems to be working fine

7 years agoChange grammar to support priority of operation
Oleg Broytman [Sun, 10 Jul 2016 22:35:47 +0000 (01:35 +0300)]
Change grammar to support priority  of operation

Build priority of OR > AND > NOT > () right into the grammar.

Avoid left recursion - PEG parsers don't like it and grako behaves
strange.

7 years agoCompile the parser to byte-code
Oleg Broytman [Sun, 10 Jul 2016 22:34:39 +0000 (01:34 +0300)]
Compile the parser to byte-code

7 years agoThis will be version 0.4
Oleg Broytman [Sat, 9 Jul 2016 18:39:26 +0000 (21:39 +0300)]
This will be version 0.4

7 years agoUse new grako-based parser
Oleg Broytman [Sat, 9 Jul 2016 18:39:06 +0000 (21:39 +0300)]
Use new grako-based parser

7 years agoUse grako instead of PLY to compile EBNF to Python
Oleg Broytman [Sat, 9 Jul 2016 18:38:17 +0000 (21:38 +0300)]
Use grako instead of PLY to compile EBNF to Python

First try. Most tests work.

7 years agoHTML-escape expression in the output (to quote &)
Oleg Broytman [Sat, 9 Jul 2016 18:30:57 +0000 (21:30 +0300)]
HTML-escape expression in the output (to quote &)

7 years agoFactor out parser.parse() into self._parse
Oleg Broytman [Sat, 9 Jul 2016 18:20:59 +0000 (21:20 +0300)]
Factor out parser.parse() into self._parse

7 years agoTODO: HTML-escape expression in the output (to quote &)
Oleg Broytman [Sat, 9 Jul 2016 15:55:40 +0000 (18:55 +0300)]
TODO: HTML-escape expression in the output (to quote &)

7 years agoTODO: use grako instead of PLY
Oleg Broytman [Sat, 9 Jul 2016 15:54:31 +0000 (18:54 +0300)]
TODO: use grako instead of PLY

7 years agoUpdate TODO: group/sort posts by date or tags
Oleg Broytman [Sun, 26 Jun 2016 18:43:42 +0000 (21:43 +0300)]
Update TODO: group/sort posts by date or tags

8 years agoAdd README
Oleg Broytman [Fri, 27 Nov 2015 21:40:45 +0000 (00:40 +0300)]
Add README

8 years agoRemove update
Oleg Broytman [Thu, 11 Jun 2015 13:11:36 +0000 (16:11 +0300)]
Remove update

8 years agoRefactor update script
Oleg Broytman [Fri, 5 Jun 2015 18:58:30 +0000 (21:58 +0300)]
Refactor update script

8 years agoClear TODO
Oleg Broytman [Fri, 5 Jun 2015 18:56:22 +0000 (21:56 +0300)]
Clear TODO

9 years agoUpdate version
Oleg Broytman [Fri, 25 Jul 2014 11:01:09 +0000 (15:01 +0400)]
Update version

9 years agochmod -R a+rX cgi-bin
Oleg Broytman [Sun, 22 Jun 2014 15:59:05 +0000 (19:59 +0400)]
chmod -R a+rX cgi-bin

9 years agoCopy files generated by yacc to cgi-bin
Oleg Broytman [Sun, 22 Jun 2014 15:56:40 +0000 (19:56 +0400)]
Copy files generated by yacc to cgi-bin

9 years agoVersion 0.3 v0.3
Oleg Broytman [Sun, 22 Jun 2014 15:34:52 +0000 (19:34 +0400)]
Version 0.3

9 years agoAllow 'NOT ' and 'not '
Oleg Broytman [Sun, 22 Jun 2014 15:32:58 +0000 (19:32 +0400)]
Allow 'NOT ' and 'not '

9 years agoFix handling of uppercase AND/OR
Oleg Broytman [Sun, 22 Jun 2014 00:14:55 +0000 (04:14 +0400)]
Fix handling of uppercase AND/OR

9 years agoReorder handling: AND - OR - NOT
Oleg Broytman [Sun, 22 Jun 2014 00:03:52 +0000 (04:03 +0400)]
Reorder handling: AND - OR - NOT

9 years agoAllow ' OR ' and ' or '
Oleg Broytman [Sun, 22 Jun 2014 00:00:40 +0000 (04:00 +0400)]
Allow ' OR ' and ' or '

9 years agoAllow ' AND ' and ' and '
Oleg Broytman [Sat, 21 Jun 2014 23:49:24 +0000 (03:49 +0400)]
Allow ' AND ' and ' and '

9 years agoChange handling of spaces
Oleg Broytman [Sat, 21 Jun 2014 23:27:13 +0000 (03:27 +0400)]
Change handling of spaces

AND/NOT/OR operators require spaces if subexpressions are not in
parentheses so ignoring whitespace no longer works.

9 years agoExtend the comment
Oleg Broytman [Sat, 21 Jun 2014 23:26:25 +0000 (03:26 +0400)]
Extend the comment

9 years agoIgnore parser.out and parsetab.py in parser/ subdir
Oleg Broytman [Sat, 21 Jun 2014 23:01:43 +0000 (03:01 +0400)]
Ignore parser.out and parsetab.py in parser/ subdir

9 years agoAllow '||'
Oleg Broytman [Sat, 21 Jun 2014 19:27:27 +0000 (23:27 +0400)]
Allow '||'

9 years agoAllow '&&'
Oleg Broytman [Sat, 21 Jun 2014 19:23:14 +0000 (23:23 +0400)]
Allow '&&'

9 years agoTODO: lowercase operators
Oleg Broytman [Fri, 20 Jun 2014 09:41:40 +0000 (13:41 +0400)]
TODO: lowercase operators

9 years agoVersion 0.2: allow spaces v0.2
Oleg Broytman [Fri, 6 Jun 2014 15:53:39 +0000 (19:53 +0400)]
Version 0.2: allow spaces

9 years agoTODO: NOT
Oleg Broytman [Fri, 6 Jun 2014 15:53:08 +0000 (19:53 +0400)]
TODO: NOT

9 years agoForce spaces in AND/OR
Oleg Broytman [Fri, 6 Jun 2014 15:52:35 +0000 (19:52 +0400)]
Force spaces in AND/OR

9 years agoRemove excessive .gitignore
Oleg Broytman [Fri, 6 Jun 2014 15:48:56 +0000 (19:48 +0400)]
Remove excessive .gitignore

9 years agoIgnore spaces
Oleg Broytman [Fri, 6 Jun 2014 15:47:56 +0000 (19:47 +0400)]
Ignore spaces

9 years agoProcess expression in parentheses
Oleg Broytman [Fri, 6 Jun 2014 15:40:01 +0000 (19:40 +0400)]
Process expression in parentheses

9 years agoVersion 0.1 v0.1
Oleg Broytman [Sun, 25 May 2014 12:23:30 +0000 (16:23 +0400)]
Version 0.1

9 years agoFix a bug: do not override title
Oleg Broytman [Tue, 20 May 2014 14:27:56 +0000 (18:27 +0400)]
Fix a bug: do not override title

9 years agoChange list implementation from <br> to <ul>
Oleg Broytman [Tue, 20 May 2014 14:24:36 +0000 (18:24 +0400)]
Change list implementation from <br> to <ul>

9 years agoReturn y/m/d
Oleg Broytman [Tue, 20 May 2014 14:23:40 +0000 (18:23 +0400)]
Return y/m/d

9 years agoThis directory is specifically for searching tags
Oleg Broytman [Tue, 20 May 2014 06:50:47 +0000 (10:50 +0400)]
This directory is specifically for searching tags

9 years agoCopy generated files and compile bytecode files in cgi
Oleg Broytman [Tue, 20 May 2014 06:45:41 +0000 (10:45 +0400)]
Copy generated files and compile bytecode files in cgi

9 years agoGet cgi from origin before cd'ing to current
Oleg Broytman [Tue, 20 May 2014 06:37:05 +0000 (10:37 +0400)]
Get cgi from origin before cd'ing to current

9 years agoFix paths
Oleg Broytman [Tue, 20 May 2014 06:32:43 +0000 (10:32 +0400)]
Fix paths

9 years agoFix a bug: pull from origin because cgi isn't bare
Oleg Broytman [Tue, 20 May 2014 06:25:30 +0000 (10:25 +0400)]
Fix a bug: pull from origin because cgi isn't bare

Pull from origin in cgi because it's checked out directory.

9 years agoPush to cgi-bin
Oleg Broytman [Tue, 20 May 2014 06:21:27 +0000 (10:21 +0400)]
Push to cgi-bin

9 years agoSort in reverse chronological order
Oleg Broytman [Tue, 20 May 2014 06:15:11 +0000 (10:15 +0400)]
Sort in reverse chronological order

9 years agoFix paths
Oleg Broytman [Tue, 20 May 2014 06:02:34 +0000 (10:02 +0400)]
Fix paths

9 years agoAdd docstrings
Oleg Broytman [Tue, 20 May 2014 06:02:02 +0000 (10:02 +0400)]
Add docstrings

9 years agoRename calc_tree to find_tags
Oleg Broytman [Tue, 20 May 2014 06:00:48 +0000 (10:00 +0400)]
Rename calc_tree to find_tags

9 years agoSave files generated by yacc
Oleg Broytman [Tue, 20 May 2014 04:38:28 +0000 (08:38 +0400)]
Save files generated by yacc

9 years agoFix comment
Oleg Broytman [Tue, 20 May 2014 04:37:21 +0000 (08:37 +0400)]
Fix comment

9 years agoProcess tree (parsed expression)
Oleg Broytman [Tue, 20 May 2014 04:19:21 +0000 (08:19 +0400)]
Process tree (parsed expression)

Recursively evaluate the tree for every post and return a list
of matched posts.

9 years agoСообщать, что тег не найден, по-русски
Oleg Broytman [Tue, 20 May 2014 03:41:28 +0000 (07:41 +0400)]
Сообщать, что тег не найден, по-русски

9 years agoProcess single tag
Oleg Broytman [Tue, 20 May 2014 03:29:24 +0000 (07:29 +0400)]
Process single tag

Verify the tag exists and do a redirect to its static page.

9 years agoCopy <title/> to <h1/>
Oleg Broytman [Tue, 20 May 2014 03:05:07 +0000 (07:05 +0400)]
Copy <title/> to <h1/>

9 years agoRemove and ignore *.py files generated from templates
Oleg Broytman [Tue, 20 May 2014 03:04:24 +0000 (07:04 +0400)]
Remove and ignore *.py files generated from templates

9 years agoParse the query and report lexer errors
Oleg Broytman [Tue, 20 May 2014 02:59:30 +0000 (06:59 +0400)]
Parse the query and report lexer errors

9 years agoAllow 1-character names
Oleg Broytman [Tue, 20 May 2014 02:58:04 +0000 (06:58 +0400)]
Allow 1-character names

9 years agoMove parser-related code and tests to parser/
Oleg Broytman [Tue, 20 May 2014 02:51:47 +0000 (06:51 +0400)]
Move parser-related code and tests to parser/

9 years agoReport error if required parameter 'q' is missing
Oleg Broytman [Tue, 20 May 2014 02:44:39 +0000 (06:44 +0400)]
Report error if required parameter 'q' is missing

9 years agoMove http/html-related code to html subdirectory
Oleg Broytman [Tue, 20 May 2014 02:43:11 +0000 (06:43 +0400)]
Move http/html-related code to html subdirectory

9 years agoAllow the script to be run only in the origin directory
Oleg Broytman [Tue, 20 May 2014 00:55:36 +0000 (04:55 +0400)]
Allow the script to be run only in the origin directory

9 years agoAdd TODO
Oleg Broytman [Mon, 19 May 2014 21:07:00 +0000 (01:07 +0400)]
Add TODO

9 years agoAdd ChangeLog: version 0.1
Oleg Broytman [Mon, 19 May 2014 21:06:46 +0000 (01:06 +0400)]
Add ChangeLog: version 0.1

9 years agoAdd search-tags.py
Oleg Broytman [Mon, 19 May 2014 21:06:06 +0000 (01:06 +0400)]
Add search-tags.py

9 years agoAdd search_tags.tmpl (CheetahTemplate)
Oleg Broytman [Mon, 19 May 2014 21:04:02 +0000 (01:04 +0400)]
Add search_tags.tmpl (CheetahTemplate)

9 years agoAdd parser
Oleg Broytman [Mon, 19 May 2014 21:02:04 +0000 (01:02 +0400)]
Add parser

9 years agoAdd lexer
Oleg Broytman [Mon, 19 May 2014 21:00:27 +0000 (01:00 +0400)]
Add lexer

9 years agoIgnore python bytecode files
Oleg Broytman [Mon, 19 May 2014 20:55:54 +0000 (00:55 +0400)]
Ignore python bytecode files

9 years agoAdd update script
Oleg Broytman [Mon, 19 May 2014 17:33:10 +0000 (21:33 +0400)]
Add update script

9 years agoAdd README.html (for gitweb)
Oleg Broytman [Mon, 19 May 2014 17:32:49 +0000 (21:32 +0400)]
Add README.html (for gitweb)