Commit graph

12 commits

Author SHA1 Message Date
Thomas Arnhold
f0546a51ad odk/examples: mark them as examples
Change-Id: Ie4b925b2411f2a26076de7d0dc367678b390dba8
2014-06-03 12:36:48 +02:00
Thomas Arnhold
ee7f28ed04 fix-includeguards.pl: handle odk/examples/DevelopersGuide
Change-Id: Ibdefb876d39419ff622917fcef427b33e3942ae4
2014-06-03 11:17:22 +02:00
Thomas Arnhold
e0f08c06aa fixincludeguards.pl: handle odk/examples
Now we have nice example header guards ;)

Change-Id: I1a5f8031cf267abf67dc4fbb20880d23e3640867
2014-05-18 14:32:34 +02:00
Thomas Arnhold
3305073e6d fixincludeguards.sh: improve regex
handle the following expression correctly:

endif /* !INCLUDED_TDOC_DATASUPPLIER_HXX */

Change-Id: I0c8b31464c9545bdbbb1371f13134f2cc89aad71
2014-04-19 11:10:10 +02:00
Thomas Arnhold
4c2a736360 fixincludeguards.sh: add some more types 2014-04-19 11:10:05 +02:00
Tor Lillqvist
5b710a4ef3 Add comment about portability
Change-Id: I289d3233f99b61115ed8efdea93cfabfbc53bcd7
2013-12-06 13:13:56 +02:00
Tor Lillqvist
1637bcc408 Revert "The TODO seems to be DONE"
Actually I am not sure at all.

This reverts commit 3b56738d88.
2013-12-06 13:13:56 +02:00
Tor Lillqvist
3b56738d88 The TODO seems to be DONE
Change-Id: I096aa231f2a46feb205e609227fc9f7e84affc1d
2013-12-02 12:00:04 +02:00
Thomas Arnhold
03e3ba56fc fixincludeguards.sh: add TODO note
Change-Id: Ia19608118ae129c56846941508c4cca5c9020c8d
2013-11-05 09:28:50 +01:00
Thomas Arnhold
9e775eee3e be verbose about which guard definition is problematic
Change-Id: I883acce26266b304e83bf898f86da12549a112e5
2013-10-23 23:22:32 +02:00
Thomas Arnhold
a91068b83b correct indentation + remove guard names
because the script detects those as "used in other files"

Change-Id: Ifacb337338e60a194047689c16254154c867b606
2013-10-23 23:22:27 +02:00
Thomas Arnhold
b009e8fd4f fixincludeguards.sh: unify all include guards
The include guard gets generated based on the path of the header file.

INCLUDED_FOO_BAR_HXX for global headers in include/

INCLUDED_FOO_SOURCE_BAR_BAZ_HXX for anything else.

See fdo#68849.

Change-Id: Ia250e7c99cef3cb5bb0f9d4dc758ef2da3eec0a8
Reviewed-on: https://gerrit.libreoffice.org/6386
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-23 10:26:06 +00:00