[haiku-development] Re: haiku-format for C++ developers

  • From: Owen Pan <owenpiano@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 6 Aug 2018 23:04:35 -0700

On Mon, Aug 6, 2018 at 9:12 AM Humdinger <dmarc-noreply@xxxxxxxxxxxxx>
wrote:

On Sun, 5 Aug 2018 at 18:18, Owen Pan <owenpiano@xxxxxxxxx> wrote:

Inspired by this year's GSoC ideas (
https://www.haiku-os.org/community/gsoc/2018/ideas#other) and
clang-format, I have developed a C++ code formatter for Haiku's coding
guidelines. Here is the link: https://github.com/owenca/haiku-format


If people like to try it out and open issues, but are deterred by the
rather long build time, I've uploaded a 32bit version of  the Aug. 4th
commit at https://0x0.st/s4qi.zip ;(it's 25+ MiB...).

Nice work, Owen!

Regards,
Humdinger

--
Meet up at BeGeistert 031 in Hamburg
Details at https://discuss.haiku-os.org/t/begeistert-031/6750

Help translating 3rd party Haiku applications
Go to http://i18n.kacperkasper.pl


I have updated the build script so that not only does the build process
from scratch run a little faster now (e.g., 27 minutes vs. 31 minutes on
VirtualBox for 32-bit), but more importantly, we get a HUGE reduction in
file size, from ~70 MiB down to ~4 MiB! The uploaded files below are under
2 MiB.

haiku-format-x86_gcc2:
https://0x0.st/s4Au.zip

haiku-format-x86_64:
https://0x0.st/s4AQ.zip

Thank you to Humdinger for reporting issues and uploading the huge file!

Owen

Other related posts: