issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
262k
⌀
issue_title
stringlengths
1
1.02k
issue_comments_url
stringlengths
53
116
issue_comments_count
int64
0
2.49k
issue_created_at
stringdate
1999-03-17 02:06:42
2025-06-23 11:41:49
issue_updated_at
stringdate
2000-02-10 06:43:57
2025-06-23 11:43:00
issue_html_url
stringlengths
34
97
issue_github_id
int64
132
3.17B
issue_number
int64
1
215k
[ "dvidelabs", "flatcc" ]
We use GCC's `-Wstrict-prototypes` option in our project. However, it leads to issue a diagnostic about one of the declarations produced by the `__flatcc_basic_scalar_accessors_impl` macro: ``` /work/flatcc/include/flatcc/flatcc_endian.h:80:41: error: function declaration isn’t a prototype [-Werror=strict-prototype...
Macro produces declaration incompatible with GCC -Wstrict-prototypes option
https://api.github.com/repos/dvidelabs/flatcc/issues/122/comments
5
2019-07-26T03:58:28Z
2019-07-26T14:27:34Z
https://github.com/dvidelabs/flatcc/issues/122
473,165,731
122
[ "dvidelabs", "flatcc" ]
Normally with a cmake project you can do: ``` cmake -DCMAKE_INSTALL_PREFIX=install/to/this/directory make make install ``` ...and it will install binaries, headers, and libs to `install/to/this/directory`. I don't see a way to do this with flatcc, but maybe I'm missing something obvious. How would I go about in...
"make install" to a custom directory
https://api.github.com/repos/dvidelabs/flatcc/issues/121/comments
3
2019-07-10T21:53:19Z
2019-07-12T06:54:08Z
https://github.com/dvidelabs/flatcc/issues/121
466,541,129
121
[ "dvidelabs", "flatcc" ]
`%X` expects `unsigned int` but `uin32_t` may be anything. https://github.com/dvidelabs/flatcc/blob/fbaba3cc982cdc5e88f54125b6d2af448ba464e0/include/flatcc/portable/grisu3_print.h#L192 Using macros from `inttypes.h` for printf and scanf format specifiers may solve that problem ```c if ((u64 << 1) > 0xFFE000000...
Compile Error: "Format" %X expects 'unsigned int'
https://api.github.com/repos/dvidelabs/flatcc/issues/119/comments
2
2019-06-04T10:02:57Z
2019-07-15T08:07:20Z
https://github.com/dvidelabs/flatcc/issues/119
451,907,078
119
[ "dvidelabs", "flatcc" ]
I wonder there exists some errors in include/flatcc/flatcc_alloc.h at line 107: https://github.com/dvidelabs/flatcc/blob/8f88bf257d3d652b53b89e5298bda9badb833ab0/include/flatcc/flatcc_alloc.h#L99-L109 I think it should define `FLATCC_ALIGNED_FREE` rather than `FLATCC_ALIGNED`, it will effect when FLATCC_USE_GENERIC...
All testcases crash when use -DFLATCC_USE_GENERIC_ALIGNED_ALLOC
https://api.github.com/repos/dvidelabs/flatcc/issues/118/comments
15
2019-05-09T11:35:53Z
2019-05-09T12:54:32Z
https://github.com/dvidelabs/flatcc/issues/118
442,191,059
118
[ "dvidelabs", "flatcc" ]
Looking at the flatcc tutorial, I found something strange: In https://github.com/dvidelabs/flatcc/blob/master/samples/monster/monster.c#L32 Should: `ns(Weapon_ref_t) weapon_one_name = flatbuffers_string_create_str(B, "Sword");` not be instead: `flatbuffers_string_ref_t weapon_one_name = flatbuffers_string_cr...
Tutorial: Weapon_ref_t vs flatbuffers_string_ref_t
https://api.github.com/repos/dvidelabs/flatcc/issues/116/comments
5
2019-04-22T16:45:20Z
2019-04-24T17:50:24Z
https://github.com/dvidelabs/flatcc/issues/116
435,795,142
116
[ "dvidelabs", "flatcc" ]
Thank-you for creating a great library! I encounter a problem when using flatcc compiler to generate code in C language. # Steps to reproduce the problem 1. I write a schema to define a table with id attribute on table field. Here is the example. I did not place the fields in sequence order and put the max id at...
Flactcc falls into an infinite loop when generate a table with id attributes
https://api.github.com/repos/dvidelabs/flatcc/issues/112/comments
13
2019-03-29T04:09:21Z
2019-03-30T06:59:57Z
https://github.com/dvidelabs/flatcc/issues/112
426,807,803
112
[ "dvidelabs", "flatcc" ]
I have created a schema and generated a header file. Trying to include this header in my project causes problems because the environment I work in forces -Werror=undef, and the flatcc headers in some places rely on undefined macros being zero. `gcc test.c -Werror=undef -I flatcc\include` ``` flatcc/include/flatc...
Problems with compile option -Werror=undef
https://api.github.com/repos/dvidelabs/flatcc/issues/111/comments
9
2019-03-22T07:54:02Z
2021-08-13T11:31:57Z
https://github.com/dvidelabs/flatcc/issues/111
424,085,922
111
[ "dvidelabs", "flatcc" ]
A basic ```cmake ../ & make``` ends up in two errors related to fall-through case statements in semantics.c, inside the `switch` statement in `function validate_table_attr()` [-Werror=implicit-fallthrough=]. Since you test for the very same condition in both `case` statements I doubt the fall-through is intentional...
Possible missing 'break' statements in semantics.c
https://api.github.com/repos/dvidelabs/flatcc/issues/110/comments
1
2019-03-07T16:04:01Z
2019-03-07T20:18:40Z
https://github.com/dvidelabs/flatcc/issues/110
418,388,365
110
[ "dvidelabs", "flatcc" ]
In 0.5.3 is missing a part of the solution: ``` diff src/runtime/CMakeLists.txt ../original/flatcc-0.5.3/src/runtime/CMakeLists.txt 15c15 < install(TARGETS flatccrt DESTINATION ${lib_dir}) --- > install(TARGETS flatccrt DESTINATION lib) ``` Without this, libraries are generated in lib64 but installed ...
configure dist lib name (again)
https://api.github.com/repos/dvidelabs/flatcc/issues/108/comments
8
2019-03-05T15:20:18Z
2019-03-07T09:35:38Z
https://github.com/dvidelabs/flatcc/issues/108
417,351,453
108
[ "dvidelabs", "flatcc" ]
My problem is that I'm trying to send a buf through message queues on linux. So I finalize the buffer with `buf = flatcc_builder_get_direct_buffer(&builder, &size);` and send it after with `mq_send(THREAD2_MQ, buf, sizeof(buf), 0); ` On the receiving end I have a char* buffer that is just getting nulls ...
Send flatcc buf with message queue
https://api.github.com/repos/dvidelabs/flatcc/issues/107/comments
5
2019-02-15T16:52:24Z
2019-02-15T17:40:29Z
https://github.com/dvidelabs/flatcc/issues/107
410,856,752
107
[ "dvidelabs", "flatcc" ]
This might be a silly question, but I'm trying to build my own C (with gcc) project using flatcc, and this error appears flatcc/flatcc_prologue.h: No such file or directory #include "flatcc/flatcc_prologue.h" I created and compiled my schema, and it happens when I run my gcc command I think I kno...
flatcc/flatcc_prologue.h: No such file or directory #include "flatcc/flatcc_prologue.h"
https://api.github.com/repos/dvidelabs/flatcc/issues/106/comments
9
2019-02-14T20:35:54Z
2019-10-31T16:30:07Z
https://github.com/dvidelabs/flatcc/issues/106
410,480,863
106
[ "dvidelabs", "flatcc" ]
Hello, Can flatcc json printer prints to JSON data encoded by Python encoder from flatbuffers library? Or it is incompatibe with data encoded by Python or other languages?
Print JSON question
https://api.github.com/repos/dvidelabs/flatcc/issues/105/comments
8
2019-02-14T16:20:20Z
2019-02-14T20:02:24Z
https://github.com/dvidelabs/flatcc/issues/105
410,380,143
105
[ "dvidelabs", "flatcc" ]
Hi, to deploy 64 bit libraries (shared objects) I modified a little some CMake .txt files and added a new flag to create a new lib64 directory. Running CMake with -DFLATCC_X64=on do the work. Example (bash script that installs all in a trash directory): ``` #!/bin/bash SOURCEDIR=/root/flatcc-0.5.2 cd ${SOU...
configure dist lib name, was: x86_64 shared object deploy
https://api.github.com/repos/dvidelabs/flatcc/issues/103/comments
17
2019-02-01T09:19:22Z
2019-02-21T18:15:50Z
https://github.com/dvidelabs/flatcc/issues/103
405,615,491
103
[ "dvidelabs", "flatcc" ]
I seem to have stumbled upon a segfault when using _pick() under particular circumstances. I've submitted a PR #101 with a repro. I'll paste the PR description here as well: > To repro, compile and run monster_test_d. > > See backtrace.txt and search for "XXX" inside of the following files > for important notes ...
Segfault when using _pick in certain circumstances
https://api.github.com/repos/dvidelabs/flatcc/issues/102/comments
7
2018-12-31T09:00:43Z
2019-01-03T10:15:18Z
https://github.com/dvidelabs/flatcc/issues/102
394,949,350
102
[ "dvidelabs", "flatcc" ]
Some DSPs have not uint16_t etc. It seems to be better use uint_fast16_t
https://api.github.com/repos/dvidelabs/flatcc/issues/100/comments
11
2018-11-03T22:24:55Z
2020-03-08T13:56:13Z
https://github.com/dvidelabs/flatcc/issues/100
377,099,050
100
[ "dvidelabs", "flatcc" ]
I want to use flatbuffers with arduino. I could not find working stdlib for C++, so I want to use flatcc. Code generated with flatcc compiles only in simplest cases. When I was just starting, I had a single table that compiled correctly. Now there is a complex structure with many nested tables. Upon trying to compile s...
Error when compiling for arduino
https://api.github.com/repos/dvidelabs/flatcc/issues/99/comments
9
2018-10-28T19:10:02Z
2018-10-30T10:04:34Z
https://github.com/dvidelabs/flatcc/issues/99
374,787,422
99
[ "dvidelabs", "flatcc" ]
Good evening, As far as I understand, all functions returning `int` values should return `0` on success and a non-zero value otherwise, however the following line: https://github.com/dvidelabs/flatcc/blob/b85001117d22a6ac2ad5adcbdeec2898da7c1110/include/flatcc/reflection/flatbuffers_common_builder.h#L482 Generat...
Possibly wrong return value in struct create functions?
https://api.github.com/repos/dvidelabs/flatcc/issues/98/comments
2
2018-10-24T16:06:31Z
2018-10-25T07:02:25Z
https://github.com/dvidelabs/flatcc/issues/98
373,560,214
98
[ "dvidelabs", "flatcc" ]
Good morning, [this break statement](https://github.com/dvidelabs/flatcc/blob/dd5f97d719fb27a0534fe839a5befdeb4f487880/src/compiler/codegen_c_reader.c#L1141) is in the middle of its `case` block and there are no comments around it. Is it intentional?
Oracle SunCC warns about an unreachable statement
https://api.github.com/repos/dvidelabs/flatcc/issues/97/comments
2
2018-10-04T10:17:03Z
2018-10-04T10:37:47Z
https://github.com/dvidelabs/flatcc/issues/97
366,718,836
97
[ "dvidelabs", "flatcc" ]
Hello, I have a schema like this namespace proto; table Settings { start: uint32 = 0; stop: uint32 = 0; } table Message1 { settings: Settings; } table Message2 { settings: Settings; } union Message { Message1, Message2 } table Transport { message: Message; } ro...
compile error (error: conflicting types)
https://api.github.com/repos/dvidelabs/flatcc/issues/96/comments
5
2018-10-01T07:52:15Z
2018-10-05T07:27:38Z
https://github.com/dvidelabs/flatcc/issues/96
365,345,548
96
[ "dvidelabs", "flatcc" ]
flatcc-master/include/flatcc/flatcc_types.h:48:33: error: ‘UINT32_MAX’ was not declared in this scope #define FLATBUFFERS_UOFFSET_MAX UINT32_MAX
flatcc build error
https://api.github.com/repos/dvidelabs/flatcc/issues/95/comments
5
2018-09-19T13:09:06Z
2018-09-21T17:58:23Z
https://github.com/dvidelabs/flatcc/issues/95
361,741,284
95
[ "dvidelabs", "flatcc" ]
Hi, Is there any plan to support schema-less buffers as described [here](https://google.github.io/flatbuffers/flexbuffers.html)? Thanks
flexbuffers (or how to have dynamic keys)
https://api.github.com/repos/dvidelabs/flatcc/issues/93/comments
5
2018-08-27T10:39:28Z
2018-08-27T12:54:04Z
https://github.com/dvidelabs/flatcc/issues/93
354,268,109
93
[ "dvidelabs", "flatcc" ]
builder.c includes memory.h this prevents building with esp-idf. I commented out the line and it built and run it with esp-idf. I also built it normally using ./scripts/build.sh and it built and ran. is the include necessary?
memory.h
https://api.github.com/repos/dvidelabs/flatcc/issues/92/comments
2
2018-08-23T18:36:45Z
2018-08-23T19:08:57Z
https://github.com/dvidelabs/flatcc/issues/92
353,503,293
92
[ "dvidelabs", "flatcc" ]
Thank-you for creating a great library. I am seeing a performance improvement of approximately 10:1 over JsonCpp. File sizes tested up to 3 MB. **Q1:** I have noticed that tables with integer fields with 0 values are not printed. Is this a bug or have I missed something in the documentation? **Q2:** I would lik...
Floating point precision and missing integer fields
https://api.github.com/repos/dvidelabs/flatcc/issues/90/comments
13
2018-08-05T15:25:41Z
2018-08-28T11:33:25Z
https://github.com/dvidelabs/flatcc/issues/90
347,707,265
90
[ "dvidelabs", "flatcc" ]
My goal is to support usage of flatcc in Linux kernel - mainly for the runtime. In order to do this, Abstracting away several libraries used by current flatcc such as assert.h, stdlib.h, stdio.h, string.h, memory.h is needed. For now the plan is to add marocs such as passert and so on to replace old ones and then ha...
Add support for kernel module
https://api.github.com/repos/dvidelabs/flatcc/issues/89/comments
18
2018-06-28T21:21:10Z
2018-08-28T11:32:00Z
https://github.com/dvidelabs/flatcc/issues/89
336,784,462
89
[ "dvidelabs", "flatcc" ]
I really appreciate the work you've done on this project, so this is not an existential concern. It's just that when generated code has macros that refer to macros that refer to macros, it becomes very difficult to make sense of it. Since the code is generated, wouldn't it be easier to read and use if all the macros we...
Generated code has multiple levels of indirection via macros
https://api.github.com/repos/dvidelabs/flatcc/issues/88/comments
8
2018-06-11T23:40:52Z
2018-06-12T16:27:48Z
https://github.com/dvidelabs/flatcc/issues/88
331,387,390
88
[ "dvidelabs", "flatcc" ]
Hello. Wanted to understand when to use flatcc and when to use flatc libraries. (I can't have both in in my application!) What are the differences/ advantages of one over another. For now I have been developing using flatc generated cpp headers in my application.. How easy/ difficult is it to migrate to flatcc, ...
Flatc and Flatcc, differences/ advantages and migration effort.
https://api.github.com/repos/dvidelabs/flatcc/issues/87/comments
3
2018-06-10T09:40:58Z
2018-06-10T19:25:07Z
https://github.com/dvidelabs/flatcc/issues/87
330,954,678
87
[ "dvidelabs", "flatcc" ]
Adding a member variable with the name 't' appears to interfere with how flatcc generates the reader API. For example given: struct SVec3 { x : float; y : float; z : float; } struct SAABB { b : SVec3; t : SVec3; } ...then this declaration: __flatbuffers_define_struct_struct_field(SAABB, t...
Can't name a struct member with the name 't'
https://api.github.com/repos/dvidelabs/flatcc/issues/82/comments
24
2018-03-09T19:43:41Z
2018-10-01T12:35:10Z
https://github.com/dvidelabs/flatcc/issues/82
303,957,981
82
[ "dvidelabs", "flatcc" ]
The arguments should be ordered according to the id attribute when present. In the [monster_test.fbs](https://github.com/dvidelabs/flatcc/blob/master/test/monster_test/monster_test.fbs) this would be: `ns(Monster_create(pos, mana, hp, name, ...))` because pos has id:0, mana has id: 1, hp has id: 2, and name ha...
_create builder methods should have arguments in id order
https://api.github.com/repos/dvidelabs/flatcc/issues/81/comments
2
2018-03-01T13:42:46Z
2018-09-02T07:08:00Z
https://github.com/dvidelabs/flatcc/issues/81
301,408,538
81
[ "dvidelabs", "flatcc" ]
Various versions of clang/clang++ should probably be added to the travis.yml to catch issues like these: https://github.com/dvidelabs/flatcc/pull/78 https://github.com/dvidelabs/flatcc/pull/59 I may do it at some point if i get some time, but it could be a while :/ In the meantime, I did do some research and fo...
Add various versions of clang/clang++ to the travis CI build
https://api.github.com/repos/dvidelabs/flatcc/issues/79/comments
2
2018-02-25T04:45:55Z
2018-03-11T12:35:29Z
https://github.com/dvidelabs/flatcc/issues/79
299,998,053
79
[ "dvidelabs", "flatcc" ]
``` In file included from ./lib/flatcc/include/flatcc/flatcc_flatbuffers.h:24:0, from ./lib/flatcc/include/flatcc/flatcc_builder.h:68, from ./src/json_to_flatbuffers_converter.h:20, from ../main/rxcpp_test_task.cpp:21: ./lib/flatcc/include/flatcc/portable/pstdalig...
Build warning with embedded toolchain (Espressif esp-idf)
https://api.github.com/repos/dvidelabs/flatcc/issues/77/comments
16
2018-02-06T17:35:05Z
2018-02-08T20:11:45Z
https://github.com/dvidelabs/flatcc/issues/77
294,848,308
77
[ "dvidelabs", "flatcc" ]
In [https://github.com/dvidelabs/flatcc/blob/master/doc/binary-format.md#unions]( https://github.com/dvidelabs/flatcc/blob/master/doc/binary-format.md#unions) the doc states that: > If an element is of type NONE the value offset must be stored as 0 which is a circular reference. This is the only offset that can hav...
Question on Binary format
https://api.github.com/repos/dvidelabs/flatcc/issues/76/comments
17
2018-02-02T14:08:29Z
2018-02-19T07:20:11Z
https://github.com/dvidelabs/flatcc/issues/76
293,899,763
76
[ "dvidelabs", "flatcc" ]
This might not be critical issue but when using with other build systems (like buildroot in my case) it becomes a pain ... ``` ./buildroot/output/build/flatcc-v0.5.0/src/compiler/codegen_c_json_printer.c: In function ‘gen_json_printer_enum’: ./buildroot/output/build/flatcc-v0.5.0/src/compiler/codegen_c_json_printer...
GCC_VERSION: 6.4.0 reports "may be used uninitialized" warnings
https://api.github.com/repos/dvidelabs/flatcc/issues/75/comments
2
2018-01-30T12:06:15Z
2018-02-07T21:45:03Z
https://github.com/dvidelabs/flatcc/issues/75
292,758,876
75
[ "dvidelabs", "flatcc" ]
From time to time, I see garbage in generated json strings. This issue appears to be present in both 0.4.3 (with the "JSON parser" and the "alligned_free" patches), 0.5.0 and 0.5.1-pre (commit ba9a8e6). For testing, I'm sending the very same json string in a websocket request, that results in the very same json str...
json printer garbage in 0.5.1-pre
https://api.github.com/repos/dvidelabs/flatcc/issues/74/comments
19
2018-01-17T09:58:05Z
2018-01-17T17:31:15Z
https://github.com/dvidelabs/flatcc/issues/74
289,204,686
74
[ "dvidelabs", "flatcc" ]
Having parsed a JSON string with success, I now try to extract the details from the flatbuffer. Below is the output from the app. First the JSON string is dumped, then the flatbuffer, and finally info on extracting the details ``` { "msg_type": "Ping", "msg": { "str": "123" } } successfully parsed 7...
string trouble after JSON parsing
https://api.github.com/repos/dvidelabs/flatcc/issues/68/comments
12
2017-12-21T22:12:39Z
2018-01-11T11:12:35Z
https://github.com/dvidelabs/flatcc/issues/68
284,019,140
68
[ "dvidelabs", "flatcc" ]
I'm testing the json parser in flatcc, and the parsing fails with an error that I doesn't really make any sense, taking the fbs and the json input into account. This is the output I get from the test program (the json input followed by an error message): ``` { "data_type": "Ping", "data": { "msg": 123 ...
json parser return "unterminated string" error
https://api.github.com/repos/dvidelabs/flatcc/issues/67/comments
16
2017-12-18T23:26:51Z
2018-01-11T11:25:45Z
https://github.com/dvidelabs/flatcc/issues/67
283,055,160
67
[ "dvidelabs", "flatcc" ]
Considering you already have CI builds running, would it be possible for you to keep the built applications as artifacts from travis/appveyor and publish them on the github releases? This can be done automatically as part of the build: https://victorhurdugaci.com/github-releases-travis https://www.appveyor.com/doc...
Publish builds of releases
https://api.github.com/repos/dvidelabs/flatcc/issues/66/comments
7
2017-12-04T23:16:54Z
2017-12-08T09:10:17Z
https://github.com/dvidelabs/flatcc/issues/66
279,186,484
66
[ "dvidelabs", "flatcc" ]
same schema file as input, for client, I use FlatBuffers's flatc to generate javascript proto defination and sender. for server, I use flatcc to generate proto handler. when I verify the recv data in server use verify_as_root API, It says: runtime: buffer header not aligned!
verify buffers in unaligned memory (was: compability with protobuffer flatc?)
https://api.github.com/repos/dvidelabs/flatcc/issues/65/comments
13
2017-11-22T10:39:22Z
2017-12-26T15:52:36Z
https://github.com/dvidelabs/flatcc/issues/65
276,019,742
65
[ "dvidelabs", "flatcc" ]
utility functions like buffer encrypt/compression with crc check might be very useful!
support compress or encrypt functions?
https://api.github.com/repos/dvidelabs/flatcc/issues/64/comments
1
2017-11-20T07:26:14Z
2017-11-20T07:59:24Z
https://github.com/dvidelabs/flatcc/issues/64
275,259,903
64
[ "dvidelabs", "flatcc" ]
might be help if there were a section of security considerations in docs, like what kind of invalid protocol data may cause segment fault, buffer overflow, access violation.
security considerations
https://api.github.com/repos/dvidelabs/flatcc/issues/63/comments
2
2017-11-20T07:23:07Z
2017-12-08T10:37:45Z
https://github.com/dvidelabs/flatcc/issues/63
275,259,344
63
[ "dvidelabs", "flatcc" ]
Hi, I'm not clear about the memory management when I was reading a buffer. Suppose I have read a large size of float array (and I checked that flatcc generated header returns a `const float *` representing this array) from a serialized buffer file. Do I need to _free_ this array if I don't need to use it anymore...
Unclear about memory management when reading from a buffer.
https://api.github.com/repos/dvidelabs/flatcc/issues/62/comments
6
2017-11-06T02:58:04Z
2017-11-07T14:01:43Z
https://github.com/dvidelabs/flatcc/issues/62
271,345,585
62
[ "dvidelabs", "flatcc" ]
Firstly, apologies in advance for the vagueness. I can fill this in with more detail/debugging/bisecting/etc later if this doesn't ring a bell for you off the bat. Somewhere in the range of d9a75592e27756e..v0.4.3 I started getting a lot more of these kinds of warnings on my buffers during verify: buffer header ...
increase of "buffer header too small" and "table header out of range or unaligned" messages
https://api.github.com/repos/dvidelabs/flatcc/issues/60/comments
18
2017-10-01T06:29:04Z
2019-01-10T11:04:16Z
https://github.com/dvidelabs/flatcc/issues/60
261,895,596
60
[ "dvidelabs", "flatcc" ]
It seems that with latest gcc 7.1.1 and clang 4.0.1 (C++17 updates) code can't be compiled: src/flatcc/include/flatcc/portable/pprintint.h:100:58: error: this statement may fall through [-Werror=implicit-fallthrough=] #define __print_unaligned_copy_16(p, q) (*(uint16_t*)(p) = *(uint16_t*)(q)) adding "-Wimplici...
fallthrough warnings
https://api.github.com/repos/dvidelabs/flatcc/issues/58/comments
1
2017-09-01T11:42:04Z
2017-11-06T20:53:10Z
https://github.com/dvidelabs/flatcc/issues/58
254,616,030
58
[ "dvidelabs", "flatcc" ]
json printer like void _XXX_print_json_enum(flatcc_json_printer_t *ctx, int8_t v) does not have "static" prefix, when include in multi files, gcc will complain multiple definition of these functions.
enum json printer, not static cause redefinition.
https://api.github.com/repos/dvidelabs/flatcc/issues/57/comments
1
2017-08-02T08:07:54Z
2017-08-02T10:11:51Z
https://github.com/dvidelabs/flatcc/issues/57
247,306,227
57
[ "dvidelabs", "flatcc" ]
Is there any interest in support for the Meson build system? If so, please write a comment explaining how / why, or why not. Meson makes it possible to have dependencies on schema files and cause code to recompile partially and properly when changing a schema. It requires Ninja and Python 3.4. Python is not expo...
Poll on Meson build
https://api.github.com/repos/dvidelabs/flatcc/issues/56/comments
43
2017-07-30T07:55:10Z
2023-10-24T19:20:03Z
https://github.com/dvidelabs/flatcc/issues/56
246,568,945
56
[ "dvidelabs", "flatcc" ]
I noticed flatcc supports hex constant parsing: https://github.com/dvidelabs/flatcc/commit/0f3564a69e06cabb71ff89b1b89cb64a757e9055 This is a flatcc specific feature, correct? I couldn't find reference to '0x' ... type syntax listed beside "integer constant" in the flatbuffer schema grammar document at https://goog...
hex constant parsing [question]
https://api.github.com/repos/dvidelabs/flatcc/issues/54/comments
2
2017-07-14T10:44:44Z
2017-07-14T11:31:26Z
https://github.com/dvidelabs/flatcc/issues/54
242,961,930
54
[ "dvidelabs", "flatcc" ]
Another head scratcher for me. Given this: ```c #include <stdio.h> #include "qmsg.h" #undef ns #define ns(x) FLATBUFFERS_WRAP_NAMESPACE(QQQ, x) int main() { size_t nestedBufSize; uint8_t nestedBuffer[1024]; // Build and store the nested buffer { flatcc_builder_t pBuilder; flatcc_bu...
_nest() call unexpected result
https://api.github.com/repos/dvidelabs/flatcc/issues/52/comments
12
2017-07-13T05:22:59Z
2017-07-14T11:43:16Z
https://github.com/dvidelabs/flatcc/issues/52
242,588,551
52
[ "dvidelabs", "flatcc" ]
First off -- this is probably a foolish error on my part. But here goes. Given: ```c #include <stdio.h> #include "qmsg.h" #undef ns #define ns(x) FLATBUFFERS_WRAP_NAMESPACE(QQQ, x) int main() { flatcc_builder_t builder; flatcc_builder_init(&builder); ns(Msg_start_as_root(&builder)); ns(Msg...
segfault when using a nested flatbuffer
https://api.github.com/repos/dvidelabs/flatcc/issues/51/comments
14
2017-07-12T08:51:37Z
2017-07-14T08:59:41Z
https://github.com/dvidelabs/flatcc/issues/51
242,305,258
51
[ "dvidelabs", "flatcc" ]
It seems if the keyword in schema file is too long, It will be truncate in JSON parser and the result is the keyword can't be matched. for example: aaaa_bbbb_steps, aaaa_bbbb_start_steps, then the second one will be truncate to aaaa_bbbb_start, and result fail to match symbol.
JSON parse error?
https://api.github.com/repos/dvidelabs/flatcc/issues/50/comments
14
2017-06-29T04:23:32Z
2017-08-02T10:03:37Z
https://github.com/dvidelabs/flatcc/issues/50
239,362,411
50
[ "dvidelabs", "flatcc" ]
Let's say I have: ``` table SomeTable { id:uint; someStrings:[string]; name:string; name1:string; name2:string; name3:string; name5:string; // Etc... Pretend this is a very large table with many, many members. } ``` I have a whole bunch of these `SomeTable` flatbuffers saved out into ...
How to copy separate tables into table vector?
https://api.github.com/repos/dvidelabs/flatcc/issues/49/comments
34
2017-06-15T07:26:36Z
2023-10-24T18:58:16Z
https://github.com/dvidelabs/flatcc/issues/49
236,100,159
49
[ "dvidelabs", "flatcc" ]
For network buffer optimize: I can get buffer directly by flatcc_builder_get_direct_buffer and send buffer data over socket API. But for large buffer, how can I iterate emitter buffers and send them one by one over socket, instead of call flatcc_builder_finalize_buffer to alloc and copy buffer data?
Is it possible to reduce copy overhead with flatcc_builder_finalize_buffer?
https://api.github.com/repos/dvidelabs/flatcc/issues/46/comments
1
2017-06-06T09:21:58Z
2017-06-29T11:30:22Z
https://github.com/dvidelabs/flatcc/issues/46
233,829,582
46
[ "dvidelabs", "flatcc" ]
Is it possible to supply an WinHex or Wireshark template for analysis binary data?
Is it possible to supply an WinHex or Wireshark template for analysis binary data?
https://api.github.com/repos/dvidelabs/flatcc/issues/45/comments
1
2017-05-25T13:02:42Z
2017-06-29T11:30:22Z
https://github.com/dvidelabs/flatcc/issues/45
231,333,475
45
[ "dvidelabs", "flatcc" ]
Should supply a more clear API doc
Should supply a more clear API doc
https://api.github.com/repos/dvidelabs/flatcc/issues/44/comments
9
2017-05-25T13:00:31Z
2018-06-12T11:25:41Z
https://github.com/dvidelabs/flatcc/issues/44
231,332,987
44
[ "dvidelabs", "flatcc" ]
Hello, We hit an annoying issue using clang 3.4.1 on FreeBSD 10.3, but only on 32bits systems (it works fine with the same version of clang on 64bits systems) Please find attached a schema and a C code sample that triggers the problem. Steps to reproduce: > $ flatcc my_ns.fbs -cwv --outfile=./my_ns.fbs.h >...
Incorrect frame allocation for deeply nested builder operations (was Assert hit with clang 3.4.1 on 32bits plateforms)
https://api.github.com/repos/dvidelabs/flatcc/issues/41/comments
26
2017-05-12T08:42:04Z
2017-05-15T07:58:01Z
https://github.com/dvidelabs/flatcc/issues/41
228,225,305
41
[ "dvidelabs", "flatcc" ]
Hello, Using gcc 5.4.0 in C99 mode does not work. Here is is the compile issue: > from /usr/home/user/git/src/test/test.c:2: > /usr/include/flatcc/portable/paligned_alloc.h:81:23: fatal error: mm_malloc.h: No such file or directory > compilation terminated. > *** Error code 1 I guess you i...
Compile error when using gcc 5.4.0 with the portable layer in C99 mode
https://api.github.com/repos/dvidelabs/flatcc/issues/40/comments
6
2017-03-29T15:49:04Z
2017-03-30T09:22:29Z
https://github.com/dvidelabs/flatcc/issues/40
217,921,934
40
[ "dvidelabs", "flatcc" ]
I want to use flatcc project in C++ application (__cplusplus defined). But I am using gcc version < 4.6. So I use -D FLATCC_PORTABLE option (for e.g. because stdalign.h does not exist). All portables files like "pstdalign.h" uses c++ macros for exclusion, hence not executing. #ifndef __cplusplus #endif /* __cplusplu...
Achieving FLATCC_PORTABLE features in C++ application with non C11 gcc
https://api.github.com/repos/dvidelabs/flatcc/issues/39/comments
9
2017-03-07T16:52:29Z
2017-03-30T09:21:28Z
https://github.com/dvidelabs/flatcc/issues/39
212,492,711
39
[ "dvidelabs", "flatcc" ]
https://github.com/google/flatbuffers/pull/4143#issuecomment-274598867
Track flatbuffers possible support for union vectors.
https://api.github.com/repos/dvidelabs/flatcc/issues/38/comments
1
2017-01-23T20:01:29Z
2017-11-17T14:05:26Z
https://github.com/dvidelabs/flatcc/issues/38
202,635,633
38
[ "dvidelabs", "flatcc" ]
While struggling mightily with creating arrays of unions of arrays of types top-down, I found a simple hack to reuse the previous offset for identical values. Here is the code snippet I eventually stumbled upon adding `table STRING_ARRAY { v:[string] (required); }` with some simple logic to reuse the prev...
Lazy offset redundancy removal in *_vec_create()
https://api.github.com/repos/dvidelabs/flatcc/issues/37/comments
15
2017-01-13T21:35:15Z
2017-01-14T10:46:55Z
https://github.com/dvidelabs/flatcc/issues/37
200,736,520
37
[ "dvidelabs", "flatcc" ]
My goal (likely naive ;-) is to attach custom bits to all table fields for additional code generation. Some examination of the "required" attribute seems to indicate that flatcc generates `static const flatbuffers_voffset_t ___RPM_CHAR_required[] = {0 };` In principle, only a single bit is needed to test if a...
Support custom attributes was Q: How to use attribute "priority"?
https://api.github.com/repos/dvidelabs/flatcc/issues/36/comments
135
2017-01-12T21:18:02Z
2023-10-24T18:56:00Z
https://github.com/dvidelabs/flatcc/issues/36
200,482,161
36
[ "dvidelabs", "flatcc" ]
Attempting an enum definition like this enum SUBTYPE:int { XREF = -12, BIN_ARRAY = -11, REGION = -10, } leads to error messages like this rpmtag_json_parser.h: In function ‘_RPM_SUBTYPE_parse_json_enum’: rpmtag_json_parser.h:196:30: error: integer constant is so...
enum's with negative values seem unusable
https://api.github.com/repos/dvidelabs/flatcc/issues/35/comments
4
2017-01-12T18:46:20Z
2017-01-14T10:31:16Z
https://github.com/dvidelabs/flatcc/issues/35
200,448,004
35
[ "dvidelabs", "flatcc" ]
Commenting out a line following a C comment in a schema enum definition causes a generation failure: flatcc -ad --json rpmtag.fbs rpmtag.fbs:372:19: error: ' ': member identifier expected The failure reproducer looks like this enum TAGNO:uint { ... FILESIGNATURELENGTH = 5091, /* ...
Tabs in C++ comments (was: Support contiguous comments in schema enums)
https://api.github.com/repos/dvidelabs/flatcc/issues/34/comments
3
2017-01-12T17:27:58Z
2017-01-12T23:04:44Z
https://github.com/dvidelabs/flatcc/issues/34
200,430,242
34
[ "dvidelabs", "flatcc" ]
(A NICETOHAVE enhancement, nothing wrong with decimal even if sometimes annoying ;-) As a C programmer, I often find that hex/octal and simple arithmetic/logic expressions useful. For example: enum FOO:uint { A = 256+1, B = 0xffff, C = (0x10000 | 1), Z = 0x3fffffff, }
Support C-like hex/octal values in enum assignments
https://api.github.com/repos/dvidelabs/flatcc/issues/33/comments
11
2017-01-12T17:04:03Z
2017-01-14T17:06:33Z
https://github.com/dvidelabs/flatcc/issues/33
200,423,943
33
[ "dvidelabs", "flatcc" ]
While writing a schema with a very large enum, I see this assertion failure flatcc -ad --json --schema rpmtag.fbs flatcc: /X/src/FLATBUFFERS/flatcc/src/runtime/builder.c:1396: flatcc_builder_create_offset_vector_direct: Assertion `vec[i] != 0' failed. Removing --schema generates other files correctly. The iss...
flatcc --schema has a limit on the number of enums.
https://api.github.com/repos/dvidelabs/flatcc/issues/32/comments
2
2017-01-12T16:53:15Z
2017-01-12T20:28:23Z
https://github.com/dvidelabs/flatcc/issues/32
200,421,040
32
[ "dvidelabs", "flatcc" ]
This issue will opened and closed as needed for new releases. The `be` branch will not be updated nor tagged for new releases, but branching off of it locally and merging master into it should enable native big endian. @csstub please test for big endian for the 0.4.1 release, and prefereable also the native big e...
Big Endian release testing
https://api.github.com/repos/dvidelabs/flatcc/issues/31/comments
30
2016-12-22T22:40:59Z
2017-06-29T16:54:50Z
https://github.com/dvidelabs/flatcc/issues/31
197,281,569
31
[ "dvidelabs", "flatcc" ]
Fixed in this PR, but the reason why it works is not fully understood, and it may not cover all paths, e.g. perhaps the problem remains for structs while being fixed for tables. https://github.com/dvidelabs/flatcc/pull/27
JSON parser bug on unknown fields
https://api.github.com/repos/dvidelabs/flatcc/issues/30/comments
2
2016-12-19T14:26:05Z
2016-12-19T19:55:49Z
https://github.com/dvidelabs/flatcc/issues/30
196,425,922
30
[ "dvidelabs", "flatcc" ]
Sometimes order of items in array is important, yet it there could be need to find some item in array by some key. In this case the only option is to perform linear search, which is still okay for small number of items (and small number of items seem to be quite frequent case for flatbuffers). Writing search functions ...
Add "scan_by" methods to reader interface
https://api.github.com/repos/dvidelabs/flatcc/issues/23/comments
70
2016-12-05T11:55:19Z
2016-12-24T01:37:36Z
https://github.com/dvidelabs/flatcc/issues/23
193,478,006
23
[ "dvidelabs", "flatcc" ]
It's very convenient to store data in flatbuffers format, linearly load it into memory and just use generated accessors to traverse it. However, there are some cases when this loaded data needs to reference some other data, which can be stored elsewhere. While it's certainly possible to use strings or hashes as these r...
Add support for external references / mutable interface
https://api.github.com/repos/dvidelabs/flatcc/issues/22/comments
17
2016-12-05T11:45:24Z
2023-10-24T18:52:53Z
https://github.com/dvidelabs/flatcc/issues/22
193,476,143
22
[ "dvidelabs", "flatcc" ]
Comments like `/////////////////////////////////////////////////////////////` `// Some big comment` `/////////////////////////////////////////////////////////////` become `/**/////////////////////////////////////////////////////////////////////` `* ///////////////////////////////////////////////////////////...
Some comments in fbs lead to uncompilable reader header
https://api.github.com/repos/dvidelabs/flatcc/issues/21/comments
2
2016-12-04T15:16:11Z
2016-12-13T13:35:26Z
https://github.com/dvidelabs/flatcc/issues/21
193,356,203
21
[ "dvidelabs", "flatcc" ]
I think that could help write tests that will cover more code, improving overall quality. I've made some quick hacks to generate report with gcov so you could see what it looks like, but in order to be efficient this better be automated and run regularly. If you agree to use gcov/lcov I could provide help, since I alre...
Add automated test coverage analysis
https://api.github.com/repos/dvidelabs/flatcc/issues/19/comments
8
2016-11-30T11:22:32Z
2017-06-29T11:31:10Z
https://github.com/dvidelabs/flatcc/issues/19
192,540,549
19
[ "dvidelabs", "flatcc" ]
Looks like JSON parser generator sometimes generates corrupted path for parsing _type fields. I've attached a simple repro case: [test.fbs.txt](https://github.com/dvidelabs/flatcc/files/617888/test.fbs.txt) [test.json.txt](https://github.com/dvidelabs/flatcc/files/617887/test.json.txt) After lots of experiments I ...
Corrupted JSON parser for some field name combinations
https://api.github.com/repos/dvidelabs/flatcc/issues/17/comments
15
2016-11-29T01:51:39Z
2016-11-29T23:06:04Z
https://github.com/dvidelabs/flatcc/issues/17
192,167,154
17
[ "dvidelabs", "flatcc" ]
Question: Is it guaranteed that there is full compatibility with flatbuffers? I want to build the buffer with flatcc and read it on another machine with flatbuffers. If compatibility is guaranteed where can I find with which version of flatbuffers each flatcc version is compatible? Thanks
Full Compatibility with flatbuffers
https://api.github.com/repos/dvidelabs/flatcc/issues/15/comments
2
2016-11-27T14:58:52Z
2016-12-12T20:17:57Z
https://github.com/dvidelabs/flatcc/issues/15
191,865,683
15
[ "dvidelabs", "flatcc" ]
Hi, I am seeing an issue where the data has a null value, eg. "field1":null and the parser generated fails with "expected string" error. Looking at the generated parser.h, the buf = flatcc_json_parser_string_start(ctx, buf, end) returns the error as the buffer does not begin with ". Is null value supported? If...
null value in json not supported in parsing
https://api.github.com/repos/dvidelabs/flatcc/issues/14/comments
3
2016-11-04T03:38:47Z
2016-11-09T09:24:57Z
https://github.com/dvidelabs/flatcc/issues/14
187,246,987
14
[ "dvidelabs", "flatcc" ]
Pick up conversation from #12 related to compilation on big endian platforms such as some IBM AIX systems. And related, support for FLATBUFFERS_PROTOCOL_IS_BE with big endian encoded flatbuffers. To transparently handle both situations, the term native endian is used for hosts endianness, and protocol endian (pe suff...
Big endian port
https://api.github.com/repos/dvidelabs/flatcc/issues/13/comments
62
2016-10-20T19:24:39Z
2016-12-22T22:42:22Z
https://github.com/dvidelabs/flatcc/issues/13
184,318,257
13
[ "dvidelabs", "flatcc" ]
Testing the latest master. During the "Scanning dependencies of target gen_reflection_test" phase, process goes runaway. `root 1286372 872504 93 12:45:32 pts/0 2:19 ../../../../bin/flatcc_d --schema -o /work/stupc/flatcc-master/build/Debug/test/reflection_test/generated /work/stupc/flatcc-master/test/monster_test...
Endless loop during gen_reflection_test
https://api.github.com/repos/dvidelabs/flatcc/issues/12/comments
16
2016-10-19T16:56:18Z
2016-10-20T19:25:44Z
https://github.com/dvidelabs/flatcc/issues/12
184,018,289
12
[ "dvidelabs", "flatcc" ]
`json_parser.c` uses the`isinf()`function, which requires the math library to be linked in to any executable bound to the lib.a objects. I don't know enough about Cmake to know where to add LDFLAG type options so that final targets that use the lib.a libraries get `-lm` added. Could you point me in the right direct...
IBM's XLC needs math library linked in
https://api.github.com/repos/dvidelabs/flatcc/issues/11/comments
7
2016-10-07T17:40:05Z
2016-10-19T20:51:46Z
https://github.com/dvidelabs/flatcc/issues/11
181,727,446
11
[ "dvidelabs", "flatcc" ]
In CMakelists.txt, the section that sets up the compiler flags for the final else case assumes you're using GCC. ``` if (CMAKE_C_COMPILER_ID MATCHES "Clang") (snipped) elseif (CMAKE_C_COMPILER_ID STREQUAL "GNU") (snipped) else() # Best effort set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}" -Wall) set(FLATCC_PORTABLE ...
CFLAGS setup assumes gcc compatible flags
https://api.github.com/repos/dvidelabs/flatcc/issues/10/comments
45
2016-10-07T15:49:20Z
2016-10-26T19:18:23Z
https://github.com/dvidelabs/flatcc/issues/10
181,704,079
10
[ "dvidelabs", "flatcc" ]
Standard `calloc()` returns NULL if memory can't be allocated either due to out of memory condition or if either argument is 0. In `src/compiler/codegen_c_json_printer.c:` ``` static int gen_json_printer_table(fb_output_t *out, fb_compound_type_t *ct) (clipped) map = calloc((size_t)ct->count, sizeof(*map)); i...
Linux specific use of calloc()
https://api.github.com/repos/dvidelabs/flatcc/issues/9/comments
0
2016-10-07T15:45:04Z
2016-10-20T19:54:36Z
https://github.com/dvidelabs/flatcc/issues/9
181,702,915
9
[ "dvidelabs", "flatcc" ]
include/flatcc/portable/pendian.h includes the following constants in the bswap macros: ``` #define bswap32(v) \ ((((uint32_t)(v) << 24)) \ | (((uint32_t)(v) << 8) & UINT32_C(0x00FF0000U)) ...
Invalid constants
https://api.github.com/repos/dvidelabs/flatcc/issues/8/comments
1
2016-10-06T20:26:57Z
2016-10-07T03:27:33Z
https://github.com/dvidelabs/flatcc/issues/8
181,516,866
8
[ "dvidelabs", "flatcc" ]
My first impression came when I wrote up a simple schema file for testing, and forgot the semicolon after `namespace id` and the compiler crashed. ``` $ cat test.idl namespace dummy $ ./flatcc test.idl test.idl:2:1: error: '': missing ';' expected by namespace at: test.idl:1:11: 'dummy' *** Error in `./flatcc': corrup...
Double-free in flatcc on invalid schema.
https://api.github.com/repos/dvidelabs/flatcc/issues/7/comments
2
2016-09-19T14:44:05Z
2016-09-20T07:31:18Z
https://github.com/dvidelabs/flatcc/issues/7
177,804,424
7
[ "dvidelabs", "flatcc" ]
While compiling with gcc 4.7.2 together with glib-2.0 (2.40.2) I run into problems with the static assert feature. In include/flatcc/portable/pstatic_assert.h: ``` ... #ifdef __has_feature #if __has_feature(c_static_assert) #define static_assert(pred, msg) _Static_assert(pred, msg) #endif #else ... ``` glib seems ...
Compilation errors with gcc 4.7.2 and glib-2.0 (2.40.2).
https://api.github.com/repos/dvidelabs/flatcc/issues/6/comments
3
2016-07-19T11:42:09Z
2016-09-19T16:33:05Z
https://github.com/dvidelabs/flatcc/issues/6
166,310,832
6
[ "dvidelabs", "flatcc" ]
https://medium.com/@icex33/10-thousand-times-faster-swift-737b1accd973#.heh3ty70g
Slower than Swift?
https://api.github.com/repos/dvidelabs/flatcc/issues/5/comments
17
2016-05-16T16:15:03Z
2016-05-31T18:31:53Z
https://github.com/dvidelabs/flatcc/issues/5
155,064,111
5
[ "dvidelabs", "flatcc" ]
Hi, I have a project with a schema for messages where a union is used to include the contents of the message. ``` namespace UnionWithEmpty; table RequestSomething {} table Something { thing:uint; } union MessageContents {RequestSomething, Something} table Message { to:[uint] (required); from:uint; contents...
Bottom up creation of required union with empty table fails
https://api.github.com/repos/dvidelabs/flatcc/issues/4/comments
4
2016-05-04T07:15:11Z
2016-09-19T07:35:39Z
https://github.com/dvidelabs/flatcc/issues/4
152,944,122
4
[ "dvidelabs", "flatcc" ]
Would you consider incorporating this tool directly into flatbuffers itself? It seems several people are interested here: https://github.com/google/flatbuffers/issues/7.
Flatbuffers may be interested in accepting this upstream
https://api.github.com/repos/dvidelabs/flatcc/issues/1/comments
6
2015-11-13T00:50:02Z
2016-05-04T10:37:44Z
https://github.com/dvidelabs/flatcc/issues/1
116,676,017
1
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [x] Yes! **What is the complete output of `gem install` or `bundle install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> We're seeing this when compiling noko...
[install] 2 retrie(s) left for libiconv-1.17.tar.gz (Net::OpenTimeout)
https://api.github.com/repos/sparklemotion/nokogiri/issues/3521/comments
3
2025-06-06T23:01:12Z
2025-06-16T02:22:08Z
https://github.com/sparklemotion/nokogiri/issues/3521
3,126,063,754
3,521
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** CI is failing on windows with ruby 3.4. https://github.com/sparklemotion/nokogiri/actions/runs/15385890075/job/43284651726?pr=3518#step:5:931 I suspect this has to do with the version of the compiler being sensitive to typedefs where earlier versions were not. And I wonder if we can get a...
(windows) Compilation of libiconv fails on windows with Ruby 3.4
https://api.github.com/repos/sparklemotion/nokogiri/issues/3519/comments
1
2025-06-02T15:02:06Z
2025-06-02T16:06:14Z
https://github.com/sparklemotion/nokogiri/issues/3519
3,110,564,849
3,519
[ "sparklemotion", "nokogiri" ]
I just upgraded Nokogiri to 1.18.8 and it seems that the empty-string `document('')` construct in XSLT now raises a `RuntimeError`: ``` RuntimeError: I/O warning : failed to load "": No such file or directory /var/lib/gems/3.3.0/gems/nokogiri-1.18.8-x86_64-linux-gnu/lib/nokogiri/xslt/stylesheet.rb:45:in `transfor...
[bug] XSLT empty-string `document('')` should refer to the stylesheet, not `ENOENT`
https://api.github.com/repos/sparklemotion/nokogiri/issues/3517/comments
2
2025-05-27T22:51:51Z
2025-05-28T22:09:01Z
https://github.com/sparklemotion/nokogiri/issues/3517
3,095,436,290
3,517
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** In GitHub Actions today: ```sh Fetching gem metadata from https://rubygems.org/......... Fetching https://github.com/ffi/ffi.git Submodule 'ext/ffi_c/libffi' (https://github.com/libffi/libffi.git) registered for path 'ext/ffi_c/libffi' Cloning into '/home/runner/work/mzagaja.github.io/mzag...
[bug]nokogiri (1.18.8-x86_64-linux) not available via rubygems
https://api.github.com/repos/sparklemotion/nokogiri/issues/3514/comments
2
2025-05-24T14:40:43Z
2025-05-28T15:51:33Z
https://github.com/sparklemotion/nokogiri/issues/3514
3,088,520,236
3,514
[ "sparklemotion", "nokogiri" ]
And so, @flavorjones, it's time to ask yourself: Is there anyone, other than yourself, that you trust to review and merge documentation PRs?
Trusted documentation reviewers?
https://api.github.com/repos/sparklemotion/nokogiri/issues/3511/comments
2
2025-04-26T04:30:11Z
2025-04-26T17:43:07Z
https://github.com/sparklemotion/nokogiri/issues/3511
3,021,468,516
3,511
[ "sparklemotion", "nokogiri" ]
## Description - Version: Latest commit [a024cff](https://github.com/sparklemotion/nokogiri/commit/a024cff101211aedfcef8372427f3af07dbe881b) - Environment: Ubuntu 20.04.6 LTS, Clang 18.1.8 - Fuzzing harness: https://github.com/sparklemotion/nokogiri/blob/main/gumbo-parser/fuzzer/parse_fuzzer.cc **Please let me know i...
[BUG] A heap-buffer-overflow in `hashmap_get_with_hash` at `gumbo-parser/src/hashmap.c:337:34`
https://api.github.com/repos/sparklemotion/nokogiri/issues/3508/comments
1
2025-04-20T12:16:14Z
2025-04-20T15:17:22Z
https://github.com/sparklemotion/nokogiri/issues/3508
3,006,989,284
3,508
[ "sparklemotion", "nokogiri" ]
## Description - Version: Latest commit [a024cff](https://github.com/sparklemotion/nokogiri/commit/a024cff101211aedfcef8372427f3af07dbe881b) - Environment: Ubuntu 20.04.6 LTS, Clang 18.1.8 - Fuzzing harness: https://github.com/sparklemotion/nokogiri/blob/main/gumbo-parser/fuzzer/parse_fuzzer.cc **Please let me know i...
[BUG] A heap-buffer-overflow in `hashmap_set_with_hash` at `gumbo-parser/src/hashmap.c:286:5`
https://api.github.com/repos/sparklemotion/nokogiri/issues/3500/comments
1
2025-04-07T03:28:14Z
2025-04-09T01:47:49Z
https://github.com/sparklemotion/nokogiri/issues/3500
2,975,523,614
3,500
[ "sparklemotion", "nokogiri" ]
**Background:** Ruby version: 2.6.0 bundle version: 2.3.9 docker image: ubuntu:16.04 **Gem file** ` source 'https://rubygems.org' def local_path(repository) { path: "./vendor/bundle/#{repository}" } end gem 'aws-sdk-core' gem 'aws_helpers', local_path('aws_helpers') gem 'berkshelf' gem 'cfndsl' gem 'chef' gem 'ch...
[install] That means the author of nokogiri (1.18.4) has removed it.
https://api.github.com/repos/sparklemotion/nokogiri/issues/3498/comments
2
2025-04-02T02:49:58Z
2025-04-02T16:55:00Z
https://github.com/sparklemotion/nokogiri/issues/3498
2,965,036,138
3,498
[ "sparklemotion", "nokogiri" ]
I'm starting with an apology as this is a [duplicate of a case I raised in unix.stackexchange.com](https://unix.stackexchange.com/questions/793084/ruby-gem-nokogiri-does-not-build-on-rocky-9-linux-due-to-missing-xml-libraries-e) and probably raised in the wrong place. I have a Rocky 9 host with multiple versions of Ru...
Ruby GEM nokogiri does not build on Rocky 9 Linux due to missing XML libraries even though packages are installed
https://api.github.com/repos/sparklemotion/nokogiri/issues/3497/comments
1
2025-03-31T17:47:00Z
2025-04-01T16:37:54Z
https://github.com/sparklemotion/nokogiri/issues/3497
2,961,148,574
3,497
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug** Us...
[bug] info.rb:76: warning: statement not reached
https://api.github.com/repos/sparklemotion/nokogiri/issues/3491/comments
6
2025-03-24T16:42:33Z
2025-03-25T08:51:07Z
https://github.com/sparklemotion/nokogiri/issues/3491
2,943,847,359
3,491
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> **Please describe the bug** Ac...
[bug] calling `.attr` on a NodeSet returns `nil` in 1.18
https://api.github.com/repos/sparklemotion/nokogiri/issues/3487/comments
5
2025-03-24T10:48:41Z
2025-03-24T19:38:10Z
https://github.com/sparklemotion/nokogiri/issues/3487
2,942,828,561
3,487
[ "sparklemotion", "nokogiri" ]
**Have you read and followed the installation tutorial at http://www.nokogiri.org/tutorials/installing_nokogiri.html?** - [X] Yes! **What is the complete output of `gem install` or `bundle install`?** <!-- Please make sure to escape the file contents with triple-backticks. --> ``` c:\NHM\Ruby3421_arm\bin>gem insta...
[install] 1.18.4 on aarch64-mingw-ucrt
https://api.github.com/repos/sparklemotion/nokogiri/issues/3470/comments
7
2025-03-14T22:02:30Z
2025-03-17T22:57:20Z
https://github.com/sparklemotion/nokogiri/issues/3470
2,921,370,016
3,470
[ "sparklemotion", "nokogiri" ]
This is OS X with an M4, running VMWare Fusion, Running latest Windows on Arm - Common enough that VMWare Fusion has a button specifically for setting it up this type of VM. https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.2-1/rubyinstaller-3.4.2-1-arm.7z Or, ruby 3.4.1 (2024-12-25 re...
[bug] Windows On Arm (aarch64-mingw-urct) fails to build
https://api.github.com/repos/sparklemotion/nokogiri/issues/3469/comments
3
2025-03-14T21:06:14Z
2025-03-14T21:29:14Z
https://github.com/sparklemotion/nokogiri/issues/3469
2,921,287,041
3,469
[ "sparklemotion", "nokogiri" ]
<!-- **Do not report Security Vulnerabilities here** If you intend to report a security vulnerability, please do so at [HackerOne](https://hackerone.com/nokogiri) following the process detailed in [`SECURITY.md`](https://nokogiri.org/SECURITY.html). Do not report it through GitHub. --> IMO this should work for parity...
[feature] `document.parent` should exist
https://api.github.com/repos/sparklemotion/nokogiri/issues/3466/comments
7
2025-03-12T03:38:35Z
2025-03-24T01:46:22Z
https://github.com/sparklemotion/nokogiri/issues/3466
2,912,529,568
3,466
[ "sparklemotion", "nokogiri" ]
@flavorjones thank you for all your great work on cleaning up namespace issues. I have one more to check. If you look at the test below, `xml.bar` is declared without a namespace, i.e. it is **not** declared as `xml["top"].bar`. However, the attribute name renders as `<top:bar>` when I expected `<bar>`. The behavior ...
[bug] Builder implicitly adding parent namespace to child elements
https://api.github.com/repos/sparklemotion/nokogiri/issues/3464/comments
3
2025-03-10T03:10:52Z
2025-03-10T15:13:39Z
https://github.com/sparklemotion/nokogiri/issues/3464
2,905,959,199
3,464
[ "sparklemotion", "nokogiri" ]
**Please describe the bug** ```ruby it "foo" do doc = Nokogiri::XML(<<~XML) <dnd:adventure xmlns:dnd="http://www.w3.org/dungeons#"> <dnd:party xmlns:dnd="http://www.w3.org/dragons#"> <dnd:members> </dnd:members> </dnd:party> </dnd:adventure> XML dung...
[bug] CRuby node reparenting namespace issue
https://api.github.com/repos/sparklemotion/nokogiri/issues/3459/comments
1
2025-03-09T18:06:31Z
2025-03-09T21:31:28Z
https://github.com/sparklemotion/nokogiri/issues/3459
2,905,582,209
3,459
[ "sparklemotion", "nokogiri" ]
The following test case illustrates a bug related to xmlns shadowing on MRI that doesn't happen JRuby. This bug changes the semantic meaning of the output XML. ```ruby it 'redeclares xmlns definitions when shadowed' do doc = Nokogiri::XML::Builder.new do |xml| xml['dnd'].adventure('xmlns:dnd' => 'http://ww...
[bug] CRuby namespace shadowing bug
https://api.github.com/repos/sparklemotion/nokogiri/issues/3458/comments
5
2025-03-09T12:33:42Z
2025-03-10T00:51:50Z
https://github.com/sparklemotion/nokogiri/issues/3458
2,905,400,414
3,458
[ "sparklemotion", "nokogiri" ]
The JRuby parser has a bug where default namespaces on child elements are reverted to the root node's default namesapce, rather than the default namespace of their immediate parent. Unlike #3455 which was a "syntax preference", this is a bona-fide "bug". The JRuby-parsed and out XML is *semantically different* than th...
[bug] JRuby: reparenting a node does not apply the parent's default namespace
https://api.github.com/repos/sparklemotion/nokogiri/issues/3457/comments
1
2025-03-09T07:57:34Z
2025-03-09T18:07:38Z
https://github.com/sparklemotion/nokogiri/issues/3457
2,905,270,681
3,457