Menu

#34 Allow newline in rulez dialog

1.4.6
closed
nobody
None
2017-01-20
2015-11-11
Matze
No

Hello,
i would like to add rulez seperated by newline insteed of space. This works in the WinHTTRACK also. I have attached an patch, which allow this. Because I don't find where the rulez are given to the lunched process, the newline would be replaced by space by OK.
The patch also fix an little bug - when you want to include rule "all links" you need to write dummy-text to the box. The patch fix this.

Thanks for this program. It's great and I believe that it is nearly identical with the known WinHttrack.

1 Attachments

Discussion

  • E.Kalinowski

    E.Kalinowski - 2015-11-12

    Hello!
    Thank you very much! I'll patch this today.
    Best regards from Hanover :)

     
  • E.Kalinowski

    E.Kalinowski - 2015-11-12

    Hi!
    in the actual version 1.4.6 i can't find the line
    (*ivec).value = (((QTextEdit)(ivec).wg)->toPlainText()).replace("\n"," ").simplified();
    in file httraqt/sources/options/OptionsDialog.cpp for example. is it the source code of the actual version?

     
  • Matze

    Matze - 2015-11-13

    Hi,
    I'm so sorry. This was the first time I send an patch. I have swapped the args for diff. I have attached a new patch file, which should be correct.

    Oh Hannover - Grüße aus Osnabrück

    Edit: Changed patch -> now with -uN commandline args

     

    Last edit: Matze 2015-11-13
    • E.Kalinowski

      E.Kalinowski - 2015-11-13

      Hi!
      No problemo. All is the question of experience. :)
      I fix and test it today.
      Vielen Dank und viele Grüße aus Hannover

       
  • E.Kalinowski

    E.Kalinowski - 2017-01-20
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.