cpeditor

The IDE for competitive programming | Fetch, Code, Compile, Run, Check, Submit

GPL-3.0 License

Stars
1.7K
Committers
36

Bot releases are visible (Hide)

cpeditor - CP Editor 6.5.4

Published by github-actions[bot] about 4 years ago

6.5.4

Fixed

  • Fixed the old problem URL is not restored when opening an old file with that option on. (#522)
  • Fixed the performance issue that makes the editor extremely slow when there are many lines. (cpeditor/QCodeEditor#27)
cpeditor - CP Editor 6.6.2

Published by github-actions[bot] about 4 years ago

6.6.2 (Beta)

Fixed

  • Fixed the diff viewer crashes when the output is empty. (#517)
cpeditor - CP Editor 6.6.1

Published by github-actions[bot] about 4 years ago

6.6.1 (Beta)

The Portable Version

Now we provide the portable version on Windows. The portable version saves the config file in the same directory as the executable file of CP Editor, instead of the system config directory, and you can run it without installtion.

With the portable version, you can easily store it in something like a USB disk, and the configs are always with you no matter you run it on which machine. However, the file paths in the settings can be broken when you change the machine.

Added

  • On Windows, install VC Redist along with the application.
  • Now you can use ${tempdir} as an alternative of ${tmpdir} in C++ executable file path setting and Java class file path setting.
  • Add the translation system and Simplified Chinese translation. (#377 and #384)
  • In-application UI style setting and built-in light/dark style. (#265 and #404)
  • Now you can choose to run on empty test cases. (#408, #420, #426 and #427)
  • Now testcases with empty outputs can also be checked. (#208 and #430)
  • Auto-save time interval.
  • Now you can auto-save the current session, besides saving it when the application exists. (#437 and #442)
  • Now the width of the input/output/expected of each test case is adjustable, and the maximum height of a test case can be set in the preferences. (#414 and #444)
  • Now you can use proxy to check for updates. (#448)
  • Now you can set a custom font for the whole application. (#169 and #453)
  • Now Java programmers can use a public class as your main class. (#459 and #461)
  • A warning when it failed to start compilation. (#463)
  • Now you can change the text codec of the compiler output. (#469)
  • Now you can use the mouse wheel to change the font of the code editor. (#475)
  • A flexible system to set and change default paths for several path choosing actions. (#483)
  • Settings to control whether to load external file changes. (#486)
  • Separated settings for format on manual save and format on auto-save. (#488)
  • An option to disable toast messages of CF Tool. (#489)
  • Add Russian translations. (#494)
  • Now the test cases will be elided if they are too long. (#491)
  • Duplicate Tab (in the context menu of tabs). (#481 and #505)

Fixed

  • Fix the wrong default setting for C++ executable file path.
  • Fix the displayed size of the default font is not the same as the actual size of the default font. (#425)
  • Fix false external file changes when auto-save is enabled. (#392)

Changed

  • The default font is set to the system fixed-width font instead of the font named "Monospace". (#422)
  • Now the session is stored in a separate file, which was stored along with the settings. So now when exporting/importing settings, the session won't be included, but you can export/load the session separately. (#437 and #442)
  • Now the hidden (not in the search result) pages are skipped when navigating pages in the preferences window via Ctrl+Tab and Ctrl+Shift+Tab. (#447)
  • Now when you open the Find/Replace dialog with some text selected in the code editor and the text-to-find changes, the undo history of the text-to-find won't be cleared. (#460)
  • Now the default main class name of Java is Main instead of a. (#461)
  • Now the version displayed in cpeditor --version is X.Y.Z.rXX.gGITHASH if the current commit (HEAD) has no tag, otherwise, it is the actual version. (#468)
  • Now the manual URL contains the commit hash instead of the version number, so that it works on the master branch. (#468)
  • Now Tab Jump Out Parentheses is disabled by default. (#499)
  • The default shortcut to format codes is changed to Ctrl+Shift+I. (#512)

Improved

  • Now restoring the last session is faster. (#509)
cpeditor - CP Editor 6.5.3

Published by github-actions[bot] about 4 years ago

6.5.3

This version is the same as 6.5.2, but it's considered stable now.

6.5.2 (Beta)

Fixed

  • Fix wrong default setting for C++ executable file path.

Added

  • On Windows, install VC Redist along with the application.
  • Now you can use ${tempdir} as an alternaltive of ${tmpdir} in C++ executable file path setting and Java class file path setting.

6.5.1 (Beta)

Added

  • Now you can change the font of the message logger. (#331 and #334)
  • Now besides the name of a setting, you can also search for the desciption, tool tip and help information of a setting in the preferences window. (#337)
  • Now you can use Alt to choose the menu in the main window. (#344)
  • Now it's optional to save the file on compilation and execution or not.
  • Now you can choose the path of the executable file for C++ and the path of the parent directory of the class file for Java. (#271)
  • Now you can get the git commit hash when executing cpeditor --version in the terminal.
  • Now the application catches SIGINT, SIGTERM and SIGHUP on Linux/macOS and catches CTRL_C_EVENT, CTRL_BREAK_EVENT and CTRL_CLOSE_EVENT on Windows, it be will gracefully closed when receiving these signals. (#178 and #268) Warning: It's reported that on some environments it doesn't always work.
  • Now you can restore the problem URL when opening a file previously with a problem URL, and/or open the old file when parsing an old problem URL. (#199)
  • Now the update checker shows changelogs and provides a button to cancel the update operation and a button to directly download binaries. (#361)
  • Now you can set a initial position for the code template. (#352)
  • Use tab to jump out of a parenthesis. (#256)
  • Parentheses settings for each parenthesis in each language. (#206)
  • A button to clear the messages.
  • Export and import settings. (#336)

Fixed

  • Fixed some unexpected file saving. (#353)
  • Fix a bug which makes the application crash when quiting in some scenarios. (fa5259b)
  • Fix a bug which makes the saved test cases are not loaded correctly.
  • Fix the screen is not scrolled to show the cursor in some situations.

Changed

  • Open an empty untitled tab when the open file length limit is exceeded. (#353)
  • When parsing a problem while it is already parsed and opened in a tab, the new test cases will override the old test cases.
  • If you click "Cancel" when saving all files, the action will be aborted instead of saving the next file.
cpeditor - CP Editor 6.5.2

Published by github-actions[bot] over 4 years ago

6.5.2 (Beta)

Fixed

  • Fix wrong default setting for C++ executable file path.

Added

  • On Windows, install VC Redist along with the application.
  • Now you can use ${tempdir} as an alternaltive of ${tmpdir} in C++ executable file path setting and Java class file path setting.
cpeditor - CP Editor 6.4.7

Published by github-actions[bot] over 4 years ago

6.4.7

Fixed

  • Fix the wrong default setting for C++ executable file path.

Added

  • Now you can use ${tempdir} as an alternative of ${tmpdir} in C++ executable file path setting and Java class file path setting.
cpeditor - CP Editor 6.5.1

Published by github-actions[bot] over 4 years ago

6.5.1 (Beta)

Added

  • Now you can change the font of the message logger. (#331 and #334)
  • Now besides the name of a setting, you can also search for the desciption, tool tip and help information of a setting in the preferences window. (#337)
  • Now you can use Alt to choose the menu in the main window. (#344)
  • Now it's optional to save the file on compilation and execution or not.
  • Now you can choose the path of the executable file for C++ and the path of the parent directory of the class file for Java. (#271)
  • Now you can get the git commit hash when executing cpeditor --version in the terminal.
  • Now the application catches SIGINT, SIGTERM and SIGHUP on Linux/macOS and catches CTRL_C_EVENT, CTRL_BREAK_EVENT and CTRL_CLOSE_EVENT on Windows, it be will gracefully closed when receiving these signals. (#178 and #268) Warning: It's reported that on some environments it doesn't always work.
  • Now you can restore the problem URL when opening a file previously with a problem URL, and/or open the old file when parsing an old problem URL. (#199)
  • Now the update checker shows changelogs and provides a button to cancel the update operation and a button to directly download binaries. (#361)
  • Now you can set a initial position for the code template. (#352)
  • Use tab to jump out of a parenthesis. (#256)
  • Parentheses settings for each parenthesis in each language. (#206)
  • A button to clear the messages.
  • Export and import settings. (#336)

Fixed

  • Fixed some unexpected file saving. (#353)
  • Fix a bug which makes the application crash when quiting in some scenarios. (fa5259b)
  • Fix a bug which makes the saved test cases are not loaded correctly.
  • Fix the screen is not scrolled to show the cursor in some situations.

Changed

  • Open an empty untitled tab when the open file length limit is exceeded. (#353)
  • When parsing a problem while it is already parsed and opened in a tab, the new test cases will override the old test cases.
  • If you click "Cancel" when saving all files, the action will be aborted instead of saving the next file.
cpeditor - CP Editor 6.4.6

Published by github-actions[bot] over 4 years ago

6.4.6

It's the same as 6.4.5, but it's considered stable now.

cpeditor - CP Editor 6.4.5

Published by github-actions[bot] over 4 years ago

6.4.5 (Beta)

Fixed

  • Fix can't save non-exist but titled file.
cpeditor - CP Editor 6.4.4

Published by github-actions[bot] over 4 years ago

6.4.4 (Beta)

Fxied

  • Fix a bug which makes the saved test cases are not loaded correctly.
cpeditor - CP Editor 6.4.3

Published by github-actions[bot] over 4 years ago

6.4.3 (Beta)

Fixed

  • Fix a bug which makes the application crash when quiting in some scenarios. (fa5259b)
cpeditor - CP Editor 6.3.4

Published by github-actions[bot] over 4 years ago

6.3.4

Fixed

  • Fix a bug which makes the application crash when quiting in some scenarios. (fa5259b)
cpeditor - CP Editor 6.4.2

Published by github-actions[bot] over 4 years ago

6.4.2 (Beta)

Added

  • Now it's optional to save the file on compilation and execution or not.
  • Now you can choose the path of the executable file for C++ and the path of the parent directory of the class file for Java. (#271)

Fixed

  • Fixed some unexpected file saving. (#353)

Changed

  • Open an empty untitled tab when the open file length limit is exceeded. (#353)
cpeditor - CP Editor 6.4.1

Published by github-actions[bot] over 4 years ago

6.4.1 (Beta)

Linting with Language Server

Now error linting is available with Language Server. Linting can be helpful when you want to find errors in your code and fix them quickly. You need to install a Language Server program to enable linting. You can set delay for linting, the path to the Languae Server program and its arguments in the Preferences window. You can set different settings for different languages. Please check the manual for more information on how to set this up.

Added

  • Add Ctrl+Shift+D for duplicating the current line or the selection. (#237)
  • Add tooltips for many widgets. (#211)
  • Now you can add pairs of test cases from files. (#204 and #246)
  • Now you can choose where to save the test case files in Preferences->File Path->Testcases. (#176)
  • Now when saving the source file, if the parent directory of the file does not exist, it will be automatically created.
  • Now you can set different default file paths for different problem URLs. (#200)
  • Now you can set font for test cases.
  • Now you can enable extra bottom margin with the height of a page. (#230)

Changed

  • Word selection in editor is highlighted with change of background color instead of an underline. Underlined text now represent linting of type "Hint".
  • The shortcut of Detached Run is changed from Ctrl+Shift+D to Ctrl+Alt+D. (#237)
  • Now after deleting the current line/selected lines, the cursor will keep its place if possible, instead of moving to the start of the previous line.

Fixed

  • Fix switching to split view mode instead of editor view mode when clicking "Run", "Compile" or "Compile and Run".
  • Fix preferences window loses focus after picking the font. (#260)
  • Fix Ctrl+Enter and Ctrl+Shift+Enter in the code editor.
  • Fix lost of code snippets and hot exit status on some platforms.
  • Fix the unexpected behaviour of Shift+Enter.
cpeditor - CP Editor 6.3.3

Published by github-actions[bot] over 4 years ago

6.3.3

This version is the same as 6.3.2, but it's considered stable now.

cpeditor - CP Editor 6.3.2

Published by github-actions[bot] over 4 years ago

6.3.2 (Beta)

Fixed

  • Fix switching to split view mode instead of editor view mode when clicking "Run", "Compile" or "Compile and Run".
  • Fix preferences window loses focus after picking the font. (#260)
  • Fix Ctrl+Enter and Ctrl+Shift+Enter in the code editor.
  • Fix lost of code snippets and hot exit status on some platforms.
cpeditor - CP Editor 6.2.5

Published by github-actions[bot] over 4 years ago

6.2.5

Fixed

  • Fix switching to split view mode instead of editor view mode when clicking "Run", "Compile" or "Compile and Run".
cpeditor - CP Editor 6.3.1

Published by github-actions[bot] over 4 years ago

6.3.1 (Beta)

The new Preferences Window!

The old preferences window is not very extendable, which has been a big obstacle to add new features for a long time. In this version, we bring a brand new preferences window for you.

In the new preferences window, the settings are organized well in a tree structure. Now you can save the settings for each page separately, and get warned when you try to leave a page without saving the changes. You can discard the changes on the current page, or restore the settings on the current page to the default. What's more, you can search for a setting and go to the corresponding page easily.

If you want to backup your settings file or do something with it, we have to tell you that it has been moved from the home directory to the config directory (on Linux, from $HOME to $HOME/.config/CP Editor). But don't worry, we have been working on keeping backward compatibility, so you won't lose your settings when switching from the old version to the new version.

For the developers, now it's extremely easy to add a new setting. So we'll add more settings with some exciting features in the next version.

Added

  • Show stderr of the checker when the verdict is AC. (#207)
  • System-wide Dark theme for Windows 10. (#215)
  • Make it able to use makepkg to install on Linux.

Changed

  • Show the manual of the current version instead of the latest version.
  • Set window icon in application level instead of window level, this affects the update check window.
  • Remove the hard-to-use completer for Python.
  • The "Enable hotkeys" option is removed, because it's useless —— you can simply either not use the hotkeys or not set the hotkeys (i.e. clear the hotkeys).

Fixed

  • Fix the wrong behavior of toggle comments, indent, delete line, etc. when wrap text is on. (#213)
  • Add auto-close for single and double quotes. (#226)
  • Don't require any undo for auto-close parentheses.
  • Fix the low resolution issue on macOS. (#225)
  • Fix Application failed to get installed on macOS 10.14 (#193)
  • Show the manual of the current version instead of the latest version.
  • Before this fix, the language is not set to C++ when saving a file with one of the C++ prefixes.
  • Fix typos in the names of the editor themes.
cpeditor - CP Editor 6.2.4

Published by github-actions[bot] over 4 years ago

6.2.4

It's the same as 6.2.3 but it's considered stable now.

cpeditor - CP Editor 6.2.3

Published by github-actions[bot] over 4 years ago

6.2.3 (Beta)

Added

  • Make it able to use makepkg to install on Linux.

Fixed

  • Add auto-close for single and double quotes. (#226)
  • Don't require any undo for auto-close parentheses.
  • Fix the low resolution issue on macOS. (#225)