Skip to content

Sameko Dev C++ v1.2.0

Choose a tag to compare

@QuangquyNguyenvo QuangquyNguyenvo released this 01 Aug 12:29
· 215 commits to main since this release

🐟 Sameko Dev C++ v1.2.0 Release ⚓

🌟 Version 1.2.0 is a landmark release! Featuring an integrated source-level C++ debugger (GDB), full cross-platform Linux support, xterm.js realtime output engine, SSOT theme customizer, local font performance boost, and tons of bug fixes.


🐛 1. Integrated C++ Debugger (GDB)

The app now features a real source-level debugger built on the bundled MinGW GDB (Machine Interface) — debug -g builds directly inside Sameko without leaving the editor!

  • Breakpoints: Click left gutter to toggle red breakpoints. Alt+Click sets conditional breakpoints (e.g. i == n - 1); Ctrl+Click enables/disables breakpoints without deleting them.
  • Interactive Debug Panel: Smart Run ▶ / Continue / Pause / Step Over (F10) / Step Into (F11) / Step Out (Shift+F11) / Stop (Shift+F5) toolbar. Step Into automatically skips std:: template internals!
  • Variables & Watch Trees: Locals & watch expressions with full STL pretty-printing (vector, map, string expand dynamically). Changed values are highlighted in real-time. Double-click values to toggle Hex/Dec.
  • Auto Dry Run & Step History: Walk programs automatically at custom speeds, or step backwards through pause history.
  • Call Stack & Hover Evaluate: View stack frames, right-click to "Run to Cursor", and hover variables while paused to inspect values.

🐧 2. Full Cross-Platform Linux Support

Sameko is now officially available on Linux!

  • Package Formats: Ships ready-to-run AppImage, .deb, and .tar.gz packages alongside Windows builds.
  • Automatic Toolchain Detection: Automatically detects system-installed g++ and gdb without manual path configuration.
  • Cross-Platform Architecture: Seamless POSIX process control, terminal management, file watching, and desktop integration.

⚡ 3. Engine, Performance & UI Upgrades

  • Realtime Output Engine (xterm.js): Canvas-based xterm.js integration paired with a C++ std::cout/printf unbuffering shim (sameko_unbuffer.cpp) for instant line-by-line output in competitive programming.
  • ~16% Faster Startup: Bundled local fonts (Fredoka, Nunito, JetBrains Mono) eliminating Google Fonts CDN roundtrips, paired with deferred Monaco editor loading.
  • SSOT Theme Architecture: Single Source of Truth theme tokens (ThemeTokens), dark backdrop customizer popup, and unified color palette.
  • Bundled GCC 16.1.0 & C++26: Updated WinLibs GCC 16.1.0 MinGW toolchain with official C++26 standard support.

🛠️ 4. Key Improvements & Fixed Issues / Commits

🐛 Fixed Issues & Pull Requests

  • [#35] Save As Support: Added File > Save As... & Ctrl+Shift+S (#35)
  • [#36] Terminal UI Alignment & Clean Container Structure: (#36)
  • [#38] Snippet Button Position & Clipboard Empty Copy Prevention: (#38)
  • [#39] Monaco Tab View State & Scroll Position Preservation: (#39)
  • [#41] Untouched Startup Tab Baseline & Unsaved Indicator Fix: (#41)
  • [#42] Full Vietnamese String Sweep & English UI Normalization: (#42)
  • [#43] Output Terminal Container Conflict Fix: (#43)
  • [#44] Ctrl+C Terminal Stream Pollution Prevention: (#44)
  • [#45] Selection Clipboard Overwrite Fix: (#45)
  • [#46] Competitive Companion Current Tab Import Option: (#46)
  • [#47] Log Severity Class Normalization: (#47)
  • [#48] Terminal UI & Execution State Sync: (#48)

🔗 Feature & Maintenance Commits

  • Debugger Implementation: 1ea1e5b (GDB MI integration & panel UI)
  • Linux Build & Helpers: 1e0d1d6 (AppImage & deb targets)
  • Clangd IntelliSense Fix: a9e6b69 (Unconditional tab resolution & --completion-style=bundled)
  • Additional Compile Flags: 3a64f21 (Sync extra flags with clangd diagnostics)
  • Realtime Output Shim: 1588ea6 (xterm.js + C++ unbuffering)
  • SSOT Theme Refactor: 74f5a9e (ThemeTokens & dark customizer)
  • Startup Font Optimization: b3f845c (Local woff2 fonts)
  • Auto-Update Download Guard: f5f9f02 (Prevent premature update restart prompt)

For full change history, see CHANGELOG.md.