Ivo Noorhoff
61e6178d1b
In this commit i'll change just the Qt project, c and header files to get OpenSCAD
...
building and working on Windows 7 compiled with Visual Studio Express 2012.
A couple of things needed changing :
* MSVC 2012 has no trunc or round, i have added those to mathc99 and included mathc99 to the files needed.
The implementations were taken from boost.
* MSVC 2012 stl does now allow accessing out of bounds elements in std:vector as an array, so "chain->objects[i]" will
fail in "OpenCSGRenderer::renderCSGChain". Whatever the platform, it will me a good idea to change this
code to something that does not trigger undefined behavior.
* MSVC 2012 cannot figure out the types involved in "if (file_size == 80 + 4 + 50*facenum) {", i have added
a cast to force it to "if (file_size == static_cast<std::streamoff>(80 + 4 + 50*facenum)) {".
The next round would be regression testing and debugging and possibly more changes to the OpenSCAD main code.
The round after that would be changing the .pro and .pri files to create correct visual studio solutions.
2013-07-28 13:42:35 +02:00
Don Bright
31c88a434b
merge branch to get windows "library path" working. tweak build system,
...
eliminate several compiler warnings.
2013-05-25 22:37:26 -05:00
Marius Kintel
9a297ecee5
Refactoring: Split out FileModule from Module, Added LocalScope renamed some confusing 'evaluate' methods to 'instantiate', added FileContext (not yet used)
2013-04-26 17:45:03 -04:00
Marius Kintel
64ed1eb9fe
Experiment: Lazy evaluation of argument lists in evaluation context. Allows e.g. for loop variables to be dependent on each other
2013-04-26 17:42:32 -04:00
Marius Kintel
58bd9c9e3f
Cleaned up argument list handling, related to #116
2013-04-18 18:34:14 -04:00
Marius Kintel
fd9dd04f50
Print warnings on child index out of bounds
2013-04-09 20:19:29 -04:00
Marius Kintel
a37813a899
Refactored context handling into using separate Module contexts and Eval contexts. This allows for recursive module calls, and cascading children. I believe this fixes issue #116
2013-04-09 00:28:16 -04:00
Marius Kintel
2eda86bf2f
Fix bug assuming negative doubles will overflow a size_t, which failed on ARM. Related to #259
2013-02-02 13:28:00 -05:00
Marius Kintel
327310f190
Rewrote the Value class to be based on boost::variant - this should reduce memory footprint and improve performance
2012-03-28 00:05:58 +02:00
Marius Kintel
eff1f7f8c9
Ported printutils away from Qt
2012-01-25 03:11:12 +01:00
Marius Kintel
45161d4356
Slight refactoring of builtin function and module handling
2011-11-06 18:37:12 +01:00
Marius Kintel
da08b50c03
Added note about problem with modifiers using the child() module, reported by nophead
2011-09-28 23:06:19 +02:00
Marius Kintel
6659ad47b0
Updated boolean handling of if/else
2011-09-08 08:52:21 +02:00
Marius Kintel
93c8480ffb
bugfix: context got lost dugin a recent refactoring job
2011-09-07 22:57:10 +02:00
Marius Kintel
ea8a1a670c
bugfixes: Don't iterate over empty for loops, don't iterate over for loops with illegal values
2011-09-05 16:25:13 +02:00
Marius Kintel
c9ba59bf02
Implemented support for for() with scalar argument, e.g. for (i=23) echo(i)
2011-09-04 21:02:33 +02:00
Marius Kintel
5417b4fa65
Ported use for Qt's foreach to BOOST_FOREACH
2011-09-04 20:35:23 +02:00
Marius Kintel
a3ac7627fd
Removed dependency on Qt from control module
2011-09-04 19:44:50 +02:00
Marius Kintel
488d173b4a
killed warnings
2011-09-03 18:42:12 +02:00
Marius Kintel
6f632190a0
Ported a bunch of stuff from Qt to STL
2011-09-03 06:10:36 +02:00
Marius Kintel
cf4821c589
De-Qt-ified AbstractNode
2011-08-04 04:58:17 +02:00
Marius Kintel
d24b3cc84d
Ported recent changes to master into the visitor branch
2011-04-12 20:35:44 +02:00
Marius Kintel
91c640fb5e
Copyright updates
2011-01-21 02:21:09 +01:00
Marius Kintel
e0a068a0e8
Refactored some QString usage in the backend to std::string
2010-11-07 16:29:34 -05:00
kintel
5726317461
Support for if-else statements
...
git-svn-id: http://svn.clifford.at/openscad/trunk@436 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-12 13:20:15 +00:00
clifford
07bc7dbecd
Clifford Wolf:
...
Added CGAL exception to all copyright notes, as it is suggested on:
http://www.cgal.org/license.html
http://www.fsf.org/licensing/licenses/index_html
git-svn-id: http://svn.clifford.at/openscad/trunk@405 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-01 09:34:18 +00:00
kintel
191dc4857c
header file reorg
...
git-svn-id: http://svn.clifford.at/openscad/trunk@365 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:26:05 +00:00
kintel
6940d17181
reorganized file structure layout. more to follow...
...
git-svn-id: http://svn.clifford.at/openscad/trunk@364 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:17:05 +00:00