pebble/devsite/source/_changelogs/3.6.md
2025-02-24 18:58:29 -08:00

4 KiB

title date
Pebble SDK 3.6 - Changelog 2015-10-14

This changelog contains all changes since SDK 3.4. SDK 3.5 was never shipped.

Known Issues

  • Unfocused menu layer cells on Chalk may have their content inappropriately truncated. This behavior will improve before Pebble Time Round is released.

Changes to Firmware

  • Added support for circular watches.
  • Window stack animations were disabled on Chalk.
  • Adjusted the display of ActionBarLayers for circular watches.
  • Adjusted the display of ActionMenus for circular watches.
  • Increased the height of the StatusBarLayer on Chalk (16 to 24 pixels).
  • Improved backlight behavior when dictating text.
  • Added support for 8 KiB AppMessage buffers.

Changes to SDK

  • Added the new "Chalk" platform for the Pebble Time Round.
  • Added the Dictation API, enabling voice input on the Basalt and Chalk platforms.
  • Added PBL_ROUND, PBL_RECT and PBL_PLATFORM_CHALK defines.
  • Added PBL_IF_ROUND_ELSE, PBL_IF_RECT_ELSE, PBL_IF_COLOR_ELSE and PBL_IF_BW_ELSE macros. COLOR_FALLBACK is now considered deprecated.
  • Added graphics_fill_radial and graphics_draw_arc, for drawing partial circles.
  • Added gpoint_from_polar and grect_centered_from_polar for conversion from polar to cartesian coordinates.
  • Added ContentIndicator, which provides a visual indicator of content above or below the display.
  • Added menu_layer_set_center_focused, which forces the highlighted menu item to always be in the center of the display. This is the default configuration for menus on Chalk.
  • Added menu_layer_is_index_selected.
  • Added constants for the heights of menu cells on Chalk: MENU_CELL_ROUND_FOCUSED_SHORT_CELL_HEIGHT, MENU_CELL_ROUND_FOCUSED_TALL_CELL_HEIGHT, MENU_CELL_ROUND_UNFOCUSED_SHORT_CELL_HEIGHT and MENU_CELL_ROUND_UNFOCUSED_TALL_CELL_HEIGHT.
  • Added DEG_TO_TRIGANGLE, the inverse of the pre-existing TRIGANGLE_TO_DEG.
  • Added GBitmapFormat8BitCircular, the new framebuffer format used on Chalk.
  • Added gbitmap_get_data_row_info, because GBitmapFormat8BitCircular does not have a constant number of bytes per row. This should now be used for all framebuffer manipulation.
  • Added the GTextAttributes structure, with methods for defining text flow and paging on a circular display.
  • Added support for GTextAttributes to graphics_draw_text. That NULL parameter that you've been tacking on the end for two and a half years now actually does something.
  • Added methods to TextLayer for flowing and paging text on a circular display.
  • Added paging support to ScrollLayer.

Changes to Pebble Tool

Changes to Emulator/Phonesim

  • Added support for Chalk and circular displays.
  • Fixed a JavaScript runtime crash when sending non-ASCII characters by AppMessage.