]> git.sesse.net Git - vlc/commitdiff
* NEWS: updated some OSX info
authorDerk-Jan Hartman <hartman@videolan.org>
Tue, 20 May 2003 18:53:03 +0000 (18:53 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Tue, 20 May 2003 18:53:03 +0000 (18:53 +0000)
* ALL:
  - added CDDA support
  - added a "Online Documentation" item to the Help menu
  - removed some debugging strings

NEWS
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
modules/gui/macosx/intf.h
modules/gui/macosx/intf.m
modules/gui/macosx/open.m
modules/gui/macosx/prefs.m

diff --git a/NEWS b/NEWS
index 5d42ff62b8105d91f5f91ec224823f1ea371a2a3..0d04fac42fd22b11bf03cc88ac5cb5d069814b1d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-$Id: NEWS,v 1.43 2003/05/20 16:20:33 zorglub Exp $
+$Id: NEWS,v 1.44 2003/05/20 18:53:03 hartman Exp $
 
 Changes between 0.5.3 and 0.6.0:
 ---------------------------------
@@ -44,12 +44,11 @@ UNIX ports:
 
 Mac OS X port:
  * When you add several items to the playlist, they are sorted alphabetically.
- * New about panel
+ * New about panel and revamped preferences panel.
  * Fixed the deinterlace menu.
- * Transparency option for video out.
- * Float on top option for video out.
- * New output dialog for transcode and display while stream capabilities
- * New icons
+ * Float on top and a Transparency option for video out.
+ * New output dialog for transcode and display while stream capabilities.
+ * New icons by Davor Orel.
  * New audio resampler. Should make VLC much faster.
  * Fixed disappearing and crackling sound (PTS is out of range bug)
  * We no longer automatically save the preferences when you quit the application
index 0384fbd47ed42d78b37684f1f375fc8f4e6243ef..e9fbbcbae8aeae3684b9d154bb069c507616c46b 100644 (file)
@@ -53,6 +53,7 @@
                 clearRecentItems = id; 
                 closeError = id; 
                 openCrashLog = id; 
+                openDocumentation = id; 
                 openLicense = id; 
                 openReadMe = id; 
                 openRecentItem = id; 
                 "o_mi_cut" = id; 
                 "o_mi_deinterlace" = id; 
                 "o_mi_device" = id; 
+                "o_mi_documentation" = id; 
                 "o_mi_double_window" = id; 
                 "o_mi_faster" = id; 
                 "o_mi_fittoscreen" = id; 
index fed6128721db4130ec599ccb85a19ff10655bca7..8b31d8f16808e3ea2567c7010bb5354b6aa941be 100644 (file)
        <array>
                <integer>977</integer>
        </array>
-       <key>IBOpenObjects</key>
-       <array>
-               <integer>1530</integer>
-       </array>
        <key>IBSystem Version</key>
-       <string>6L29</string>
+       <string>6L60</string>
 </dict>
 </plist>
index b5756c259e990bcf041487aa780b340563c285fd..2083270fedb9ace8054627c0f0b7a3a9f04c48fe 100644 (file)
Binary files a/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib and b/extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib differ
index 1bb5da50c51265f3651a0052a55c2e44bc767e43..94626bf65a5878b084065c6a20f8e527186e90c4 100644 (file)
@@ -2,7 +2,7 @@
  * intf.h: MacOS X interface plugin
  *****************************************************************************
  * Copyright (C) 2002-2003 VideoLAN
- * $Id: intf.h,v 1.39 2003/05/15 01:23:05 hartman Exp $
+ * $Id: intf.h,v 1.40 2003/05/20 18:53:03 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Christophe Massiot <massiot@via.ecp.fr>
@@ -210,6 +210,7 @@ struct intf_sys_t
     
     IBOutlet id o_mu_help;
     IBOutlet id o_mi_readme;
+    IBOutlet id o_mi_documentation;
     IBOutlet id o_mi_reportabug;
     IBOutlet id o_mi_website;
     IBOutlet id o_mi_license;
@@ -251,6 +252,7 @@ struct intf_sys_t
 - (IBAction)closeError:(id)sender;
 
 - (IBAction)openReadMe:(id)sender;
+- (IBAction)openDocumentation:(id)sender;
 - (IBAction)reportABug:(id)sender;
 - (IBAction)openWebsite:(id)sender;
 - (IBAction)openLicense:(id)sender;
index d8a444a45206985f379e5a173279fbccbd31b840..a07b1450ed0c664b08dd42f551da0306419a1e12 100644 (file)
@@ -2,7 +2,7 @@
  * intf.m: MacOS X interface plugin
  *****************************************************************************
  * Copyright (C) 2002-2003 VideoLAN
- * $Id: intf.m,v 1.84 2003/05/20 15:23:25 hartman Exp $
+ * $Id: intf.m,v 1.85 2003/05/20 18:53:03 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
  *          Christophe Massiot <massiot@via.ecp.fr>
@@ -390,6 +390,7 @@ int PlaylistChanged( vlc_object_t *p_this, const char *psz_variable,
 
     [o_mu_help setTitle: _NS("Help")];
     [o_mi_readme setTitle: _NS("ReadMe...")];
+    [o_mi_documentation setTitle: _NS("Online Documentation")];
     [o_mi_reportabug setTitle: _NS("Report a Bug")];
     [o_mi_website setTitle: _NS("VideoLAN Website")];
     [o_mi_license setTitle: _NS("License")];
@@ -1205,6 +1206,14 @@ int PlaylistChanged( vlc_object_t *p_this, const char *psz_variable,
                                    withApplication: @"TextEdit"];
 }
 
+- (IBAction)openDocumentation:(id)sender
+{
+    NSURL * o_url = [NSURL URLWithString: 
+        @"http://www.videolan.org/doc/"];
+
+    [[NSWorkspace sharedWorkspace] openURL: o_url];
+}
+
 - (IBAction)reportABug:(id)sender
 {
     NSURL * o_url = [NSURL URLWithString: 
index 1132154109a05b806dd1344fb67eccd14692e201..9194b30f473b3aaf88f649ecd8e466676ed949e5 100644 (file)
@@ -2,7 +2,7 @@
  * open.m: MacOS X plugin for vlc
  *****************************************************************************
  * Copyright (C) 2002-2003 VideoLAN
- * $Id: open.m,v 1.33 2003/05/12 01:17:10 hartman Exp $
+ * $Id: open.m,v 1.34 2003/05/20 18:53:03 hartman Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net> 
  *          Christophe Massiot <massiot@via.ecp.fr>
@@ -154,6 +154,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
     [[o_disc_type cellAtRow:0 column:0] setTitle: _NS("VIDEO_TS folder")];
     [[o_disc_type cellAtRow:1 column:0] setTitle: _NS("DVD")];
     [[o_disc_type cellAtRow:2 column:0] setTitle: _NS("VCD")];
+    [[o_disc_type cellAtRow:3 column:0] setTitle: _NS("Audio CD")];
 
     [o_net_udp_port_lbl setStringValue: _NS("Port")];
     [o_net_udpm_addr_lbl setStringValue: _NS("Address")];
@@ -385,6 +386,13 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
             b_menus = 0; b_title_chapter = 1;
             [o_disc_dvd_menus setState: FALSE];
         }
+        else if ( [o_type isEqualToString: _NS("Audio CD")])
+        {
+            psz_class = kIOCDMediaClass;
+            o_disc = o_type;
+            b_menus = 0; b_title_chapter = 0;
+            [o_disc_dvd_menus setState: FALSE];
+        }
         else
         {
             psz_class = kIODVDMediaClass;
@@ -469,6 +477,14 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
         o_mrl_string = [NSString stringWithFormat: @"vcd://%@@%i,%i",
                         o_device, i_title, i_chapter]; 
     }
+    else if ( [o_type isEqualToString: _NS("Audio CD")] )
+    {
+        if ( [o_device isEqualToString:
+                [NSString stringWithFormat: _NS("No %@s found"), o_type]] )
+            o_device = @"";
+        o_mrl_string = [NSString stringWithFormat: @"cdda://%@",
+                        o_device]; 
+    }
     else if ( [o_type isEqualToString: _NS("DVD")] )
     {
         if ( [o_device isEqualToString:
index ea0b363fae4979fa8e657344d30bde55b44ef390..928efce5abc6d83672a59bfe277ab7862cf7213b 100644 (file)
@@ -2,7 +2,7 @@
  * prefs.m: MacOS X plugin for vlc
  *****************************************************************************
  * Copyright (C) 2002-2003 VideoLAN
- * $Id: prefs.m,v 1.22 2003/05/20 15:23:25 hartman Exp $
+ * $Id: prefs.m,v 1.23 2003/05/20 18:53:03 hartman Exp $
  *
  * Authors:    Jon Lech Johansen <jon-vl@nanocrew.net>
  *             Derk-Jan Hartman <thedj at users.sf.net>
 
 - (void)outlineViewSelectionDidChange:(NSNotification *)o_notification
 {
-    NSLog( [[o_tree itemAtRow:[o_tree selectedRow]] getName] );
     [self showViewForID: [[o_tree itemAtRow:[o_tree selectedRow]] getObjectID] andName: [[o_tree itemAtRow:[o_tree selectedRow]] getName]];
 }
 
     id o_vlc_config = [o_unknown isKindOfClass: [NSNotification class]] ?
                       [o_unknown object] : o_unknown;
 
-    NSString *o_module_name = [o_vlc_config moduleName];
-
     int i_type = [o_vlc_config configType];
     NSString *o_name = [o_vlc_config configName];
-    NSLog( o_name);
     char *psz_name = (char *)[o_name UTF8String];
 
     switch( i_type )
             NSString *o_value;
 
             o_value = [o_vlc_config titleOfSelectedItem];
-            NSLog( o_value);
             psz_value = (char *)[o_value UTF8String];
 
             config_PutPsz( p_intf, psz_name, psz_value );
             NSString *o_value;
 
             o_value = [o_vlc_config stringValue];
-            NSLog( o_value);
             psz_value = (char *)[o_value UTF8String];
 
             config_PutPsz( p_intf, psz_name, psz_value );