Skip to content

Conversation

@mrorigo
Copy link
Contributor

@mrorigo mrorigo commented Nov 29, 2025

Someone asked for it...

  • Added command-line argument parsing for .rocket/.xml files
  • Implemented autoload on startup for Linux and macOS platforms
  • Added Editor_setLoadedFilename() and Editor_getTrackData() APIs
  • Cross-platform support with proper error handling
  • Maintains backward compatibility with existing behavior
  • Graceful error handling with user-friendly dialogs

Usage: ./RocketEditor path/to/file.rocket

mrorigo and others added 3 commits November 29, 2025 19:17
- Added command-line argument parsing for .rocket/.xml files
- Implemented autoload on startup for Linux and macOS platforms
- Added Editor_setLoadedFilename() and Editor_getTrackData() APIs
- Cross-platform support with proper error handling
- Maintains backward compatibility with existing behavior
- Graceful error handling with user-friendly dialogs

Usage: ./RocketEditor path/to/file.rocket
- Fix Editor.c: move Editor_setLoadedFilename/Editor_getTrackData outside WIN32 block
- Fix macOS: remove duplicate applicationDidFinishLaunching method
- Fix macOS: remove invalid @synthesize rocketFilePath
- Fix Linux: remove TEXT() macro usage (Windows-only)
- Remove test.rocket file
- Add (void) to function prototypes for C compliance
- Create args.c/args.h with cross-platform argument parsing
- Support --load/-l flag and bare .rocket/.xml filenames
- Update Linux, macOS, and Windows to use shared parser
- All platforms now support: RocketEditor --load file.rocket
  or simply: RocketEditor file.rocket
@emoon emoon merged commit d00ffb2 into emoon:master Nov 30, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants