diff --git a/CHANGELOG.md b/CHANGELOG.md index 925d1bf..0c0c9b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 1.4.3 +## 1.4.3 (2024-02-08) - Updated to the latest OpenAI chat models - Fix crash when config.json doesn't exist @@ -10,7 +10,6 @@ - Use a stack cookie to set minimum stack size to 32768 bytes (AmigaOS 3.1.4 or higher required) - Shows a warning if the stack size is smaller than 32768 bytes (AmigaOS 3 only) - Send button no longer appears in corner of screen on image mode in 3.X after an error message is dismissed -- TODO - Fix colour of text cursor in OS4 ## 1.4.2 (2024-01-31) diff --git a/bundle/AmigaGPT/AmigaGPT.guide b/bundle/AmigaGPT/AmigaGPT.guide index 0803721..7570d32 100644 --- a/bundle/AmigaGPT/AmigaGPT.guide +++ b/bundle/AmigaGPT/AmigaGPT.guide @@ -669,9 +669,16 @@ Training data: Up to Sep 2021 @node changelog "Changelog" @{b}Changelog@{ub} -@{b}1.4.3@{ub} +@{b}1.4.3 (2024-02-08)@{ub} - Updated to the latest OpenAI chat models +- Fix crash when config.json doesn't exist +- Fix crash when selecting the root menu items +- Adjust screen colours to enhance visibility +- Improved error handling for connection errors +- Use a stack cookie to set minimum stack size to 32768 bytes (AmigaOS 3.1.4 or higher required) +- Shows a warning if the stack size is smaller than 32768 bytes (AmigaOS 3 only) +- Send button no longer appears in corner of screen on image mode in 3.X after an error message is dismissed @{b}1.4.2 (2024-01-31)@{ub} diff --git a/bundle/AmigaGPT/AmigaGPT.readme b/bundle/AmigaGPT/AmigaGPT.readme index f3c32ce..829dc48 100644 --- a/bundle/AmigaGPT/AmigaGPT.readme +++ b/bundle/AmigaGPT/AmigaGPT.readme @@ -208,10 +208,21 @@ Special Thanks: https://www.hyperion-entertainment.com Changelog: + ------------------ -1.4.3 +1.4.3 (2024-02-08) ------------------ - Updated to the latest OpenAI chat models +- Fix crash when config.json doesn't exist +- Fix crash when selecting the root menu items +- Adjust screen colours to enhance visibility +- Improved error handling for connection errors +- Use a stack cookie to set minimum stack size to 32768 bytes (AmigaOS 3.1.4 + or higher required) +- Shows a warning if the stack size is smaller than 32768 bytes (AmigaOS 3 + only) +- Send button no longer appears in corner of screen on image mode in 3.X after + an error message is dismissed ------------------ 1.4.2 (2024-01-31) diff --git a/src/config.c b/src/config.c index 2be9007..b08cecf 100644 --- a/src/config.c +++ b/src/config.c @@ -34,7 +34,7 @@ struct Config config = { .uiFontFlags = FPF_DISKFONT | FPF_DESIGNED, .openAiApiKey = NULL, .colors = { - 10 << 16, + 11 << 16, 0x00000000, 0x00000000, 0x11111111, // darkest blue 0x00000000, 0x88888888, 0xFFFFFFFF, // light blue 0xA0000000, 0x00000000, 0x0F0F0F0F, // dark red @@ -45,6 +45,7 @@ struct Config config = { 0xFFFFFFFF, 0xFFFFFFFF, 0x00000000, // yellow 0x22222222, 0x22222222, 0x22222222, // dark grey 0x44444444, 0x44444444, 0x44444444, // grey + 0xFFFFFFFF, 0xAAAAAAAA, 0x00000000, // orange 0 }, .chatModelSetVersion = CHAT_MODEL_SET_VERSION, diff --git a/src/gui.c b/src/gui.c index 760c235..0bebc5b 100644 --- a/src/gui.c +++ b/src/gui.c @@ -201,7 +201,7 @@ static BOOL isPublicScreen; static BOOL isAmigaOS3X; static LONG selectedMode; static WORD pens[NUMDRIPENS + 1]; -static LONG textEdtorColorMap[] = {5,3,6,3,6,6,4,0,1,6,6,6,6,6,6,6}; +static LONG textEditorColorMap[] = {5,10,6,3,6,6,4,0,1,6,6,6,6,6,6,6}; static LONG sendMessageButtonPen; static LONG newChatButtonPen; static LONG deleteButtonPen; @@ -1294,9 +1294,9 @@ LONG initVideo() { } if (!isPublicScreen) { - SetGadgetAttrs(textInputTextEditor, mainWindow, NULL, GA_TEXTEDITOR_ColorMap, &textEdtorColorMap, TAG_DONE); + SetGadgetAttrs(textInputTextEditor, mainWindow, NULL, GA_TEXTEDITOR_ColorMap, &textEditorColorMap, TAG_DONE); if (!isAmigaOS3X || selectedMode == MODE_SELECTION_TAB_CHAT_ID) - SetGadgetAttrs(chatOutputTextEditor, mainWindow, NULL, GA_TEXTEDITOR_ColorMap, &textEdtorColorMap, TAG_DONE); + SetGadgetAttrs(chatOutputTextEditor, mainWindow, NULL, GA_TEXTEDITOR_ColorMap, &textEditorColorMap, TAG_DONE); } refreshOpenAIMenuItems(); diff --git a/src/main.c b/src/main.c index c0315a9..b5ddef7 100644 --- a/src/main.c +++ b/src/main.c @@ -68,7 +68,7 @@ LONG main(int argc, char **argv) { total = upper - lower; } - if (total < 327668) { + if (total < 32768) { printf("Warning: The stack size of %ld bytes is too small. The minimum recommended stack size is 32768 bytes to avoid crashes.\n", total); } #else diff --git a/src/version.h b/src/version.h index 475ee65..26124d9 100644 --- a/src/version.h +++ b/src/version.h @@ -1,3 +1,3 @@ #define APP_VERSION "1.4.3" -#define BUILD_NUMBER "2739" +#define BUILD_NUMBER "2749" #define APP_NAME "AmigaGPT" \ No newline at end of file