aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorJan Djärv2011-07-08 12:04:23 +0200
committerJan Djärv2011-07-08 12:04:23 +0200
commit4393663bc52fc24c15aa9c1779dfc23d3a0f901f (patch)
treeac7c3b0fd0cf38005423465b7779da4ed2c3bb87 /src/ChangeLog
parent2287ac9896c30303d7f469a3e5cb348fbbbd9e23 (diff)
downloademacs-4393663bc52fc24c15aa9c1779dfc23d3a0f901f.tar.gz
emacs-4393663bc52fc24c15aa9c1779dfc23d3a0f901f.zip
Fix warnings in ns*m files: Replace deprecated methods, declare new interfaces.
* emacs.c: Declare unexec_init_emacs_zone. * nsfns.m (check_ns_display_info): Cast to long and use %ld in error to avoid warning. * nsimage.m (allocInitFromFile): Don't use deprecated method bestRepresentationForDevice on OSX >= 10.6. * nsmenu.m (fillWithWidgetValue): Don't use depercated method sizeToFit on OSX >= 10.2. * nsselect.m (ns_string_from_pasteboard): Don't use deprecated methods cString and lossyCString on OSX >= 10.4 * nsterm.h (MAC_OS_X_VERSION_10_3, MAC_OS_X_VERSION_10_4) (MAC_OS_X_VERSION_10_5): Define if not defined. (EmacsView, EmacsTooltip): Implements NSWindowDelegate on OSX >= 10.6. (EmacsMenu): Implements NSMenuDelegate on OSX >= 10.6. (EmacsToolbar): Implements NSToolbarDelegate on OSX >= 10.6. * nsterm.m (keyDown): Call to wantsToDelayTextChangeNotifications and variable firstTime not needed on OSX >= 10.6. (setPosition): setFloatValue:knobProportion: is deprecated on OSX >= 10.5. Use setKnobProportion, setDoubleValue.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 3c718c078d3..89f5e0ee64d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,30 @@
12011-07-08 Jan Djärv <jan.h.d@swipnet.se> 12011-07-08 Jan Djärv <jan.h.d@swipnet.se>
2 2
3 * nsterm.m (keyDown): Call to wantsToDelayTextChangeNotifications and
4 variable firstTime not needed on OSX >= 10.6.
5 (setPosition): setFloatValue:knobProportion: is deprecated on OSX
6 >= 10.5. Use setKnobProportion, setDoubleValue.
7
8 * nsterm.h (MAC_OS_X_VERSION_10_3, MAC_OS_X_VERSION_10_4)
9 (MAC_OS_X_VERSION_10_5): Define if not defined.
10 (EmacsView, EmacsTooltip): Implements NSWindowDelegate on OSX >= 10.6.
11 (EmacsMenu): Implements NSMenuDelegate on OSX >= 10.6.
12 (EmacsToolbar): Implements NSToolbarDelegate on OSX >= 10.6.
13
14 * nsselect.m (ns_string_from_pasteboard): Don't use deprecated methods
15 cString and lossyCString on OSX >= 10.4
16
17 * nsmenu.m (fillWithWidgetValue): Don't use depercated method
18 sizeToFit on OSX >= 10.2.
19
20 * nsimage.m (allocInitFromFile): Don't use deprecated method
21 bestRepresentationForDevice on OSX >= 10.6.
22
23 * nsfns.m (check_ns_display_info): Cast to long and use %ld in error
24 to avoid warning.
25
26 * emacs.c: Declare unexec_init_emacs_zone.
27
3 * nsgui.h: Fix compiler warning about gnulib redefining verify. 28 * nsgui.h: Fix compiler warning about gnulib redefining verify.
4 29
5 * nsselect.m (ns_get_local_selection): Change to extern (Bug#8842). 30 * nsselect.m (ns_get_local_selection): Change to extern (Bug#8842).