Skip to content

Commit

Permalink
[fix] Fix win builds and friso resources
Browse files Browse the repository at this point in the history
force-build-all
Squashed commit of the following:

commit bfe861ee11f87e13dbff6eb057dca274efefc45e
Author: APl <[email protected]>
Date:   Fri Nov 29 16:24:26 2024 +0300

    force-build-all

commit fe5493cafb9b0ee726fc22c7e3cf2536d8288804
Author: APl <[email protected]>
Date:   Fri Nov 29 14:42:32 2024 +0300

    force-build-all

commit f7a4a9f0497b820972e6fd239d082a6e1c482731
Author: APl <[email protected]>
Date:   Fri Nov 29 13:26:56 2024 +0300

    force-build-all

commit 23a93c88558919b3054c8a6bb97250854e6da3d4
Author: APl <[email protected]>
Date:   Fri Nov 29 13:21:40 2024 +0300

    force-build-all

commit 61eec8978897568bfa75108e4cdda240ccc4fa5e
Author: APl <[email protected]>
Date:   Fri Nov 29 12:48:02 2024 +0300

    force-build-all

commit a8ea6316a58b9538843ee8181d6974b3db87ef28
Author: APl <[email protected]>
Date:   Fri Nov 29 11:52:15 2024 +0300

    force-build-all

commit e45a739fb994b5d7c84823ececf3822d1484be86
Author: APl <[email protected]>
Date:   Fri Nov 29 11:41:24 2024 +0300

    force-build-all

commit bae8810a58458ed757760c11997a79e317ccb8f4
Author: APl <[email protected]>
Date:   Fri Nov 29 11:06:11 2024 +0300

    force-build-all

commit dab73ad7e59a322c763586ec47ce06b6b5a11c4e
Author: APl <[email protected]>
Date:   Fri Nov 29 10:26:45 2024 +0300

    force-build-all
  • Loading branch information
reindexer-bot committed Nov 29, 2024
1 parent a3e5a37 commit eba8cb0
Show file tree
Hide file tree
Showing 114 changed files with 241,486 additions and 1,402 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-13]
os: [ubuntu-22.04, macos-13]
include:
- os: ubuntu-24.04
cc: gcc-12
cxx: g++-12
- os: ubuntu-latest
sanitizer: ASAN
cc: gcc-10
Expand Down Expand Up @@ -111,7 +114,7 @@ jobs:
test:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-13]
os: [ubuntu-22.04, ubuntu-24.04, macos-13]
test: ['C++', 'GO']
include:
- os: ubuntu-latest
Expand Down Expand Up @@ -188,7 +191,7 @@ jobs:
test-pyreindexer:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
os: [ubuntu-22.04, ubuntu-24.04]
fail-fast: false
runs-on: ${{matrix.os}}
needs: build
Expand Down
39 changes: 39 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
# Version 3.30.0 (29.11.2024)
## Core
- [fea] Optimized memory layout for `-tuple`-index (this slightly reduces memory consumation for any `reindexer` database)
- [fea] Added [dragonbox](https://github.com/jk-jeon/dragonbox)/[fmt](https://github.com/fmtlib/fmt) instead of [double-conversion](https://github.com/google/double-conversion) for JSON floating point number serialization (the dragonbox serialization works about 2 times faster)
- [fix] Fixed assertion in aggregations by `composite indexes`

## Fulltext
- [fea] Added basic support for Korean symbols
- [fea] Added basic support for Japanese Katakana symbols
- [fea] Added alternative tokenizer based on [friso](https://github.com/lionsoul2014/friso) for Chinese language splitting. [Read more...](fulltext.md#text-splitters). Current implementation works only for chinese and english symbols and will be extended in further releases

## Reindexer server
- [fix] Fixed logical operations(`OR`/`NOT`) handling for `joined`-queries in `JSON DSL` (method `POST /api/v1/db/<db>/query`)
- [fix] Unified `int<->double` conversion logic for `JSON`/`MgsPack`/`Protobuf`

## Reindexer tool
- [fix] Fixed `\bench` command for `ucproto`-mode

## CPP client
- [fix] Fixed `precepts` in client's transaction
- [fix] Fixed `DWITHIN` condition serialization for select `Query`-object
- [fix] Fixed fulltext select functions serialization for select `Query`-object
- [fix] Fixed `SetObject` serialization for update `Query`-object

## Build
- [fix] Fixed build for `MinGW 14.1.0/14.2.0`

## Deploy
- [upd] Added deploy for `Fedora 41` packages
- [upd] Deprecated deploy for `Fedora 39` packages

## Face
- [fea] Added disabled mode for selectors on the NS config page
- [fea] Added `column_size` field to Memory statistics table
- [fix] Fixed scroll position on NS menu
- [fix] Fixed doubled requests on Indexes and Items pages
- [fix] Fixed wrong info message about disabled statistics when the database do not have Namespaces
- [fix] Fixed last row position in Memory statistics table

# Version 3.29.0 (08.10.2024)
## Core
- [fea] Added Chinese and Japanese symbols into locale. Currently those symbols will be indexed by fulltext engine (using space-separators), but proper tokenization for the languages will be added in the separate release
Expand Down
6 changes: 3 additions & 3 deletions cjson/creflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ type payloadIface struct {
func (pl *payloadIface) ptr(field, idx, typ int) unsafe.Pointer {

if pl.p == 0 {
panic(fmt.Errorf("Null pointer derefernce"))
panic(fmt.Errorf("Null pointer dereference"))
}

f := &pl.t.Fields[field]
Expand All @@ -91,7 +91,7 @@ func (pl *payloadIface) ptr(field, idx, typ int) unsafe.Pointer {

if !f.IsArray {
if idx != 0 {
panic(fmt.Errorf("Trying to acces by index '%d' to non array field '%s'", idx, f.Name))
panic(fmt.Errorf("Trying to access by index '%d' to non array field '%s'", idx, f.Name))
}
return p
}
Expand Down Expand Up @@ -197,7 +197,7 @@ func (pl *payloadIface) getArrayLen(field int) int {
return int((*ArrayHeader)(p).len)
}

// get c reflect value and set to go reflect valie
// get c reflect value and set to go reflect value
func (pl *payloadIface) getValue(field int, idx int, v reflect.Value) {

k := v.Type().Kind()
Expand Down
31 changes: 0 additions & 31 deletions clang-tidy/.clang-tidy

This file was deleted.

10 changes: 0 additions & 10 deletions clang-tidy/.clang-tidy-ignore

This file was deleted.

Loading

0 comments on commit eba8cb0

Please sign in to comment.