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
c8fc21db
Commit
c8fc21db
authored
Feb 16, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: remove debug
(cherry picked from commit b041630bf508e5ea800e975e6fdbe35a6b953545)
parent
3eba0ea3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+0
-2
modules/gui/macosx_dialog_provider/dialogProvider.m
modules/gui/macosx_dialog_provider/dialogProvider.m
+0
-4
No files found.
modules/gui/macosx/playlist.m
View file @
c8fc21db
...
@@ -1542,7 +1542,6 @@
...
@@ -1542,7 +1542,6 @@
-
(
BOOL
)
outlineView
:(
NSOutlineView
*
)
outlineView
acceptDrop
:(
id
<
NSDraggingInfo
>
)
info
item
:(
id
)
item
childIndex
:(
NSInteger
)
index
-
(
BOOL
)
outlineView
:(
NSOutlineView
*
)
outlineView
acceptDrop
:(
id
<
NSDraggingInfo
>
)
info
item
:(
id
)
item
childIndex
:(
NSInteger
)
index
{
{
NSLog
(
@"- (BOOL)outlineView:(NSOutlineView *)outlineView acceptDrop:(id <NSDraggingInfo>)info item:(id)item childIndex:(NSInteger)index"
);
playlist_t
*
p_playlist
=
pl_Get
(
VLCIntf
);
playlist_t
*
p_playlist
=
pl_Get
(
VLCIntf
);
NSPasteboard
*
o_pasteboard
=
[
info
draggingPasteboard
];
NSPasteboard
*
o_pasteboard
=
[
info
draggingPasteboard
];
...
@@ -1630,7 +1629,6 @@
...
@@ -1630,7 +1629,6 @@
else
if
(
[[
o_pasteboard
types
]
containsObject
:
NSFilenamesPboardType
]
)
else
if
(
[[
o_pasteboard
types
]
containsObject
:
NSFilenamesPboardType
]
)
{
{
NSLog
(
@"NSFilenamesPboardType"
);
playlist_item_t
*
p_node
=
[
item
pointerValue
];
playlist_item_t
*
p_node
=
[
item
pointerValue
];
NSArray
*
o_values
=
[[
o_pasteboard
propertyListForType
:
NSFilenamesPboardType
]
NSArray
*
o_values
=
[[
o_pasteboard
propertyListForType
:
NSFilenamesPboardType
]
...
...
modules/gui/macosx_dialog_provider/dialogProvider.m
View file @
c8fc21db
...
@@ -463,7 +463,6 @@ bool checkProgressPanel (void *priv)
...
@@ -463,7 +463,6 @@ bool checkProgressPanel (void *priv)
#pragma mark Last.FM support
#pragma mark Last.FM support
-
(
void
)
globalNotificationReceived
:
(
NSNotification
*
)
theNotification
-
(
void
)
globalNotificationReceived
:
(
NSNotification
*
)
theNotification
{
{
NSLog
(
@"globalNotificationReceived"
);
NSDictionary
*
userData
=
[
theNotification
userInfo
];
NSDictionary
*
userData
=
[
theNotification
userInfo
];
BOOL
lastFMEnabled
=
[[
userData
objectForKey
:
@"enabled"
]
intValue
];
BOOL
lastFMEnabled
=
[[
userData
objectForKey
:
@"enabled"
]
intValue
];
NSString
*
lastFMUsername
=
[
userData
objectForKey
:
@"username"
];
NSString
*
lastFMUsername
=
[
userData
objectForKey
:
@"username"
];
...
@@ -491,7 +490,6 @@ bool checkProgressPanel (void *priv)
...
@@ -491,7 +490,6 @@ bool checkProgressPanel (void *priv)
VLCDialogButton
*
button
=
sender
;
VLCDialogButton
*
button
=
sender
;
extension_widget_t
*
widget
=
[
button
widget
];
extension_widget_t
*
widget
=
[
button
widget
];
NSLog
(
@"(triggerClick)"
);
vlc_mutex_lock
(
&
widget
->
p_dialog
->
lock
);
vlc_mutex_lock
(
&
widget
->
p_dialog
->
lock
);
extension_WidgetClicked
(
widget
->
p_dialog
,
widget
);
extension_WidgetClicked
(
widget
->
p_dialog
,
widget
);
vlc_mutex_unlock
(
&
widget
->
p_dialog
->
lock
);
vlc_mutex_unlock
(
&
widget
->
p_dialog
->
lock
);
...
@@ -677,7 +675,6 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget,
...
@@ -677,7 +675,6 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget,
// NSString *string = [NSString stringWithUTF8String:widget->psz_text];
// NSString *string = [NSString stringWithUTF8String:widget->psz_text];
// NSAttributedString *attrString = [[NSAttributedString alloc] initWithHTML:[string dataUsingEncoding:NSISOLatin1StringEncoding] documentAttributes:NULL];
// NSAttributedString *attrString = [[NSAttributedString alloc] initWithHTML:[string dataUsingEncoding:NSISOLatin1StringEncoding] documentAttributes:NULL];
// [[textView textStorage] setAttributedString:[[NSAttributedString alloc] initWithString:@"Hello"]];
// [[textView textStorage] setAttributedString:[[NSAttributedString alloc] initWithString:@"Hello"]];
// NSLog(@"%@", string);
// [textView setNeedsDisplay:YES];
// [textView setNeedsDisplay:YES];
// [textView scrollRangeToVisible:NSMakeRange(0, 0)];
// [textView scrollRangeToVisible:NSMakeRange(0, 0)];
// [attrString release];
// [attrString release];
...
@@ -762,7 +759,6 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget,
...
@@ -762,7 +759,6 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget,
NSImageView
*
imageView
=
(
NSImageView
*
)
control
;
NSImageView
*
imageView
=
(
NSImageView
*
)
control
;
NSString
*
string
=
widget
->
psz_text
?
[
NSString
stringWithUTF8String
:
widget
->
psz_text
]
:
nil
;
NSString
*
string
=
widget
->
psz_text
?
[
NSString
stringWithUTF8String
:
widget
->
psz_text
]
:
nil
;
NSImage
*
image
=
nil
;
NSImage
*
image
=
nil
;
NSLog
(
@"Setting image to %@"
,
string
);
if
(
string
)
if
(
string
)
image
=
[[
NSImage
alloc
]
initWithContentsOfURL
:[
NSURL
fileURLWithPath
:
string
]];
image
=
[[
NSImage
alloc
]
initWithContentsOfURL
:[
NSURL
fileURLWithPath
:
string
]];
[
imageView
setImage
:
image
];
[
imageView
setImage
:
image
];
...
...
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