Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
22b88f68
Commit
22b88f68
authored
14 years ago
by
Julien Bonjean
Browse files
Options
Downloads
Patches
Plain Diff
[#2402] Improved code indent for daemon
parent
5fc29fa3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
astylerc
+1
-0
1 addition, 0 deletions
astylerc
sflphone-common/Makefile.am
+0
-7
0 additions, 7 deletions
sflphone-common/Makefile.am
sflphone-common/globals.mak
+8
-1
8 additions, 1 deletion
sflphone-common/globals.mak
sflphone-common/src/Makefile.am
+1
-6
1 addition, 6 deletions
sflphone-common/src/Makefile.am
with
10 additions
and
14 deletions
astylerc
+
1
−
0
View file @
22b88f68
...
...
@@ -12,4 +12,5 @@ indent-switches # Indent 'switch' blocks so that the 'case X:' statement
break-blocks # Pad empty lines around header blocks (e.g. 'if', 'while'...).
brackets=linux
unpad=paren
formatted
-d
This diff is collapsed.
Click to expand it.
sflphone-common/Makefile.am
+
0
−
7
View file @
22b88f68
...
...
@@ -24,13 +24,6 @@ doc:
@
echo
"D-Bus API HTML documentation has been generated in doc/dbus-api/doc/spec"
@
echo
""
indent
:
@
echo
"Indenting code:"
if
[
-f
$(
ASTYLERC
)
]
;
then
\
$(
indent
)
--options
=
$(
ASTYLERC
)
--recursive
*
.cpp
*
.h
;
\
fi
ACLOCAL_AMFLAGS
=
-I
m4
SUBDIRS
=
libs src ringtones man
$(
TESTS_DIR
)
EXTRA_DIST
=
m4/
*
.m4 tools/
*
.sh platform/
*
images/
*
README.gentoo
...
...
This diff is collapsed.
Click to expand it.
sflphone-common/globals.mak
+
8
−
1
View file @
22b88f68
...
...
@@ -7,7 +7,7 @@ sfllibdir=$(DESTDIR)$(libdir)/sflphone
sflcodecdir
=
$(
sfllibdir
)
/codecs
sflplugindir
=
$(
sfllibdir
)
/plugins
ASTYLERC
=
"../astylerc"
ASTYLERC
=
"
$(
top_srcdir
)
/
../astylerc"
indent
=
"/usr/bin/astyle"
# for pjsip
...
...
@@ -69,3 +69,10 @@ AM_CPPFLAGS = \
-DENABLE_TRACE
\
$(
SPEEXCODEC
)
\
$(
GSMCODEC
)
indent
:
@
echo
"Indenting code:"
if
[
-f
$(
ASTYLERC
)
]
;
then
\
find
$(
top_srcdir
)
/src/
-regex
".*
\.\(
h
\|
cpp
\)
"
-exec
$(
indent
)
--options
=
$(
ASTYLERC
)
{}
\;
;
\
fi
This diff is collapsed.
Click to expand it.
sflphone-common/src/Makefile.am
+
1
−
6
View file @
22b88f68
...
...
@@ -102,9 +102,4 @@ libsflphone_la_CFLAGS = \
libsflphone_la_SOURCES
=
indent
:
@
echo
"Indenting code:"
if
[
-f
$(
ASTYLERC
)
]
;
then
\
$(
indent
)
--options
=
$(
ASTYLERC
)
--recursive
*
.cpp
*
.h
;
\
fi
all
:
indent
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment