Giter Club home page Giter Club logo

moka's Introduction

moka's People

Contributors

gdamiand avatar liberostelios avatar

Watchers

 avatar  avatar

moka's Issues

Small bugs

Following the migration to QT5, few bugs need to be fixed:

space does not close the creation mode (while it should be)
same for translation/rotation/scale mode (space should close the operation)
multi-view is broken (shortcut 4)

Load/Save operations using non portable types

Hello Guillaume,

Regarding file loading problems between OS, one of the potential culprits would be the use of non-compiler portable data types. When saving the darts, I saw several casts in types which have different sizes depending on the platform.
In particular from long int to int, a snippet is worth a thousand words: link to godbolt

I would recommend using portable sized-integer types (uint32_t, uintptr_t, etc...) from <cstdint> or <stdint.h> (according to your preference) during saving and loading operations (in files like gmv-save.cc, streams.icc, dart-vertex.icc in lib-gmapkernel).

I don't know the size and scope of such a change in the code base. We had made some ad hoc modifications to a code base for a particular need in Poitiers, but nothing clean enough to make it an effective pull-request yet.

This issues can serve as a reminder for the time being. I'm preparing another pull-request for you regarding the Moka CMakeLists.txt for the compilation on Windows.

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.