Giter Club home page Giter Club logo

xenon's People

Contributors

intrig avatar wythe avatar

Stargazers

 avatar

Watchers

 avatar  avatar

xenon's Issues

bad_alloc exception with xenon::find_first

On windows, reproduce with:

  xenon::spec_server d("icd.xddl");
  auto decoded_msg = xenon::parse(d, "0101011107952901a3de0a800982511effffffff");
  auto c = xenon::find_first(decoded_msg, "DATA/MSG_TYPE");

Compliments: @rgyger

Error processing latest 36.331 e80 spec

I'm trying to update the 36.331 asn doc to e80.

Steps performed:

  1. export 36.331.doc rev e80 as text using MS Word
  2. run asnstrip on the text and save as 36.331-e80.asn
  3. remove all "-- ASN1STOP" and "-- ASN1START" blocks from asn file
  4. update CMakeLists.txt file and rerun build.

The build is failing with the following error. The line 4253 comment was added by modifying asnast.h to output the error string to cerr before calling IT_PANIC()

[ 15%] Generating src/xenon/xddl/3GPP/TS-36.331.xddl
opening src/xenon/xddl/asn/36.331/36.331-e80.asn
finished module EUTRA-RRC-Definitions
finished module PC5-RRC-Definitions
finished module NBIOT-RRC-Definitions
finished module EUTRA-UE-Variables
finished module NBIOT-UE-Variables
finished module EUTRA-Sidelink-Preconf
finished module EUTRA-InterNodeDefinitions
finished module NBIOT-InterNodeDefinitions
parsing complete
writing xddl
line 4253: undefined instance for type 11BooleanType
src/xenon/xddl/asn/36.331/36.331-e80.asn: [src/xenon/tools/asnx/asnast.h:137]
make[2]: *** [src/xenon/xddl/3GPP/TS-36.331.xddl] Error 1
make[1]: *** [xenon/xddl/3GPP/36.331/CMakeFiles/36_331.dir/all] Error 2
make: *** [all] Error 2

<cstr> guard

The cstr element blindly reads until it finds a '\0'. It should be limited by the remaining bits in the record and by the max attribute.

Also, it does not work for non-byte aligned cstr. This should either be fixed or fail gracefully.

Convert to cmake

  • Convert meson build system to use cmake instead (#53)
  • Add version number to cmake build (#51)
  • Require flex/bison and build asn.1 programs on linux only (see tools/CMakeLists) (#51)
  • Verify build and test works on Visual Studio (#51)
  • Add Install ability to build (#53)
  • Make Travis use cmake instead of meson (#53)
  • Remove meson files (#68)
  • Install (#64)

xenon-dm prints unnecessary spaces

For example, if you run this:

idm fragment.xddl 0102
Name  Length  Value  Hex  Description
b     8       1      #01  
A                         
  b   8       2      #02  

Then there are extra spaces at the end of each line.

Use github actions for CI

This is dependent on #45.

  • Confirm Github actions can automatically create merge builds on pull requests.
  • Convert current Travis based system to use github actions. (#63)
  • Add Windows to CI test matrix. (#63)
  • Add Install and Install check to CI (#64)
  • Remove travis (#68)

Remove basic record element

The record element with id should be supported throughout the spec, not just at the top level.
Then the signature that doesn't require an ID should be removed. The ID should then be optional.
The record link should remain unchanged, but also be able to link to any record with an id.

Compilation Time

Programs including xddl.h take quite a long time to compile. The main reason is that all the xspx generated code is all in a header file. xspx should be given an option to generate a source file named xddl.cpp that can be compiled into xenon.a. This would also help hide some of the internal API.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.