After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 172507 - Patch to show a range of layers in an exported file
Patch to show a range of layers in an exported file
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: exports
CVS head
Other Linux
: Normal enhancement
: 0.95
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2005-04-03 14:10 UTC by Simon Kågström
Modified: 2005-10-08 20:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to implement --show-layers-range (9.43 KB, patch)
2005-04-03 14:12 UTC, Simon Kågström
none Details | Review
Reimplemented --show-layers to support both named layers and ranges of numbered layers (6.70 KB, patch)
2005-04-03 18:11 UTC, Simon Kågström
none Details | Review
Fixed handling of non-existant names (6.54 KB, patch)
2005-04-03 18:25 UTC, Simon Kågström
needs-work Details | Review
Updated patch with g_strsplit, dia.dbk and ChangeLog (8.21 KB, patch)
2005-04-06 12:35 UTC, Simon Kågström
committed Details | Review

Description Simon Kågström 2005-04-03 14:10:42 UTC
Distribution/Version: Debian

The patch which implements --show-layers-range=N-M,X,... is attached.
Comment 1 Simon Kågström 2005-04-03 14:12:10 UTC
Created attachment 39632 [details] [review]
Patch to implement --show-layers-range

The patch implements the --show-layers-range command-line option to restrict
the range of layers shown in an exported file.
Comment 2 Simon Kågström 2005-04-03 18:11:45 UTC
Created attachment 39645 [details] [review]
Reimplemented --show-layers to support both named layers and ranges of numbered layers
Comment 3 Simon Kågström 2005-04-03 18:25:58 UTC
Created attachment 39646 [details] [review]
Fixed handling of non-existant names

The other two attachments are obsolete
Comment 4 Hans Breuer 2005-04-03 20:05:03 UTC
Discussed here:
http://mail.gnome.org/archives/dia-list/2005-April/msg00017.html
Comment 5 Lars Clausen 2005-04-04 21:07:38 UTC
Use of g_strsplit would make the parsing both simpler and more robust. 
Otherwise it looks just like the thing we want.
Comment 6 Simon Kågström 2005-04-06 12:35:17 UTC
Created attachment 39745 [details] [review]
Updated patch with g_strsplit, dia.dbk and ChangeLog
Comment 7 Lars Clausen 2005-04-06 16:43:39 UTC
Thank you for your help, it is now applied to CVS.
Comment 8 Hans Breuer 2005-10-08 20:34:19 UTC
Adjusting target to help finding 0.94 dups already fixed