Skip to content

Use UTF8, make UnitTests platform independent and remove more broken code#83

Merged
martinweismann merged 14 commits intomasterfrom
UTF8_and_UnitTests
May 23, 2018
Merged

Use UTF8, make UnitTests platform independent and remove more broken code#83
martinweismann merged 14 commits intomasterfrom
UTF8_and_UnitTests

Conversation

@martinweismann
Copy link
Copy Markdown
Member

@martinweismann martinweismann commented May 22, 2018

This PR:

  • changes (nearly all) internal wstrings (UTF16) to strings (UTF8).
    It especially simplifies the XML-reader which does not need to convert all input streams from UTF8 to UTF16
  • ports the windows specific UnitTests to use googletest and makes them run on all platforms.
  • removes plenty of broken *_COM- and unsused _GGC-code and uses the platform independent implementations.
  • Makes NMR_COM_NATIVE settable via the commandline and thus resolves issue 77.
  • NMR_COM_NATIVE=ON now builds: partly resolves issue 51.

@martinweismann martinweismann merged commit fdb0b67 into master May 23, 2018
@martinweismann martinweismann deleted the UTF8_and_UnitTests branch May 23, 2018 11:13
3dJan pushed a commit to 3dJan/lib3mf that referenced this pull request Apr 27, 2023
…code (3MFConsortium#83)

* First working UTF8-implementation

* Remove unused code im xml-reader

* Remove plenty of unused 'GCC'-code

* Port VS unittests to gtest

* Make UTF8-changes and UnitTests compile on linux

* Fix MAC build

* Address some TODOs

* Remove broken COM-functionality

* Change some more interfaces to UTF8

* Remove unsused includes and NMR_COM_NATIVE flags

* Up the version number

* Remove ATL from examples

* Remove unused OPC-headers

* Make NMR_COM_NATIVE settable on the command line
3dJan added a commit that referenced this pull request Apr 27, 2023
…code (#83)

* First working UTF8-implementation

* Remove unused code im xml-reader

* Remove plenty of unused 'GCC'-code

* Port VS unittests to gtest

* Make UTF8-changes and UnitTests compile on linux

* Fix MAC build

* Address some TODOs

* Remove broken COM-functionality

* Change some more interfaces to UTF8

* Remove unsused includes and NMR_COM_NATIVE flags

* Up the version number

* Remove ATL from examples

* Remove unused OPC-headers

* Make NMR_COM_NATIVE settable on the command line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants