Skip to content

Version 1.1.0 #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 77 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
d538c99
Added an initial typedef for the method callback.
shalecraig Feb 2, 2014
8dd6673
affinity -> offset.
shalecraig Feb 2, 2014
f620f4f
Update the accel.c file with this.
shalecraig Feb 2, 2014
bd5d0f9
Synchronized the sample code
shalecraig Feb 2, 2014
072f9ab
Notes, and parameters.
shalecraig Feb 2, 2014
df2cd2f
Added a threshold variable.
shalecraig Feb 16, 2014
f30683b
Added callback to the accel_state struct
shalecraig Mar 8, 2014
9b76246
Started writing tests that the callback is being called.
shalecraig Mar 10, 2014
ed4adfd
Added Macros to allow me to shim anonymous classes into c.
shalecraig Mar 10, 2014
132c652
Added currently failing test to motivate myself to work.
shalecraig Mar 10, 2014
67c087f
Updated the testutil header to work.
shalecraig Mar 13, 2014
750d15f
Added basic tests for callback evaluation.
shalecraig Mar 13, 2014
80dbd54
Ignore dSYM file(s)
shalecraig Mar 13, 2014
ab15ee7
Cleaned up some formatting in accel_test
shalecraig Mar 13, 2014
afc6514
Fixing incorrect comment
shalecraig Mar 13, 2014
97f1ca0
Added clang-format file
shalecraig Mar 14, 2014
4c434de
Formatted all code. WOOHOO!
shalecraig Mar 14, 2014
d1a1f90
Updated accel library version for sample-accel
shalecraig Mar 15, 2014
963c8bb
Formatted simple-accelerometer.c
shalecraig Mar 18, 2014
072e6af
I believe I have setup the commit setup script
shalecraig Mar 18, 2014
76db08c
Cleaned up the clang-format commit hook
shalecraig Mar 18, 2014
12eb59d
added comment describing the change
shalecraig Mar 18, 2014
1d21e3e
Updated the version to be 1.1.0a
shalecraig Mar 19, 2014
ab8bbd1
Make sure the version is updated correctly
shalecraig Mar 19, 2014
9e403c3
Moved tests around
shalecraig Mar 19, 2014
aaa920a
Initial cleanup
shalecraig Mar 21, 2014
c77c5d5
Updated with new and improved makefile
shalecraig Mar 21, 2014
a018544
Updated bin folder to makefile
shalecraig Mar 21, 2014
40837b1
makefiles are no longer in the test env.
shalecraig Mar 21, 2014
73130a3
Build all the branches!
shalecraig Mar 21, 2014
94d3934
Somehow, this wasn't working.
shalecraig Mar 21, 2014
df4b8a7
Build at every commit.
shalecraig Mar 21, 2014
fb56833
Everything that builds a bin requires it.
shalecraig Mar 21, 2014
062bc1e
Merge pull request #43 from shalecraig/shale/1.1.0/build-on-commit
shalecraig Mar 21, 2014
9bd1194
Removed useless constant modifier
shalecraig Mar 21, 2014
c2c2549
Updated the accel to be more conformant to c spec
shalecraig Mar 21, 2014
1ab4e6d
Added C and CXX formalized arguments.
shalecraig Mar 21, 2014
18d99ad
Modified the way we require pthreads
shalecraig Mar 21, 2014
1808738
Merge pull request #44 from shalecraig/shale/1.1.0/arguments-be-crazy
shalecraig Mar 21, 2014
10e654c
Updated the demo code.
shalecraig Mar 21, 2014
11bed50
Added commit hook to keep the demo in sync
shalecraig Mar 21, 2014
fc54eb5
Implemented accel_reset_affinities_for_gesture
shalecraig Mar 22, 2014
158cf20
Upped the unit test to be more comprehensive
shalecraig Mar 22, 2014
d3c070b
Always clean the directory when committing
shalecraig Mar 22, 2014
e274b86
Merge pull request #45 from shalecraig/shale/1.1.0/accel_reset_affini…
shalecraig Mar 22, 2014
302c85f
Merge pull request #46 from shalecraig/shale/1.1.0/make-always-clean-…
shalecraig Mar 22, 2014
3b6cd77
Added tests that were somehow missed in transition
shalecraig Mar 22, 2014
d5d3873
Removed introduced TODO
shalecraig Mar 22, 2014
9568e8f
Added uint32_t import
shalecraig Mar 22, 2014
9b08277
void_null -> VOID_NULL
shalecraig Mar 22, 2014
d0f545c
Cleaned up TODOs
shalecraig Mar 22, 2014
9e508f2
Added the test file.
shalecraig Mar 22, 2014
589ffff
Merge pull request #47 from shalecraig/shale/1.1.0/add_more_tests
shalecraig Mar 23, 2014
05f6fbf
Started initial work on the moving_avg_ticker
shalecraig Mar 23, 2014
4c82c3b
Fixed changes, 1.1.0 should be at a good state.
shalecraig Mar 24, 2014
fa4276d
Makefile now has more Flags, more PHONY
shalecraig Mar 24, 2014
0da9bf0
Removed lock file.
shalecraig Mar 24, 2014
0c436d6
Ignore lock files
shalecraig Mar 24, 2014
71f18bd
Merge pull request #54 from shalecraig/shale/1.1.0/remove-lockfile
shalecraig Mar 24, 2014
a5ced11
Merge pull request #53 from shalecraig/shale/1.1.0/makefile-cleanup
shalecraig Mar 24, 2014
b676dc3
Check against #define, not a inline number.
shalecraig Mar 24, 2014
0b597a9
Added a ton of warnings, so everything is known.
shalecraig Mar 24, 2014
549aab2
Alpha is a float, as it should be
shalecraig Mar 25, 2014
9aa0efb
Added brackets to some types, and braces to others
shalecraig Mar 25, 2014
4729152
Wow, I cleaned up types everywhere.
shalecraig Mar 25, 2014
5544f45
Hmm, this can go too.
shalecraig Mar 25, 2014
cbc1a17
Updated a number of types so pebble build works
shalecraig Mar 25, 2014
368a791
Remove useless definiition
shalecraig Mar 25, 2014
eccae35
Made offsets explicitly int32_t
shalecraig Mar 25, 2014
3e5a2f1
Threshold is now unsigned.
shalecraig Mar 25, 2014
ef502c0
Made tons of types more explicitly signed/sized
shalecraig Mar 27, 2014
79ad48c
updated phony targets
shalecraig Mar 27, 2014
147b371
Added more compilation flags
shalecraig Mar 27, 2014
ca4a0d0
Merge pull request #55 from shalecraig/shale/1.1.0/makefile-pedantic++
shalecraig Mar 27, 2014
8405f3d
Specific types are best types:
shalecraig Mar 27, 2014
b158047
Moved the last few major types over to explicit types:
shalecraig Mar 27, 2014
de6e7df
Merge pull request #56 from shalecraig/shale/1.1.0/finish-changing-types
shalecraig Mar 27, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added a ton of warnings, so everything is known.
  • Loading branch information
shalecraig committed Mar 24, 2014
commit 0b597a9a2cb4893ef60f6e68f3a26042a2d5f754
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ TEST_OBJECTS = $(subst test,bin,$(_TEST_OBJECTS_TMP))
EXEC = tests

# removed: -Wl,-z,relro -Wl,-z,now
C_ARGS = -DIS_NOT_PEBBLE -DRELEASE -pipe -m64 -ansi -fPIC -fPIE -g -Os -ffunction-sections -fno-exceptions -fstack-protector-all -fvisibility=hidden -W -Wall -Wextra -Wunused-parameter -Wunused-function -Wunused-label -Wpointer-arith -Wformat -Wreturn-type -Wsign-compare -Wmultichar -Wformat-nonliteral -Winit-self -Wuninitialized -Wdeprecated -Wformat-security -Werror -Wcomment -Wtrigraphs -Wundef -Wunused-macros -pedantic-errors -std=c99
C_ARGS = -ansi -DIS_NOT_PEBBLE -DRELEASE -ffunction-sections -fno-exceptions -fPIC -fPIE -fstack-protector-all -fstrict-overflow -fvisibility=hidden -g -m64 -Os -pedantic-errors -pipe -std=c99 -W -Wall -Wbad-function-cast -Wc++-compat -Wcast-qual -Wcomment -Wconversion -Wdeprecated -Werror -Wextra -Wfloat-equal -Wformat -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Wmissing-include-dirs -Wmultichar -Wnested-externs -Wold-style-definition -Wpacked -Wpadded -Wpointer-arith -Wredundant-decls -Wreturn-type -Wsign-compare -Wstack-protector -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wtrigraphs -Wundef -Wuninitialized -Wuninitialized -Wunused-function -Wunused-label -Wunused-macros -Wunused-parameter -Wvariadic-macros -Wwrite-strings
# removed: -lpthread, -Wl,-z,relro -Wl,-z,now
CXX_ARGS = -DIS_NOT_PEBBLE -lpthread -pipe -m64 -ansi -fPIC -g -O3 -fno-exceptions -fstack-protector -fvisibility=hidden -W -Wall -Wno-unused-parameter -Wno-unused-function -Wno-unused-label -Wpointer-arith -Wformat -Wreturn-type -Wsign-compare -Wmultichar -Wformat-nonliteral -Winit-self -Wuninitialized -Wno-deprecated -Wformat-security -Wall
CXX_ARGS = -DIS_NOT_PEBBLE -fno-exceptions -fPIC -fstack-protector -fvisibility=hidden -g -lpthread -m64 -O3 -pipe -W -Wall -Wextra -Wextra-tokens -Wconversion -Wformat -Wformat-nonliteral -Wformat-security -Winit-self -Wmultichar -Wno-deprecated -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wpointer-arith -Wreturn-type -Wsign-compare -Wuninitialized -Wcast-qual -Wsign-compare -Wsign-conversion -Wlogical-op

default:
@make all
Expand Down