Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features: undo and redo historial #255

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ddwek
Copy link

@ddwek ddwek commented Jan 12, 2023

Hello everyone! A long long time ago I opened an issue about lacking features features such as undo and redo historial to be introduced on this software, but I could not make it real so far.

In fact, here is the solution that all of you expected from me. I'm sorry for having took too long and thank you for your patience.

Back to the point of this commit, you can now make changes like part creation on canvas, parts moved, rotated and deleted ones, as well as you can do the same operations with wires. Operation with textboxes are not currently supported. Everything before mentioned has undo and redo support.

Last but not least, you can watch the .ogv video which will show you the way things work alternating such commands from the toolbar.

Nothing else by now, so... best regards, folks!!!

features such as undo and redo historial to be introduced on this
software, but I could not make it real so far.

In fact, here is the solution that all of you expected from me.
I'm sorry for having took too long and thank you for your patience.

Back to the point of this commit, you can now make changes like
part creation on canvas, parts moved, rotated and deleted ones, as
well as you can do the same operations with wires. Operation with
textboxes are not currently supported. Everything before mentioned
has undo and redo support.

Last but not least, you can watch the .ogv video which will show
you the way things work alternating such commands from the toolbar.

Nothing else by now, so... best regards, folks!!!
@@ -231,7 +231,7 @@ static gboolean gnucap_generate_netlist (OreganoEngine *engine, const gchar *fil
for (iter = output.models; iter; iter = iter->next) {
gchar *model;
model = (gchar *)iter->data;
g_fprintf (file, ".include %s/%s.model\n", OREGANO_MODELDIR, model);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the OREGANO_MODEL dir guaranteed to have a trailiing backslash?

@ddwek
Copy link
Author

ddwek commented Jan 13, 2023 via email

if (g_signal_handler_is_connected (G_OBJECT (item_data), item_data->created_handler_id))
g_signal_emit_by_name (G_OBJECT (item_data), "created", pos);
if (signals & EMIT_SIGNAL_MOVED)
if (g_signal_handler_is_connected (G_OBJECT (item_data), item_data->moved_handler_id))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to check if the signal handler is connected?

@ddwek
Copy link
Author

ddwek commented Jan 13, 2023 via email

Copy link
Owner

@drahnr drahnr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! It'll take a few days until I enable CI again

@ddwek
Copy link
Author

ddwek commented Jan 17, 2023 via email

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