Changeset 391 for python/trunk/Mac/IDLE


Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Mac/IDLE/Info.plist.in

    r2 r391  
    3737        <string>IDLE</string>
    3838        <key>CFBundleGetInfoString</key>
    39         <string>%VERSION%, © 001-2006 Python Software Foundation</string>
     39        <string>%VERSION%, © 2001-2013 Python Software Foundation</string>
    4040        <key>CFBundleIconFile</key>
    4141        <string>IDLE.icns</string>
     
    5252        <key>CFBundleVersion</key>
    5353        <string>%VERSION%</string>
     54        <key>NSHighResolutionCapable</key>
     55        <true/>
     56<!--
     57        <key>LSMinimumSystemVersionByArchitecture</key>
     58        <dict>
     59            <key>x86_64</key>
     60            <string>10.6.0</string>
     61            <key>ppc64</key>
     62            <string>10.6.0</string>
     63        </dict>
     64-->
    5465</dict>
    5566</plist>
  • python/trunk/Mac/IDLE/Makefile.in

    r2 r391  
    1111builddir=       ../..
    1212PYTHONFRAMEWORK=@PYTHONFRAMEWORK@
     13LIPO_32BIT_FLAGS=@LIPO_32BIT_FLAGS@
     14
    1315
    1416RUNSHARED=      @RUNSHARED@
     
    2325BUNDLEBULDER=$(srcdir)/../../Lib/plat-mac/bundlebuilder.py
    2426
    25 PYTHONAPPSDIR=/Applications/$(PYTHONFRAMEWORK) $(VERSION)
     27PYTHONAPPSDIR=@FRAMEWORKINSTALLAPPSPREFIX@/$(PYTHONFRAMEWORK) $(VERSION)
    2628
    2729all: IDLE.app
     
    5254                --resource=$(srcdir)/../Icons/PythonSource.icns \
    5355                --resource=$(srcdir)/../Icons/PythonCompiled.icns \
    54                 --python=$(prefix)/Resources/Python.app/Contents/MacOS/$(PYTHONFRAMEWORK)`test -f "$(DESTDIR)$(prefix)/Resources/Python.app/Contents/MacOS/$(PYTHONFRAMEWORK)-32" && echo "-32"` \
     56                --python=$(prefix)/Resources/Python.app/Contents/MacOS/Python \
    5557                build
    56 
     58ifneq ($(LIPO_32BIT_FLAGS),)
     59        rm "IDLE.app/Contents/MacOS/Python"
     60        lipo $(LIPO_32BIT_FLAGS) -output "IDLE.app/Contents/MacOS/Python" "$(BUILDPYTHON)"
     61endif
    5762
    5863Info.plist: $(srcdir)/Info.plist.in
  • python/trunk/Mac/IDLE/config-extensions.def

    r2 r391  
    8787[CodeContext_bindings]
    8888toggle-code-context=
     89
     90[RstripExtension]
     91enable=1
     92enable_shell=0
     93enable_editor=1
  • python/trunk/Mac/IDLE/idlemain.py

    r2 r391  
    4949# exported in PYTHONEXECUTABLE.
    5050pyex = os.environ['PYTHONEXECUTABLE']
    51 sys.executable = os.path.join(os.path.dirname(pyex), os.readlink(pyex))
     51sys.executable = os.path.join(sys.prefix, 'bin', 'python%d.%d'%(sys.version_info[:2]))
    5252
    5353# Remove any sys.path entries for the Resources dir in the IDLE.app bundle.
     
    6969
    7070# Now it is safe to import idlelib.
     71from idlelib import macosxSupport
     72macosxSupport._appbundle = True
    7173from idlelib.PyShell import main
    7274if __name__ == '__main__':
Note: See TracChangeset for help on using the changeset viewer.