Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/ui/ui-drv/cocoa/Readme Cocoa
blob: 3e92f34744c5603ec2eb4a20c65bb9f5154dfa2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
2006-10-23 - Andrew Stone (andrew@stone.com)
	- to build for Videator: -DVIDEATOR_SUPPORT
	- added this file
	- added Credits.html
	- modified InfoPlist.strings
	- MainMenu.nib
		- changed NewApplication to XaoS
		- changed window title to indicate this version of XaoS talks to Videator
		
	- AppController.m: added distributed notification with imageRep
	- FractalView.m: added method to return current imageRep
2006-10-25
	- ui_cocoa.m now byte swaps color masks
	
2006-10-26
	- hot keys working
	- tutorial and help working ala carbon

2006-11-29 - J.B. Langston

Committing additional changes submitted 10/30 by Andrew Stone:

	- support for arrow keys
		up/down change zoom speed
		right/left: if cycling - change
			if auto-rotation - change speed of rotation

    - UI -> Performance Mode
        This will turn off the echoing of messages to the screen

    - going from cycle forward and backward no longer toggles cycling off

	- BUG FIX: window now regains key status after after dialog
        
2008-03-14 - J.B. Langston

    - Fixed bug with smooth color modes on PowerPC Macs (filter.h)

2008-03-17 - J.B. Langston

    - Added user formula support using SFFE/libgsl

    - Added support for libpng to Cocoa

    - Added build instructions to Cocoa project

2008-03-18 - J.B. Langston

    - Moved Videator support into separate VideatorProxy class and updated with 
      Andrew's latest changes - UNTESTED

    - Replaced funky bit-swapping code; now use #if __BIG_ENDIAN__ to set color 
      masks correctly
      
    - Removed unnecessary xstdio_osx.c and made executable-relative paths work
      with standard xstdio.c
      
    - Added Enter key equivalent for OK button on custom dialogs
    
    - Added call to resize image when maximizing window
    
    - Added call to terminate app on window close
    
    - Enabled long double support for deeper zooms

    - Added event handling for middle and right mouse buttons
    
    - Added event handling for scroll wheel panning
    
    - Added copyright headers to all files
    
    - Changed [view setNeedsDisplay:YES] to [view display] to draw immediately
      in order to eliminate jerky zooming motion
      
    - Added support to print status text
    
    - Made save and open panels use last selected directory instead of always
      going back to home directory
      
    - Made window regains key status after open/save dialog
    
    - Removed "-Videator Enabled" from titlebar
      
    - Fixes to custom dialogs to correctly display long doubles and allow
      horizontal scrolling instead of wrapping values
      
2008-03-20

    REFACTORING/CLEANUP
    
    - Added autorelease pools to all driver functions, wrapping all controller calls

    - removed autorelease pools from inside controller methods
    
    - Removed Preferences nib, controller, menu item, and associated icons
      (Videator support will be toggled via menu item in UI menu)
    
    - changed driver and function name to cocoa_* instead of osx_*
    
    - Added MACOSX define that can trigger shared functionality for Cocoa/Carbon drivers
    
    - Removed separate fullscreen driver
    
    - Removed wrapper functions from controller; now call view functions directly
    
    - Added functions for driver init and uninit to controller
    
    - Added pragma marks to categorize functions in controller and view
    
    - Moved videator hook to view's drawRect:
    
    - Added wait date to event handling to prevent busy waiting
    
    HELP SUPPORT
    
    - Created Apple Help conversion script
    
    - Added help settings to Info.plist
    
    - Updated showHelpWithContext:name: method to show main help page
    
    - Added help conversion script to pre-compile script build phase

2008-03-31

    DIALOGS

    - Add copy/paste functionality for custom dialogs
    
    HELP
    
    - Update help conversion script to automatically generate index
    
    - Update help to use stylesheets

2008-04-04

    I18N

    - Add reference to gettext library, and script command to copy it

    - Add code to detect default locale and set LANG variable accordingly


2008-04-05

    MENUS
    
    - Added Window menu and associated menu items
    
    I18N
    
    - Fixed bug where key equivalents were not found when foreign languages
      were selected
      
    - I18nized cut/copy/paste/etc. menu items, and OK/Cancel dialog buttons
    
2008-04-06

    I18N
    
    - Add code to convert user's native text encoding (usually UTF-8) to
      Latin1/2 to prevent garbled text through built-in text handling system
      
    - Automate po/mo file build and packaging

    - Add code to set locale directory correctly relative to executable path

    MENUS
    
    - Implement popup menus

    - I18nize menu items in application menu

    HELP
    
    - fix bug in help conversion that results in missing headers for some files

    - Add help applescript to automatically launch tutorials

2008-04-07

    MENUS

    - Implement menu delegate to check/uncheck menu items when displayed

    DIALOGS
    
    - Hook up choose file button on custom dialogs

2008-04-09

    FULL SCREEN
    
    - Implement fullscreen code

    - Add menu item to UI menu to toggle fullscreen mode

    - Change render basename type from to DIALOG_STRING to DIALOG_OFILE 
    
    DRIVER
    
    - Add driver initialization code

    - Add driver uninitialization code
    
    MISC
    
    - Conditionalize custom script build phases so they do not do unnecessary work
    
2008-04-10

    I18N
    
    - Added italian translation
    
    MISC
    
    - Rebuilt Xcode project to fix issues with debugger and interface builder
    
    - Incremented Cocoa version number from 3.3 to 3.4
    
    HELP
    
    - Got rid of space in help file name

2008-04-14

    I18N

    - Make OK/Cancel buttons on custom dialogs autosize to fit i18n labels
    
    MISC
    
    - Change Performance Mode to VJ mode (changed shortcut from P to v)
      (performance mode might be confused with performance enhancement)
    
    - Added document icon
    
    - Added Close menu item to file menu
    
    - Fixed regression where window did not retain key status after dialog

    - Add cursor changing code in cocoa driver

    - Add hook to change cursor during performance mode

2008-04-16

    HELP

    - Add css element to make dt elements bold
    
    - Add anchors for usrform and usrformInit to help file
    
    I18N
    
    - Updated italian po and catalog
    
    - Added Italian to configure.in ALL_LINGUAS
    
    MISC
    
    - Refine about dialog box
    
    - Add comments and cleanup
    
    - Changed version to 3.4pre1 in configure.in

2008-04-17

    BUGS
    
    - Fix crash after animation rendering
      
      Analysis: changes introduced for sffe made the uih variable from ui.c
      global in ui.h so that the sffe parser can be accessed from custom
      formula code in formulas.c. Uih was previously declared static in render.c
      because the animation renderer maintains its own context.  SFFE changed 
      this from static to extern so the uih in render.c was pointing to the same
      uih in ui.c, instead of to a different structure.  When animations were
      rendered, the uih in ui.h got clobbered, and the next function that tried
      to use it caused a segfault.
      
      Fix: 
      1. Change name of global uih pointer defined in ui.h from uih to globaluih.
      2. Change sffe code to access globaluih pointer instead of uih
      3. Add code to main function to set both uih and globaluih to point at the same structure
      4. Change code in cocoa driver to use globaluih as well
      
    - Fix bug that causes XaoS to crash when using non-native (ugly) dialog
      code for Render Animation dialog with open file dialog for basename
      
      Analysis: There was a loop in ui_buildfile in dialog.c, that tried to 
      find a "*" in the default filename, and if it didn't find one, it would 
      run right off the end of the buffer and continue until a seg fault occurred.
      
      Fix: the loop now checks for both "*" or a nul terminator as the exit
      condition.  If it doesn't find an asterisk, it still stops at the end
      of the string.
      
    - Make custom dialog boxes slide out of view before executing menu function

      This prevents the dialog from hanging around after clicking OK during long
      running operations such as rendering animations
      
    - Add code to prevent rendering animation if absolute path is not specified
      for Basename.  This prevents files from being accidentally written to the
      hard drive's root directory
      
2008-04-23

    I18N
    
    - Changes to -initLocale: do not overwrite LANG if it is already set
    
    - Added AppController.m and CustomDialog.m in i18n/Makefile.in.in
    
    - Regenerated po and pot files with new strings from cocoa driver
    
    MISC
    
    - Conditionalize window menu with #ifdef MACOSX

2008-04-24

    - Add enable/disable menu item for Videator
    
    - Move Close menu item to proper place in File menu
    
    - Reindent code

    - Cleanups to eliminate warnings
    
    - Conditionalize videator code
    
2008-04-26

    - Update video encoding section to recommend ffmpeg, mencoder
    
    - Move Berkeley MPEG encoder information to historical section
    
    - Create help section to explain how to get support
    
    - Add library copyright information to credits help section
    
    - Update Development help section with recent contribution instructions

    - Add Mac OS X help section

    - Add links to Videator in Mac OS X help section

2008-05-15

	- Fix diacritical mark rendering on Mac OS X Tiger
	
	- Update Italian translation
	
	- Fix problem with localized application menu
	
	- Add link to XaoS Website in About dialog

2008-05-20

    - Fix black screen with edge detection filters

    - Fix black screen with pseudo-3d filter

    - Fix black screen with hsv coloring modes
	
	- Automatically save window position and size
	
	- Update help file to remove workarounds for fixed issues
	
2008-05-22

	- Increment version numbers


TODO:

* bugs

    - Fix catseye rendering (shows empty circle without increasing bailout)
    - Cursor changing code only works until the user clicks a button
    
* acs features
    - Implement fast palette save/recall
    - Implement autokeys on startup