Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
1125247b
Commit
1125247b
authored
Jan 06, 2016
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Fix playlist column selection
Factor and move code entirely to VLCPlaylist. close #16303
parent
e53fc84b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
122 additions
and
120 deletions
+122
-120
modules/gui/macosx/MainMenu.h
modules/gui/macosx/MainMenu.h
+0
-2
modules/gui/macosx/MainMenu.m
modules/gui/macosx/MainMenu.m
+0
-72
modules/gui/macosx/VLCPlaylist.h
modules/gui/macosx/VLCPlaylist.h
+0
-1
modules/gui/macosx/VLCPlaylist.m
modules/gui/macosx/VLCPlaylist.m
+122
-45
No files found.
modules/gui/macosx/MainMenu.h
View file @
1125247b
...
@@ -226,8 +226,6 @@
...
@@ -226,8 +226,6 @@
-
(
IBAction
)
toggleJumpButtons
:(
id
)
sender
;
-
(
IBAction
)
toggleJumpButtons
:(
id
)
sender
;
-
(
IBAction
)
togglePlaymodeButtons
:(
id
)
sender
;
-
(
IBAction
)
togglePlaymodeButtons
:(
id
)
sender
;
-
(
IBAction
)
toggleSidebar
:(
id
)
sender
;
-
(
IBAction
)
toggleSidebar
:(
id
)
sender
;
-
(
BOOL
)
setPlaylistColumnTableState
:(
NSInteger
)
i_state
forColumn
:(
NSString
*
)
o_column
;
-
(
NSMenu
*
)
setupPlaylistTableColumnsMenu
;
-
(
IBAction
)
play
:(
id
)
sender
;
-
(
IBAction
)
play
:(
id
)
sender
;
-
(
IBAction
)
stop
:(
id
)
sender
;
-
(
IBAction
)
stop
:(
id
)
sender
;
...
...
modules/gui/macosx/MainMenu.m
View file @
1125247b
...
@@ -58,10 +58,6 @@
...
@@ -58,10 +58,6 @@
HelpWindowController
*
_helpWindowController
;
HelpWindowController
*
_helpWindowController
;
AddonsWindowController
*
_addonsController
;
AddonsWindowController
*
_addonsController
;
// information for playlist table columns menu
NSDictionary
*
_translationsForPlaylistTableColumns
;
NSArray
*
_menuOrderOfPlaylistTableColumns
;
NSMenu
*
_playlistTableColumnsContextMenu
;
NSMenu
*
_playlistTableColumnsContextMenu
;
__strong
VLCTimeSelectionPanelController
*
_timeSelectionPanel
;
__strong
VLCTimeSelectionPanelController
*
_timeSelectionPanel
;
...
@@ -96,25 +92,6 @@
...
@@ -96,25 +92,6 @@
[
self
setRateControlsEnabled
:
NO
];
[
self
setRateControlsEnabled
:
NO
];
_translationsForPlaylistTableColumns
=
[[
NSDictionary
alloc
]
initWithObjectsAndKeys
:
_NS
(
"Track Number"
),
TRACKNUM_COLUMN
,
_NS
(
"Title"
),
TITLE_COLUMN
,
_NS
(
"Author"
),
ARTIST_COLUMN
,
_NS
(
"Duration"
),
DURATION_COLUMN
,
_NS
(
"Genre"
),
GENRE_COLUMN
,
_NS
(
"Album"
),
ALBUM_COLUMN
,
_NS
(
"Description"
),
DESCRIPTION_COLUMN
,
_NS
(
"Date"
),
DATE_COLUMN
,
_NS
(
"Language"
),
LANGUAGE_COLUMN
,
_NS
(
"URI"
),
URI_COLUMN
,
_NS
(
"File Size"
),
FILESIZE_COLUMN
,
nil
];
// this array also assigns tags (index) to type of menu item
_menuOrderOfPlaylistTableColumns
=
[[
NSArray
alloc
]
initWithObjects
:
TRACKNUM_COLUMN
,
TITLE_COLUMN
,
ARTIST_COLUMN
,
DURATION_COLUMN
,
GENRE_COLUMN
,
ALBUM_COLUMN
,
DESCRIPTION_COLUMN
,
DATE_COLUMN
,
LANGUAGE_COLUMN
,
URI_COLUMN
,
FILESIZE_COLUMN
,
nil
];
#ifdef HAVE_SPARKLE
#ifdef HAVE_SPARKLE
[
_checkForUpdate
setAction
:
@selector
(
checkForUpdates
:)];
[
_checkForUpdate
setAction
:
@selector
(
checkForUpdates
:)];
[
_checkForUpdate
setTarget
:[
SUUpdater
sharedUpdater
]];
[
_checkForUpdate
setTarget
:[
SUUpdater
sharedUpdater
]];
...
@@ -364,7 +341,6 @@
...
@@ -364,7 +341,6 @@
[
_toggleEffectsButton
setState
:
config_GetInt
(
VLCIntf
,
"macosx-show-effects-button"
)];
[
_toggleEffectsButton
setState
:
config_GetInt
(
VLCIntf
,
"macosx-show-effects-button"
)];
[
_toggleSidebar
setTitle
:
_NS
(
"Show Sidebar"
)];
[
_toggleSidebar
setTitle
:
_NS
(
"Show Sidebar"
)];
[
_toggleSidebar
setState
:
config_GetInt
(
VLCIntf
,
"macosx-show-sidebar"
)];
[
_toggleSidebar
setState
:
config_GetInt
(
VLCIntf
,
"macosx-show-sidebar"
)];
[
self
setupPlaylistTableColumnsForMenu
:
_playlistTableColumnsMenu
];
[
_playlistTableColumns
setTitle
:
_NS
(
"Playlist Table Columns"
)];
[
_playlistTableColumns
setTitle
:
_NS
(
"Playlist Table Columns"
)];
[
_controlsMenu
setTitle
:
_NS
(
"Playback"
)];
[
_controlsMenu
setTitle
:
_NS
(
"Playback"
)];
...
@@ -492,29 +468,6 @@
...
@@ -492,29 +468,6 @@
[
_voutMenusnapshot
setTitle
:
_NS
(
"Snapshot"
)];
[
_voutMenusnapshot
setTitle
:
_NS
(
"Snapshot"
)];
}
}
-
(
NSMenu
*
)
setupPlaylistTableColumnsMenu
{
NSMenu
*
contextMenu
=
[[
NSMenu
alloc
]
init
];
[
self
setupPlaylistTableColumnsForMenu
:
contextMenu
];
return
contextMenu
;
}
-
(
void
)
setupPlaylistTableColumnsForMenu
:(
NSMenu
*
)
menu
{
NSMenuItem
*
menuItem
;
NSUInteger
count
=
[
_menuOrderOfPlaylistTableColumns
count
];
for
(
NSUInteger
i
=
0
;
i
<
count
;
i
++
)
{
NSString
*
title
=
[
_translationsForPlaylistTableColumns
objectForKey
:[
_menuOrderOfPlaylistTableColumns
objectAtIndex
:
i
]];
menuItem
=
[
menu
addItemWithTitle
:
title
action:
@selector
(
togglePlaylistColumnTable
:)
keyEquivalent:
@""
];
/* don't set a valid target for the title column selector, since we want it to be disabled */
if
(
!
[[
_menuOrderOfPlaylistTableColumns
objectAtIndex
:
i
]
isEqualToString
:
TITLE_COLUMN
])
[
menuItem
setTarget
:
self
];
[
menuItem
setTag
:
i
];
}
}
#pragma mark - Termination
#pragma mark - Termination
-
(
void
)
releaseRepresentedObjects
:(
NSMenu
*
)
the_menu
-
(
void
)
releaseRepresentedObjects
:(
NSMenu
*
)
the_menu
...
@@ -711,31 +664,6 @@
...
@@ -711,31 +664,6 @@
[
_toggleSidebar
setState
:
config_GetInt
(
VLCIntf
,
"macosx-show-sidebar"
)];
[
_toggleSidebar
setState
:
config_GetInt
(
VLCIntf
,
"macosx-show-sidebar"
)];
}
}
-
(
void
)
togglePlaylistColumnTable
:(
id
)
sender
{
NSInteger
i_new_state
=
!
[
sender
state
];
NSInteger
i_tag
=
[
sender
tag
];
[[
_playlistTableColumnsMenu
itemWithTag
:
i_tag
]
setState
:
i_new_state
];
[[
_playlistTableColumnsContextMenu
itemWithTag
:
i_tag
]
setState
:
i_new_state
];
NSString
*
column
=
[
_menuOrderOfPlaylistTableColumns
objectAtIndex
:
i_tag
];
[[[
VLCMain
sharedInstance
]
playlist
]
setColumn
:
column
state
:
i_new_state
translationDict
:
_translationsForPlaylistTableColumns
];
}
-
(
BOOL
)
setPlaylistColumnTableState
:(
NSInteger
)
i_state
forColumn
:(
NSString
*
)
column
{
NSUInteger
i_tag
=
[
_menuOrderOfPlaylistTableColumns
indexOfObject
:
column
];
// prevent setting unknown columns
if
(
i_tag
==
NSNotFound
)
return
NO
;
[[
_playlistTableColumnsMenu
itemWithTag
:
i_tag
]
setState
:
i_state
];
[[
_playlistTableColumnsContextMenu
itemWithTag
:
i_tag
]
setState
:
i_state
];
[[[
VLCMain
sharedInstance
]
playlist
]
setColumn
:
column
state
:
i_state
translationDict
:
_translationsForPlaylistTableColumns
];
return
YES
;
}
#pragma mark - Playback
#pragma mark - Playback
-
(
IBAction
)
play
:(
id
)
sender
-
(
IBAction
)
play
:(
id
)
sender
...
...
modules/gui/macosx/VLCPlaylist.h
View file @
1125247b
...
@@ -94,7 +94,6 @@
...
@@ -94,7 +94,6 @@
-
(
void
)
addPlaylistItems
:(
NSArray
*
)
o_array
withParentItemId
:(
int
)
i_plItemId
atPos
:(
int
)
i_position
startPlayback
:(
BOOL
)
b_start
;
-
(
void
)
addPlaylistItems
:(
NSArray
*
)
o_array
withParentItemId
:(
int
)
i_plItemId
atPos
:(
int
)
i_position
startPlayback
:(
BOOL
)
b_start
;
-
(
void
)
setColumn
:
(
NSString
*
)
o_column
state
:
(
NSInteger
)
i_state
translationDict
:(
NSDictionary
*
)
o_dict
;
-
(
void
)
continuePlaybackWhereYouLeftOff
:(
input_thread_t
*
)
p_input_thread
;
-
(
void
)
continuePlaybackWhereYouLeftOff
:(
input_thread_t
*
)
p_input_thread
;
-
(
void
)
storePlaybackPositionForItem
:(
input_thread_t
*
)
p_input_thread
;
-
(
void
)
storePlaybackPositionForItem
:(
input_thread_t
*
)
p_input_thread
;
...
...
modules/gui/macosx/VLCPlaylist.m
View file @
1125247b
...
@@ -76,6 +76,11 @@
...
@@ -76,6 +76,11 @@
BOOL
b_playlistmenu_nib_loaded
;
BOOL
b_playlistmenu_nib_loaded
;
PLModel
*
_model
;
PLModel
*
_model
;
// information for playlist table columns menu
NSDictionary
*
_translationsForPlaylistTableColumns
;
NSArray
*
_menuOrderOfPlaylistTableColumns
;
}
}
-
(
void
)
saveTableColumns
;
-
(
void
)
saveTableColumns
;
...
@@ -95,6 +100,26 @@
...
@@ -95,6 +100,26 @@
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
applicationWillTerminate
:
)
name
:
NSApplicationWillTerminateNotification
object
:
nil
];
[[
NSNotificationCenter
defaultCenter
]
addObserver
:
self
selector
:
@selector
(
applicationWillTerminate
:
)
name
:
NSApplicationWillTerminateNotification
object
:
nil
];
_translationsForPlaylistTableColumns
=
[[
NSDictionary
alloc
]
initWithObjectsAndKeys
:
_NS
(
"Track Number"
),
TRACKNUM_COLUMN
,
_NS
(
"Title"
),
TITLE_COLUMN
,
_NS
(
"Author"
),
ARTIST_COLUMN
,
_NS
(
"Duration"
),
DURATION_COLUMN
,
_NS
(
"Genre"
),
GENRE_COLUMN
,
_NS
(
"Album"
),
ALBUM_COLUMN
,
_NS
(
"Description"
),
DESCRIPTION_COLUMN
,
_NS
(
"Date"
),
DATE_COLUMN
,
_NS
(
"Language"
),
LANGUAGE_COLUMN
,
_NS
(
"URI"
),
URI_COLUMN
,
_NS
(
"File Size"
),
FILESIZE_COLUMN
,
nil
];
// this array also assigns tags (index) to type of menu item
_menuOrderOfPlaylistTableColumns
=
[[
NSArray
alloc
]
initWithObjects
:
TRACKNUM_COLUMN
,
TITLE_COLUMN
,
ARTIST_COLUMN
,
DURATION_COLUMN
,
GENRE_COLUMN
,
ALBUM_COLUMN
,
DESCRIPTION_COLUMN
,
DATE_COLUMN
,
LANGUAGE_COLUMN
,
URI_COLUMN
,
FILESIZE_COLUMN
,
nil
];
}
}
return
self
;
return
self
;
}
}
...
@@ -170,8 +195,12 @@
...
@@ -170,8 +195,12 @@
{
{
VLCMainMenu
*
mainMenu
=
[[
VLCMain
sharedInstance
]
mainMenu
];
VLCMainMenu
*
mainMenu
=
[[
VLCMain
sharedInstance
]
mainMenu
];
_playlistHeaderView
=
playlistHeaderView
;
_playlistHeaderView
=
playlistHeaderView
;
NSMenu
*
contextMenu
=
[
mainMenu
setupPlaylistTableColumnsMenu
];
// Setup playlist table column selection for both context and main menu
NSMenu
*
contextMenu
=
[[
NSMenu
alloc
]
init
];
[
self
setupPlaylistTableColumnsForMenu
:
contextMenu
];
[
_playlistHeaderView
setMenu
:
contextMenu
];
[
_playlistHeaderView
setMenu
:
contextMenu
];
[
self
setupPlaylistTableColumnsForMenu
:[[[
VLCMain
sharedInstance
]
mainMenu
]
playlistTableColumnsMenu
]];
NSArray
*
columnArray
=
[[
NSUserDefaults
standardUserDefaults
]
arrayForKey
:
@"PlaylistColumnSelection"
];
NSArray
*
columnArray
=
[[
NSUserDefaults
standardUserDefaults
]
arrayForKey
:
@"PlaylistColumnSelection"
];
NSUInteger
columnCount
=
[
columnArray
count
];
NSUInteger
columnCount
=
[
columnArray
count
];
...
@@ -182,7 +211,7 @@
...
@@ -182,7 +211,7 @@
if
([
column
isEqualToString
:
@"status"
])
if
([
column
isEqualToString
:
@"status"
])
continue
;
continue
;
if
(
!
[
mainMenu
setPlaylistColumnTableState
:
NSOnState
forColumn
:
column
])
if
(
!
[
self
setPlaylistColumnTableState
:
NSOnState
forColumn
:
column
])
continue
;
continue
;
[[
_outlineView
tableColumnWithIdentifier
:
column
]
setWidth
:
[
columnArray
[
i
][
1
]
floatValue
]];
[[
_outlineView
tableColumnWithIdentifier
:
column
]
setWidth
:
[
columnArray
[
i
][
1
]
floatValue
]];
...
@@ -403,6 +432,60 @@
...
@@ -403,6 +432,60 @@
// [self playlistUpdated];
// [self playlistUpdated];
}
}
// Actions for playlist column selections
-
(
void
)
togglePlaylistColumnTable
:(
id
)
sender
{
NSInteger
i_new_state
=
!
[
sender
state
];
NSInteger
i_tag
=
[
sender
tag
];
NSString
*
column
=
[
_menuOrderOfPlaylistTableColumns
objectAtIndex
:
i_tag
];
[
self
setPlaylistColumnTableState
:
i_new_state
forColumn
:
column
];
}
-
(
BOOL
)
setPlaylistColumnTableState
:(
NSInteger
)
i_state
forColumn
:(
NSString
*
)
columnId
{
NSUInteger
i_tag
=
[
_menuOrderOfPlaylistTableColumns
indexOfObject
:
columnId
];
// prevent setting unknown columns
if
(
i_tag
==
NSNotFound
)
return
NO
;
// update state of menu items
[[[
_playlistHeaderView
menu
]
itemWithTag
:
i_tag
]
setState
:
i_state
];
[[[[[
VLCMain
sharedInstance
]
mainMenu
]
playlistTableColumnsMenu
]
itemWithTag
:
i_tag
]
setState
:
i_state
];
// Change outline view
if
(
i_state
==
NSOnState
)
{
NSString
*
title
=
[
_translationsForPlaylistTableColumns
objectForKey
:
columnId
];
if
(
!
title
)
return
NO
;
NSTableColumn
*
tableColumn
=
[[
NSTableColumn
alloc
]
initWithIdentifier
:
columnId
];
[
tableColumn
setEditable
:
NO
];
[[
tableColumn
dataCell
]
setFont
:[
NSFont
controlContentFontOfSize
:
11
.]];
[[
tableColumn
headerCell
]
setStringValue
:[
_translationsForPlaylistTableColumns
objectForKey
:
columnId
]];
if
([
columnId
isEqualToString
:
TRACKNUM_COLUMN
])
{
[
tableColumn
setWidth
:
20
.];
[
tableColumn
setResizingMask
:
NSTableColumnNoResizing
];
[[
tableColumn
headerCell
]
setStringValue
:
@"#"
];
}
[
_outlineView
addTableColumn
:
tableColumn
];
[
_outlineView
reloadData
];
[
_outlineView
setNeedsDisplay
:
YES
];
}
else
[
_outlineView
removeTableColumn
:
[
_outlineView
tableColumnWithIdentifier
:
columnId
]];
[
_outlineView
setOutlineTableColumn
:
[
_outlineView
tableColumnWithIdentifier
:
TITLE_COLUMN
]];
return
YES
;
}
-
(
BOOL
)
validateMenuItem
:(
NSMenuItem
*
)
item
-
(
BOOL
)
validateMenuItem
:(
NSMenuItem
*
)
item
{
{
if
([
item
action
]
==
@selector
(
revealItemInFinder
:
))
{
if
([
item
action
]
==
@selector
(
revealItemInFinder
:
))
{
...
@@ -425,6 +508,43 @@
...
@@ -425,6 +508,43 @@
return
YES
;
return
YES
;
}
}
#pragma mark -
#pragma mark Helper for playlist table columns
-
(
void
)
setupPlaylistTableColumnsForMenu
:(
NSMenu
*
)
menu
{
NSMenuItem
*
menuItem
;
NSUInteger
count
=
[
_menuOrderOfPlaylistTableColumns
count
];
for
(
NSUInteger
i
=
0
;
i
<
count
;
i
++
)
{
NSString
*
columnId
=
[
_menuOrderOfPlaylistTableColumns
objectAtIndex
:
i
];
NSString
*
title
=
[
_translationsForPlaylistTableColumns
objectForKey
:
columnId
];
menuItem
=
[
menu
addItemWithTitle
:
title
action:
@selector
(
togglePlaylistColumnTable
:)
keyEquivalent:
@""
];
[
menuItem
setTarget
:
self
];
[
menuItem
setTag
:
i
];
/* don't set a valid action for the title column selector, since we want it to be disabled */
if
([
columnId
isEqualToString
:
TITLE_COLUMN
])
[
menuItem
setAction
:
nil
];
}
}
-
(
void
)
saveTableColumns
{
NSMutableArray
*
arrayToSave
=
[[
NSMutableArray
alloc
]
init
];
NSArray
*
columns
=
[[
NSArray
alloc
]
initWithArray
:[
_outlineView
tableColumns
]];
NSUInteger
columnCount
=
[
columns
count
];
NSTableColumn
*
currentColumn
;
for
(
NSUInteger
i
=
0
;
i
<
columnCount
;
i
++
)
{
currentColumn
=
columns
[
i
];
[
arrayToSave
addObject
:[
NSArray
arrayWithObjects
:[
currentColumn
identifier
],
[
NSNumber
numberWithFloat
:[
currentColumn
width
]],
nil
]];
}
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
arrayToSave
forKey
:
@"PlaylistColumnSelection"
];
[[
NSUserDefaults
standardUserDefaults
]
synchronize
];
}
#pragma mark -
#pragma mark -
#pragma mark Item helpers
#pragma mark Item helpers
...
@@ -705,49 +825,6 @@
...
@@ -705,49 +825,6 @@
return
[[
self
model
]
draggedItems
];
return
[[
self
model
]
draggedItems
];
}
}
-
(
void
)
setColumn
:(
NSString
*
)
columnIdentifier
state
:(
NSInteger
)
i_state
translationDict
:(
NSDictionary
*
)
translationDict
{
if
(
i_state
==
NSOnState
)
{
NSString
*
title
=
[
translationDict
objectForKey
:
columnIdentifier
];
if
(
!
title
)
return
;
NSTableColumn
*
tableColumn
=
[[
NSTableColumn
alloc
]
initWithIdentifier
:
columnIdentifier
];
[
tableColumn
setEditable
:
NO
];
[[
tableColumn
dataCell
]
setFont
:[
NSFont
controlContentFontOfSize
:
11
.]];
[[
tableColumn
headerCell
]
setStringValue
:[
translationDict
objectForKey
:
columnIdentifier
]];
if
([
columnIdentifier
isEqualToString
:
TRACKNUM_COLUMN
])
{
[
tableColumn
setWidth
:
20
.];
[
tableColumn
setResizingMask
:
NSTableColumnNoResizing
];
[[
tableColumn
headerCell
]
setStringValue
:
@"#"
];
}
[
_outlineView
addTableColumn
:
tableColumn
];
[
_outlineView
reloadData
];
[
_outlineView
setNeedsDisplay
:
YES
];
}
else
[
_outlineView
removeTableColumn
:
[
_outlineView
tableColumnWithIdentifier
:
columnIdentifier
]];
[
_outlineView
setOutlineTableColumn
:
[
_outlineView
tableColumnWithIdentifier
:
TITLE_COLUMN
]];
}
-
(
void
)
saveTableColumns
{
NSMutableArray
*
arrayToSave
=
[[
NSMutableArray
alloc
]
init
];
NSArray
*
columns
=
[[
NSArray
alloc
]
initWithArray
:[
_outlineView
tableColumns
]];
NSUInteger
columnCount
=
[
columns
count
];
NSTableColumn
*
currentColumn
;
for
(
NSUInteger
i
=
0
;
i
<
columnCount
;
i
++
)
{
currentColumn
=
columns
[
i
];
[
arrayToSave
addObject
:[
NSArray
arrayWithObjects
:[
currentColumn
identifier
],
[
NSNumber
numberWithFloat
:[
currentColumn
width
]],
nil
]];
}
[[
NSUserDefaults
standardUserDefaults
]
setObject
:
arrayToSave
forKey
:
@"PlaylistColumnSelection"
];
[[
NSUserDefaults
standardUserDefaults
]
synchronize
];
}
-
(
BOOL
)
isValidResumeItem
:(
input_item_t
*
)
p_item
-
(
BOOL
)
isValidResumeItem
:(
input_item_t
*
)
p_item
{
{
char
*
psz_url
=
input_item_GetURI
(
p_item
);
char
*
psz_url
=
input_item_GetURI
(
p_item
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment