GCC doesn't like me using QStringLiteral here

Use Mapbox's ear clipping algorithm to handle drawing any simple polygon

Edit tools: get rid of the preview polygon and render the result-to-be

simplify settings further

Further reduce settings.h

fix comment

Replace config collector with a simpler system

reimplement EditTools as a render layer

Reworked grid program into a render layer

Reimplement the axes program as a layer that can be added to PartRenderer

begin refactor of gl side

Rewrite prune to use graphs rather than O(n²) searches

Rewrite dependency loading

Now builds again

more refactoring, dosn't build yet

remove more dead code

Add model icons back into the list view

well that's embarrassing

More refactor, merged main.h, basics.h and utility.h into one header file basics.h and removed plenty of unused code

Refactor colors.cpp/.h

Concentrate model editing into one coroutine inside main()

Move editing modes tool bar, tool options widget stack and model list view into the main window

Replaced the tab widget with an MDI area

Continue giant refactor

Giant refactor

Fix pick() picking from weird places on the screen with high DPI scaling

fix up things and remove unnecessary code

move drawState to Document

delete unneeded things

added a missing const

simplify further

Simplify PolygonCache

remove dead code

made editing tools not a polymorphic class tree

add missing file

cleanup, gl::Compiler changed to gl::ModelShaders

more work on circle tool + cleanup

work on circle tool

work on circle tool

Added line path tool

Add missing svg icon

- Add editors for string and bool properties

add ui file to object editor

fix build

Handle properties in a generic manner in the object editor

merge

fix saving

Show type of object in the object editor

Simplify parsing (removed header parsing)

add grid actions

show unnamed tabs as "<unnamed>" in the tab list

Fix performance issues in Model::find

Render vertices as spheres

add missing file

Added a toggle for setting whether axes are drawn

Added the delete action

Draw tool now renders the winding of the new polygon

the grid now has less lines

Fix rendering of cursor coordinates on bright background

fixed the grid not being black on startup if settings has bright background color

Render draw tool preview as a line when we only have 2 points

Add icons for tools

only render svg to png if the png does not exist

Icons update

Add document closing

fix crash when loading a file

Add icons from ionicons

improve grid rendering

render the grid with lines

improve rendering of the grid

add missing files

Renamed modeleditcontext.cpp -> modeleditor.cpp

Major refactoring

Clean up Model

extract polygon cache out of Model

work on edit history

reworking

update

remove outdated comment

Use QSaveFile to save the file more safely

Fix handling of "BFC INVERTNEXT" with multiple inner whitespaces

Fix memory corruption involving document tools.

Update document tab label after saving

Saving works now

work on saving

Document and refactor colors.cpp and colors.h

Document model.h

Add documentation to model.cpp

Work on edit history

Merge commit

Add remaining serialize methods

Begin work on edit history

Begin work with serialization

add missing change to document.cpp

Add missing changes to canvas.h

Add documentation

Moved automatic grid adjusting into a new action

added a simple matrix transformation tool

moved ObjectEditor under SelectTool

Move tools under Document instead of MainWindow

esc with draw mode now clears the polygon

refactor

Show concave polygons as red while drawing

added right click support for draw tool

rework rendering of vertices

update

Add vertex rendering

Add vertex map

refactor

fix too long lines

added build-time test for line length

refactor

use QT_NO_KEYWORDS

Draw tool actually adds objects now

stuff

replaced preview layers in favor of overpainting callback

work on editing tools

Move selection logic into select tool

work on draw preview

added preview layer code and fixed build warnings

Add connections

update

stuff

added references to items()

fix build

disable cotire because it's messing up Qt Creator's Clang code model for me

added translations to dependencies in CMakeLists... maybe that's the source of the trouble with translations getting emptied

work on tools

added tool base code

asioita

added a color select dialog

fix warnings

merge commit

add comments

remove dependency on glut, fixes

object editing

finetuning in multiplyfactordialog

added PolygonObject and refactored away a lot of boilerplate

PolygonObjectEditor can now modify the object properly

added a matrix editing widget

fix

refactor, added splitter

added doublespinbox

object editor widgets start to form up

simplification

added a render style for pick scene

fixed signed vs unsigned nonsense in gl::Compiler::idFromColor

added some meta stuff, simplified quadrilateral splitting and tested it

finished splitQuadrilateral theoretically (untested)

document AbstractBasicShaderProgram

negative axes are now drawn in darker color

ldraw::Id is now templated for extra type safety

stretch the grid quadrilateral less, hopefully this makes fragments small enough even on integrated

show axis directions on the screen

Added axes rendering

begin work on axes program

default to XZ

grid autorotation

added a method to find out if the view is perpendicular to grid

document the grid snapping transformations

grid snapping now also works with transformed grids

omg functional programming

update locales

moved GridProgram to Canvas

fixed warning

fixed testing of whether screenToModelCoordinates's result value is behind the camera

use glm::project instead of figuring out the conversion manually...

use glm::unProject to implement screenToModelCoordinates

PartRenderer::modelToScreenCoordinates FINALLY WORKS

grid stuff

made the grid look nicer

added grid program

avoid having the null id in the selection

selection works now

fix some warnings

wrote the id color in terms of the id value in the shader now that I can get the id to the shader properly

added selection highlighting

picking works now

added the pick scene

added configurable line anti-aliasing

added configurable line thickness

made edges white in dark backgrounds

made configurationoptions.txt visible in Qt Creator

added automated configuration collection

added configurable background color

Main color is now configurable

translations

wired renderstyle up

added render style storage

renamed the linetypes namespace to ldraw namespace and added more structures to it

added some sort of lighting

replaced matrix and vertex classes with glm

fix default angle

fix remaining rendering control issues

it works!

added FindGLM.cmake

modelview matrix set up

commit work done on plugging vao to the gl renderer, renders nonsense for now

at least VAOs work now

added debug and release to hgignore

added license

fixed a pile of nonsense that caused subfiles to go haywire

commit work on GL rendering

things

fixed build

added missing files

things

added teapot rendering

things

split quadrilateral and triangle into their own source files

renamings

renamings

added dependency loading

added matrix conversions and datastream operators

fixed translations being updated twice at the same time, that's bad

added saving of splitter state and recent files

major update with many things

added the settings editor

language support

stuff

added regular expressions for the parser

Added lots of code

things

add version

(0) tip

mercurial