Cleanup in GL renderer...

Cleaned up PrimitiveScanner

Further cleanup

Refactor primitives

Refactor FileToolset

Moved the about dialog into the file toolset and removed the mail button (the forums are better for this anyway)

Removed the 'once' macro since it's not used

Removed the USE_QT5 macro now that we're Qt5 only.

Change "m_" prefix to "_" in members of PartDownloader

Changed QList to QVector in PartDownloader

Cleanup PartDownloader

Unabbreviate "transform" to "transformationMatrix"

Cleanup colors.cpp/.h

Refactor GuiUtilities

Some cleanup

Draw line lengths to 2 decimal points only.

Dropped Qt 4 support. We're Qt 5 only now.

Fixed compilation.

Added doxygen.ini

Moved matrix into new source/header pair in types/

Replaced the ugly for_enum macro with a generator class

Further improved enum handling

Enum stuff

- Refactoring...

Unabbreviated overlay member names

removed removeDuplicates in favor of QSet, and the unused ObjectList class

Fixed circle mode not building the circle anymore

Removed unneeded includes from main.cpp

Moved PreferredLicenseText into HierarchyElement and made the config pointer be passed to LDPaths. Now I can finally remove the Config global pointer.

Moved LDObject::moveObjects into MoveToolset

Rename Pi to lowercase pi

Renamed ldObjectMath.cpp/.h to mathfunctions.cpp/.h

Moved rotation point handling to ldObjectMath.cpp and encapsulated it into new class MathFunctions

Split grid stuff into a new class Grid in grid.cpp/grid.h

Use a better gcd algorithm, some style fixes

Replaced GetRecursiveFilenames with QDirIterator

Reformatted primitives.cpp

Split PrimitivePrompt into its new source files, renamed it to GeneratePrimitivePrompt

Transformed primitive management into a new class PrimitiveManager that is a member of MainWindow

Renamed ConfigurationValueBag to Configuration and added a pointer to it into HierarchyElement. This helps with the fight against global variables.

Fixed line length warnings

Added triangle count to viewport, added compile-time line length check

Happy new year 2016!

Cleanup miscallenous.cpp/.h

It worx again!

Rename LDSubfile to LDSubfileReference

A bit more cleanup. Finally removed the PROPERTY macro. (now let's see about making a new one sometime that isn't so terrible?)

Fix rectangle mode for real

Fixed circle, rectangle and line path modes not working anymore. Add blip coordinates to curve and line path modes. Circle mode for now only can show the coordinates of the initial blip

Branch close

Copyright header fix, some minor stuff

Subject Bézier curve fineness to the grid. By default, the coarse grid uses 8 segments, medium 16 and fine 32. Moved rasterization from demoting to inlining, it feels more sensible for it to be there.

Bézier curves now render in 3D

Bézier curves are now parsed correctly

Bézier curves may now be serialized down using the "Demote" function. I need to rename that now.

Added some pretty pics that I left out of the previous commit.

Begin work on Bézier curve support. They can be drawn but don't render in 3D and they load as comments.

And now it should work again too

Now compiles again

Commit work done on document manager. Happy 3rd birthday LDForge!

LDVertexObject stuff (ultimately not worth it)

Removed some unused methods

Split PartDownloadRequest into its own file

Refactor PartDownloader

Refactor PartDownloadRequest

Use automoc so that it compiles again...

Add ${LDFORGE_HEADERS} into the add_executable call so that header files without corresponding source files show up in Qt Creator's project listing

Sort LDFORGE_HEADERS in CMakeLists.txt

Refactor LDObject API

Removed the exiting hacks

Refactor GLRenderer and GLCompiler

Remove "!= nullptr" expressions

null -> nullptr

Refactor edit history

Optimize QVariant in ConfigurationValueBag

Refactor MainWindow's API

Split LDFileLoader (now LDDocumentLoader) into its own files

Refactor LDDocument's API

Make documents members of the main window

More refactor and removal of g_win uses

Make ui a reference pointer in ConfigDialog

Move ConfigDialog into src/dialogs/ subfolder

Added a GuiUtilities class to contain useful non-MainWindow-related GUI functions

Change color config types into actual colors now that I can do that

Now doesn't crash anymore

Now compiles and links but crashes shortly after startup.

Commit configuration rework (doesn't work yet, more than most probably doesn't compile either)

Split actions.cpp and actionsEdit.cpp into toolsets.

Happy new year 2015

elif -> else if

Replaced Min/Max/Clamp/Abs with use of Qt versions of them.

MainWindow: "ui->" -> "ui."

More refactor

More through removal of the vertex object

Rename MainWindow files

Fix result reporting in "add borders"

Fix crash when using "add borders" with a triangle

Remove the vertex object type

Removed all asserts from the code. Removed assert handling and the bomb box dialog.

Refactor OpenProgressDialog out of dialogs.cpp

Replace LDIterate function with LDObjectIterator class

Remove g_win uses from actionsEdit.cpp

Refactor the new part dialog into a new class

Refactor LDrawPathDialog and LDPaths

Rename all .cc files to .cpp files.

Closed old branch

Move colorSelector.cc to dialogs/colorselector.cpp

actually added updaterevision.py, more fixing

Replaced updaterevision with a python script, more renames, clang fixes

ColorSelector: `ui->` -> `ui.`

Cleanup progresses

More sharedpointer removal

Replace casts

Commit work done on code cleanup

Commit work on scripting scripting

Refactoring update.

- fix spacing in cmakelists

- commit ldproject stuff projects

- more work on project files projects

- commit more work done on projects projects

- commit work done on projects projects

- merged with default projects

- fixed: actions did not fire anymore

- rewrote codegen in python and merged updaterevision into it

- moved ui files to src/

- renamed .cc files to .cpp

- added dependency to libarchive projects

- refactor MainWindow a tad

- removed the vertex object

- bump copyright year

- relaced updaterevision.c with a python script

- added/corrected license headers scripting

- ast: added root and macro nodes and processing of them scripting

- now parses to tokens scripting

- more work on scripting scripting

- commit work done on scripting scripting

- fixed stability problems

- closed old head experimental

- closed old head

- closed old head

- commit work done on header/body split experimental

- added integrity scan first steps experimental

- closed bad head experimental

- commit work done on inspector experimental

- merged experimental with default experimental

- merged with default experimental

- argh experimental

- merged two default heads

- fixed a rendering issue.. experimental

- bfc stuff (at least it works now...) experimental

- merged bfc with default experimental

- merged with default experimental

- added CMakeLists.txt.user to ignore list

- removed old .gitignore

- removed unneeded debug lines... whoops

- zoom-to-fit now works.. better than before

- commit work done on header/body split

- added integrity scan first steps

- bumped version to 0.4

- pressing ctrl while drawing now locks the draw to cardinal directions

- now remembers what toolbars are enabled and what are disabled in config

- merged with default experimental

- merged selection optimization from experimental into default

- removed the clock timer I forgot in the previous commit experimental

- rewritten updateSelection() core loop, a new algorithm there makes selection updating a ton lot faster than before experimental

- re-committed bfc work (this makes 903ec1e46298 a suitable common ancestor for experimental branch features) experimental

- backed out work done on bfc (re-committing later) experimental

- merged with default experimental

- improved part downloader: now asks for the path instead of just directing the user to settings. auto-fix download now configurable and opt-in

- interface fixes and changes: edit modes now use plain letter keybinds like gimp, fixed some edit modes missing from the menu, magic wand now follows the selection mode (in order to group selective/drawing modes together like that), etc

- fixed endless loop in prepareVBO due to badly incremented iterator

- commit work done on bfc support experimental

- fixed: missing WIN32 keyword in cmakelists caused the command prompt to show up when ldforge was executed

- fixed: due to a shared pointer called via reference called dismiss() in LDDocument::closeInitialFile, this could cause LDDocuments to delete themselves in setImplicit(true) as no shared pointers were left inside closeInitialFile to keep the refcount up.

- fixed compilation on windows

- a more elegant fix to the problem addressed in the previous commit

- fixed documentless objects being selected on document close

- if an external program fails to run properly, an stdout&stderr log is now printed

- changed the unorthodox color selection grid into a push button grid

- fixed infinite recursion when loading logoed studs

- renamed line loop to line path, updated changelog

- finished line loop mode

- added line loop mode (doesn't actually create anything yet)

- circle mode now locks the angle offset on final confirmation stage

- refactor

- display a label next to the spinbox showing the fraction

- axed an unused variable

- circle tool is now able to rotate the partial circular primitives spawned

- ring finder now also tries scaling by 10 (3.4, 6.4 -> 34, 64), fixed floating point math argghhhhhhhh

- now tries to download missing files off ldraw.org

- now able to spawn partial circular primitives

- circle mode can now do hi-res

(0) -1000 -192 +192 tip

mercurial