Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Shiny new process class and cleanup of terminal* #98

Merged
merged 10 commits into from
Dec 5, 2015
Merged

Conversation

eidheim
Copy link
Member

@eidheim eidheim commented Dec 4, 2015

  • Can now do for instance "echo test && echo test" on Windows, as the Process class uses sh if compiled with -DMSYS_PROCESS_USE_SH.
  • Now attempts to kill child processes of a started process on Windows if any, as far as Windows actually manage to do this.

Tested on MSYS2, OS X and Ubuntu 14.

@eidheim
Copy link
Member Author

eidheim commented Dec 4, 2015

Forgot: ready for merge if your tests go through.

@eidheim
Copy link
Member Author

eidheim commented Dec 4, 2015

Tested again on OS X, MSYS, Ubuntu 14. And also Debian testing.


Terminal::Terminal() {
bold_tag=get_buffer()->create_tag();
bold_tag->property_weight()=PANGO_WEIGHT_BOLD;
Copy link
Member

Choose a reason for hiding this comment

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

Why not use enum directly? In terminal->print() we could add PANGO_WEIGHT_BOLD | PANGO_STYLE_ITALIC for instance.

Copy link
Member

Choose a reason for hiding this comment

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

Saw that this is texttag which doesn't have operator|() overloaded so I guess just ignore this.

@eidheim
Copy link
Member Author

eidheim commented Dec 5, 2015

@zalox : If this looks ok, you can merge and pull the changes from cppit/jucipp/master into your branch and #99. In that way we only have to resolve a few conflicts at a time, and it will be easier to find errors in the conflict resolution, if any.

Have tested this PR thoroughly on all platforms.

zalox added a commit that referenced this pull request Dec 5, 2015
Shiny new process class and cleanup of terminal*
@zalox zalox merged commit 08ff48b into cppit:master Dec 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants