Permalink
Commits on Jul 22, 2013
  1. Fixed Qt5 support

    slaeshjag committed Jul 22, 2013
  2. Merge

    slaeshjag committed Jul 22, 2013
Commits on Jul 21, 2013
  1. Updated the New Tileset dialog to reflect individual images option

    bjorn committed Jul 21, 2013
    The dialog now features a combo box where the user can choose between
    creating a tileset based on a tileset image, or a tileset that is simply
    a collection of images. The images still need to be added later using
    the '+' button in the tileset toolbar.
    
    The drawing offset is no longer configurable using this dialog. It can
    be changed in the tileset properties instead.
  2. Allow creating empty tilesets and adding images later

    bjorn committed Jul 6, 2013
    Sponsored-by: Jamie Rocks
Commits on Jul 19, 2013
  1. Added an option to disable building of the Python plugin

    bjorn committed Jul 19, 2013
    Having some issues with it on Mac OS X currently, which I'll look into
    another time.
Commits on Jul 17, 2013
  1. Merge branch '0.9'

    bjorn committed Jul 17, 2013
  2. Replaced Q_WS_MAC with Q_OS_MAC

    bjorn committed Jul 17, 2013
    Q_WS_MAC was removed in Qt 5, so some Mac-specific code was not getting
    compiled in. This change fixes icons appearing in menus and the
    handling of external commands on Mac OS X.
Commits on Jul 13, 2013
  1. Fixed typo in copyright headers

    bjorn committed Jul 13, 2013
  2. Allow changing the drawing offset of a tileset

    bjorn committed Jul 13, 2013
    Previously it was only possible to set this offset in the New Tileset
    dialog, which is a little annoying for a setting that can really use
    some visual feedback.
    
    Also fixed updating of tileset name in the Properties dock on undo/redo.
Commits on Jul 12, 2013
  1. Use a template to share the algorithm of TileLayer::region

    bjorn committed Mar 22, 2013
    This way, TileLayer::tilesetReferences can trivially use the same
    optimized loop and it also becomes available for searching for other
    conditions.
  2. Fixed handling of per-tile external image references

    bjorn committed Jul 6, 2013
    Previously Tiled would load maps with per-tile external image references,
    but on saving the map all images would become embedded.
Commits on Jul 6, 2013
  1. Fixed compile with MSVC 2010

    bjorn committed Jul 6, 2013
    MSVC 2010 math header does not come with M_PI.
Commits on Jul 4, 2013
  1. JSON plugin: Store the draw order for object groups

    bjorn committed Jul 4, 2013
    Also fixed the error reporting of the VariantToMapConverter and fixed an
    issue when reading .js files that are modified with a text editor that
    adds a trailing newline (by trimming any trailing whitespace).
    
    And simplified cleanup a little using QScopedPointer.
  2. Introduced object group drawing order attribute

    bjorn committed Jul 4, 2013
    This attribute allows specifying per object group whether its objects
    should be drawn top down (from top to bottom) or in index order
    (which enables manual ordering).
    
    This change also fixes an issue where new objects could be invisible
    during placement due to being drawn below other layers.
  3. Introduced shortcuts for raise/lower actions

    bjorn committed Jul 4, 2013
    * PageUp => raise
    * PageDown => lower
    * Home => raiseToTop
    * End => lowerToBottom
    
    Previously, PageUp and PageDown changed the selected layer. Those have
    been moved to Ctrl+PageUp and Ctrl+PageDown.
    
    Those shortcuts in turn used to change the currently selected map. This
    is also possible with Ctrl+Tab and Ctrl+Shift+Tab, but to make up for the
    lost shortcuts, Alt+Left and Alt+Right were added.
  4. Explicit object order with actions to change it

    bjorn committed Mar 24, 2013
    The raise/lower actions are currently only available in the object
    selection context menu.
    
    TODO: Make this new object drawing order behavior optional.
    
    Sponsored-by: Ben Wales
Commits on Jun 26, 2013
Commits on Jun 14, 2013
Commits on Jun 10, 2013
  1. Updated link to Homebrew

    bjorn committed Jun 10, 2013
Commits on Jun 3, 2013
Commits on May 21, 2013
  1. Merge branch '0.9'

    bjorn committed May 21, 2013
  2. JSON plugin: Resolve relative paths of image layers

    bjorn committed May 21, 2013
    Relative image reference of image layers were not being resolved by the
    VariantToMapConverter, leading to images not being found when the map
    location didn't happen to match with Tiled's working directory.
    
    Also made sure the path is cleaned from "./" or "../" parts.
Commits on May 9, 2013
  1. Merge branch '0.9'

    bjorn committed May 9, 2013
  2. Lua plugin: Escape special characters when quoting strings

    bjorn committed May 9, 2013
    Now \, " and newlines are correctly escaped when quoting strings in
    the Lua output. I hope that covers all cases.
    
    Closes bjorn#437
Commits on May 8, 2013
  1. Merge branch '0.9'

    bjorn committed May 8, 2013
Commits on Apr 27, 2013
  1. Update .mailmap file

    stefanbeller authored and bjorn committed Apr 21, 2013
Commits on Apr 26, 2013
  1. Fixed crash when using Properties dock after closing all maps

    bjorn committed Apr 26, 2013
    When the last map was closed, the Properties dock would not get cleared
    as appropriate, and trying to interact with it was causing a null
    pointer dereference.
Commits on Apr 20, 2013
  1. Python plugin: Cleaned up compiler warnings

    stt authored and bjorn committed Apr 20, 2013
  2. Merge remote-tracking branch 'stt/python'

    bjorn committed Apr 20, 2013
    Conflicts:
    	src/tiled/mainwindow.cpp
    	src/tiled/tiled.pro
Commits on Apr 19, 2013
  1. Optimized the shutdown process

    bjorn committed Apr 19, 2013
    When closing Tiled it checks whether any maps need saving and it also
    saves the currently selected layer and view position. In doing so it was
    making each of the open maps "current" twice, which causes all the
    panels to update and is generally much more work than actually needed.
    
    Now making maps current is avoided except for the case where the user is
    prompted about whether he wants to save any changes, to make sure the
    context of the question is clear.
    
    Tiled now shuts down instantly, even with many maps open. It can be a
    little disturbing at first.
  2. Fixed drawing of flipped tiles when using software rendering

    bjorn committed Apr 19, 2013
    Due to a bug in QPaintEngineEx a negative scaleX or scaleY value results
    in nothing being drawn rather than drawing a flipped image, like the
    OpenGL paint engine does.
    
    Worked this around by manually drawing the fragment and applying the
    scale to the transform rather than to the target rect.