Old 01-10-2017, 07:18 PM   #1
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 3,819
Default ChangeLog to BBCode Generator

Hi !

When copy pasting changelog from landoleet on pre-release thread, you can simply copy paste and optionally format using the forum post editor, or use a nice parser like http://stash.reaper.fm/v/28806/Reape...%20Release.zip.

Thing is that this parser is a Windows executable, so its usage is a bit limited.

That's why I created a web-based changelog to bbcode generator. It is more handy to tweak, and it is cross-platform.

here it is the link:
Cockos REAPER ChangeLog to BBCode

You just have to copy paste a changelog section into it and the magic happen, from this:


v5.27 - October 20 2016
+ Automation: fix take envelope paste with take playrates [t=182549]
+ Comps: clear all comp/group names when creating new project [t=182451]
+ Comps: improve handling of comp names with undo and cut/paste [t=182451]
+ Comps: respect grouping when loading comp or moving active comp to top lane [t=182451]
+ Comps: preserve comps when splitting items [t=182451]
+ Comps: various bugfixes
+ FX: add menu item to copy FX with automation, bound to ctrl+alt+C
+ FX: support drag and drop copy with automation via shift+ctrl+drag FX
+ FX: add Copy/Paste to mixer FX context menu
+ Groups: improve handling of item group names with undo and cut/paste [t=182451]
+ macOS: avoid attempted mkdir /Volumes/... when path does not exist
+ MIDI: reduce Windows MIDI hardware output jitter
+ MIDI: import type 1 MIDI files with channel data in the tempo track [t=182638]
+ MusicXML import: improve support for MIDI channels [t=182653]
+ MusicXML import: handle multitrack/multichannel import similarly to MIDI import [p=1743327]
+ Notation: support PDF export
+ Notation: add various minor improvements in appearance
+ Peaks: fix preview display with channel conversion while building peaks [t=182428]
+ Project bay: improve handling of empty takes
+ Ripple editing: fix potential hang when using locked items and "locked items interrupt edits" [t=182341]
+ Ripple editing: improve locked item behavior when inserting/removing items
+ Take lanes: include selected+grouped takes when switching takes via lane [t=182528]
+ Undo: rewrite undo history when renaming file via media item properties [t=182501]
+ Undo: process any latent FX notifications when calling Undo_EndBlock() via API
+ VST: fix VST3 UI issues with various plug-ins
+ Windows: improve handling of certain malformed paths

to this :
v5.27 - October 20 2016:
  • + Automation: fix take envelope paste with take playrates [t=182549]
  • + Comps: clear all comp/group names when creating new project [t=182451]
  • + Comps: improve handling of comp names with undo and cut/paste [t=182451]
  • + Comps: respect grouping when loading comp or moving active comp to top lane [t=182451]
  • + Comps: preserve comps when splitting items [t=182451]
  • + Comps: various bugfixes
  • + FX: add menu item to copy FX with automation, bound to ctrl+alt+C
  • + FX: support drag and drop copy with automation via shift+ctrl+drag FX
  • + FX: add Copy/Paste to mixer FX context menu
  • + Groups: improve handling of item group names with undo and cut/paste [t=182451]
  • + macOS: avoid attempted mkdir /Volumes/... when path does not exist
  • + MIDI: reduce Windows MIDI hardware output jitter
  • + MIDI: import type 1 MIDI files with channel data in the tempo track [t=182638]
  • + MusicXML import: improve support for MIDI channels [t=182653]
  • + MusicXML import: handle multitrack/multichannel import similarly to MIDI import [p=1743327]
  • + Notation: support PDF export
  • + Notation: add various minor improvements in appearance
  • + Peaks: fix preview display with channel conversion while building peaks [t=182428]
  • + Project bay: improve handling of empty takes
  • + Ripple editing: fix potential hang when using locked items and "locked items interrupt edits" [t=182341]
  • + Ripple editing: improve locked item behavior when inserting/removing items
  • + Take lanes: include selected+grouped takes when switching takes via lane [t=182528]
  • + Undo: rewrite undo history when renaming file via media item properties [t=182501]
  • + Undo: process any latent FX notifications when calling Undo_EndBlock() via API
  • + VST: fix VST3 UI issues with various plug-ins
  • + Windows: improve handling of certain malformed paths
Changelog - Pre-Releases - Generated by X-Raym's REAPER ChangeLog to BBCode

Hope you will like it :P

Cheers !

Last edited by X-Raym; 01-11-2017 at 03:38 PM.
X-Raym is offline   Reply With Quote
Old 01-11-2017, 01:47 AM   #2
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: brighton, uk
Posts: 12,192
Default

Ooh. Very nice!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
musicbynumbers is offline   Reply With Quote
Old 01-11-2017, 02:15 PM   #3
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 3,819
Default

Thanks
I made few updates on the code today, the links were wrong lol, now it should work as expected.

I hope users will take advantage of it !
X-Raym is offline   Reply With Quote
Old 01-11-2017, 02:38 PM   #4
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 8,979
Default

This is great!
schwa is offline   Reply With Quote
Old 01-11-2017, 02:59 PM   #5
EvilDragon
Human being with feelings
 
EvilDragon's Avatar
 
Join Date: Jun 2009
Location: Croatia
Posts: 17,915
Default

Tip to users who want to use this: use a different color for each different section (i.e. MIDI, automation, etc.).
EvilDragon is online now   Reply With Quote
Old 01-11-2017, 03:57 PM   #6
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 3,819
Default

@schwa
Thanks for your appreciation

@EvilDragon
The colorization is made automatically at bbcode generation,
Actual color rule color rule is "green" => new feature (+), "blue" => modified feature (#).

but sure, a rule can be created for each section.
  1. The first step would be to parse the whole changelog and get each individuals sections,
  2. then for each sections create a new rule to add custom color.
But maybe this is a bit overkill for now :P

@all
I create a bit.ly link, it may be easier to remember :

X-Raym is offline   Reply With Quote
Old 01-11-2017, 04:20 PM   #7
WyattRice
Human being with feelings
 
WyattRice's Avatar
 
Join Date: Sep 2009
Location: Virginia
Posts: 1,742
Default

This is cool.
Thanks!
WyattRice is offline   Reply With Quote
Old 01-11-2017, 04:27 PM   #8
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: The vast, frozen wasteland of western Canadia.
Posts: 3,639
Default

Make it use a larger font depending on how old the associated FR thread is.

"FX rack view" or "Updated Reaplug GUI" would be like 1000pt font.

(Not seriously)
Lokasenna is offline   Reply With Quote
Old 01-11-2017, 05:23 PM   #9
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 6,649
Default

Cool, thanks X-Raym.

One small thing I've found (maybe it's me ?)

It's seems to only generate the color tags when the lines are indented, is this correct. e.g.

nofish is offline   Reply With Quote
Old 01-11-2017, 05:34 PM   #10
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 3,819
Default

@nofish
Indentition is important forthe parsing process indeed

But if you only copy paste from the changelog, indentation should be preserved.

--
I just saw that there is a type of entry that was not present in my changelog of reference : deleted item.
Code:
  - Sinc peaks edge case fixes   - Removed articulation map features (will return in 5.33pre1)
These are not prefixes by a section like the other, I need to find the right regex.

EDIT : it's done.

@Lokasenna
This may impact readability just a bit :P

Last edited by X-Raym; 01-11-2017 at 05:42 PM.
X-Raym is offline   Reply With Quote
Old 01-11-2017, 05:59 PM   #11
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 6,649
Default

Ah yes, in the LOL changelog it's always indented it seems.
Missed that because I was looking at pasted changelogs here.
So all is well, thanks.
nofish is offline   Reply With Quote
Old 01-11-2017, 06:30 PM   #12
EpicSounds
Human being with feelings
 
EpicSounds's Avatar
 
Join Date: Jul 2009
Posts: 3,716
Default

I guess the only problem I see with the output of this is the bullet point and + . Looks weird to me to see both.
__________________
REAPER Video Tutorials, Tips & Tricks and more at The REAPER Blog
EpicSounds is offline   Reply With Quote
Old 01-11-2017, 06:59 PM   #13
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 3,819
Default

@EpicSounds
Fortunately, it is not a huge "problem" hehe :P
In fact it is for the semantic : This is list elements, so I create a list, so it can be render as HTML list. Better for SEO, Accessibility etc. The following character is just the type of entry. Having just the character would mean having no code semantic, like just a succession of break line in a single big paragraph. Ugly.

I personnaly like big bullet points. And, list are indented, which is cool. :P
X-Raym is offline   Reply With Quote
Old 01-11-2017, 07:36 PM   #14
Mercado_Negro
Moderator
 
Mercado_Negro's Avatar
 
Join Date: Aug 2007
Location: Caracas, Venezuela
Posts: 8,028
Default

This is really cool. Thanks!
__________________
Pressure is what turns coal into diamonds - Michael a.k.a. Runaway
Mercado_Negro is offline   Reply With Quote
Old 01-12-2017, 09:20 AM   #15
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Posts: 41
Default

Nice job!

Be aware you have a bug when there are two ID's on the same line, for example try converting 5.26,

v5.26 - October 5 2016
+ VST: fix various VST3 UI bugs [t=181801] [t=182045]

Not a big deal but agree with EpicSounds, the bullet points look sort of odd.

Last edited by Edgemeal; 01-12-2017 at 09:27 AM.
Edgemeal is offline   Reply With Quote
Old 01-12-2017, 10:17 AM   #16
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 3,819
Default

@Edgemeal
Fixed ! :P
X-Raym is offline   Reply With Quote
Old 01-12-2017, 10:57 AM   #17
Mordi
Human being with feelings
 
Mordi's Avatar
 
Join Date: May 2014
Location: Norway
Posts: 277
Default

Nice job! What if you made it so that it fetches the latest update from http://landoleet.org/whatsnew5.txt ?

I guess whoever is posting the update would save a couple of picoseconds that way.

Quote:
Not a big deal but agree with EpicSounds, the bullet points look sort of odd.
I think the pluses turn into # on the rows that denote a bugfix.
Mordi is offline   Reply With Quote
Old 01-12-2017, 11:16 AM   #18
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 3,819
Default

@Mordi
I tried but the domain block the request. :/
X-Raym is offline   Reply With Quote
Old 01-13-2017, 11:18 AM   #19
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Posts: 41
Default

Quote:
Originally Posted by X-Raym View Post
@Edgemeal
Fixed ! :P
Great work!

BTW, I also updated the Windows app.
Sample and download here.

Last edited by Edgemeal; 02-02-2017 at 02:59 PM. Reason: Remove link to old version
Edgemeal is offline   Reply With Quote
Old 01-13-2017, 11:23 AM   #20
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 3,819
Default

@Edgemeal
I have to admit that having different color for each section is pretty good :P

But I'll keep it to "update status" for now.

Now, users have to actually use these tools hehe !
X-Raym is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:09 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.