author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
510,660 | 24.12.2020 22:07:09 | -28,800 | 1347729194ab5043ade3810d595946c22345210e | Update display.cpp
clean up a bit | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/display.cpp",
"new_path": "32blit-stm32/Src/display.cpp",
"diff": "@@ -95,17 +95,13 @@ namespace display {\nvoid dma2d_hires_flip(const Surface &source) {\nSCB_CleanInvalidateDCache_by_Addr((uint32_t *)(source.data), 320 * 240 * 3);\n-\n// set... | C | MIT License | pimoroni/32blit-beta | Update display.cpp
clean up a bit |
510,660 | 24.12.2020 22:09:56 | -28,800 | fadcec4ae671d96b436615b517e6166943020ae7 | Update STM32H750VBTx.ld
change ltdc to 150kB | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/STM32H750VBTx.ld",
"new_path": "32blit-stm32/STM32H750VBTx.ld",
"diff": "@@ -44,7 +44,7 @@ MEMORY\nDTCMRAM (xrw) : ORIGIN = DEFINED(FLASH_TARGET_INT) ? 0x20000000 : 0x20000400,\nLENGTH = DEFINED(FLASH_TARGET_INT) ? 1K : 127K\n/*RAM_D1 (xrw) : ORIG... | C | MIT License | pimoroni/32blit-beta | Update STM32H750VBTx.ld
change ltdc to 150kB |
510,640 | 24.12.2020 19:11:43 | 0 | 46282f8c1e3ec647c813dd75e5aa98e9c7114d45 | Update stdlib.zip URL to GitHub repo build | [
{
"change_type": "MODIFY",
"old_path": "32blit.toolchain",
"new_path": "32blit.toolchain",
"diff": "@@ -46,8 +46,8 @@ set(CMAKE_EXE_LINKER_FLAGS_INIT \"-specs=nosys.specs -Wl,--gc-sections,--no-wchar\n# stdlibs\nset(STDLIB_HASHTYPE \"SHA256\")\nset(STDLIB_PATH ${CMAKE_CURRENT_LIST_DIR}/stdlib)\n-set... | C | MIT License | pimoroni/32blit-beta | Update stdlib.zip URL to GitHub repo build |
510,660 | 26.12.2020 08:59:12 | -28,800 | 5951615cac0962c5901fe2a9fc91dbd7daf4eeb9 | Fix small bug in framebuff line length
When changing back from pal mode, it is necessary to set back the cfblr reg value. | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/display.cpp",
"new_path": "32blit-stm32/Src/display.cpp",
"diff": "@@ -233,12 +233,14 @@ namespace display {\n// never gets here!\n}\n//step 4.\n+ // set the transform type (clear bits 17..16 of control register)\n+ MODIFY_REG(DMA2D->CR, DMA2D... | C | MIT License | pimoroni/32blit-beta | Fix small bug in framebuff line length
When changing back from pal mode, it is necessary to set back the cfblr reg value. |
510,643 | 23.12.2020 19:42:06 | -7,200 | a5d2bd8ab96c08c385406da755ad714633ec89d5 | Added: volume can be muted by pressing X | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -543,6 +543,14 @@ protected:\npersist.volume -= 1.0f / 256.0f;\n} else if (blit::buttons & blit::Button::DPAD_RIGHT) {\npersist.volume += 1.0f / 256.0f;\n+ } else if (blit::bu... | C | MIT License | pimoroni/32blit-beta | Added: volume can be muted by pressing X |
510,643 | 23.12.2020 19:47:39 | -7,200 | 5ca50b3d71b753a8fb224c540b9b668268e3098a | Fixed some button state checking | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -532,24 +532,24 @@ protected:\nvoid update_item(const Item &item) override {\nif(item.id == BACKLIGHT) {\n- if (blit::buttons & blit::Button::DPAD_LEFT) {\n+ if (blit::buttons... | C | MIT License | pimoroni/32blit-beta | Fixed some button state checking |
510,643 | 23.12.2020 21:38:15 | -7,200 | 84a303bd3cd88f3621d5fe02e790672e72c26a25 | Fixed: DPAD buttons for setting backlight and volume | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -532,16 +532,16 @@ protected:\nvoid update_item(const Item &item) override {\nif(item.id == BACKLIGHT) {\n- if (blit::buttons.pressed & blit::Button::DPAD_LEFT) {\n+ if (blit:... | C | MIT License | pimoroni/32blit-beta | Fixed: DPAD buttons for setting backlight and volume |
510,643 | 23.12.2020 21:41:27 | -7,200 | 85c0d4d245cea1e0dcd3c888ab92f094e3c4c27f | Fixed: switched the X and Y buttons
It feels more natural this way. | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -547,9 +547,9 @@ protected:\npersist.volume += 0.25f;\n} else if (blit::buttons.released & blit::Button::B) {\npersist.volume -= 0.25f;\n- } else if (blit::buttons.released & ... | C | MIT License | pimoroni/32blit-beta | Fixed: switched the X and Y buttons
It feels more natural this way. |
510,643 | 23.12.2020 21:52:45 | -7,200 | 53bab0569e9de08857a8789cc067eb6578c05e1f | Cleaned up code and added quick button support for backlight as well | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -56,7 +56,6 @@ uint8_t battery_status = 0;\nuint8_t battery_fault = 0;\nuint16_t accel_address = LIS3DH_DEVICE_ADDRESS;\n-\nconst uint32_t long_press_exit_time = 1000;\n__attr... | C | MIT License | pimoroni/32blit-beta | Cleaned up code and added quick button support for backlight as well |
510,640 | 26.12.2020 21:29:36 | 0 | 2c7b9db22136821bb81f342e2fbacf7162768fdb | Swap HOME and MENU functionality | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -360,8 +360,8 @@ void blit_init() {\n}\n#if (INITIALISE_QSPI==1)\n- // don't switch to game if it crashed, or menu is held\n- if(persist.reset_target == prtGame && (!HAL_GPIO_... | C | MIT License | pimoroni/32blit-beta | Swap HOME and MENU functionality |
510,643 | 27.12.2020 13:56:16 | -7,200 | b32ca1989bdedfbee525463f4ea449627e21cd01 | Fixed going back to previous menu in battery menu | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/SystemMenu/BatteryMenu.cpp",
"new_path": "32blit-stm32/Src/SystemMenu/BatteryMenu.cpp",
"diff": "@@ -105,6 +105,9 @@ void BatteryMenu::update_item(const Item &item) {\nif(blit::buttons & blit::Button::DPAD_LEFT) {\nsystem_menu.set_menu(SystemM... | C | MIT License | pimoroni/32blit-beta | Fixed going back to previous menu in battery menu |
510,643 | 27.12.2020 13:56:29 | -7,200 | 5967f21a560fca37a5f419f7022dc91aa8d6e3d6 | Implemented mute button | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -319,7 +319,8 @@ void blit_i2c_tick() {\n}\nvoid blit_update_volume() {\n- blit::volume = (uint16_t)(65535.0f * log(1.0f + (volume_log_base - 1.0f) * persist.volume) / log(vol... | C | MIT License | pimoroni/32blit-beta | Implemented mute button |
510,643 | 27.12.2020 14:02:46 | -7,200 | e0d881d9312894ab32d5eca9539fb260bac34857 | Fixed: check for button release instead of just button | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/SystemMenu/BatteryMenu.cpp",
"new_path": "32blit-stm32/Src/SystemMenu/BatteryMenu.cpp",
"diff": "/* BatteryMenu.cpp\n* source file for Battery menu\n*\n- * The firmware menu is the main menu displayed when the user presses the MENU button.\n- ... | C | MIT License | pimoroni/32blit-beta | Fixed: check for button release instead of just button |
510,640 | 27.12.2020 14:13:20 | 0 | 5a4ebea173781b004b86d64f5850885ef8ae115f | Don't toggle system menu in interrupt | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -48,6 +48,7 @@ extern Disk_drvTypeDef disk;\nstatic bool fs_mounted = false;\nbool exit_game = false;\n+bool toggle_menu = false;\nbool take_screenshot = false;\nconst float v... | C | MIT License | pimoroni/32blit-beta | Don't toggle system menu in interrupt |
510,643 | 27.12.2020 18:20:32 | -7,200 | 67379b463dad05a1b7b0e553a63306cff099fca3 | Added editorconfig for using 2 spaces to indent | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".editorconfig",
"diff": "+# top-most EditorConfig file\n+root = true\n+\n+# Windows-style newlines with a newline ending every file\n+[*]\n+# end_of_line = crlf\n+insert_final_newline = true\n+trim_trailing_whitespace = true\n+\n+[*.{c,cpp,h,hpp... | C | MIT License | pimoroni/32blit-beta | Added editorconfig for using 2 spaces to indent |
510,643 | 27.12.2020 18:21:02 | -7,200 | 8ba2335d7eecdb048df3f79f2cfbfd5b118c01b3 | Menu overhaul with footer and header rendering
Also, cleaned up the menu usage a little bit as well | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -446,6 +446,7 @@ static const Pen menu_colours[]{\n{100, 100, 255}, // battery charging\n{235, 245, 255}, // header/footer bg\n{ 3, 5, 7}, // header/footer fg\n+ {245, 235, 0}... | C | MIT License | pimoroni/32blit-beta | Menu overhaul with footer and header rendering
Also, cleaned up the menu usage a little bit as well |
510,643 | 27.12.2020 18:40:25 | -7,200 | 744a7580838152ed0216283c7b9ec5d6e5d74163 | Menu background did not render correctly | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/SystemMenu/BatteryMenu.cpp",
"new_path": "32blit-stm32/Src/SystemMenu/BatteryMenu.cpp",
"diff": "@@ -82,6 +82,8 @@ void BatteryMenu::render_item(const Item &item, int y, int index) const {\n// Render the footer for the menu\n//\nvoid BatteryMe... | C | MIT License | pimoroni/32blit-beta | Menu background did not render correctly |
510,643 | 27.12.2020 19:34:33 | -7,200 | 5d30ea5a3ddef2dabb1f050cec1d028a71a03149 | Renamed files to better follow coding conventions | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/CMakeLists.txt",
"new_path": "32blit-stm32/CMakeLists.txt",
"diff": "@@ -81,9 +81,9 @@ list(APPEND SOURCES\nSrc/sys.c\nSrc/tim.c\nSrc/rng.c\n- Src/SystemMenu/FirmwareMenu.cpp\n- Src/SystemMenu/SystemMenuController.cpp\n- Src/SystemMenu/BatteryMenu... | C | MIT License | pimoroni/32blit-beta | Renamed files to better follow coding conventions |
510,643 | 27.12.2020 19:47:28 | -7,200 | 81ba5f3319a20ac35ec04fd10130a43a7625a495 | Added DPAD_RIGHT menu open action for battery menu | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/SystemMenu/firmware_menu.cpp",
"new_path": "32blit-stm32/Src/SystemMenu/firmware_menu.cpp",
"diff": "@@ -151,6 +151,10 @@ void FirmwareMenu::update_item(const Item &item) {\nupdate_slider_item_value(persist.volume);\npersist.volume = std::fmin... | C | MIT License | pimoroni/32blit-beta | Added DPAD_RIGHT menu open action for battery menu |
510,640 | 27.12.2020 18:17:02 | 0 | 7644cf932b9d2fd609b2be66fc4f7ce8d3ab1425 | Check for nullptr surface spritesheet | [
{
"change_type": "MODIFY",
"old_path": "32blit/graphics/sprite.cpp",
"new_path": "32blit/graphics/sprite.cpp",
"diff": "@@ -113,6 +113,7 @@ namespace blit {\n* \\param[in] transform to apply\n*/\nvoid Surface::sprite(uint16_t sprite, const Point &position, uint8_t transform) {\n+ if(sprites == nullp... | C | MIT License | pimoroni/32blit-beta | Check for nullptr surface spritesheet |
510,640 | 27.12.2020 18:17:26 | 0 | 2ff985a14e9cd1ecb529f6d013c2b98b76c545e2 | Add rotations and stretch to sprite-test | [
{
"change_type": "MODIFY",
"old_path": "examples/sprite-test/sprite-test.cpp",
"new_path": "examples/sprite-test/sprite-test.cpp",
"diff": "@@ -31,20 +31,28 @@ void render(uint32_t time_ms) {\nscreen.pen = Pen(255, 255, 255);\nscreen.rectangle(Rect(0, 0, 320, 14));\n+ // Left Titles\nscreen.text(\"A... | C | MIT License | pimoroni/32blit-beta | Add rotations and stretch to sprite-test |
510,643 | 27.12.2020 21:03:42 | -7,200 | f1873555f94a0cf73adc472c35fcd80996fc7c2a | Fixed pen wrong colour | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/SystemMenu/system_menu_controller.cpp",
"new_path": "32blit-stm32/Src/SystemMenu/system_menu_controller.cpp",
"diff": "@@ -72,11 +72,12 @@ void SystemMenuController::render_header_battery_status(uint32_t time) {\nconst int screen_width = blit:... | C | MIT License | pimoroni/32blit-beta | Fixed pen wrong colour |
510,643 | 27.12.2020 21:04:22 | -7,200 | 4303d0a49ef5b582a726a6e1d85dd1261d3ff0cc | Fixed: formatting + pen saving | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/SystemMenu/firmware_menu.cpp",
"new_path": "32blit-stm32/Src/SystemMenu/firmware_menu.cpp",
"diff": "@@ -59,6 +59,7 @@ void FirmwareMenu::prepare() {\nselected_item_background = get_menu_colour(4);\nheader_background = get_menu_colour(9);\nhea... | C | MIT License | pimoroni/32blit-beta | Fixed: formatting + pen saving |
510,643 | 27.12.2020 22:44:57 | -7,200 | 38b952bbfddc35fdcb42525713bc4775c663e716 | Added: about menu (credits) | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/CMakeLists.txt",
"new_path": "32blit-stm32/CMakeLists.txt",
"diff": "@@ -84,6 +84,7 @@ list(APPEND SOURCES\nSrc/SystemMenu/firmware_menu.cpp\nSrc/SystemMenu/system_menu_controller.cpp\nSrc/SystemMenu/battery_menu.cpp\n+ Src/SystemMenu/about_menu.c... | C | MIT License | pimoroni/32blit-beta | Added: about menu (credits) |
510,643 | 27.12.2020 23:38:34 | -7,200 | 90e31d391b9d483456922038ca199739167063cc | Fixed the menu title for the about menu | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/SystemMenu/about_menu.cpp",
"new_path": "32blit-stm32/Src/SystemMenu/about_menu.cpp",
"diff": "@@ -152,4 +152,4 @@ static Menu::Item about_menu_items[]{\n//\n// The actual firmware menu\n//\n-AboutMenu about_menu(\"Battery Menu\", about_menu_i... | C | MIT License | pimoroni/32blit-beta | Fixed the menu title for the about menu |
510,655 | 27.12.2020 16:52:35 | 18,000 | 3d0cc66bb785d1eb6d297e4136f0a042280bf596 | Prevent interaction with invalid games | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -160,6 +160,9 @@ void load_file_list(std::string directory) {\nif(file.name.length() < 6) // minimum length for single-letter game (a.blit)\ncontinue;\n+ if (file.name[0] == '.') // hidde... | C | MIT License | pimoroni/32blit-beta | Prevent interaction with invalid games |
510,640 | 27.12.2020 23:36:21 | 0 | 47e812a2cee8e0f7f48cedc5a6cb9b27a8281c76 | Fix selected item when item deleted | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -181,6 +181,10 @@ void load_file_list(std::string directory) {\n}\n}\n+ auto total_items = game_list.size();\n+ if(persist.selected_menu_item >= total_items)\n+ persist.selected_menu_item... | C | MIT License | pimoroni/32blit-beta | Fix selected item when item deleted |
510,643 | 28.12.2020 08:20:23 | -7,200 | 7cafc97995dfb040fbcff7bcf0cda7b8cf366984 | Little cleanup with the menu separator feature | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/SystemMenu/about_menu.cpp",
"new_path": "32blit-stm32/Src/SystemMenu/about_menu.cpp",
"diff": "@@ -147,6 +147,7 @@ void AboutMenu::update(uint32_t time) {\n// Menu items in the firmware menu\n//\nstatic Menu::Item about_menu_items[] {\n+ {0, n... | C | MIT License | pimoroni/32blit-beta | Little cleanup with the menu separator feature |
510,643 | 28.12.2020 14:08:03 | -7,200 | f19d807fee3a39ff6cd590b13fd4c7e31b0299b2 | Encapsulated battery related things into a class | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/CMakeLists.txt",
"new_path": "32blit-stm32/CMakeLists.txt",
"diff": "@@ -81,6 +81,8 @@ list(APPEND SOURCES\nSrc/sys.c\nSrc/tim.c\nSrc/rng.c\n+ Src/32blit/32blit_battery.cpp\n+ Src/32blit/32blit_i2c.cpp\nSrc/SystemMenu/firmware_menu.cpp\nSrc/System... | C | MIT License | pimoroni/32blit-beta | Encapsulated battery related things into a class |
510,643 | 28.12.2020 14:20:31 | -7,200 | f01270c8187bf299caddd9a85a73b9d058b9a041 | Refactored battery related things to use enums and better naming | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Inc/32blit_battery.h",
"new_path": "32blit-stm32/Inc/32blit_battery.h",
"diff": "#include \"engine/running_average.hpp\"\n-struct BatteryInformation {\n- const char * status_text;\n- const char * vbus_text;\n- float voltage;\n-\n- // low level sta... | C | MIT License | pimoroni/32blit-beta | Refactored battery related things to use enums and better naming |
510,643 | 28.12.2020 14:31:51 | -7,200 | ece751f3f005057fa556e41817d033f559879a9a | Extracted I2C code into separate files | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Inc/32blit.h",
"new_path": "32blit-stm32/Inc/32blit.h",
"diff": "@@ -30,7 +30,6 @@ extern void blit_init();\nextern void blit_update_vibration();\nextern void blit_update_led();\nextern void blit_process_input();\n-extern void blit_i2c_tick();\n//... | C | MIT License | pimoroni/32blit-beta | Extracted I2C code into separate files |
510,643 | 28.12.2020 21:02:20 | -7,200 | 1d050e664eddec18d20aab1d82fa1b3542f76bb2 | Added: launcher-shared Visual Studio project | [
{
"change_type": "MODIFY",
"old_path": "vs/32blit.sln",
"new_path": "vs/32blit.sln",
"diff": "@@ -157,6 +157,10 @@ Project(\"{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}\") = \"voxel\", \"examples\\voxel\\vox\nEndProject\nProject(\"{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}\") = \"tween-demo\", \"examples\\tw... | C | MIT License | pimoroni/32blit-beta | Added: launcher-shared Visual Studio project |
510,643 | 28.12.2020 21:25:32 | -7,200 | f06dbd02312a76d0dc22480eb64ae230973bd765 | Tweaked the hello message when running the SDL2 runtime | [
{
"change_type": "MODIFY",
"old_path": "32blit-sdl/Main.cpp",
"new_path": "32blit-sdl/Main.cpp",
"diff": "@@ -138,7 +138,8 @@ void em_loop() {\nint main(int argc, char *argv[]) {\n- std::cout << \"Hello World\" << std::endl;\n+ std::cout << \"32Blit SDL2 runtime\" << std::endl;\n+ std::cout << \"(c)... | C | MIT License | pimoroni/32blit-beta | Tweaked the hello message when running the SDL2 runtime |
510,643 | 28.12.2020 21:25:48 | -7,200 | aff3f4ab8f6759bb00f31bcbb0de11793bb5739b | Added: launcher VS project | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "#include <list>\n#include \"launcher.hpp\"\n+#include \"assets.hpp\"\n#include \"engine/api_private.hpp\"\n#include \"graphics/color.hpp\"\n"
},
{
"change_type": "MODIFY",
"old_p... | C | MIT License | pimoroni/32blit-beta | Added: launcher VS project |
510,643 | 28.12.2020 21:48:23 | -7,200 | dcbf82f2a32928766810af2743e5e6daa6968148 | Moved battery code from class to namespace | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Inc/32blit_battery.h",
"new_path": "32blit-stm32/Inc/32blit_battery.h",
"diff": "#include \"engine/running_average.hpp\"\n+namespace battery {\nenum BatteryVbusStatus {\n- VbusUnknown,\n- USBHost,\n- AdapterPort,\n- OnTheGo,\n+ VbusUnknown = 0b00,... | C | MIT License | pimoroni/32blit-beta | Moved battery code from class to namespace |
510,665 | 29.12.2020 11:14:44 | 0 | 2ee6079d25b008bc5307d930c76b53fcb5ff80ad | Added two more text examples | [
{
"change_type": "MODIFY",
"old_path": "examples/text/CMakeLists.txt",
"new_path": "examples/text/CMakeLists.txt",
"diff": "@@ -2,4 +2,5 @@ cmake_minimum_required(VERSION 3.9)\nproject (text)\ninclude (../../32blit.cmake)\nblit_executable (text text.cpp)\n+blit_assets_yaml (text assets.yml)\nblit_me... | C | MIT License | pimoroni/32blit-beta | Added two more text examples |
510,665 | 29.12.2020 11:34:00 | 0 | d16cad19df00cba32023d53f05ff47ae05652c3a | Fixed VS build for text example | [
{
"change_type": "MODIFY",
"old_path": "vs/examples/text/text.vcxproj",
"new_path": "vs/examples/text/text.vcxproj",
"diff": "<AdditionalDependencies>32blit.lib;32blit-sdl.lib;SDL2.lib;SDL2main.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut3... | C | MIT License | pimoroni/32blit-beta | Fixed VS build for text example |
510,665 | 29.12.2020 11:44:31 | 0 | 543a3f1f12b60669902707b7591c218b304bb6b1 | One more try...! | [
{
"change_type": "MODIFY",
"old_path": "vs/examples/text/text.vcxproj",
"new_path": "vs/examples/text/text.vcxproj",
"diff": "<PropertyGroup Label=\"UserMacros\" />\n<PropertyGroup Condition=\"'$(Configuration)|$(Platform)'=='Debug|Win32'\">\n<LinkIncremental>true</LinkIncremental>\n+ <IncludePath>$... | C | MIT License | pimoroni/32blit-beta | One more try...! |
510,665 | 29.12.2020 11:52:44 | 0 | 4156d4274dbfa18f958577f35f266c798e902c71 | I hate Visual Studio | [
{
"change_type": "MODIFY",
"old_path": "vs/examples/text/text.vcxproj",
"new_path": "vs/examples/text/text.vcxproj",
"diff": "</ItemDefinitionGroup>\n<ItemGroup>\n<ClInclude Include=\"..\\..\\..\\examples\\text\\text.hpp\" />\n+ <ClInclude Include=\"font_asset.hpp\" />\n</ItemGroup>\n<ItemGroup>\n<C... | C | MIT License | pimoroni/32blit-beta | I hate Visual Studio |
510,665 | 29.12.2020 11:58:58 | 0 | 00ac1424eeca33869a5e6b723fd3e358751d4b14 | Compile, not Include. Dummy. | [
{
"change_type": "MODIFY",
"old_path": "vs/examples/text/text.vcxproj",
"new_path": "vs/examples/text/text.vcxproj",
"diff": "</ItemGroup>\n<ItemGroup>\n<ClCompile Include=\"..\\..\\..\\examples\\text\\text.cpp\" />\n- <ClInclude Include=\"font_asset.cpp\" />\n+ <ClCompile Include=\"font_asset.cpp\"... | C | MIT License | pimoroni/32blit-beta | Compile, not Include. Dummy. |
510,665 | 29.12.2020 12:12:42 | 0 | 4b410fd5306ae5c543481a2852d419ca0b94c53c | Use a Font instead of the array directly | [
{
"change_type": "MODIFY",
"old_path": "examples/text/text.cpp",
"new_path": "examples/text/text.cpp",
"diff": "@@ -5,6 +5,7 @@ using namespace blit;\nbool variable_width = true;\nTextAlign alignment = TextAlign::top_left;\n+const Font custom_font(press_start_font);\nstd::string alignment_to_string(... | C | MIT License | pimoroni/32blit-beta | Use a Font instead of the array directly |
510,643 | 29.12.2020 21:04:06 | -7,200 | 8b7d5e88cefd3a0dcf538ad130a9004fd4512b38 | Battery removed from function names (since it is in the namespace name already) | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Inc/32blit_battery.h",
"new_path": "32blit-stm32/Inc/32blit_battery.h",
"diff": "@@ -33,17 +33,17 @@ namespace battery {\n};\n// Battery information\n- BatteryInformation get_battery_info();\n+ BatteryInformation get_info();\n// Return the current... | C | MIT License | pimoroni/32blit-beta | Battery removed from function names (since it is in the namespace name already) |
510,643 | 29.12.2020 21:47:13 | -7,200 | 1de0d2a5b84717ce94be0528064c218691ba7a90 | Redone the about menu with some system info, also added base class for system sub menus | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "32blit-stm32/Inc/SystemMenu/about_menu.hpp",
"diff": "+/* about_menu.hpp\n+ * header file for About menu\n+ *\n+ * \"The\" Credits\n+ */\n+\n+#pragma once\n+\n+#include \"system_menu.hpp\"\n+\n+class AboutMenu final : public SystemSubMenu {\n+pu... | C | MIT License | pimoroni/32blit-beta | Redone the about menu with some system info, also added base class for system sub menus |
510,643 | 29.12.2020 22:43:09 | -7,200 | 5f63ef6f3cca6b07dc692453b50ddd1260ce0c8e | Updated menu structure, new base class for system menu | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/CMakeLists.txt",
"new_path": "32blit-stm32/CMakeLists.txt",
"diff": "@@ -84,6 +84,7 @@ list(APPEND SOURCES\nSrc/SystemMenu/firmware_menu.cpp\nSrc/SystemMenu/system_menu_controller.cpp\nSrc/SystemMenu/battery_menu.cpp\n+ Src/SystemMenu/connectivity... | C | MIT License | pimoroni/32blit-beta | Updated menu structure, new base class for system menu |
510,643 | 29.12.2020 22:55:39 | -7,200 | a5bb340b4d84ab836975cfb258a59f13953418e9 | Renamed .h files to .hpp | [
{
"change_type": "RENAME",
"old_path": "32blit-stm32/Inc/32blit_battery.h",
"new_path": "32blit-stm32/Inc/32blit_battery.hpp",
"diff": "-// 32blit_battery.h\n+// 32blit_battery.hpp\n//\n// 32Blit Firmware Battery features\n//\n"
},
{
"change_type": "RENAME",
"old_path": "32blit-stm32/Inc... | C | MIT License | pimoroni/32blit-beta | Renamed .h files to .hpp |
510,643 | 29.12.2020 23:21:35 | -7,200 | cf41e58e92f42c9b25f4125ffeadac9f822281c5 | Make the mute/unmute text dynamic in the footer | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/SystemMenu/firmware_menu.cpp",
"new_path": "32blit-stm32/Src/SystemMenu/firmware_menu.cpp",
"diff": "@@ -124,7 +124,7 @@ void FirmwareMenu::render_item(const Item &item, int y, int index) const {\nvoid FirmwareMenu::render_footer(int x, int y,... | C | MIT License | pimoroni/32blit-beta | Make the mute/unmute text dynamic in the footer |
510,640 | 29.12.2020 22:56:16 | 0 | 275b50d0da1deb3ed28a1f469c895b167cfb79aa | Bring back missing col 319 | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/display.cpp",
"new_path": "32blit-stm32/Src/display.cpp",
"diff": "@@ -306,7 +306,7 @@ namespace display {\n// configure ltdc layer\nLTDC_Layer1->WHPCR &= ~(LTDC_LxWHPCR_WHSTPOS | LTDC_LxWHPCR_WHSPPOS);\n- LTDC_Layer1->WHPCR = ((1 + ((LTDC->BP... | C | MIT License | pimoroni/32blit-beta | Bring back missing col 319 |
510,671 | 30.12.2020 15:00:22 | 0 | aeb45ca685ea13774b6ef9495dd2240844344e9c | Proposed fix for timer callback after finished. | [
{
"change_type": "MODIFY",
"old_path": "32blit/engine/timer.cpp",
"new_path": "32blit/engine/timer.cpp",
"diff": "@@ -46,9 +46,8 @@ namespace blit {\nfor (auto t: timers) {\nif (t->state == Timer::RUNNING){\nif (time > (t->started + t->duration)) { // timer triggered\n- t->callback(*t);\n-\nif(t->lo... | C | MIT License | pimoroni/32blit-beta | Proposed fix for #512: timer callback after finished.
Signed-off-by: Paul Downs <diziet@thelostsouls.org.uk> |
510,671 | 30.12.2020 15:53:03 | 0 | 9544777f0c8390ebf7549861eedf167a703f9ad0 | Relocate callback so there's only one of them. | [
{
"change_type": "MODIFY",
"old_path": "32blit/engine/timer.cpp",
"new_path": "32blit/engine/timer.cpp",
"diff": "@@ -47,7 +47,6 @@ namespace blit {\nif (t->state == Timer::RUNNING){\nif (time > (t->started + t->duration)) { // timer triggered\nif(t->loops == -1){\n- t->callback(*t);\nt->started = t... | C | MIT License | pimoroni/32blit-beta | Relocate callback so there's only one of them.
Signed-off-by: Paul Downs <diziet@thelostsouls.org.uk> |
510,660 | 31.12.2020 21:39:50 | -28,800 | 08ff18de40fbca3bd1457e2a0f15ab0a851b919b | rearrange the need render signal
Now don't need signal for framebuff and dma2d | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/display.cpp",
"new_path": "32blit-stm32/Src/display.cpp",
"diff": "@@ -22,7 +22,6 @@ void LTDC_IRQHandler() {\n// flip the framebuffer to the ltdc buffer and request\n// a new frame to be rendered\ndisplay::flip(blit::screen);\n- display::need... | C | MIT License | pimoroni/32blit-beta | rearrange the need render signal
Now don't need signal for framebuff and dma2d |
510,660 | 31.12.2020 21:43:39 | -28,800 | 88b27ea37625db6ef9c51ca30f029a769ba492bd | Update 32blit.cpp
don't need to check multi signal, only one need render signal now | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -120,13 +120,7 @@ uint32_t get_max_us_timer()\nstatic void do_render() {\nif(display::needs_render) {\n- while (display::is_frameBuff_occupied()){\n- //if framebuff still occu... | C | MIT License | pimoroni/32blit-beta | Update 32blit.cpp
don't need to check multi signal, only one need render signal now |
510,640 | 02.01.2021 15:24:41 | 0 | f0dd0637076404176af7252fc34c7bbc7e20ac9e | Avoid API break with last_state | [
{
"change_type": "MODIFY",
"old_path": "32blit/engine/engine.cpp",
"new_path": "32blit/engine/engine.cpp",
"diff": "@@ -64,6 +64,7 @@ namespace blit {\nuint32_t pending_render_time = 0;\nuint32_t last_tick_time = 0;\n+ uint32_t last_state = 0;\nbool tick(uint32_t time) {\nif (last_tick_time == 0) {\... | C | MIT License | pimoroni/32blit-beta | Avoid API break with last_state |
510,640 | 02.01.2021 15:39:56 | 0 | 7df22579c267109d385b09def666111b38d23312 | Move cpp tool to | [
{
"change_type": "DELETE",
"old_path": "tools/src/32Blit.cpp",
"new_path": null,
"diff": "-#include <cstdio>\n-#include <cstdlib>\n-#include <cstdint>\n-#include <string>\n-#include <cstring>\n-#include <ctime>\n-\n-#if defined(WIN32) || defined(__MINGW32__)\n-#include <windows.h>\n-#else\n-#include... | C | MIT License | pimoroni/32blit-beta | Move cpp tool to https://github.com/32blit/tools-cpp |
510,640 | 02.01.2021 16:06:52 | 0 | 28c8149ece9071d8127844b3ff8641d0989c5411 | Remove references to 32blit.exe tool | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -18,10 +18,6 @@ endif()\nadd_subdirectory(launcher)\n-if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL Generic AND NOT EMSCRIPTEN)\n- add_subdirectory(tools/src)\n-endif()\n-\n# include dist files in install\ninst... | C | MIT License | pimoroni/32blit-beta | Remove references to 32blit.exe tool |
510,640 | 02.01.2021 16:10:23 | 0 | 4adf99723e13cbbe307360acd2b9eeac885ab5d8 | Remove from sln | [
{
"change_type": "MODIFY",
"old_path": "vs/32blit.sln",
"new_path": "vs/32blit.sln",
"diff": "@@ -367,14 +367,6 @@ Global\n{479BBF48-BF4B-42AF-AF55-6D4E0A74C987}.Release|x64.Build.0 = Release|x64\n{479BBF48-BF4B-42AF-AF55-6D4E0A74C987}.Release|x86.ActiveCfg = Release|Win32\n{479BBF48-BF4B-42AF-AF55-... | C | MIT License | pimoroni/32blit-beta | Remove D76C8D59-9C85-4D8A-8B78-7CAEE5DFC314 from sln |
510,640 | 02.01.2021 17:00:29 | 0 | 63cca8bfabb0670e2a943145d993ce276d6ce4d2 | Bump tools version to 0.4.0 | [
{
"change_type": "MODIFY",
"old_path": "32blit.cmake",
"new_path": "32blit.cmake",
"diff": "@@ -3,7 +3,7 @@ if (NOT DEFINED BLIT_ONCE)\nset(CMAKE_CXX_STANDARD 17)\nset(CMAKE_CXX_EXTENSIONS OFF)\n- set(BLIT_MINIMUM_TOOLS_VERSION \"0.2.0\")\n+ set(BLIT_MINIMUM_TOOLS_VERSION \"0.4.0\")\nfind_package(Py... | C | MIT License | pimoroni/32blit-beta | Bump tools version to 0.4.0 |
510,655 | 02.01.2021 15:13:13 | 18,000 | a25e8b3627f2832f6ddfad32b746e83e46c0a5fd | Fix SDL2_net.framework installation on Mac | [
{
"change_type": "MODIFY",
"old_path": "32blit-sdl/CMakeLists.txt",
"new_path": "32blit-sdl/CMakeLists.txt",
"diff": "@@ -179,6 +179,7 @@ function(blit_executable NAME SOURCES)\n# install the SDL frameworks\ninstall(DIRECTORY ${SDL2_LIBRARIES} DESTINATION \"bin/$<TARGET_FILE_NAME:${NAME}>.app/Conten... | C | MIT License | pimoroni/32blit-beta | Fix SDL2_net.framework installation on Mac |
510,640 | 02.01.2021 21:29:12 | 0 | a6ebf91fa479b4bace33cc0065dff24583468d8c | Shuffle launcher, basic theme support | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "Dialog dialog;\n+struct Theme {\n+ Pen color_background;\n+ Pen color_overlay;\n+ Pen color_text;\n+ Pen color_accent;\n+};\n+\n+Theme theme = {\n+ .color_background = Pen(0, 0, 0, 255),\n+ ... | C | MIT License | pimoroni/32blit-beta | Shuffle launcher, basic theme support |
510,640 | 02.01.2021 21:36:40 | 0 | 7c6a9b2b7516d2ad36a15eb3b66f4fb7599873a1 | Drop use of designated initializers | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -24,10 +24,10 @@ struct Theme {\n};\nTheme theme = {\n- .color_background = Pen(0, 0, 0, 255),\n- .color_overlay = Pen(255, 255, 255, 10),\n- .color_text = Pen(180, 180, 220, 255),\n- .co... | C | MIT License | pimoroni/32blit-beta | Drop use of designated initializers |
510,640 | 02.01.2021 22:07:13 | 0 | 76dc37b61ae3c1a570e1dd72fb6cb08ce0c62a94 | Remove author/version for files | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -246,6 +246,8 @@ void load_current_game_metadata() {\nselected_game_metadata.description = \"Launches with: \" + selected_game_metadata.title;\nselected_game_metadata.title = game.title;\... | C | MIT License | pimoroni/32blit-beta | Remove author/version for files |
510,640 | 02.01.2021 22:10:50 | 0 | 6f53cd24b1e4736a37421cbd4c0f2d50ca6c7783 | Move theme into its own file | [
{
"change_type": "MODIFY",
"old_path": "launcher/CMakeLists.txt",
"new_path": "launcher/CMakeLists.txt",
"diff": "@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.9)\nproject (launcher)\ninclude (../32blit.cmake)\n-blit_executable(launcher launcher.cpp)\n+blit_executable(launcher launcher.cpp theme.... | C | MIT License | pimoroni/32blit-beta | Move theme into its own file |
510,640 | 02.01.2021 22:54:28 | 0 | 33a0b0830a8499285bbc1a12032bd0c291a8a271 | More launcher tweaks | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "Dialog dialog;\n-struct Persist {\n- unsigned int selected_menu_item = 0;\n-};\n-Persist persist;\n-\nusing namespace blit;\nconstexpr uint32_t qspi_flash_sector_size = 64 * 1024;\n@@ -30,21... | C | MIT License | pimoroni/32blit-beta | More launcher tweaks |
510,640 | 03.01.2021 16:01:16 | 0 | cc22ffdd4f6e98b99442989b99242fdf973f750c | Tidy up input repeat | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -38,6 +38,11 @@ BlitGameMetadata selected_game_metadata;\nSpriteSheet *spritesheet;\n+AutoRepeat ar_button_up;\n+AutoRepeat ar_button_down;\n+AutoRepeat ar_button_left(0, 0);\n+AutoRepeat... | C | MIT License | pimoroni/32blit-beta | Tidy up input repeat |
510,643 | 04.01.2021 21:36:59 | -7,200 | bb10f7b3c34554c1c54d846a04f3528e22e2e73f | Added credits to launcher | [
{
"change_type": "MODIFY",
"old_path": "launcher/CMakeLists.txt",
"new_path": "launcher/CMakeLists.txt",
"diff": "@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.9)\nproject (launcher)\ninclude (../32blit.cmake)\n-blit_executable(launcher launcher.cpp theme.cpp)\n+blit_executable(launcher launcher.... | C | MIT License | pimoroni/32blit-beta | Added credits to launcher |
510,643 | 04.01.2021 21:37:06 | -7,200 | d39646e665cadd756818fa25f1ccdf35987108f9 | Fixed launcher VS project | [
{
"change_type": "MODIFY",
"old_path": "vs/launcher/launcher.vcxproj",
"new_path": "vs/launcher/launcher.vcxproj",
"diff": "</PreBuildEvent>\n</ItemDefinitionGroup>\n<ItemGroup>\n+ <ClInclude Include=\"..\\..\\launcher\\credits.hpp\" />\n<ClInclude Include=\"..\\..\\launcher\\launcher.hpp\" />\n<ClI... | C | MIT License | pimoroni/32blit-beta | Fixed launcher VS project |
510,643 | 05.01.2021 09:04:20 | -7,200 | c248aaacb5d7c148a62af0c43d1dc594c3ee1c6e | Added: python script to update contributions from github automatically | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "launcher/update-contributors.py",
"diff": "+#\n+# update-contributors.py\n+# 32blit\n+#\n+# pull contributors from github and update the list\n+#\n+import os\n+import requests\n+\n+# ignore list, these will be removed. Pimoroni staff\n+ignore = ... | C | MIT License | pimoroni/32blit-beta | Added: python script to update contributions from github automatically |
510,643 | 05.01.2021 09:04:40 | -7,200 | eb8997392ba3da8b18b9425a79d6b49348d95b7c | Added: use the auto generated contributors file | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "launcher/contrib.hpp",
"diff": "+// contrib.hpp\n+// 32blit GitHub contributors\n+//\n+// AUTO GENERATED FILE, PLEASE DO NOT EDIT BY HAND\n+//\n+#pragma once\n+\n+static const char * contributors[] = {\n+ \"a2\",\n+ \"ahnlak\",\n+ \"ali1234\",\n... | C | MIT License | pimoroni/32blit-beta | Added: use the auto generated contributors file |
510,643 | 05.01.2021 09:07:03 | -7,200 | a7771c8b8abad259deac11dd74f06b1300607bc5 | Update: use the Theme colours | [
{
"change_type": "MODIFY",
"old_path": "launcher/credits.cpp",
"new_path": "launcher/credits.cpp",
"diff": "@@ -10,6 +10,7 @@ using namespace blit;\n#include \"credits.hpp\"\n#include \"contrib.hpp\"\n+#include \"theme.hpp\"\n// Speed of scrolling, ms per pixel\n#define SPEED 40\n@@ -21,6 +22,7 @@ n... | C | MIT License | pimoroni/32blit-beta | Update: use the Theme colours |
510,643 | 05.01.2021 09:57:40 | -7,200 | 8da3eeb1f6df5b5b987af2b785aafd8a25449c3c | Improved: state management in credits | [
{
"change_type": "MODIFY",
"old_path": "launcher/credits.cpp",
"new_path": "launcher/credits.cpp",
"diff": "@@ -17,6 +17,12 @@ using namespace blit;\nnamespace credits {\n+ enum class CreditRenderMode {\n+ Credits,\n+ SpecialThanks,\n+ Contributors\n+ };\n+\nconst int cinematic_bar_height = 24;\nsta... | C | MIT License | pimoroni/32blit-beta | Improved: state management in credits |
510,643 | 05.01.2021 10:02:38 | -7,200 | 47ef81bab2dee7dded5ec6932bcd341419066f57 | Fixed: missing empty line | [
{
"change_type": "MODIFY",
"old_path": "launcher/credits.cpp",
"new_path": "launcher/credits.cpp",
"diff": "@@ -55,7 +55,7 @@ namespace credits {\n\"\",\n\"*The contributing crew\",\n\"(in alphabetical order)\",\n- \"%C\" // code will render contributors section here, %C is placeholder\n+ \"%C\", //... | C | MIT License | pimoroni/32blit-beta | Fixed: missing empty line |
510,643 | 05.01.2021 10:13:08 | -7,200 | a83c05c7d4258518da4fc15b34ecb94da58f2378 | Update: rename variable for better code | [
{
"change_type": "MODIFY",
"old_path": "launcher/update-contributors.py",
"new_path": "launcher/update-contributors.py",
"diff": "@@ -45,7 +45,7 @@ contrib_hpp = \"// contrib.hpp\\n\" \\\n# Add regular contributors\ncontrib_hpp = contrib_hpp + \"static const char * contributors[] = {\\n\"\n-for c in... | C | MIT License | pimoroni/32blit-beta | Update: rename variable for better code |
510,640 | 03.01.2021 23:15:13 | 0 | 8d354022f8f95f941363f99599f61f9bb658269b | New screenshot save location | [
{
"change_type": "MODIFY",
"old_path": "32blit-stm32/Src/32blit.cpp",
"new_path": "32blit-stm32/Src/32blit.cpp",
"diff": "@@ -219,10 +219,29 @@ void blit_update_volume() {\nstatic void save_screenshot() {\nint index = 0;\n- char buf[100];\n+ char buf[200];\n+ std::string app_name;\n+ const std::stri... | C | MIT License | pimoroni/32blit-beta | New screenshot save location |
510,640 | 03.01.2021 23:16:01 | 0 | a59b0f4c9a0c70eaebfbaa81bff28a4634f2968f | Crude screenshot browser | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -40,6 +40,7 @@ std::list<DirectoryInfo>::iterator current_directory;\nSortBy file_sort = SortBy::name;\n+GameInfo selected_game;\nBlitGameMetadata selected_game_metadata;\nSpriteSheet *sp... | C | MIT License | pimoroni/32blit-beta | Crude screenshot browser |
510,640 | 04.01.2021 13:29:35 | 0 | c4c9832645270d1c47ed2bdcabf63daa04a1c258 | Attempt to handle P and 160x120 screenshots | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -50,6 +50,11 @@ AutoRepeat ar_button_down;\nAutoRepeat ar_button_left(0, 0);\nAutoRepeat ar_button_right(0, 0);\n+uint8_t screenshot_data[320*240];\n+Surface screenshot_rgb(screenshot_dat... | C | MIT License | pimoroni/32blit-beta | Attempt to handle P and 160x120 screenshots |
510,640 | 04.01.2021 14:29:23 | 0 | ca20db1fdfdd07562796a948bd561a6caedc4f5b | Fix unitialized bitmap header | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -342,16 +342,16 @@ void render(uint32_t time) {\nscreen.pen = theme.color_background;\nscreen.clear();\n- if(selected_game.type == GameType::screenshot) {\n- File screenshot(selected_game... | C | MIT License | pimoroni/32blit-beta | Fix unitialized bitmap header |
510,640 | 04.01.2021 14:48:40 | 0 | 067afb26ca715a26c6fc473014dfb777c8b04022 | Press A to hide UI on screenshot | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -28,6 +28,7 @@ constexpr uint32_t qspi_flash_sector_size = 64 * 1024;\nstatic Screen currentScreen = Screen::main;\n+bool hide_ui = false;\nbool sd_detected = true;\nVec2 file_list_scroll... | C | MIT License | pimoroni/32blit-beta | Press A to hide UI on screenshot |
510,640 | 04.01.2021 15:07:28 | 0 | a440ee2f84158644c8327c5be69e9117927110f8 | Darker bg behind game and dir lists | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -363,6 +363,11 @@ void render(uint32_t time) {\n}\nif(hide_ui) return;\n+\n+ screen.pen = theme.color_background;\n+ screen.pen.a = 150;\n+ screen.rectangle(Rect(game_info_offset.x - 10, ... | C | MIT License | pimoroni/32blit-beta | Darker bg behind game and dir lists |
510,640 | 04.01.2021 15:21:13 | 0 | bd0760b128ead14c3e132d3ed77437c5f7a85612 | Use surface load | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -45,17 +45,13 @@ GameInfo selected_game;\nBlitGameMetadata selected_game_metadata;\nSpriteSheet *spritesheet;\n+Surface *screenshot;\nAutoRepeat ar_button_up;\nAutoRepeat ar_button_down;\... | C | MIT License | pimoroni/32blit-beta | Use surface load |
510,640 | 04.01.2021 15:57:34 | 0 | e404587fa51cba0a88ca695b1a983c25dc9aa825 | Only load screenshot on change, free data | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -329,16 +329,26 @@ void init() {\n}\nvoid render(uint32_t time) {\n+ static std::string current_screenshot = \"\";\nscreen.sprites = spritesheet;\nscreen.pen = theme.color_background;\nsc... | C | MIT License | pimoroni/32blit-beta | Only load screenshot on change, free data |
510,640 | 04.01.2021 16:01:26 | 0 | 595e60716bef434a2ff27b8d32a0a8ab5709509d | Don't stetch blit full-sized images | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -346,8 +346,11 @@ void render(uint32_t time) {\nscreenshot = Surface::load(selected_game.filename);\n}\n+ if(screenshot->bounds.w == screen.bounds.w) {\n+ screen.blit(screenshot, Rect(Poi... | C | MIT License | pimoroni/32blit-beta | Don't stetch blit full-sized images |
510,640 | 04.01.2021 16:12:27 | 0 | d1e9a0ae4ae22b0655f61fdf2195e6914565f7c4 | Free screenshot when not viewing | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -337,12 +337,14 @@ void render(uint32_t time) {\nif(!game_list.empty() && selected_game.type == GameType::screenshot) {\nif(selected_game.filename != current_screenshot) {\n+ // Free any ... | C | MIT License | pimoroni/32blit-beta | Free screenshot when not viewing |
510,640 | 05.01.2021 14:41:17 | 0 | 7936e09180127c161a7e0eb6d00367fdf5ee1a16 | Use currentScreen in lieu of hide_ui | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -28,7 +28,6 @@ constexpr uint32_t qspi_flash_sector_size = 64 * 1024;\nstatic Screen currentScreen = Screen::main;\n-bool hide_ui = false;\nbool sd_detected = true;\nVec2 file_list_scroll... | C | MIT License | pimoroni/32blit-beta | Use currentScreen in lieu of hide_ui |
510,640 | 05.01.2021 14:47:32 | 0 | 52c5fd79748dc073b354afee5e2874eb11f53ce2 | Measure title with launcher_font | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -432,7 +432,7 @@ void render(uint32_t time) {\nscreen.pen = theme.color_accent;\nstd::string wrapped_title = screen.wrap_text(selected_game_metadata.title, screen.bounds.w - game_info_off... | C | MIT License | pimoroni/32blit-beta | Measure title with launcher_font |
510,640 | 05.01.2021 14:50:29 | 0 | 77efbfdde0a8a994585769a4c79bf616b3c23ad2 | Fix list scroll offset calc | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -553,7 +553,7 @@ void update(uint32_t time) {\n}\n// scroll list towards selected item\n- file_list_scroll_offset.y += ((selected_menu_item * 10) - file_list_scroll_offset.y) / 5.0f;\n+ f... | C | MIT License | pimoroni/32blit-beta | Fix list scroll offset calc |
510,640 | 05.01.2021 15:05:29 | 0 | b4ad9d93dcedce8b2dd3df0786c7af7dfa063243 | Change screenshot in full screen | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -46,8 +46,8 @@ BlitGameMetadata selected_game_metadata;\nSpriteSheet *spritesheet;\nSurface *screenshot;\n-AutoRepeat ar_button_up;\n-AutoRepeat ar_button_down;\n+AutoRepeat ar_button_up(... | C | MIT License | pimoroni/32blit-beta | Change screenshot in full screen |
510,640 | 05.01.2021 15:13:41 | 0 | f2653d52d3858b10be3649e11ca6b040e1efde57 | Single call to metadata load | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -547,7 +547,7 @@ void update(uint32_t time) {\nload_file_list(current_directory->name);\nselected_menu_item = 0;\n- load_current_game_metadata();\n+ old_menu_item = -1;\n}\nif (button_y) ... | C | MIT License | pimoroni/32blit-beta | Single call to metadata load |
510,640 | 05.01.2021 16:46:13 | 0 | f4e7f50f0c952020688e30db41ee463c045c1010 | Move screenshot loading from render to update | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -228,6 +228,7 @@ void load_file_list(std::string directory) {\n}\nvoid load_current_game_metadata() {\n+ static std::string current_screenshot = \"\";\nbool loaded = false;\nif(!game_list... | C | MIT License | pimoroni/32blit-beta | Move screenshot loading from render to update |
510,640 | 05.01.2021 16:48:34 | 0 | 74bd281a79e6c7c67ff6d41fa5463d6f056b252e | View/back icons for screenshots, better play icon | [
{
"change_type": "MODIFY",
"old_path": "launcher/assets.yml",
"new_path": "launcher/assets.yml",
"diff": "assets.hpp:\n- sprites.png: sprites\n+ assets/sprites.png: sprites\nassets/8x8font.png:\nname: font8x8\n"
},
{
"change_type": "ADD",
"old_path": "launcher/assets/sprites.png",
"n... | C | MIT License | pimoroni/32blit-beta | View/back icons for screenshots, better play icon |
510,643 | 07.01.2021 08:44:40 | -7,200 | e208d2e2ee406e0d9e101a33e3aed56cd5e66ee0 | Updated the credits with the new font | [
{
"change_type": "MODIFY",
"old_path": "launcher/credits.cpp",
"new_path": "launcher/credits.cpp",
"diff": "using namespace blit;\n+#include \"assets.hpp\"\n#include \"credits.hpp\"\n#include \"contrib.hpp\"\n#include \"theme.hpp\"\n@@ -15,7 +16,12 @@ using namespace blit;\n// Speed of scrolling, ms... | C | MIT License | pimoroni/32blit-beta | Updated the credits with the new font |
510,640 | 08.01.2021 16:21:05 | 0 | 33ca00dc95c32c67910622e6311eac62cd5312c9 | Attempt to implement load_from_packed as static nitializer | [
{
"change_type": "MODIFY",
"old_path": "32blit/graphics/surface.cpp",
"new_path": "32blit/graphics/surface.cpp",
"diff": "@@ -52,6 +52,7 @@ namespace blit {\ninit();\n}\n+/* Use *one* constructor and favour static initializers for overloads\nSurface::Surface(uint8_t *data, const PixelFormat &format,... | C | MIT License | pimoroni/32blit-beta | Attempt to implement load_from_packed as static nitializer |
510,640 | 08.01.2021 17:39:14 | 0 | b9ec4d521807ad5822be1d7ec65eceb0a466763d | Fix up-front alloc support | [
{
"change_type": "MODIFY",
"old_path": "32blit/graphics/surface.cpp",
"new_path": "32blit/graphics/surface.cpp",
"diff": "@@ -59,7 +59,7 @@ namespace blit {\n*\n* \\return `Surface` containing loaded data or `nullptr` if the image was invalid\n*/\n- Surface *Surface::load(const packed_image *image) ... | C | MIT License | pimoroni/32blit-beta | Fix up-front alloc support |
510,640 | 08.01.2021 21:04:10 | 0 | 33b263e27d617ccc6156214e54ba04aa829b8d11 | Pre-alloc screenshot buffer on heap | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -51,6 +51,8 @@ AutoRepeat ar_button_down(250, 600);\nAutoRepeat ar_button_left(0, 0);\nAutoRepeat ar_button_right(0, 0);\n+uint8_t screenshot_buf[320 * 240 * 3];\n+\nint calc_num_blocks(u... | C | MIT License | pimoroni/32blit-beta | Pre-alloc screenshot buffer on heap |
510,640 | 09.01.2021 11:45:12 | 0 | 3ba953ef1c68b44aa6ffed6ef20a43a1fcaed8bd | Swooshy launcher background | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -350,12 +350,50 @@ void init() {\ncredits::prepare();\n}\n+void swoosh(uint32_t time, float t1, float t2, float s1, float s2, int t0, int offset_y=120, int size=60, int alpha=45) {\n+ for... | C | MIT License | pimoroni/32blit-beta | Swooshy launcher background |
510,640 | 09.01.2021 21:33:26 | 0 | 4b6bee035515ba6a8d21dd8bae002c5aea5487fc | Avoid min/max and use tidier swap | [
{
"change_type": "MODIFY",
"old_path": "launcher/launcher.cpp",
"new_path": "launcher/launcher.cpp",
"diff": "@@ -356,13 +356,13 @@ void swoosh(uint32_t time, float t1, float t2, float s1, float s2, int t0, int o\nfloat t_a = (x / s1) + float(time + t0) / t1;\nfloat t_b = (x / s2) + float(time + t0)... | C | MIT License | pimoroni/32blit-beta | Avoid min/max and use tidier swap |
510,640 | 10.01.2021 14:35:55 | 0 | 6a5b66a0ab8a64fcc9db7a68e0e4ae0823ae098f | Require surface buffer size to be specified when not alloc'ing | [
{
"change_type": "MODIFY",
"old_path": "32blit/graphics/surface.cpp",
"new_path": "32blit/graphics/surface.cpp",
"diff": "@@ -70,15 +70,6 @@ namespace blit {\nreturn load_from_packed(file, data, data_size, false);\n}\n- /**\n- * \\overload\n- *\n- * \\param data pointer to an image asset\n- */\n- Su... | C | MIT License | pimoroni/32blit-beta | Require surface buffer size to be specified when not alloc'ing |
510,640 | 11.01.2021 11:46:22 | 0 | c8a359e463138f40a68759c371130948cae7cc9c | Delete redundant launcher flash code | [
{
"change_type": "MODIFY",
"old_path": "firmware/firmware.cpp",
"new_path": "firmware/firmware.cpp",
"diff": "@@ -399,9 +399,6 @@ static void *get_type_handler_metadata(const char *filetype) {\nstatic void start_launcher() {\nif(launcher_offset != 0xFFFFFFFF)\nlaunch_game(launcher_offset);\n- // no ... | C | MIT License | pimoroni/32blit-beta | Delete redundant launcher flash code |
510,640 | 11.01.2021 11:46:58 | 0 | 65598ce0ea38157d5bc1cf9e1537a2f21a8ff5a8 | Identify launcher by meta category | [
{
"change_type": "MODIFY",
"old_path": "firmware/firmware.cpp",
"new_path": "firmware/firmware.cpp",
"diff": "@@ -33,6 +33,7 @@ extern USBManager g_usbManager;\nstruct GameInfo {\nchar title[25], author[17];\n+ char category[17];\nuint32_t size = 0, checksum = 0;\nuint32_t offset = ~0;\n@@ -99,6 +10... | C | MIT License | pimoroni/32blit-beta | Identify launcher by meta category |
510,640 | 11.01.2021 12:06:36 | 0 | 6084aaad0cbcce0dc8fb6825f88a96f41a1b3f57 | Del launcher when flashing new one from SD | [
{
"change_type": "MODIFY",
"old_path": "firmware/firmware.cpp",
"new_path": "firmware/firmware.cpp",
"diff": "@@ -122,6 +122,7 @@ bool parse_flash_metadata(uint32_t offset, GameInfo &info) {\nbool parse_file_metadata(FIL &fh, GameInfo &info) {\nBlitGameHeader header;\nUINT bytes_read;\n+ bool result... | C | MIT License | pimoroni/32blit-beta | Del launcher when flashing new one from SD |
510,640 | 11.01.2021 12:15:10 | 0 | d177fbe5f463624fd6a0ea398376bc7d6e049803 | Del launcher when flashing new one from CDC | [
{
"change_type": "MODIFY",
"old_path": "firmware/firmware.cpp",
"new_path": "firmware/firmware.cpp",
"diff": "@@ -502,7 +502,7 @@ void render(uint32_t time) {\nscreen.pen = Pen(255, 255, 255);\nscreen.text(\n- \"No launcher found!\\n\\nFlash one with 32blit flash\\n or place launcher.blit on your SD... | C | MIT License | pimoroni/32blit-beta | Del launcher when flashing new one from CDC |
510,640 | 11.01.2021 12:32:44 | 0 | ae4166d9f0196efee1f0795795768ad4f203f2a3 | Use prtFirmware | [
{
"change_type": "MODIFY",
"old_path": "firmware/firmware.cpp",
"new_path": "firmware/firmware.cpp",
"diff": "@@ -253,7 +253,7 @@ void scan_flash() {\nlauncher_offset = offset;\n// remove old firmware updates\n- if(strcmp(game.title, \"Firmware Updater\") == 0 && persist.reset_target == 0) {\n+ if(s... | C | MIT License | pimoroni/32blit-beta | Use prtFirmware |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.