Skip to content
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

Megurio #13

Open
wants to merge 912 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
912 commits
Select commit Hold shift + click to select a range
5eeac4f
Add safe warn ignore stack level optional argument
Meiguro Aug 19, 2015
99a1b91
Add safe normalized indent for detailed error messages
Meiguro Aug 19, 2015
3c46087
Add moment global usage warning
Meiguro Aug 19, 2015
975ef2f
Add PNG Encoder from data-demo
Meiguro Aug 7, 2015
58b4270
Add platform detection
Meiguro Aug 17, 2015
0aa2966
Add support for remote images on basalt. Addresses #62, #73
Meiguro Aug 17, 2015
4fb3755
Replace zlib.js with imaya's version which supports compression
Meiguro Aug 17, 2015
379afe6
Use zlib.js in PNG Encoder
Meiguro Aug 17, 2015
5e660a2
Update the dithering algorithm to dither each color channel separately
Meiguro Aug 18, 2015
119a2d3
Work around Pebble.sendAppMessage double callback call issue
Meiguro Aug 23, 2015
e1b82b1
Merge branch 'feature-png-encoder'
Meiguro Aug 23, 2015
cf6203e
Add Wakeup 'wakeup' event for receiving wakeup events while running
Meiguro Aug 16, 2015
99a9e6e
Fix Wakeup get and each to return the id as the right type
Meiguro Aug 23, 2015
2130165
Change Settings to invalidate corrupt data rather than loading as a s…
Meiguro Aug 23, 2015
181a706
Merge branch 'feature-wakeup-event'
Meiguro Aug 23, 2015
cf976fc
Fix aplite remote image support caused by data typo
Meiguro Aug 23, 2015
5412d65
Ability to enter in hex color codes w/ rounding
fletchto99 Sep 26, 2015
fb404f9
Better color rounding algorithm
fletchto99 Sep 27, 2015
0b636e2
Cleanup to meet PebbleJS standards
fletchto99 Sep 30, 2015
cfdf5cc
Fix some indentation
fletchto99 Sep 30, 2015
5dedecb
Further optimize color rounding algorithm
fletchto99 Sep 30, 2015
92ee04a
Spaces after comma to follow standards
fletchto99 Sep 30, 2015
0a5cb15
Further fix indentation
fletchto99 Sep 30, 2015
b8fbb78
Correct indentation of return
fletchto99 Sep 30, 2015
e55553d
Merge branch 'fletchto99-master'
Meiguro Sep 30, 2015
f67c19a
Add compile compatibility for chalk
Meiguro Oct 8, 2015
1dd25d2
Add text flow support to simply ui cards
Meiguro Oct 8, 2015
08d8d8f
Add text flow paging shims
Meiguro Oct 10, 2015
4ec42f2
Add gpoint_neg
Meiguro Oct 10, 2015
114d6f0
Add NOOP for use in IF_ELSE macros
Meiguro Oct 10, 2015
5fb7bec
Add text flow and paging to simply ui card
Meiguro Oct 10, 2015
7ad9a29
Add new time styles
Meiguro Oct 14, 2015
77cc349
Change time styles to be the default, and rename old styles to classic
Meiguro Oct 14, 2015
5e8e82b
Add SDK IF_ELSE and USAGE macros
Meiguro Oct 21, 2015
0538333
Remove SDK_SELECT in favor of SDK IF_ELSE macros
Meiguro Oct 21, 2015
511335d
Mark simply res create_bitmap_with_data with SDK_2_USAGE
Meiguro Oct 21, 2015
9265ef7
Fix basalt window handling
Meiguro Oct 21, 2015
b6e5662
Re-enable animations on basalt between different window types
Meiguro Oct 21, 2015
9046b21
Update link to avoid redirect
jackdalton Nov 3, 2015
04cf29e
Merge pull request #103 from pebble/bugfix-basalt-window-handling
Meiguro Nov 10, 2015
f1bf36b
Fix simply ui subtitle to use the subtitle font for height calculation
Meiguro Nov 10, 2015
3a9e12f
Replace other occurences of getpebble.com
jackdalton Nov 10, 2015
c8c6bc3
Fix simply ui to reset the text style upon clearing text
Meiguro Nov 10, 2015
5f1c18f
Fix usage of USAGE macros for silencing unused create_bitmap helpers
Meiguro Nov 10, 2015
05fde82
Add clarifications and new foreground wakeup event
Meiguro Nov 11, 2015
b505b7c
Fix simply window stack to use NONE
Meiguro Nov 11, 2015
19d8e5d
Add .travis.yml
Meiguro Nov 11, 2015
eab3b40
Merge pull request #108 from pebble/feature-travis-ci
Meiguro Nov 11, 2015
3dc00ae
Add travis ci image to README.md
Meiguro Nov 11, 2015
f779e7b
Fix #if to use defined to check macro existence
Meiguro Nov 12, 2015
f06b0c1
Dictation API proof of concept
cat-haines Nov 13, 2015
bcb58f5
Added aplite 'support'
cat-haines Nov 13, 2015
1da117c
Reverted example back to standard example
cat-haines Nov 13, 2015
8fe5cf9
Moved Examples and Acknowledgments to bottom
cat-haines Nov 13, 2015
da59fb6
Removed Accel.init() as it's called internally
cat-haines Nov 13, 2015
57a6c82
Docs for voice
cat-haines Nov 13, 2015
884f39e
Updated packet names and callback signature
cat-haines Nov 13, 2015
5dcb30d
Starting dictation session with am app_timer
cat-haines Nov 13, 2015
c1a88c0
Whitespace
cat-haines Nov 13, 2015
ff21db3
removed stray require in app.js
cat-haines Nov 13, 2015
3fbf578
Added optional parameter for startDictationSession to enable/disable …
cat-haines Nov 13, 2015
1fc5c11
Updated docs with new param for startDictationSession
cat-haines Nov 13, 2015
e439bf7
whitespace
cat-haines Nov 13, 2015
947348d
Removed CommandNumPackets
cat-haines Nov 13, 2015
0f9eeff
inProgress -> in_progress
cat-haines Nov 13, 2015
fe1c771
Moved compatibility defines to util/compat.h
cat-haines Nov 13, 2015
da2afba
whitespace + line length
cat-haines Nov 13, 2015
fa169a0
more whitespace
cat-haines Nov 13, 2015
b6a487a
Variable length result
cat-haines Nov 13, 2015
533eeb0
Storing dictation window/callback in state now
cat-haines Nov 14, 2015
0fad8e4
Refactored dictation API and added stop command
cat-haines Nov 14, 2015
a2ece17
Updated docs with new voice interface
cat-haines Nov 14, 2015
93ce3b6
Updated Voice API to return string errors
cat-haines Nov 14, 2015
9d191fe
Updated docs for new dictation callback
cat-haines Nov 14, 2015
ffbf49c
🐍case
cat-haines Nov 14, 2015
33faf29
Added failed key to Voice.dictate event
cat-haines Nov 14, 2015
0bc9e80
Reverted README
cat-haines Nov 14, 2015
f97bea8
reverted app.js
cat-haines Nov 14, 2015
7243018
Merge pull request #109 from cat-haines/dictation
cat-haines Nov 14, 2015
3b9db1d
Updated docs with Dictation API, also:
cat-haines Nov 14, 2015
4d7a0cb
Add SDK 2.9 travis build
Meiguro Nov 14, 2015
ea68231
Resolved issues where dictation dialog would immediatly be hidden
cat-haines Nov 14, 2015
6fc4451
Handling NULL result
cat-haines Nov 15, 2015
6124229
whitespace
cat-haines Nov 15, 2015
990db3d
Don't need to store top window anymore
cat-haines Nov 15, 2015
bf3ba07
whitespace
cat-haines Nov 15, 2015
f12838d
Merge pull request #112 from cat-haines/dictation-bug
cat-haines Nov 16, 2015
eca145c
Fixed typo in dictation docs: state -> start
cat-haines Nov 16, 2015
1230894
Added js tag to Voice.dictate('stop') example
cat-haines Nov 16, 2015
f61507a
Merge pull request #111 from pebble/feature-travis-sdk-2
Meiguro Nov 19, 2015
2f785cd
Merge pull request #106 from jackdalton/patch-1
Meiguro Nov 19, 2015
7a7db5f
Change the status bar layer on 3.0 to behave like a normal layer
Meiguro Nov 19, 2015
fcac76a
Add gcolor_legible_over for aplite
Meiguro Nov 19, 2015
3e3d6f3
Add support to set the selected item via UI.Menu.selection
koterpillar Nov 18, 2015
d3c2830
Document UI.Menu.selection
koterpillar Nov 19, 2015
164e801
Merge pull request #113 from koterpillar/menu-set-selection
Meiguro Nov 19, 2015
f696939
Change 3.0 status bars to resize the main layer
Meiguro Nov 19, 2015
4363e1c
Update .travis.yml to use new container jobs
Meiguro Nov 19, 2015
e597dad
Add 3.0 status bar and action bar behavior
Meiguro Nov 19, 2015
c096b3f
Change inverter layer shim to a stub
Meiguro Nov 19, 2015
1ac7569
Fix simply stage to destroy property animations on disappear
Meiguro Nov 25, 2015
8fac33b
Add simply window status bar object property with separator and color
Meiguro Dec 1, 2015
2c78d75
Add simply window fullscreen property backwards compatibility
Meiguro Dec 1, 2015
2135d83
Add util platform for deciding based on platform
Meiguro Dec 2, 2015
02ff0d8
Reduce the item cache size for aplite until a better memory model exists
Meiguro Dec 2, 2015
d33aca7
Merge pull request #115 from pebble/feature-travis-container
Meiguro Dec 3, 2015
d7c7acb
Merge branch 'bugfix-aplite-menu-cache-size' (Addresses #99)
Meiguro Dec 3, 2015
c18f034
Tweak Voice dictate docs to use slightly different wording and the st…
Meiguro Dec 9, 2015
2a757cd
Clarify what the confirmation dialog is, and explain the default.
Meiguro Dec 9, 2015
6b5ac24
Merge branch 'cat-haines-dictation-docs'
Meiguro Dec 9, 2015
40b296d
Merge branch 'koterpillar-menu-selection-docs'
Meiguro Dec 9, 2015
6a89b64
Merge pull request #107 from pebble/feature-updated-wakeup-docs
Meiguro Dec 9, 2015
a8bb4ca
Add 3.x on aplite compile compatibility
Meiguro Dec 11, 2015
80d542f
Use app directory instead of file
niedzielski Dec 13, 2015
f622255
Add pebble sdk version for detecting sdk features
Meiguro Dec 13, 2015
25abc6e
Add configure appinfo waftool for transforming the appinfo
Meiguro Dec 13, 2015
7eeddff
Convert bitmap resources to png for older SDKs
Meiguro Dec 13, 2015
11df22a
Ignore compiled python files
Meiguro Dec 13, 2015
fd2bc67
Reformat appinfo.json following the configure appinfo output
Meiguro Dec 13, 2015
828a97a
Fix wscript formatting to follow PEP8
Meiguro Dec 13, 2015
4639936
Change travis to use the new pebble tool for installing the SDK
Meiguro Dec 14, 2015
467721c
Merge pull request #119 from pebble/feature-3.x-aplite
Meiguro Dec 14, 2015
5606ec2
Default to single file project
niedzielski Dec 15, 2015
89f384c
Fix path in readme
niedzielski Dec 15, 2015
a10717b
Clarify that app.js xor app/ can exist
niedzielski Dec 15, 2015
e8ae042
Merge pull request #118 from niedzielski/chore/app-dir
Meiguro Dec 15, 2015
054fbf0
Fix simply res to actually free the image
Meiguro Dec 15, 2015
d527347
Move all simply window layer create, destroy to load, unload
Meiguro Dec 15, 2015
a4d8eec
Reduce the aplite inbound buffer to 1024 bytes
Meiguro Dec 15, 2015
59fa17f
Implement the voice module on aplite using only JavaScript
Meiguro Dec 15, 2015
8e40fac
Merge branch 'feature-3.0-status-bar' into feature-chalk
Meiguro Dec 26, 2015
411f4fa
Merge branch 'feature-card-round' into feature-chalk
Meiguro Dec 26, 2015
37a1663
Fix simply window set background color to check for existence of stat…
Meiguro Dec 26, 2015
128b159
Change simply window status bar to be reset based instead of change
Meiguro Dec 26, 2015
dc4fcb2
Change simply menu to new coding style
Meiguro Dec 26, 2015
d718474
Change simply menu to fit round
Meiguro Dec 26, 2015
d122960
Adjust inset for round
Meiguro Jan 5, 2016
4f755aa
permit menu section title colors
llamahunter Jan 10, 2016
124c848
Fix typo in docs
k-yle Jan 19, 2016
45522bc
Fix ReferenceError when using callback.
redtoad Jan 25, 2016
86bd9f6
Merge pull request #124 from llamahunter/menu-section-colors
Meiguro Jan 31, 2016
796212b
Merge pull request #130 from k-yle/master
Meiguro Jan 31, 2016
52af619
Added feature to create an arc circle
bkbilly Feb 5, 2016
1c4a6a6
Merge branch 'circle-arc' of https://github.com/bkbilly/pebblejs into…
bkbilly Feb 5, 2016
7f0126d
Merge branch 'feature-menu-round' into feature-chalk
Meiguro Feb 8, 2016
68c8c10
Add src/util/display.h for RECT_USAGE and ROUND_USAGE
Meiguro Feb 8, 2016
cfbad5f
Add missing status and menu layer definitions for older aplite SDKs
Meiguro Feb 8, 2016
6fb9c69
Update .travis.yml to test only SDK 3.9
Meiguro Feb 8, 2016
14328d9
Merge branch 'master' into feature-chalk
Meiguro Feb 8, 2016
38a0735
Merge pull request #136 from pebble/feature-chalk
Meiguro Feb 8, 2016
2e64f11
Added borderWidth, Renamed CircleArc to Radial, renamed anglestart an…
bkbilly Feb 9, 2016
3658e71
New struct SimplyElementRadial, Fixed the behavour of radial_element_…
bkbilly Feb 10, 2016
e0bd7a7
Merge branch 'master' into bkbilly-circle-arc
Meiguro Feb 13, 2016
f43d2e4
Change Radial defaults
Meiguro Feb 13, 2016
045e0f9
Add Radial inner, start, and end borders
Meiguro Feb 13, 2016
d0bc7bd
Update app.js dynamic window example
Meiguro Feb 13, 2016
fa8aa9d
Reset the border width for each element
Meiguro Feb 13, 2016
26b05ea
Merge branch 'bkbilly-circle-arc'
Meiguro Feb 13, 2016
7b67001
Fix simply_res_add_custom_font to set the id (Addresses #137)
Meiguro Feb 14, 2016
47dcc1d
Fix SimplyMenu to free title only if it is not the empty title (Addre…
Meiguro Feb 14, 2016
6996a55
Fix ajax synchronous requests to only call the callback once (Address…
Meiguro Feb 14, 2016
5d8b9bd
Fix SimplyWindow to have status_bar_insets_bottom only for round (Add…
Meiguro Feb 14, 2016
96f9bdb
Fix simply_ui text flow and paging to account for the status bar (Add…
Meiguro Feb 14, 2016
35fa7a2
Add src/util/graphics_text.h with graphics_text_attributes_enable_pag…
Meiguro Feb 14, 2016
05d4f5c
Add round text flow and centering to section title (Addresses #140)
Meiguro Feb 14, 2016
72de087
Fix simply_ui to adjust the body draw box by the content height only …
Meiguro Feb 14, 2016
1aa59c8
Fix simply_window to compensate for the status bar on rect (Addresses…
Meiguro Feb 15, 2016
df25de3
Change simply_ui to render the last line of body with margin
Meiguro Feb 15, 2016
b9bcd8f
Add the option to not send the current options in the url hash
k-yle Feb 15, 2016
2022b6c
Add windowStack.length
Feb 20, 2016
eb540c7
Merge pull request #148 from mattmattmatt/windowstack-length
Meiguro Feb 27, 2016
0fd6493
Change noHash to hash: false
k-yle Feb 27, 2016
dc4849f
Fix to reset scroll position for distinct cards (Addresses #128)
Meiguro Feb 27, 2016
2ad75b8
Add strset_truncated which sets as much of the string as possible
Meiguro Feb 27, 2016
c3c6b9c
Don't reset the scroll layer if it is not being used
Meiguro Feb 27, 2016
2b93281
Fix Element animate to properly queue subsequent animations (Addresse…
Meiguro Feb 28, 2016
6f33ce1
Change SimplyElement to inherit structs without inlining
Meiguro Feb 27, 2016
0f4b7f0
Change SimplyElementType to be automatically enumerated
Meiguro Feb 27, 2016
44778d5
Add borderWidth to all stage elements
Meiguro Feb 27, 2016
f60439b
Add Line StageElement
Meiguro Feb 27, 2016
0da98c1
Add Radial angle accessors
Meiguro Feb 28, 2016
4db6cd0
Modify Radial to be reducible to an Arc
Meiguro Feb 28, 2016
327dc6e
Change angleStart, angleEnd to angle, angle2 to match Line's position…
Meiguro Feb 28, 2016
b3f8ba2
Merge branch 'feature-stage-line'
Meiguro Feb 28, 2016
369f024
Fix strset, strdup2 functions to be NULL safe by using a new NULL saf…
Meiguro Mar 7, 2016
7b3aad5
Change strlen2 to return a size_t
Meiguro Mar 7, 2016
8593f65
Merge pull request #133 from redtoad/patch-1
Meiguro Mar 7, 2016
e4c5a35
Merge pull request #145 from k-yle/patch-1
Meiguro Mar 12, 2016
66f8f4f
Fix struct.js to interpret C strings as UTF-8 strings (Addresses #150)
Meiguro Mar 12, 2016
e8fec27
Add missing Propable.unset method
Meiguro Mar 12, 2016
ca0ff89
Add Propable makeNestedAccessor and makeNestedAccessors
Meiguro Mar 12, 2016
feb2526
Change Propable.prototype._clear to support nested accessors
Meiguro Mar 12, 2016
4f10252
Add Window status nested accessor
Meiguro Mar 12, 2016
c664cda
Add Window status clearing with nested property retention
Meiguro Mar 12, 2016
4158b8b
Fix Card to reset the style upon switching to a different card
Meiguro Mar 12, 2016
1617e7d
Add Window fullscreen deprecation notice
Meiguro Mar 12, 2016
b07e346
Merge branch 'feature-nested-status-accessor'
Meiguro Mar 12, 2016
f200af7
Fix status bar to be centered on round when there is an action bar
Meiguro Mar 12, 2016
8ac71ba
Add Platform Feature module
Meiguro Mar 27, 2016
19a0cf1
Add Feature.resolution
Meiguro Mar 27, 2016
8410af7
Add Window.size for obtaining the window size
Meiguro Mar 27, 2016
9753483
Center the demo radial and textfield in the window
Meiguro Mar 27, 2016
cd3bc89
Merge branch 'feature-platform-feature'
Meiguro Mar 28, 2016
c297342
Remove window and status background color linking logic
Meiguro Mar 28, 2016
70852a7
Fix Card scrolling issue
Meiguro Apr 7, 2016
760f0f3
Add color.js lib which converts hex-string and number formats to ARGB…
Meiguro Apr 11, 2016
31b70c7
Add support for colors specified as number values, e.g. 0xaabbcc
Meiguro Apr 11, 2016
7bf9c37
Add support for more named color styles, e.g. 'sunset-orange', 'SUNSE…
Meiguro Apr 11, 2016
328919d
Merge branch 'feature-color-formats'
Meiguro Apr 11, 2016
4b6697b
Add Card color docs
Meiguro Apr 11, 2016
3613f6b
Add classic Card style docs
Meiguro Apr 11, 2016
41dfb44
Add Menu section docs
Meiguro Apr 11, 2016
b01cb90
Add Element borderWidth doc
Meiguro Apr 11, 2016
3410eb6
Add Line element docs
Meiguro Apr 11, 2016
633b25d
Add Radial element docs
Meiguro Apr 17, 2016
63e9ef3
Add Platform module docs
Meiguro Apr 17, 2016
b132687
Add Feature module docs
Meiguro Apr 17, 2016
79a4af7
Move doc anchors to their definition site and add missing anchors
Meiguro Apr 17, 2016
a5c3817
Add top level Platform doc
Meiguro Apr 17, 2016
b7ad5d5
Add Window status nested accessor docs
Meiguro Apr 17, 2016
85d8619
Update the list of elements in the docs
Meiguro Apr 17, 2016
a56f1f5
Add Window status boolean as possible statusDef doc
Meiguro Apr 17, 2016
00e2b3f
Add Window size method docs
Meiguro Apr 17, 2016
aab0553
Add Settings config `hash` parameter doc
Meiguro Apr 17, 2016
c72d6bd
Fixup Settings option and data docs
Meiguro Apr 17, 2016
46ff9db
Add Using Color guide
Meiguro Apr 17, 2016
a178f05
Add Feature Detection guide
Meiguro Apr 21, 2016
b1fba03
Clarify that Pebble is usable in the absence of equivalents
Meiguro Apr 21, 2016
d60d3a3
Fix Clock module description
Meiguro Apr 21, 2016
0f1a098
Move Platform require example to the nested Platform
Meiguro Apr 21, 2016
eaff84f
Fixup Using Feature markdown reference
Meiguro Apr 23, 2016
cf92216
Remove extraneous note about Feature's implementation
Meiguro Apr 23, 2016
e1da221
Add Pebble.js equivalent docs
Meiguro Apr 23, 2016
96614ac
Fixup Using Color guide copy
Meiguro Apr 23, 2016
a9fc73c
Fixup Feature Detection guide copy
Meiguro Apr 23, 2016
1135dbc
Fix structs string length members to use a StringLengthType transform…
Meiguro Apr 27, 2016
11d6e48
Fix Card to compare against the scroll content size instead of the wi…
Meiguro May 2, 2016
df544c0
Merge pull request #160 from pebble/feature-chalk-docs
Meiguro May 3, 2016
382c116
Fix Stage to scrolling issue (Addresses #163)
Meiguro May 17, 2016
06025ae
Add missing Circle radius accessor (Addresses #164)
Meiguro May 24, 2016
a41cc38
API has changed
orviwan Jun 6, 2016
287fdec
Merge pull request #166 from pebble/QOD-api-patch
Meiguro Jun 6, 2016
5730dea
Add paging window property
Meiguro Jun 8, 2016
0a5871c
Add window paging accessor
Meiguro Jun 8, 2016
8769602
Simple support for diorite platform.
matopeto Sep 8, 2016
2c0ce4b
Merge pull request #170 from matopeto/master
Meiguro Oct 5, 2016
aa7e1e8
Fixing menu icon size for successful build with SDK v 4.1.4
matopeto Oct 6, 2016
6fceaf0
Simple support for emery platform.
matopeto Oct 19, 2016
56d6af2
Merge pull request #174 from matopeto/master
Meiguro Oct 24, 2016
78f2e10
Merge pull request #176 from matopeto/emery
Meiguro Oct 25, 2016
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

.DS_Store
*.pyc
/.lock-*
/build/
/out/
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
sudo: false
language: python
python:
- "2.7"

env:
- PEBBLE_SDK_VERSION=3.9

before_install:
- wget https://github.com/pebble/pebble-tool/releases/download/v4.0-rc5/pebble-sdk-4.0-rc5-linux64.tar.bz2?source=travis
- mkdir -p ~/.pebble-sdk
- tar -jxf pebble-sdk-* -C ~/.pebble-sdk
- touch ~/.pebble-sdk/ENABLE_ANALYTICS
- export PEBBLE_SDK=~/.pebble-sdk/pebble-sdk-*
- export PEBBLE=$PEBBLE_SDK/bin/pebble

install:
- pushd $PEBBLE_SDK
- virtualenv --no-site-packages .env
- source .env/bin/activate
- pip install -r requirements.txt
- deactivate
- popd
- $PEBBLE sdk set-channel beta
- yes | $PEBBLE sdk install $PEBBLE_SDK_VERSION

script:
- $PEBBLE build
Loading