8000 Tags · c9s/r3 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: c9s/r3

Tags

1.3.4

Toggle 1.3.4's commit message
Fix r3_str.h header protection

bench-15M

Toggle bench-15M's commit message
Benchmark reach 15.1M str dispatch on Macbook Pro Retina

1.3.3

Toggle 1.3.3's commit message
update changelogs

1.3.2

Toggle 1.3.2's commit message
bump version to 1.3.2

1.3.1

Toggle 1.3.1's commit message
CHECK_PTR

1.3.0

Toggle 1.3.0's commit message
by Yo-An Lin <yoanlin93@gmail.com>

- Added Incorrect slug syntax warnings
- Added error message support for pcre/pcre-jit compile
- Added JSON encode support for the tree structure
- Improved Graphivz Related Functions
- More failing test cases

- Bug fixes.
- Function declaration improvement.
- pkg-config flags update (r3.pc)

- Added simple pattern optimization.
- Clean up.
- Bug fixes.

API changes:

1. Removed the `route` argument from `r3_tree_insert_pathl_ex`:

        node * r3_tree_insert_pathl_ex(node *tree, char *path, int path_len, void * data);

    This reduce the interface complexity, e.g.,

        r3_tree_insert_path(n, "/user2/{id:\\d+}", &var2);

2. The original `r3_tree_insert_pathl_ex` has been moved to `r3_tree_insert_pathl_ex` as a private API.

3. Moved `r3_tree_matchl` to `r3_tree_matchl` since it require the length of the path string.

        m = r3_tree_matchl( n , "/foo", strlen("/foo"), entry);

4. Added `r3_tree_match` for users to match a path without the length of the path string.

        m = r3_tree_match( n , "/foo", entry);

5. Added `r3_tree_match_entry` for users want to match a `match_entry`, which is just a macro to simplify the use:

        #define r3_tree_match_entry(n, entry) r3_tree_matchl(n, entry->path, entry->path_len, entry)

6. Please note that A path that is inserted by `r3_tree_insert_route` can only be matched by `r3_tree_match_route`.

7. Added `r3_` prefix to `route` related methods.

1.2.2

Toggle 1.2.2's commit message
Release 1.2.
7EB8
2

1.2.1

Toggle 1.2.1's commit message
Release 1.2.1

1.2.0

Toggle 1.2.0's commit message
- Added simple pattern optimization.

- Clean up.
- Bug fixes.

API changes:

1. Removed the `route` argument from `r3_tree_insert_pathl_`:

        node * r3_tree_insert_pathl_(node *tree, char *path, int path_len, void * data);

    This reduce the interface complexity, e.g.,

        r3_tree_insert_path(n, "/user2/{id:\\d+}", &var2);

2. The original `r3_tree_insert_pathl_` has been moved to `r3_tree_insert_pathl_` as a private API.

3. Moved `r3_tree_matchl` to `r3_tree_matchl` since it require the length of the path string.

        m = r3_tree_matchl( n , "/foo", strlen("/foo"), entry);

4. Added `r3_tree_match` for users to match a path without the length of the path string.

        m = r3_tree_match( n , "/foo", entry);

5. Added `r3_tree_match_entry` for users want to match a `match_entry`, which is just a macro to simplify the use:

        #define r3_tree_match_entry(n, entry) r3_tree_matchl(n, entry->path, entry->path_len, entry)

6. Please note that A path that is inserted by `r3_tree_insert_route` can only be matched by `r3_tree_match_route`.

7. Added `r3_` prefix to `route` related methods.

1.0.0

Toggle 1.0.0's commit message
Update test results

0