David Capello
9f552598ff
Minor fixes in coding style guide
2024-12-18 08:41:51 -03:00
David Capello
11184b453f
Update coding style guide with new clang-format rules
2024-12-18 08:35:20 -03:00
David Capello
657e679461
Some extra comments to the coding style guide
2024-08-08 16:17:56 -03:00
David Capello
3c44831831
We can use = {} for default arg values in function declarations
2024-07-19 17:10:39 -03:00
David Capello
84765c5052
Add several notes related to macOS 10.9 limitations
2023-01-05 10:21:50 -03:00
David Capello
4f2eae6b77
Use C++17 [[fallthrough]] if needed
2022-06-29 20:14:03 -03:00
David Capello
4471dab289
[osx] We cannot use std::optional::value() if we want to support macOS 10.9
...
It looks like value() member was introduced in macOS 10.13 (error
detected because we use CMAKE_OSX_DEPLOYMENT_TARGET=10.9).
2022-06-09 19:07:08 -03:00
David Capello
71d885d2a0
Replace base::clamp -> std::clamp as now we use C++17
2022-06-09 19:05:48 -03:00
David Capello
6d67d91335
Add note about const usage in coding style
2021-08-27 17:42:44 -03:00
David Capello
c42c5e1453
Backport new laf API to main branch of aseprite
...
Some features from the beta branch of aseprite & laf were backported
to the main branch of aseprite.
Related commits:
- New memory handling (db4504e816ffccf0ea63a78737ebb6e22cc0453b)
- New get event with timeout (e6ec13cc31e6e689040bc651f98ee1752834d14c)
- Convert os::NativeCursor to an enum (06a5b4f3aebfafb6363ea33d349975d6e419ca7b)
- Adapt code to the new os::Display -> os::Window refactor (5d31314cdb23f314391e5eaebd7cea84f5179ac7)
- Save/load main window layout correctly and limit to current workarea (d6acb9e20f11fda938959c99285fe4f7d7051794)
- Redraw window immediately on "live resizing" (d0b39ebade7736d47e6b2450bf68b088c0da8e57)
2021-07-05 17:51:29 -03:00
David Capello
d13f10212a
Update broken link to compiler features ( close #2677 )
2021-05-29 10:59:35 -03:00
David Capello
4c1a13bf07
More info about coding style
2021-05-04 18:32:38 -03:00
David Capello
ffbe4863ca
Minor fix in coding style guide
2021-01-14 12:45:32 -03:00
David Capello
732503eb30
Reword and fix some typos in CODING_STYLE guide
2020-09-20 13:16:14 -03:00
David Capello
05e351c10d
Update some C++11 in conding styles
2020-04-24 12:07:52 -03:00
David Capello
2b937ad0e1
Add a link to Mozilla summart of C++11 features available in gcc 4.8
2018-08-03 12:00:38 -03:00
David Capello
e8b3751a88
Minor change in CODING_STYLE.md header
2018-06-13 17:22:46 -03:00
David Capello
835941a6d6
Rename C++ style guides to CODING_STYLE.md file
2018-06-08 16:24:11 -03:00