]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
44b40bfc1b19458f44150939aa86a9be50d9a5b7
[lyx.git] / src / ChangeLog
1 2004-03-31  Angus Leeming  <leeming@lyx.org>
2
3         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
4         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
5
6         * lyxtextclass.C (load): if the text class couldn't be loaded, then
7         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
8
9 2004-03-31  Angus Leeming  <leeming@lyx.org>
10
11         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
12         the LFUN_ALL_INSETS_TOGGLE code.
13
14 2004-03-30  Angus Leeming  <leeming@lyx.org>
15
16         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
17         has died. Fall through to the generic Dialogs::show("document").
18         
19 2004-03-30  Angus Leeming  <leeming@lyx.org>
20
21         * lfuns.h:
22         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
23         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
24
25         * lyxfunc.C (getStatus, dispatch): define the actions for these
26         lfuns. Little more than a cut and pste job from ControlDocument.C
27
28         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
29
30 2004-03-30  Angus Leeming  <leeming@lyx.org>
31
32         * lfuns.h:
33         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
34         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
35
36         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
37         open/closed state of ollapsable insets. Usage:
38
39         all-inset-toggle <state> <name>, where
40         <state> == "open" || "closed" || "toggle" and
41         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
42
43         * lyxtext.h, text2.C (toggleInset): removed.
44
45         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
46         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
47         now passes LFUN_INSET_TOGGLE to the found inset.
48
49         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
50         is now invoked as "all-insets-toggle toggle branch".
51
52 2004-03-30  Angus Leeming  <leeming@lyx.org>
53
54         * dociterator.C:
55         * insetiterator.C:
56         * pariterator.[Ch]: added/corrected header blurb.
57
58 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
59
60         * dociterator.[Ch]: add an inset_ member 
61         (backwardPos): implemented
62         (backwardPos, forwardPos): use inset_ when the stack is empty.
63         (doc_iterator_begin, doc_iterator_end): implemented
64         * pariterator.[Ch]: adjust, add begin, end
65         * insetiterator.[Ch]: adjust, add begin, end
66         * cursor.C: 
67         * document.C:
68         * BufferView.C:
69         * BufferView_pimpl.C:
70         * CutAndPaste.C: adjust
71
72 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
73
74         * buffer.C: increment file format to 232.
75         * LaTeXFeatures.C: add bibtopic package.
76         * bufferparams.[Ch]: param \use_bibtopic.
77         
78         * lyxrc.[Ch]: add lyxrc bibtex_command
79         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
80         
81         * buffer.C: increment file format to 231.
82
83 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
84
85         * dociterator.C: implement forwardPar
86         * iterators.[Ch]: remove, replaced by
87         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
88         * BufferView.C:
89         * BufferView_pimpl.C:
90         * CutAndPaste.C:
91         * buffer.C:
92         * bufferview_funcs.C:
93         * cursor.C:
94         * lyxfind.C
95         * lyxfunc.C
96         * paragraph_funcs.C
97         * toc.C:  
98         * Makefile.am: adjust
99
100 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
101
102         * CutAndPaste.C (pasteSelection): fix 2 crashes
103         (eraseSelection): fix a crash
104         * paragraph_funcs.C: remove a warning
105
106 2004-03-28  Angus Leeming  <leeming@lyx.org>
107
108         * lfuns.h:
109         * LyXAction.C (init): new LFUN_PRINT.
110
111         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
112
113 2004-03-27  Angus Leeming  <leeming@lyx.org>
114
115         * lfuns.h:
116         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
117
118         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
119
120 2004-03-27  Angus Leeming  <leeming@lyx.org>
121
122         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
123         insetlist always contains non-null pointers to insets.
124
125 2004-03-26  Angus Leeming  <leeming@lyx.org>
126
127         * src/BufferView_pimpl.C:
128         * src/CutAndPaste.C:
129         * src/buffer.C:
130         * src/iterators.C:
131         * src/output_plaintext.C:
132         * src/outputparams.h:
133         * src/paragraph_funcs.C:
134         * src/rowpainter.C:
135         * src/text.C:
136         * src/text2.C:
137         * src/frontends/controllers/ControlErrorList.C:
138         * src/frontends/gtk/FileDialogPrivate.C:
139         * src/frontends/gtk/GPainter.C:
140         * src/frontends/gtk/GToolbar.C:
141         * src/frontends/qt2/QRef.C:
142         * src/mathed/math_scriptinset.C: squash compiler warnings.
143
144 2004-03-26  Angus Leeming  <leeming@lyx.org>
145
146         * ispell.C (LaunchIspell::start):
147         * lyx_cb.C (AutoSaveBuffer::start):
148         invoke run(DontWait) rather than runNonBlocking().
149
150 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
151
152         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
153
154 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * kbsequence.C (print): adjust
157
158         * kbmap.C (printKeySym): rename and change signature
159         (printKey): use LyXKeySym::print()
160
161 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
162
163         * undo.C: add using std::advance to compile for stlport
164
165 2004-03-24  Angus Leeming  <leeming@lyx.org>
166
167         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
168         it leads to a crash when no buffer is present.
169
170 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171             Martin Vermeer  <martin.vermeer@hut.fi>
172
173         * lyxfunc.C (dispatch): 
174         * bufferparams.C (readToken): use the new LColor::setColor 
175
176         * LColor.[Ch] (setColor): new version that takes two strings as
177         argument and creates a new color entry if necessary
178
179 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
180
181         * buffer.C (makeLaTeXFile): if the main latex file that is
182         processed is usually a subdocument of some master, then pretend
183         for a while that it is actually the master
184
185 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
186
187         * buffer.C (getLabelList):
188         (getBibkeyList): use getMasterBuffer()
189         (getMasterBuffer): new method. Returns the main document in the
190         case where one is using included documents.
191
192 2004-03-25  André Pönitz  <poenitz@gmx.net>
193
194         * Makefile.am:
195         * iterators.[Ch]:
196         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
197
198         * ParagraphList_fwd.h: change ParagraphList to a std::vector
199
200         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
201         text*.C over here. Rename namespace CutAndPaste to lyx::cap
202
203         * ParameterStruct.h: merge with ParagraphParameters
204
205         * lyxtext.h: remove LyXText::parOffset() and getPar()
206
207         * text3.C: Remove all 'manual' update calls. We do now one per user
208         interaction which is completely sufficient.
209
210         * Bidi.C:
211         * BufferView.[Ch]:
212         * BufferView_pimpl.C:
213         * FontIterator.[Ch]:
214         * MenuBackend.C:
215         * ParagraphParameters.[Ch]:
216         * buffer.C:
217         * buffer.h:
218         * bufferlist.C:
219         * cursor.[Ch]:
220         * cursor_slice.[Ch]:
221         * dociterator.[Ch]:
222         * errorlist.[Ch]:
223         * factory.C:
224         * lfuns.h:
225         * lyxfind.C:
226         * lyxfunc.C:
227         * output_docbook.[Ch]:
228         * output_latex.[Ch]:
229         * output_linuxdoc.[Ch]:
230         * output_plaintext.[Ch]:
231         * paragraph.[Ch]:
232         * paragraph_funcs.[Ch]:
233         * paragraph_pimpl.[Ch]:
234         * rowpainter.C:
235         * tabular.[Ch]:
236         * text.C:
237         * text2.C:
238         * toc.C:
239         * undo.[Ch]: adjust
240
241         * frontends/controllers/ControlDocument.C:
242         * frontends/controllers/ControlErrorList.C:
243         * frontends/controllers/ControlSpellchecker.C:
244         * insets/inset.C:
245         * insets/inset.h:
246         * insets/insetbase.h:
247         * insets/insetbibitem.C:
248         * insets/insetbox.C:
249         * insets/insetbranch.C:
250         * insets/insetcaption.C:
251         * insets/insetcharstyle.C:
252         * insets/insetcharstyle.h:
253         * insets/insetcollapsable.C:
254         * insets/insetcollapsable.h:
255         * insets/insetert.C:
256         * insets/insetfloat.C:
257         * insets/insetfoot.C:
258         * insets/insetmarginal.C:
259         * insets/insetnote.C:
260         * insets/insetoptarg.C:
261         * insets/insettabular.C:
262         * insets/insettext.C:
263         * insets/insettext.h:
264         * insets/insetwrap.C:
265         * mathed/math_mboxinset.C:
266         * mathed/math_nestinset.C:
267         * mathed/math_scriptinset.C:
268         * mathed/math_scriptinset.h:
269         * support/types.h:
270
271 2004-03-24  Angus Leeming  <leeming@lyx.org>
272
273         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
274         deal with any child processes that have finished but are waiting to
275         communicate this fact to the rest of LyX.
276
277 2004-03-24  Angus Leeming  <leeming@lyx.org>
278
279         64-bit compile fixes.
280
281         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
282         (c-tor): pass lyx::pos_types rather than ints.
283
284         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
285         lyx::pos_type.
286
287         * text.C (Delete): compile fix.
288         (getPar): ensure that function declaration is the same as that in
289         the header file.
290
291 2004-03-23  Angus Leeming  <leeming@lyx.org>
292
293         * ispell.C (LaunchIspell):
294         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
295         a boost::shred_ptr rather than a std::auto_ptr.
296
297 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * lyxfunc.C (getStatus): handle read-only buffers correctly;
300         handle LFUN_FILE_INSERT_*
301
302         * lyxrc.C (setDefaults, getDescription, output, read):
303         * lyxrc.h: remove ps_command
304
305 2004-03-22  Angus Leeming  <leeming@lyx.org>
306
307         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
308         Ensure that error_handler is processed once only and that all data
309         is saved before attempting to output any warning messages.
310
311         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
312
313 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
314
315         * tabular.C (TeXRow): crash fix (from Kayvan and André)
316
317 2004-03-19  André Pönitz  <poenitz@gmx.net>
318
319         * cursor.[Ch] (reset): take main text inset as argument
320
321         * BufferView: adjust
322         * BufferView_pimpl.C: adjust
323
324         * paragraph.[Ch]: fix completely broken operator=()
325
326 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * LColor.C (getFromLyXName): make sure that the color name is used
329         as lowercase.
330
331 2004-03-17  Angus Leeming  <leeming@lyx.org>
332
333         * lfuns.h:
334         * LyXAction.C (init): remove LFUN_FORKS_KILL.
335
336         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
337         dialog and to kill a forked process.
338
339 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
340
341         * text2.C (setCursorFromCoordinates): fix font problem
342
343 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
344
345         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
346         bogus "rebuild cursor" code
347
348 2004-03-11  André Pönitz  <poenitz@gmx.net>
349
350         * buffer.[Ch]: use InsetText instead of LyXText as container for
351         the main lyx text.
352
353         * dociterator.[Ch]: drop the BufferView * member which is not needed
354         anymore after the change to buffer.C
355
356         * paragraph_funcs.C:
357         * text.C:
358         * text2.C:
359         * BufferView.[Ch]:
360         * BufferView_pimpl.[Ch]:
361         * cursor.[Ch]:
362         * cursor_slice.[Ch]: adjust
363
364         * text3.C: fix bug in mathDispatch
365
366 2004-03-08  André Pönitz  <poenitz@gmx.net>
367
368         * undo.[Ch]: use 'StableDocumentIterator' as base for
369         the Undo struct.
370
371 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
372
373         * LaTeXFeatures.C:
374         * bufferparams.[Ch]: add jurabib support and param.
375
376         * LaTeX.C: add FIXME/comment.
377
378 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
379
380         * buffer.C: increment file format to 230.
381
382 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
383
384         * cursor.C (dispatch): avoid infinite loops
385
386 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
387
388         * rowpainter.C (paintSelection): fix x coordinates
389
390 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
391
392         * text.C (rowBreakPoint): fix breaking before displayed insets
393
394 2004-03-01  André Pönitz  <poenitz@gmx.net>
395
396         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
397
398         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
399
400         * Makefile.am:
401         * BufferView.C:
402         * BufferView_pimpl.C:
403         * buffer.C:
404         * lyxfind.C:
405         * lyxfunc.C:
406         * text.C:
407         * text2.C:
408         * text3.C: adjust
409
410 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
411
412         * lyxtext.h:
413         * text.C:
414         * text2.C:
415         * rowpainter.C:
416         * BufferView_pimpl.C: rename textwidth -> maxwidth,
417         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
418
419 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
420
421         * Bidi.[Ch] (computeTables): const correctness
422         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
423         fill_hfill, fill_label_hfill and x from Row
424         * lyxtext.h: prepareToPrint returns a RowMetrics
425         * rowPainter.C: adjust
426         * text.C (prepareToPrint): use width, not textWidth. adjust
427         (redoParagraphInternal, cursorX): adjust
428         * text2.C (getColumnNearX): adjust
429         (init): put a default value to the top LyXText::width
430
431 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
432
433         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
434
435 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
436
437         * lyxtext.h: add FontIterator class
438
439         * text.C (FontIterator, operator*, operator->, operator++): add
440         (rowBreakPoint, setRowWidth): adjust (fixing a
441         rebreaking bug)
442
443 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         * BufferView_pimpl.C (workAreaDispatch): allow also
446         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
447
448 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
449
450         * text.C (rowBreakPoint): fix a bug showing with very large insets
451
452 2004-02-25  André Pönitz  <poenitz@gmx.net>
453
454         * text3.C:
455         * cursor.[Ch]: move some mathed specific code to mathed
456
457 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
458
459         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
460         use_tempdir in preferences
461         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
462         tempfile creation
463         * lyx_main.C: ensure that tempdir is valid
464         * lyxlex.h: correct typo
465         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
466         * paragraph.[Ch] (isMultiLingual): make const
467         * cursor.[Ch] (openable): make const
468
469 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
470
471         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
472
473 2004-02-20  André Pönitz  <poenitz@gmx.net>
474
475         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
476
477         * cursor.[Ch]: prepare for localized getStatus()
478
479         * lyxtext.h:
480         * tabular.C:
481         * text.C:
482         * text2.C:
483         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
484
485 2004-02-20  André Pönitz  <poenitz@gmx.net>
486
487         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
488
489 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
490
491         * text2.C (setCursorFromCoordinates): switch to absolute coords
492         (cursorUp): adjust
493         (cursorDown): adjust
494         * text3.C (dispatch): adjust
495
496 2004-02-16  André Pönitz  <poenitz@gmx.net>
497
498         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
499           insets/ChangeLog)
500
501         * cursor_slice.[Ch]: remove unneeded acessor function
502
503         * lyxtext.h: rename rtl() to isRTL()
504
505         * rowpainter.C:
506         * tabular.C:
507         * text.C:
508         * text2.C:
509         * text3.C: adjust
510
511 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
512
513         * rowpainter.C (paintSelection): coord fix
514
515 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
516
517         * Spacing.C: compile fix
518
519 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
520
521         * cursor.C (dispatch): restore current_ before returning
522
523 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
524
525         * text2.C (cursorUp, cursorDown): fix coords
526         (moveUp): fix crash
527
528 2004-02-12  André Pönitz  <poenitz@gmx.net>
529
530         * lyxtext.h:
531         * text.C:
532         * text2.C:
533         * text3.C: add LCursor & parameter to most cursor movement functions
534           remove usage of LyXText::cursorRow() and cursorPar()
535
536         * cursor.[Ch]: add textRow() needed members
537
538         * BufferView.C:
539         * BufferView_pimpl.C:
540         * paragraph.[Ch]:
541         * BufferView.C:
542         * BufferView_pimpl.C: adjust
543
544 2004-02-11  André Pönitz  <poenitz@gmx.net>
545
546         * lyxfunc.C:
547         * BufferView.[Ch]:
548         * BufferView_pimpl.C: shift undo/redo handling
549
550         * cursor.[Ch]: fix mathed crash
551
552         * lyxfind.C:
553         * lyxtext.h: move selectionAsText to LCursor
554
555         * output_latex.C:
556         * paragraph.C:
557         * text.C:
558         * text2.C:
559         * text3.C: adjust
560
561         * rowpainter.C: fix excessive drawing
562
563 2004-02-06  André Pönitz  <poenitz@gmx.net>
564
565         * BufferView.[Ch]:
566         * BufferView_pimpl.[Ch]:
567         * text3.C: move some text specific LFUN handling
568
569 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
570
571         * text3.C (checkInsetHit): adjust coords
572         * text2.C (getColumnNearX): adjust coords
573         (edit): adjust coords
574         * text.C (getRowNearY): add two asserts
575
576 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * converter.C:
579         * format.C: add using std::distance to compile on gcc 2.95/stlport
580
581 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
582
583         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
584
585 2004-02-04  André Pönitz  <poenitz@gmx.net>
586
587         * BufferView.[Ch] (insertInset):
588         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
589
590         * text2.C:
591         * text3.C: adjust
592
593 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
594
595         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
596         on the default clause of the switch
597         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
598         wasn't catched by LCursor::dispatch
599
600 2004-02-03  André Pönitz  <poenitz@gmx.net>
601
602         * BufferView.C:
603         * cursor.[Ch]: some additional asserts
604
605         * undo.[Ch]: remove LyXText dependency in interface
606
607         * lyxfunc.C: adjust
608
609         * lyxtext.h (firstPar, lastPar): remove dead functions
610
611         * text.C:
612         * text2.C:
613         * text3.C:
614         * paragraph.[Ch]: adjust
615
616 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
617
618         * lyxfind.C (find): fix argument order in call to ::find
619
620 2004-02-02  André Pönitz  <poenitz@gmx.net>
621
622         * cursor.[Ch]: remove direct access to anchor
623
624         * text.C: remove findText() hack
625
626 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
627
628         * iterators.[Ch] (lockPath): remove in favour of...
629         * BufferView.[Ch] (setCursor): this addition
630         * BufferView.C (putSelectionAt): adjust
631         * undo.C (performUndoOrRedo): adjust
632         * lyxfunc.C (dispatch): adjust
633
634 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
635
636         * iterators.C (lockPath): add a missing slice
637         * undo.C (performUndoOrRedo): remove redundant positioning code
638
639 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
640
641         * vc-backend.C (scanMaster): ";" -> ';'
642
643 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
644
645         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
646         std::binary_function
647
648         * lyxtextclass.C (compare_name): rename to...
649         (LayoutNamesEqual): ...this
650
651         * lyxlex_pimpl.C (compare_tags): inherit from
652         std::binary_function, put back into anon namespace
653
654         * lyxfind.C (MatchString): inherig from std::binary_function
655         (findChange): use empty() istead of !size()
656
657         * format.C (FormatNamesEqual): new functor
658         (getFormat): use it
659         (getNumber): use it
660         (add): use it
661         (erase): use it
662         (setViewer): use it
663
664         * converter.C (compare_Converter): rename to...
665         (ConverterEqual): ...this, and fixup a bit.
666         (getConverter): use it, and make function const
667         (getNumber): use it, and make function const
668         (add): use it
669         (erase): use it:
670
671         * bufferlist.C: add using boost::bind
672
673         * MenuBackend.C (MenuNamesEqual): new functor
674         (hasMenu): use it, and make function const
675         (hasSubmenu): use nested bind to get rid of compare_memfun.
676
677 2004-01-30  André Pönitz  <poenitz@gmx.net>
678
679         * BufferView_pimpl.C:
680         * cursor.C:
681         * cursor.h:
682         * cursor_slice.[Ch]:
683         * lyxfunc.C:
684         * lyxtext.h:
685         * paragraph_funcs.C:
686         * paragraph_funcs.h:
687         * rowpainter.C:
688         * text.C:
689         * text2.C:
690         * text3.C: move some of the edit(x,y) handling to the insets
691         some coordinate changes.
692
693 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
694
695         * text.C: add using statements for std::advance and std::distance
696
697         * paragraph.C: add using statement for std::distance
698
699         * lyxfind.C: add using statement for std::advance
700
701         * cursor.C (region): remove std:: from swap
702         (openable): use nucleus in stead of operator->
703
704         * BufferView.C: add using statements for std::distance and std::swap
705
706 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
707
708         * iterators.C: Remove the pimple, move the needed structures to
709         the header file. Create accessor for the positions stack.
710         (asPosIterator): remove function
711
712         * PosIterator.C (PosIterator): move constructors to top of file
713         (PosIterator): reimplement the constructor taking a ParIterator in
714         terms of setFrom.
715         (setFrom): new function
716         (operator!=): inline it
717
718 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
719
720         * lyxfind.C (replaceAll): use std::advance
721
722         * iterators.h: inherit from std::iterator.
723
724         * PosIterator.C (advance, distance): remove
725         * PosIterator.h: interit from std::iterator.
726
727 2004-01-26  André Pönitz  <poenitz@gmx.net>
728
729         * BufferView.[Ch]:
730         * BufferView_pimpl.[Ch]:
731         * InsetList.[Ch]:
732         * PosIterator.[Ch]:
733         * buffer.h:
734         * bufferview_funcs.C:
735         * cursor.[Ch]:
736         * cursor_slice.h:
737         * factory.[Ch]:
738         * iterators.[Ch]:
739         * lyxfind.C:
740         * lyxfunc.C:
741         * lyxtext.h:
742         * output_docbook.C:
743         * output_latex.C:
744         * output_linuxdoc.C:
745         * output_plaintext.C:
746         * paragraph.[Ch]:
747         * paragraph_funcs.[Ch]:
748         * paragraph_pimpl.[Ch]:
749         * rowpainter.C:
750         * tabular.C:
751         * tabular.h:
752         * text.C:
753         * text2.C:
754         * text3.C: more IU:  dumps most of the rest of the mathcursor
755     implementation into cursor.[Ch]; "globalize" a bit of it.
756
757 2004-01-25  Angus Leeming  <leeming@lyx.org>
758
759         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
760
761 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
762
763         * LaTeXFeatures.h: add nice_ and nice() const
764         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
765
766 2004-01-20  André Pönitz  <poenitz@gmx.net>
767
768         * BufferView.[Ch]:
769         * BufferView_pimpl.C:
770         * PosIterator.C:
771         * bufferview_funcs.C:
772         * cursor.[Ch]:
773         * cursor_slice.[Ch]:
774         * factory.C:
775         * iterators.C:
776         * lyx_cb.C:
777         * lyxfind.C:
778         * lyxfunc.C:
779         * lyxtext.h:
780         * rowpainter.C:
781         * text.C:
782         * text2.C:
783         * text3.C:
784         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
785           LCursor and mathcursor parts to LCursor and InsetBase.
786
787 2004-01-15  André Pönitz  <poenitz@gmx.net>
788
789         * cursor_slice.[Ch]: add a few covienience functions
790
791         * funcrequest.[Ch]: remove BufferView * member
792
793         * BufferView_pimpl.C:
794         * cursor.C:
795         * factory.[Ch]:
796         * lyxfind.[Ch]:
797         * lyxfunc.C:
798         * lyxtext.h:
799         * text3.C:
800         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
801
802 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
803
804         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
805         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
806
807 2004-01-13  André Pönitz  <poenitz@gmx.net>
808
809         * textcursor.[Ch]:
810         * lyxtext.h: hide cursor and selection anchor behind accessor function
811
812         * BufferView.C:
813         * BufferView_pimpl.[Ch]:
814         * PosIterator.C:
815         * bufferview_funcs.C:
816         * cursor.h:
817         * lyxfind.C:
818         * lyxfunc.C:
819         * text.C:
820         * text2.C:
821         * text3.C:
822         * undo.C: adjust
823
824         * cursor.h:
825         * cursor_slice.[Ch]: some integer type changes for inset unification
826
827         * lyxcursor.[hC]: remove, it's CursorSlice now.
828
829         * Makefile.am:
830         * BufferView_pimpl.[Ch]:
831         * bufferview_funcs.C:
832         * cursor_slice.C:
833         * lyxtext.h:
834         * text.C:
835         * text2.C:
836         * text3.C:
837         * textcursor.[Ch]: adjust
838
839 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
840
841         * text2.C (undoSpan): add and use
842         * text.C (breakParagraph): use undoSpan (fix bug 578)
843         * lyxtext.h: adjust
844
845 2004-01-08  Angus Leeming  <leeming@lyx.org>
846
847         * BufferView_pimpl.C (MenuInsertLyXFile):
848         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
849         * lyxfunc.C (menuNew, open, doImport):
850         FileFilterList change to the FileDialog open and save functions.
851
852 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
853
854         * ShareContainer.h: make isEqual and isUnique adaptable
855
856         * CutAndPaste.C: make resetOwnerAndChanges adaptable
857
858 2004-01-07  Angus Leeming  <leeming@lyx.org>
859
860         * LyXAction.C:
861         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
862
863         * BufferView_pimpl.C (dispatch): act on these LFUNs.
864
865         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
866         functions replacing find, replace and replaceAll.
867
868         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
869         LFUN_WORDFIND(FORWARD|BACKWARD).
870
871 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
872
873         * text.C (breakParagraph): remove an outdated #warning
874
875 2004-01-07  André Pönitz  <poenitz@gmx.net>
876
877         * lyxfind.C: somewhat clearer logic
878
879         * text.C: prevent crash in cursorX on unitialized row cache
880
881 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
882
883         * lyxcursor.[Ch] (operator>): add
884         * textcursor.C (selStart, selEnd): use std::min and std::max
885
886 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
887
888         * Chktex.C: include boost/format.hpp
889
890 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
891
892         * InsetList.C: replace functor MathcIt with adaptable functor
893         InsetTablePosLess
894         (insetIterator): modify accordingly
895
896         * BranchList.h: move the BranchNamesEqual functor here from...
897         * BranchList.C: ... to here
898
899         * BranchList.C: new BranchListEqual fuctor, use it. Remove
900         SameName and match.
901         (add): replace a finding loop with std::find_if.
902
903 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
904
905         * output_docbook.C: moving LatexParam functionality into
906         .layout files
907
908 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
909
910         * buffer.C: increment format to 229.
911
912 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
913
914         * LaTeXFeatures.C:
915         * lyx_sty.[Ch]: remove minipageindent_def
916
917         * LyXAction.C:
918         * factory.C:
919         * lfuns.h:
920         * lyxfunc.C:
921         * text3.C: remove LFUN_INSET_MINIPAGE
922
923 2003-12-28  Angus Leeming  <leeming@lyx.org>
924
925         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
926
927 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
928
929         * text2.C (setParagraph): fix off-by-one crash
930
931 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
932
933         * output_docbook.C: header stuff for AGU
934
935 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
936
937         * text2.C (redoCursor): remove
938         * text.C:
939         * text3.C:
940         * BufferView_pimpl.C: remove calls to redoCursor and
941         setCursor(cursor.par(), cursor.pos()) all around
942
943 2003-12-15  Angus Leeming  <leeming@lyx.org>
944
945         * buffer.C: up the format to 228.
946
947 2003-12-15  André Pönitz  <poenitz@gmx.net>
948
949         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
950         slices
951
952         * Makefile.am:
953
954         * BufferView_pimpl.C:
955         * cursor.[Ch]:
956         * lyxcursor.[Ch]:
957         * rowpainter.[Ch]:
958         * lyxtext.h:
959         * text.C:
960         * text2.C:
961         * text3.C: adjust
962
963 2003-12-15  Angus Leeming  <leeming@lyx.org>
964
965         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
966         than getFromGUIName to manipulate the color.
967
968 2003-12-14  Angus Leeming  <leeming@lyx.org>
969
970         * BranchList.[Ch]: minimize the API.
971         (Branch::getBranch, getColor): now return a 'const &'.
972         (Branch::setSelected) now returns a bool set to true if the
973         selection status changes.
974         (BranchList::clear, size, getColor, setColor, setSelected,
975         allBranches, allSelected, separator): removed.
976         (BranchList::find): new functions, returning the Branch with
977         the given name.
978         (BranchList::add, remove): return a bool indicating that
979         the operation was successful.
980
981         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
982         new InsetBranch::isBranchSlected member function.
983
984         * LColor.[Ch]: mimimize the API.
985         (fill): renamed as addColor and made private.
986         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
987         versions of these functions taking a string arg have been removed.
988
989         * bufferparams.C (readToken):
990         * lyxfunc.C (dispatch):
991         * lyxrc.C (read): changes due to the altered BranchList and
992         LColor APIs.
993
994         * factory.C (createInset, readInset): changes due to altered
995         InsetBranch c-tor.
996
997 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
998
999         * factory.C:
1000         * lyxfunc.C: remove insetminipage. "minipage-insert"
1001         now produces a frameless minipage box inset.
1002
1003 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1004
1005         * textcursor.[Ch] (selStart,selEnd): add new methods
1006         remove selection::start, end, use LyXCursor::operator<
1007         * lyxcursor.[Ch] (operator<): add
1008         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1009         * BufferView.[Ch] (unsetXSel): add
1010         * text2.C (clearSelection): use unsetXSel,adjust
1011         * text.C: adjust
1012         * text3.C: adjust
1013         * rowpainter.C: adjust
1014         * bufferview_funcs.C (put_selection_at): adjust
1015
1016 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1017
1018         * BufferView_pimpl.C: small coord. correction
1019
1020 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1021
1022         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1023         dragging over the splash screen.
1024
1025 2003-12-11  Angus Leeming  <leeming@lyx.org>
1026
1027         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1028         as it is now handled in LyXText::dispatch.
1029
1030         * text3.C (doInsertInset): remove a level of nesting.
1031
1032 2003-12-11  Angus Leeming  <leeming@lyx.org>
1033
1034         * factory.C (createInset): changes due to the changed interface to
1035         InsetCommandMailer::string2params.
1036
1037 2003-12-10  Angus Leeming  <leeming@lyx.org>
1038
1039         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1040         'dialog-show-new-inset <inset name>'
1041
1042 2003-12-10  Angus Leeming  <leeming@lyx.org>
1043
1044         * buffer.C: up the format to 227.
1045
1046         * factory.C: the box inset is now identified simply by 'Box'.
1047
1048 2003-12-10  Angus Leeming  <leeming@lyx.org>
1049
1050         * buffer.C: up the format to 226.
1051
1052         * factory.C: the note inset is now identified simply by 'Note'.
1053
1054 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1055
1056         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1057         when a pit is enough. Standarize a couple of loops.
1058
1059 2003-12-05  Angus Leeming  <leeming@lyx.org>
1060
1061         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1062         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1063         data to the re-worked "log" dialog.
1064
1065 2003-12-03  André Pönitz  <poenitz@gmx.net>
1066
1067         * PosIterator.C:
1068         * iterators.C:
1069         * lyxtext.h:
1070         * output_latex.C:
1071         * paragraph_funcs.C:
1072         * text.C:
1073         * text2.C: use Inset::getText instead of Inset::getParagraph
1074
1075 2003-12-03  André Pönitz  <poenitz@gmx.net>
1076
1077         * buffer.[Ch]:
1078         * lyxtext.h:
1079         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1080         InsetText::read() as LyXText::read()
1081
1082 2003-12-02  Angus Leeming  <leeming@lyx.org>
1083
1084         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1085         type. Add a comment in the implementation that the function uses
1086         the stream's bad() function rather than fail() as the std::streams
1087         would do.
1088
1089 2003-12-02  André Pönitz  <poenitz@gmx.net>
1090
1091         * lyxlex.[Ch]: make interface more similar to std::stream
1092
1093         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1094
1095 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1096
1097         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1098
1099 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1100
1101         * vspace.[Ch]: remove VSpace::NONE
1102
1103 2003-12-01  André Pönitz  <poenitz@gmx.net>
1104
1105         * buffer.[Ch]:
1106         * lyxtext.h: move ParagraphList member to LyXText
1107         rename LyXText::ownerParagraphs to LyXText::paragraph
1108
1109         * CutAndPaste.C:
1110         * bufferview_funcs.C:
1111         * iterators.[Ch]:
1112         * lyx_cb.C:
1113         * paragraph.C:
1114         * rowpainter.C:
1115         * tabular.C:
1116         * text.C:
1117         * text2.C:
1118         * text3.C: adjust
1119
1120         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1121
1122         * undo.C: fix cursor positioning
1123
1124 2003-12-01  John Levon  <levon@movementarian.org>
1125
1126         * BufferView_pimpl.C: fix a crash on exit with
1127         a buffer open
1128
1129 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1130
1131         * BranchList.C: fix setSelected() method.
1132
1133 2003-11-28  André Pönitz  <poenitz@gmx.net>
1134
1135         * ParagraphParameters.[Ch]:
1136         * ParameterStruct.h: remove space above/below from Paragraph to
1137          InsetVSpace
1138
1139         * BufferView_pimpl.C:
1140         * factory.C:
1141         * lyxfunc.C:
1142         * lyxtext.h:
1143         * output_latex.C:
1144         * paragraph.C:
1145         * paragraph_funcs.C:
1146         * rowpainter.[Ch]:
1147         * text.C:
1148         * text2.C:
1149         * text3.C: adjust
1150
1151 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1152
1153         * factory.C: Syntax change for CharStyles
1154
1155 2003-11-28  André Pönitz  <poenitz@gmx.net>
1156
1157         * BufferView.[Ch]:
1158         * BufferView.[Ch]:
1159         * buffer.[Ch]:
1160         * buffer.[Ch]: move LyXText member
1161
1162 2003-11-28  André Pönitz  <poenitz@gmx.net>
1163
1164         * BufferView.[Ch]: make LyXText * text a private member
1165
1166         * BufferView_pimpl.C:
1167         * cursor.C:
1168         * iterators.C:
1169         * lyx_cb.C:
1170         * lyxfind.C:
1171         * lyxtext.h:
1172         * rowpainter.[Ch]:
1173         * text.C:
1174         * text2.C:
1175         * undo.C: adjust
1176
1177         * output_plaintext.C: cleanup
1178
1179 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1180
1181         * buffer.C:
1182         * lyxtextclass.[Ch]: parametrize SGML document header
1183
1184 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1185
1186         * converter.[Ch]:
1187         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1188         getFlavor().
1189
1190 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1191
1192         * text2.C (setFont): rework using PosIterator (no more recursive)
1193         (setCharFont): no more needed
1194         (setLayout): no more selection cursors fiddling (done by redoCursor)
1195         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1196         destroy remaining ones)
1197
1198 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1199
1200         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1201         * lyxtext.h: ditto
1202         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1203         selection cursors
1204         * lyxfunc.C: adjust
1205         * text3.C: adjust + re-allow multi par depth changes
1206         * textcursor.C: simplify a bit
1207
1208 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1209
1210         * src/buffer.C:
1211         * src/lyxlayout.C:
1212         * src/lyxlayout.h:
1213         * src/lyxtext.h:
1214         * src/output_docbook.C:
1215         * src/output_latex.C:
1216         * src/paragraph.C:
1217         * src/paragraph.h:
1218         * src/sgml.C:
1219         * src/sgml.h:
1220         * src/text2.C: Introducing a number of tags parametrizing various
1221         XML formats that we may want to support
1222
1223 2003-11-25  André Pönitz  <poenitz@gmx.net>
1224
1225         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1226
1227         * lyxtext.h (leftMargin/rightMargin): simplify interface
1228
1229         * rowpainter.C:
1230         * text.C:
1231         * text2.C:
1232         * text3.C: adjust
1233
1234 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1235
1236         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1237         master file to any child files. Fixes bug 546.
1238
1239 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1240
1241         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1242
1243 2003-11-24  André Pönitz  <poenitz@gmx.net>
1244
1245         * rowpainter.C: simplification
1246
1247         * text2.C (updateCounters): remove call to redoParagraph on
1248         changed labels as this is far too expensive.
1249
1250 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1251
1252         * converter.C (convert): fix a crash: this function gets
1253         called with buffer == 0 from importer code.
1254
1255 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1256
1257         * text3.C (cursorPrevious): make sure that we do not compare
1258         iterators form different containers.
1259         (cursorNext): ditto
1260
1261         * rowpainter.C (paintSelection): make sure that we do not compare
1262         iterators from different containers.
1263
1264         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1265         iterators from different ParagraphList containers.
1266         [NEXT] ditto
1267
1268         * text2.C (LyXText): change order of initialization slightly
1269         (operator=): new function. copy all variables except cache_par_
1270         (moveUp): make sure that we do not compare iterators from
1271         different ParagraphList constainers.
1272         (moveDown): ditto
1273
1274         * text.C (firstPar): new function
1275         (lastPar): new function
1276         (endPar): new function
1277
1278         * lyxtext.h: move things around and group public functions, public
1279         variables, private functions, private variables
1280
1281 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1282
1283         * factory.C: change call to InsetERT constructor to avoid
1284         additional invocation of method status
1285         * text2.C (toggleInset): remove redundant update() call
1286         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1287         instead of a Bufferview pointer
1288
1289 2003-11-21  André Pönitz  <poenitz@gmx.net>
1290
1291         * rowpainter.C: simplification
1292
1293 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1294
1295         * text3.C (dispatch): make possible to extend a word/row selection
1296         with the mouse
1297
1298 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1299
1300         * lyxtext.h: x0_,y0_ -> xo_,yo_
1301         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1302         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1303         * rowpainter.C (paintRows): paint full paragraphs
1304
1305 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1306
1307         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1308         screen coordinates)
1309
1310 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1311
1312         * lyxtext.h: add x0_, y0_
1313         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1314         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1315
1316 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * text2.C (setCursorIntern): move the x_target update here *
1319         * text3.C: change some bv() to true/false in calls to
1320         cursorUp/Down/Right/Left
1321         * cursor.C: use helper function.
1322
1323 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1324
1325         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1326         * paragraph_funcs.[Ch]: correct comment
1327         * rowpainter.C: do not paint selections away from bv->cursor()
1328         Fix a long standing selection painting bug.
1329         * text3.C: generalize mouse-selection code to LyXTexts other that
1330         top one
1331         * textcursor.C: do not use y coords if we can use par offsets
1332
1333 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1334
1335         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1336         cursor position after e.g. inset insert)
1337
1338 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1339
1340         * lyxfind.C (replace): adjust to locking removal + some
1341         code simplification
1342
1343 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1344
1345         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1346         of the path
1347
1348 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1349
1350         * lyxlayout.[Ch]:
1351         * output_docbook.C: XML sanitation: new layout
1352         parameters InnerTag and CommandDepth
1353
1354 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1355
1356         * BufferView_pimpl.C:
1357         * factory.C:
1358         * text3.C: Fix the insertion and modification of button-style
1359         insets
1360
1361 2003-11-13  André Pönitz  <poenitz@gmx.net>
1362
1363         * InsetList.[Ch]: remove deleteLyXText
1364
1365         * paragraph.[Ch]: cache beginOfBody position
1366
1367         * Bidi.C:
1368         * text.C:
1369         * text2.C:
1370         * text3.C: remove superfluous update() calls
1371
1372         * vspace.C: cleanup
1373
1374 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1375
1376         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1377         * BufferView.C (fitLockedInsetCursor): remove
1378         * cursor.[Ch] (getDim): add
1379         * text.C (getRowNearY): add faster version
1380         * text3.C: remove some update calls
1381
1382 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1383
1384         * LaTeXFeatures.C:
1385         * LyXAction.C:
1386         * MenuBackend.C:
1387         * MenuBackend.h:
1388         * dispatchresult.h:
1389         * factory.C:
1390         * lfuns.h:
1391         * lyxfunc.C:
1392         * lyxtextclass.C:
1393         * lyxtextclass.h:
1394         * text3.C: The Character Style /XML short element patch.
1395
1396 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1397
1398         * text3.C:
1399         * factory.C: Small step to solving 'unable to insert some insets'
1400         problem
1401
1402 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1403
1404         * cursor.[Ch] (updatePos): new function for updating the y
1405         position of the tip inset
1406         * bufferview_funcs.C (put_selection_at):
1407         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1408
1409 2003-11-11  André Pönitz  <poenitz@gmx.net>
1410
1411         * text.C: remove big comment on invalid Paragraph pointers as it is
1412         not valid anymore
1413
1414 2003-11-11  André Pönitz  <poenitz@gmx.net>
1415
1416         * text_funcs.[Ch]: merge with ...
1417
1418         * text.C: ... this
1419
1420         * lyxtext.h:
1421         * text2.C:
1422         * text3.C: adjust
1423
1424         * Makefile.am: remove text_funcs.[Ch]
1425
1426 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1427
1428         * cursor.C (getPos): return absolute cached y coord
1429
1430         * BufferView_pimpl.C (fitCursor): new simplistic code
1431         (workAreaDispatch): add a fitCursor call
1432
1433 2003-11-10  André Pönitz  <poenitz@gmx.net>
1434
1435         * BufferView.[Ch]:
1436         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1437
1438 2003-11-10  André Pönitz  <poenitz@gmx.net>
1439
1440         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1441         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1442         indicate that the cursor needs to leave an inset
1443
1444         * lyxtext.h: remove inset locking
1445
1446         * cursor.[Ch]: re-implement functionality provided by inset locking
1447
1448         * BufferView.[Ch]:
1449         * BufferView_pimpl.[Ch]:
1450         * LyXAction.C:
1451         * bufferview_funcs.[Ch]:
1452         * factory.C:
1453         * funcrequest.[Ch]:
1454         * iterators.C:
1455         * lyx_cb.C:
1456         * lyxfind.C:
1457         * lyxfunc.C:
1458         * text.C:
1459         * text2.C:
1460         * text3.C:
1461         * undo.C: adjust
1462
1463 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1464
1465         * PosIterator.[Ch]: replace the stack with a vector, add inset
1466         accesor
1467         * iterators.[C]: adjust
1468
1469 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1470
1471         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1472         replaced
1473         * paragraph_funcs.C (readParToken): put the correct id in the
1474         error item, not the id of the top paragraph
1475
1476 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1477
1478         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1479         * bufferview_funcs.C (put_selection_at): use the above
1480
1481 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1482
1483         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1484
1485 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1486
1487         * output_linuxdoc.h:
1488         * output_plaintext.h:
1489         * output.h:
1490         * output_docbook.h: add #include statements
1491
1492 2003-11-05  José Matos  <jamatos@lyx.org>
1493
1494         * output_docbook.[Ch]:
1495         * output_latex.[Ch]:
1496         * output_linuxdoc.[Ch]:
1497         * output_plaintext.[Ch]: New files for output formats.
1498         * output.[Ch]: New file for helper functions.
1499
1500         * buffer.[Ch]:
1501         * paragraph_funcs.[Ch]: output functions moved to new files.
1502
1503         * outputparams.h: rename of latexrunparams.h
1504
1505         * LaTeX.[Ch]:
1506         * buffer.[Ch]:
1507         * bufferlist.[Ch]:
1508         * converter.[Ch]:
1509         * exporter.C:
1510         * paragraph.[Ch]:
1511         * paragraph_funcs.[Ch]:
1512         * paragraph_pimpl.[Ch]:
1513         * tabular.[Ch]: rename ascii to plaintext
1514         and LatexRunParams to OutputParams.
1515
1516 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1517
1518         * iterators.[Ch] (text): require bv argument
1519         * undo.C (recordUndo):
1520         * lyxfunc.C (dispatch):
1521         * bufferview_funcs.C (put_selection_at): adjust
1522
1523 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1524
1525         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1526
1527 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1528
1529         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1530         nestings
1531
1532 2003-11-04  André Pönitz  <poenitz@gmx.net>
1533
1534         * cursor.[Ch]: restructure
1535
1536         * BufferView.[Ch]:
1537         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1538
1539         * iterators.[Ch] (asCursor): remove
1540
1541         * lfuns.h: remove LFUN_INSET_EDIT
1542
1543         * lyxfunc.C:
1544         * tabular.C:
1545         * text.C:
1546         * text2.C:
1547         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1548
1549 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1550
1551         * lyxfind.[Ch]: complete overhaul
1552         * BufferView_pimpl.C:
1553         * lyxfunc.C: adjust
1554         * paragraph.[Ch] (insert): add
1555
1556 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1557
1558         * BufferView.[Ch]:
1559         * lyxtext.h:
1560         * text.C: remove dead spellcheck code
1561
1562 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1563
1564         * dispatchresult.h: add a val setter
1565
1566         * cursor.C (dispatch): use a tempvar for data_[i]
1567
1568 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1569
1570         * PosIterator.[Ch]: compile fix
1571
1572 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1573
1574         * text.C (cursorPar): deactivate the cursor cache
1575
1576 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1577
1578         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1579
1580 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1581
1582         * text3.C (dispatch): adjust for new DisptchResult semantics.
1583
1584         * lyxfunc.C (dispatch): handle update when return from
1585         Cursor::dispatch, adjust for new DispatchResult semantics.
1586
1587         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1588         DispatchResult(true) mean to not update. Add class functions for
1589         setting dispatched and update, as well as reading.
1590
1591         * cursor.C (dispatch): don't handle update here
1592
1593 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1594
1595         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1596         * trans_mgr.C: adjust
1597
1598         * paragraph_funcs.C (readParToken): exception safety
1599
1600         * lyxvc.h: store the vcs pointer in a scoped_ptr
1601         * lyxvc.C: adjust
1602
1603         * lyxsocket.C (serverCallback): exception safety
1604
1605         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1606
1607         * ispell.C (clone): make it return a auto_ptr
1608
1609         * factory.C (createInset): exception safety
1610         (readInset): exception safety
1611
1612         * bufferlist.C (newBuffer): exception safety
1613
1614         * Thesaurus.C (Thesaurus): use initialization for aik_
1615
1616         * MenuBackend.C (expandToc): exception safety.
1617
1618 2003-11-03  André Pönitz  <poenitz@gmx.net>
1619
1620         * buffer.C:
1621         * buffer.h:
1622         * bufferview_funcs.C: remove getInsetFromId()
1623
1624         * lyxcursor.[Ch]:
1625         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1626
1627         * lyxfunc.C:
1628         * text2.C:
1629         * text3.C: adjust
1630
1631 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1632
1633         * PosIterator.C (distance, advance): new
1634         * bufferview_funcs.[Ch] (put_selection_at): new
1635         * iterators.[Ch] (lockPath): new
1636
1637 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1638
1639         * iterators.[Ch] (asPosIterator): added
1640         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1641         * PosIterator.[Ch]: added
1642
1643 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1644
1645         * text3.C:
1646         * lyxfunc.C:
1647         * cursor.C (dispatch):
1648         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1649
1650         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1651         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1652         contructor, add a class function dispatched. Remove operator>=
1653
1654 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1655
1656         * debug.C: only use the default constructor for debugstream
1657         (lyxerr) here.
1658
1659         * main.C (main): include debug.h and setup the lyxerr streambuf
1660         here.
1661
1662 2003-10-31  José Matos  <jamatos@lyx.org>
1663
1664         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1665
1666         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1667         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1668         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1669         * paragraph_pimpl.C (simpleTeXSpecialC):
1670         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1671         add LatexRunParams argument.
1672
1673         * exporter.C (Export): change call accordingly.
1674
1675         * latexrunparams.h: add new member to take care of the other backends.
1676 2003-10-30  José Matos  <jamatos@lyx.org>
1677
1678         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1679         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1680         factorise code for paragraph output.
1681         * buffer.[Ch]:
1682         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1683         move functions.
1684
1685 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1686
1687         * text3.C (dispatch):
1688         * lyxfunc.C (dispatch):
1689         * cursor.C (dispatch):
1690         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1691
1692         * dispatchresult.h: make the dispatch_result_t ctor explicit
1693
1694 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1695
1696         * sgml.[Ch]:
1697         * buffer.C: small refactoring of docbook stuff
1698
1699 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1700
1701         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1702         meaning.
1703
1704 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1705
1706         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1707         operator dispatch_result_t, and operators for == != and >=
1708
1709         * cursor.C (dispatch): adjust for operator dispatch_result_t
1710         removal. comment out call to update
1711
1712         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1713
1714 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1715
1716         * text3.C:
1717         * text2.C:
1718         * text.C:
1719         * lyxtext.h:
1720         * lyxfunc.C:
1721         * cursor.C:
1722         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1723         (dispatch):
1724
1725         * dispatchresult.h: new file, DispatchResult broken out of
1726         insets/insetbase.h
1727
1728         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1729
1730 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1731
1732         * text.C (rowBreakPoint): put a hack inside #if 0
1733
1734 2003-10-28  André Pönitz  <poenitz@gmx.net>
1735
1736         * lyxtext.h:
1737         * metricsinfo.C:
1738         * paragraph_funcs.C:
1739         * rowpainter.C:
1740         * text.C:
1741         * text2.C: general cleanup (lots of small stuff)
1742
1743 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1744
1745         * text2.C (cursorEnd): simple fix to the "end key goes to one
1746         before the end on last row" bug
1747
1748 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1749
1750         * text.C (backspace): fix the "zombie characters"
1751
1752 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1753
1754         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1755
1756 2003-10-27  André Pönitz  <poenitz@gmx.net>
1757
1758         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1759
1760         * factory.C: handle new InsetPagebreak, InsetLine
1761
1762         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1763         and move handling into new InsetPagebreak, InsetLine
1764
1765         * BufferView_pimpl.C:
1766         * LyXAction.C:
1767         * ParagraphParameters.C:
1768         * ParameterStruct.h:
1769         * lyxfunc.C:
1770         * lyxtext.h:
1771         * paragraph.C:
1772         * paragraph.h:
1773         * paragraph_funcs.C:
1774         * paragraph_pimpl.C:
1775         * rowpainter.C:
1776         * text.C:
1777         * text2.C:
1778         * text3.C: adjust
1779
1780 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1781
1782         * text.C:
1783         * lyxrow_funcs.[Ch]:
1784         * Bidi.C:
1785         * paragraph.C:
1786         * lyxtext.h:
1787         * rowpainter.C:
1788         * text2.C:
1789         * text3.C: remove lastPos uses in favour of Row::endpos
1790
1791 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1792
1793         * undo.C (performUndoOrRedo): fix two crashes by setting a
1794         cursor by hand and reordering some calls. Use bv->lockInset instead
1795         of inset->edit because the latter loses cursor information
1796
1797 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1798
1799         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1800         by Martin
1801         (rowBreakPoint): fix width. change point to point + 1.
1802         Add a missing check.
1803
1804 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1805
1806         * MenuBackend.C:
1807         * lyxfunc.C: fix (at least partly) the problems
1808         with the Nav menu and headers inside branch insets
1809         reported by Kayvan
1810
1811 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1812
1813         * paragraph.C (getChar): add strong asserts
1814
1815         * lyxrow_funcs.C (lastPos): remove hideous hack
1816
1817         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1818         (fill): adjust to that (avoid an infinite loop)
1819
1820 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1821
1822         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1823
1824 2003-10-23  André Pönitz  <poenitz@gmx.net>
1825
1826         * RowList_fwd.h: change list<> to vector<> to gain speed
1827         after suggestion from Alfredo
1828
1829 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1830
1831         * lyxtext.h: move the bidi stuff from here...
1832         * text.C: and here
1833         * text2.C: and here
1834         * Bidi.[Ch]: ... to here
1835
1836 2003-10-23  André Pönitz  <poenitz@gmx.net>
1837
1838         * lyxtext.h:
1839         * text.C (isLastRow, isFirstRow): new functions
1840
1841         * paragraph.h: new width cache member
1842
1843         * rowpainter.C: replace RowList::iterator with Row & where possible
1844
1845         * lyxfunc.C: replace several view()->text with a single call
1846
1847         * toc.C: fix 'unused' warning
1848
1849 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1850
1851         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1852         when woring with stream::pos_type
1853         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1854
1855 2003-10-22  André Pönitz  <poenitz@gmx.net>
1856
1857         * lyxtext.h:
1858         * text.C: use Row & instead of RowList::iterator
1859
1860         * lyxrow.h: rename end() to endpos()
1861
1862         * rowpainter.C:
1863         * text.C:
1864         * text2.C: adjust
1865
1866 2003-10-22  Angus Leeming  <leeming@lyx.org>
1867
1868         * buffer.[Ch] (fully_loaded): new member function, returning true
1869         only when the file has been loaded fully.
1870         Used to prevent the premature generation of previews and by the
1871         citation inset to prevent computation of the natbib-style label.
1872
1873         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1874         templates are all set up.
1875
1876         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1877
1878 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1879
1880         * text.C: fixed an "oops" in the "is a bit silly"
1881         bug fix
1882
1883 2003-10-21  André Pönitz  <poenitz@gmx.net>
1884
1885         * FuncStatus.[Ch]: small stuff, whitespace
1886
1887         * lyxfont.[Ch]: operator<<() for debug reasons
1888
1889         * lyxfunc.C:
1890         * lyxrow_funcs.C:
1891         * lyxtext.h: whitespace, spelling
1892
1893         * paragraph.C: naming of variables
1894
1895         * text.C:
1896         * text2.C: small stuff
1897
1898
1899 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1900
1901         * text.C: (1) finish off the inset display() work;
1902         (2) fix the "is a bit silly" bug (accessing char
1903         past end of par).
1904
1905 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1906
1907         * text.C: re-introduce display() for insets, fixing the
1908         various bugs (stretch of line above, math inset
1909         positioning, ...)
1910
1911 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1912
1913         * text.C (rightMargin): remove spurious semicolon
1914
1915         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1916         1415)
1917
1918 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1919
1920         * text3.C: fix one crash due to wrong cursor def
1921
1922 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1923
1924         * vc-backend.C (scanMaster): make the regex static
1925
1926         * LaTeX.C (scanAuxFile): make the regexs static
1927
1928         * text3.C (doInsertInset, dispatch, dispatch):
1929         * text2.C (cursorUp, cursorDown):
1930         * text.C (selectNextWordToSpellcheck):
1931         * BufferView_pimpl.C (dispatch):
1932         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1933
1934 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1935
1936         * lyxsocket.C: include <cerrno>
1937
1938 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1939
1940         * lyxfunc.C (dispatch): remove textcache stuff
1941
1942         * bufferlist.C (release): remove textcache stuff
1943         (closeAll): ditto
1944
1945         * TextCache.C: delete file
1946         * TextCache.h: delete file
1947
1948         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1949
1950         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1951         delete of the bv_->text.
1952         (resizeCurrentBuffer): remove texcache stuff
1953         (workAreaResize): ditto
1954
1955 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1956
1957         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1958         action.
1959
1960 2003-10-16  André Pönitz  <poenitz@gmx.net>
1961
1962         * lyxrow.[Ch]:
1963         * paragraph.h:
1964         * rowpainter.C:
1965         * text.C:
1966         * text2.C:
1967         * text3.C: speed up by storing y positions per paragraph plus per-row
1968         offset instead of having a 'full' y position in the row.
1969
1970 2003-10-15  André Pönitz  <poenitz@gmx.net>
1971
1972         * iterators.[Ch]:
1973         * iterators.[Ch]:
1974         * undo.[Ch]: make undo aware of inner insets
1975
1976 2003-10-14  Angus Leeming  <leeming@lyx.org>
1977
1978         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1979         static member functions LyX::ref() and LyX::cref.
1980         (lastfiles): new accessor functions for the new lastfiles_ member var.
1981         (addLyXView, views_): add a new LyXView to the list of views_.
1982         (updateInset): loop over all LyXViews to call their own updateInset
1983         member function, returning a pointer to the Buffer owning the inset.
1984
1985         * BufferView_pimpl.C (loadLyXFile):
1986         * MenuBackend.C (expandLastfiles):
1987         * bufferlist.C (MenuWrite, QuitLyX):
1988         lastfiles is no longer a global variable.
1989         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1990
1991         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1992         static function. Access through LyX::cref().emergencyCleanup().
1993
1994 2003-10-14  André Pönitz  <poenitz@gmx.net>
1995
1996         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1997
1998         * undo.[Ch]: restoring part of 'undo in insets'
1999
2000         * Makefile.am:
2001         * undo_funcs.[Ch]: merge with undo.[Ch]
2002
2003         * tabular.C: small cleansing stuff
2004
2005 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2006
2007         * paragraph_funcs.C (readParToken): report unknown insets as error
2008         boxes. Use the outer paragraph as location (also for unknown
2009         tokens).
2010
2011         * factory.C (readInset): do not abort on reading an unknown inset.
2012         Eat it and return 0.
2013
2014 2003-10-13  Angus Leeming  <leeming@lyx.org>
2015
2016         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2017
2018         * lyxrc.C: displayTranslator is now a function,
2019         declared in GraphicsTypes.h.
2020
2021 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2022
2023         * format.C: new placeholder $$a to pass the socket address.
2024
2025         * bufferlist.[Ch]: new function getBufferFromTmp.
2026
2027         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2028           files in the temporary dir.
2029
2030 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2031
2032         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2033
2034         * Makefile.am: add lyxsocket.[Ch].
2035
2036         * lyx_main.C (error_handler): handle SIGPIPE.
2037
2038 2003-10-13  André Pönitz  <poenitz@gmx.net>
2039
2040         * BufferView_pimpl.C:
2041         * lyxtext.h:
2042         * text.C:
2043         * text2.C:
2044         * text3.C:
2045         * undo_funcs.[Ch]: use paroffset_type instead of
2046           ParagraphList::iterators to prevent multiple conversion
2047           (and get a more robust interface)
2048
2049 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2050
2051         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2052         * lyxtext.h: ditto
2053         * text3.C (dispatch): ditto
2054
2055 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2056
2057         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2058         move the onlyfile, use onlyfile instead of foundfile in a couple
2059         of places.
2060
2061         * DepTable.C (update): flush the error stream a bit more
2062
2063 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2064
2065         * lyxserver.C (callback): adjust
2066
2067         * lyxfunc.C (getStatus): add a missing brace in commented code
2068         (ensureBufferClean): reindent
2069         (dispatch): delete version taking a string
2070
2071 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2072
2073         * LaTeX.C (deplog): move found file handlig from here...
2074         (handleFoundFile): .. to new function here.
2075         (deplog): make sure to discover several files mentioned on the
2076         same log line.
2077
2078 2003-10-10  André Pönitz  <poenitz@gmx.net>
2079
2080         * lyxfunc.C:
2081         * lyxtext.h:
2082         * tabular.C:
2083         * text.C:
2084         * text2.C:
2085         * text3.C: fix some of the tabular crashes
2086
2087 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2088
2089         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2090
2091         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2092
2093 2003-10-09  André Pönitz  <poenitz@gmx.net>
2094
2095         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2096
2097         * BufferView.C:
2098         * BufferView_pimpl.C:
2099         * bufferview_funcs.C:
2100         * lyx_cb.C:
2101         * lyxcursor.C:
2102         * lyxfind.C:
2103         * lyxfunc.C:
2104         * lyxtext.h:
2105         * text.C:
2106         * text2.C:
2107         * text3.C:
2108         * text_funcs.[Ch]:
2109         * textcursor.[Ch]:
2110         * undo_funcs.C: adjust
2111
2112 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2113
2114         * text2.C (incrementItemDepth): new function, use a backtracking
2115         algorithm to discover the correct item depth.
2116         (resetEnumCounterIfNeeded): new function, use a backtracking
2117         algorithm to discover if counter reset is needed.
2118         (setCounter): use them. Simplify a bit. Add different labels for
2119         different item depths for itemize.
2120
2121         * paragraph.C (Paragraph): remove initialization of enumdepth
2122         (operator=): ditto
2123
2124         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2125         enumerate and itemize. Change the type of itemdepth to signed char.
2126
2127 2003-10-08  André Pönitz  <poenitz@gmx.net>
2128
2129         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2130           thing assignable.
2131         * text.C:
2132         * text2.C: adjust
2133
2134         * tabular.[Ch]: fix crash after 'row-insert'
2135
2136 2003-10-08  Angus Leeming  <leeming@lyx.org>
2137
2138         Fix doxygen warnings.
2139
2140         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2141         Remove CutAndPaste:: prefix from header file declaration.
2142
2143         * LColor.h (fill): remove LColor:: prefix from declaration.
2144
2145         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2146         use lyx::depth_type rather than Paragraph::depth_type so that
2147         header file and .C file match.
2148
2149         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2150
2151         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2152         * aspell.C: \file aspell_local.C -> \file aspell.C
2153         * gettext.C: \file gettext.C -> \file src/gettext.C
2154         * gettext.h: \file gettext.h -> \file src/gettext.h
2155         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2156         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2157         * text.C: \file text.C -> \file src/text.C
2158
2159         * toc.C: move comment so that doxygen is not confused.
2160
2161 2003-10-07  Angus Leeming  <leeming@lyx.org>
2162
2163         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2164
2165 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2166
2167         * aspell.C:
2168         * aspell_local.h: add forgotten std::string's.
2169
2170 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2171
2172         * LaTeXFeatures.C:
2173         * LyXAction.C:
2174         * factory.C:
2175         * lfuns.h:
2176         * lyxfunc.C:
2177         * text3.C: The Box patch. Fancybox support, minipage, parbox
2178
2179 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2180
2181         * CutAndPaste.h:
2182         * DepTable.h:
2183         * FloatList.h:
2184         * LaTeXFeatures.h:
2185         * ParagraphParameters.h:
2186         * TextCache.h:
2187         * Thesaurus.h:
2188         * bufferlist.h:
2189         * exporter.h:
2190         * importer.h:
2191         * lastfiles.h:
2192         * lyxfind.h:
2193         * lyxfont.h:
2194         * lyxlex.h:
2195         * lyxtextclasslist.h:
2196         * messages.h:
2197         * paragraph.h:
2198         * paragraph_pimpl.C:
2199         * textcursor.h: add <string> and other small fixes to make Lars'
2200         std::string patch compile with STLport.
2201
2202 2003-10-06  Angus Leeming  <leeming@lyx.org>
2203
2204         * LColor.h: Add missing #include <string>.
2205
2206 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2207
2208         * All most all file in all subdirs: Make <string> be the prefered
2209         way of getting to std::string, add using declarations.
2210
2211 2003-10-06  André Pönitz  <poenitz@gmx.net>
2212
2213         * metricsinfo.C: initialize LyXFont before changing attribute.
2214         (fixes the 'math in \emph is upright' bug)
2215
2216 2003-10-06  André Pönitz  <poenitz@gmx.net>
2217
2218         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2219
2220 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2221
2222         * graph.C:
2223         * paragraph_pimpl.C: Small fixes to build using STLport
2224
2225 2003-10-02  André Pönitz  <poenitz@gmx.net>
2226
2227         * lyxfunc.C:
2228         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2229
2230 2003-10-01  André Pönitz  <poenitz@gmx.net>
2231
2232         * factory.C: assert early
2233
2234 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2235
2236         * lyx_main.C: remove the global debug object
2237
2238         * debug.h: adjust for new debugstream
2239
2240         * debug.C: adjust for new debugstream and keep the global debug
2241         object here.
2242
2243 2003-09-22  Angus Leeming  <leeming@lyx.org>
2244
2245         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2246         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2247         an incomplete class LyXFont.
2248
2249 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2250
2251         * factory.C: bug fix in branches
2252
2253 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2254
2255         * lyxfunc.C (processKeySym): adjust
2256         (dispatch): adjust
2257         (dispatch): change arg name from ev to func, adjust
2258         (sendDispatchMessage): ditto
2259
2260         * lyx_main.C (defaultKeyBindings): adjust keybindings
2261         (deadKeyBindings): ditto
2262
2263         * kbsequence.C (addkey): return a FuncRequest
2264
2265         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2266
2267         * kbmap.C (bind): take a FuncRequest as arg, adjust
2268         (read): adjust
2269         (lookup): adjust
2270         (defkey): change to take a FuncRequest as arg, adjust
2271         (findbinding): take a FuncRequest as arg, adjust.
2272
2273         * funcrequest.h (operator=): added
2274
2275         * funcrequest.C (FuncRequest): default kb_action changed from
2276         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2277
2278         * buffer.C (dispatch): simplify
2279         (dispatch): adjust to take a FuncRequest as arg, adjust
2280
2281         * boost.C (assertion_failed): change assertion message slightly
2282
2283         * ToolbarBackend.C (read): simplify
2284
2285         * MenuBackend.C (binding): adjust call to findbinding, add a
2286         message if no binding is found.
2287         (read): simplify
2288         (expandToc): correct by adding a empty FuncRequest
2289
2290         * LyXAction.C: include <boost/assert.hpp>
2291         (isPseudoAction): delete function
2292         (LookupFunc): change name to...
2293         (lookupFunc): this. change return type to FuncRequest.
2294         (getActionName): take kb_action as arg, simplify
2295         (funcHasFlag): add an assert, simplify.
2296
2297 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2298
2299         * toc.C (action): return a FuncRequest, simplify
2300
2301         * lyxfunc.C (processKeySym): adjust
2302         (getStatus): delete version that takes an int.
2303         (getStatus): adjust
2304         (dispatch): delete version that takes action as int
2305         (dispatch): adjust
2306         (sendDispatchMessage): simplify and adjust
2307
2308         * funcrequest.C (getArg): take unsigned int as arg
2309
2310         * ToolbarBackend.C (read): adjust
2311         (add): delete version that takes func as a string.
2312         (getIton): take a FuncRequest as arg
2313
2314         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2315         action.
2316
2317         * MenuBackend.C (MenuItem): add a new construct that only takes a
2318         Kind, simplify the constructor use for submenus.
2319         (add): adjust
2320         (expandLastfiles): adjust
2321         (expandDocuments): adjust
2322         (expandFormats): adjust
2323         (expandFloatListInsert): adjust
2324         (expandFloatInsert): adjust
2325         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2326
2327         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2328         Remove class variables lyx_pseudo_map and lyx_arg_map
2329
2330         * LyXAction.C (searchActionArg): delete function
2331         (getPseudoAction): delete function
2332         (retrieveActionArg): delete function
2333         (LookupFunc): make it return kb_action, simplify.
2334         (getActionName): simplify
2335
2336         * factory.C (createInset): fix new bug
2337
2338 2003-09-19  Angus Leeming  <leeming@lyx.org>
2339
2340         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2341         masterFilename_ parameter in the include inset.
2342
2343         * factory.C (createInset): changes due to the changes to InsetInclude.
2344
2345 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2346
2347         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2348
2349 2003-09-18  Angus Leeming  <leeming@lyx.org>
2350
2351         * buffer.C:
2352         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2353         Inset::fillWithBibKeys.
2354         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2355
2356 2003-09-18  Angus Leeming  <leeming@lyx.org>
2357
2358         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2359         variables.
2360         (ctor): pass and store a 'Buffer const &'
2361         (buffer): new member function.
2362
2363         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2364         '*this' to the LaTeXFeatures ctor.
2365
2366 2003-09-18  Angus Leeming  <leeming@lyx.org>
2367
2368         * LColor.h:
2369         * lyxfont.C:
2370         * lyxfont.h:
2371         * lyxtext.h:
2372         * text.C: rename EnumLColor as LColor_color.
2373
2374 2003-09-18  Angus Leeming  <leeming@lyx.org>
2375
2376         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2377         remove #include "insets/insetbase.h" from cursor.h.
2378
2379 2003-09-18  Angus Leeming  <leeming@lyx.org>
2380
2381         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2382         InsetOld_code to remove #include "inset.h".
2383
2384         * iterators.C: add #include "insets/inset.h"
2385
2386 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2387
2388         * BufferView.C: remove more locking stuff that apparently doesn't
2389         do anything sensible.
2390
2391 2003-09-16  André Pönitz  <poenitz@gmx.net>
2392
2393         * paragraph.[Ch]:
2394         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2395           performance boost.
2396
2397 2003-09-16  Angus Leeming  <leeming@lyx.org>
2398
2399         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2400
2401         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2402         arg/return type.
2403
2404         * paragraph.h: remove #include "lyxfont.h". Forward declare
2405         LyXFont_size.
2406
2407 2003-09-16  Angus Leeming  <leeming@lyx.org>
2408
2409         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2410         of support/textutils.h.
2411         (isWord): move the contents of support/textutils.h's IsWordChar here.
2412
2413         * buffer.C:
2414         * lyxfind.C:
2415         * rowpainter.C:
2416         * text.C:
2417         * text2.C: add #include "paragraph.h".
2418
2419         * rowpainter.C:
2420         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2421
2422 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2423
2424         * main.C:
2425         * lyx_main.C:
2426         * lyx_cb.C:
2427         * buffer.C:
2428         * LaTeX.C: use namespace alias for lyx::support::os
2429
2430 2003-09-16  Angus Leeming  <leeming@lyx.org>
2431
2432         * bufferparams.C:
2433         * bufferview_funcs.C:
2434         * factory.C:
2435         * lyxfunc.C:
2436         * paragraph_pimpl.C:
2437         * rowpainter.C:
2438         * text.C: add #include "LColor.h".
2439
2440 2003-09-16  Angus Leeming  <leeming@lyx.org>
2441
2442         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2443         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2444         return LyXFont &.
2445         Store the FontBits::color variable as an int rather than as an
2446         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2447         file.
2448
2449         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2450         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2451         string calls together.
2452
2453         * lyxrc.C: add #include "LColor.h".
2454
2455 2003-09-15  Angus Leeming  <leeming@lyx.org>
2456
2457         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2458         a cow_ptr.
2459
2460 2003-09-15  Angus Leeming  <leeming@lyx.org>
2461
2462         * LColor.h: add an EnumLColor wrapper for LColor::color.
2463
2464         * lyxfont.[Ch] (color, setColor, realColor):
2465         * lyxtext.h, text.C (backgroundColor):
2466         pass EnumLColor args to/from the functions, rather than LColor::color
2467         ones.
2468
2469         * lyxfont.h:
2470         * lyxtext.h: forward declare EnumLColor.
2471
2472         * lyx_main.C: add #include "LColor.h".
2473
2474 2003-09-15  Angus Leeming  <leeming@lyx.org>
2475
2476         * .cvsignore: add lyx-gtk.
2477
2478 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * Chktex.C
2481         * LaTeX.C
2482         * LaTeXFeatures.C
2483         * ParagraphParameters.C
2484         * Spacing.C
2485         * buffer.C
2486         * bufferparams.C
2487         * bufferview_funcs.C
2488         * chset.C
2489         * counters.C
2490         * funcrequest.C
2491         * lyxfont.C
2492         * lyxgluelength.C
2493         * lyxlength.C
2494         * paragraph.C
2495         * paragraph_funcs.C
2496         * text3.C
2497         * vc-backend.C: remove usage of STRCONV
2498
2499 2003-09-15  Angus Leeming  <leeming@lyx.org>
2500
2501         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2502         explicitly define the color passed to the painter.
2503
2504 2003-09-15  Angus Leeming  <leeming@lyx.org>
2505
2506         * bufferparams.C (BufferParams): reorder member initializers to avoid
2507         compiler warning.
2508
2509 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2510
2511         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2512         * text.C (updateRowPositions): remove an unusual nop
2513
2514 2003-09-12  André Pönitz  <poenitz@gmx.net>
2515
2516         * BufferView_pimpl.C:
2517         * Bullet.C:
2518         * layout.h:
2519         * lyxfunc.C:
2520         * lyxlayout.[Ch]:
2521         * lyxtextclass.C:
2522         * rowpainter.C:
2523         * text.C:
2524         * text2.C:
2525         * Counters.[Ch]: finish the 'automatic counters' job
2526
2527 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2528
2529         * aspell.C: include <boost/assert.cpp> (compile fix)
2530
2531 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2532
2533         * boost.C (assertion_failed): use lyx::support::abort instead of
2534         assert.
2535
2536 2003-09-10  Angus Leeming  <leeming@lyx.org>
2537
2538         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2539         with their _fwd progeny.
2540
2541 2003-09-09  Angus Leeming  <leeming@lyx.org>
2542
2543         134 files throughtout the source tree: replace 'using namespace abc;'
2544         directives with the appropriate 'using abc::xyz;' declarations.
2545
2546 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2547
2548         * boost.C (emergencyCleanup): moved here from LAssert.c
2549         (assertion_failed): new function, called by BOOST_ASSERT
2550
2551         * several files: change Assert to BOOST_ASSERT
2552
2553 2003-09-09  Angus Leeming  <leeming@lyx.org>
2554
2555         * buffer.[Ch]: Add an Impl class and move Buffer's member
2556         variables into it. As a result move several header files out of
2557         buffer.h.
2558
2559         Add header files to lots of .C files all over the tree as a result.
2560
2561 2003-09-09  Angus Leeming  <leeming@lyx.org>
2562
2563         * buffer.[Ch]: make Buffer's member variables private. Add
2564         accessor functions.
2565
2566         Lots of changes all over the tree as a result.
2567
2568 2003-09-08  Angus Leeming  <leeming@lyx.org>
2569
2570         * graph.C: #include <config.h>.
2571
2572 2003-09-08  Angus Leeming  <leeming@lyx.org>
2573
2574         * BranchList.C:
2575         * BufferView.C:
2576         * BufferView_pimpl.C:
2577         * CutAndPaste.C:
2578         * DepTable.C:
2579         * LaTeX.C:
2580         * LaTeXFeatures.C:
2581         * LyXAction.C:
2582         * MenuBackend.C:
2583         * TextCache.C:
2584         * aspell.C:
2585         * buffer.C:
2586         * bufferlist.C:
2587         * changes.C:
2588         * chset.C:
2589         * converter.C:
2590         * counters.C:
2591         * debug.C:
2592         * graph.C:
2593         * ispell.C:
2594         * lyx_cb.C:
2595         * lyxfind.C:
2596         * lyxfunc.C:
2597         * lyxlex_pimpl.C:
2598         * lyxrc.C:
2599         * lyxrow.C:
2600         * paragraph.C:
2601         * rowpainter.C:
2602         * texrow.C:
2603         * text.C:
2604         * text2.C:
2605         * toc.C: remove redundant using directives.
2606
2607 2003-09-07  Angus Leeming  <leeming@lyx.org>
2608
2609         * LaTeXFeatures.h: remove #include "support/types.h".
2610         * ToolbarBackend.h: remove #include <algorithm>.
2611         * changes.h: remove #include <ctime>.
2612         * debug.h: remove #include <iosfwd>.
2613         * graph.h: remove #include "support/std_string.h".
2614         * lyx_main.h: remove #include <csignal>.
2615         * lyxlex_pimpl.h: remove #include <fstream>.
2616         * sgml.h: remove #include <algorithm>, <utility>.
2617         * toc.h: remove #include "support/std_ostream.h".
2618         Add #include <iosfwd>.
2619
2620 2003-09-07  Angus Leeming  <leeming@lyx.org>
2621
2622         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2623
2624         * converter.h: forward declare LatexRunParams.
2625         * encoding.h: remove #include "lyxrc.h".
2626         * lyxtext.h: remove #include "LColor.h".
2627         * lyxtextclass.h: remove #include "support/types.h".
2628         * trans.h: remove #include "tex-accent.h".
2629         * trans_mgr.h: remove #include "tex-accent.h".
2630         * insets/inset.h: remove #include "support/types.h", <vector>.
2631         * insets/insetcollapsable.h: remove #include "LColor.h".
2632         * insets/insetinclude.h: remove #include "dimension.h".
2633         * insets/insetlatexaccent.h: remove #include "dimension.h".
2634         * insets/insetoptarg.h:: remove #include "insettext.h".
2635         * insets/insettext.h: remove #include "dimension.h",
2636         <boost/shared_ptr.hpp>
2637
2638         * insets/renderers.h: add #include "dimension.h".
2639         * insets/updatableinset.h: add #include "support/types.h".
2640
2641         * many .C files: Associated changes.
2642
2643 2003-09-06  Angus Leeming  <leeming@lyx.org>
2644
2645         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2646         one, inside testInvariant.
2647
2648         * PrinterParams.C: new file.
2649         * PrinterParams.[Ch]: move the function bodies out of line.
2650
2651 2003-09-06  Angus Leeming  <leeming@lyx.org>
2652
2653         * ParagraphParameters.h: forward declare ParameterStruct rather than
2654         including its header file.
2655         (depth): moved out-of-line.
2656
2657 2003-09-06  Angus Leeming  <leeming@lyx.org>
2658
2659         * BufferView_pimpl.h:
2660         * kbmap.h:
2661         * kbsequence.h:
2662         * lyxfunc.h: forward declare LyXKeySym rather than
2663         #include "frontends/LyXKeySym.h".
2664
2665         * BufferView_pimpl.C:
2666         * kbmap.C:
2667         * kbsequence.C:
2668         * lyxfunc.C: associated changes.
2669
2670 2003-09-06  Angus Leeming  <leeming@lyx.org>
2671
2672         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2673         As a result, can remove the #include "insets/inset.h" from BufferView.h
2674
2675 2003-09-06  Angus Leeming  <leeming@lyx.org>
2676
2677         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2678         As a result, can remove the #include "insets/inset.h" from BufferView.h
2679
2680 2003-09-06  Angus Leeming  <leeming@lyx.org>
2681
2682         * buffer_funcs.C:
2683         * buffer.h:
2684         * bufferlist.C:
2685         * BufferView.C:
2686         * bufferview_funcs.C:
2687         * BufferView_pimpl.C:
2688         * CutAndPaste.C:
2689         * lyx_cb.C:
2690         * lyxfunc.C:
2691         * paragraph.h:
2692         * ParagraphParameters.C:
2693         * tabular.C:
2694         * text3.C:
2695         * toc.C:
2696         * undo_funcs.C:
2697         * frontends/controllers/ControlDocument.C:
2698         * insets/insetcaption.C: rearrange the #includes into some sort of
2699         coherent order.
2700
2701         * buffer.h: remove #includes ErrorList.h, undo.h
2702
2703 2003-09-06  Angus Leeming  <leeming@lyx.org>
2704
2705         * support/types.h: add a 'depth_type' typedef, used to store the
2706         nesting depth of a paragraph.
2707
2708         * paragraph.h:
2709         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2710         defining explicitly.
2711
2712         * buffer.h:
2713         * paragraph_funcs.h:
2714         * ParagraphParameters.h:
2715         * sgml.h: use lyx::depth_type rather than Paragraph or
2716         ParameterStruct's depth_type.
2717
2718         * buffer.h
2719         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2720
2721         * BufferView.C:
2722         * BufferView_pimpl.C:
2723         * CutAndPaste.C:
2724         * ParagraphParameters.C:
2725         * buffer_funcs.C:
2726         * bufferlist.C:
2727         * bufferview_funcs.C:
2728         * lyx_cb.C:
2729         * lyxfunc.C:
2730         * tabular.C:
2731         * text3.C:
2732         * toc.C:
2733         * undo_funcs.C:
2734         * frontends/LyXView.C:
2735         * frontends/controllers/ControlDocument.C:
2736         * frontends/controllers/ControlErrorList.C:
2737         * insets/insetbibitem.C:
2738         * insets/insetbranch.C:
2739         * insets/insetcaption.C:
2740         * insets/insetcollapsable.C:
2741         * insets/insetenv.C:
2742         * insets/insetert.C:
2743         * insets/insetfloat.C:
2744         * insets/insetfoot.C:
2745         * insets/insetfootlike.C:
2746         * insets/insetnewline.C:
2747         * insets/insetquotes.C:
2748         * insets/insettabular.C:
2749         * insets/insettext.C:
2750         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2751
2752         * frontends/controllers/ControlChanges.C: #include "changes.h".
2753
2754 2003-09-06  Angus Leeming  <leeming@lyx.org>
2755
2756         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2757         than #including paragraph.h.
2758
2759         * ParagraphList.h:
2760         * RowList.h: deleted. Superfluous.
2761
2762         * CutAndPaste.h:
2763         * iterators.h:
2764         * lyxcursor.h:
2765         * lyxtext.h:
2766         * text_funcs.h:
2767         * undo.h:
2768         * undo_funcs.h:
2769         * insets/inset.h:
2770         * insets/insettext.h: use ParagraphList_fwd.h rather than
2771         ParagraphList.h.
2772
2773         * paragraph.h: don't forward declare ParagraphList.
2774
2775         * buffer.h:
2776         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2777         rather than ParagraphList.h. paragraph.h is still needed for the
2778         Paragraph::depth_type parameters.
2779
2780         * textcursor.h: enable it to compile stand-alone in light of the
2781         above changes.
2782
2783         * bufferview_funcs.C:
2784         * iterators.C:
2785         * lyxfunc.C:
2786         * lyxrow_funcs.C:
2787         * paragraph.C:
2788         * rowpainter.C:
2789         * text.C:
2790         * text2.C:
2791         * text3.C:
2792         * text_funcs.C:
2793         * textcursor.C:
2794         * undo.C:
2795         * frontends/controllers/ControlParagraph.C:
2796         * frontends/controllers/ControlTabular.C:
2797         * insets/insetmarginal.C:
2798         * insets/insetminipage.C:
2799         * insets/insetnote.C:
2800         * insets/insetoptarg.C: add header files needed to compile again.
2801
2802 2003-09-06  Angus Leeming  <leeming@lyx.org>
2803
2804         * RowList_fwd.h: new file, forward-declaring Row rather than
2805         #including lyxrow.h.
2806
2807         * lyxrow_funcs.h:
2808         * lyxtext.h:
2809         * paragraph.h:
2810         * insets/insettext.h: use it instead of RowList.h
2811
2812         * bufferview_funcs.C:
2813         * lyxfunc.C:
2814         * lyxrow_funcs.C:
2815         * paragraph.C:
2816         * rowpainter.C:
2817         * text.C:
2818         * text2.C:
2819         * text3.C: #include "RowList.h".
2820
2821 2003-09-05  Angus Leeming  <leeming@lyx.org>
2822
2823         * factory.C (createInset):
2824         * vspace.C (c-tor): replace sscanf call with an istringstream.
2825         * ispell.C: re-add missing HP/UX headers.
2826         * lyxserver.C: re-add missing  os2 headers.
2827
2828 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2829
2830         * BranchList.C:
2831         * graph.C:
2832         * ispell.C:
2833         * lastfiles.C:
2834         * lyx_cb.C:
2835         * lyxserver.C:
2836         * texrow.C:
2837         * text3.C: re-add missing system headers, needed for 2.95.2.
2838
2839 2003-09-05  Angus Leeming  <leeming@lyx.org>
2840
2841         Changes most place everywhere due to the removal of using directives
2842         from support/std_sstream.h.
2843
2844 2003-09-05  Angus Leeming  <leeming@lyx.org>
2845
2846         Replace LString.h with support/std_string.h,
2847         Lsstream.h with support/std_sstream.h,
2848         support/LIstream.h with support/std_istream.h,
2849         support/LOstream.h with support/std_ostream.h.
2850
2851         Changes resulting throughout the tree.
2852
2853 2003-09-05  Angus Leeming  <leeming@lyx.org>
2854
2855         * sgml.h: ensure that the header file can be compiled stand-alone.
2856         * *.C: strip out redundant #includes. (320 in total.)
2857
2858 2003-09-04  Angus Leeming  <leeming@lyx.org>
2859
2860         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2861         here (from getPackages).
2862
2863         * debug.[Ch]: add a new EXTERNAL tag.
2864
2865 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2866
2867         * text2.C (cursorEnd): simplify
2868         (setCursor): adjust
2869         (getColumnNearX): adjust
2870
2871         * text.C (computeBidiTables): adjust
2872         (fill): adjust
2873
2874         * rowpainter.C (paintChars): adjust
2875         (paintSelection): adjust
2876         (paintChangeBar): adjust
2877         (paintText): adjust
2878
2879         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2880         lastPos instead.
2881         (numberOfSeparators): adjust
2882
2883 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2884
2885         * LyXAction.C:
2886         * box.[Ch]:
2887         * lfuns.h:
2888         * lyxfunc.C:
2889         * text3.C: Restricts the mouse click functionality
2890         of insets like bibtex, include, toc and floatlist to the visible
2891         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2892         up the dialogs. Cursor has to be in front of the inset (i.e.
2893         start of row) for this to function.
2894
2895 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2896
2897         * bufferview_funcs.C (currentState): output row information
2898
2899 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2900
2901         * bufferview_funcs.C (currentState): output paragraph position
2902
2903 2003-09-04  Angus Leeming  <leeming@lyx.org>
2904
2905         * FloatList.h: move out #include "Floating.h".
2906         * LaTeX.h: move out #include "DepTable.h".
2907         * LyXAction.h: move out #include "funcrequest.h".
2908         * buffer.h: move out #include "author.h", "iterators.h".
2909         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2910         * lyx_main.h: move out #include "errorlist.h".
2911         * lyxfunc.h: move out #include "FuncStatus.h".
2912         * lyxtext: move out #include "lyxcursor.h".
2913         * paragraph_pimpl.h: move out #include "counters.h".
2914
2915 2003-09-03  Angus Leeming  <leeming@lyx.org>
2916
2917         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2918         preamble_snippets list, enabling us to add snippets to the preamble
2919         only if the snippet was not there already.
2920
2921 2003-09-04  Angus Leeming  <leeming@lyx.org>
2922
2923         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2924
2925 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2926
2927         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2928         update
2929
2930 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2931
2932         * BranchList.C: point fix, earlier forgotten
2933
2934 2003-09-02  Angus Leeming  <leeming@lyx.org>
2935
2936         * box.C (contains): renamed from 'contained' after a fantastic
2937         amount of hot air.
2938
2939 2003-09-02  John Levon  <levon@movementarian.org>
2940
2941         * BufferView.C:
2942         * lyxcursor.h:
2943         * lyxcursor.C:
2944         * lyxfunc.C:
2945         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2946
2947 2003-09-02  John Levon  <levon@movementarian.org>
2948
2949         * text2.C: simplification of cursorEnd(), including partial
2950         fix for bug 1376
2951
2952 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2953
2954         * buffer.C (readFile): add a space
2955
2956 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2957
2958         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2959
2960 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2961
2962         * buffer.C (readFile): new function, take a filename and a
2963         ParagraphList::iterator
2964         (readFile): adjust
2965         (readFile): adjust, make it private. don't use setStream, make
2966         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2967         always contain the filename.
2968
2969         * BufferView.C (insertLyXFile): simplify and make it work for
2970         gzipped files.
2971
2972 2003-08-30  John Levon  <levon@movementarian.org>
2973
2974         * Makefile.am: fix dist (from Kayvan)
2975
2976 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2977
2978         * most files: change to use const Buffer refs
2979
2980 2003-08-27  André Pönitz  <poenitz@gmx.net>
2981
2982         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2983         on top of ownerPar().
2984
2985 2003-08-27  John Levon  <levon@movementarian.org>
2986
2987         * funcrequest.C: properly initialise POD members
2988
2989 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2990
2991         * lyxtext.h (top_y): move top_y from here
2992         * text.C:
2993         * text2.C:
2994         * text3.C:
2995         * BufferView.[Ch]:
2996         * BufferView_pimpl.[Ch]: to here
2997         * frontends/screen.C:
2998         * insets/insettabular.C:
2999         * insets/insettext.C: adjust
3000         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3001
3002 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3003
3004         * BufferView.[Ch]:
3005         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3006
3007 2003-08-26  André Pönitz  <poenitz@gmx.net>
3008
3009         * paragraph_func.[Ch] (outerPar): new function
3010
3011         * paragraph.C:
3012         * paragraph_funcs.C:
3013         * paragraph_funcs.h:
3014         * paragraph_pimpl.C:
3015         * text2.C: remove Inset::par_owner
3016
3017 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3018
3019         * lyxrow_funcs.C:
3020         * lyxtext.h:
3021         * text.C:
3022         * text2.C: eliminates the needFullRow/display() stuff
3023         altogether, putting the logic in metrics/draw in the insets.
3024
3025 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3026
3027         * text2.C (redoParagraphInternal, redoParagraphs):
3028         * text.C (redoParagraph): add a call to updateRowPositions at the
3029         end of each 'metrics-like' call. Remove all others.
3030         (getRow): remove the 'y-computing' version.
3031         (getRowNearY): do not compute nor return the real y. Solve the
3032         'y < 0' problem and simplify.
3033
3034 2003-08-22  Angus Leeming  <leeming@lyx.org>
3035
3036         * *.[Ch]: clean-up of licence and author blurbs.
3037         Also move config.h out of a few .h files and into a few .C files.
3038
3039 2003-08-22  André Pönitz  <poenitz@gmx.net>
3040
3041         * lyxrow.[Ch]: add x_ and *fill_ members
3042
3043         * lyxtext.h:
3044         * text.C:
3045         * rowpainter.C:
3046         * text2.C: adjust/remove prepareToPrint() calls
3047
3048 2003-08-22  André Pönitz  <poenitz@gmx.net>
3049
3050         * lyxrow.[Ch]: add  end_ member
3051
3052         * lyxrow_funcs.C: use LyXRow::end_
3053
3054         * lyxtext.h (singleWidth): add LyXFont parameter
3055
3056         * rowpainter.C:
3057         * text2.C: adjust LyXText::singleWidth() calls
3058
3059         * text.C (redoParagraph): simplify row breaking logic
3060
3061
3062 2003-08-19  André Pönitz  <poenitz@gmx.net>
3063
3064         * funcrequest.C: initialize button_ member
3065
3066         * text3.C:
3067         * rowpainter.[Ch]: interface consolidation
3068
3069 2003-08-18  André Pönitz  <poenitz@gmx.net>
3070
3071         * BufferView.C:
3072         * BufferView_pimpl.C:
3073         * lyxfind.C:
3074         * paragraph_funcs.C:
3075         * rowpainter.C:
3076         * text3.C: remove LyXScreen::draw() and fitCursor calls
3077
3078         * BranchList.h: remove spurious semicolons
3079
3080         * MenuBackend.C: fix branchlist related crash
3081
3082 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3083
3084         * BranchList.[Ch]:
3085         * InsetList.[Ch]:
3086         * LColor.[Ch]:
3087         * LyXAction.C:
3088         * Makefile.am:
3089         * MenuBackend.[Ch]:
3090         * bufferparams.[Ch]:
3091         * factory.C:
3092         * lfuns.h:
3093         * lyxfunc.C:
3094         * text3.C: implements the 'branch inset'
3095         idea. This allows the output of various versions of a document
3096         from a single source version, selectively outputing or suppressing
3097         output of parts of the text.
3098         This implementation contains a 'branch list editor' in a separate
3099         tab of the document settings dialog. Branches are user definable
3100         and have a "display colour" to distinguish them on-screen.
3101
3102         ColorHandler was somewhat cleaned up.
3103         (1) make possible a dynamically growing LColor list by allowing
3104         the graphic context cache to grow along (vector);
3105         (2) eliminate an IMHO unnecessary step in colour allocation.
3106
3107 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3108
3109         * BufferView_pimpl.C: compile fix
3110
3111 2003-08-15  André Pönitz  <poenitz@gmx.net>
3112
3113         * rowpainter.C: remove extra metrics calls
3114
3115         * lyxtext.h: merge the two constructors into a single one,
3116           pass reference to owner's par list
3117
3118         * BufferView_pimpl.C:
3119         * text.C:
3120         * text2.C: adjust
3121
3122 2003-08-15  André Pönitz  <poenitz@gmx.net>
3123
3124         * lyxrow_funcs.[Ch]:
3125         * lyxtext.h:
3126         * paragraph.h:
3127         * paragraph_funcs.C:
3128         * rowpainter.C:
3129         * text.C:
3130         * text2.C:
3131         * text3.C:
3132         * text_funcs.C: split LyXText::rowlist_ into individual
3133         Paragraph::rows_ chunks
3134
3135         * BufferView.[Ch]:
3136         * BufferView_pimpl.[Ch]:
3137         * lyxfind.C:
3138         * lyxtext.h:
3139         * text3.C: remove toggleSelection()
3140
3141 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3142
3143         * bufferlist.C: beautify two alerts (shorter text of buttons)
3144         * buffer.C: Remove redundant ' ' from message
3145         * tabular.h:
3146         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3147         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3148         rename VALIGN_CENTER to VALIGN_MIDDLE
3149
3150 2003-08-11  André Pönitz  <poenitz@gmx.net>
3151
3152         * lyxtext.h (getPar):
3153         * text.C: new function
3154
3155 2003-08-11  André Pönitz  <poenitz@gmx.net>
3156
3157         * Makefile.am:
3158         * tracer.[Ch]: remove unneeded files
3159
3160         * InsetList.[Ch]: remove resizeInsetsLyXText()
3161
3162         * lyxtext.h:
3163         * text.C:
3164         * text2.C:
3165         * text3.C: merge insertParagraphs() and appendParagraph()
3166         remove breakAgain(), update()
3167
3168         * BufferView_pimpl.[Ch]:
3169         * bufferview_funcs.[Ch]:
3170         * lyxfunc.C:
3171         * paragraph.[Ch]:
3172         * rowpainter.C:
3173         * tabular.C: adjust after text & InsetList changes.
3174
3175 2003-08-08  André Pönitz  <poenitz@gmx.net>
3176
3177         * text.C (insertChar, backspace): replace rowlist fiddling
3178         with rebreak of full par
3179
3180         * lyxtext.h:
3181         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3182         checkParagraph, updateInset): removed
3183
3184 2003-08-07  André Pönitz  <poenitz@gmx.net>
3185
3186         * paragraph.C:
3187         * text3.C: merge some LFUN handlers, remove dead code
3188
3189 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3190
3191         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3192
3193 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3194
3195         * text2.C (DEPM): fix part of bug 1255 and 1256
3196
3197 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3198
3199         * BufferView_pimpl.C (workAreaDispatch): change to use
3200         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3201         that are no mouse related.
3202
3203 2003-08-05  André Pönitz  <poenitz@gmx.net>
3204
3205         * BufferView.[Ch]:
3206         * BufferView_pimpl.[Ch]:
3207         * bufferview_funcs.C:
3208         * text2.C:
3209         * text3.C: rip out "deep update"
3210
3211         * textcursor.[Ch] (last_sel_cursor): remove unused member
3212
3213 2003-08-04  André Pönitz  <poenitz@gmx.net>
3214
3215         * BufferView.[Ch]:
3216         * BufferView_pimpl.[Ch]:
3217         * ParagraphParameters.C:
3218         * bufferview_funcs.C:
3219         * lyx_cb.C:
3220         * lyxfind.C:
3221         * lyxfunc.C:
3222         * text.C:
3223         * text2.C:
3224         * text3.C: replace "complicated" BufferView::update(...) calls with
3225         simpler ones.
3226
3227         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3228
3229 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3230
3231         * Makefile.am (lyx_SOURCES): add paper.h
3232
3233 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3234
3235         * Makefile.am: move things around so that both lyx-qt and
3236         lyx-xforms can be built (according to --with-frontend). Then lyx
3237         is a symbolic link to lyx-[firstfrontend]
3238
3239 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3240
3241         * Always use std::endl with lyxerr
3242
3243 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3244
3245         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3246
3247 2003-08-01  André Pönitz  <poenitz@gmx.net>
3248
3249         * BufferView.[Ch]:
3250         * BufferView_pimpl.[Ch]:
3251         * lyxfunc.C:
3252         * text3.C: merge BufferView::repaint() and BufferView::update()
3253
3254 2003-08-01  José Matos  <jamatos@lyx.org>
3255
3256         * buffer.[Ch]: file_format is no longer a buffer data element.
3257
3258 2003-08-01  André Pönitz  <poenitz@gmx.net>
3259
3260         * BufferView.C:
3261         * lyxtext.h:
3262         * text.C:
3263         * text2.C: make redoParagraph more independent of current cursor
3264
3265         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3266         * text.C:
3267         * text2.C: remove unneeded members
3268
3269 2003-07-30  André Pönitz  <poenitz@gmx.net>
3270
3271         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3272
3273         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3274           create a single function...
3275
3276         * paragraph_funcs.C (moveItem): ... here.
3277
3278         * text.C:
3279           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3280
3281 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3282
3283         * LColor.[Ch]: Add comment and greyedout logical colors.
3284
3285 2003-07-30  André Pönitz  <poenitz@gmx.net>
3286
3287         * tabular.C: don't use Assert too heavily. This crashes where it
3288           shouldn't
3289
3290 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3291
3292         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3293         is disabled (bug 1232)
3294
3295 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3296
3297         * factory.C: limited 'arg' scope
3298
3299 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3300
3301         * factory.C: fixed Note submenu issues
3302
3303 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3304
3305         * factory.C: submenu for Note/Comment/Greyedout
3306
3307 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3308
3309         * lyx_main.C (LyX):
3310         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3311
3312 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3313
3314         * LaTeXFeatures.C:
3315         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3316         greyedout. Patch provided by Jürgen Spitzmüller.
3317
3318 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3319
3320         * kbmap.C (read): fix error message when reading bind files
3321
3322 2003-07-29  Angus Leeming  <leeming@lyx.org>
3323
3324         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3325         certainly does not do what it purports to do. I am doing it, and
3326         us, a favour by killing it.
3327
3328 2003-07-28  José Matos  <jamatos@lyx.org>
3329
3330         * buffer.C (readBody, do_writeFile):
3331         * paragraph.C(readParagraph): \end_document replaces \the_end.
3332
3333 2003-07-29  André Pönitz  <poenitz@gmx.net>
3334
3335         * BufferView.[Ch]:
3336         * BufferView_pimpl.[Ch]:
3337         * lyxfunc.C:
3338         * text2.C:
3339         * text3.C:
3340         * textcursor.[Ch]: remove toggleToggle & Co
3341
3342 2003-07-28  José Matos  <jamatos@fep.up.pt>
3343
3344         * buffer.C (readParagraph):
3345         * params_func (readParToken, readParagraph):
3346         * paragraph.C (write): \layout -> \begin_layout.
3347
3348 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * lyxlex_pimpl.C (setFile): clean up slightly.
3351
3352         * bufferparams.h: add compressed var
3353
3354         * buffer_funcs.C (readFile): adjust for LyXLex change
3355         (newFile): ditto + simplify
3356
3357         * buffer.C (writeFile): handle writing of compressed files
3358
3359         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3360         Check if the file is compressed and set a bufferparm if so.
3361
3362         * Makefile.am (lyx_LDADD): remove explicit -lz
3363
3364 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3365
3366         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3367         makeDocBookFile): put the real LyX version in the first line of
3368         the file
3369
3370         * version.h:
3371         * version.C.in: remove lyx_docversion
3372
3373         * tabular.C (write_attribute): add a template-based version to
3374         write enums properly
3375
3376 2003-07-28  André Pönitz  <poenitz@gmx.net>
3377
3378         * lyxtext.h:
3379         * text.C:
3380         * text2.C:
3381         * text3.C: use doubles again for x-coordinates. They are needed.
3382
3383 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3384
3385         * messages.C (getLocaleDir): use lyx_localedir()
3386
3387         * lyxlex_pimpl.C (setFile): compress stuff
3388
3389         * buffer.C (writeFile): add some compression stuff
3390         (do_writeFile): new func, dont call expliti close... will this
3391         breake anything?
3392
3393         * Makefile.am (lyx_LDADD): add -lz
3394
3395 2003-07-28  José Matos  <jamatos@fep.up.pt>
3396
3397         * buffer.C: increment file format.
3398         * paragraph_funcs (readParagraph, readParToken):
3399         * paragraph.C (readParagraph): add \end_layout.
3400
3401 2003-07-27  Angus Leeming  <leeming@lyx.org>
3402
3403         * Makefile.am: remove special casing for configure-time setting of
3404         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3405
3406         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3407         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3408
3409 2003-07-26  André Pönitz  <poenitz@gmx.net>
3410
3411         * paragraph_func.[Ch]:
3412         * paragraph.C (realizeFont): inline it whereever it is used
3413
3414         * rowpainter.C:
3415         * text.C:
3416         * text2.C:
3417         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3418
3419
3420 2003-07-26  André Pönitz  <poenitz@gmx.net>
3421
3422         *       lyxtext.h:
3423         * text.C:
3424         * text2.C: get rid of LyXText::need_break_row
3425
3426 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3427
3428         * toc.[Ch]: put namespace toc inside namespace lyx
3429
3430         * MenuBackend.C (expandToc2): adjust for lyx::toc
3431         (expandToc): ditto
3432
3433         * lyxfunc.C (dispatch): adjust for lyx::find
3434
3435         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3436         lyx::find instead. Reorganize a bit.
3437         (LyXReplace): rename to replace
3438         (LyXFind): rename to find
3439
3440         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3441         (dispatch): ditto
3442
3443 2003-07-26  André Pönitz  <poenitz@gmx.net>
3444
3445         * text.C (setHeightOfRow): restrict scope of temporary variable
3446
3447         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3448           code (never has been used?)
3449
3450 2003-07-27  Asger Alstrup  <alstrup@local>
3451
3452         * text.C (fill): Optimise algorithm to exploit that we can reuse
3453         the LyXFont for many characters.
3454         (setHeightOfRow): Same thing.
3455         (rowBreakPoint): Same thing.
3456
3457 2003-07-26  Asger Alstrup  <alstrup@local>
3458
3459         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3460
3461         * text.C (singleWidth): Spurious font copying in hot-spot
3462         singleWidth avoided. Reorder tests for arabic for efficiency.
3463
3464         * text.C (fill): handle empty paragraphs better.
3465
3466 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3467
3468         * ispell.C:
3469         * encoding.h: add includes
3470
3471         * lyxrc.C: remove reading of bind files
3472
3473         * lyx_main.C (init): setup bindings and menus only if we have a
3474         gui.
3475
3476         * kbmap.C (read): new method. Do the actual reading of bind
3477         files.
3478
3479         * converter.C (dvipdfm_options):
3480         * bufferparams.C:
3481         * lyxrc.C (read):
3482         (output): adapt PAPER_* enums.
3483
3484         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3485
3486         * bufferparams.h: remove paper-related enums from there
3487
3488         * paper.h: New file. A trivial header file to hold paper-related
3489         enums. It should later expand to contain many paper-related
3490         horrors access.
3491
3492         * lyxrc.C: declare extern displayTranslator
3493
3494 2003-07-27  José Matos  <jamatos@fep.up.pt>
3495
3496         * tabular.[Ch] (linuxdoc): add support for tables and figures
3497         (linuxdoc).
3498
3499 2003-07-27  José Matos  <jamatos@fep.up.pt>
3500
3501         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3502         consistency in both functions.
3503         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3504
3505 2003-07-26  Asger Alstrup  <alstrup@local>
3506
3507         * rowpainter.C (paintRows): Change algorithm to work directly on
3508         the insets rather than asking every character in the document
3509         whether its an inset.
3510
3511 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3512
3513         * buffer.C (openFileWrite): factorize some code
3514
3515 2003-07-26  Angus Leeming  <leeming@lyx.org>
3516
3517         * lyx_cb.C:
3518         * lyx_main.[Ch]: replace occurances of system_tempdir with
3519         os::getTmpDir().
3520
3521 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3522
3523         * rename Inset to InsetOld
3524
3525 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3526
3527         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3528         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3529         which I think is a bit clearer. EDIT is gone, since it was
3530         premature optimisation, and broken for mathed anyway.
3531         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3532         with cursor positioning in insets as well (math insets still do not
3533         work, but that's a different story anyway.) It mysteriously
3534         crashes sometimes with undo in the first paragraph, but I'm fairly
3535         confident that this is a compiler bug.
3536
3537 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3538
3539         * paragraph.C (Paragraph): adjust for new clone return type
3540         (operator==): ditto
3541         (copyIntoMinibuffer): ditto
3542
3543 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3544
3545         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3546         by not having a special case, and always doing a full rebreak of
3547         the document after undo.
3548
3549 2003-07-23  Angus Leeming  <leeming@lyx.org>
3550
3551         * factory.C (createInset): InsetExternal::setParams now takes a
3552         Buffer const * arg.
3553
3554 2003-07-23  Angus Leeming  <leeming@lyx.org>
3555
3556         * factory.C (createInset): changed interface to the external and
3557         graphics mailers' string2params functions.
3558
3559 2003-07-23  Angus Leeming  <leeming@lyx.org>
3560
3561         * factory.C (createInset): pass a
3562         Buffer const * parameter to InsetExternalMailer's string2params.
3563
3564 2003-07-22  John Levon  <levon@movementarian.org>
3565
3566         * Thesaurus.h: include the right aiksaurus header
3567
3568 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3569
3570         * MenuBackend.C (expand): check menu shortcuts unconditionally
3571
3572 2003-07-21  Angus Leeming  <leeming@lyx.org>
3573
3574         * factory.C (createInset): pass a
3575         buffer_path parameter to InsetGraphicsMailer's string2params.
3576
3577 2003-07-21  Angus Leeming  <leeming@lyx.org>
3578
3579         * BufferView_pimpl.C (buffer):
3580         * buffer.C (d-tor):
3581         * lyx_main.C (LyX):
3582         * lyxfunc.C (dispatch):
3583         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3584         rather than the grfx shortcut.
3585
3586 2003-07-21  André Pönitz  <poenitz@gmx.net>
3587
3588         * rowpainter.C: remove unused variables
3589
3590         * tabular_funcs.C:
3591         * tabular_funcs.h: move to tabular.C
3592         * Makefile.am: adjust
3593
3594         * tabular.[Ch]: basic optical cleaning
3595
3596         * author.h: pass references, not values
3597
3598 2003-07-18  André Pönitz  <poenitz@gmx.net>
3599
3600         * lyxtext.h:
3601         * metricsinfo.C:
3602         * metricsinfo.h:
3603         * rowpainter.C:
3604         * text.C:
3605         * text2.C:
3606         * text3.C: two-phase drawing for InsetText and InsetTabular
3607         some float -> int changes.
3608
3609 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3610
3611         * lyx_main.C: fix the fix
3612
3613 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * lyx_main.C: fix a crash in batch mode if no files specified
3616         * converter.C: ws
3617
3618 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3619
3620         * format.[Ch] (papersize): moved to BufferParams
3621         * converter.[Ch] (dvips_options): moved to BufferParams
3622         (dvipdfm_options): moved to anon namespace
3623         * bufferparams.[Ch]: added above functions.
3624
3625 2003-07-17  André Pönitz  <poenitz@gmx.net>
3626
3627         * lyxtext.h:
3628         * rowpainter.C:
3629         * text2.C: don't call inset->update() anymore
3630
3631         * metricsinfo.[Ch]: add convenience constructor
3632
3633 2003-07-16  André Pönitz  <poenitz@gmx.net>
3634
3635         * lyxcursor.[Ch]:
3636         * lyxfunc.[Ch]:
3637         * text.C:
3638         * text2.C: replace the LyXCursor::irow_ member with
3639          on-demand computation of the value
3640
3641 2003-07-16  John Levon  <levon@movementarian.org>
3642
3643         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3644
3645 2003-07-15  André Pönitz  <poenitz@gmx.net>
3646
3647         * text.C:
3648         * text2.C: remove no more needed refresh_row
3649
3650 2003-07-15  André Pönitz  <poenitz@gmx.net>
3651
3652         * lyxtext.h:
3653         * rowpainter.C:
3654         * text2.C:
3655         * text3.C: refresh_status tristate -> need_update bool
3656
3657 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3658
3659         * lyxtext.h (init): remove reinit argument (act as if always true)
3660         * text2.C: adjust to that
3661
3662 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3663
3664         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3665         * text3.C: use it to delete selections in some cases
3666         (bugs 441, 673, 702, 954).
3667
3668 2003-07-14  André Pönitz  <poenitz@gmx.net>
3669
3670         * rowpainter.[Ch]: reduce interface
3671
3672 2003-07-14  André Pönitz  <poenitz@gmx.net>
3673
3674         * BufferView_pimpl.C:
3675         * text2.C: adjust after removing unused BufferView * argument
3676
3677 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3678
3679         * text2.C (init): fix a crash fired on resize
3680
3681 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3682
3683         * buffer.[Ch]: added new closing signal
3684         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3685         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3686         BufferView::Pimpl via the closing the signal
3687
3688 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3689
3690         * buffer.[Ch]: take out all bv-related from buffer
3691         * BufferView.C:
3692         * BufferView_pimpl.[Ch]: connect to new signals
3693         * CutAndPaste.C: removed useless asserts
3694         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3695         * lyxvc.[Ch]:
3696         * vc-backend.[Ch]:
3697         * lyxfunc.C: moved view-related funciontality from vc here
3698         * paragraph.C: removed outdated comments
3699         * text.C: ws
3700
3701 2003-07-10  André Pönitz  <poenitz@gmx.net>
3702
3703         * BufferView_pimpl.C:
3704         * tabular.h:
3705         * tabular_funcs.C:
3706         * text.C:
3707         * text2.C: remove InsetText::InnerCache, clean up consequences
3708
3709 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3710
3711         * ispell.C: fix two typos in error messages
3712
3713 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3714
3715         * Extend Note inset to other forms of annotation like Comment
3716         and Greyedout. Right button click gives dialog.
3717
3718         Files modified or added (+):
3719
3720         * insetnote.[Ch]
3721         * FormNote.[Ch]      +
3722         * ControlNote.[Ch]   +
3723         * form_note.fd       +
3724         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3725         frontends/controllers
3726         * xforms/Dialogs.C
3727         * factory.C
3728
3729 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3730
3731         * aspell.C: add missing namespace lyx::support
3732
3733 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3734
3735         * BufferView.[Ch] (newFile): Add
3736         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3737         * LaTeX.[Ch] (message): added this signal and use it
3738         * buffer.[Ch] (busy, message): added these signals and use them
3739         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3740         * converter.C:
3741         * exporter.C:
3742         * format.C:
3743         * importer.C: use buffer signals instead of direct bv calling
3744         * lyx_cb.[Ch] (ShowMessage): removed
3745         * lyx_main.C:
3746         * lyxfunc.C:
3747         * paragraph_funcs.C:
3748         * text2.C: use buffer signals
3749
3750 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3751
3752         * introduce namespace lyx::graphics
3753
3754 2003-07-02  André Pönitz  <poenitz@gmx.net>
3755
3756         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3757
3758 2003-07-01  André Pönitz  <poenitz@gmx.net>
3759
3760         * text.C:
3761         * text2.C:
3762         * text3.C:
3763         * text_funcs.[Ch]:
3764         * textcursor.h:
3765         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3766           text*.C to text_func.C
3767
3768 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3769
3770         * introduce namespace lyx::support
3771
3772 2003-06-30  André Pönitz  <poenitz@gmx.net>
3773
3774         * Chktex.C:
3775         * funcrequest.C:
3776         * lyxtext.h:
3777         * text.C: re-enable --with-included-string
3778
3779 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3780
3781         * textcursor.C: add <config.h>
3782
3783         * text.C (getWord): remove const from word_location arg
3784
3785         * lyxvc.C (getLogFile): fix const type order
3786
3787         * lyxtext.h: remove const from word_location arg, add arg name
3788
3789         * lyxlayout.h: currect type on labeltype.
3790
3791         * importer.C: correct \file
3792
3793         * converter.C (intToFormat): use std:: on ret val, ws changes
3794
3795         * bufferlist.h: correct \file
3796
3797         * buffer.C (makeLinuxDocFile): fix const type order
3798         (makeDocBookFile): ditto
3799         (fillWithBibKeys): use std:: on stdlib args.
3800
3801         * CutAndPaste.C: fix authors.
3802         (availableSelections): use std:: on return vector
3803
3804 2003-06-27  André Pönitz  <poenitz@gmx.net>
3805
3806         * BufferView_pimpl.C:
3807         * bufferview_funcs.C:
3808         * lyxcursor.C:
3809         * lyxcursor.h:
3810         * lyxfunc.C:
3811         * lyxtext.h:
3812         * rowpainter.C:
3813         * text.C:
3814         * text2.C:
3815         * text3.C: remove LyXCursor::row_ member
3816
3817         * lyxtext.h:
3818         * text.C: rename fullRebreak() to partialRebreak() and implement
3819           a fullRebreak() that really bereks fully
3820
3821         * textcursor.h: new struct for cursor-related data
3822
3823 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3824
3825         * lyx_main.C (LyX): get full path of document loaded on the
3826         command line
3827
3828 2003-06-26  André Pönitz  <poenitz@gmx.net>
3829
3830         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3831           remove unused/broken operator>,<,>=.
3832
3833         *       text.C: remove only use of broken operator<= in an Assert().
3834
3835 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3836
3837         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3838         moved errorlist_.clear to showErrorList
3839
3840 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3841
3842         * converter.C (scanLog, runLaTeX):
3843         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3844         move the bv->showErrorList call to the callers
3845         * lyxfunc.C: i.e. here...
3846         * text2.C: and here
3847         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3848         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3849         namespace, the second to...
3850         * buffer_funcs (BufferFormat, parseErrors): added
3851         * errorlist.C (ErrorList(TeXErrors const &)): removed
3852
3853 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3854
3855         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3856
3857 2003-06-24  "Garst R. Reese" <reese@isn.net>
3858
3859         * debug.C: fix typo
3860
3861 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3862
3863         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3864
3865         * version.C.in: change docversion to 1.4
3866
3867 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3868
3869         * buffer.C: fix a bug just introduced
3870
3871 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3872
3873         * buffer.[Ch]: added the parseError signal and use it, removed
3874         sgmlError
3875         * BufferView.[Ch] (addError): moved to ...
3876         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3877         to the Buffer::parseError signal to catch (guess what) parse errors
3878         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3879
3880 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3881
3882         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3883         ability to create a buffer and to return an existing one from
3884         the list. Moved these functions to...
3885         * buffer_funcs.[Ch]: added
3886         * BufferView.[Ch] (loadLyXFile): added
3887         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3888         job removed from bufferlist::loadLyXFile.
3889         * buffer.C (setReadOnly): make it work without view
3890         (i.e added an if (users))
3891
3892 2003-06-19  Angus Leeming  <leeming@lyx.org>
3893
3894         * lfuns.h:
3895         * LyXAction.C (init):
3896         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3897         with LFUN_DIALOG_SHOW <name> <data>.
3898
3899 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3900
3901         * CutAndPaste.C (availableSelections): small compilation fix for
3902         ancient (gcc 2.9x) compilers
3903
3904 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * text3.C (cursorNext): add tmp var
3907
3908         * text2.C (updateCounters): for function calling out of for clause
3909         (replaceSelectionWithString): ditto
3910         (insertStringAsParagraphs): ditto
3911         (getColumnNearX): add tmp var
3912         (setCursorFromCoordinates): add tmp var
3913         (cursorDownParagraph): add tmp var
3914         (deleteEmptyParagraphMechanism): add tmp var
3915
3916         * text.C (insertChar): add tmp var
3917
3918         * rowpainter.C (paintDepthBar): add tmp var
3919
3920         * CutAndPaste.C (availableSelections): potentially check all
3921         paragraphs in a cut to fill the shown strings.
3922
3923 2003-06-18  André Pönitz  <poenitz@gmx.net>
3924
3925         * kbmap.[Ch]: use vector<> instead of list<>
3926
3927 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3928
3929         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3930         pasteSelection with index
3931
3932         * text2.C (pasteSelection): modify, call pasteSelection with index
3933
3934         * paragraph.C (asString): reimplement version with no interval to
3935         call the one with interval.
3936
3937         * lyxtext.h: add index arg to pasteSelection
3938
3939         * MenuBackend.C (MenuItem): handle PasteRecent
3940         (Menu::read::Menutags): add md_pasterecent
3941         (read): handle it
3942         (expandPasteRecent): new function
3943         (expand): use it
3944
3945         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3946
3947         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3948         the limited stack
3949         (availableSelections): new function
3950
3951 2003-06-17  Angus Leeming  <leeming@lyx.org>
3952
3953         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3954
3955 2003-06-17  Angus Leeming  <leeming@lyx.org>
3956
3957         * lfuns.h:
3958         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3959
3960         * lyxfunc.C (dispatch): invoke it.
3961
3962 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3963
3964         * iterators.C (operator++, ParPosition): reintroduce some
3965         const_cast for the benefit of older compilers.
3966
3967 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3968
3969         * text3.C (dispatch): do not modify clipboard when doing
3970         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3971         LFUN_DELETE_SKIP on a selection selection
3972
3973 2003-06-16  André Pönitz  <poenitz@gmx.net>
3974
3975         * BufferView.C:
3976         * buffer.C:
3977         * buffer.h:
3978         * paragraph.C:
3979         * tabular.[Ch]: IU of clone() and getLabelList();
3980
3981 2003-06-13  André Pönitz  <poenitz@gmx.net>
3982
3983         * tabular.h: compactification
3984
3985 2003-06-12  André Pönitz  <poenitz@gmx.net>
3986
3987         * tabular.C:
3988         * tabular.h:
3989         * tabular_funcs.h: some renaming plus whitespace
3990
3991 2003-06-12  André Pönitz  <poenitz@gmx.net>
3992
3993         * BufferView.C:
3994         * BufferView_pimpl.C:
3995         * CutAndPaste.C:
3996         * buffer.C:
3997         * iterators.[Ch]:
3998         * lyxfunc.C:
3999         * text.C:
4000         * toc.C: Return a Paragraph & for ParIterator::operator*()
4001
4002 2003-06-11  John Levon  <levon@movementarian.org>
4003
4004         * lyx_main.C:
4005         * ToolbarBackend.h:
4006         * ToolbarBackend.C: add "Toolbars" section and
4007         put the flags there
4008
4009 2003-06-10  Angus Leeming  <leeming@lyx.org>
4010
4011         * lfuns.h:
4012         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4013
4014         * lyxfunc.C (dispatch): invoke it.
4015
4016 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * main.C: protect <ios> with HAVE_IOS
4019         (main): protect sync_with_stdio with HAVE_IOS
4020
4021 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4022
4023         * text2.C (cutSelection): adjust
4024         (pasteSelection): adjust
4025
4026         * messages.C: handle get of empty string
4027
4028         * main.C (main): use sync_with_stdio(false)
4029
4030         * lyxfunc.C (dispatch): adjust
4031
4032         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4033         (WriteAs): remove unneeded BufferView arg.
4034
4035         * bufferparams.h: use correct types on papersize, papersize2 and
4036         paperpackage.
4037
4038         * bufferparams.C (readToken): adjust for type
4039         (writeLaTeX): add missing cases to switch.
4040
4041         * bufferlist.C (quitWriteBuffer): adjust
4042         (close): adjust
4043
4044         * buffer.C (asciiParagraph): remove some commented code.
4045
4046         * CutAndPaste.C: remove current_view extern variable.
4047         (cutSelection): add BufferParams arg.
4048         (eraseSelection): add BufferParams arg.
4049         (pasteSelection): add Buffer const & arg
4050
4051 2003-06-07  John Levon  <levon@movementarian.org>
4052
4053         * buffer.C:
4054         * paragraph_funcs.C:
4055         * paragraph_pimpl.C:
4056         * text.C:
4057         * text2.C:
4058         * paragraph.h:
4059         * paragraph.C: allow InsetERT to freely space lines,
4060         and some consolidation of code
4061
4062 2003-06-06  José Matos  <jamatos@fep.up.pt>
4063
4064         * buffer.C (makeDocBookFile): fix bug #821
4065
4066 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4067
4068         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4069
4070 2003-06-04  Angus Leeming  <leeming@lyx.org>
4071
4072         * buffer.C: bump format to 224.
4073
4074 2003-06-05  André Pönitz  <poenitz@gmx.net>
4075
4076         * text2.C (redoParagraphs): remove two const_cast<>
4077
4078 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4079
4080         * ParagraphList.h: remove last remnants of NO_STD_LIST
4081
4082 2003-06-03  Angus Leeming  <leeming@lyx.org>
4083
4084         * factory.C (createInset): small change to the way InsetExternal's params
4085         are set.
4086
4087 2003-06-04  André Pönitz  <poenitz@gmx.net>
4088
4089         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4090
4091         * paragraph_pimpl.h:
4092         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4093
4094         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4095
4096         * undo_funcs.C: make some simple cases of undo work again
4097
4098 2003-06-03  John Levon  <levon@movementarian.org>
4099
4100         * ispell.C: HPUX doesn't have sys/select.h
4101         (from Albert Chin)
4102
4103 2003-06-03  John Levon  <levon@movementarian.org>
4104
4105         * CutAndPaste.C: update tabular and include inset
4106         buffer references
4107
4108         * buffer.h:
4109         * paragraph.h:
4110         * paragraph.C: remove owningBuffer(), don't pass Buffer
4111         to clone()
4112
4113         * factory.C: insetGraphicsParams changed
4114
4115 2003-06-02  John Levon  <levon@movementarian.org>
4116
4117         * LyXAction.C:
4118         * factory.C:
4119         * lfuns.h:
4120         * lyxfunc.C:
4121         * text3.C: remove insetparent
4122
4123 2003-06-02  John Levon  <levon@movementarian.org>
4124
4125         * buffer.h:
4126         * buffer.C: fix inset_iterator.end(), move out of line
4127         (bug 1149)
4128
4129 2003-06-01  John Levon  <levon@movementarian.org>
4130
4131         * text3.C: use a proper cut/paste when doing inset
4132         insert (from Jürgen Spitzmüller)
4133
4134 2003-06-01  John Levon  <levon@movementarian.org>
4135
4136         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4137
4138 2003-05-30  André Pönitz  <poenitz@gmx.net>
4139
4140         * rowpainter.C: unify second drawing phase
4141
4142 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4143
4144         * trans_mgr.C: remove one case of current_view
4145
4146         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4147
4148         * paragraph_funcs.h: remove paragraph.h include
4149
4150         * paragraph.h: delete NO_STD_LIST stuff
4151
4152         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4153
4154         * buffer.h: remove paragraph.h include
4155
4156         * ParagraphList.C: delete file
4157
4158         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4159
4160         * toc.C (getTocList): adjust
4161
4162         * paragraph_pimpl.C (validate): adjust
4163
4164         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4165
4166         * paragraph.C (Paragraph): adjust
4167         (getPositionOfInset): use const_iterator, adjust
4168         (bibitem): use const_iterator, adjust
4169         (setInsetOwner): adjust
4170
4171         * iterators.C (operator++): adjust
4172
4173         * InsetList.[Ch]: Replace selfmade iterator with standard
4174         vector::iterator also introduce const_iterator. Remove getPos,
4175         getInset and setInset from InsetTable. Adjust accordingly.
4176
4177         * BufferView.C (lockInset): adjust
4178         (ChangeInsets): adjust
4179
4180         * tabular.[Ch]: delete commented same_id functions
4181
4182 2003-05-28  John Levon  <levon@movementarian.org>
4183
4184         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4185
4186 2003-05-28  André Pönitz  <poenitz@gmx.net>
4187
4188         * metricsinfo.[Ch]: remove 'fullredraw' member
4189
4190 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4191
4192         * lyxtextclass.C (operator): remove caching.
4193
4194 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4195
4196         * text3.C: adjust
4197
4198         * text2.C (cursorBottom): adjust
4199         (setCounter): use ParagraphList::find, adjust
4200
4201         * text.C (workWidth): use ParagraphList::find, adjust
4202
4203         * lyxcursor.C (LyXCursor): adjust
4204
4205         * buffer.C (inset_iterator): adjust
4206
4207         * ParagraphList.h: make iterator(value_type) private, make
4208         ParagraphList a friend of iterator.
4209
4210         * ParagraphList.C (find): new function
4211
4212         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4213
4214 2003-05-27  André Pönitz  <poenitz@gmx.net>
4215
4216         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4217
4218 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4219
4220         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4221
4222 2003-05-26  John Levon  <levon@movementarian.org>
4223
4224         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4225
4226 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4227
4228         * remove same_id from function signatures, adjust.
4229
4230 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4231
4232         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4233
4234         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4235
4236         * paragraph.C (Paragraph): get rid of same_ids parameter
4237
4238         * ParagraphList.C (insert): adjust
4239         (push_back): adjust
4240
4241 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4242
4243         * paragraph_funcs.C (breakParagraph): adjust
4244         (breakParagraphConservative): adjust
4245
4246         * buffer.C (readParagraph): adjust
4247
4248         * ParagraphList.C (insert): take a reference instead of a pointer
4249         (insert): adjust
4250
4251         * paragraph.[Ch] (id): new function
4252
4253         * bufferlist.C (newFile): adjust
4254
4255         * ParagraphList.C (ParagraphList): adjust
4256         (assign): adjust
4257         (push_back): take a reference instead of a pointer.
4258
4259         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4260
4261         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4262         instead.
4263
4264         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4265         set else use old code.
4266
4267         * ParagraphList.C: remove all NO_NEXT code and only compile this
4268         code of NO_STD_LIST is set.
4269
4270 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4271
4272         * BufferView_pimpl.C:
4273         * TextCache.C:
4274         * TextCache.h:
4275         * bufferlist.C:
4276         * errorlist.h:
4277         * format.C:
4278         * format.h:
4279         * graph.C:
4280         * lyxfunc.C:
4281         * lyxrc.C:
4282         * graphics/GraphicsConverter.C:
4283         * graphics/PreviewLoader.C: header adjustment
4284
4285 2003-05-23  Angus Leeming  <leeming@lyx.org>
4286
4287         * LaTeXFeatures.[Ch] (useBabel): new method.
4288         * bufferparams.C (writeLaTeX): use it.
4289
4290 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4291
4292         * ParagraphList.h (set): remove unused function.
4293
4294 2003-05-23  André Pönitz  <poenitz@gmx.net>
4295
4296         * BufferView.C:
4297         * BufferView_pimpl.C:
4298         * buffer.C:
4299         * buffer.h:
4300         * lyxfunc.C:
4301         * undo_funcs.C: setUndo reworked
4302
4303         * iterators.[Ch]: add access to topmost ParagraphList
4304
4305         * lyxtext.[Ch] (workWidth): add a const
4306
4307 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4308
4309         * texrow.[Ch] (increasePos): remove function
4310         * exporter.C (export): removed unused var and outdated comment
4311
4312 2003-05-23  Angus Leeming  <leeming@lyx.org>
4313
4314         * latexrunparams.h: rename fragile as moving_arg.
4315         * paragraph.C (simpleTeXOnePar): ditto.
4316         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4317
4318 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4319
4320         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4321         (createUndo): ditto
4322         (textUndoOrRedo): comment out a currently unused var.
4323
4324         * paragraph.h (NO_NEXT): enable NO_NEXT
4325
4326         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4327
4328         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4329
4330         * exporter.C (Export): adjust for removeAutoInsets removal.
4331
4332         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4333
4334         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4335
4336         * BufferView.[Ch] (removeAutoInsets): delete function
4337
4338 2003-05-22  Angus Leeming  <leeming@lyx.org>
4339
4340         * latexrunparams.h: add a free_spacing variable.
4341
4342         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4343         to pass moving_arg, as the data is stored in runparams.fragile.
4344
4345         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4346         to Inset::latexOptional or to simpleTeXOnePar.
4347
4348         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4349         free_spacing arg to Inset::latexOptional.
4350
4351         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4352         free_spacing arg.
4353
4354 2003-05-22  Angus Leeming  <leeming@lyx.org>
4355
4356         * latexrunparams.h: add fragile and use_babel variables.
4357
4358         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4359         * buffer.C (makeLaTeXFile): store this returned value in
4360         runparams.use_babel, thus passing it to the inset::latex methods.
4361
4362         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4363         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4364
4365         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4366         longer has a fragile arg, as it is stored in runparams.fragile.
4367
4368         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4369         moving_arg parameter as the data is stored in runparams.fragile.
4370
4371         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4372         a fragile parameter as the data is stored in runparams.fragile.
4373
4374 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4375
4376         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4377
4378 2003-05-22  Angus Leeming  <leeming@lyx.org>
4379
4380         * latexrunparams.h: add a 'bool nice' which defaults to false.
4381
4382         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4383         now encapsulated within runparams.
4384
4385         * bufferlist.C (updateIncludedTeXfiles):
4386         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4387
4388 2003-05-22  Angus Leeming  <leeming@lyx.org>
4389
4390         * latexrunparams.h: new file containing struct LatexRunParams.
4391         * Makefile.am: add new file.
4392
4393         * LaTeX.[Ch] (c-tor, run):
4394         * buffer.[Ch] (makeLaTeXFile):
4395         * bufferlist.[Ch] (updateIncludedTeXfiles):
4396         * converter.C (convert, scanLog):
4397         * converter.[Ch] (runLaTeX):
4398         * exporter.C (Export):
4399         * paragraph.[Ch] (simpleTeXOnePar):
4400         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4401         * paragraph_funcs.[Ch] (latexParagraphs):
4402         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4403         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4404         pass around a LatexRunParams parameter.
4405
4406 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4407
4408         * paragraph.[Ch]: remove unused constructor
4409
4410         * ParagraphList.C (erase): new function, taking two iterators
4411
4412 2003-05-22  André Pönitz  <poenitz@gmx.net>
4413
4414         * undo_funcs.C: remove duplicated code
4415
4416         * iterator.[Ch]: operator=
4417
4418 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4419
4420         * tabular.C (SetMultiColumn): ws changes
4421
4422         * rowpainter.C (paintFirst): get rid of a ->previous
4423
4424         * lyx_cb.C (getPossibleLabel): parlist simplification
4425
4426         * BufferView.C (ChangeInsets): simplify slightly.
4427
4428 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4429
4430         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4431         * lfuns.h: new LFUN_SPACE
4432         * lyxfunc.C: protected space has a new lfun
4433         * paragraph_funcs.C: read new space insets
4434         * text3.C:
4435         * factory.C: handle new space insets
4436
4437 2003-05-22  André Pönitz  <poenitz@gmx.net>
4438
4439         * BufferView.C:
4440         * BufferView_pimpl.C:
4441         * buffer.[Ch]:
4442         * lyxfunc.C:
4443         * undo_funcs.C: return a ParIterator from getParFromID.
4444
4445         * iterators.[Ch]: add two const's
4446
4447 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4448
4449         * toc.C (getTocList): adjust
4450
4451         * iterators.[Ch]: rework for parlist
4452
4453         * buffer.C (par_iterator_begin): adjust
4454         (par_iterator_end): adjust
4455
4456         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4457
4458         * BufferView.C (removeAutoInsets): adjust
4459         (ChangeInsets): adjust
4460
4461 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4462
4463         * text.C (top_y): fix bug 1110
4464
4465 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4466
4467         * errorlist.[Ch]: added
4468         * buffer.C:
4469         * BufferView.[Ch]:
4470         * BufferView_pimpl.C:
4471         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4472         instead
4473
4474 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * Makefile.am: ensure that lyx is relinked upon changes to the
4477         various "convenience" libs.
4478
4479 2003-05-20  Angus Leeming  <leeming@lyx.org>
4480
4481         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4482         files are compiled in alphabetical order again.
4483
4484         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4485
4486 2003-05-19  Angus Leeming  <leeming@lyx.org>
4487
4488         * gettext.[Ch]: remove "char const * _(char const *)".
4489
4490 2003-05-19  André Pönitz  <poenitz@gmx.net>
4491
4492         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4493
4494         * Makefile.am:
4495         * BufferView.C:
4496         * DepTable.h:
4497         * LaTeXFeatures.C:
4498         * buffer.C:
4499         * lyxfont.C:
4500         * lyxlex.h:
4501         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4502
4503 2003-05-19  André Pönitz  <poenitz@gmx.net>
4504
4505         * buffer.C:
4506         * lyxlayout.[Ch]:
4507         * lyxtextclass.[Ch]:
4508         * paragraph.C:
4509         * paragraph_funcs.[Ch]:
4510         * text2.C:
4511         * text3.C: more insetenv work
4512
4513 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4514
4515         * ParagraphParameters.C (params2string): small bug fixed
4516
4517 2003-05-16  André Pönitz  <poenitz@gmx.net>
4518
4519         * debug.C:
4520         * bufferview_funcs.C: patch from Kornel Benko to prevent
4521           crash when _(...) is called twice in a statement
4522
4523 2003-05-16  André Pönitz  <poenitz@gmx.net>
4524
4525         * BufferView.C:
4526         * lyxfunc.C:
4527         * text.C:
4528         * text2.C:
4529         * text3.C:
4530         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4531
4532 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4533
4534         * lyx_main.C (init): remove spurious static_cast
4535
4536 2003-05-14  André Pönitz  <poenitz@gmx.net>
4537
4538         * BufferView.C: fix format string
4539
4540 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4541
4542         * BufferView.[Ch] (insertErrors): removed
4543         * BufferView.[Ch] (showErrorList): added
4544         * buffer.C (runChkTeX):
4545         * converter.C (scanLog): call showErrorList instead of inserterrors
4546
4547 2003-05-13  André Pönitz  <poenitz@gmx.net>
4548
4549         * BufferView_pimpl.C:
4550         * buffer.C:
4551         * bufferview_func.C:
4552         * MenuBackend.C:
4553         * lyxfunc.C:
4554         * lyxrc.C:
4555         * tex-accent.C:
4556         * text3.C:
4557         * toc.C:
4558         * tabular_funcs.h: tostr() from its own header
4559
4560         * ParagraphParameters.C:
4561         * ToolbarBackend.C:
4562         * bufferparams.C:
4563         * format.C:
4564         * lyxlex_pimpl.C:
4565         * text3.C: STRCONV()
4566
4567 2003-05-12  André Pönitz  <poenitz@gmx.net>
4568
4569         * BufferView.C:
4570         * BufferView_pimpl.C:
4571         * CutAndPaste.C:
4572         * LaTeX.C:
4573         * LaTeXFeatures.C:
4574         * ParagraphParameters.C:
4575         * buffer.C:
4576         * bufferlist.C:
4577         * bufferparams.C:
4578         * bufferview_funcs.C:
4579         * converter.C:
4580         * counters.C:
4581         * debug.C:
4582         * exporter.C:
4583         * format.C:
4584         * importer.C:
4585         * lyx_cb.C:
4586         * lyx_main.C:
4587         * lyxfont.C:
4588         * lyxfunc.C:
4589         * lyxvc.C:
4590         * paragraph.C:
4591         * paragraph_funcs.C:
4592         * tabular.C:
4593         * tabular_funcs.C:
4594         * text2.C:
4595         * text3.C:  boost::format -> bformat  all over the place
4596
4597
4598 2003-05-09  André Pönitz  <poenitz@gmx.net>
4599
4600         * LColor.[Ch]: Pimpl the #include <map> away
4601
4602 2003-05-09  John Levon  <levon@movementarian.org>
4603
4604         * bufferlist.C: never remove emergency saves
4605
4606 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * Makefile.am: better lib building
4609
4610 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4613         instead.
4614         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4615         (simpleTeXSpecialChars): adjust
4616         (simpleTeXSpecialChars): adjust
4617         * paragraph.C (simpleTeXOnePar): adjust
4618         * buffer.C (makeLaTeXFile): adjust
4619
4620         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4621
4622         * text2.C (changeDepth): parlist cleanup
4623         (getColumnNearX): ditto
4624
4625         * rowpainter.C (getLabelFont): parlist cleanup
4626
4627         * bufferlist.C (newFile): parlist cleanup
4628
4629         * CutAndPaste.C (eraseSelection): parlist cleanup
4630
4631         * BufferView_pimpl.C (trackChanges): parlist cleanup
4632         (dispatch): ditto
4633
4634         * BufferView.C (lockInset): parlist cleanup.
4635         (ChangeInsets): ditto
4636
4637 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * CutAndPaste.h: Update file header.
4640
4641         * CutAndPaste.C: Update file header.
4642         Store the parts cut out of the Document in a limited_stack.
4643         (copySelection): adjust
4644         (pasteSelection): new function, takes the index in the limited stack.
4645         (nrOfParagraphs): adjust
4646         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4647         simplify error inset insertion.
4648         (checkPastePossible): adjust
4649
4650 2003-05-06  John Levon  <levon@movementarian.org>
4651
4652         * text2.C: don't cast wrap inset to float
4653
4654 2003-05-05  André Pönitz  <poenitz@gmx.net>
4655
4656         * iterator.C:
4657         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4658
4659         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4660           few naked Paragraph *.
4661
4662 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4663
4664         * bufferparams.C: Output warning if a document with missing
4665         TeX document class is loaded
4666         * exporter.C: Disable TeX exports if the document class is missing
4667         * lyxtextclass.C:
4668         * lyxtextclass.h:
4669         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4670         isTeXClassAvailable()
4671
4672 2003-05-03  John Levon  <levon@movementarian.org>
4673
4674         * BufferView.h:
4675         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4676         explicit cursor show/hide
4677
4678         * BufferView_pimpl.h:
4679         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4680         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4681
4682         * lyxfunc.C: hide cursor before dispatching.
4683
4684         * lyx_cb.C:
4685         * lyxfind.C:
4686         * text.C:
4687         * text3.C: remove explicit cursor hides
4688
4689 2003-05-02  André Pönitz  <poenitz@gmx.net>
4690
4691         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4692
4693         * undo_funcs.C:
4694         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4695           linked lists
4696
4697         * text2.C: tiny whitespace
4698
4699 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * undo_funcs.C: almost only ws changes.
4702
4703         * ParagraphList.C (splice): just return if pl is empty.
4704
4705 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * ParagraphList.C (splice): new function.
4708
4709         * CutAndPaste.C (pasteSelection): use it
4710
4711 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4712
4713         * CutAndPaste.C (pasteSelection): remove the last next and
4714         previous from this file.
4715
4716 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4717
4718         * CutAndPaste.C (pasteSelection): more clean up, user proper
4719         ParagraphList functions for pasteing.
4720
4721         * ParagraphList.C (insert): new function, three arg insert
4722
4723 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * ParagraphList.C (insert): new function, three arg insert
4726
4727         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4728         not on paragraphs.
4729
4730 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4731
4732         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4733
4734 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4737
4738 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4741         (copySelection): clean up a bit.
4742         (pasteSelection): use make_pair
4743
4744         * ParagraphList.C (ParagraphList): implement copy constructor
4745         (operator=): implement, base on copy constructor.
4746         (assign): new func
4747
4748         * paragraph.C (erase): return a bool
4749
4750         * paragraph_pimpl.C (erasePos): remove function, move contents...
4751         (erase): ... here. Return a bool.
4752         (erase): call erase instead of erasePos.
4753
4754 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4755
4756         * ParagraphList.h: define PitPosPair
4757         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4758         ParagraphList, fix a bug on pasting multiple pars
4759         * text2.C: change interface to C&P
4760
4761 2003-04-30  André Pönitz  <poenitz@gmx.net>
4762
4763         * undo_func.C: revert part of yesterday's patch 2
4764
4765 2003-04-30  John Levon  <levon@movementarian.org>
4766
4767         * LColor.C: s/tabular/table/
4768
4769 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * text3.C (dispatch): do not convert iterator -> pointer
4772         * undo_funcs.C (setCursorParUndo): ditto
4773         * text_funcs.C (transposeChars): ditto
4774
4775         * text2.C (setLayout): ws changes only
4776
4777         * text.C (breakParagraph): do not convert iterator -> pointer
4778         (insertChar): ditto
4779         (acceptChange): ditto
4780         (rejectChange): ditto
4781         (changeCase): ditto
4782         (Delete): ditto
4783         (backspace): ditto
4784
4785         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4786         pointer
4787
4788 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4789
4790         * text3.C (gotoInset): YABG (yet another bad getChar)
4791
4792 2003-04-29  André Pönitz  <poenitz@gmx.net>
4793
4794         * paragraph.h: make operator= private unimplemented as long as
4795           it is unusable
4796
4797         * ParagraphList.C: whitespace
4798
4799         * paragraph.[Ch]:
4800         * paragraph_pimpl.[Ch]:
4801         * paragraph_funcs.C:
4802         * CutAndPaste.C:
4803         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4804
4805         * text2.C:
4806           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4807
4808 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4809
4810         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4811         * paragraph.[Ch] (erase):
4812         * paragraph_pimpl.[Ch] (erase): change return type and value
4813         * text2.C (cutSelection): some rework
4814
4815 2003-04-28  John Levon  <levon@movementarian.org>
4816
4817         * bufferlist.C: changes for unsaved changes dialog
4818
4819 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4820
4821         * bufferlist.C (newFile): set language (messages_) for new
4822         documents also.
4823
4824         * buffer.C (readFile): ws changes only.
4825
4826 2003-04-28  André Pönitz  <poenitz@gmx.net>
4827
4828         * undo_funcs.C:
4829         * lyxfunc.C:
4830         * buffer.[Ch]:
4831         * BufferView_pimpl.C:
4832         * BufferView.C: getParFromID related ParagraphList::iterator changes
4833
4834 2003-04-28  André Pönitz  <poenitz@gmx.net>
4835
4836         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4837           Changes
4838
4839 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4840
4841         * messages.C: remove one more localedir class variable.
4842
4843 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4844
4845         * messages.C (getLocaleDir): singleton generation function
4846         (Pimpl): use it.
4847         (Messages): add a default constructor.
4848
4849         * main.C (main): do not setup localedir here, do not call
4850         gettext_init.
4851
4852         * gettext.C (_): use it.
4853         (gettext_init): delete funciton
4854
4855 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * gettext.C (getLyXMessages): new singleton generating function.
4858
4859         * buffer.C (updateDocLang): adjust
4860
4861         * Makefile.am (messages.o): add target
4862         (main.o): remove target
4863
4864 2003-04-27  John Levon  <levon@movementarian.org>
4865
4866         * bufferlist.C:
4867         * lyx_cb.C:
4868         * lyxfunc.C:
4869         * lyxvc.C: specify cancel button in Alert::prompt
4870
4871 2003-04-26  John Levon  <levon@movementarian.org>
4872
4873         * text3.C:
4874         * lyxfunc.C:
4875         * lfuns.h:
4876         * LyXAction.C: add LFUN_INSET_SETTINGS
4877
4878         * lyxfunc.C: don't enable tabular-feature when there's
4879         just any locking inset
4880
4881 2003-04-26  John Levon  <levon@movementarian.org>
4882
4883         * bufferlist.C: re-add Cancel to buffer close question
4884
4885         * lyxfunc.C: fix import UI a bit
4886
4887 2003-04-25  John Levon  <levon@movementarian.org>
4888
4889         * gettext.C: remove the broken asserts for now
4890
4891 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4892
4893         * messages.C: make case where setlocale cannot comply work better.
4894
4895         * buffer.C (updateDocLang): new function
4896         (changeLanguage): use it
4897         (readFile): use it
4898
4899         * text2.C (setCounter): use B_ a bit.
4900
4901         * lyxlayout.C (Read): be sure to trim the label strings.
4902
4903         * messages.C (Messages): fix typo in comment
4904
4905         * buffer.C (readFile): set message_ after file is loaded.
4906         (makeDocBookFile): remove double return
4907         (changeLanguage): reset message_ upon language change.
4908         (B_): new func, use this to get translated buffer strings.
4909
4910         * main.C: add myself and Jean Marc as authors.
4911
4912 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * messages.[hC]: pimplify Messages, and three different pimpls to be
4915         used in different circumstances.
4916
4917         * gettext.[Ch]: change for use with new message code.
4918
4919 2003-04-24 André Pönitz <poenitz@gmx.net>
4920
4921         * factory.C: support for eqref
4922
4923 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4924
4925         * messages.[Ch]: add missing char
4926
4927         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4928
4929         * messages.[Ch]: New files
4930
4931 2003-04-18  John Levon  <levon@movementarian.org>
4932
4933         * BufferView.h:
4934         * BufferView.C:
4935         * BufferView_pimpl.C:
4936         * lfuns.h:
4937         * LyXAction.C:
4938         * lyxtext.h:
4939         * text2.C: remove layout-copy/paste (bug 778)
4940
4941 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4942
4943         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4944
4945 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4946
4947         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4948         if they succeed. Act accordingly.
4949
4950 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4951
4952         * text2.C (setCharFont): adjust
4953         (setCounter): adjust
4954         (insertStringAsLines): adjust
4955
4956         * text.C (leftMargin): adjust
4957         (setHeightOfRow): adjust
4958
4959         * rowpainter.C (paintFirst): adjust
4960         (paintLast): adjust
4961
4962         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4963         (outerHook): ditto
4964         (isFirstInSequence): ditto
4965         (getEndLabel): ditto
4966         (outerFont): adjust
4967
4968         * paragraph.C (getParLanguage): comment out some hard stuff.
4969
4970         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4971         (sgmlError): ditto
4972         (simpleDocBookOnePar): ditto
4973         (makeDocBookFile): use ParagraphList::iterator
4974
4975         * CutAndPaste.C (pasteSelection): adjust
4976
4977 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4978
4979         * text2.C (getFont): adjust
4980         (getLayoutFont): adjust
4981         (getLabelFont): adjust
4982
4983         * paragraph_funcs.C (TeXOnePar): adjust
4984
4985         * buffer.C (simpleLinuxDocOnePar): adjust
4986         (simpleDocBookOnePar): adjust
4987
4988         * CutAndPaste.C (pasteSelection): adjust
4989
4990         * BufferView.C (getEncoding): adjust
4991
4992         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4993
4994 2003-04-16  John Levon  <levon@movementarian.org>
4995
4996         * lyxfind.C: use parlist stuff for search/changes
4997
4998 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5001
5002         * text2.C (deleteEmptyParagraphMechanism): adjust
5003
5004         * text2.[Ch] (ownerParagraph): delete func (both of them
5005
5006 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5009
5010 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5011
5012         * ParagraphList.C: prepare for NO_NEXT
5013
5014 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5015
5016         * text2.C (getFont): adjust
5017         (getLayoutFont): adjust
5018         (getLabelFont): adjust
5019
5020         * paragraph.C (getFont): adjust
5021         (getLabelFont): adjust
5022         (getLayoutFont): adjust
5023
5024         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5025
5026 2003-04-15  John Levon  <levon@movementarian.org>
5027
5028         From Angus Leeming
5029
5030         * lyx_main.C: handle Include in .ui files
5031
5032 2003-04-15  John Levon  <levon@movementarian.org>
5033
5034         * MenuBackend.C: make the doc files length shorter
5035
5036         * ToolbarBackend.h:
5037         * ToolbarBackend.C: handle toolbar placement flags,
5038         Minibuffer
5039
5040 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5043         adjust
5044
5045         * paragraph_funcs.C (TeXOnePar): adjust
5046
5047         * paragraph.C (getLabelFont): add outerfont arg, adjust
5048         (getLayoutFont): ditto
5049         (simpleTeXOnePar): adjust
5050
5051         * paragraph_pimpl.C (realizeFont): delete func
5052
5053 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5054
5055         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5056         row argument, constify cur argument.
5057
5058 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5059
5060         * text2.C (getFont): adjust
5061         (getLayoutFont): adjust
5062         (getLabelFont): adjust
5063
5064         * paragraph_funcs.C (TeXOnePar): adjust
5065         (outerFont): new func...
5066         (realizeFont): ...moved out from here, changed this to facilitate
5067         transition
5068
5069         * paragraph.C (getFont): take outerfont as arg, adjust
5070         (simpleTeXOnePar): add outerfont arg, adjust
5071
5072         * buffer.C (simpleLinuxDocOnePar): adjust
5073         (simpleDocBookOnePar): adjust
5074
5075         * CutAndPaste.C (pasteSelection): adjust
5076
5077         * BufferView.C (getEncoding): adjust
5078
5079 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5080
5081         * text2.C (setCharFont): adjust
5082         (setCounter): adjust
5083
5084         * text.C (leftMargin): adjust
5085         (setHeightOfRow): adjust
5086
5087         * rowpainter.C (paintFirst): adjust
5088         (paintLast): adjust
5089
5090         * paragraph_pimpl.C (realizeFont): adjust
5091
5092         * paragraph.C (isFirstInSequence): move from here...
5093         * paragraph_funcs.C (isFirstInSequence): ...to here
5094
5095         * paragraph.C (outerHook): move from here...
5096         * paragraph_funcs.C (outerHook): ...to here
5097
5098         * paragraph.C (depthHook): move from here...
5099         * paragraph_funcs.C (depthHook): ...to here
5100
5101         * paragraph.C (getEndLabel): move from here...
5102         * paragraph_funcs.C (getEndLabel): ...to here
5103
5104         * text2.C (realizeFont): move from here...
5105         * paragraph_funcs.C (realizeFont): ...to here
5106
5107 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5108
5109         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5110
5111 2003-04-14  Angus Leeming  <leeming@lyx.org>
5112
5113         * LColor.[Ch]: scrap LColor mathcursor.
5114
5115 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * lyxlex.[Ch] (text): delete function
5118         * trans.C (Load): adjust
5119         * paragraph_funcs.C (readParToken): adjust
5120
5121 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5122
5123         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5124         vector<char> instead of a char[].
5125
5126         * lyxlex_pimpl.C (getString): adjust
5127         (next): adjust
5128         (lex): use getString
5129         (eatLine): adjust
5130         (nextToken): adjust
5131
5132         * lyxlex.C (text): use pimpl_->getString()
5133         (getBool): ditto
5134         (findToken): ditto
5135
5136 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5137
5138         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5139         (makeFontEntriesLayoutSpecific): temp var for par.size()
5140         (setLayout): temp var for ownerParagraphs().end()
5141         (fullRebreak): temp var for rows().end()
5142         (selectionAsString): temp var for boost::next(startpit), realize
5143         that the while really is a regular for loop.
5144         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5145         setCursor in one place.
5146         (setParagraph): temp vr for ownerParagraphs().end()
5147         (updateCounters): make the while loop a for loop
5148         (cutSelection): temp var for ownerParagraphs().end()
5149         (updateInset): make the do {} while() a regular for loop
5150         (getCursorX): use temp vars
5151         (setCurrentFont): use temp vars
5152         (getColumnNearX): use temp vars
5153
5154 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * text.C (transformChar): use temp var for getChar
5157         (computeBidiTables): use temp var for row->par()
5158         (fill): move temp vars for row->par() and pit->layout() earlier in
5159         the function.
5160         (labelFill): use temp var for row->par()
5161         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5162         asc and desc, realize that pit never changes and that firstpit is
5163         just a duplicate and not needed. Exchange rit->par() with pit in a
5164         lot of places.
5165         (breakAgain): use a temp var for boost::next(rit)
5166         (breakAgainOneRow): ditto
5167         (breakParagraph): use a temp var for rows().begin()
5168         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5169         (cursorRightOneWord): use temp var for cursor.par() and
5170         cursor.pos(), remove usage of tmpcursor.
5171         (cursorLeftOneWord): use temp var for cursor.par() and
5172         cursor.pos() only set cur at end of function.
5173
5174 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5175
5176         * text.C, text2.C: exchange all usage of Paragraph::next with
5177         boost::next(ParagraphList::iterator)
5178
5179         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5180
5181         * text2.C (cursorTop): simplify implementation
5182         (cursorBottom): ditto
5183         (setParagraph): use ParagraphList::iterator
5184         (setCurrentFont): adjust
5185         (getColumnNearX): adjust
5186         (cursorRight): adjust
5187         (cursorLeft): remove usage of Paragraph::previous
5188         (cursorUpParagraph): ditto
5189         (deleteEmptyParagraphMechanism): slight cleanup
5190
5191         * text.C (isBoundary): take a Paragraph const & instead of a
5192         pointer as arg.
5193         (addressBreakPoint): ditto
5194         (leftMargin): remove usage of Paragraph::previous.
5195         (setHeightOfRow): ditto
5196         (cursorLeftOneWord): ditto
5197         (selectNextWordToSpellcheck): ditto
5198         (Delete): ditto
5199         (backspace): ditto
5200         (breakParagraph): remove one usage of Paragraph::next
5201         (redoParagraph): ditto
5202         (acceptChange): ditto
5203         (insertChar): adjust
5204         (rowBreakPoint): adjust
5205
5206         * bufferview_funcs.C (toggleAndShow): adjust
5207
5208 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5209
5210         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5211         methods to access it.
5212         * lyxtext.h:
5213         * text.C: Added updateRowPositions to compute all row positions.
5214         Make top_y and getRowNearY() to use the cached y position
5215
5216 2003-04-11  John Levon  <levon@movementarian.org>
5217
5218         * text.C (rowBreakPoint): reintroduce the labelEnd
5219         checks, code copied from the row fill stuff. Deep voodoo.
5220
5221         * text.C (fill): add a comment and debugging for the
5222         next poor soul.
5223
5224 2003-04-11  John Levon  <levon@movementarian.org>
5225
5226         * text.C: make sure fullrow insets get wrapped to the next line,
5227         even when they're in a manual label
5228
5229 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5230
5231         * text2.C (insertParagraph): make it take ParagraphList::iterator
5232         as arg.
5233         (setLayout): make it return ParagraphList::iterator
5234         (redoParagraphs): ditto
5235         (setCounter): ditto
5236         (checkParagraph): ditto
5237
5238         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5239
5240         * text2.C: adjust several funcs.
5241         (realizeFont): take a ParagraphList::iterator as arg.
5242         (getLayoutFont): ditto
5243         (getLabelFont): ditto
5244         (setCharFont): ditto
5245
5246         * text.C: adjust several funcs.
5247
5248 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5249
5250         * text.C (selectNextWordToSpellcheck): don't accidentally
5251         skip insets
5252
5253 2003-04-10  John Levon  <levon@movementarian.org>
5254
5255         * ToolbarBackend.C (getIcon): special handling for
5256         LFUN_MATH_DELIM
5257
5258 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5259
5260         * text2.C (cursorRight): a getChar assert fixed
5261
5262 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5263
5264         * text2.C (getFont): change to take a ParagraphList::iterator
5265         instead of Paragraph*
5266         Adjust several functions.
5267
5268         * text.C (transformChar): change to take a ParagraphList::iterator
5269         instead of Paragraph*
5270         (singleWidth): ditto
5271         Adjust several functions.
5272
5273         * rowpainter.C: adjust several functions
5274         * rowpainter.h:store a ParagraphList::iterator and not a
5275         Paragraph&.
5276
5277
5278 2003-04-09  John Levon  <levon@movementarian.org>
5279
5280         * lyxfunc.C:
5281         * lfuns.h:
5282         * LyXAction.h:
5283         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5284         and the "help" bits as well
5285
5286 2003-04-09  John Levon  <levon@movementarian.org>
5287
5288         * ToolbarBackend.h:
5289         * ToolbarBackend.C: allow multiple toolbars
5290
5291 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * undo_funcs.C (setCursorParUndo): adjust
5294
5295         * text_funcs.C (transposeChars): adjust
5296
5297         * text3.C (gotoNextInset): adjust
5298         (dispatch): adjust
5299
5300         * text2.C (setLayout): adjust
5301         (changeDepth): adjust
5302         (setFont): adjust
5303         (redoParagraphs): adjust
5304         (selectionAsString): adjust
5305         (setParagraph): adjust
5306         (insertInset): adjust
5307         (cutSelection): adjust
5308         (copySelection): adjust
5309         (pasteSelection): adjust
5310         (insertStringAsLines): adjust
5311         (updateInset): adjust
5312         (setCursor): change to take a ParagraphList::iterator parameter
5313         (setCursorIntern): change to take a ParagraphList::iterator parameter
5314         (setCurrentFont): adjust
5315         (cursorLeft): adjust
5316         (cursorRight): adjust
5317         (deleteEmptyParagraphMechanism): adjust
5318
5319         * text.C (breakParagraph): adjust
5320         (insertChar): adjust
5321         (acceptChange): adjust
5322         (rejectChange): adjust
5323         (selectNextWordToSpellcheck): adjust
5324         (changeCase): adjust
5325         (Delete): adjust
5326         (backspace): adjust
5327
5328         * lyxfind.C (SearchForward): adjust
5329         (SearchBackward): adjust
5330         (nextChange): adjust
5331
5332         * lyxcursor.C (par): adjust
5333
5334         * lyxcursor.h: store a ParagraphList::iterator instead of a
5335         Paragraph*
5336
5337         * lyx_cb.C (getPossibleLabel): adjust
5338
5339         * bufferview_funcs.C (toggleAndShow): adjust
5340
5341         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5342         (dispatch): adjust
5343
5344         * BufferView.C (removeAutoInsets): adjust
5345         (lockedInsetStoreUndo): adjust
5346
5347 2003-04-09  John Levon  <levon@movementarian.org>
5348
5349         * ToolbarBackend.C: try icon without argument
5350         if with argument fails
5351
5352 2003-04-08  John Levon  <levon@movementarian.org>
5353
5354         * ToolbarBackend.h:
5355         * ToolbarBackend.C: add getIcon(), handle tooltip,
5356         and change from "Icon" to "Item".
5357
5358 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5359
5360         * BufferView.C (lockInset): another bad getchar crunched
5361
5362 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5363
5364         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5365         again)
5366
5367 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5368
5369         * lyxfind.C (searchForward, searchBackwards): bug 782
5370
5371 2003-04-07  John Levon  <levon@movementarian.org>
5372
5373         * paragraph.C: remove dead comment
5374
5375         * text.C: remove troublesome depth-fiddling code
5376         in leftMargin() and rightMargin() (bug 1017)
5377
5378         * text.C: fix breaking of rows in nested lists
5379         (bug 1004)
5380
5381         * text2.C (updateCounters): fix up depth values
5382         (bug 1013)
5383
5384 2003-04-07  John Levon  <levon@movementarian.org>
5385
5386         * BufferView_pimpl.C: clear message when doc finishes resizing,
5387         and after a mouse event
5388
5389         * lyxfunc.C: clear message after exiting inset
5390
5391 2003-04-07  John Levon  <levon@movementarian.org>
5392
5393         * bufferview_funcs.C: show math status not outside
5394         status in the statusbar
5395
5396 2003-04-07  John Levon  <levon@movementarian.org>
5397
5398         * lyxfunc.C: note status changed after a depth change
5399
5400 2003-04-04  Angus Leeming  <leeming@lyx.org>
5401
5402         * LaTeX.h: move AuxInfo operator==, != out of line.
5403         Remove LaTeX virtual destructor; nothing derives from it.
5404         Move operator()() out of public area and rename it startscript().
5405         Change protected for private.
5406
5407 2003-04-04  Angus Leeming  <leeming@lyx.org>
5408
5409         * lyxfunc.C:
5410         * text2.C: remove unneeded #includes.
5411
5412 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5413
5414         * text2.C (dEPM): fix the heigth of the next row
5415
5416 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5417
5418         * text.C: squashed an invalid getChar requester + some ws changes
5419
5420 2003-04-03  John Levon  <levon@movementarian.org>
5421
5422         * bufferview_funcs.h:
5423         * bufferview_funcs.C:
5424         * lyxfunc.C:
5425         * lyxtext.h:
5426         * text2.C: make getStatus work for the env depth lfuns
5427
5428 2003-04-03  John Levon  <levon@movementarian.org>
5429
5430         * bufferview_funcs.h:
5431         * bufferview_funcs.C:
5432         * lyxfunc.C:
5433         * lyxtext.h:
5434         * text2.C: parlistize decDepth(), by merging it with incDepth()
5435
5436 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5437
5438         * lyxrow.h: store a ParagraphList::iterator instead of a
5439         Paragraph* and adjust other class functions to suit.
5440
5441         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5442         above.
5443
5444 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5445
5446         * text2.C (setCursor): do not anchor to cursor row for the time being
5447
5448 2003-04-02  John Levon  <levon@movementarian.org>
5449
5450         * LyXAction.C:
5451         * lfuns.h:
5452         * lyx_main.C:
5453         * lyxtext.h:
5454         * text.C:
5455         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5456
5457 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5458
5459         * paragraph.h: make ParagraphList and ParagraphList::iterator
5460         friends of Paragraph.
5461
5462         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5463
5464         * ParagraphList.C: Use the private next_ and previous_ from
5465         Paragraph.
5466
5467 2003-04-01  John Levon  <levon@movementarian.org>
5468
5469         * ToolbarBackend.h:
5470         * ToolbarBackend.C:
5471         * Makefile.am: rename, remove defaults gunk
5472
5473         * MenuBackend.h:
5474         * MenuBackend.C: remove defaults gunk
5475
5476         * Languages.h:
5477         * Languages.C: remove defaults gunk
5478
5479         * lyx_main.h:
5480         * lyx_main.C: error out if files couldn't be found.
5481
5482 2003-04-02  John Levon  <levon@movementarian.org>
5483
5484         * text2.C: make incDepth() use parlist
5485
5486 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * undo_funcs.C (firstUndoParagraph): adjust
5489
5490         * text3.C (gotoInset): adjust
5491         (dispatch): adjust, and rewrite loop.
5492
5493         * text2.C (init): adjust, and rewrite loop.
5494         (redoParagraphs): adjust
5495         (updateInset): adjust, and rewrite loop.
5496         (deleteEmptyParagraphMechanism): adjust
5497
5498         * tabular.C (LyXTabular): adjust
5499         (SetMultiColumn): adjust
5500         (TeXRow): adjust
5501
5502         * lyxtext.[Ch] (ownerParagraph): delete function
5503         (ownerParagraphs): new function returns a ParagraphList.
5504
5505         * BufferView.C (removeAutoInsets): adjust
5506         (insertErrors): adjust
5507         (setCursorFromRow): adjust
5508
5509 2003-04-01  Angus Leeming  <leeming@lyx.org>
5510
5511         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5512         in the frontends.
5513
5514 2003-04-02  John Levon  <levon@movementarian.org>
5515
5516         * lyxtext.h:
5517         * text.C:
5518         * Makefile.am:
5519         * text_funcs.h:
5520         * text_funcs.C: make transposeChars a free function
5521
5522         * lyxrow_funcs.C: remove wrong comment
5523
5524 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5525
5526         * lyxtext.h: adjust
5527         * rowpainter.C: adjust
5528         * text.C: adjust
5529         * text2.C: adjust
5530         * text3.C: adjust
5531
5532         * lyxrow_funcs. [Ch]: new files
5533
5534         * lyxrow.[Ch]: remove next and previous pointers
5535         (next,previous): remove accessor functions
5536         (isParEnd): move to lyxrow_funcs
5537         (lastPos): move to lyxrow_funcs
5538         (nextRowIsAllInset): move to lyxrow_funcs
5539         (lastPrintablePos): move to lyxrow_funcs
5540         (numberOfSeparators): move to lyxrow_funcs
5541         (numberOfHfills): move to lyxrow_funcs
5542         (numberOfLabelHfills): move to lyxrow_funcs
5543         (hfillExpansion): move to lyxrow_funcs
5544
5545         * lyxfunc.C: adjust
5546
5547         * bufferview_funcs.C (toggleAndShow): adjust
5548
5549         * RowList.h: Remove class RowList from file leave just a
5550         std::list<Row>.
5551
5552         * RowList.C: delete file
5553
5554         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5555         and lyxrow_funcs.h
5556
5557 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5558
5559         * text3.C (cursorPrevious): adjust
5560         (cursorNext): adjust
5561         (dispatch): adjust
5562
5563         * text2.C (redoHeightOfParagraph): adjust
5564         (redoDrawingOfParagraph): adjust
5565         (setCursor): adjust
5566
5567         * text.C (breakParagraph): adjust
5568         (insertChar): adjust
5569         (backspace): adjust
5570
5571         * rowpainter.C (RowPainter): adjust
5572         (leftMargin): simplify and adjust
5573         (most rowpainter functions): adjust.
5574
5575         * rowpainter.h: store the row as RowList::iterator not as Row*
5576
5577         * lyxcursor.C (row): taka RowList::iterator as arg
5578         (irow): ditto
5579
5580         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5581         of Row*.
5582
5583 2003-04-01  Angus Leeming  <leeming@lyx.org>
5584
5585         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5586         stuff like bool Bool.
5587
5588 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5589
5590         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5591         rewrite a loop
5592
5593 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5594
5595         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5596         RowList::iterator.
5597
5598         * lyxtext.h (rows): drop one version and leve a const variant that
5599         returns a RowList::iterator.
5600
5601 2003-03-31  Angus Leeming  <leeming@lyx.org>
5602
5603         * text.C (fill): ensure that the signature is the same as that in the
5604         header file.
5605
5606 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * text2.C (redoParagraphs): adjust
5609         (updateCounters): adjust
5610         (checkParagraph): adjust
5611         (getColumnNearX): adjust and reformat a bit.
5612
5613         * text.C (top_y): adjust
5614         (workWidth): adjust
5615         (leftMargin): adjust
5616         (prepareToPrint): adjust
5617         (getRow): adjust
5618         (getRowNearY): adjust
5619
5620         * lyxtext.h: make rowlist_ mutable.
5621
5622         * RowList.h: add const_iterator
5623         * RowList.C: adjust for RowList::const_iterator.
5624
5625         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5626         adjust.
5627
5628 2003-03-31  John Levon  <levon@movementarian.org>
5629
5630         * lyxrc.h:
5631         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5632
5633         * lyx_main.C: set default fonts from using lyx_gui funcs
5634
5635         * exporter.C: pdf_mode moved from lyxrc
5636
5637         * lyx_cb.C:
5638         * lyxfunc.C: changes from above
5639
5640 2003-03-31  John Levon  <levon@movementarian.org>
5641
5642         * lyx_main.C: fix to the last fix
5643
5644 2003-03-31  John Levon  <levon@movementarian.org>
5645
5646         * bufferlist.C: "Load original" -> "Load Original"
5647
5648         * converter.C:
5649         * exporter.C:
5650         * importer.C:
5651         * lyx_main.C:
5652         * format.C: more Alert cleanups
5653
5654 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * text2.C (removeParagraph): make it take a RowList::iterator as
5657         arg, adjust.
5658         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5659         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5660
5661         * text.C (anchor_row): make it take a RowList::iterator as arg,
5662         adjust.
5663         (computeBidiTables): make it take a const reference to Row instead
5664         of Row pointer, adjust.
5665         (leftMargin): make it take a RowList::iterator as arg, adjust.
5666         (rowBreakPoint): adjust
5667         (breakAgainOneRow): make it take a RowList::iterator as arg,
5668         adjust.
5669         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5670
5671         * bufferview_funcs.C (toggleAndShow): adjust
5672
5673 2003-03-30  John Levon  <levon@movementarian.org>
5674
5675         * Makefile.am:
5676         * BoostFormat.h:
5677         * boost-inst.C: moved to support
5678
5679         * several files: changes as a result
5680
5681 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5682
5683         * text2.C (LyXText): adjust.
5684         (init): adjust
5685         (removeRow): make it take a RowList::iterator as arg, adjust.
5686         (fullRebreak): adjust
5687         (deleteEmptyParagraphMechanism): adjust
5688         (clearPaint): adjust
5689         (postPaint): adjust
5690
5691         * text.C (top_y): adjust
5692         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5693         (breakAgain): make it take a RowList::iterator as arg, adjust.
5694         (breakParagraph): adjust
5695         (insertChar): adjust
5696         (backspace): adjust
5697
5698         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5699         need_break_row, and refresh_row.
5700
5701         * text3.C (dispatch): adjust
5702
5703         * text2.C (checkParagraph): adjust
5704         (setCursor): adjust
5705         (setCursorFromCoordinates): adjust
5706
5707         * text.C (top_y): adjust
5708         (workWidth): adjust
5709         (getRow): make it return a RowList::iterator, adjust
5710         (getRowNearY): make it return a RowList::iterator, adjust
5711
5712         * text2.C (init): adjust
5713         (insertRow): remove function
5714         (insertParagraph): adjust
5715         (redoParagraphs): adjust
5716         (fullRebreak): adjust
5717         (updateCounters): adjust
5718
5719         * text.C (top_y): rewrite to use RowList iterators.
5720         (top_y): adjust
5721         (setHeightOfRow): rewrite to sue RowList iterators.
5722         (appendParagraph): adjust
5723         (breakAgain): adjust
5724         (breakAgainOneRow): adjust
5725         (breakParagraph): adjust
5726         (getRow): adjust
5727         (getRowNearY): adjust, and remove commented code.
5728
5729         * lyxtext.h (firstRow): delete function
5730         (lastRow): delete function
5731         (rows): new function (const and non-const versions.)
5732         (insertRow): delete function
5733
5734         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5735
5736 2003-03-29  John Levon  <levon@movementarian.org>
5737
5738         * BufferView_pimpl.C: always update scrollbar top
5739         because pasting text when we're anchored could mean we
5740         miss an update altogether
5741
5742 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5743
5744         * text2.C (init): use rowlist_.end() and not 0.
5745         (insertRow): change to take a RowList::iterator as arg, adjust
5746         for this.
5747         (insertParagraph): change to take a RowList::iterator as arg,
5748         adjust for this.
5749         (redoParagraphs): remove some debug msgs.
5750
5751         * text.C (appendParagraph): change to take a RowList::iterator
5752         arg, adjust for this.
5753         (breakAgain): add an assert
5754         (breakAgainOneRow): ditto
5755
5756 2003-03-29  John Levon  <levon@movementarian.org>
5757
5758         * text2.C: do not clear selection after inc/decDepth
5759         (bug 550)
5760
5761 2003-03-29  John Levon  <levon@movementarian.org>
5762
5763         * BufferView.C:
5764         * buffer.C: fix broken strerrors according to Lars
5765
5766 2003-03-29  John Levon  <levon@movementarian.org>
5767
5768         * converters.C: more Alert cleanups
5769
5770 2003-03-29  John Levon  <levon@movementarian.org>
5771
5772         * bufferview_funcs.C: remove pointless Alert
5773
5774         * buffer.C: fix confusing error message when
5775         a template is chmoded 000
5776
5777 2003-03-29  John Levon  <levon@movementarian.org>
5778
5779         * BufferView.C:
5780         * BufferView.h:
5781         * BufferView_pimpl.C: Alert fixes
5782
5783         * Makefile.am:
5784         * tabular.C:
5785         * tabular-old.C: remove unused table compat reading
5786
5787 2003-03-29  John Levon  <levon@movementarian.org>
5788
5789         * BufferView.C:
5790         * buffer.C:
5791         * lyx_cb.h:
5792         * lyx_cb.C: more Alert cleanups
5793
5794         * lyxfunc.C: don't allow chktex if not latex document
5795
5796 2003-03-29  John Levon  <levon@movementarian.org>
5797
5798         * lyx_cb.C:
5799         * BufferView.C:
5800         * buffer.C: warnings pushed down from support/,
5801         kill err_alert
5802
5803 2003-03-29  John Levon  <levon@movementarian.org>
5804
5805         * lyxfunc.C: safety check for C-r (revert)
5806
5807 2003-03-29  John Levon  <levon@movementarian.org>
5808
5809         * bufferlist.h:
5810         * bufferlist.C: several UI fixes using Alert::prompt.
5811         Fix the pointless looping quit code. Fix stupid revert
5812         behaviour (bug 938)
5813
5814         * lyxvc.h:
5815         * lyxvc.C:
5816         * lyx_cb.C: use Alert::prompt
5817
5818         * lyx_main.C: remove a silly question
5819
5820         * lyxfunc.C: remove a couple of silly questions,
5821         use Alert::prompt
5822
5823 2003-03-28  John Levon  <levon@movementarian.org>
5824
5825         * text2.C: fix bug 974 (End on empty par)
5826
5827 2003-03-28  John Levon  <levon@movementarian.org>
5828
5829         * BufferView_pimpl.C:
5830         * LyXAction.C:
5831         * lfuns.h: remove do-nothing math greek lfuns
5832
5833 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5834
5835         * lyxgluelength.h (isValidGlueLength): add default arg on
5836         parameter 2. Remove default arg from friend in class.
5837
5838         * lyxlength.h (isValidLength): add default arg on parameter 2.
5839         Remove default arg from friend in class.
5840
5841         * text2.C (LyXText): adjust, initialize refresh_row.
5842         (init): adjust
5843         (removeRow): adjust
5844         (insertRow): adjust
5845         (insertParagraph): adjst
5846         (redoParagraphs): adjust
5847         (fullRebreak): adjust
5848         (updateCounters): adjust
5849         (deleteEmptyParagraphMechanism): first attempt at fixing a
5850         crashing bug.
5851
5852         * text.C (top_y): adjust
5853         (setHeightOfRow): adjust
5854         (getRow): adjust
5855         (getRowNearY): adjust
5856
5857         * lyxtext.h: include RowList.h
5858         (~LyXText): not needed anymore, deleted.
5859         (firstRow): modify for RowList
5860         (lastRow): new function
5861         Delete firstrow and lastrow class variables, add a Rowlist
5862         rowlist_ class variable.
5863
5864         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5865         paragraph is empty.
5866
5867         * RowList.C (insert): fix case where it == begin().
5868
5869 2003-03-26  Angus Leeming  <leeming@lyx.org>
5870
5871         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5872         the thesaurus dialog.
5873
5874 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5875
5876         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5877
5878         * RowList.[Ch]: new files
5879
5880         * ParagraphList.C (erase): handle the case where it == begin
5881         correctly.
5882
5883 2003-03-25  John Levon  <levon@movementarian.org>
5884
5885         * Makefile.am:
5886         * aspell_local.h:
5887         * aspell.C: add new aspell support
5888
5889         * lyxrc.h:
5890         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5891         have it accessible.
5892
5893 2003-03-25  Angus Leeming  <leeming@lyx.org>
5894
5895         * lfuns.h:
5896         * LyXAction.C (init): new LFUN_INSET_INSERT.
5897
5898         * BufferView_pimpl.C (dispatch): split out part of the
5899         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5900
5901         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5902         LFUN_INSET_APPLY.
5903
5904 2003-03-25  Angus Leeming  <leeming@lyx.org>
5905
5906         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5907
5908 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5909
5910         * text2.C:
5911         * text3.C: remove useless row->height(0)
5912
5913 2003-03-25  John Levon  <levon@movementarian.org>
5914
5915         * lyxtext.h:
5916         * text2.C:
5917         * text3.C: rename the refreshing stuff to better names
5918
5919 2003-03-24  John Levon  <levon@movementarian.org>
5920
5921         * BufferView_pimpl.h:
5922         * BufferView_pimpl.C: update layout choice on a mouse
5923         press/release
5924
5925 2003-03-23  John Levon  <levon@movementarian.org>
5926
5927         * Makefile.am: fix commandtags.h reference
5928
5929 2003-03-22  John Levon  <levon@movementarian.org>
5930
5931         * BufferView_pimpl.C:
5932         * lyxtext.h:
5933         * rowpainter.C:
5934         * rowpainter.h:
5935         * text.C:
5936         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5937
5938 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5939
5940         * lyxtext.h:
5941         * text.C: take the rtl methods out of line
5942
5943 2003-03-21 André Pönitz <poenitz@gmx.net>
5944
5945         * metricsinfo.[Ch]: new files containing structures to be passed around
5946         during the two-phase-drawing...
5947
5948 2003-03-21 André Pönitz <poenitz@gmx.net>
5949
5950         * lyxtextclass.C: read 'environment' tag.
5951
5952 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5953
5954         * text2.C (removeRow): fix bug 964
5955
5956 2003-03-20  John Levon  <levon@movementarian.org>
5957
5958         * rowpainter.C:
5959         * text.C:
5960         * text2.C: paint cleanups. Inset::update() dropped font
5961         parameter
5962
5963 2003-03-19  John Levon  <levon@movementarian.org>
5964
5965         * lyxfunc.C: only fitcursor/markDirty if available()
5966
5967 2003-03-19  John Levon  <levon@movementarian.org>
5968
5969         * commandtags.h: rename to ...
5970
5971         * lfuns.h: ... this, and renumber / cleanup
5972
5973 2003-03-19  John Levon  <levon@movementarian.org>
5974
5975         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5976         fit the cursor after an lfun
5977
5978         * BufferView.h:
5979         * BufferView.C:
5980         * BufferView_pimpl.h:
5981         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5982
5983         * LyXAction.C: layout-character should have ReadOnly
5984
5985         * ParagraphParameters.C:
5986         * buffer.C:
5987         * bufferview_funcs.C:
5988         * lyx_cb.C:
5989         * lyxfind.C:
5990         * lyxtext.h:
5991         * text.C:
5992         * text2.C:
5993         * text3.C:
5994         * undo_funcs.C: changes from above
5995
5996 2003-03-18  John Levon  <levon@movementarian.org>
5997
5998         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5999         remove it from update()
6000
6001         * lyxfunc.C: update layout choice after an lfun
6002
6003         * text3.C: remove extra updateLayoutChoice()s
6004
6005 2003-03-18  John Levon  <levon@movementarian.org>
6006
6007         * text.C: top_y change means full repaint, fix
6008         a drawing bug with cursor movement
6009
6010 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6011
6012         * lyxtext.h:
6013         * text.C:
6014         * text2.C: anchor row on setCursor
6015
6016 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6017
6018         * lyxtext.h: remove almost all mutable keywords
6019         * text.C:
6020         * text2.C:
6021         * text3.C: remove const keywords accordingly
6022
6023 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6024
6025         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6026         anon namespace
6027         (TeXEnvironment): ditto
6028         (TeXOnePar): ditto
6029
6030 2003-03-17  John Levon  <levon@movementarian.org>
6031
6032         * text.C (rowBreakPoint): remove attempt to fix displayed
6033         math insets inside a manual label
6034
6035 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6036
6037         * lyxtext.h: remove BufferView* as first arg from almost all class
6038         functions.
6039         * other files: adjust.
6040
6041 2003-03-17  John Levon  <levon@movementarian.org>
6042
6043         * lyxtext.h:
6044         * undo_funcs.C:
6045         * text2.C: more paint cleanups
6046
6047         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6048
6049         * rowpainter.h:
6050         * rowpainter.C: remove "smart" background painting code
6051
6052 2003-03-16  John Levon  <levon@movementarian.org>
6053
6054         * lyxtext.h:
6055         * text.C:
6056         * text2.C:
6057         * text3.C: add helper functions for setting refresh_row/y
6058
6059 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6060
6061         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6062         newline inset which *can* get inserted in the pass_thru layouts.
6063         This is primarily for literate documents.
6064
6065 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6066
6067         * buffer.C: increment LYX_FORMAT to 223
6068
6069 2003-03-14 André Pönitz <poenitz@gmx.net>
6070
6071         * textclass.h: prepare for environment handling, ws changes
6072         * lyxlayout.C: read latexheader and latexfooter tags
6073
6074 2003-03-14  John Levon  <levon@movementarian.org>
6075
6076         * text2.C: rewrite ::status() a bit
6077
6078 2003-03-13  John Levon  <levon@movementarian.org>
6079
6080         * lyxtext.h: add some docs
6081
6082 2003-03-13  John Levon  <levon@movementarian.org>
6083
6084         * lyxtext.h:
6085         * text.C:
6086         * text2.C:
6087         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6088
6089 2003-03-13  John Levon  <levon@movementarian.org>
6090
6091         * text3.C: fix appendix redrawing
6092
6093 2003-03-13  John Levon  <levon@movementarian.org>
6094
6095         * text.C (setHeightOfRow):
6096         * rowpainter.h:
6097         * rowpainter.C: make appendix mark have the text
6098           "Appendix" so the user knows what it is
6099
6100         * LColor.h:
6101         * LColor.C: s/appendixline/appendix/ from above
6102
6103 2003-03-13  John Levon  <levon@movementarian.org>
6104
6105         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6106
6107         * text.C: fix a getChar(pos) bug properly
6108
6109 2003-03-13  Angus Leeming  <leeming@lyx.org>
6110
6111         * commandtags.h:
6112         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6113         Probably only temporary. Let's see how things pan out.
6114
6115         * BufferView.C (unlockInset):
6116         * BufferView_pimpl.C (fitCursor):
6117         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6118
6119         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6120         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6121
6122         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6123         new functions that convert ParagraphParameters to and from a string.
6124
6125         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6126         BufferView::Pimpl's dispatch.
6127         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6128
6129 2003-03-13 André Pönitz <poenitz@gmx.net>
6130
6131         * lyxfunc.C:
6132         * text3.C:
6133         * factory.C: make it aware of InsetEnv
6134
6135 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * text2.C (setCursor): never ask for one past last
6138         (setCursor): add some debugging messages.
6139
6140         * text.C (singleWidth): never ask for one past last
6141         (singleWidth): ditto
6142         (leftMargin): ditto
6143         (rightMargin): ditto
6144         (rowBreakPoint): ditto
6145         (setHeightOfRow): ditto
6146         (prepareToPrint): ditto
6147
6148         * rowpainter.C (paintBackground): never ask for one past last
6149         (paintText): never ask for one past last
6150
6151         * paragraph_pimpl.C (getChar): make the assert stricter, never
6152         allow the one past last pos to be taken
6153
6154         * paragraph.C (getChar): ws changes only
6155
6156         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6157         (numberOfSeparators): ditto
6158         (numberOfHfills): ditto
6159
6160 2003-03-12  John Levon  <levon@movementarian.org>
6161
6162         * author.h:
6163         * author.C:
6164         * bufferparams.h:
6165         * bufferparams.C:
6166         * paragraph_funcs.C: fix per-buffer authorlists
6167
6168 2003-03-12  John Levon  <levon@movementarian.org>
6169
6170         * text.C: fix newline in right address
6171
6172 2003-03-12  Angus Leeming  <leeming@lyx.org>
6173
6174         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6175         duplicate those in LyXFunc::dispatch.
6176
6177         * commandtags.h:
6178         * LyXAction.C:
6179         * ToolbarDefaults.C:
6180         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6181         Add LFUN_FONTFREE_UPDATE.
6182
6183         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6184         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6185
6186         * bufferview_func.[Ch]: several new functions to facilliate
6187         transfer of data to and from the character dialog.
6188
6189 2003-03-12  John Levon  <levon@movementarian.org>
6190
6191         * buffer.C:
6192         * paragraph.h:
6193         * paragraph.C:
6194         * paragraph_funcs.C:
6195         * paragraph_pimpl.C:
6196         * sgml.C:
6197         * tabular.C:
6198         * text.C:
6199         * text3.C: remove META_NEWLINE in favour of an inset
6200
6201         * rowpainter.h:
6202         * rowpainter.C: remove paintNewline (done by inset)
6203
6204 2003-03-12  John Levon  <levon@movementarian.org>
6205
6206         * paragraph_pimpl.C: complain about bad getChar()s
6207         for a while at least
6208
6209 2003-03-12  John Levon  <levon@movementarian.org>
6210
6211         * buffer.h:
6212         * buffer.C: move paragraph read into a separate function,
6213         a little renaming to reflect that.
6214
6215         * bufferparams.h:
6216         * bufferparams.C: remove the author_ids map, not necessary now
6217
6218         * factory.h:
6219         * factory.C: moved Buffer::readInset to here
6220
6221         * paragraph_funcs.h:
6222         * paragraph_funcs.C: readParagraph free function moved from
6223         buffer.C
6224
6225         * tabular.C: name change
6226
6227 2003-03-12  John Levon  <levon@movementarian.org>
6228
6229         * buffer.C:
6230         * ParagraphParameters.C: move par params input to
6231         a read() method
6232
6233         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6234         behave like a normal read from the stream wrt reading
6235         a line vs. a \\token
6236
6237 2003-03-12  John Levon  <levon@movementarian.org>
6238
6239         * paragraph.C:
6240         * ParagraphParameters.h:
6241         * ParagraphParameters.C: move output code to a
6242         ::write() method
6243
6244 2003-03-12  John Levon  <levon@movementarian.org>
6245
6246         * BufferView.C (insertLyXFile):
6247         * buffer.h:
6248         * buffer.C:
6249         * tabular.C: use a parlist iterator for creating the
6250           document.
6251
6252 2003-03-12  John Levon  <levon@movementarian.org>
6253
6254         * buffer.C: make current_change static local not
6255           static file-scope
6256
6257 2003-03-12  John Levon  <levon@movementarian.org>
6258
6259         * buffer.C: fix insertStringAsLines for change tracking
6260
6261 2003-03-12  John Levon  <levon@movementarian.org>
6262
6263         * BufferView.C:
6264         * tabular.C:
6265         * buffer.h:
6266         * buffer.C:
6267         * bufferparams.h:
6268         * bufferparams.C: move author list into params. Rename some
6269           functions. Move the header reading into a separate token
6270           loop. Move the header token reading into BufferParams.
6271
6272 2003-03-12  John Levon  <levon@movementarian.org>
6273
6274         * changes.C: put debug inside lyxerr.debugging() checks
6275
6276 2003-03-11 André Pönitz <poenitz@gmx.net>
6277
6278         * factory.C: make it aware of InsetHFill
6279
6280 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6281
6282         * buffer.C (latexParagraphs): move function from here...
6283         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6284         args.
6285
6286 2003-03-10  Angus Leeming  <leeming@lyx.org>
6287
6288         * LyXAction.C (init): fix bug in poplating array with multiple entries
6289         with the same LFUN (spotted by JMarc).
6290
6291 2003-03-10  John Levon  <levon@movementarian.org>
6292
6293         * text.C:
6294         * text2.C: move getColumnNearX() near its
6295         only call site
6296
6297 2003-03-10  John Levon  <levon@movementarian.org>
6298
6299         * text.C: fix break before a minipage
6300
6301 2003-03-10  John Levon  <levon@movementarian.org>
6302
6303         * text.C: fix the last commit
6304
6305 2003-03-09  John Levon  <levon@movementarian.org>
6306
6307         * lyxtext.h:
6308         * text.C:
6309         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6310         bug 365 (don't break before insets unless needed). Don't
6311         return a value > last under any circumstances.
6312
6313 2003-03-09  Angus Leeming  <leeming@lyx.org>
6314
6315         * BufferView_pimpl.C (trackChanges, dispatch): call
6316         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6317
6318 2003-03-09  Angus Leeming  <leeming@lyx.org>
6319
6320         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6321         than Dialogs::showAboutlyx().
6322
6323 2003-03-09  Angus Leeming  <leeming@lyx.org>
6324
6325         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6326         than Dialogs::showTabularCreate().
6327
6328 2003-03-09  John Levon  <levon@movementarian.org>
6329
6330         * lyxtext.h:
6331         * text.C:
6332         * text2.C: 3rd arg to nextBreakPoint was always the same.
6333           Use references.
6334
6335 2003-03-08  John Levon  <levon@movementarian.org>
6336
6337         * lyxrow.C:
6338         * paragraph.C:
6339         * paragraph.h:
6340         * rowpainter.C:
6341         * text.C:
6342         * text2.C: Remove the "main" bit from the "main body"
6343           notion.
6344
6345 2003-03-08  John Levon  <levon@movementarian.org>
6346
6347         * text.C (leftMargin): The left margin of an empty
6348         manual label paragraph should not include the label width
6349         string length.
6350
6351         * text.C (prepareToPrint): don't attempt to measure hfills
6352         for empty manual label paragraphs - the answer should be 0
6353
6354 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6355
6356         * CutAndPaste.C: remove commented code and reindent.
6357
6358 2003-03-08  John Levon  <levon@movementarian.org>
6359
6360         * lyxfunc.h:
6361         * lyxfunc.C: move reloadBuffer()
6362
6363         * BufferView.h:
6364         * BufferView.C: to here
6365
6366         * lyxvc.C: add comment
6367
6368         * vc-backend.h:
6369         * vc-backend.C: call bv->reload() to avoid
6370           getStatus() check on MENURELOAD
6371
6372 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6373
6374         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6375         to an old format .dep file.
6376
6377 2003-03-07  Angus Leeming  <leeming@lyx.org>
6378
6379         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6380         when the LFUN_MOUSE_RELEASE should have been handled by
6381         inset->localDispatch.
6382
6383 2003-03-07  Angus Leeming  <leeming@lyx.org>
6384
6385         * BufferView_pimpl.C (dispatch):
6386         * LyXAction.C (init):
6387         * ToolbarDefaults.C (init):
6388         * commandtags.h:
6389         * lyxfunc.C (getStatus):
6390         remove LFUN_INSET_GRAPHICS.
6391
6392         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6393
6394 2003-03-07  Angus Leeming  <leeming@lyx.org>
6395
6396         * commandtags.h:
6397         * LyXAction.C (init):
6398         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6399
6400         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6401
6402         * commandtags.h:
6403         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6404
6405         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6406         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6407
6408 2003-03-07  Angus Leeming  <leeming@lyx.org>
6409
6410         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6411         remove "ert".
6412
6413 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6414
6415         * ParagraphList.C (front): new function
6416         (back): implement
6417
6418 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6419
6420         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6421         and top_row_offset_. removed var first_y.
6422         * text.C (top_y):
6423         * text2.C (LyXText, removeRow):
6424         * text3.C:
6425         * BufferView_pimpl.C:
6426         use these methods instead of using first_y
6427
6428 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6429
6430         * text2.C (pasteSelection): adjust for checkPastePossible
6431
6432         * CutAndPaste.C: remove Paragraph * buf and replace with
6433         ParagraphList paragraphs.
6434         (DeleteBuffer): delete
6435         (cutSelection): change the tc type to textclass_type
6436         (copySelection): change the tc type to textclass_type
6437         (copySelection): adjust for ParagraphList
6438         (pasteSelection): change the tc type to textclass_type
6439         (pasteSelection): adjust for Paragraphlist
6440         (nrOfParagraphs): simplify for ParagraphList
6441         (checkPastePossible): simplify for ParagraphList
6442         (checkPastePossible): remove unused arg
6443
6444         * ParagraphList.C (insert): handle the case where there are no
6445         paragraphs yet.
6446
6447         * CutAndPaste.h: make CutAndPaste a namespace.
6448
6449         * text3.C (dispatch): adjust
6450
6451         * text.C (breakParagraph): add a ParagraphList as arg
6452
6453         * paragraph_funcs.C (breakParagraph): change to take a
6454         BufferParams and a ParagraphList as args.
6455         (breakParagraphConservative): ditto
6456         (mergeParagraph): ditto
6457         (TeXDeeper): add a ParagraphList arg
6458         (TeXEnvironment): ditto
6459         (TeXOnePar): ditto
6460
6461         * buffer.C (readLyXformat2): adjust
6462         (insertStringAsLines): adjust
6463         (latexParagraphs): adjust
6464
6465         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6466         (cutSelection): adjust
6467         (pasteSelection): adjust
6468
6469         * BufferView_pimpl.C (insertInset): adjust
6470
6471 2003-03-05  Angus Leeming  <leeming@lyx.org>
6472
6473         * commandtags.h:
6474         * LyXAction.C (init):
6475         * BufferView_pimpl.C (dispatch):
6476         * lyxfunc.C (getStatus):
6477         remove LFUN_CHILD_INSERT.
6478
6479         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6480
6481 2003-03-05  Angus Leeming  <leeming@lyx.org>
6482
6483         * commandtags.h:
6484         * LyXAction.C (init):
6485         * src/factory.C (createInset):
6486         * lyxfunc.C (getStatus):
6487         * text3.C (dispatch):
6488         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6489
6490         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6491
6492 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6493
6494         * ParagraphList.C (insert): handle insert right before end()
6495         (erase): fix cases where it can be first or last paragraph.
6496
6497 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6498
6499         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6500         Paragraph::next and Paragraph::previous
6501         (TeXOnePar): ditto
6502
6503         * text.C (breakParagraph): adjust
6504
6505         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6506         BufferParams& as arg.
6507         (breakParagraph): use ParagraphList::insert
6508         (breakParagraphConservative): take a Buffer* instead of a
6509         BufferParams& as arg.
6510         (breakParagraphConservative): use ParagraphList::insert.
6511
6512         * buffer.C (insertStringAsLines): un-const it
6513         (insertStringAsLines): adjust
6514
6515         * ParagraphList.C (insert): new function
6516
6517         * CutAndPaste.C (pasteSelection): adjust
6518
6519         * text.C (backspace): adjust
6520
6521         * tabular.C (SetMultiColumn): adjust
6522
6523         * CutAndPaste.C (cutSelection): adjust
6524         (pasteSelection): adjust
6525
6526         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6527         Buffer const * as arg
6528
6529         * ParagraphList.C (erase): new function
6530         * paragraph_funcs.C (mergeParagraph): use it
6531         (mergeParagraph): make it take a Buffer* instead of a
6532         BufferParams* as arg
6533
6534         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6535         as arg
6536         (breakParagraphConservative): ditto
6537
6538         * paragraph.h: remove the breakParagraph friend
6539
6540         * paragraph.C (eraseIntern): new function
6541         (setChange): new function
6542
6543         * paragraph_funcs.C (mergeParagraph): make it take a
6544         ParagraphList::iterator instead of a Paragraph *, adjust
6545         accordingly.
6546
6547         * paragraph.h: move an #endif so that the change tracking stuff
6548         also works in the NO_NEXT case.
6549
6550 2003-03-04  Angus Leeming  <leeming@lyx.org>
6551
6552         * commandtags.h:
6553         * LyXAction.C: new LFUN_INSET_MODIFY.
6554
6555         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6556         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6557
6558 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6559
6560         * several files: ws changes only
6561
6562         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6563         (TeXEnvironment): ditto
6564         (TeXDeeper): ditto
6565
6566         * buffer.C (makeLaTeXFile): adjust
6567         (latexParagraphs): make it take ParagraphList::iterator as args
6568
6569 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * buffer.C (latexParagraphs): adjust
6572
6573         * paragraph.C (TeXOnePar): move function...
6574         (optArgInset): move function...
6575         (TeXEnvironment): move function...
6576         * paragraph_pimpl.C (TeXDeeper): move function...
6577         * paragraph_funcs.C: ...here
6578
6579         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6580
6581 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6582
6583         * buffer.C (readInset): remove compability code for old Figure and
6584         InsetInfo insets
6585
6586 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6587
6588         * buffer.C: ws changes
6589         (readInset):
6590
6591         * BufferView_pimpl.C: ditto
6592         * author.C: ditto
6593         * buffer.h: ditto
6594         * bufferlist.h: ditto
6595         * changes.h: ditto
6596         * lyxfunc.C: ditto
6597
6598 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6599
6600         * converter.[Ch]: split into itself +
6601         * graph.[Ch]
6602         * format.[Ch]
6603         * Makefile.am: += graph.[Ch] + format.[Ch]
6604         * MenuBackend.C
6605         * buffer.C
6606         * exporter.C
6607         * importer.C
6608         * lyx_main.C
6609         * lyxfunc.C
6610         * lyxrc.C: added #include "format.h"
6611
6612 2003-02-27  Angus Leeming  <leeming@lyx.org>
6613
6614         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6615           a label.
6616
6617         * factory.C (createInset): add "label" to the factory.
6618
6619         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6620           string and do no more.
6621
6622 2003-02-27  Angus Leeming  <leeming@lyx.org>
6623
6624         * commandtags.h:
6625         * LyXAction.C (init):
6626         * factory.C (createInset):
6627         * BufferView_pimpl.C (dispatch):
6628           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6629
6630         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6631
6632         * lyxfunc.C (dispatch):
6633         * text3.C (dispatch): pass name to params2string.
6634
6635 2003-02-26  Angus Leeming  <leeming@lyx.org>
6636
6637         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6638           blocks together.
6639           Rearrange the ~includes. Strip out the unnecessary ones.
6640
6641         * factory.C (createInset): reformat.
6642           create new insets for the various LFUN_XYZ_APPLY lfuns.
6643
6644 2003-02-26  John Levon  <levon@movementarian.org>
6645
6646         * lyxrow.h:
6647         * lyxrow.C: add isParStart,isParEnd helpers
6648
6649         * paragraph.h: make isInserted/DeletedText take refs
6650
6651         * paragraph_funcs.h:
6652         * paragraph_funcs.C: remove #if 0'd code
6653
6654         * lyxtext.h:
6655         * text3.C:
6656         * text2.C:
6657         * text.C: use lyxrow helpers above.
6658           Move draw and paint routines to RowPainter.
6659           Make several methods use refs not pointers.
6660           Make backgroundColor() const.
6661           Add markChangeInDraw(), isInInset().
6662           Merge changeRegionCase into changeCase.
6663           Make workWidth() shouldn't-happen code into an Assert.
6664
6665         * rowpainter.h:
6666         * rowpainter.C: new class for painting a row.
6667
6668         * vspace.h:
6669         * vspace.C: make inPixels take a ref
6670
6671 2003-02-26  Angus Leeming  <leeming@lyx.org>
6672
6673         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6674         LFUN_REF_APPLY.
6675
6676 2003-02-25  John Levon  <levon@movementarian.org>
6677
6678         * ispell.C: give the forked command a more accurate name
6679
6680 2003-02-22  John Levon  <levon@movementarian.org>
6681
6682         * toc.h:
6683         * toc.C: make TocItem store an id not a Paragraph *
6684           (bug #913)
6685
6686 2003-02-21  Angus Leeming  <leeming@lyx.org>
6687
6688         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6689           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6690           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6691           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6692           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6693           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6694
6695         * BufferView_pimpl.C (dispatch):
6696         * LyXAction.C (init):
6697         * factory.C (createInset):
6698         * lyxfunc.C (getStatus, dispatch):
6699         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6700
6701 2003-02-21  Angus Leeming  <leeming@lyx.org>
6702
6703         * BufferView_pimpl.C (MenuInsertLyXFile):
6704         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6705         * lyxfunc.C (menuNew, open, doImport):
6706           no longer pass a LyXView & to fileDlg.
6707
6708 2003-02-21  Angus Leeming  <leeming@lyx.org>
6709
6710         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6711         * LyXAction.C: change, BIBKEY to BIBITEM.
6712         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6713         Change InsetBibKey to InsetBibitem.
6714         Change BIBKEY_CODE to BIBITEM_CODE.
6715         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6716         * factory.C: replace insetbib.h with insetbibitem.h.
6717         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6718         * paragraph.C: replace insetbib.h with insetbibitem.h.
6719         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6720         Change bibkey() to bibitem().
6721         * text.C: remove insetbib.h.
6722         * text2.C: replace insetbib.h with insetbibitem.h.
6723         change bibkey() to bibitem().
6724         * text3.C: remove insetbib.h.
6725         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6726
6727 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6728
6729         * lyxrc.C (output): enclose user email in quotes (in case there are
6730         several words)
6731
6732 2003-02-18  John Levon  <levon@movementarian.org>
6733
6734         * buffer.h: add std::
6735
6736 2003-02-17  John Levon  <levon@movementarian.org>
6737
6738         * SpellBase.h:
6739         * ispell.h:
6740         * ispell.C:
6741         * pspell.h:
6742         * pspell.C: reworking. Especially in ispell, a large
6743           number of clean ups and bug fixes.
6744
6745         * lyxfunc.C: fix revert to behave sensibly
6746
6747 2003-02-17 André Pönitz <poenitz@gmx.net>
6748
6749         * LyXAction.C:
6750         * commandtags.h: new LFUN_INSERT_BIBKEY
6751
6752         * layout.h:
6753         * lyxlayout.C:
6754         * buffer.C:
6755         * factory.C:
6756         * text.C:
6757         * text2.C:
6758         * text3.C:
6759         * paragraph.[Ch]:
6760         * paragraph_func.C: remove special bibkey handling
6761
6762 2003-02-17  John Levon  <levon@movementarian.org>
6763
6764         * text.C (Delete): fix case where delete at the end of
6765           the very first paragraph would not merge the pars
6766
6767 2003-02-17  John Levon  <levon@movementarian.org>
6768
6769         * lyxrow.C: fix lastPrintablePos()
6770
6771 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6772
6773         * bufferparams.C (writeLaTeX): add a std:here
6774
6775         * buffer.C: and remove a using directive there
6776
6777 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6778
6779         * buffer.C (makeLaTeXFile): move the code that generates the
6780           preamble...
6781
6782         * bufferparams.C (writeLaTeX): ... in this new method
6783
6784         * LaTeXFeatures.C (getEncodingSet): make const
6785           (getLanguages): make const
6786
6787         * MenuBackend.C (binding): returns the binding associated to this
6788           action
6789           (add): sets the status of each item by calling getStatus. Adds
6790           some intelligence.
6791           (read): add support for OptSubMenu
6792           (expand): remove extra separator at the end of expanded menu
6793
6794 2003-02-15  John Levon  <levon@movementarian.org>
6795
6796         * BufferView.C:
6797         * BufferView_pimpl.C:
6798         * bufferlist.h:
6799         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6800           inset code that had no actual effect. Remove unneeded status
6801           code.
6802
6803 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6804
6805         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6806           in preamble
6807
6808 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6809
6810         * text.C (drawLengthMarker): also draw an arrow marker for
6811           symbolic lengths (medskip...)
6812
6813 2003-02-14  John Levon  <levon@movementarian.org>
6814
6815         * tabular.h:
6816         * tabular.C: better method names
6817
6818 2003-02-14  John Levon  <levon@movementarian.org>
6819
6820         * BufferView_pimpl.C:
6821         * bufferlist.C:
6822         * buffer.C:
6823         * converter.C:
6824         * lyx_cb.C:
6825         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6826           it's a more accurate name. Remove some pointless uses.
6827
6828 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6829
6830         * text2.C (LyXText): change order of initilizers to shut off
6831           warnings
6832
6833 2003-02-14  John Levon  <levon@movementarian.org>
6834
6835         * buffer.C: use ParIterator for getParFromID()
6836
6837         * paragraph.h:
6838         * paragraph.C:
6839         * paragraph_pimpl.h:
6840         * paragraph_pimpl.C: remove unused getParFromID()
6841
6842 2003-02-14  John Levon  <levon@movementarian.org>
6843
6844         * buffer.C: remove some very old #if 0'd parse code
6845
6846 2003-02-13  John Levon  <levon@movementarian.org>
6847
6848         * text.h:
6849         * text.C:
6850         * text2.C: move hfillExpansion(), numberOfSeparators(),
6851           rowLast(), rowLastPrintable(), numberofHfills(),
6852           numberOfLabelHfills() ...
6853
6854         * lyxrow.h:
6855         * lyxrow.C: ... to member functions here.
6856
6857         * paragraph.h:
6858         * paragraph.C:
6859         * lyxtext.h:
6860         * text.C: remove LyXText::beginningOfMainBody(), and call
6861           p->beginningOfMainBody() directly. Move the check for
6862           LABEL_MANUAL into the latter.
6863
6864         * text.h:
6865         * text.C:
6866         * text2.C:
6867         * vspace.C:
6868         * BufferView.h:
6869         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6870
6871         * text.h:
6872         * text.C:
6873         * text2.C:
6874         * text3.C:
6875         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6876           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6877
6878 2003-02-13  John Levon  <levon@movementarian.org>
6879
6880         * CutAndPaste.C: remove debug
6881
6882 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6883
6884         * paragraph.C (asString): remove two unused variables
6885
6886         * lyxtextclass.C (readTitleType):
6887           (Read):
6888           (LyXTextClass): handle new members titletype_ and titlename_
6889
6890         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6891
6892 2003-02-09  John Levon  <levon@movementarian.org>
6893
6894         * buffer.h:
6895         * buffer.C: replace hand-coded list with a map for the dep clean
6896
6897 2003-02-08  John Levon  <levon@movementarian.org>
6898
6899         * LaTeX.C: consolidate code into showRunMessage() helper
6900
6901 2003-02-08  John Levon  <levon@movementarian.org>
6902
6903         * lyxfind.C:
6904         * lyxtext.h:
6905         * text2.C:
6906         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6907           and pass the size in explicitly
6908
6909         * BufferView_pimpl.h:
6910         * BufferView_pimpl.C:
6911         * BufferView.h:
6912         * BufferView.C: add getCurrentChange()
6913
6914         * BufferView_pimpl.h:
6915         * BufferView_pimpl.C: handle change lfuns
6916
6917         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6918           for changes. Mark pasted paragraphs as new.
6919
6920         * support/lyxtime.h:
6921         * support/lyxtime.C:
6922         * DepTable.C: abstract time_t as lyx::time_type
6923
6924         * LColor.h:
6925         * LColor.C: add colours for new text, deleted text, changebars
6926
6927         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6928           package use "usenames" option.
6929
6930         * commandtags.h:
6931         * lyxfunc.C:
6932         * LyXAction.C: add change lfuns
6933
6934         * Makefile.am:
6935         * author.h:
6936         * author.C: author handling
6937
6938         * buffer.h:
6939         * buffer.C: add a per-buffer author list, with first entry as
6940           current author. Handle new .lyx tokens for change tracking. Output
6941           author list to .lyx file. Output dvipost stuff to .tex preamble.
6942           Bump lyx format to 222.
6943
6944         * bufferlist.h:
6945         * bufferlist.C: add setCurrentAuthor() to reset current author details
6946           in all buffers.
6947
6948         * bufferparams.h:
6949         * bufferparams.C: add param for tracking
6950
6951         * bufferview_funcs.C: output change info in minibuffer
6952
6953         * Makefile.am:
6954         * changes.h:
6955         * changes.C: add change-tracking structure
6956
6957         * debug.h:
6958         * debug.C: add CHANGES debug flag
6959
6960         * lyxfind.h:
6961         * lyxfind.C: add code for finding the next change piece
6962
6963         * lyxrc.h:
6964         * lyxrc.C: add user_name and user_email
6965
6966         * lyxrow.h:
6967         * lyxrow.C: add a metric for the top of the text line
6968
6969         * lyxtext.h:
6970         * text.C: implement accept/rejectChange()
6971
6972         * lyxtext.h:
6973         * text.C: paint changebars. Paint new/deleted text in the chosen
6974         colours. Strike through deleted text.
6975
6976         * paragraph.h:
6977         * paragraph.C:
6978         * paragraph_pimpl.h:
6979         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6980           in the current change to the insert functions. Rework erase to
6981           mark text as deleted, adding an eraseIntern() and a range-based
6982           erase(). Implement per-paragraph change lookup and
6983           accept/reject.
6984
6985         * paragraph_funcs.C: Fixup paste for change tracking.
6986
6987         * tabular.C: mark added row/columns as new.
6988
6989         * text.C: fix rowLast() to never return -1. Don't allow
6990           spellchecking of deleted text. Track transpose changes. Don't
6991           allow paragraph break or merge where appropriate.
6992
6993         * text2.C: leave cursor at end of selection after a cut.
6994
6995 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6996
6997         * text.C (getLengthMarkerHeight):
6998         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6999         visible on screen too.
7000
7001 2003-02-07  John Levon  <levon@movementarian.org>
7002
7003         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7004
7005 2003-02-05  Angus Leeming  <leeming@lyx.org>
7006
7007         * lyxserver.C (read_ready): revert my patch of 11 September last year
7008         as it sends PC cpu through the roof. Presumably this means that
7009         the lyxserver will no longer run on an Alpha...
7010
7011 2003-01-30  Angus Leeming  <leeming@lyx.org>
7012
7013         * factory.C (createInset): create an InsetCommandParam of type "index"
7014         and use it to 'do the right thing'.
7015
7016         * text2.C (getStringToIndex): ensure that cursor position is always
7017         reset to the reset_cursor position.
7018
7019 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7020
7021         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7022         disabled.
7023
7024 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7025
7026         * bufferview.C:
7027         * lyxcb.C:
7028         * lyxfunc.C: Output messages with identical spelling, punctuation,
7029         and spaces
7030
7031 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7032
7033         * MenuBackend.C (expandFormats): List only viewable export formats
7034         in "View" menu
7035
7036         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7037         message
7038
7039         * lyxfunc.C (getStatus): Make sure that formats other than
7040         "fax" can also be disabled
7041
7042 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7043
7044         * text3.C (dispatch): put the lfuns that insert insets in 3
7045         groups, and call doInsertInset with appropriate arguments.
7046         (doInsertInset): new function, that creates an inset and inserts
7047         it according to some boolean parameters.
7048
7049 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7050
7051         * buffer.C (readFile): remember to pass on 'par' when calling
7052         readFile recursively.
7053
7054 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7055
7056         * MenuBackend.C (expandFormats): add "..." to import formats.
7057
7058 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7059
7060         * paragraph.C (asString): Remove XForms RTL hacks.
7061
7062 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7063         * buffer.C: fix typo
7064
7065 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7066
7067         * Makefile.am (LIBS): delete var
7068         (lyx_LDADD): add @LIBS@ here instead.
7069
7070 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7071
7072         * Clarify the meaning of "wheel mouse jump"
7073
7074 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7075
7076         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7077         tabular in a float
7078
7079 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7080
7081         * importer.C (Loaders): do not preallocate 3 elements in the
7082         vector, since one ends up with 6 elements otherwise
7083
7084 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7085
7086         * DepTable.C (write): write the file name as last element of the
7087         .dep file (because it may contain spaces)
7088         (read): read info in the right order
7089
7090 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7091
7092         * paragraph_pimpl.C (simpleTeXBlanks):
7093         (simpleTeXSpecialChars):
7094         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7095
7096         * tabular.C (latex): add some missing case statements. Reindent.
7097
7098         * MenuBackend.C (expandToc): remove unused variable.
7099
7100 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7101
7102         * LColor.C:
7103         * LaTeX.C:
7104         * LyXAction.C:
7105         * MenuBackend.C:
7106         * buffer.C:
7107         * exporter.C:
7108         * lyxfunc.C:
7109         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7110         and the like.
7111
7112 2003-01-05  John Levon  <levon@movementarian.org>
7113
7114         * BufferView.h:
7115         * BufferView.C: add getEncoding()
7116
7117         * kbsequence.h:
7118         * kbsequence.C: do not store last keypress
7119
7120         * lyxfunc.h:
7121         * lyxfunc.C: store last keypress here instead. Pass encoding
7122           to getISOEncoded()
7123
7124 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7125
7126         * lyx_main.C (init): remove annoying error message when following
7127         symbolic links (bug #780)
7128
7129 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7130
7131         * text.C (insertChar):
7132         * lyxrc.C (getDescription): remove extra spaces
7133
7134 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7135
7136         * lyxrc.C (getDescription): remove extra spaces
7137
7138 2002-12-20  John Levon  <levon@movementarian.org>
7139
7140         * text3.C: hack fix for page up/down across tall rows
7141
7142 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7143
7144         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7145         not been invoked
7146
7147 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7148
7149         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7150         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7151         thesaurus is not compiled in
7152
7153 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7154
7155         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7156
7157 2002-12-16  Angus Leeming  <leeming@lyx.org>
7158
7159         * lyxrc.[Ch]:
7160         * lyx_main.C (init): remove override_x_deadkeys stuff.
7161
7162 2002-12-12  John Levon  <levon@movementarian.org>
7163
7164         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7165           insert. Only remove shift modifier under strict
7166           circumstances.
7167
7168 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * MenuBackend.C (expandToc): fix crash.
7171
7172 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * MenuBackend.C (expandToc): gettext on float names.
7175
7176 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7177
7178         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7179         implement bool empty() [bug 490]
7180
7181 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7184
7185 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7186
7187         * several files: ws changes
7188
7189 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7190
7191         * text2.C (setCounter): clean up a bit, use boost.format.
7192         (updateCounters): initialize par upon declaration.
7193
7194         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7195         if the layout exists. We do not just store the layout any more.
7196         (SwitchLayoutsBetweenClasses): use boost.format
7197
7198 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7199
7200         * converter.C (convert): if from and to files are the same, use a
7201         temporary files as intermediary
7202
7203 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7204
7205         * commandtags.h:
7206         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7207
7208 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7209
7210         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7211
7212 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7213
7214         * tabular.C (asciiPrintCell): use string(size, char) instead of
7215         explicit loop.
7216
7217         * sgml.C (openTag): fix order of arguments to string constructor
7218         (closeTag): ditto
7219
7220         * lyxfunc.C (dispatch): use boost.format
7221
7222         * lots of files: change "c" -> 'c'
7223
7224 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7225
7226         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7227
7228 2002-11-25  Angus Leeming  <leeming@lyx.org>
7229
7230         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7231
7232         * lyx_main.C (init): compile fix.
7233
7234 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7235
7236         * lyx_cb.C (start): boost.formatify
7237         do not include <iostream>
7238
7239         * lengthcommon.C: ws only
7240
7241         * boost-inst.C,BoostFormat.h: add more explict instantations
7242
7243 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7244
7245         * lots of files: handle USE_BOOST_FORMAT
7246
7247 2002-11-21  John Levon  <levon@movementarian.org>
7248
7249         * pspell.C: fix compile
7250
7251 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7252
7253         * lyxfunc.C (dispatch): use boost::format
7254         (open): ditto
7255         (doImport): ditto
7256
7257         * lyxfont.C (stateText): use boost::format
7258
7259         * lyx_main.C (LyX): use boost::format
7260         (init): ditto
7261         (queryUserLyXDir): ditto
7262         (readRcFile): ditto
7263         (parse_dbg): ditto
7264         (typedef boost::function): use the recommened syntax.
7265
7266         * importer.C (Import): use boost::format
7267
7268         * debug.C (showLevel): use boost::format
7269
7270         * converter.C (view): use boost::format
7271         (convert): ditto
7272         (move): ditto
7273         (scanLog): ditto
7274
7275         * bufferview_funcs.C (currentState): use boost::format
7276
7277         * bufferlist.C (emergencyWrite): use boost::format
7278
7279         * buffer.C (readLyXformat2): use boost::format
7280         (parseSingleLyXformat2Token): ditto
7281
7282         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7283
7284         * LaTeX.C (run): use boost::format
7285
7286         * Chktex.C (scanLogFile): use boost::format
7287
7288         * BufferView_pimpl.C (savePosition): use boost::format
7289         (restorePosition): ditto
7290         (MenuInsertLyXFile): ditto
7291
7292         * BoostFormat.h: help file for explicit instation.
7293
7294 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7295
7296         * tabular.C (latex): Support for block alignment in fixed width
7297         columns.
7298
7299 2002-11-17  John Levon  <levon@movementarian.org>
7300
7301         * BufferView_pimpl.C:
7302         * lyx_cb.C:
7303         * lyxfunc.C: split filedialog into open/save
7304
7305 2002-11-08  Juergen Vigna  <jug@sad.it>
7306
7307         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7308         by my last patch (hopefully).
7309
7310 2002-11-08  John Levon  <levon@movementarian.org>
7311
7312         * iterators.h:
7313         * iterators.C:
7314         * buffer.h:
7315         * buffer.C:
7316         * paragraph.h:
7317         * paragraph.C:
7318         * toc.h:
7319         * toc.C: ParConstIterator, and use it (from Lars)
7320
7321 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7322
7323         * lyxtextclass.[Ch]: revise and add doxygen comments
7324
7325 2002-11-07  John Levon  <levon@movementarian.org>
7326
7327         * text.C: fix progress value for spellchecker
7328
7329         * toc.C: fix navigate menu for insetwrap inside minipage
7330
7331         * paragraph_funcs.C: added FIXME for suspect code
7332
7333 2002-11-07  John Levon  <levon@movementarian.org>
7334
7335         * BufferView_pimpl.C: fix redrawing of insets
7336           on buffer switch
7337
7338 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7339
7340         * text2.C (updateCounters): fix bug 668
7341
7342 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7343
7344         * text3.C (dispatch): Do not make the buffer dirty when moving the
7345         cursor.
7346
7347 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * vc-backend.C: STRCONV
7350         (scanMaster): ditto
7351
7352         * text2.C (setCounter): STRCONV
7353
7354         * paragraph.C (asString): STRCONV
7355
7356         * lyxlength.C (asString): STRCONV
7357         (asLatexString): ditto
7358
7359         * lyxgluelength.C (asString): STRCONV
7360         (asLatexString): ditto
7361
7362         * lyxfunc.C (dispatch): STRCONV
7363         (open): ditto
7364
7365         * lyxfont.C (stateText): STRCONV
7366
7367         * importer.C (Import): STRCONV
7368
7369         * counters.C (labelItem): STRCONV
7370         (numberLabel): ditto
7371         (numberLabel): remove unused ostringstream o
7372
7373         * chset.C: STRCONV
7374         (loadFile): ditto
7375
7376         * bufferview_funcs.C (currentState): STRCONV
7377
7378         * buffer.C (readFile): STRCONV
7379         (asciiParagraph): ditto
7380         (makeLaTeXFile): ditto
7381
7382         * Spacing.C (writeEnvirBegin): STRCONV
7383
7384         * LaTeXFeatures.C (getLanguages): STRCONV
7385         (getPackages): ditto
7386         (getMacros): ditto
7387         (getBabelOptions): ditto
7388         (getTClassPreamble): ditto
7389         (getLyXSGMLEntities): ditto
7390         (getIncludedFiles): ditto
7391
7392         * LaTeX.C: STRCONV
7393         (run): ditto
7394         (scanAuxFile): ditto
7395         (deplog): ditto
7396
7397         * LString.h: add the STRCONV macros
7398
7399         * BufferView_pimpl.C (savePosition): STRCONV
7400         (restorePosition): ditto
7401         (MenuInsertLyXFile): ditto
7402
7403         * vc-backend.C (scanMaster): change from submatch[...] to
7404         submatch.str(...)
7405
7406         * funcrequest.C: include config.h
7407
7408         * factory.C: include config.h
7409
7410         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7411
7412         * box.C: include config.h
7413
7414         * LaTeX.C (scanAuxFile): change from submatch[...] to
7415         submatch.str(...)
7416         (deplog): ditto
7417
7418 2002-10-25  Angus Leeming  <leeming@lyx.org>
7419
7420         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7421
7422         * ispell.[Ch] (setError): new method.
7423         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7424         Use setError() insetead of goto END.
7425
7426         * lyx_cb.C (AutoSave): move out child process into new class
7427         AutoSaveBuffer.
7428
7429 2002-10-30  John Levon  <levon@movementarian.org>
7430
7431         * text3.C: make start appendix undoable
7432
7433 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7434
7435         * lyxlength.C (inPixels): Fix returned value.
7436
7437         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7438         environment.
7439
7440 2002-10-24  Angus Leeming  <leeming@lyx.org>
7441
7442         * lyxgluelength.h: no need to forward declare BufferParams
7443         or BufferView, so don't.
7444
7445 2002-10-21  John Levon  <levon@movementarian.org>
7446
7447         * BufferView.C: menuUndo ->undo, redo
7448
7449         * BufferView.h: document, remove dead, make some methods private
7450
7451         * paragraph_funcs.h:
7452         * paragraph_funcs.C:
7453         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7454
7455         * buffer.h:
7456         * buffer.C:
7457         * sgml.h:
7458         * sgml.C: move sgml open/close tag into sgml.C
7459
7460         * bufferview_funcs.h: unused prototype
7461
7462         * lyxfunc.h:
7463         * lyxfunc.C: remove unused
7464
7465         * lyxtext.h:
7466         * text.C: remove unused
7467
7468 2002-10-21  John Levon  <levon@movementarian.org>
7469
7470         * BufferView.h:
7471         * BufferView.C:
7472         * BufferView_pimpl.h:
7473         * BufferView_pimpl.C: fix mouse wheel handling based on
7474           patch from Darren Freeman
7475
7476 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7477
7478         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7479
7480 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7481
7482         * lyxlength.C (inPixels): Fix hanfling of negative length.
7483         Fix LyXLength::MU case.
7484
7485 2002-10-16  John Levon  <levon@movementarian.org>
7486
7487         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7488
7489 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7490
7491         * converter.C (view): add support for $$i (file name) and $$p
7492         (file path) for the viewer command. If $$i is not specified, then
7493         it is appended to the command (for compatibility with old syntax)
7494
7495 2002-10-14  Juergen Vigna  <jug@sad.it>
7496
7497         * undo_funcs.C (textHandleUndo): alter the order in which the
7498         new undopar is added to the LyXText, as we have to set first
7499         the right prev/next and then add it as otherwise the rebuild of
7500         LyXText is not correct. Also reset the cursor to the right paragraph,
7501         with this IMO we could remove the hack in "redoParagraphs()".
7502
7503 2002-10-09  Angus Leeming  <leeming@lyx.org>
7504
7505         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7506         to turn off an optimisation if a new inset is to be inserted.
7507
7508 2002-10-11 André Pönitz <poenitz@gmx.net>
7509
7510         * lyxtext.h: make some functions public to allow access
7511         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7512
7513 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7514
7515         * text3.C (dispatch): when changing layout, avoid an infinite loop
7516         [bug #652]
7517
7518 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7519
7520         * lyxrc.C (read): treat a viewer or converter command of "none" as
7521         if it were empty.
7522
7523         * MenuBackend.C (expandFormats): for an update, also allow the
7524         formats that are not viewable
7525
7526         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7527         script if it is newer than the lyxrc.defaults in user directory
7528
7529 2002-10-07 André Pönitz <poenitz@gmx.net>
7530
7531         * text.C: Vitaly Lipatov's small i18n fix
7532
7533 2002-09-25  Angus Leeming  <leeming@lyx.org>
7534
7535         * ispell.h: doxygen fix.
7536
7537 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7538
7539         * buffer.h (readFile): Add a new argument to the method, to allow
7540         reading of old-format templates.
7541
7542 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7543
7544         * toc.C (getTocList): Get TOC from InsetWrap.
7545
7546 2002-09-16  John Levon  <levon@movementarian.org>
7547
7548         * lyxfunc.C: check tabular for cut/copy too
7549
7550 2002-09-12  John Levon  <levon@movementarian.org>
7551
7552         * LyXAction.C: tidy
7553
7554         * factory.h:
7555         * factory.C: add header
7556
7557         * paragraph_funcs.h:
7558         * paragraph_funcs.C: cleanup
7559
7560 2002-09-11  John Levon  <levon@movementarian.org>
7561
7562         * PrinterParams.h: odd/even default to true
7563
7564 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7565
7566         * PrinterParams.h: update printer parameters for new xforms dialog
7567
7568 2002-09-11  Angus Leeming  <leeming@lyx.org>
7569
7570         * lyxserver.C (read_ready): re-write to make it more transparent
7571         and to make it work in coherent fashion under Tru64 Unix.
7572
7573 2002-09-11  André Pönitz <poenitz@gmx.net>
7574
7575         * commandtags.h:
7576         * LyXAction.C:
7577         * text3.C: implement LFUN_WORDSEL
7578
7579 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7582         make floatlist_ a boost::shared_ptr<FloatList>
7583
7584         * lyxtextclass.C: include FloatList.h
7585         (LyXTextClass): initialize floatlist_
7586         (TextClassTags): add TC_NOFLOAT
7587         (Read): match "nofloat" to TC_NOFLOAT and use it.
7588         (readFloat): modify call to floatlist_
7589         (floats): ditto
7590         (floats): ditto
7591
7592         * FloatList.[Ch] (FloatList): remove commented out float
7593         initialization.
7594         (erase): new function
7595
7596 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7597
7598         * MenuBackend.C (expandToc): fix crash when there is no document
7599         open
7600
7601 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7602
7603         * many files: Add insetwrap.
7604
7605 2002-09-09  John Levon  <levon@movementarian.org>
7606
7607         * text2.C: remove confusing and awkward depth wraparound
7608
7609 2002-09-09  John Levon  <levon@movementarian.org>
7610
7611         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7612
7613         * buffer.h:
7614         * buffer.C: remove getIncludeonlyList()
7615
7616         * paragraph.C:
7617         * lyxfunc.C: remove headers
7618
7619 2002-09-09  Juergen Vigna  <jug@sad.it>
7620
7621         * text.C (getColumnNearX): fix form Michael this is most
7622         probably a cut&paste bug.
7623
7624 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7627
7628         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7629         references, ws changes.
7630
7631         * text2.C (init): update counters after init
7632         (insertParagraph): no need to set counter on idividual paragraphs.
7633         (setCounter): access the counters object in the textclass object
7634         on in the buffer object.
7635         (updateCounters): ditto
7636
7637         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7638         shared_ptr<Counters> to avoid loading counters.h in all
7639         compilation units.
7640         (LyXTextClass): initialize ctrs_
7641         (TextClassTags): add TC_COUNTER, and ...
7642         (Read): use it here.
7643         (CounterTags): new tags
7644         (readCounter): new function
7645         (counters): new funtion
7646         (defaultLayoutName): return a const reference
7647
7648         * counters.C (Counters): remove contructor
7649         (newCounter): remove a couple of unneeded statements.
7650         (newCounter): simplify a bit.
7651         (numberLabel): some small formatting changes.
7652
7653         * buffer.[Ch]: remove all traces of counters, move the Counters
7654         object to the LyXTextClass.
7655
7656 2002-09-06  Alain Castera  <castera@in2p3.fr>
7657
7658         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7659         package to set the horizontal alignment on fixed width columns.
7660
7661         * lyx_sty.C:
7662         * lyx_sty.h: added tabularnewline macro def.
7663
7664         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7665
7666 2002-09-06  John Levon  <levon@movementarian.org>
7667
7668         * LyXAction.C: tooltips for sub/superscript
7669
7670         * MenuBackend.C: a bit more verbose
7671
7672         * lyxfunc.C: tiny clean
7673
7674         * undo_funcs.C: document undo_frozen
7675
7676 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * counters.C (Counters): add missing algorithm counter.
7679
7680         * text2.C (setCounter): lookup the counter with layouts latexname
7681         instead of by section number.
7682         (setCounter): use a hackish way to lookup the correct enum
7683         counter.
7684         a float name->type change
7685         reset enum couners with counter name directly instead of depth value.
7686
7687         * counters.C (Counters): remove the push_backs, change to use the
7688         float type not the float name.
7689         (labelItem): remove unused string, float name->type change
7690
7691         * counters.h: don't include vector, loose the enums and sects vectors
7692
7693 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7694
7695         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7696         (Read): add float->TC_FLOAT to textclassTags
7697         (Read): and handle it in the switch
7698         (readFloat): new function
7699
7700         * FloatList.C (FloatList): comment out the hardcoded float
7701         definitions.
7702
7703         * lyxlayout.h: ws change.
7704
7705 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7706
7707         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7708
7709 2002-09-03  Angus Leeming  <leeming@lyx.org>
7710
7711         * BufferView_pimpl.h: qualified name is not allowed in member
7712         declaration: WorkArea & Pimpl::workarea() const;
7713
7714         * factory.C: added using std::endl directive.
7715
7716         * text3.C: added using std::find and std::vector directives.
7717
7718 2002-08-29  André Pönitz <poenitz@gmx.net>
7719
7720         * lyxtext.h:
7721         * text2.C: remove unused member number_of_rows
7722
7723         * Makefile.am:
7724         * BufferView2.C: remove file, move contents to...
7725         * BufferView.C: ... here
7726
7727         * BufferView_pimpl.C:
7728         * factory.C: move more inset creation to factory
7729
7730         * vspace.C: avoid direct usage of LyXText, ws changes
7731
7732         * BufferView.[Ch]:
7733                 don't provide direct access to WorkArea, use two simple
7734                 acessors haveSelction() and workHeight() instead
7735
7736
7737 2002-08-29  John Levon  <levon@movementarian.org>
7738
7739         * BufferView_pimpl.C (dispatch): do not continue when
7740           no buffer
7741
7742 2002-08-28  André Pönitz <poenitz@gmx.net>
7743
7744         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7745
7746         * BufferView.h:
7747         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7748
7749 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7750
7751         * buffer.C: increment LYX_FORMAT to 221
7752
7753         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7754         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7755
7756         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7757
7758         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7759
7760 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7761
7762         * factory.C (createInset): use LyXTextClass::floats
7763
7764         * MenuBackend.C (expandFloatListInsert):
7765         (expandFloatInsert):
7766         (expandToc):
7767
7768         * text2.C (setCounter):
7769
7770         * LaTeXFeatures.C (useFloat):
7771         (getFloatDefinitions):
7772
7773         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7774
7775         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7776         floatlist_, with accessor floats().
7777
7778         * FloatList.h: remove global FloatList
7779
7780 2002-08-26  André Pönitz <poenitz@gmx.net>
7781
7782         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7783
7784         * BufferView.h:
7785         * BufferView2.C:
7786         * BufferView_pimpl.C:
7787         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7788
7789 2002-08-25  John Levon  <levon@movementarian.org>
7790
7791         * LyXAction.C: fix margin note description
7792
7793 2002-08-24  John Levon  <levon@movementarian.org>
7794
7795         * buffer.C:
7796         * bufferlist.C:
7797         * bufferview_funcs.C:
7798         * lyxfont.C:
7799         * undo_funcs.C: cleanups
7800
7801         * lyxfunc.C: disable CUT/COPY when no selection
7802
7803 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7804
7805         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7806         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7807
7808         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7809         Add backward compatibility to "mono", "gray" and "no".
7810
7811 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7812
7813         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7814         (and file_format >= 200).
7815
7816 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7817
7818         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7819
7820 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7821
7822         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7823
7824 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7825
7826         * BufferView_pimpl.C:
7827         * LyXAction.C:
7828         * buffer.C:
7829         * commandtags.h:
7830         * lyxfunc.C:
7831         * paragraph.[Ch]:
7832         * text2.C:
7833         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7834         inset and code to make it  work with the paragraph code. The inset
7835         can be anywhere in the paragraph, but will only do the expected
7836         thing in LaTeX if the layout file contains the parameter line
7837                         OptionalArgs    1
7838         (or more generally, a nonzero value) for that layout.
7839
7840 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7841
7842         * paragraph.h: remove the declaration of undefined counters class
7843         function.
7844
7845 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7846
7847         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7848         Dr. Richard Hawkins.
7849
7850 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7851
7852         * paragraph_funcs.h: remove some unneeded includes
7853
7854         * text.C (backspace): pasteParagraph now in global scipe
7855
7856         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7857         (pasteSelection): ditto
7858
7859         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7860         * paragraph_funcs.C (pasteParagraph): ... here
7861
7862 2002-08-20  André Pönitz <poenitz@gmx.net>
7863
7864         * commandtags.h: new LFUNs for swapping/copying table row/colums
7865
7866         * LyXAction.C:
7867         * lyxfunc.C: support for new lfuns
7868
7869 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7870
7871         * tabular.C:
7872         * buffer.[Ch]: remove NO_COMPABILITY stuff
7873
7874 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7875
7876         * boost.C (throw_exception): new file, with helper function for
7877         boost compiled without exceptions.
7878
7879         * paragraph.h:
7880         * lyxlength.C:
7881         * buffer.C:
7882         * ParameterStruct.h:
7883         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7884
7885         * bufferlist.C (emergencyWriteAll): use boost bind
7886
7887         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7888
7889         * text.C: include paragraph_funcs.h
7890         (breakParagraph): breakParagraph is now in global scope
7891
7892         * paragraph_funcs.[Ch]: new files
7893
7894         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7895         global scope
7896
7897         * buffer.C: include paragraph_funcs.h
7898         (insertStringAsLines): breakParagraph is now in global scope
7899
7900         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7901         paragraph_funcs.C
7902
7903         * CutAndPaste.C: include paragraph_funcs.h
7904         (cutSelection): breakParagraphConservative is now in global scope
7905         (pasteSelection): ditto
7906
7907         * buffer.h: declare oprator== and operator!= for
7908         Buffer::inset_iterator
7909
7910         * bufferlist.C (emergencyWrite): don't use fmt(...)
7911
7912         * text3.C: add using std::endl
7913
7914         * BufferView.C (moveCursorUpdate): remove default arg
7915
7916 2002-08-20  André Pönitz <poenitz@gmx.net>
7917
7918         * buffer.[Ch]: move inline functions to .C
7919
7920         * BufferView2.C:
7921         * BufferView_pimpl.C:
7922         * text.C:
7923         * buffer.[Ch]: use improved inset_iterator
7924
7925         * buffer.C:
7926         * paragraph.[Ch]: write one paragraph at a time
7927
7928 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7929
7930         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7931         style if style is not specified.
7932
7933 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7934
7935         * text2.C (setCounter): when searching for right label for a
7936         caption, make sure to recurse to parent insets (so that a caption
7937         in a minipage in a figure float works) (bug #568)
7938
7939 2002-08-20  André Pönitz <poenitz@gmx.net>
7940
7941         * text3.C: new file for LyXText::dispatch() and helpers
7942
7943         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7944
7945         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7946
7947 2002-08-19  André Pönitz <poenitz@gmx.net>
7948
7949         * lyxtext.h:
7950         * text.C: new LyXText::dispatch()
7951
7952         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7953
7954 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7955
7956         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7957
7958         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7959         Hebrew text.
7960
7961 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7962
7963         * Makefile.am: use $(variables) instead of @substitutions@
7964
7965 2002-08-15  André Pönitz <poenitz@gmx.net>
7966
7967         * lyxfunc.C:
7968         * BufferView_pimpl.C: streamlining mathed <-> outer world
7969         interaction
7970
7971         * commandtags.h:
7972         * LyXAction.C: remove unused LFUN_MATH
7973
7974 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7975
7976         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7977
7978 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7979
7980         * paragraph.C (Paragraph): reformat a bit
7981         (cutIntoMinibuffer): use builtin InsetList function instad of
7982         doing it manually.
7983         (getInset): ditto
7984
7985         * buffer.C: include boost/bind.hpp, add using std::for_each
7986         (writeFileAscii): use ParagraphList iterators
7987         (validate): use for_each for validate traversal of paragraphs
7988         (getBibkeyList): use ParagraphList iterators
7989         (resizeInsets): use for_each to resizeInsetsLyXText for all
7990         paragraphs.
7991         (getParFromID): use ParagraphList iterators
7992
7993         * BufferView2.C (lockInset): use paragraph list and iterators
7994
7995 2002-08-14  John Levon  <levon@movementarian.org>
7996
7997         * lyxserver.C: remove spurious xforms include
7998
7999 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8000
8001         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8002
8003 2002-08-13  André Pönitz <poenitz@gmx.net>
8004
8005         * LyXAction.[Ch]:
8006         * lyxfunc.C: further cleaning
8007
8008 2002-08-13  André Pönitz <poenitz@gmx.net>
8009
8010         * funcrequest.h: new constructor
8011
8012         * funcrequest.C: move stuff here from .h
8013
8014         * Makefile.am:
8015         * BufferView_pimpl.C:
8016         * LyXAction.C:
8017         * toc.C:
8018         * lyxfunc.C: subsequent changes
8019
8020         * lyxfunc.h: new view() member function
8021
8022         * lyxfunc.C: subsequent changes
8023
8024 2002-08-13  Angus Leeming  <leeming@lyx.org>
8025
8026         * BufferView2.C:
8027         * BufferView_pimpl.C:
8028         * buffer.C:
8029         * converter.C:
8030         * importer.C:
8031         * lyxfunc.C:
8032         * lyxvc.C:
8033         * toc.C:
8034         * vc-backend.C:
8035         changes due to the changed LyXView interface that now returns references
8036         to member variables not pointers.
8037
8038 2002-08-13  Angus Leeming  <leeming@lyx.org>
8039
8040         * WordLangTuple (word, lang_code): return references to strings,
8041         not strings.
8042
8043         * BufferView.h:
8044         * SpellBase.h:
8045         * lyxtext.h: forward-declare WordLangTuple.
8046
8047         * BufferView2.C:
8048         * ispell.C:
8049         * pspell.C:
8050         * text.C: #include "WordLangTuple.h".
8051
8052         * lyxtext.h:
8053         * text.C: (selectNextWordToSpellcheck): constify return type.
8054
8055 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8056
8057         * buffer.C:
8058         * buffer.h:
8059         * lyxtext.h:
8060         * paragraph.C:
8061         * paragraph_pimpl.h:
8062         * text.C:
8063         * text2.C:
8064         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8065         suggested by Angus.
8066         Made updateCounter always count from start of buffer, and removed
8067         second argument (par).
8068         Reverted floats number display to '#'. Perhaps I'll try again when the
8069         code base is sanitized a bit.
8070
8071 2002-08-12  Angus Leeming  <leeming@lyx.org>
8072
8073         * buffer.[Ch] (getLabelList): constify.
8074
8075 2002-08-07  André Pönitz <poenitz@gmx.net>
8076
8077         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8078
8079         * funcrequest.h: extension to keep mouse (x,y) position
8080
8081 2002-08-12  Juergen Vigna  <jug@sad.it>
8082
8083         * BufferView2.C (insertErrors): forbid undo when inserting error
8084         insets.
8085
8086         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8087
8088 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8089
8090         * ParagraphList.[Ch]: new files
8091
8092         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8093
8094         * BufferView2.C (lockInset): ParagraphList changes
8095         * toc.C: ditto
8096         * text2.C: ditto
8097         * bufferlist.C: ditto
8098         * buffer.h: ditto
8099         * buffer.C: ditto
8100
8101 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8102
8103         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8104         unused class variable counter_,
8105
8106         * paragraph.[Ch] (getFirstCounter): delete unused function
8107
8108         * counters.C: include LAssert.h
8109         (reset): add a new function with no arg, change other version to
8110         not have def. arg and to not allow empty arg.
8111
8112         * text2.C (setCounter): remove empty arg from call to Counters::reset
8113
8114 2002-08-11  John Levon  <levon@movementarian.org>
8115
8116         * Makefile.am: add WordLangTuple.h
8117
8118 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8119
8120         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8121         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8122
8123         * insets/insettext.C: InsetList changes
8124
8125         * graphics/GraphicsSupport.C (operator()): InsetList changes
8126
8127         * toc.C (getTocList): InsetList changes
8128
8129         * paragraph_pimpl.[Ch]: InsetList changes
8130
8131         * paragraph.[Ch]: InsetList changes
8132
8133         * buffer.C (inset_iterator): InsetList changes
8134         (setParagraph): ditto
8135         * buffer.h (inset_iterator): ditto
8136         * iterators.C (operator++): ditto
8137         * iterators.h: ditto
8138
8139         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8140
8141         * InsetList.[Ch]: new files, most InsetList handling moved out of
8142         paragraph.C.
8143
8144         * BufferView2.C (removeAutoInsets): InsetList changes
8145         (lockInset): ditto
8146         (ChangeInsets): ditto
8147
8148 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * paragraph_pimpl.h (empty): new function
8151
8152         * paragraph.[Ch] (empty): new function
8153
8154         * other files: use the new Paragraph::empty function
8155
8156 2002-08-09  John Levon  <levon@movementarian.org>
8157
8158         * lyxtext.h: remove unused refresh_height
8159
8160 2002-08-09  John Levon  <levon@movementarian.org>
8161
8162         * Makefile.am:
8163         * sgml.h:
8164         * sgml.C:
8165         * buffer.C:
8166         * paragraph.h:
8167         * paragraph.C: move sgml char escaping out of paragraph
8168
8169         * paragraph.h:
8170         * paragraph.C: remove id setter
8171
8172         * buffer.C:
8173         * paragraph.C:
8174         * paragraph_pimpl.C: remove dead tex_code_break_column
8175
8176         * bufferview_funcs.C: small cleanup
8177
8178         * lyxfunc.C: remove dead proto
8179
8180         * lyxtext.h: make some stuff private. Remove some dead stuff.
8181
8182         * lyxgluelength.C: make as[LyX]String() readable
8183
8184 2002-08-08  John Levon  <levon@movementarian.org>
8185
8186         * LyXAction.h:
8187         * LyXAction.C:
8188         * MenuBackend.C:
8189         * ToolbarDefaults.C:
8190         * lyxfunc.C:
8191         * lyxrc.C:
8192         * toc.C: lyxaction cleanup
8193
8194 2002-08-08  John Levon  <levon@movementarian.org>
8195
8196         * BufferView2.C: small cleanup
8197
8198         * lyxfind.h:
8199         * lyxfind.C: move unnecessary header into the .C
8200
8201 2002-08-08  John Levon  <levon@movementarian.org>
8202
8203         * funcrequest.h: just tedious nonsense
8204
8205         * lyx_main.h:
8206         * lyx_main.C: cleanups
8207
8208         * buffer.C:
8209         * vspace.C: remove dead header lyx_main.h
8210
8211 2002-08-07  Angus Leeming  <leeming@lyx.org>
8212
8213         * Paragraph.[Ch]:
8214         * paragraph_pimpl.h:
8215         Forward declare class Counters in paragraph.h by moving the ctrs member
8216         variable into Paragraph::Pimpl.
8217         (counters): new method, returning a reference to pimpl_->ctrs.
8218
8219         * text2.C: ensuing changes.
8220
8221 2002-08-07  John Levon  <levon@movementarian.org>
8222
8223         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8224
8225         * BufferView_pimpl.C: announce X selection on double/triple
8226           click
8227
8228         * lyx_main.C: use correct bool in batch dispatch
8229
8230         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8231
8232 2002-08-07  André Pönitz <poenitz@gmx.net>
8233
8234         * funcrequest.h: new class to wrap a kb_action and its argument
8235
8236         * BufferView.[Ch]:
8237         * BufferView_pimpl[Ch]:
8238         * LaTeX.C:
8239         * LyXAction.[Ch]:
8240         * lyxfunc.[Ch]:
8241         * lyxrc.C: subsequent changes
8242
8243
8244 2002-08-07  John Levon  <levon@movementarian.org>
8245
8246         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8247           document options change.
8248
8249 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8250
8251         * counters.[Ch]
8252         * text2.C
8253         * paragraph.[Ch]
8254         * makefile.am: move counters functionality over from
8255         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8256
8257 2002-08-06  John Levon  <levon@movementarian.org>
8258
8259         * WordLangTuple.h: new file for word + language code tuple
8260
8261         * SpellBase.h:
8262         * pspell.h:
8263         * pspell.C:
8264         * ispell.h:
8265         * ispell.C:
8266         * lyxtext.h:
8267         * text.C:
8268         * text2.C:
8269         * BufferView.h:
8270         * BufferView2.C: use WordLangTuple
8271
8272         * layout.h:
8273         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8274
8275 2002-08-06  John Levon  <levon@movementarian.org>
8276
8277         * lyx_main.C: fix cmdline batch handling
8278
8279 2002-08-06  André Pönitz <poenitz@gmx.net>
8280
8281         * lyxrc.C: set default for show_banner to true
8282
8283 2002-08-06  John Levon  <levon@movementarian.org>
8284
8285         * pspell.C: fix a crash, and allow new aspell to work
8286
8287 2002-08-06  John Levon  <levon@movementarian.org>
8288
8289         * lyxfunc.C:
8290         * kbmap.C: small cleanup
8291
8292         * vspace.h:
8293         * vspace.C: add const
8294
8295 2002-08-05  John Levon  <levon@movementarian.org>
8296
8297         * LyXAction.C: back to tabular-insert
8298
8299 2002-08-04  John Levon  <levon@movementarian.org>
8300
8301         * BufferView.h:
8302         * BufferView.C: cosmetic change
8303
8304         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8305
8306         * bufferlist.C:
8307         * buffer.h:
8308         * buffer.C:
8309         * lyxcb.h:
8310         * lyxcb.C:
8311         * lyxserver.C:
8312         * lyxvc.C:
8313         * vc-backend.C:
8314         * BufferView2.C: purge all "Lyx" not "LyX" strings
8315
8316         * lyxcursor.h:
8317         * lyxcursor.C: attempt to add some documentation
8318
8319         * lyxfunc.C:
8320         * commandtags.h:
8321         * LyXAction.C:
8322         * ToolbarDefaults.C:
8323         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8324           merge with LFUN_TABULAR_INSERT
8325
8326         * Makefile.am:
8327         * SpellBase.h:
8328         * ispell.h:
8329         * ispell.C:
8330         * pspell.h:
8331         * pspell.C: split up i/pspell implementations into separate
8332           files, many cleanups
8333
8334         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8335
8336         * text2.C: some cleanup
8337
8338         * lyxfunc.C: don't check for isp_command == "none" any more, it
8339           didn't make any sense
8340
8341 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8342
8343         * counters.[Ch]
8344         * text2.C
8345         * paragraph.[Ch]
8346         * makefile.am: move counters functionality over
8347         from text2.C/paragraph.[Ch] to counters.[Ch], and
8348         make proper C++.
8349 2002-08-02  John Levon  <levon@movementarian.org>
8350
8351         * buffer.C: s/lyxconvert/lyx2lyx/
8352
8353 2002-08-02  Angus Leeming  <leeming@lyx.org>
8354
8355         * lyxlex.C: revert John's change as it breaks reading of the user
8356         preamble.
8357
8358 2002-08-02  Angus Leeming  <leeming@lyx.org>
8359
8360         * importer.C (Import):
8361         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8362         changes due to LyXView::view() now returning a boost::shared_ptr.
8363
8364 2002-08-02  John Levon  <levon@movementarian.org>
8365
8366         * lyxlex.C: small cleanup
8367
8368 2002-08-02  John Levon  <levon@movementarian.org>
8369
8370         * text2.C (status): small cleanup, no logic change
8371
8372 2002-08-01  John Levon  <levon@movementarian.org>
8373
8374         * buffer.h:
8375         * buffer.C (writeFile): don't output alerts, caller
8376           handles this
8377
8378         * bufferlist.C:
8379         * lyx_cb.C: from above
8380
8381         * lyxfunc.C: allow to open non-existent files
8382
8383 2002-07-31  John Levon  <levon@movementarian.org>
8384
8385         * lyxserver.C: don't let incidental errors get
8386           in the way (errno)
8387
8388 2002-07-30  John Levon  <levon@movementarian.org>
8389
8390         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8391
8392 2002-07-30  John Levon  <levon@movementarian.org>
8393
8394         * lyxserver.h:
8395         * lyxserver.C: remove I/O callback too
8396
8397 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8398
8399         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8400         log.
8401
8402 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8403
8404         * many files: strip,frontStrip -> trim,ltrim,rtrim
8405
8406 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8407
8408         * PrinterParams.h: remove extern containsOnly, and include
8409         support/lstrings.h instead.
8410
8411         * LaTeX.C (scanAuxFile): modify because of strip changes
8412         (deplog): ditto
8413         * buffer.C (makeLaTeXFile): ditto
8414         * bufferparams.C (writeFile): ditt
8415         * lyxfont.C (stateText): ditto
8416         * lyxserver.C (read_ready): ditto
8417         * vc-backend.C (scanMaster): ditto
8418
8419         * BufferView_pimpl.h: ws changes
8420
8421         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8422
8423 2002-07-26  André Pönitz <poenitz@gmx.net>
8424
8425         * kb_sequence.C: remove unnedred usings
8426
8427 2002-07-26  Juergen Vigna  <jug@sad.it>
8428
8429         * lyxfind.C (LyXReplace): we have to check better if the returned
8430         text is not of theLockingInset()->getLockingInset().
8431
8432 2002-07-25  Juergen Vigna  <jug@sad.it>
8433
8434         * lyxfind.C (LyXReplace): don't replace if we don't get the
8435         right LyXText.
8436
8437         * undo_funcs.C (createUndo): remove debugging code.
8438
8439 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8440
8441         * buffer.C (parseSingleLyXformat2Token): Use default placement
8442         when reading old floats.
8443
8444         * FloatList.C (FloatList): Change the default placement of figure
8445         and tables to "tbp".
8446
8447 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8448
8449         * MenuBackend.C: using std::max
8450
8451 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8452
8453         * MenuBackend.C (expandToc):
8454         (expandToc2): code moved from xforms menu frontend. It is now
8455         generic and TOCs are transparent to menu frontends.
8456
8457 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8458
8459         * toc.C (getTocList): protect against buf=0
8460
8461         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8462         Menu as first parameter. Now, this calls itself recursively to
8463         expand a whole tree (this will be useful for TOC handling)
8464         (expandFloatInsert): remove 'wide' version of floats
8465
8466         * MenuBackend.h (submenuname): returns the name of the submenu.
8467         (submenu): returns the submenu itself, provided it has been
8468         created by MenuBackend::expand
8469
8470 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8471
8472         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8473         insets which have noFontChange == true. (bug #172)
8474
8475 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8476
8477         * BufferView_pimpl.C: add connection objects and use them...
8478         (Pimpl): here.
8479
8480 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8481
8482         * MenuBackend.C (expandLastfiles):
8483         (expandDocuments):
8484         (expandFormats):
8485         (expandFloatListInsert):
8486         (expandFloatInsert):
8487         (expand): split expand in parts
8488
8489 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8490
8491         * lyx_gui.C: use lyx_gui::exit()
8492
8493 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8494
8495         * LyXAction.C: show the failing pseudo action
8496
8497 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8498
8499         * buffer.C (readFile): Run the lyxconvert script in order to read
8500         old files.
8501
8502 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8503
8504         * LyXAction.C:
8505         * commandtags.h:
8506         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8507
8508 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8509
8510         * LyXAction.C:
8511         * commandtags.h:
8512         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8513
8514 2002-07-22  Herbert Voss  <voss@lyx.org>
8515
8516         * lengthcommon.C:
8517         * lyxlength.[Ch]: add support for the vertical lengths
8518
8519 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8520
8521         * toc.[Ch]: std:: fixes
8522
8523 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8524
8525         * lyxrc.C: do not include lyx_main.h
8526
8527         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8528         for layouts
8529
8530         * lyxrc.C:
8531         * encoding.C:
8532         * bufferlist.C:
8533         * BufferView2.C: include "lyxlex.h"
8534
8535         * tabular.h:
8536         * bufferparams.h: do not #include "lyxlex.h"
8537
8538         * lyxtextclasslist.C (Add): remove method
8539         (classlist): renamed to classlist_
8540
8541         * paragraph_pimpl.C:
8542         * paragraph.C:
8543         * text2.C:
8544         * CutAndPaste.C:
8545         * bufferview_funcs.C:
8546         * bufferlist.C:
8547         * text.C:
8548         * LaTeXFeatures.C:
8549         * buffer.C:
8550         * toc.C (getTocList): use BufferParams::getLyXTextClass
8551
8552         * toc.C (getTocList): use InsetFloat::addToToc
8553
8554         * toc.[Ch]: new files, containing helper functions to handle table
8555         of contents
8556
8557         * lyxfunc.C (dispatch): no need to remove spaces around command
8558         given as a string
8559         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8560         first command of the sequence; it is not very clever, but I do not
8561         have a better idea, actually
8562
8563         * LyXAction.C (LookupFunc): make sure to remove space at the
8564         beginning and end of the command
8565
8566 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8567
8568         * MenuBackend.C (getMenubar): new method: return the menubar of
8569         this menu set
8570         (read): treat differently reading of menu and menubar (in
8571         particular, the menubar has no name now)
8572         (Menu::menubar): remove
8573
8574         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8575         saving is finished
8576
8577 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8578
8579         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8580         a bibitem inset in a RTL paragraph.
8581
8582 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8583
8584         * paragraph_pimpl.C: constify
8585
8586         * BufferView_pimpl.C:
8587         * LaTeX.C:
8588         * lyxfunc.C: fix dispatch in a nicer way
8589
8590 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8591
8592         * lyxfunc.C (dispatch):
8593         * BufferView_pimpl.C:
8594         * BufferView_pimpl.h:
8595         * BufferView.C:
8596         * BufferView.h: rename Dispatch() to dispatch()
8597
8598         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8599
8600         * lyxlayout.C (Read): honor DependsOn tag
8601
8602         * lyxlayout.[Ch] (depends_on): new method
8603
8604         * version.C.in: update lyx_docversion
8605
8606         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8607
8608         * paragraph.C (validate): remove from here...
8609         * paragraph_pimpl.C (validate): ... and move here
8610         (isTextAt): make it const
8611
8612         * buffer.C (getLists): ws cleanup
8613
8614 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8615
8616         * language.C (read): Use iso8859-1 encoding in latex_lang
8617         (this prevents LyX from crashing when using iso10646-1 encoding).
8618
8619 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8620
8621         * text2.C (toggleInset): if cursor is inside an inset, close the
8622         inset and leave cursor _after_ it
8623
8624 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8625
8626         * lyxfunc.C: move minibuffer completion handling out of here
8627
8628 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8629
8630         * BufferView_pimpl.C:
8631         * LaTeX.C: fix dispatch calls
8632
8633 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8634
8635         * text.C (drawChars): Fix Arabic text rendering.
8636
8637 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8638
8639         * LyXAction.C:
8640         * commandtags.h:
8641         * lyxfunc.C: remove message-push/pop
8642
8643         * lyxserver.C:
8644         * lyxfunc.h:
8645         * lyxfunc.C: rationalise some code by removing verboseDispatch
8646           in favour of a bool argument to dispatch()
8647
8648 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8649
8650         * lyx_main.C (init): make sure to read symlinks as absolute paths
8651
8652 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8653
8654         * lyxfunc.h:
8655         * lyxfunc.C: no need for commandshortcut to be a member
8656
8657 2002-07-15  André Pönitz <poenitz@gmx.net>
8658
8659         * converter.C: add support for $$s (scripts from lib/scripts dir)
8660         * lyx_main.C: white space
8661
8662 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * bufferlist.C:
8665         * lyxrc.h:
8666         * lyxrc.C: remove second exit confirmation
8667
8668 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8669
8670         * BufferView.h:
8671         * BufferView.C:
8672         * BufferView2.C:
8673         * BufferView_pimpl.h:
8674         * BufferView_pimpl.C:
8675         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8676
8677 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8678
8679         * MenuBackend.C (expand): add numeric shortcuts to document menu
8680
8681         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8682
8683 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8684
8685         * lyxfont.C (setLyXFamily):
8686         (setLyXSeries):
8687         (setLyXShape):
8688         (setLyXSize):
8689         (setLyXMisc):
8690         (lyxRead):
8691         * debug.C (value):
8692         * buffer.C (asciiParagraph): use ascii_lowercase
8693
8694 2002-07-15  Mike Fabian  <mfabian@suse.de>
8695
8696         * lyxlex_pimpl.C (search_kw):
8697         * lyxlex.C (getLongString):
8698         * converter.h (operator<):
8699         * converter.C (operator<):
8700         * buffer.C (parseSingleLyXformat2Token):
8701         (asciiParagraph):
8702         * ToolbarDefaults.C (read):
8703         * MenuBackend.C (checkShortcuts):
8704         (read):
8705         * LColor.C (getFromGUIName):
8706         (getFromLyXName): use the compare_ascii_no_case instead of
8707         compare_no_case, because in turkish, 'i' is not the lowercase
8708         version of 'I', and thus turkish locale breaks parsing of tags.
8709
8710 2002-07-16  Angus Leeming  <leeming@lyx.org>
8711
8712         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8713         now takes a Buffer const & argument.
8714
8715 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8716
8717         * BufferView.C (resize): check there's a buffer to resize
8718
8719 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8720
8721         * lyxfunc.C: remove dead code
8722
8723         * lyxserver.h:
8724         * lyxserver.C: use lyx_guii::set_read_callback
8725
8726 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8727
8728         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8729         an inset in a RTL paragraph.
8730
8731 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8732
8733         * lyxfunc.C: repaint after a font size update
8734
8735 2002-07-15  André Pönitz <poenitz@gmx.net>
8736
8737         * lyxlength.C: inBP should be able to return negative values
8738
8739 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8740
8741         * lyxfunc.C: use lyx_gui::update_fonts()
8742
8743 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8744
8745         * lyxfunc.C: use lyx_gui::update_color()
8746
8747 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8748
8749         * bufferlist.C:
8750         * lyxfunc.h:
8751         * lyxfunc.C:
8752         * lyxrc.h:
8753         * lyxrc.C: remove file->new asks for name option, and let
8754           buffer-new take an argument
8755
8756 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8757
8758         * BufferView_pimpl.C: remove unneeded extra repaint()
8759
8760 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8761
8762         * LyXAction.C: allow command-sequence with NoBuffer
8763
8764         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8765
8766 2002-07-10  Angus Leeming  <leeming@lyx.org>
8767
8768         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8769
8770 2002-07-09  Angus Leeming  <leeming@lyx.org>
8771
8772         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8773
8774 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8775
8776         * lengthcommon.h: whitespace
8777
8778         * lyxfunc.C: update scrollbar after goto paragraph
8779
8780         * lyxtext.h: factor out page break drawing, and fix it so
8781           page break/added space paints as selected nicely
8782
8783 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8784
8785         * BufferView_pimpl.C: add FIXMEs, clean up a little
8786
8787 2002-07-09  André Pönitz <poenitz@gmx.net>
8788
8789         * lyxfont.[Ch]: support for wasy symbols
8790
8791 2002-07-08  André Pönitz <poenitz@gmx.net>
8792
8793         * BufferView_pimpl.C: apply John's patch for #93.
8794
8795 2002-07-05  Angus Leeming  <leeming@lyx.org>
8796
8797         * BufferView_pimpl.C (buffer): generate previews if desired.
8798
8799         * LColor.h: add "preview" to the color enum.
8800
8801         * LColor.C (LColor): add a corresponding entry to the items array.
8802
8803         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8804         with this buffer.
8805
8806 2002-07-05  Angus Leeming  <leeming@lyx.org>
8807
8808         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8809         The body of the code is now in the method that is passed an ostream &
8810         rather than a file name.
8811         Pass an additional only_preamble parameter, useful for the forthcoming
8812         preview stuff.
8813
8814 2002-07-03  André Pönitz <poenitz@gmx.net>
8815
8816         * lyxfunc.C: simplify getStatus() a bit for math stuff
8817
8818 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8819
8820         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8821
8822 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8823
8824         * text.C (changeRegionCase): do not change case of all the
8825         document when region ends at paragraph end (bug #461)
8826
8827 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8828
8829         * paragraph.C (startTeXParParams):
8830         (endTeXParParams): add \protect when necessary
8831
8832 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8833
8834         * BufferView_pimpl.C (workAreaExpose): remove warning
8835
8836 2002-06-27  Angus Leeming  <leeming@lyx.org>
8837
8838         * Makefile.am: add lyxlayout_ptr_fwd.h.
8839
8840 2002-06-26  André Pönitz <poenitz@gmx.net>
8841
8842         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8843
8844 2002-06-25  Angus Leeming  <leeming@lyx.org>
8845
8846         * lyxfunc.C (dispatch): Comment out the call to
8847         grfx::GCache::changeDisplay. The method no longer exists now that the
8848         pixmap generation part of the graphics loader has been moved into
8849         InsetGraphics.
8850
8851 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8852
8853         * text2.C: layout as layout
8854
8855         * text.C: layout as layout
8856
8857         * tabular.C (OldFormatRead): layout as layout
8858
8859         * paragraph_pimpl.C (TeXDeeper): layout as layout
8860         (realizeFont): layout as layout
8861
8862         * paragraph.C (writeFile): layout as layout
8863         (validate): layout as layout
8864         (getFont): layout as layout
8865         (getLabelFont): layout as layout
8866         (getLayoutFont): layout as layout
8867         (breakParagraph): layout as layout
8868         (stripLeadingSpaces): layout as layout
8869         (getEndLabel): layout as layout
8870         (getMaxDepthAfter): layout as layout
8871         (applyLayout): layout as layout
8872         (TeXOnePar): layout as layout
8873         (simpleTeXOnePar): layout as layout
8874         (TeXEnvironment): layout as layout
8875         (layout): layout as layout
8876         (layout): layout as layout
8877
8878         * lyxtextclass.C (compare_name): new functor to work with
8879         shared_ptr, layout as layout
8880         (Read): layout as layout
8881         (hasLayout): layout as layout
8882         (operator): layout as layout
8883         (delete_layout): layout as layout
8884         (defaultLayout): layout as layout
8885
8886         * lyxlayout_ptr_fwd.h: new file
8887
8888         * lyxlayout.C (Read): layout as layout
8889
8890         * lyx_cb.C (MenuInsertLabel): layout as layout
8891
8892         * bufferlist.C (newFile): layout as layout
8893
8894         * buffer.C (readLyXformat2): layout as layout
8895         (parseSingleLyXformat2Token): layout as layout
8896         (insertStringAsLines): layout as layout
8897         (asciiParagraph): layout as layout
8898         (latexParagraphs): layout as layout
8899         (makeLinuxDocFile): layout as layout
8900         (simpleLinuxDocOnePar): layout as layout
8901         (makeDocBookFile): layout as layout
8902         (simpleDocBookOnePar): layout as layout
8903         (getLists): layout as layout
8904
8905         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8906
8907         * CutAndPaste.C (cutSelection): layout as layout
8908         (pasteSelection): layout as layout
8909         (SwitchLayoutsBetweenClasses): layout as layout
8910
8911         * BufferView_pimpl.C (Dispatch): layout as layout
8912         (smartQuote): layout as layout
8913
8914         * BufferView2.C (unlockInset): layout as layout
8915
8916 2002-06-24  André Pönitz <poenitz@gmx.net>
8917
8918         * lyxfunc.C: fix #487
8919
8920 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8921
8922         * lyxrc.h:
8923         * lyxrc.C:
8924         * lyxfunc.C: remove display_shortcuts, show_banner
8925
8926 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8927
8928         * Buffer_pimpl.C: oops, update on resize
8929
8930 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8931
8932         * buffer.C:
8933         * converter.C:
8934         * exporter.C:
8935         * lyxfunc.C:
8936         * BufferView.h:
8937         * BufferView.C: use repaint()
8938
8939         * BufferView_pimpl.h:
8940         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8941           as it's a clearer description. Remove superfluous
8942           redraws.
8943
8944 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8945
8946         * text.C: fix bug 488. Not ideal, but getting
8947           getWord() to work properly for the insets that
8948           matter is more difficult ...
8949
8950 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8951
8952         * BufferView_pimpl.C:
8953         * LyXAction.C:
8954         * commandtags.h:
8955         * lyxfunc.C: remove the six million index lyxfuncs to just
8956           one, and DTRT (bug 458)
8957
8958 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * BufferView.h:
8961         * BufferView.C:
8962         * BufferView_pimpl.h:
8963         * BufferView_pimpl.C: clean up resize() stuff,
8964           and unnecessary updateScreen()s
8965
8966 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8967
8968         * BufferView.h:
8969         * BufferView.C:
8970         * BufferView_pimpl.h:
8971         * BufferView_pimpl.C:
8972         * lyxfind.h:
8973         * lyxfind.C:
8974         * minibuffer.C: remove focus management of workarea,
8975           not needed. Use screen's greyOut()
8976
8977 2002-06-17  Herbert Voss  <voss@lyx.org>
8978
8979         * converter.C: (convert) do not post a message, when converting
8980         fails, let the calling function decide what to do in this case
8981
8982 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8983
8984         * lyxfunc.C: tidy up a little
8985
8986 2002-06-16    <alstrup@diku.dk>
8987
8988         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8989         Got rid of FORMS_H_LOCATION include. Now we are
8990         GUII.
8991
8992 2002-06-15  LyX Development team  <lyx@rilke>
8993
8994         * buffer.[Ch] (sgmlOpenTag):
8995         (sgmlCloseTag): Added support for avoiding pernicious mixed
8996         content. Return number of lines written.
8997
8998         (makeLinuxDocFile):
8999         (makeDocBookFile): Fixed calls to sgml*Tag.
9000         Simple white space clean.
9001
9002         (simpleDocBookOnePar): Simple white space clean.
9003
9004         * tabular.[Ch] (docBook): Renamed to docbook and got another
9005         argument to related with the pernicious mixed content.
9006
9007         (docbookRow): Fixed calls for docbook inset method.
9008
9009 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9010
9011         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9012         so it's X11 independent.
9013
9014         * kb*.[Ch]: ditto.
9015
9016         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9017
9018 2002-06-15  Lyx Development team  <lyx@electronia>
9019
9020         * intl.h: Renamed getTrans to getTransManager.
9021
9022 2002-06-14  Angus Leeming  <leeming@lyx.org>
9023
9024         * Makefile.am: nuke forgotten stl_string_fwd.h.
9025
9026 2002-06-12  Angus Leeming  <leeming@lyx.org>
9027
9028         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9029
9030 2002-06-13  Angus Leeming  <leeming@lyx.org>
9031
9032         * LaTeX.C:
9033         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9034
9035 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9036
9037         * kbmap.C (getiso): add support for cyrillic and greek
9038
9039 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9040
9041         * BufferView.h:
9042         * BufferView.C:
9043         * BufferView_pimpl.h:
9044         * BufferView_pimpl.C: move bogus scrolling logic
9045           to xforms
9046
9047 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9048
9049         * lyxfunc.C:
9050         * BufferView_pimpl.C: view->resize() change
9051
9052 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9053
9054         * BufferView_pimpl.C: topCursorVisible
9055           prototype change
9056
9057 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9058
9059         * Makefile.am:
9060         * lyx_gui.h:
9061         * lyx_gui.C: move to frontends/
9062
9063         * main.C:
9064         * lyx_main.h:
9065         * lyx_main.C: changes from above
9066
9067 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9068
9069         * intl.C:
9070         * intl.h:
9071         * kbmap.C:
9072         * kbsequence.C:
9073         * lyx_cb.C:
9074         * lyx_main.C: minor tidy
9075
9076 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9077
9078         * BufferView_pimpl.h:
9079         * BufferView_pimpl.C:
9080         * BufferView.h:
9081         * BufferView.C: make painter() const,
9082           remove dead code
9083
9084         * BufferView2.C: use screen() accessor
9085
9086         * lyx_main.h:
9087         * lyx_main.C: some minor cleanup
9088
9089 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9090
9091         * BufferView_pimpl.h:
9092         * BufferView_pimpl.C: remove enter/leaveView,
9093           use workHeight()
9094
9095 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9096
9097         * BufferView.h:
9098         * BufferView.C:
9099         * BufferView2.C:
9100         * BufferView_pimpl.h:
9101         * BufferView_pimpl.C: only construct screen once,
9102           rename
9103
9104         * lyxrc.C: remove pointless comment
9105
9106 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9107
9108         * BufferView.h:
9109         * BufferView.C: remove active() and belowMouse()
9110
9111         * BufferView_pimpl.h:
9112         * BufferView_pimpl.C: use workarea() not workarea_,
9113           and make it use a scoped_ptr instead
9114
9115 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9116
9117         * lyx_gui.C: add debug message on BadWindow
9118
9119 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9120
9121         * sp_spell.C: fdopen is not part of the C++ standard.
9122
9123         * paragraph.C (InsetIterator): use >= instead of ==
9124
9125 2002-06-07  Angus Leeming  <leeming@lyx.org>
9126
9127         Fixes needed to compile with Compaq cxx 6.5.
9128         * BufferView_pimpl.C:
9129         * DepTable.C:
9130         * buffer.C:
9131         * converter.C:
9132         * encoding.C:
9133         * lyx_gui.C:
9134         * lyx_main.C:
9135         * lyxtextclasslist.C:
9136         * minibuffer.C:
9137         * sp_spell.C:
9138         * tabular_funcs.C:
9139         * vc-backend.C:
9140         all c-library variables have been moved into namespace std. Wrap
9141         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9142
9143         * lyxlength.C:
9144         * tabular-old.C:
9145         * tabular.C:
9146         Add a using std::abs declaration.
9147
9148         * kbmap.h (modifier_pair):
9149         * paragraph.h (InsetTable, InsetList):
9150         * lyxfont.h (FontBits):
9151         type definition made public.
9152
9153         * bufferlist.C (emergencyWriteAll): the compiler complains that
9154         there is more than one possible lyx::class_fun template to choose from.
9155         I re-named the void specialisation as lyx::void_class_fun.
9156
9157         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9158
9159         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9160         the compiler is is unable to find tostr in write_attribute.
9161
9162 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9163
9164         * buffer.C (sgmlError): hide #warning
9165
9166 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9167
9168         * xtl/*: get rid of xtl, which is not in use anyway
9169
9170         * LyXAction.C (init):
9171         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9172         were unimplemented xtl experimentation
9173
9174 2002-06-04  André Pönitz <poenitz@gmx.net>
9175
9176         * lyxfunc.C: disable array operation on simple formulae
9177
9178 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9179
9180         * converter.C: constify a bit
9181
9182 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * lyx_gui.C: check xforms version correctly
9185
9186 2002-04-30  Herbert Voss  <voss@lyx.org>
9187
9188         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9189         "keep" option
9190
9191 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9192
9193         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9194           attempt to register it with a VCS)
9195
9196 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9197
9198         * lyx_main.C (init): honor variables LYX_DIR_13x and
9199         LYX_USERDIR_13x
9200
9201 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9202
9203         * buffer.h:
9204         * buffer.C:
9205         * lyx_main.C: fix a crash on bad command line,
9206           and give a useful exit status on error
9207
9208         * lyxfunc.C (doImport): allow -i lyx to work
9209
9210 2002-03-30  André Pönitz <poenitz@gmx.net>
9211
9212         * lyxfunc.C: mathed font changes
9213
9214 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9215
9216         * LaTeX.C:
9217         * importer.h:
9218         * importer.C:
9219         * lyx_sty.h:
9220         * lyx_sty.C:
9221         * lyxlex.C:
9222         * lyxrow.h:
9223         * lyxtext.h:
9224         * paragraph.h:
9225         * paragraph.C:
9226         * texrow.h:
9227         * texrow.C:
9228         * text.C:
9229         * trans_mgr.h: srcdocs, and some minor cleanups
9230
9231 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9232
9233         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9234         call getFont all the time)
9235
9236 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9237
9238         * switch from SigC signals to boost::signals
9239
9240 2002-05-29  André Pönitz <poenitz@gmx.net>
9241
9242         * paragraph_pimpl.C (getChar): don't call size() too often...
9243
9244 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9245
9246         * paragraph_pimpl.C (insertChar): do not try to update tables when
9247         appending (pos == size())
9248
9249         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9250         in order to reduce drastically the number of comparisons needed to
9251         parse a large document
9252
9253 2002-05-29  André Pönitz <poenitz@gmx.net>
9254
9255         * text.C:
9256         * text2.C:
9257         * lyxtextclass.C:
9258         * sp_pspell.h:
9259         * textclasslist.[Ch]:
9260         * sp_ispell.h: whitespace change
9261
9262 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9263
9264         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9265         lyxaction directly now.
9266
9267 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9268
9269         * trans.C:
9270         * lyxfont.C:
9271         * lyxvc.C: remove unused headers
9272
9273 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9274
9275         * Makefile.am:
9276         * buffer.h:
9277         * undostack.h:
9278         * undostack.C:
9279         * undo_funcs.h:
9280         * undo_funcs.C: some cleanups. Use shared_ptr
9281           and a template for the undo stacks.
9282
9283 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9284
9285         * BufferView_pimpl.h:
9286         * BufferView_pimpl.C:
9287         * kbmap.h:
9288         * kbmap.C:
9289         * kbsequence.h:
9290         * kbsequence.C:
9291         * lyxfunc.h:
9292         * lyxfunc.C:
9293         * text2.C: use key_state/mouse_state
9294
9295 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9296
9297         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9298         and LSubstring
9299
9300         * chset.C: change include order
9301         (loadFile): use boost regex and get rid of LRegex and LSubstring
9302
9303         * Makefile.am (BOOST_LIBS): new variable
9304         (lyx_LDADD): use it
9305
9306         * LaTeX.C: change include order.
9307         (scanAuxFile): use boost regex and get rid of LRegex and
9308         LSubstring
9309         (deplog): ditto
9310
9311 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9312
9313         * ColorHandler.h:
9314         * ColorHandler.C:
9315         * FontInfo.h:
9316         * FontInfo.C: moved to frontends/xforms/
9317
9318         * FontLoader.h:
9319         * FontLoader.C: moved into frontends for GUIIzation
9320
9321         * Makefile.am:
9322         * lyx_gui.C:
9323         * lyxfont.C:
9324         * lyxfunc.C: changes from above
9325
9326 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9327
9328         * LColor.C: remove spurious X include
9329
9330         * BufferView_pimpl.C:
9331         * Makefile.am:
9332         * font.h:
9333         * font.C:
9334         * text.C:
9335         * text2.C: move font metrics to frontends/
9336
9337 2002-05-24  Juergen Vigna  <jug@sad.it>
9338
9339         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9340         setting the undo_cursor.
9341
9342         * ParagraphParameters.h: include local includes first.
9343
9344 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9345
9346         * BufferView_pimpl.C:
9347         * BufferView_pimpl.h:
9348         * Makefile.am:
9349         * WorkArea.h:
9350         * WorkArea.C:
9351         * screen.C: move WorkArea into frontends/
9352
9353         * lyxscreen.h:
9354         * screen.C:
9355         * text.C:
9356         * BufferView.C:
9357         * BufferView2.C: move LyXScreen into frontends/
9358
9359         * lyxlookup.h:
9360         * lyxlookup.C:
9361         * lyx_gui.C: move lyxlookup into frontends/xforms/
9362
9363 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9364
9365         * BufferView2.C:
9366         * BufferView_pimpl.C:
9367         * FontLoader.C:
9368         * LyXView.h:
9369         * LyXView.C:
9370         * Makefile.am:
9371         * WorkArea.C:
9372         * XFormsView.h:
9373         * XFormsView.C:
9374         * buffer.C:
9375         * bufferlist.C:
9376         * bufferview_funcs.C:
9377         * converter.C:
9378         * importer.C:
9379         * lyx_cb.C:
9380         * lyx_gui.C:
9381         * lyx_main.C:
9382         * lyx_find.C:
9383         * lyxfunc.C:
9384         * lyxvc.C:
9385         * minibuffer.C:
9386         * text.C:
9387         * text2.C:
9388         * trans.C:
9389         * vc-backend.C: move LyX/XFormsView into frontends/
9390
9391 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9392
9393         * Makefile.am:
9394         * PainterBase.C:
9395         * PainterBase.h:
9396         * Painter.C:
9397         * Painter.h:
9398         * WorkArea.C:
9399         * WorkArea.h:
9400         * screen.C:
9401         * tabular.C:
9402         * text.C:
9403         * text2.C: move Painter to frontends/
9404
9405 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9406
9407         * buffer.C: comment out some some code that depend upon lyx_format
9408         < 220
9409
9410         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9411         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9412
9413         * buffer.h (NO_COMPABILITY): turn off compability
9414
9415         * ColorHandler.C: include scoped_array.hpp
9416
9417         * font.C: Use more specific smart_ptr header.
9418         * Painter.C: ditto
9419         * gettext.C: ditto
9420         * ShareContainer.h: ditto
9421         * lyx_main.h: ditto
9422         * kbmap.h: ditto
9423         * FontInfo.h: ditto
9424         * BufferView_pimpl.h: ditto
9425         * ColorHandler.h: ditto
9426
9427         * kbmap.C (defkey): change call to shared_ptr::reset
9428
9429 2002-05-21  Juergen Vigna  <jug@sad.it>
9430
9431         * buffer.C (insertErtContents): fix to insert ert asis if it is
9432         non empty. Skip it completely if it contains only whitespaces.
9433
9434 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * BufferView_pimpl.C:
9437         * BufferView2.C: clear selection on paste (bug 393)
9438
9439 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9440
9441         * DepTable.C: include ctime
9442
9443 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9444
9445         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9446
9447 2002-05-14  Juergen Vigna  <jug@sad.it>
9448
9449         * text.C (breakParagraph): fixed function to honor the keepempty
9450         layout in the right maner and also to permit the right breaking
9451         algorithm on empty or non empyt keepempty paragraphs.
9452
9453         * paragraph.C (breakParagraph): we have to check also if the par
9454         is really empty (!size()) for isempty otherwise we do the wrong
9455         paragraph break.
9456
9457 2002-05-10  Juergen Vigna  <jug@sad.it>
9458
9459         * buffer.[Ch] : The following are only changes to the ert
9460         compatibility read reading old LaTeX layout and font stuff and
9461         convert it to ERTInsets.
9462
9463         * buffer.h: added isErtInset().
9464
9465         * buffer.C (struct ErtComp): add a fromlayout bool to check
9466         if we're inside a LaTeX layout.
9467         (isErtInset): new helper function.
9468         (insertErtContents): look for other ert insets before this one
9469         and insert the contents there, so that we don't have subsequent
9470         ERT insets with nothing between them. This way we create only one
9471         inset with multiple paragraphs. Also check if we don't insert only
9472         spaces ' ' as they are ignored anyway afterwards in the .tex file
9473         so if we have only spaces we will ignore this latex part in the
9474         new file.
9475         (parseSingleLyXformat2Token \\layout): better compatibility when
9476         reading layout-latex stuff.
9477         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9478         language tag.
9479         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9480         stuff after reading the inset only get the information back from
9481         the stack.
9482
9483 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9484
9485         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9486
9487         * LaTeXFeatures.C (getBabelOptions): New method.
9488
9489 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9490
9491         * BufferView_pimpl.C (Dispatch): work around missing argument for
9492         'layout'
9493
9494 2002-05-08  Juergen Vigna  <jug@sad.it>
9495
9496         * text.C (leftMargin): handle paragraph leftindent.
9497
9498         * paragraph.C (writeFile): write the new \\leftindent tag.
9499         (validate): handle leftindent code.
9500         (TeXEnvironment): handle paragraphleftindent code again.
9501
9502         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9503
9504         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9505         for paragrap_extra indent code and new token \\leftindent.
9506         (latexParagraphs): handle the leftindent as environment.
9507
9508         * ParameterStruct.h: added leftindent support.
9509
9510         * ParagraphParameters.C (leftIndent): added support functions for
9511         the paragraph left indent.
9512
9513         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9514         more appropriate.
9515
9516 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9517
9518         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9519         inside insetERT.
9520
9521         * text.C (computeBidiTables): No bidi in insetERT.
9522
9523         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9524         in RTL documents.
9525
9526 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9527
9528         * version.C.in: pre 5
9529
9530 2002-05-02  José Matos  <jamatos@fep.up.pt>
9531         * buffer.C (makeDocBookFile): white space changes, add newline to
9532         command styles.
9533         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9534
9535         * tabular.C (docBook): fix typo.
9536
9537 2002-05-03  Juergen Vigna  <jug@sad.it>
9538
9539         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9540         change in LyXText as we can not be sure it was not freed.
9541         (drawOneRow): remove unused code.
9542
9543         * text.C (drawInset): redo the calculation of the need_break_row as
9544         it could have a row which was already freed.
9545         (draw): look at the return value of drawInset and return false if
9546         it also returned false.
9547         (paintRowText): look at the return value of draw and return false if
9548         it also returned false.
9549
9550         * lyxtext.h: added bool return type to drawInset() and draw() so that
9551         if we have a change in the row so that the rowbreak has to be redone
9552         we abort drawing as it will be called again.
9553
9554 2002-05-02  Juergen Vigna  <jug@sad.it>
9555
9556         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9557         a change in the maintext also if we're inside an inset.
9558         (Dispatch): set the cursor again after a break line and after the
9559         screen has been updated as it could be we're in a different row.
9560
9561         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9562         to set the cursor behind the pargraph with > size().
9563         (setCursor): check also for the same paragraph when checking where
9564         to put the cursor if we have a NFR inset.
9565
9566         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9567         parts of layout read further up as it still was in the wrong
9568         position.
9569
9570 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9571
9572         * screen.C (drawFromTo): change sine fullRebreak always return
9573         true.
9574
9575         * buffer.C (parseSingleLyXformat2Token): reindent some
9576
9577         * BufferView_pimpl.C (update): change since fullRebreak always
9578         return true.
9579         (Dispatch): git rid of the last hardcoded "Standard"s.
9580
9581 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9582
9583         * text2.[Ch] (fullRebreak): make it return void now that we always
9584         returned true.
9585
9586 2002-04-30  Juergen Vigna  <jug@sad.it>
9587
9588         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9589         ert compatibility check for "latex" layout.
9590
9591 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9592
9593         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9594         minipages: use col% instead of p%, and also use the current font.
9595         (makeLaTeXFile): Fix use babel condition.
9596         (parseSingleLyXformat2Token): Correct font when reading old floats.
9597
9598 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9599
9600         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9601         inserting list of floats.
9602
9603 2002-04-25  Herbert Voss  <voss@lyx.org>
9604
9605         * MenuBackend.C (expand): don't add the graphics extensions to the
9606         export menu
9607
9608 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9611         non-existing layout, do not complain if it was the default layout
9612         of the original class (bug #342)
9613
9614 2002-04-24  Juergen Vigna  <jug@sad.it>
9615
9616         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9617         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9618
9619 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9620
9621         * buffer.C (getBibkeyList): If using \bibliography, return the
9622         option field with the reference itself. Enables us to provide natbib
9623         support when using \bibliography.
9624
9625 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9626
9627         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9628
9629         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9630         natbib is provided by the LaTeX class.
9631
9632 2002-04-23  Juergen Vigna  <jug@sad.it>
9633
9634         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9635         Wakeup functions.
9636
9637         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9638
9639 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9640
9641         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9642
9643         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9644         ensuremath around textordmasculine, textordfeminine and
9645         textdegree.
9646
9647 2002-04-19  Juergen Vigna  <jug@sad.it>
9648
9649         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9650         reinitializing the buffer otherwise row-dimensions may be wrong.
9651         (update): reset also the selection cursors if they do exits otherwise
9652         their x/y positions may be wrong.
9653
9654         * text2.C (cursorDown): don't enter the inset if we came from a row
9655         above and are one row over the inset.
9656
9657         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9658         really leaving an inset.
9659
9660 2002-04-18  Juergen Vigna  <jug@sad.it>
9661
9662         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9663         of the selected paragraph does not have the selected layout also if
9664         the last one had!
9665
9666         * text2.C (setLayout): fixed bug which did not change last selected
9667         paragraph.
9668
9669         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9670         changed the read and substituted \\end_float with \\end_inset!
9671
9672         * BufferView_pimpl.C (cursorPrevious):
9673         (cursorNext): fixed to make it work with rows heigher than the work
9674         area without moving the cursor only the draw of the row.
9675         (workAreaMotionNotify): fix jumping over high rows.
9676
9677 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9678
9679         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9680         Ressler.
9681
9682 2002-04-16  Juergen Vigna  <jug@sad.it>
9683
9684         * text2.C (setCursor): set also the irow().
9685         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9686         (cursorUp):
9687         (cursorDown): support for locking an inset if the x_fix value goes
9688         inside it. That way I can transverse insets too with cursor up/down.
9689
9690         * lyxrow.h: added irow helper function same as other (i) functions.
9691
9692         * BufferView_pimpl.C (cursorPrevious):
9693         (cursorNext): fixed for insets!
9694
9695 2002-04-15  Juergen Vigna  <jug@sad.it>
9696
9697         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9698         position otherwise it is wrong in some cases.
9699
9700         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9701         inside the inset before the call.
9702
9703 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9704
9705         * buffer.[Ch] (getBibkeyList): make it const.
9706
9707 2002-04-12  Juergen Vigna  <jug@sad.it>
9708
9709         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9710
9711         * text2.C (getCursorX): new helper function
9712         (setCursor): compute also ix_
9713         (setCursorFromCoordinates): set also ix.
9714
9715         * lyxcursor.h: added ix_ and helper functions.
9716
9717         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9718
9719         * buffer.C (insertStringAsLines): dont break paragraph if the this
9720         paragraph is inside an inset which does not permit it!
9721
9722         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9723         also with no chars on this paragraph.
9724         (paintRowText): only paint stuff if it's inside the workarea!
9725
9726         * paragraph.C (breakParagraph): honor keepempty flag and break the
9727         paragraph always below not above.
9728
9729         * BufferView2.C (unlockInset): update the paragraph layout on inset
9730         unlock as we changed paragraph in such a case.
9731
9732         * lyxfind.C (LyXFind): clear the former selection if not found!
9733
9734         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9735         again called in insertChar().
9736
9737         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9738         an inset which uses the whole row!
9739         (rightMargin): ditto.
9740         (insertChar): force a rebreak if we inserted an inset!
9741
9742 2002-03-28  Herbert Voss  <voss@lyx.org>
9743
9744         * lyxlength.[Ch]: add inBP() to get the right PS-point
9745         units (BigPoint). With inPixels we have rounding errors
9746
9747 2002-04-11  Juergen Vigna  <jug@sad.it>
9748
9749         * text2.C (setCursorFromCoordinates): set iy to the right value.
9750         (setCursor): add check if row->previous exists!
9751
9752         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9753         an old float_type as this was the case in the old code!
9754
9755         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9756
9757         * BufferView2.C (showLockedInsetCursor): use iy
9758         (fitLockedInsetCursor): ditto
9759
9760         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9761         locked insets as there we have the right value now.
9762
9763         * lyxcursor.C: added iy_ variable and iy functions to set to the
9764         baseline of cursor-y of the locked inset.
9765
9766         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9767         (setCursor): fixed for insets which need a full row.
9768
9769         * text.C (rowLastPrintable): don't ignore the last space when before
9770         an inset which needs a full row.
9771         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9772         as last character of a row when before a inset which needs a full row.
9773
9774 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9775
9776         * version.C.in: update date
9777
9778         * text2.C (fullRebreak): try to always return true and see what
9779         happens...
9780
9781 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9782
9783         * MenuBackend.C (expand): use Floating::listName
9784
9785         * FloatList.C (FloatList): add listName argument to the built-in
9786         floats
9787
9788         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9789         text associated with the float.
9790
9791 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9794
9795 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9796
9797         * ShareContainer.h: add a couple of missing typenames.
9798
9799 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9800
9801         * lyxrc.C (getDescription): use _() correctly rather than N_().
9802
9803 2002-03-28  Herbert Voss  <voss@lyx.org>
9804
9805         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9806         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9807
9808 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9809
9810         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9811         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9812
9813 2002-03-29  Juergen Vigna  <jug@sad.it>
9814
9815         * lyxfunc.C (dispatch): add a missing fitCursor call.
9816
9817         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9818         it was scrolled by a cursor move, so return the bool status.
9819
9820         * BufferView.C (fitCursor): return the bool flag also to the outside
9821         world as this is needed.
9822
9823         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9824
9825         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9826         call the edit() as it is not needed (and wrong) IMO.
9827         (workAreaButtonPress): set the screen_first variable before evt.
9828         unlock the inset as this may change screen_first and then we have
9829         a wrong y position for the click!
9830
9831 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9832
9833         * MenuBackend.C (expand): another translation that I missed
9834
9835 2002-03-28  Juergen Vigna  <jug@sad.it>
9836
9837         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9838
9839         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9840
9841 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9842
9843         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9844
9845         * MenuBackend.C (expand): fix export/view/update when there is no
9846         document open.
9847
9848 2002-03-27  Herbert Voss  <voss@lyx.org>
9849
9850         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9851         and text%
9852
9853 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * bufferview_funcs.C (currentState): only show paragraph number
9856         for is DEVEL_VERSION is set.
9857
9858         * lyxfunc.C (dispatch): put warning in INFO channel
9859
9860         * MenuBackend.C (expand): translate the name of floats
9861
9862         * FloatList.C (FloatList): mark the float names for translation
9863
9864         * converter.C (convert): use LibScriptSearch
9865
9866 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9867
9868         * MenuBackend.C (defaults): fix default menu (we might as well get
9869         rid of it...)
9870
9871 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9872
9873         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9874         directory.
9875
9876 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9877
9878         * lyxvc.C: reorder includes.
9879
9880 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9881
9882         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9883           properly
9884
9885 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * CutAndPaste.C: change layouts earlier on paste
9888           to avoid crashing when calling getFont()
9889
9890 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9891
9892         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9893         irritating #error.
9894
9895 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9896
9897         * WorkArea.C: remove 'Pending' debug message.
9898
9899         * most files: ws cleanup
9900
9901         * buffer.[Ch]: ws changes
9902
9903         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9904
9905 2002-03-21  Juergen Vigna  <jug@sad.it>
9906
9907         * tabular.C (SetMultiColumn): collapse also the contents of the
9908         cells and set the last border right. Added a Buffer const * param.
9909
9910 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9911
9912         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9913         linking or not.
9914
9915 2002-03-19  Juergen Vigna  <jug@sad.it>
9916
9917         * text2.C (clearSelection): reset also xsel_cache.
9918
9919         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9920         where it needs to be called (John tells us to do so too :)
9921         (selectionLost): reset sel_cache.
9922
9923         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9924
9925 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9926
9927         * text2.C (setCursorIntern): put debuging code in INSETS channel
9928
9929 2002-03-19  André Pönitz <poenitz@gmx.net>
9930
9931         * lyxfunc.C: tiny whitespace change
9932
9933 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9934
9935         * ToolbarDefaults.C (init):
9936         * LyXAction.C (init):
9937         * commandtags.h:
9938         * BufferView_pimpl.C (Dispatch):
9939         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9940
9941 2002-03-19  Allan Rae  <rae@lyx.org>
9942
9943         * exporter.C (Export): removeAutoInsets before doing anything else.
9944         While I've just introduced a dependency on BufferView this really is
9945         the best place to clean the buffer otherwise you need to cleanup in
9946         a dozen places before calling export or cleanup in a dozen functions
9947         that export calls.
9948
9949         * converter.C (runLaTeX):
9950         (scanLog): Better handling of removeAutoInsets and screen updates.
9951
9952         * lyxfunc.C (dispatch): small whitespace changes
9953
9954 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9955
9956         * WorkArea.C (C_WorkAreaEvent): return a value.
9957         (event_cb): return 1 if we handled the event, 0 otherwise.
9958
9959         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9960
9961 2002-03-18  Juergen Vigna  <jug@sad.it>
9962
9963         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9964         (GetAdditionalWidth): ditto.
9965         (RightLine): ditto.
9966         (LeftLine): ditto.
9967
9968         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9969         inset if we're there actually (probably not used right now but this
9970         is the direction to go for unifying code).
9971         (paste): disable code to clear the selection.
9972
9973         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9974         inside an InsetText and move the check further up as it is in the
9975         wrong place.
9976
9977         * text2.C (pasteSelection): set a selection over the pasted text.
9978
9979 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9980
9981         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9982         and libgraphics to build on Cygwin.
9983
9984 2002-03-15  Juergen Vigna  <jug@sad.it>
9985
9986         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9987         inserting an Inset into the paragraph. I know this is not the best
9988         fix but we already use current_view in CutAndPaste so we will remove
9989         all of it's using at the same time.
9990
9991         * buffer.C (sgmlError): deactivated function till it is rewritten in
9992         the right mode, now it can create problems.
9993
9994         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9995         before accessing it.
9996
9997 2002-03-14  Juergen Vigna  <jug@sad.it>
9998
9999         * undo_funcs.C (textHandleUndo): do the right thing when updating
10000         the inset after the undo/redo.
10001
10002         * text2.C (setCursor): just some testcode for #44 not ready yet.
10003
10004         * undo_funcs.C (textHandleUndo): set the next() and previous()
10005         pointers of the paragraph to 0 before deleting otherwise we have
10006         problems with the Paragraph::[destructor].
10007
10008         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10009         on a paragraph insertion.
10010
10011 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10012
10013         * buffer.C (asciiParagraph): use += operator for char append to
10014         string.
10015
10016         * paragraph.C (getFontSettings): compare >= not just >
10017         (highestFontInRange): ditto
10018         (setFont): ditto
10019
10020 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10021
10022         * paragraph.C: change several algorithm to be more appripriate for
10023         the problem domain. This is lookip in FontList and in the InsetList.
10024
10025 2002-03-13  André Pönitz <poenitz@gmx.net>
10026
10027         * commandtags.h:
10028         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10029
10030 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10031
10032         * commandtags.h:
10033         * LyXAction.C:
10034         * lyxfunc.C:
10035         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10036
10037 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10038
10039         * Painter.C (display): anon helper function, adjust code for this
10040         change.
10041         (pixmap): remove function.
10042
10043         * Painter.h: remove private display variable.
10044
10045         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10046
10047 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10048
10049         * WorkArea.[Ch]: remove figinset_canvas cruft.
10050
10051 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10052
10053         * lyxtextclass.C (operator): add one item cache optimization.
10054
10055         * bufferlist.h: doxy changes
10056
10057         * bufferlist.C: ws changes
10058
10059         * DepTable.[Ch] (ext_exist): place const in the right spot.
10060
10061         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10062         call resizeInsets.
10063         (workAreaExpose): call resizeInsets when the with BufferView changes.
10064         (Dispatch): adjust for protectedBlank removal
10065         (specialChar): call updateInset if the insert went ok.
10066
10067         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10068         specialChar instead.
10069
10070         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10071
10072         * BufferView.h: doxy change
10073
10074         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10075
10076         * lyxtextclass.C (operator[]): remove non-const version
10077         (defaultLayout): remove non-const version
10078
10079 2002-03-12  Juergen Vigna  <jug@sad.it>
10080
10081         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10082         did resize the LyXText too.
10083
10084         * buffer.C (readLyXformat2): set layout information on newly allocated
10085         paragraphs.
10086
10087         * tabular.C (OldFormatRead): set layout information on the paragraph.
10088
10089 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10090
10091         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10092
10093 2002-03-11  Juergen Vigna  <jug@sad.it>
10094
10095         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10096         plainly wrong.
10097         (resizeCurrentBuffer): force also the insets to resize themselfes.
10098         (moveCursorUpdate): fixed up for InsetText.
10099
10100 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10101
10102         * commandtags.h:
10103         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10104         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10105         value of Dialogs::tooltipsEnabled().
10106         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10107
10108 2002-03-08  Juergen Vigna  <jug@sad.it>
10109
10110         * BufferView_pimpl.C (updateInset): update inset inside inset also
10111         if it isn't inside theLockingInset().
10112
10113 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10114
10115         * buffer.C (asciiParagraph): redo some of the word and line length
10116         handling.
10117         (getLists): look for Caption instead of caption.
10118
10119 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10120
10121         * buffer.C (Buffer): initialize niceFile to true
10122         (makeLaTeXFile):
10123         (makeLinuxDocFile):
10124         (makeDocBookFile): make sure niceFile is true on exit
10125
10126 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10127
10128         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10129
10130 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10131
10132         * LyXSendto.C: remove.
10133         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10134         * lyx_gui.C: remove now-redundant comment.
10135         * ColorHandler.h: remove forward declaration of class WorkArea.
10136         * lyxfunc.C: remove #include "WorkArea.h".
10137
10138 2002-03-07  Juergen Vigna  <jug@sad.it>
10139
10140         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10141         got moved away with the DEPM and also set the inset_owner always
10142         right which before could have been omitted.
10143
10144 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10145
10146         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10147         wanted layout is not found.
10148
10149 2002-03-07  Juergen Vigna  <jug@sad.it>
10150
10151         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10152
10153 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10154
10155         * paragraph.C (breakParagraph): use default layout not layout of
10156         prev paragraph.
10157         (Paragraph): clear ParagraphParameters.
10158
10159 2002-03-06  Juergen Vigna  <jug@sad.it>
10160
10161         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10162         otherwise it would not be a valid lenght. Fixed a special case in
10163         the minipage compatibility read where we end the document with a
10164         minipage.
10165
10166         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10167         was set as it could be 0 for InsetTexts first entry.
10168
10169 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10170
10171         * paragraph.C (writeFile): if layout is empty write out
10172         defaultLayoutName().
10173
10174         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10175         file without named layout we set layout to defaultLayoutName().
10176
10177 2002-03-06  Juergen Vigna  <jug@sad.it>
10178
10179         * CutAndPaste.C (copySelection): set layout for new paragraph.
10180
10181         * text.C (prepareToPrint): leave ERT inset left aligned
10182         (leftMargin): don't indent paragraphs inside ERT insets
10183
10184 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10185
10186         * paragraph.C (breakParagraph): dont call clear do the work manually
10187
10188         * paragraph.[Ch] (clear): remove function
10189
10190 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10191
10192         * paragraph.C (Paragraph): dont call clear, the work has already
10193         been done.
10194
10195         * lyxtextclass.C (operator): assert if n is empty
10196
10197         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10198         work manually instead.
10199
10200 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * BufferView_pimpl.C: protect selectionLost against text == 0
10203
10204 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10205
10206         * text.C (breakParagraph): fix a setting layout to '0' problem.
10207
10208 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10209
10210         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10211         final location of file, for the included files, and graphics.
10212
10213 2002-03-05  Juergen Vigna  <jug@sad.it>
10214
10215         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10216
10217 2002-03-04  Juergen Vigna  <jug@sad.it>
10218
10219         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10220
10221         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10222         last column of multicolumn cells.
10223         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10224
10225 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10226
10227         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10228         file if it doesn't go to a temporary file.
10229
10230         * buffer.C (sgmlOpenTag):
10231         (sgmlCloseTag):  remove extra newline insertion.
10232
10233 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10234
10235         * text.C (getRowNearY): comment out debug msg
10236
10237 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10238
10239         * text2.C: first -> first_y
10240
10241         * text.C (getRowNearY): add some attemts at a possible
10242         optimization, not working.
10243
10244         * tabular.[Ch]: add BufferParams to several function so that newly
10245         created paragraph can be initialized to he default layotu for the
10246         buffers textclass.
10247
10248         * tabular-old.C (ReadOld): add buf->params to call of Init
10249
10250         * screen.C: rename text->first to text->first_y
10251
10252         * paragraph.C (breakParagraph): always set layout in the broken
10253         paragraph
10254
10255         * lyxtextclass.C (Read): remove lowercase
10256         (hasLayout): ditto
10257         (operator): ditto
10258         (delete_layout): ditto
10259
10260         * lyxtext.h: rename first -> first_y
10261
10262         * lyxlayout.C (Read): remove lowercase
10263         (name): ditto
10264         (setName): ditto
10265         (obsoleted_by): ditto
10266
10267         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10268
10269         * buffer.C (insertErtContents): add params are to InsetERT
10270         (parseSingleLyXformat2Token): add code to check if a paragraphs
10271         layout really exist.
10272         (parseSingleLyXformat2Token): add params to several inset
10273         constructors
10274         (asciiParagraph): remove lowercase, do the layout comparisons with
10275         no_case
10276
10277         * BufferView_pimpl.C (cursorNext): first -> first_y
10278         (resizeCurrentBuffer): first -> first_y
10279         (updateScrollbar): first -> first_y
10280         (scrollCB): first -> first_y
10281         (workAreaMotionNotify): first -> first_y
10282         (workAreaButtonPress): first -> first_y
10283         (checkInsetHit): first -> first_y
10284         (cursorPrevious): first -> first_y
10285         (cursorNext): first -> first_y
10286         (Dispatch): add buffer_->params to severl inset contructors
10287
10288 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10289
10290         * lyxlayout.C (Read): remove some debug info that I forgot.
10291
10292         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10293         clean up the code slightly.
10294         (makeLinuxDocFile): ditto
10295         (makeDocBookFile): ditto
10296
10297         * text2.C: layout as string
10298
10299         * text.C: layout as string
10300
10301         * paragraph_pimpl.C: layout as string
10302
10303         * paragraph.[Ch]: layout as string
10304
10305         * lyxtextclasslist.[Ch]: layout as string
10306
10307         * lyxtextclass.[Ch]: layout as string
10308
10309         * lyxtext.h: layout as string
10310
10311         * lyxlayout.[Ch]: layout as string
10312
10313         * lyx_cb.C: layout as string
10314
10315         * bufferview_funcs.C: layout as string
10316
10317         * bufferparams.C: layout as string
10318
10319         * buffer.C: layout as string
10320
10321         * LyXView.[Ch]: layout as string
10322
10323         * LaTeXFeatures.[Ch]: layout as string
10324
10325         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10326
10327         * BufferView_pimpl.C: change current_layout to string, remove
10328         lyx::layout_type.
10329         (Dispatch):
10330         (smartQuote):
10331         (insertInset):
10332         (workAreaButtonRelease): layout as string
10333
10334         * BufferView2.C (unlockInset): adjust
10335
10336         * vspace.C (asLatexCommand): use an explict temp variable.
10337
10338 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10339
10340         * Makefile.am: use FRONTEND_*
10341
10342 2002-03-01  Juergen Vigna  <jug@sad.it>
10343
10344         * tabular.C (SetWidthOfMulticolCell): changed to something better
10345         I hope but still work in progress.
10346         (recalculateMulticolumnsOfColumn): renamed function from
10347         recalculateMulticolCells as it is more appropriate now.
10348         (SetWidthOfCell): calculate multicols better.
10349
10350 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10351
10352         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10353
10354         * lyxfunc.C (processKeySym): print sequence also if it is
10355         `deleted' (complete)
10356
10357         * kbsequence.C (print): print sequence even if it is deleted
10358         (complete would be a better word, actually).
10359
10360         * lyxfunc.C (dispatch): print complete options after a prefix key
10361
10362         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10363
10364 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10365
10366         * text2.C (setCharFont): eliminate setCharFont code duplication.
10367
10368 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10369
10370         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10371         LFUN_TABULAR_FEATURE (bug #177)
10372
10373 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10374
10375         * Makefile.am: remove figure.h
10376
10377 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10378
10379         * Bufferview_pimpl.C:
10380         * CutAndPasteC:
10381         * LaTeX.C:
10382         * LyXSendto.C:
10383         * buffer.C:
10384         * bufferlist.C:
10385         * converter.C:
10386         * language.C:
10387         * lyxfunc.C:
10388         * lyxvc.C:
10389         * paragraph.C:
10390         * text.C:
10391         * text2.C: remove #include "lyx_gui_misc.h".
10392
10393         * LaTeX.C: added #include <cstdio>
10394
10395 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10396
10397         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10398         that the paragraph following this one can have.
10399
10400         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10401
10402         * vspace.C (asLatexCommand): fix bogus gcc warning
10403
10404         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10405
10406 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10407
10408         * text2.C (setLayout): get rid of redundant code
10409
10410 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10411
10412         * text2.C (incDepth): make sure depth cannot be increased beyond
10413         reasonable values.
10414
10415 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10416
10417         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10418         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10419
10420         * PainterBase.h (image):
10421         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10422         a LyXImage const *.
10423
10424 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * BufferView.C:
10427         * BufferView.h:
10428         * BufferView_pimpl.C:
10429         * BufferView_pimpl.h:
10430         * LaTeXFeatures.C:
10431         * LyXAction.C:
10432         * LyXView.C:
10433         * Makefile.am:
10434         * UpdateList.h:
10435         * UpdateList.C:
10436         * buffer.C:
10437         * figure.h:
10438         * figureForm.C:
10439         * figureForm.h:
10440         * figure_form.C:
10441         * figure_form.h:
10442         * lyx_cb.C:
10443         * lyx_gui.C:
10444         * lyx_gui_misc.C:
10445         * lyxfunc.C:
10446         * sp_base.h:
10447         * sp_ispell.h:
10448         * sp_pspell.h:
10449         * sp_spell.C: remove fig inset, and the crap house of
10450           cards that follows it
10451
10452 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10453
10454         * Makefile.am:
10455         * lyxserver.C:
10456         * os2_defines.h:
10457         * os2_errortable.h:
10458         * nt_defines.h: move .h into support/
10459
10460         * vms_defines.h: remove
10461
10462         * WorkArea.C: add space in debug output
10463
10464         * text2.C:
10465         * paragraph.C:
10466         * buffer.C: add WITH_WARNINGS
10467
10468         * vc-backend.h:
10469         * vc-backend.C:
10470         * bufferlist.C: s/retrive/retrieve/, add docs
10471
10472         * vspace.h:
10473         * vspace.C:
10474         * kbmap.h:
10475         * lyxlength.h:
10476         * lyxgluelength.h:
10477         * length_common.h:
10478         * chset.h:
10479         * chset.C: add docs
10480
10481         * lyxgui.C: add ID to X error handler
10482
10483         * lyxtestclass.c: fix typo
10484
10485 2002-02-26  Juergen Vigna  <jug@sad.it>
10486
10487         * tabular_funcs.C (write_attribute): changed so that some default
10488         attributes are not written at all.
10489         (getTokenValue): set default values before trying to read the
10490         value so we have the return value always set as default if we don't
10491         find the token we search for.
10492
10493         * tabular.C (Write): write bools as bools not as strings!
10494
10495 2002-02-22  Juergen Vigna  <jug@sad.it>
10496
10497         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10498         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10499
10500         * text.C (leftMargin): don't add an indent for paragraphs inside
10501         tabular cells (fix #208).
10502
10503 2002-02-21  José Matos  <jamatos@fep.up.pt>
10504
10505         * tabular.C (docBook): fixed support for long tables.
10506
10507 2002-02-20  Juergen Vigna  <jug@sad.it>
10508
10509         * text2.C (getFont): get the drawing font of the Inset if this
10510         paragraph is inside an inset (only important for InsetERT for now).
10511
10512         * buffer.C (insertErtContents): use new lanugage params in ERT
10513         constructor.
10514
10515         * CutAndPaste.C: commenting out seemingly uneeded code.
10516
10517 2002-02-19  Allan Rae  <rae@lyx.org>
10518
10519         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10520         Iterators might be simple to use but they also get invalidated.
10521         (removeAutoInsets): renamed saved cursor tracking variables and added
10522         some comments to clarify what everything does.
10523
10524 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10525
10526         * Chktex.C:
10527         * LaTeX.C:
10528         * LyXSendto.C:
10529         * converter.C:
10530         * lyx_cb.C:
10531         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10532         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10533
10534         * lyxfunc.C:
10535         * vc-backend.h: remove #include "support/syscall.h"
10536
10537         * LaTeX.C:
10538         * LyXSendto.C:
10539         * converter.C: rearrange #includes in Lars' approved fashion.
10540
10541         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10542         forward declare class Timeout in the header file.
10543
10544         * XFormsView.C: changes due to the above.
10545
10546         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10547         similar to LyXView.
10548
10549         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10550         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10551
10552 2002-02-18  José Matos  <jamatos@fep.up.pt>
10553
10554         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10555         insets contents.
10556
10557 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10558
10559         * a lot of small ws changes
10560         * add a lot of using std::XXX
10561         * use std construcs some places where approp.
10562         * use some exisint stuff from lyxfunctional where approp.
10563         * Make file changes to use partial linking (lets test this now...)
10564
10565 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10566
10567         * Chktex.C:
10568         * buffer.C:
10569         remove #include "support/syscontr.h" as it's redundant. Always has been.
10570
10571         * Chktex.C:
10572         * LaTeX.C:
10573         * LyXSendto.C:
10574         * converter.C:
10575         * lyx_cb.C:
10576         * vc-backend.C:
10577         change Systemcalls::System to Systemcalls::Wait and
10578         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10579         No change of functionality, just reflects the stripped down Systemcalls
10580         class.
10581
10582 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10583
10584         * debug.[Ch]: add a GRAPHICS type to the enum.
10585
10586 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10587
10588         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10589
10590         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10591         there is an inset.
10592
10593 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10594
10595         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10596         match the changes below.
10597
10598         * text2.C (toggleInset): if there is not editable inset at cursor
10599         position, try to see if cursor is _inside_ a collapsable inset
10600         and close it.
10601
10602 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10603
10604         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10605         document menu has a nice checkbox
10606
10607 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10608
10609         * lyxlength.C (asLatexString): change PW to output as percent of
10610         \textwidth.
10611
10612         * lengthcommon.C: change '%' to 't%'
10613
10614         * lyxfunc.C (dispatch): a few comments from Martin
10615
10616 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10617
10618         * WorkArea.h:
10619         * WorkArea.C:
10620         * BufferView_pimpl.h:
10621         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10622           the X selection.
10623
10624 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10625
10626         * vspace.C (inPixels): fix compiler warning
10627
10628 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10629
10630         * lyxfunc.C (getStatus): fix status message for disabled commands.
10631
10632 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10633
10634         * BufferView_pimpl.C: fix crash on close buffer
10635         during selection (#227)
10636
10637 2002-01-27  Herbert Voss  <voss@lyx.org>
10638
10639         * buffer.C: link old Figure to new graphic inset
10640
10641 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10642
10643         * FontLoader.C (getFontinfo): Change the latex font names in order
10644         to match the names of type1inst.
10645
10646 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10647
10648         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10649
10650         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10651         (extchanged): ditto
10652         (ext_exist): ditto
10653         (remove_files_with_extension): ditto
10654         (remove_file): ditto
10655         (write): ditto
10656
10657         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10658         document is smaller than the work area height. Do not initialize
10659         static variables to 0.
10660
10661 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10664
10665         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10666         LFUN_LAYOUT_PARAGRAPHS.
10667
10668         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10669         tabular. It is possible to provide a possible cell, which will
10670         typically be the actcell from the corresponding insettabular
10671
10672         * lyxfunc.C (getStatus): small cleanup; disable
10673         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10674         true
10675
10676 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10677
10678         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10679
10680         * paragraph.C (startTeXParParams):
10681         (endTeXParParams): new methods. The LaTeX code to
10682         start/end paragraph formatting
10683         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10684         empty (fixes bug #200)
10685
10686         * vspace.C (inPixels): adapt to the change below
10687         (inPixels): [later] more cleanups (remove unused variables)
10688
10689         * lyxlength.C (inPixels): change to use a width and a height as
10690         parameter.
10691
10692 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10693
10694         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10695         Replaced with \paperwidth
10696
10697         * DepTable.C (insert): add std:: qualifier
10698
10699 2002-01-18  Allan Rae  <rae@lyx.org>
10700
10701         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10702         updated also?
10703
10704         * text.C (drawInset): Turned out I didn't know enough about how
10705         rebreaking worked.  This fixes most of the redraw problems.  I see
10706         an occasional cursor trail when a line is broken now and the cursor
10707         placement can seem out by a few pixels also after a rebreak.
10708
10709 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10710
10711         * buffer.C (parseSingleLyXformat2Token): update because minipage
10712         width is now a LyXLength
10713
10714         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10715
10716         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10717         math insets
10718
10719 2002-01-17  Juergen Vigna  <jug@sad.it>
10720
10721         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10722
10723         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10724         is set correctly and the inset is updated correctly.
10725
10726 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10727
10728         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10729         the beginning of the loop.
10730
10731 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10732
10733         * lyxrc.C: improve help for use_scalable_fonts
10734
10735 2002-01-17  Allan Rae  <rae@lyx.org>
10736
10737         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10738
10739 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10740
10741         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10742         make sure to set their inset_owner to the right value (bug #171)
10743
10744 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10745
10746         * DepTable.h
10747         * DepTable.C: Implement mtime checking to reduce time spent doing
10748         CRCs.
10749
10750 2002-01-16  Juergen Vigna  <jug@sad.it>
10751
10752         * tabular.C (GetAdditionalHeight): one of error fixed.
10753
10754         * lyxrc.C (output): small fix in writing use_pspell.
10755
10756 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10757
10758         * sp_base.h: #include LString.h
10759
10760 2002-01-16  Allan Rae  <rae@lyx.org>
10761
10762         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10763         Can someone check this please?
10764
10765         * text.C (drawInset): It was possible that p.row would be removed by
10766         breakAgainOneRow upsetting a few other settings.  There may be another
10767         small tweak possible by setting need_break_row = 0 when p.row has been
10768         removed but I don't know enough about the logic here.
10769
10770 2002-01-15  Allan Rae  <rae@lyx.org>
10771
10772         * text.C (insertChar): removed conditional truism.
10773
10774         * BufferView2.C (removeAutoInsets): More tweaks.
10775         cur_par_prev could be a stray pointer.  Check for trailing empty line
10776         in case last line was cur_par and only had an error inset on it.
10777
10778 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10779
10780         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10781         absolute
10782
10783         * vc-backend.C (most methods):
10784         * exporter.C (Export):
10785         * converter.C (convert):
10786         (runLaTeX):
10787         * LyXSendto.C (SendtoApplyCB):
10788         * lyxfunc.C (dispatch):
10789         (menuNew):
10790         (open):
10791         (doImport):
10792         * lyx_cb.C (AutoSave):
10793         (InsertAsciiFile):
10794         * BufferView_pimpl.C (MenuInsertLyXFile):
10795         * buffer.C (runChktex): use Buffer::filePath().
10796
10797         * buffer.h: rename filename to filename_; rename filepath to
10798         filepath_ and make it private
10799         (filePath): new method
10800
10801         * buffer.C (writeFile): use fileName()
10802         (getLatexName):
10803
10804         * lyx_main.C (init): fix starting  of LyX when the binary is a
10805         link from so,ewhere else.
10806
10807         * minibuffer.C: include <cctype> for isprint
10808
10809 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10810
10811         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10812         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10813         name clash with InsetCollapsable's width function.
10814
10815 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10816
10817         * lastfiles.C: include <iterator>
10818
10819 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10820
10821         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10822         std::count.
10823
10824         * buffer.C (makeLaTeXFile): ditto.
10825         Also make loop operation more transparent.
10826
10827 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10828
10829         * ToolbarDefaults.C: remove trailing comma closing namespace.
10830
10831         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10832
10833         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10834         as in WorkArea.
10835
10836         * trans.C (Load): comment out unused variable, allowed.
10837
10838 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10839
10840         * minibuffer.[Ch] (append_char): new method to recieve input from the
10841         drop-down completion browser. If a key was pressed, then recieve this
10842         char and append it to the existing string.
10843         (peek_event): modify the positioning data passed to the completion
10844         browser so that it can be placed above the minibuffer rather than below.
10845 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10846
10847         * LyXAction.C (init): alloe error-next for readonly documents.
10848
10849         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10850         count.
10851
10852 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10853
10854         * bufferlist.C (readFile): create the buffer _after_ checking that
10855         the file exists.
10856
10857         * lyxfunc.C (verboseDispatch): fix handling of arguments
10858
10859         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10860
10861         * lyxrc.C: use string::erase() instead of initializing to "".
10862
10863
10864 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10865
10866         * BufferView_pimpl.h:
10867         * BufferView_pimpl.C:
10868         * WorkArea.h:
10869         * WorkArea.C:
10870         * text2.C: tell X when we have made a selection for copying
10871
10872 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10873
10874         * BufferView_pimpl.C (MenuInsertLyXFile):
10875         * lyxfunc.C (menuNew):
10876         (open):
10877         (doImport): add shortcuts to directory buttons
10878
10879         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10880         open a float)
10881
10882         * lyxfunc.C (setStatusMessage):
10883         (getStatusMessage): new methods
10884         (getStatus):use setStatusMessage instead of setErrorMessage
10885         (dispatch): when function is disabled, set error message here
10886         [instead of in getStatus previously]
10887
10888         * BufferView_pimpl.C (workAreaButtonRelease): update
10889         toolbar/menubar here too.
10890
10891 2002-01-13  Allan Rae  <rae@lyx.org>
10892
10893         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10894         Now seems indestructible.  Remaining task is to audit all other
10895         code affected by deleteEmptyParagraphMechanism.  One small quirk
10896         left is that an empty document with an error in the preamble can
10897         be made to report an error but no error box appears.  I don't know
10898         where it goes.
10899         (removeAutoInsets): Improved comments.
10900
10901 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10902
10903         * Thesaurus.h:
10904         * Thesaurus.C: update for Aiksaurus 0.14
10905
10906 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10907
10908         * text2.C (firstParagraph): removed member function, all uses
10909         replaces with ownerParagraph
10910         (redoParagraphs): here
10911         (updateInset): here
10912         (toggleAppendix): here
10913         * BufferView2.C (insertErrors): here
10914         (setCursorFromRow): here
10915
10916 2002-01-13  Allan Rae  <rae@lyx.org>
10917
10918         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10919         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10920         There is still a way to segfault this although you may have to do this
10921         multiple times: Have an InsetERT with an unknown command in it.
10922         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10923         <down-arrow>, <Enter> again, View->DVI, BANG!
10924
10925         * text2.C (setCursor):
10926         (deleteEmptyParagraphMechanism):
10927         * lyxtext.h (setCursor):
10928         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10929         Making use of the return value may help fix other bugs.
10930
10931 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10932
10933         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10934
10935         * LyXView.C (updateMenubar): call MenuBar::update here
10936         (updateToolbar): but not here
10937         (showState): do not update toolbar/menubar
10938
10939         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10940         should need to care about that.
10941
10942         * lyxfunc.C (verboseDispatch): simplify a bit
10943         (getStatus): have a version which takes a pseudoaction, and
10944         another which requires a (kb_action,string).
10945
10946         * LyXAction.C (retrieveActionArg): make it work also when action
10947         is not a pseudo-action.
10948         (getActionName): simplify a bit
10949         (helpText):
10950
10951 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10952
10953         * lyxfunc.C (verboseDispatch): new families of methods with
10954         several ways to specify a command and a bool to indicate whether
10955         the command name and shortcut should be displayed in minibuffer
10956         (eventually, we could extend that to a finer bitmask like
10957         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10958         (dispatch): the pristine dispatch command which just, well,
10959         dispatchs! Note it still sets its result to minibuffer; I'm not
10960         sure we want that.
10961
10962         * lyxfunc.h: remove setHintMessage
10963
10964         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10965
10966 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10967
10968         * BufferView_pimpl.C (specialChar): delete new inset if we have
10969         not been able to insert it.
10970
10971         * kbmap.C: revert to using int instead of kb_action, since all we
10972         are dealing with is pseudo-actions.
10973
10974         * LyXAction.C (searchActionArg): change to return int instead of
10975         kb_action, since the result is a pseudoaction.
10976
10977 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10978
10979         * buffer.C (insertErtContents): Fix (partially) the font bug.
10980
10981 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10982
10983         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10984         as the other one is broken on my machine!
10985
10986 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10987
10988         * commandtags.h:
10989         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10990
10991 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10992
10993         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10994         reflect their actual use. Provide compatibility code for older lyxrc
10995         files.
10996
10997         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10998         FL_NORMAL_STYLE.
10999         change names of popup font variables in line with the changes to lyxrc.C
11000
11001 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11002
11003         * buffer.C (asciiParagraph): avoid outputing a word twice after
11004         an inset.
11005
11006         * lyxrc.C (getDescription): document that document_path and
11007         template_path can be empty.
11008
11009 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11010
11011         * LaTeXFeatures.C (getMacros):
11012         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11013
11014         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11015
11016         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11017         getPackages.
11018         (getPackages): rename feature "floats" to "float". Use an array to
11019         iterate over 'simple' features (i.e. just a \usepackage). Add
11020         handling of "amsmath" (renamed from "amsstyle").
11021
11022 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11023
11024         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11025         features list.
11026
11027 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11028
11029         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11030         FuncStaus::FuncStatus & FuncStaus::some_method().
11031
11032 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11033
11034         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11035         of the func_satus stuff. Edited and massaged in various ways by
11036         JMarc.
11037
11038         * lyxfunc.C (getStatus): use FuncStatus
11039
11040 2002-01-08  Juergen Vigna  <jug@sad.it>
11041
11042         * text.C (nextBreakPoint): use function Inset::isChar().
11043
11044         * paragraph.C (TeXOnePar): use function
11045         Inset::forceDefaultParagraphs.
11046
11047         * buffer.C (latexParagraphs): use function
11048         Inset::forceDefaultParagraphs.
11049
11050 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11051
11052         * lyx_gui.C (init): set the style of the menu popups to
11053         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11054
11055 2002-01-07  Juergen Vigna  <jug@sad.it>
11056
11057         * text.C (setHeightOfRow): small fix
11058         (prepareToPrint): don't look at alignment if we don't have the place
11059         for doing it.
11060
11061 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11062
11063         * box.C: New file. Move the Box methods and functions out of box.h,
11064         following Lars' suggestion.
11065
11066 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11067
11068         * box.h: #include "support/LOstream.h", needed for inlined function.
11069
11070         * lyxtextclass.C:
11071         * lyxtextclasslist.C: added some using std declarations.
11072
11073 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11074
11075         * box.h: make signed dimensions to allow insets wider than
11076           the screen (bug #162)
11077
11078         * BufferView_pimpl.C: add some insetHit debug
11079
11080 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * vc-backend.C: add FIXME
11083
11084 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11085
11086         * lyxfunc.C (getStatus): enable code for showing math font status
11087         in toolbar/menu.
11088
11089 2002-01-07  Juergen Vigna  <jug@sad.it>
11090
11091         * text.C (nextBreakPoint): removed debug output not needed anymore.
11092
11093 2002-01-06  Juergen Vigna  <jug@sad.it>
11094
11095         * text.C (nextBreakPoint): fixed up this function we had this bug
11096         since ever but now hopefully we break row better.
11097         (insertChar): we have to check if an inset is the next char as it
11098         could now happen that a large inset is causing a break.
11099
11100 2002-01-05  Juergen Vigna  <jug@sad.it>
11101
11102         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11103         if it doesn't like to be drawed.
11104
11105 2002-01-04  Juergen Vigna  <jug@sad.it>
11106
11107         * BufferView2.C (lockInset): forgot to set a cursor.
11108
11109         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11110
11111 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11112
11113         * FormMathsPanel.C:
11114         * FormMathsPanel.h
11115         * MathsSymbols.C:
11116         * form_maths_panel.C:
11117         * form_maths_panel.h:
11118         * form_maths_panel.fd: implemented sub- and super- buttons in math
11119         panel.
11120
11121         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11122         (or ^ space) to be used as in TeX (req'd by André).
11123
11124         * lyxfunc.C: Allow ^ and _ again to be used both as
11125         super/subscript (mathed) and as themselves (in text).
11126
11127 2002-01-03  Allan Rae  <rae@lyx.org>
11128
11129         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11130         "LyX" or the filename of the current buffer if it has one.  This is a
11131         modified form of John Levon's patch.
11132
11133         * XFormsView.C (setWindowTitle): also set icon title.
11134
11135         * LyXView.h (setWindowTitle): signature changed.
11136         * XFormsView.h (setWindowTitle): ditto.
11137
11138 2002-01-02  Juergen Vigna  <jug@sad.it>
11139
11140         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11141
11142 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11143
11144         * screen.C (topCursorVisible): introduce a temp var for
11145         text->cursor.row(), handle the case where this row is null. (kindo
11146         hachish)
11147
11148         * text2.C (setCursor): add a couple of asserts.
11149
11150         * paragraph.h (inset_iterator): add -> operator
11151
11152         * paragraph.[Ch] (autoDeleteInsets): remove member function
11153
11154         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11155         cursor pos correctly and handle inset deletion by itself.
11156         (insertErrors): move iterator declaration out of for expression
11157
11158         * lyxtextclass.C: add <algorithm>
11159
11160         * Makefile.am: added the new files to sources, removed layout.C
11161
11162         * layout.C: removed file
11163
11164         * layout.h: remove LYX_DUMMY_LAYOUT
11165
11166         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11167         layout.
11168
11169         * lyxlayout.[Ch]:
11170         * lyxtextclass.[Ch]:
11171         * lyxtextclasslist.[Ch]: new files
11172
11173         * include order changes to a lot of files, also changes because of
11174         the six new files.
11175
11176 2001-12-27  Juergen Vigna  <jug@sad.it>
11177
11178         * buffer.C (asciiParagraph): more fixes.
11179
11180         * tabular.C (ascii): make ascii export support export of only the
11181         data separated by a column-delimiter.
11182         (ascii): better support for ascii export.
11183
11184         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11185
11186 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11187
11188         * tabular_funcs.C: use a "using std::getline" instead of the
11189         previous fix from Angus (necessary for cxx + lyxstring)
11190
11191 2001-12-24  Juergen Vigna  <jug@sad.it>
11192
11193         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11194
11195         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11196         problems. First check a minipage also if we have some ert-contents
11197         (not only on par->size(), second set the right depth of the paragraph
11198         on the relink to the root-paragraph-list!
11199
11200         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11201         which then did not anymore update the main paragraphs on undo/redo!
11202
11203 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11204
11205         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11206         code. Support all font-changing funcs (even those which are not in
11207         menu currently). Support for reporting font settings in
11208         mathed (disabled until Andre provides a function on mathed's side).
11209
11210         * func_status.h (toggle): small helper function to set toggle
11211         state on a flag.
11212
11213 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11214
11215         * tabular_funcs.C: getline -> std::getline
11216
11217 2001-12-21  Juergen Vigna  <jug@sad.it>
11218
11219         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11220         accessed and could be 0 (I couldn't generate this but it seems
11221         Michael could!).
11222
11223 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11224
11225         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11226         * tabular_funcs.h: here and include iosfwd
11227
11228 2001-12-20  Juergen Vigna  <jug@sad.it>
11229
11230         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11231         inside inset but undo_par was.
11232
11233 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11234
11235         * Thesaurus.C: always include <config.h> in sources.
11236
11237         * Painter.h:
11238         * lyxlookup.h:
11239         * box.h: do not include <config.h> in header files
11240
11241         * text.C (paintLastRow): remove unused variable
11242
11243         * text.C (transformChar):
11244         (insertChar):
11245         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11246
11247         * Painter.C (text):
11248         * font.C (width): rewrite to use uppercase() instead of
11249         islower/toupper.
11250
11251         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11252
11253 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * lyxfind.C: clean up of find failure position change
11256
11257 2001-12-20  Juergen Vigna  <jug@sad.it>
11258
11259         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11260
11261         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11262         (TeXRow): added to LaTeX a single tabular row.
11263         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11264         (Latex): simplified and finally good LT-h/f support.
11265         (various_functions): just small adaptions for LT-h/f support.
11266
11267         * tabular_funcs.[hC]: added and moved here all not classfunctions
11268         of LyXTabular.
11269
11270 2001-12-19  Juergen Vigna  <jug@sad.it>
11271
11272         * tabular.[Ch]: better support for longtabular options (not finished
11273         yet!)
11274
11275 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11276
11277         * text.C (paintLastRow): use the label font instead of the font of
11278         the last character to compute the size of *_BOX. This makes more
11279         sense and avoids a crash with empty paragraphs.
11280         Use Painter::rectangle to draw EMPTY_BOX.
11281
11282 2001-12-19  Juergen Vigna  <jug@sad.it>
11283
11284         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11285         the paragraphs if the replaced paragraph is not the first one!
11286         Tried to delete not used paragraphs but does not work yet so for
11287         now it's inside #ifdef's and by default off!
11288
11289 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11290
11291         * MenuBackend.C: include "lyx_main.h" instead of declaring
11292         lastfiles (actually was declared as LastFiles* instead of a
11293         scoped_ptr).
11294
11295 2001-12-17  Juergen Vigna  <jug@sad.it>
11296
11297         * tabular.C (AppendColumn): applied John's fix
11298
11299 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * BufferView.h:
11302         * BufferView.C:
11303         * BufferView_pimpl.h:
11304         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11305
11306         * Makefile.am:
11307         * box.h: new start of class for above
11308
11309         * lyxfunc.C: ignore space-only minibuffer dispatches.
11310           Show the command name when it doesn't exist
11311
11312         * minibuffer.C: don't add empty lines to the history
11313
11314         * minibuffer.C: add a space on dropdown completion
11315
11316 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11317
11318         * text.C: fix line above/below drawing in insets
11319
11320 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11321
11322         * lyxlength.C (LyXLength): Initialize private variables.
11323
11324 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11325
11326         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11327         when inserting error insets.
11328
11329 2001-12-13  Juergen Vigna  <jug@sad.it>
11330
11331         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11332         actually sometimes the before-paragraph.
11333         (setUndo): don't clear the redostack if we're not actually undoing!
11334
11335 2001-12-06  Juergen Vigna  <jug@sad.it>
11336
11337         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11338         and fixed redoing of main paragraph, so we can use it now ;)
11339
11340         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11341
11342 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11343
11344         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11345         Juergen's request
11346
11347 2001-12-13  André Pönitz <poenitz@gmx.net>
11348
11349         * undostack.[Ch]:
11350         * undo_func.C: minor cleanup
11351
11352 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11353
11354         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11355         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11356         font in urw-fonts package which is marked as -urw-fontspecific and
11357         does not work (incidentally, changing the encoding in the
11358         fonts.dir of this package to -adobe-fontspecific fixes the
11359         problem).
11360
11361         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11362         is a crash when undoing first paragraph (Juergen, please take a
11363         look). THis does not mean the undo fix is wrong, just that it
11364         uncovers problems.
11365
11366         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11367         the (Paragraph*) version when needed instead of duplicating the
11368         code.
11369
11370         * text.C (workWidth): use Inset::parOwner to find out where the
11371         inset has been inserted. This is a huge performance gain for large
11372         documents with lots of insets. If Inset::parOwner is not set, fall
11373         back on the brute force method
11374
11375         * paragraph_pimpl.C (insertInset):
11376         * paragraph.C (Paragraph):
11377         (cutIntoMinibuffer): set parOwner of insets when
11378         inserting/removing them
11379
11380         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11381
11382 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11383
11384         * commandtags.h:
11385         * LyXAction.C:
11386         * lyx_main.C:
11387         * lyxfunc.C:
11388         * mathed/formulabase.C:
11389         * mathed/math_cursor.[Ch]:
11390         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11391
11392
11393 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11394
11395         * lyxlength.[Ch] (operator!=): new function
11396
11397 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11398
11399         * text.C (workWidth): use Inset::parOwner to find out where the
11400         inset has been inserted. This is a huge performance gain for large
11401         documents with lots of insets. If Inset::parOwner is not set, fall
11402         back on the brute force method
11403
11404         * paragraph_pimpl.C (insertInset):
11405         * paragraph.C (Paragraph):
11406         (cutIntoMinibuffer): set parOwner of insets when
11407         inserting/removing them
11408
11409         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11410
11411 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11412
11413         * tabular-old.C (getTokenValue):
11414         * tabular.C (getTokenValue):
11415         (write_attribute): new versions for LyXLength
11416         (everywhere): adjust the use of widths
11417
11418         * tabular.h: change the type of widths from string to LyXLength
11419
11420 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11421
11422         * paragraph.C: fixed missing line number count when exporting
11423         Environments to LaTeX file
11424
11425         * buffer.C: added informational message for checking line numbers.
11426
11427 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11428
11429         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11430         paragraph, do the 'double space' part, but not the 'empty
11431         paragraph' one.
11432
11433         * text.C (workWidth): small optimization
11434         (getLengthMarkerHeight): use minimal size for negative lengths.
11435
11436 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11437
11438         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11439
11440         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11441
11442 2001-12-11  André Pönitz <poenitz@gmx.net>
11443
11444         * FontLoader.C:
11445         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11446
11447 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11448
11449         * text2.C: keep selection on a setFont()
11450
11451 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11452
11453         * lyx_cb.C: another bv->text misuse, from insert label
11454
11455 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11456
11457         * kbsequence.h:
11458         * kbsequence.C: re-instate nmodifier mask
11459
11460 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11461
11462         * lyx_main.h: make lyxGUI private.
11463
11464 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11465
11466         * lyxfind.C: place the cursor correctly on failed search
11467
11468 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11469
11470         * text.C (getLengthMarkerHeight): for small heights, the arrows
11471         are not always on top/bottom of the text
11472         (drawLengthMarker): smaller arrows; take the left margin in
11473         account; draw also vfills.
11474         (paintFirstRow):
11475         (paintLastRow): remove special code for vfill and standard spaces,
11476         since everything is handled in drawLengthMarker now.
11477
11478 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11479
11480         * buffer.C (insertErtContents): try to handle font and language
11481         interaction a bit better.g
11482
11483         * ColorHandler.C (updateColor): change the hash to cover the whole
11484         LColor enum, ws cleanup
11485         (getGCLinepars): ditto
11486         (getGCLinepars): only lookup in the linecache once.
11487
11488 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11489
11490         * iterators.C (operator++): Make the iterator more robust
11491
11492         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11493         (John's patch)
11494         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11495
11496 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11497
11498         * lyxtext.h:
11499         * text.C: better added space drawing
11500
11501 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11502
11503         * LyXView.C:
11504         * BufferView2.C: fix layout combo update on inset unlock
11505
11506 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11507
11508         * Makefile.am: don't compile unused files
11509
11510 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * lyxfunc.C:
11513         * commandtags.h:
11514         * LyXAction.C: remove old LFUN_LAYOUTNO
11515
11516 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * paragraph_pimpl.h:
11519         * paragraph_pimpl.C: isTextAt() doesn't need font param
11520
11521 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11522
11523         * lyxlex.h:
11524         * lyxlex.C: little cleanup
11525
11526 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * BufferView_pimpl.C: fix insertAscii for insets
11529
11530 2001-12-05  Juergen Vigna  <jug@sad.it>
11531
11532         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11533         set the right font on the "multi" paragraph paste!
11534
11535 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11536
11537         * trans_decl.h:
11538         * trans_mgr.[Ch]:
11539         * trans.[Ch]:
11540         * lyxgluelength.C:
11541         * lyxlength.C: remove out-commented code.
11542
11543         * BufferView_pimpl:
11544         * CutAndPaste.C:
11545         * DepTable.C:
11546         * buffer.C:
11547         * chset.C:
11548         * lastfiles.C:
11549         * lyxlex.C:
11550         * lyxlex_pimpl.C:
11551         * lyxserver.C:
11552         * screen.C:
11553         * tabular-old.C:
11554         * tabular.C:
11555         * text.C:
11556         * trans_mgr.C:
11557         * vc-backend.C: change "while(" to "while ("
11558
11559         * lyxlength.[Ch]: add zero function to check if length is zero or
11560         not
11561         * lyxgluelength.C: use it
11562
11563 2001-12-05  Allan Rae  <rae@lyx.org>
11564
11565         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11566         Works for 2.95.3, from what I understand of Garst's reports this should
11567         work for other g++ versions.  We're screwed if the abs(int) definition
11568         changed between bugfix releases of gcc.
11569
11570 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * text.C: fix chapter label offset !
11573
11574 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * lyxtext.h:
11577         * text.C: fix hfill at end of line, clean up
11578
11579 2001-12-04  Juergen Vigna  <jug@sad.it>
11580
11581         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11582         that we force an update of the inset and it's owners if neccessary.
11583
11584 2001-12-03  Juergen Vigna  <jug@sad.it>
11585
11586         * text.C (rowLast): simplified code
11587
11588 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * lyxfunc.C: fix show options on timeout
11591
11592 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11593
11594         * screen.C (topCursorVisible): scroll half a page when the cursor
11595         reached top of bottom of screen
11596
11597 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * minibuffer.C: deactivate on loss of focus
11600
11601 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11602
11603         * vspace.[Ch] (operator!=): add operator.
11604
11605 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11606
11607         * BufferView_pimpl.C: refuse to open an inset when
11608         there's a selection.
11609
11610 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * BufferView_pimpl.C: allow to click on RHS of full row insets
11613
11614 2001-11-30  Juergen Vigna  <jug@sad.it>
11615
11616         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11617         insets for undo reasons.
11618
11619 2001-11-28  André Pönitz <poenitz@gmx.net>
11620
11621         * vspace.[Ch]: cosmetical changes
11622
11623 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11624
11625         * LyXAction.h:
11626         * LyXAction.C:
11627         * lyxfunc.h:
11628         * lyxfunc.C:
11629         * kbmap.h:
11630         * kbmap.C:
11631         * lyxrc.C:
11632         * kbsequence.h:
11633         * kbsequence.C: part re-write of old kb code
11634
11635         * Painter.C:
11636         * WorkArea.C: remove Lgb_bug_find_hack
11637
11638 2001-11-30  José Matos <jamatos@fep.up.pt>
11639
11640         * buffer.C (makeDocBookFile): add a comment to point a hack.
11641         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11642         Fixed a double write of labels.
11643
11644 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11645
11646         * LaTeX.C:
11647         * LaTeX.h Fixed bug in LaTeX class where it would not
11648         re-run latex if no depfiles were changed, but the .dvi was removed.
11649
11650 2001-11-28  André Pönitz <poenitz@gmx.net>
11651
11652         * all the files from the change on 2001/11/26:
11653         use lyx::layout_type instead of LyXTextClass::size_type
11654         use lyx::textclass_type instead of LyXTextClassList::size_type
11655
11656 2001-11-29  Juergen Vigna  <jug@sad.it>
11657
11658         * text.C: added support for paragraph::isFreeSpacing()
11659
11660         * buffer.C: same as above
11661
11662         * paragraph.h: inserted isFreeSpacing() function to enable
11663         FreeSpacing inside InsetERT.
11664
11665         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11666         of the paragraph's in the cut/copy buffer to 0!
11667
11668         * text2.C (removeRow): remove the assert as it can!
11669
11670         * lyxtext.h: added helper function firstRow returning firstrow and
11671         made firstrow private again.
11672
11673         * BufferView2.C (lockInset): don't relock if we're already locked!
11674
11675         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11676         the only paragraph.
11677         (removeRow): added Assert::(firstrow)
11678
11679         * debug.C: forgot to add INSETTEXT here.
11680
11681 2001-11-28  Juergen Vigna  <jug@sad.it>
11682
11683         * sp_spell.C (initialize): changed error text to more general
11684         spellchecker command use (not only ispell!)
11685
11686         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11687
11688         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11689
11690 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11691
11692         * vspace.C: initialise lyxgluelength on failure
11693
11694 2001-11-28  Allan Rae  <rae@lyx.org>
11695
11696         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11697         declaration & definition that looks like a function declaration.
11698
11699 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11700
11701         * BufferView2.C (copy):
11702         (copyEnvironment): do not clear the selection when doing a copy.
11703
11704         * text.C (paintFirstRow): compilation fix
11705
11706 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11707
11708         * tabular.C (Latex): correct line count when writing latex.
11709
11710 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * paragraph_pimpl.h:
11713         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11714           bug a bit
11715
11716 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11717
11718         * text.C:
11719         * LColor.h:
11720         * LColor.C: change vfillline->added_space
11721
11722         * text.C: add markers and text for added space
11723
11724         * vspace.C: fix comment
11725
11726 2001-11-28  André Pönitz <poenitz@gmx.net>
11727
11728         * paragraph.C: whitespace changes
11729         * all the other files from the change on 2001/11/26:
11730         change *::pos_type into lyx::pos_type
11731
11732 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11733
11734         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11735         language of the document when inserting error insets.
11736
11737 2001-11-26  André Pönitz <poenitz@gmx.net>
11738
11739         * BufferView_pimpl.[Ch]:
11740         *       CutAndPaste.C:
11741         * buffer.[Ch]:
11742         * lyxcursor.[Ch]:
11743         * lyxfind.C:
11744         * lyxfunc.C:
11745         * lyxrow.[Ch]:
11746         * paragraph.[Ch]:
11747         * paragraph_pimpl.[Ch]:
11748         * sp_spell.C:
11749         * text.C:
11750         * text2.C: reduce header dependencies, introduce type for positions
11751
11752 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11753
11754         * <various>: change to use Alert.h
11755
11756 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11757
11758         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11759         when encountering an unknown token.
11760         (readLyXformat2): Show an error message if there were unknown tokens.
11761
11762 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11763
11764         * BufferView2.C:
11765         * BufferView_pimpl.C:
11766         * buffer.C:
11767         * paragraph.h:
11768         * text.C:
11769         * text2.C: use par->isInset()
11770
11771 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * paragraph_pimpl.h:
11774         * paragraph_pimpl.C: cleanup
11775
11776 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11777
11778         * text2.C (removeRow):
11779         * text.C (setHeightOfRow): remove useless (and costly) call to
11780         getRow.
11781
11782 2001-11-20  Allan Rae  <rae@lyx.org>
11783
11784         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11785         Now need Inset*::checkInsertChar() to return true for appropriate
11786         cases so that the characters in the minibuffer will actually be
11787         inserted.
11788
11789 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11790
11791         * text.C: change the order of the includes.
11792         (workWidth): initialize it at once.
11793         (workWidth): make maxw unsigned
11794         (setHeightOfRow): remove unused variable (inset)
11795         (selectSelectedWord): remove unused variable (inset)
11796         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11797
11798 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11799
11800         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11801         server is not running.
11802         (openConnection):
11803         (closeConnection): add debug info when server is disabled.
11804
11805         * ColorHandler.C (getGCForeground): send debug message to GUI
11806         channel.
11807
11808         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11809
11810         * kbmap.C (bind): modify because return conventions of
11811         kb_sequence::parse have changed.
11812
11813         * kbsequence.C (parse): only ignore spaces and not any stupid
11814         control character. This avoids tests like s[i] <= ' ', which are
11815         guaranteed to fail with 8bit characters and signed chars.
11816         Change return code to string::npos when there have been no error
11817         (0 was a bad idea when error is at first character)
11818
11819 2001-11-14  José Matos  <jamatos@fep.up.pt>
11820
11821         * buffer.h:
11822         * buffer.C (simpleDocBookOnePar): removed unused argument.
11823
11824 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11825
11826         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11827         insets which are part of a word. Paragraph::isLetter takes care of
11828         that now. Use Paragraph::isInset to identify insets.
11829         (selectSelectedWord): do not test for hyphenation break.
11830
11831         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11832         that protected spaces are considered as spaces.
11833
11834         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11835         Inset::isLetter.
11836
11837 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11838
11839         * lyxserver.h:
11840         * lyxserver.C: fix it. and small cleanup.
11841
11842 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11843
11844         * BufferView_pimpl.C: use inline helpers
11845
11846         * LaTeXFeatures.h:
11847         * LaTeXFeatures.C: fix typos
11848
11849         * Spacing.h:
11850         * Spacing.C: move spacing_string into class
11851
11852         * ToolbarDefaults.C: move stuff into namespace anon
11853
11854         * layout.h: update enum
11855
11856         * lyxfunc.C: use better debug
11857
11858         * minibuffer.h: fix typo
11859
11860         * debug.h:
11861         * debug.C:
11862         * WorkArea.C: add and use Debug::WORKAREA
11863
11864         * lyxtext.h:
11865         * text.C:
11866         * text2.C: code re-organisation, inline helpers
11867
11868 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11869
11870         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11871         std::vector.empty().
11872
11873 2001-11-09  Allan Rae  <rae@lyx.org>
11874
11875         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11876         '\n's after tables.  Tabular and ERT inset work now makes this no
11877         longer necessary.
11878
11879 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * minibuffer.h:
11882         * minibuffer.C: fix crash, improve drop-down completion
11883
11884 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11885
11886         * lyxserver.h:
11887         * lyxserver.C: invalidate fd's when doing endPipe()
11888
11889 2001-11-08  José Matos  <jamatos@fep.up.pt>
11890
11891         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11892         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11893
11894         * paragraph.h:
11895         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11896
11897 2001-11-07  José Matos  <jamatos@fep.up.pt>
11898
11899         * buffer.h:
11900         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11901         const qualifier.
11902
11903         * buffer.C (sgmlOpenTag):
11904         * buffer.C (sgmlCloseTag): removed debug info.
11905
11906         * buffer.h (sgmlOpenTag):
11907         * buffer.h (sgmlCloseTag): made public.
11908
11909 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11910
11911         * buffer.C (saveParamsAsDefaults):
11912         * lyx_cb.C (MenuLayoutSave): remove
11913
11914         * LyXAction.C (init):
11915         * commandtags.h:
11916         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11917
11918 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11919
11920         * buffer.C (setPaperStuff): removed from here...
11921
11922         * bufferparams.C (setPaperStuff): ... and moved there.
11923
11924 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11925
11926         * minibuffer.h:
11927         * minibuffer.C:
11928         * XFormsView.C: add support for drop-down completion
11929
11930 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11931
11932         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11933         commands.
11934
11935 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11936
11937         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11938         disabled.
11939
11940 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * lyx_main.C: change ref to known bugs
11943
11944 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11945
11946         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11947         to work around older babel problems.
11948
11949 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11950
11951         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11952
11953 2001-10-24  Juergen Vigna  <jug@sad.it>
11954
11955         * tabular-old.C (ReadOld): below variable changes reflected.
11956
11957         * tabular.[Ch]: added ltType struct for longtable header/footer
11958         defines and changed all instances where they are used. Added
11959         future support for double top/bottom rows.
11960
11961 2001-10-24  José Matos  <jamatos@fep.up.pt>
11962
11963         * buffer.h (docbookHandleCaption):
11964         * buffer.C (docbookHandleCaption): removed unused function.
11965         (makeDocBookFile): moved docbook supported version to v4.1.
11966
11967 2001-10-24  José Matos  <jamatos@fep.up.pt>
11968
11969         * tabular.h:
11970         * tabular.C (docbookRow): new function to export docbook code of a row.
11971         (DocBook): now honors the longtable flags.
11972
11973 2001-10-23  José Matos  <jamatos@fep.up.pt>
11974
11975         * LaTeXFeatures.h:
11976         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11977         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11978
11979         * buffer.C (makeLinuxDocFile):
11980         (makeDocBookFile): reworked the preamble, more clean, and with
11981         support for lyx defined entities. Changed the document declaration
11982         to be more XML friendly.
11983
11984         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11985         if we need to output XML that should be done with a filter.
11986
11987 2001-10-22  Juergen Vigna  <jug@sad.it>
11988
11989         * sp_pspell.h (class PSpell): add alive function needed in the
11990         controller to see if the spellchecker could be started.
11991
11992 2001-10-22  Juergen Vigna  <jug@sad.it>
11993
11994         * buffer.C (insertStringAsLines): modify the font for inserting
11995         chars in certain conditions by calling checkInsertChar(font).
11996
11997 2001-10-19  Juergen Vigna  <jug@sad.it>
11998
11999         * text.C (workWidth): use getRow instead of wrong algorithm.
12000         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12001
12002 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12003
12004         * lyxserver.h:
12005         * lyxserver.C:
12006         * lyx_main.h:
12007         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12008
12009 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12010
12011         * text.C (workWidth): do not search for the exact row when
12012         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12013         optimization for big documents.
12014
12015 2001-10-18  Juergen Vigna  <jug@sad.it>
12016
12017         * text.C (workWidth): new function with added Inset * parameter.
12018
12019 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12020
12021         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12022
12023         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12024         change return type of getColumnNearX.
12025
12026
12027         * text.C (changeRegionCase): use uppercase/lowercase instead of
12028         toupper/tolower.
12029         (leftMargin):
12030         (rightMargin): simplify code by factoring out the uses of
12031         textclasslist.
12032         (labelFill):
12033         (numberOfHfills):
12034         (setHeightOfRow):
12035         (appendParagraph): use Paragraph::size_type
12036
12037 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12038
12039         * vspace.C (asLatexString): add a missing break
12040
12041 2001-10-15  Herbert Voss  <voss@perce.de>
12042
12043         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12044
12045 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12046
12047         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12048         is not available.
12049
12050 2001-10-10  André Pönitz <poenitz@gmx.net>
12051
12052         * lyxfunc.C: removed greek_kb_flag.
12053
12054 2001-10-10  Herbert Voss  <voss@perce.de>
12055
12056         * lyx_main.C: delete global string help_lyxdir.
12057
12058 2001-10-09  Herbert Voss  <voss@perce.de>
12059
12060         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12061
12062         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12063
12064         * lyx_main.C: added global string help_lyxdir.
12065
12066         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12067
12068 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12069
12070         * lyxrc.C (set_font_norm_type): support iso8859-4
12071
12072 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12073
12074         * LaTeX.C (deplog): add another regex for MikTeX
12075
12076 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12077
12078         * lyxrc.C (set_font_norm_type): support iso8859-3
12079
12080 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12081
12082         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12083
12084         * LaTeXFeatures.C: remove special case of french and index
12085
12086         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12087         before \begin{document}). This solves several incompatibilities.
12088
12089 2001-10-03  Garst Reese  <reese@isn.net>
12090
12091         * lyx_cb.C: change CheckTex error msg.
12092
12093 2001-10-03  José Matos  <jamatos@fep.up.pt>
12094
12095         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12096
12097 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12098
12099         * .cvsignore: update
12100
12101         * lyx_main.C (commandLineVersionInfo): use new style version info.
12102
12103         * buffer.C (writeFile):
12104         (makeLaTeXFile):
12105         (makeLinuxDocFile):
12106         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12107
12108         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12109
12110         * version.h: update to use stuff in version.C
12111
12112         * version.C.in: new file. Contains version information determined
12113         at compile time. This is a merging of version.h and
12114         version_info.h.in.
12115
12116 2001-10-03  Juergen Vigna  <jug@sad.it>
12117
12118         * BufferView_pimpl.C (update): don't change "dirty" status in
12119         updateInset call.
12120
12121 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12122
12123         * WorkArea.C (c-tor): re-position version string slightly.
12124
12125 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12126
12127         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12128         revert to previous code.
12129
12130         WorkArea.[Ch]: (show, destroySplash): methods removed.
12131
12132         WorkArea.C: rework code so that it's an amalgam of the codes before and
12133         after the splash screen was moved to WorkArea.
12134
12135 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12136
12137         * lyxrc.C (read):
12138         * vspace.C (inPixels):
12139         (lyx_advance):
12140         * kbmap.C (bind):
12141         * buffer.C (insertStringAsLines):
12142         (asciiParagraph): fix types to be large enough
12143
12144         * lyxlex_pimpl.h: change member status from short to int
12145
12146         * layout.h: fix type of endlabeltype
12147
12148         * kbmap.C (bind):
12149         * kbsequence.C (parse): change return type to string::size_type
12150
12151         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12152         variable
12153
12154         * Bullet.C (bulletSize):
12155         (bulletEntry): do not use short ints as parameters
12156
12157         * BufferView2.C (insertLyXFile): change a char to an int.
12158
12159         * WorkArea.C (WorkArea): remove unneeded floats in computation
12160
12161 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12162
12163         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12164
12165         * paragraph.C (asString): Do not ignore newline/hfill chars when
12166         copying to the clipboard.
12167
12168 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12169
12170         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12171         after a multi-line inset.
12172
12173 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12174
12175         * paragraph.C (validate): Set NeedLyXFootnoteCode
12176
12177 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12178
12179         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12180         and decrease-error to decrease.
12181
12182 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12183
12184         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12185         it more readable (should be equivalent)
12186
12187 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12188
12189         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12190
12191 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12192
12193         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12194         of a cursor (row, etc.) after a character has been deleted
12195         (deleteEmptyParagraphMechanism): call the method above on _all_
12196         cursors held by the LyXText when a double space has been
12197         detected/deleted.
12198
12199 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12200
12201         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12202         pixmap.
12203         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12204
12205         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12206         background. Use greyOut() and the new show() methods to toggle between
12207         the foreground and background. Add code to remove the splash after
12208         its initial showing.
12209
12210         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12211         (create_forms): no longer call Dialogs::showSplash.
12212
12213 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12214
12215         * .cvsignore: add version_info.h
12216
12217 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12218
12219         * version_info.h.in: new file
12220
12221         * Makefile.am: add version_info.h.in
12222
12223         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12224         version_info.h instead of VERSION_INFO
12225
12226 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12227
12228         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12229         The ERT inset now returns string().
12230
12231 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12232
12233         * lyxtext.h, text.C (selectNextWord): renamed as
12234         selectNextWordToSpellcheck.
12235
12236         * text.C (selectNextWordToSpellcheck): Modified to not select
12237         words inside an ERT inset.
12238
12239 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12240
12241         * lyx_cb.C (MenuLayoutSave): change a bit the question
12242
12243         * sp_base.h: include <sys/types.h>
12244
12245 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12246
12247         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12248
12249 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12250
12251         * several files: fix typos in user-visible strings
12252
12253 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12254
12255         * text2.C (pasteSelection): do not set the selection, since it
12256         will be cleared later. Actually, the intent was to fix the way the
12257         selection was set, but I figured rmoving the code was just as good.
12258
12259 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12260
12261         * FontLoader.C (available): Check if font is available without
12262         loading the font.
12263
12264 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12265
12266         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12267
12268 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12269
12270         * lyxrc.[Ch]: added display_graphics variable and associated code.
12271
12272 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12273
12274         * bufferparams.C (hasClassDefaults): new method. Returns true if
12275         the buffer parameters correspond to known class defaults
12276
12277 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12278
12279         * XFormsView.C (show): set minimum size to the main window.
12280
12281 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12282
12283         * text2.C (copySelection):
12284         (cutSelection):
12285         * lyxfind.C (LyXReplace):
12286         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12287         LyXText::selectionAsString.
12288
12289         * paragraph.C (asString): add "label" argument to the second form
12290
12291         * text2.C (selectionAsString): add "label" argument and pass it to
12292         Paragraph::asString.
12293
12294 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12295
12296         * lyx_main.C (commandLineHelp): remove version information
12297
12298 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12299
12300         * lyx_main.C: add -version commandline option
12301
12302 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12303
12304         * paragraph.h: make the optional constructor arg required instead.
12305         some modifications to other files because of this.
12306
12307         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12308
12309         * lyxserver.C (C_LyXComm_callback): make it static
12310
12311         * lyx_main.C (error_handler): make it static
12312
12313         * lyx_gui.C (LyX_XErrHandler): make it static
12314
12315         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12316
12317         * WorkArea.C: make the extern "C" methods static.
12318
12319         * Makefile.am (lyx_LDADD): simplify
12320
12321 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12322
12323         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12324         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12325
12326         * LyXAction.C (init):
12327         * lyxfunc.C (dispatch): associated code removal.
12328
12329 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12330
12331         * lyxfont.h (isSymbolFont): shut off warning
12332
12333         * text.C (setHeightOfRow):
12334         (getVisibleRow): fix crash with empty paragraphs which have a
12335         bottom line
12336
12337 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12338
12339         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12340         code.
12341
12342 2001-09-04  José Matos  <jamatos@fep.up.pt>
12343         * buffer.C
12344         * buffer.h
12345         * tabular.C (docbook): rename docBook method to docbook.
12346
12347 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12348
12349         * Makefile.am: add dependencies to main.o.
12350
12351 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12352
12353         * FontLoader.C (available): Return false if !lyxrc.use_gui
12354
12355 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12356
12357         * FontInfo.C (query):
12358         * converter.C (view):
12359         * importer.C (Import):
12360         * exporter.C (Export): Can not -> cannot.
12361
12362 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12363
12364         * BufferView_pimpl.C: allow to create index inset even if
12365           string is empty
12366
12367 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12368
12369         * buffer.C (getLists): replace boost::tie code with an explicit pair
12370         as boost::tie can break some compilers.
12371
12372         * iterators.h: Added a std:: declaration to the return type of
12373         ParIterator::size.
12374
12375 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12376
12377         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12378           case.
12379
12380 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12381
12382         * iterators.[Ch]: New files. Provide paragraph iterators.
12383
12384         * buffer.C (changeLanguage): Use paragraph iterators.
12385         (isMultiLingual): ditto
12386
12387         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12388
12389 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12390
12391         * FontLoader.C: Support for cmr font.
12392
12393 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12394
12395         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12396         (available): New method.
12397
12398         * FontInfo.C (getFontname): Use scalable fonts even when
12399         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12400         found.
12401
12402 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12403
12404         * converter.C (Formats::view): reverted! Incorrect fix.
12405
12406 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12407
12408         * converter.C (Formats::view): only output the -paper option
12409         if the dvi viewer is xdvi, thereby fixing bug #233429.
12410
12411 2001-08-23  Herbert Voss  <voss@perce>
12412
12413         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12414
12415 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12416
12417         * Spacing.h (Spacing): Set space to Default on in the default
12418         constructor.
12419
12420 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * vc-backend.h (RCS::versionString): add RCS to version
12423         (CVS::versionString): add CVS to version
12424
12425         * vc-backend.C (scanMaster): do not add CVS to version.
12426         (scanMaster): do not add RCS to version
12427
12428         * lyxvc.C (versionString): new method
12429
12430         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12431
12432 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12433
12434         * Spacing.C (set): initialize fval
12435
12436 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12437
12438         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12439         " or \.
12440
12441 2001-08-16  Juergen Vigna  <jug@sad.it>
12442
12443         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12444
12445 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * BufferView_pimpl.C:
12448         * figureForm.C:
12449         * lyxtext.h:
12450         * text2.C: setParagraph takes linespacing now
12451
12452 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * LyxAction.C: add internal LFUN_CITATION_INSERT
12455
12456         * LyXView.C: actually apply fix
12457
12458         * bufferlist.C: fix open non-existent file
12459
12460         * lyxfind.C: fix indentation
12461
12462         * lyxfunc.C: remove unneeded assert, fix typo
12463
12464 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12465
12466         * MenuBackend.C: use "Floatname List"
12467
12468 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12469
12470         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12471         when converting LaTeX layout to insetERT.
12472         Generate a non-collapsed float when reading old float
12473
12474 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12475
12476         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12477         ERT insets.
12478
12479 2001-08-13  Juergen Vigna  <jug@sad.it>
12480
12481         * text.C (fill): return 0 instead of 20 as this seems to be the more
12482         correct value.
12483
12484 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12485
12486         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12487         lyxrc.font_norm.
12488
12489 2001-08-13  Juergen Vigna  <jug@sad.it>
12490
12491         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12492         casesensitive off.
12493         (SearchBackward): comment out the unlocking of the inset_owner this
12494         should not be needed!
12495
12496 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12497
12498         * Many files: Remove inherit_language, and add latex_language
12499
12500         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12501         collapsible insets.
12502
12503 2001-08-10  Juergen Vigna  <jug@sad.it>
12504
12505         * text.C (prepareToPrint): fixed hfill-width in draw!
12506
12507         * BufferView2.C (selectLastWord): save the selection cursor as this
12508         now is cleared in the function LyXText::clearSelection!
12509
12510 2001-08-08  Juergen Vigna  <jug@sad.it>
12511
12512         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12513         BACKSPACE type functions.
12514
12515         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12516         is only cutted from the document but not put in the cut-buffer, where
12517         still the old stuff should be.
12518
12519         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12520
12521         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12522
12523         * tabular.C (SetWidthOfCell): fixed special case where the width
12524         was not updated!
12525         (LeftLine): handle '|' in align_special.
12526         (RightLine): ditto
12527         (LeftAlreadyDrawed): ditto
12528         (SetWidthOfCell): ditto
12529
12530 2001-08-07  Juergen Vigna  <jug@sad.it>
12531
12532         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12533
12534 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12535
12536         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12537         * lyxlex.[hC]: ditto
12538
12539 2001-08-06  Juergen Vigna  <jug@sad.it>
12540
12541         * text.C (getVisibleRow): fix up row clearing a bit.
12542
12543 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12544
12545         * minibuffer.C: make sure the X server sees the changes in the input.
12546
12547 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12548
12549         * paragraph.C (getFont): split into...
12550         (getLabelFont): this
12551         (getLayoutFont): and this
12552         * paragraph_pimpl.C (realizeFont): calling this
12553
12554         * text2.C (getFont): split into...
12555         (getLayoutFont): this
12556         (getLabelFont): and this
12557         (realizeFont): all three calling this
12558
12559         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12560         files where used.
12561
12562 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12563
12564         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12565
12566 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12567
12568         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12569         layouts from the Quote inset insertion.
12570
12571 2001-08-03  Juergen Vigna  <jug@sad.it>
12572
12573         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12574
12575         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12576         only if status not is already CHANGED_IN_DRAW (second level).
12577
12578         * text.C (draw): don't set the need_break_row when inside an
12579         InsetText LyXText.
12580
12581 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12582
12583         * buffer.C (parseSingleLyXformat2Token): handle more latex
12584         conversion cases.
12585
12586         * bufferview_funcs.[hC]: change function names to
12587         begin with small char, adjust other files.
12588
12589 2001-08-02  André Pönitz <poenitz@gmx.net>
12590
12591         * lyxfunc.C:
12592         BufferView_pimpl.C: remove broken special code for math-greek
12593
12594 2001-08-02  Juergen Vigna  <jug@sad.it>
12595
12596         * BufferView_pimpl.C (update): redone this function so that we
12597         update the text again if there was a CHANGE_IN_DRAW.
12598
12599         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12600         (drawFromTo): added a new internal bool which is used by draw() and
12601         redraw() function.
12602         (general): some cursor drawing problems fixed.
12603
12604 2001-08-01  Juergen Vigna  <jug@sad.it>
12605
12606         * lyxfind.C (LyXFind): fixed
12607         (SearchForward): ditto
12608         (SearchBackward): ditto
12609
12610         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12611         spurius drawing of the cursor in the main area.
12612
12613         * text2.C (status): small fix which could lead to a segfault!
12614         (clearSelection): remove unneeded BufferView param.
12615
12616 2001-08-01  André Pönitz <poenitz@gmx.net>
12617
12618         * lyxfunc.C: small change due to changed mathed interface
12619
12620 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12621
12622         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12623
12624 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12625
12626         * lyxfunc.c: fail gracefully if file doesn't exist
12627
12628         * LyXSendto.C:
12629         * buffer.C:
12630         * lyxfunc.C:
12631         * BufferView_pimpl.C: IsDirWriteable() proto changed
12632
12633         * LyXView.C: fix updateWindowTitle() to store the last title
12634
12635 2001-07-31  Juergen Vigna  <jug@sad.it>
12636
12637         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12638         the font (wrong since using of Paragraph::highestFontInRange).
12639
12640         * paragraph.C (highestFontInRange): added a default_size parameter.
12641
12642         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12643         (setHeightOfRow): reformat
12644
12645 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12646
12647         * converter.[hC] + affected files: move to (inital-char)lowercase
12648         function names.
12649
12650         * ParagraphParameters.C (ParagraphParameters): remove commented code
12651
12652         * PainterBase.[Ch]: remove commented code
12653
12654         * LaTeXFeatures.h: add "bool floats" for float.sty
12655
12656         * LaTeXFeatures.C (LaTeXFeatures): init floats
12657         (require): handle float
12658         (getPackages): do it with floats
12659
12660 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12661
12662         * BufferView_pimpl.C (Dispatch): improve handling of
12663         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12664
12665         * commandtags.h: #include lyxfont.h here temporarily to avoid
12666         keybinding bug.
12667
12668         * bufferlist.h: include LString.h here.
12669
12670 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12671
12672         * text2.C (getStringToIndex): new method.
12673
12674 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12675
12676         * *: Reduced header file dependencies all over.
12677
12678 2001-07-30  Baruch Even  <baruch@lyx.org>
12679
12680         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12681
12682 2001-07-29  Baruch Even  <baruch@lyx.org>
12683
12684         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12685
12686 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12687
12688         * ParameterStruct.h (endif): add a default constructor to make
12689         sure that all variables is initialized.
12690
12691         * ParagraphParameters.C (ParagraphParameters): adjust
12692
12693 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12694
12695         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12696         index; also, check that there is something to index, and that it
12697         does not span over several paragraphs.
12698         (doubleClick): use WHOLE_WORD_STRICT for double click.
12699
12700         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12701
12702         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12703         scheme.
12704
12705 2001-07-26  Baruch Even  <baruch@lyx.org>
12706
12707         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12708         an InsetFig figure, backwards compatible reading of old figure code.
12709
12710 2001-07-27  Juergen Vigna  <jug@sad.it>
12711
12712         * text2.C: font.realize function adaption.
12713
12714         * text.C (draw): add a warnings lyxerr text if needed.
12715
12716         * layout.C: font.realize function adaption.
12717
12718         * language.C: add inherit_language and implement it's handlings
12719
12720         * bufferview_funcs.C (StyleReset): remove language parameter from
12721         font creation (should be language_inherit now).
12722
12723         * bufferparams.C (writeFile): handle ignore_language.
12724
12725         * paragraph.C (getFontSettings): the language has to be resolved
12726         otherwise we have problems in LyXFont!
12727
12728         * lyxfont.C (lyxWriteChanges): added document_language parameter
12729         (update): removed unneeded language parameter
12730
12731         * paragraph.C (validate): fixed wrong output of color-package when
12732         using interface colors for certain fonts in certain environments,
12733         which should not seen as that on the final output.
12734
12735 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * BufferView_pimpl.C:
12738         * Thesaurus.h:
12739         * Thesaurus.C:
12740         * Makefile.am:
12741         * commandtags.h:
12742         * LyXAction.C: add thesaurus support
12743
12744         * lyxfind.h:
12745         * lyxfind.C: add "once" parameter, for thesaurus, to not
12746           move to the next match
12747
12748 2001-07-26  Juergen Vigna  <jug@sad.it>
12749
12750         * lyxfont.C (realize): honor ignore_language too!
12751         (resolved): ditto.
12752
12753         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12754
12755         * text.C (draw): one place more for ignore_language to not draw
12756         itself!
12757
12758 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12759
12760         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12761
12762 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12765         the minipage conversion problem.
12766
12767 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12768
12769         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12770         insert an inset.
12771
12772 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12773
12774         * BufferView.h: don't forward declare WorkArea
12775
12776         * BufferView.C: don't include WorkArea.h
12777
12778 2001-07-25  André Pönitz <poenitz@gmx.net>
12779
12780         * commandtags.h:
12781         * LyXAction.C:
12782         * lyxfunc.C:  new LFUN 'math-space'
12783
12784         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12785
12786 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * text2.C (toggleInset): call open/close
12789
12790 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12791
12792         * lyxfunc.C (dispatch): add debug for the disabled case
12793
12794         * font.C (buttonText): make similar to rectText
12795
12796         * buffer.C (readInset): comment out parsing of insetlist and
12797         insttheorem
12798
12799         * PainterBase.C (rectText): small correction
12800
12801         * BufferView_pimpl.C: comment out insettheorem and insetlist
12802         * LyXAction.C: ditto
12803         * commandtags.h: ditto
12804
12805 2001-07-24  Juergen Vigna  <jug@sad.it>
12806
12807         * text.C (draw): honor the ignore_language.
12808
12809         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12810
12811 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12812
12813         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12814         char inset.
12815
12816 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12817
12818         * lyxtext.h: remove unused (and unimplemented) methods
12819
12820 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12821
12822         * text.C (getVisibleRow): honor background color
12823
12824         * PainterBase.h:
12825         * Painter.h: remove default color argument for fillRectangle
12826
12827         * text.C (backgroundColor): new method
12828
12829 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12830
12831         * text.C (getVisibleRow): adjust
12832
12833         * font.[Ch] (rectText): new method, metrics
12834         (buttonText): new method, metrics
12835
12836         * PainterBase.[hC]: make rectText and buttonText always draw and take
12837         fewer paramteres.
12838
12839 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12840
12841         * ToolbarDefaults.C (read):
12842         * MenuBackend.C (read): allow escaping in all strings
12843
12844         * BufferView_pimpl.C (insertAndEditInset): new method.
12845         (Dispatch): use insertAndEditInset whenever appropriate.
12846
12847         * BufferView_pimpl.C (insertNote): removed
12848
12849         * BufferView_pimpl.C (smartQuote): new method, moved from
12850         BufferView; if an insetquote cannot be inserted, insert a '"'
12851         character instead.
12852
12853         * BufferView2.C: remove insertCorrectQuote();
12854
12855         * lyxfunc.C (getStatus): Add support for all remaingin
12856         inset-insert lfuns.
12857
12858         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12859
12860         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12861         command (necessary to pass " as parameter of self-insert.
12862
12863         * text.C (selectWordWhenUnderCursor):
12864         (selectWord): add word_location parameter
12865         (selectWordWhenUnderCursor): same + remove special code for word
12866         boundary.
12867         (selectNextWord): use kind() to guess type of insetspecialchar,
12868         not latex().
12869
12870         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12871         (insertErtContents): create ert insets as collapsed.
12872         (readInset): better compatibility code for Info inset.
12873
12874 2001-07-20  Juergen Vigna  <jug@sad.it>
12875
12876         * lyxfunc.C (dispatch): use always LyXFind now!
12877
12878         * text2.C (init): add a reinit flag so that the LyXText can be
12879         reinited instead of deleted and reallocated (used in InsetText).
12880
12881         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12882
12883         * text.C: ditto
12884
12885         * text2.C: ditto
12886
12887 2001-07-18  Juergen Vigna  <jug@sad.it>
12888
12889         * text.C (selectNextWord): handle insets inside inset by calling
12890         always the bv->text functions so that we can go up the_locking_inset!
12891
12892         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12893         in strange locations when inside an inset!
12894
12895         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12896         handling to include insets.
12897
12898         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12899
12900 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12901
12902         * LyXAction.C (init):
12903         * commandtags.h:
12904         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12905         LIGATURE_BREAK, since the name is so stupid.
12906
12907 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12908
12909         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12910         InsetInfos.
12911
12912         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12913
12914         * sp_form.[Ch]: remove.
12915
12916         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12917
12918         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12919         InsetInfo.
12920
12921         * src/buffer.C (readInset): ditto.
12922
12923 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12924
12925         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12926         menuSeparator(), endOfSentenceDot(), ldots() and
12927         hyphenationPoint(), which are therefore removed.
12928         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12929
12930         * LyXAction.C (init):
12931         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12932
12933         * paragraph.C (getWord): removed.
12934
12935         * BufferView_pimpl.C (Dispatch): use last word or selection for
12936         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12937
12938         * lyx_main.C (queryUserLyXDir): do not ask before creating
12939         user_dir, except if it has been named explicitely.
12940
12941 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12942
12943         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12944         a document of zero size.
12945
12946 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12947
12948         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12949         approriately in the c-tor and in require().
12950         (getPackages): output the appropriate LaTeX for natbib support.
12951
12952         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12953         variables "use_natbib" and "use_numerical_citations" when reading the
12954         LyX file.
12955         (readInset): read the various natbib cite commands.
12956         (validate): white-space change.
12957
12958         * bufferparams.[Ch]: new variables "bool use_natbib" and
12959         "bool use_numerical_citations".
12960         (writeFile): output them in the LyX file.
12961
12962 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12963
12964         * lyxfunc.C (getStatus): add support for all the inset insertion
12965         commands.
12966
12967         * text2.C (insertInset):
12968         * paragraph.C (insetAllowed):
12969         * BufferView_pimpl.C (insertInset): update to take in account the
12970         renaming of insertInsetAllowed
12971
12972         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12973
12974         * text2.C (getInset): new method. returns inset at cursor position.
12975
12976         * BufferView_pimpl.C (Dispatch): changes because of this.
12977
12978         * LyXAction.C (init): rename open-stuff to inset-toggle.
12979
12980         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12981
12982         * text2.C (toggleInset): renamed from openStuff; use
12983         Inset::open().
12984
12985 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12986
12987         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12988
12989         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12990
12991 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12992
12993         * buffer.C (readLyXformat2): Add filename to the error dialog
12994
12995 2001-07-18  Juergen Vigna  <jug@sad.it>
12996
12997         * tabular.C (GetCellNumber): put an assert here instead of the check!
12998
12999 2001-07-17  Juergen Vigna  <jug@sad.it>
13000
13001         * BufferView_pimpl.C (toggleSelection): adapted too.
13002
13003         * text.C (selectNextWord): adapted for use with insets.
13004         (selectSelectedWord): ditto
13005
13006 2001-07-17  Juergen Vigna  <jug@sad.it>
13007
13008         * sp_spell.C (PSpell): fix initialitation order.
13009
13010 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13011
13012         * paragraph.C: spacing
13013
13014 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13015
13016         * sp_spell.C: repair language selection for pspell
13017
13018 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13019
13020         * lyxfunc.h: change more methods to begin with lower char.
13021
13022 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13023
13024         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13025         for unknown layouts.
13026
13027 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13028
13029         * buffer.C (readLyXformat2): Generate an error dialog if there are
13030         unknown layouts.
13031
13032 2001-07-16  Juergen Vigna  <jug@sad.it>
13033
13034         * sp_spell.C: always compile ISpell part.
13035
13036         * lyxrc.C: added use_pspell entry and it's handling.
13037
13038 2001-07-13  Juergen Vigna  <jug@sad.it>
13039
13040         * sp_spell.C: removed double includes.
13041
13042 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13043
13044         Consistent use of Lsstream.h:
13045         * Lsstream.h: added using std::stringstream for consistencies sake.
13046
13047         * buffer.C: removed using std::stringstream
13048
13049         * lyxfont.C (stateText):
13050         * paragraph.C (asString):
13051         * text.C (selectNextWord, selectSelectedWord):
13052         * text2.C (setCounter):
13053         * vspace.C (asString, asLatexString):
13054         std::ostringstream -> ostringstream.
13055
13056 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13057
13058         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13059         * commandtags.h: add LFUN_HELP_ABOUTLYX
13060         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13061
13062 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13063
13064         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13065         cursorToggle()
13066         * lyx_gui_misc.C: remove spellchecker
13067         * lyxfunc.C: showSpellchecker
13068         * sp_base.h: added
13069         * sp_ispell.h: added
13070         * sp_pspell.h: added
13071         * sp_spell.C: added
13072         * sp_form.[Ch]: removed
13073         * spellchecker.[Ch]: removed
13074
13075 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13076
13077         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13078         is set.
13079         (simpleTeXSpecialChars): Simply print the input character without
13080         any special translation if pass_thru is set.
13081
13082         * layout.h: Added bool pass_thru to layout class for being able to
13083         implement pass through of a paragraph for Literate Programming.
13084
13085         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13086         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13087         * layout.C (Read): add "passthru" to list of layout tags and add
13088         code to set the pass_thru boolean when it is read.
13089
13090 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * trans_decl.h: remove allowed from KmodInfo
13093
13094         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13095         remove allowed code
13096         (Load): adjust
13097
13098         * paragraph_pimpl.C (erase): use boost::prior
13099
13100         * Painter.C (text): use data() instead of c_str() when length is
13101         also provided.
13102         * WorkArea.C (putClipboard): ditto
13103         * font.h (width): ditto
13104
13105         * BufferView2.C: use it-> instead of (*it). for iterators
13106         * texrow.C: ditto
13107         * paragraph_pimpl.C: ditto
13108         * paragraph.C: ditto
13109         * minibuffer.C: ditto
13110         * language.C: ditto
13111         * kbmap.C: ditto
13112         * encoding.C: ditto
13113         * counters.C: ditto
13114         * converter.C: ditto
13115         * chset.C: ditto
13116         * Variables.C: ditto
13117         * TextCache.C: ditto
13118         * MenuBackend.C: ditto
13119         * LyXAction.C: ditto
13120         * LColor.C: ditto
13121         * FloatList.C: ditto
13122         * DepTable.C: ditto
13123         * ColorHandler.C (LyXColorHandler): ditto
13124
13125 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13126
13127         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13128
13129         * text2.C (openStuff): reintroduce this method (which had been
13130         nuked in NEW_INSETS frenzy).
13131
13132         * lyxfunc.C (Dispatch): when an action has not been handled, use
13133         its name in the error message, not its number.
13134
13135         * paragraph.C (inInset): change method name to begin with lowercase.
13136
13137         * undo_funcs.C:
13138         * text2.C: updates because of this.
13139
13140 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13141
13142         * ToolbarDefaults.C (add): add spaces in error message
13143
13144 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13145
13146         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13147         (readLyXformat2): rename return_par to first_par, use lyxlex's
13148         pushToken and remove the manual push handling.
13149         (parseSingleLyXformat2Token): add another ert comp. variable:
13150         in_tabular, rename return_par to first_par. handle newlines better
13151
13152 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13153
13154         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13155
13156 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13157
13158         * text2.C (getParFromID): removed
13159
13160         * buffer.C (getParFromID): new method moved form lyxtext.
13161         * BufferView2.C (insertErrors): adjust
13162         (setCursorFromRow): adjust
13163         * BufferView_pimpl.C (restorePosition): adjust
13164         * lyxfunc.C (Dispatch): adjust
13165         * undo_funcs.C (textUndo): adjust
13166         (textRedo): adjust
13167         (textHandleUndo): adjust
13168         (textHandleUndo): adjust
13169
13170 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13171
13172         * buffer.C: up' the LYX_FORMAT
13173
13174         * lyxfont.h: turn NO_LATEX on as default
13175
13176         * buffer.C (insertErtContents): new methods of tex style compability.
13177         (parseSingleLyXformat2Token): use it several places.
13178         * tabular.C (OldFormatRead): and here
13179
13180 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13181
13182         * text2.C: remove some commented code.
13183         reindent file.
13184
13185         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13186         * trans.C: changes because of the above.
13187
13188 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13189
13190         * text2.C (setCounter): Fix counters bug with bibliography layout.
13191
13192 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13193
13194         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13195         own member functions
13196         (simpleTeXSpecialChars): ditto
13197
13198 2001-07-06  Juergen Vigna  <jug@sad.it>
13199
13200         * a lot of files: changed the access to LyXText::status and the
13201         call of undo-functions.
13202
13203         * undo.[Ch]: added a inset_id to the undo informations.
13204
13205         * undo_funcs.[Ch]: added and moved here all undo functions.
13206
13207         * lyxtext.h: give the status enum a weight, made status_ a private
13208         variable and made accessor functions for it, removed the whole bunch
13209         of undo-functions as they are now in their own file, make some
13210         functions publically available. Added function ownerParagraph with
13211         int parameter.
13212
13213         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13214         made InInset() a const function, added getParFromID() function.
13215
13216         * buffer.[Ch]: added const version for inset_iterator functions,
13217         added getInsetFromID() function.
13218
13219         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13220         changed undo functions for new version.
13221
13222 2001-07-05  Juergen Vigna  <jug@sad.it>
13223
13224         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13225         unknow mechanism does not call the proper constructor but only this
13226         one also if I request the other!?
13227
13228 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13229
13230         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13231
13232         * text2.C (LyXText): use initialization lists.
13233
13234         * lyxtext.h (Selection): initialize set_ and mark_
13235         (init): remove method
13236
13237 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13238
13239         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13240
13241 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13242
13243         * screen.[Ch]: change method names to begin with lowercase
13244
13245         * BufferView_pimpl.C (updateScrollbar): simplify further and
13246         hopefully make it a bit faster.
13247
13248 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13249
13250         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13251         calling directly xforms functions.
13252
13253         * Painter.C (Painter):
13254         * lyx_cb.C (MenuWrite):
13255         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13256         fl_display.
13257
13258         * lyx_gui.C: remove bogus guiruntime extern declaration.
13259
13260 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13261
13262         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13263         in NEW_INSETS
13264         (redoDrawingOfParagraph): ditto
13265         (redoParagraphs): ditto
13266         (cutSelection): don't create a object for CutAndPaste use the
13267         static method directly
13268         (pasteSelection): ditto
13269
13270         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13271         LyXview (+ rename)
13272
13273 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13274
13275         * modifications to some other files because of this.
13276
13277         * Makefile.am (lyx_SOURCES): add XFormsView
13278
13279         * XFormsView.[Ch]: new files
13280
13281         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13282         the main window. Move the gui dependent stuff to XFormsView
13283
13284 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13285
13286         * tabular.C (GetCellInset): update cur_cell also in the row/col
13287         version of this function.
13288
13289         * lyxfunc.C: no need to include figure_form.h here.
13290
13291         * FontLoader.h:
13292         * lyxfunc.h:
13293         * lyxscreen.h:
13294         * text2.C:
13295         * lyxvc.C: no need to include forms.h here.
13296
13297 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13298
13299         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13300
13301         * lyxfunc.C (Dispatch):
13302         * Spacing.C (set):
13303         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13304         constructor argument.
13305
13306 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13307
13308         * paragraph.C (Paragraph): dont't clear, and just set layout.
13309         (makeSameLayout): use params's copy contructor.
13310
13311         * ParagraphParameters.[Ch] (makeSame): delete method
13312
13313 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13314
13315         * Variables.[Ch]: fix indentation, rename set to isSet
13316
13317 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * lyxfunc.C (Dispatch): fix typo
13320
13321 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13322
13323         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13324         upper_bound.
13325
13326         * bufferlist.C: include assert.h for emergencyWrite().
13327
13328 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13329
13330         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13331           give up at last (bug #425202) !
13332
13333 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13334
13335         * lyx_gui_misc.C:
13336         * sp_form.h:
13337         * sp_form.C:
13338         * spellchecker.h:
13339         * spellchecker.C: strip spellchecker options and bring up
13340           preferences tab instead
13341
13342 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13343
13344         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13345         the istringstream constructor
13346
13347 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13348
13349         * paragraph.C (getLayout): fix return value
13350
13351         * paragraph.h: do not declare getLayout as inline.
13352
13353         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13354
13355 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * lyxcursor.h (operator<): new func
13358         (operator>): new func
13359         (operator>=): new func
13360         (operator<=): new func
13361
13362         * text.C (changeCase): use selection.start and selection.end
13363         (changeRegionCase): require from to be <= to. Require par to be a
13364         valid paragraph.
13365
13366         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13367
13368 2001-06-27  Juergen Vigna  <jug@sad.it>
13369
13370         * text.C (cursorLeftOneWord): changed to return the cursor and added
13371         overlay with BufferView * parameter which calls this one.
13372         (getWord): added
13373         (selectWord): use new getWord function.
13374         (changeCase): renamed from changeWordCase as and extended to work
13375         also on selections.
13376
13377         * lyxtext.h: added enum word_location
13378
13379         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13380         changeCase as this operates now also on selections.
13381
13382 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13383
13384         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13385
13386         * many files: send debug output to Debug::INFO instead of
13387         Debug::ANY.
13388
13389         * converter.C (View):
13390         (Convert):
13391         (Move): send debug output to Debug::FILES instead of console.
13392
13393 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13394
13395         * lyxfunc.C (getStatus): use func_status
13396
13397         * func_status.h: new header, describing the results of
13398         LyXFunc::getStatus;
13399
13400         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13401         LFUN_MATH_HALIGN.
13402
13403 2001-06-25  The LyX Project  <jug@sad.it>
13404
13405         * buffer.C (sgmlOpenTag):
13406         (sgmlCloseTag):
13407         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13408
13409 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13410
13411         * text2.C: remove some dead code
13412
13413         * tabular.C (GetCellInset): store the last cell checked (gotten)
13414
13415         * tabular.h: add the helper for the speedup
13416
13417         * lyxtext.h: remove some dead code
13418
13419 2001-06-26  The LyX Project  <Asger>
13420
13421         * paragraph.C: Change export to LaTeX of alignment to
13422         \begin{center} and family for better roundtrip work with reLyX.
13423
13424         * Tune the math drawing a bit.
13425
13426 2001-06-25  The LyX Project  <Asger>
13427
13428         * LColor.C (LColor): New color for math background. New color
13429         for buttons.
13430
13431 2001-06-25  The LyX Project  <jug@sad.it>
13432
13433         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13434
13435         * lyxfunc.C (Open):
13436         * bufferlist.C (newFile): do not restrict to files ending with
13437         .lyx
13438
13439         * BufferView_pimpl.C (MenuInsertLyXFile):
13440
13441 2001-06-24  The LyX Project  <jug@sad.it>
13442
13443         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13444         of compare_no_case
13445
13446 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13447
13448         * lyxtext.h: rename most methods to begin with a small char.
13449         Lots of changes because of this.
13450
13451         * paragraph.C (Paragraph): do not call fitToSize
13452         (erase): call Pimpl::erase
13453         (insertChar): call Pimpl::insertChar
13454         (insertInset): call Pipl::insertInset
13455         (breakParagraph): do not call fitToSize
13456         (breakParagraphConservative): do not call fitToSize
13457         (fitToSize): remove method
13458
13459         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13460
13461 2001-06-24  The LyX Project  <Asger>
13462
13463         * Fix Qt compilation^2
13464
13465 2001-06-24  The LyX Project  <jug@sad.it>
13466
13467         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13468         depthHook(getDepth()-1).
13469
13470         * paragraph.h:
13471         * ParagraphParameters.h:
13472         * ParameterStruct.h: change type of depth to unsigned int ==
13473         depth_type. Many adaptations to other files before of that.
13474
13475 2001-06-24  The LyX Project  <Asger>
13476
13477         * Fix Qt compilation.
13478
13479 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13480
13481         * paragraph.h: renamed several methods to begin with small letter.
13482         several changes to many parts of the code because of this.
13483
13484 2001-06-23  The LyX Project  <jug@sad.it>
13485
13486         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13487         rewritten to discard all double spaces when KeepEmpty is off
13488         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13489         to only handle newlines but not fiddle with spaces and friends.
13490
13491         * lyxfunc.C (MenuNew): when doing 'new from template', use
13492         template_path as default directory
13493
13494 2001-06-23  The LyX Project  <Asger>
13495
13496         * Clean-up of header file includes all over
13497         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13498
13499 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13500
13501         * paragraph.h: renamed from lyxparagraph.h
13502
13503 2001-06-23  Asger  <lyx@violet.home.sad.it>
13504
13505         * Buffer.h: Removed Buffer::resize
13506         * BufferList.h: Removed BufferList::resize
13507         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13508         the document lazily when we change the width, or the font settings.
13509
13510 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13511
13512         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13513
13514 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * buffer.h: remove out of date comment
13517
13518 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13519
13520         * lyxscreen.h:
13521         * screen.C: fix "theoretical" GC leak
13522
13523 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13524
13525         * LaTeX.C (scanAuxFile):
13526         (deplog): remove trailing \r when reading stream (useful under
13527         win32)
13528
13529 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13530
13531         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13532         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13533         and BufferView::theLockingInset(Inset*), so should use them and not
13534         access bv_->text->the_locking_inset directly.
13535
13536         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13537
13538 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13539
13540         * Makefile.am:
13541         * tex-defs.h: remove old unused file
13542
13543 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13544
13545         * BufferView_pimpl.C: fix typo, remove minibuffer message
13546           when buffer has loaded
13547
13548 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * lyxfunc.C (Dispatch): use stringstream
13551         (MenuNew): use stringstream
13552         (Open): use stringstream
13553
13554         * importer.C (Import): use stringstream
13555
13556         * bufferview_funcs.C (CurrentState): use stringstream
13557
13558         * LaTeX.C (run): use stringstream
13559
13560         * BufferView_pimpl.C (savePosition): use stringstream
13561         (restorePosition): use stringstream
13562         (MenuInsertLyXFile): use stringstream
13563
13564 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13565
13566         * BufferView.C:
13567         * Bullet.C:
13568         * ColorHandler.C:
13569         * FontInfo.C:
13570         * FontLoader.C:
13571         * LColor.C:
13572         * LaTeXFeatures.C:
13573         * Painter.C:
13574         * gettext.C:
13575         * lyx_gui_misc.C:
13576         * lyxserver.C:
13577         * vspace.C: removed // -*- C++ -*- as first line.
13578
13579         * lyxfind.h:
13580         * version.h: added // -*- C++ -*- as first line.
13581
13582 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13583
13584         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13585
13586         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13587         of string
13588
13589 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13590
13591         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13592         of floats.
13593
13594 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13595
13596         * gettext.C: include LString.h even when --disable-nls is on.
13597
13598 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13599
13600         * converter.h (Get): changed argument type from int to
13601         FormatList::size_type to avoid unnecessary conversion.
13602
13603         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13604         before using it.
13605
13606 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13607
13608         * gettext.h: include LString.h even when --disable-nls is on.
13609
13610 2001-06-07  Juergen Vigna  <jug@sad.it>
13611
13612         * text.C (BreakAgain): subst spaces with tabs.
13613
13614         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13615         (resizeInsetsLyXText): set force on resizeLyXText.
13616
13617 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13618
13619         * gettext.h (gettext_init):
13620         (locale_init): use a real definition instead of a macro
13621
13622 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13623
13624         * Bufferview_pimpl.C:
13625         * LColor.h:
13626         * LColor.C: further lcolor tidies
13627
13628 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13629
13630         * BufferView_pimpl.C (updateScrollbar): simplify.
13631
13632         * BufferView2.C: don't include insets/insetinfo.h, change
13633         prototype for insertInset and call the Pimpl version. let
13634         updateInset call Pimpl version.
13635
13636         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13637         gotoInset to BufferView::Pimpl
13638
13639 2001-06-01  Juergen Vigna  <jug@sad.it>
13640
13641         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13642         inside a LockingInset (is the update needed at all?).
13643
13644 2001-05-31  Juergen Vigna  <jug@sad.it>
13645
13646         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13647         here not the old one otherwise how should we compare it afterwards
13648         if it's the same!
13649
13650 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * lyxfont.C:
13653         * tabular.C:
13654         * tabular-old.C:
13655         * FontInfo.C: bring C functions into global namespace when
13656         necessary
13657
13658 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13659
13660         * LString.h: make sure config.h has been loaded before LString.h.
13661
13662         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13663         (one for each char read by EatLine!).
13664
13665         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13666         variables.
13667
13668 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13669
13670         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13671         to the same as the par we break from
13672
13673 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13674
13675         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13676
13677         * MenuBackend.C (expand): also create menu entries for wide
13678         versions of the floats.
13679
13680         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13681
13682         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13683
13684         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13685         frontends/Makefile.am
13686
13687         * text2.C: adjust
13688         * text.C: adjust
13689
13690
13691         * tabular.C (getTokenValue): add std::
13692
13693         * tabular-old.C (getTokenValue): add std::
13694         (getTokenValue): ditto
13695         (getTokenValue): ditto
13696
13697         * screen.C (ToggleSelection): adjust
13698
13699         * lyxtext.h: put selection cursors inside a Selection struct.
13700
13701         * lyxfunc.C (moveCursorUpdate): adjust
13702
13703         * lyxfont.C (latexWriteStartChanges): add std::
13704
13705         * lyxfind.C: adjust
13706
13707         * font.h: delete with(char const *, LyXFont const &)
13708
13709         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13710
13711         * FontInfo.C (getFontname): add std::
13712
13713         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13714         (workAreaButtonPress): adjust
13715         (tripleClick): adjust
13716         (update): adjust
13717         (moveCursorUpdate): adjust
13718         (Dispatch): adjust
13719
13720         * BufferView2.C (gotoInset): adjust
13721
13722 2001-05-30  Juergen Vigna  <jug@sad.it>
13723
13724         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13725         to check pspell I add this as default as I now have new pspell
13726         libraries and they seem to use this.
13727
13728 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * text2.C (CutSelection): make the cursor valid before the call to
13731         ClearSelection.
13732
13733 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13734
13735         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13736         relied on 0 terminated strings and other horrors. Bug found due to
13737         the new assert in lyxstring!
13738
13739         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13740         KP_ keys.
13741
13742 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13743
13744         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13745         to latinkeys.bind.
13746
13747         * lyxfunc.C (processKeySym): change method of getting to the
13748         self-insert char.
13749
13750         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13751         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13752         * BufferView_pimpl.[Ch]: here as private methods.
13753
13754 2001-05-28  Juergen Vigna  <jug@sad.it>
13755
13756         * text.C (SetHeightOfRow): added the update() call again as it is
13757         needed to initialize inset dimensions!
13758
13759 2001-05-16  Juergen Vigna  <jug@sad.it>
13760
13761         * text2.C (SetCharFont): Add new function with BufferView * and
13762         bool toggleall parameters for setting insets internal fonts.
13763         (SetFont): Freeze the undo as we may change fonts in Insets and
13764         all this change should be inside only one Undo!
13765
13766         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13767         setting font's in insets as for them we have the SetFont function!
13768
13769 2001-05-15  Juergen Vigna  <jug@sad.it>
13770
13771         * text2.C (ClearSelection): to be sure we REALLY don't have any
13772         selection anymore!
13773
13774         * tabular.C (TeXCellPreamble): fixed the left border problem for
13775         multicolumn cells.
13776
13777 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13778
13779         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13780         dependancy file
13781
13782 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13783
13784         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13785         LFUN_BREAKPARAGRAPH.
13786
13787         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13788         help test to "internal only", similar for LFUN_INSERT_URL
13789
13790         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13791         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13792         auto_region_delete and deadkeys.
13793
13794 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13795
13796         * LColor.h:
13797         * LColor.C: remove some dead entries, tidy a little
13798
13799 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13800
13801         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13802         commented code.
13803         (Dispatch): implement LFUN_ESCAPE
13804
13805         * commandtags.h: add LFUN_ESCAPE
13806
13807         * LyXAction.C (init): add entry for LFUN_ESCAPE
13808
13809         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13810         Remove commented code.
13811         (insertNote): moved here
13812         (open_new_inset): moved here
13813
13814         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13815         BufferView_pimpl
13816
13817 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13818
13819         * kbmap.C (findbinding): clean it up and make it work correctly.
13820
13821         * lyx_main.C (init): do not pass argc and argv as parameters
13822
13823 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13824
13825         * buffer.C: fix path for OS/2 & Win32
13826
13827         * lyx_gui.C:
13828         * lyx_main:
13829         * lyx_main.C: Added os:: class.
13830
13831         * os2_defines.h: update
13832
13833 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13834
13835         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13836         better by trying again with reduced state.
13837
13838 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13839
13840         * lyxrc.C (read): print error about invalid key sequence only when
13841         debugging (because not all latinX keysyms are known to some X
13842         servers)
13843
13844         * kbsequence.C (getiso): add a few std:: qualifiers
13845         (getiso): comment out extra return statement.
13846
13847 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13848
13849         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13850         handling.
13851         (Dispatch): enhance the accent inset a bit. (not perfect)
13852
13853 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13854
13855         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13856
13857 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * bufferlist.C (emergencyWrite): fix assert() call
13860
13861 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13862
13863         * text.C (InsertChar): Added trivial patch to only send the "you
13864         can not do multiple spaces this way" message once during a
13865         session.
13866
13867 2001-05-08  Baruch Even  <baruch@lyx.org>
13868
13869         * Makefile.am: Changed order of libraries to get LyX to link properly
13870         with the gnome frontend.
13871
13872 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13873
13874         * LaTeXFeatures.h: add a std:: qualifier
13875
13876 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13877
13878         * paragraph.C (String): use stringstream
13879
13880 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13881
13882         * paragraph.C (writeFile): remove footflag arg
13883
13884         * buffer.C (makeLaTeXFile): use stringstream
13885         (latexParagraphs): remove footnot gurba
13886
13887         * LaTeXFeatures.C (getPackages): use stringstream
13888         (getMacros): likewise
13889         (getTClassPreamble): likewise
13890         (getFloatDefinitions): new method
13891
13892         * paragraph.C (writeFile): reindent
13893         (Erase): reindent
13894
13895         * WorkArea.h: revert the xpos + etc changes.
13896
13897         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13898
13899         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13900
13901         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13902         (pasteSelection): likewise
13903         * text2.C (CreateUndo): likewise
13904
13905 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13906
13907         * minibuffer.C (peek_event): temporarily reduce the functionality
13908         of the minibuffer (to allow args on lfuns)
13909
13910         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13911         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13912
13913         * buffer.C (readInset): add compability reading of old float
13914         lists, add reading of new style float list.
13915         (readInset): avoid reevaluation of inscmd.getCmdName()
13916         (getLists): reindent
13917
13918         * MenuBackend.C (MenuItem): implement parsing of
13919         md_floatlistinsert and md_floatinsert.
13920         (expand::LastFiles): move initalizaton of iterators out of loop,
13921         avoid reevaluation.
13922         (expand::Documents): introduce typdedef vector<string> Strings,
13923         and use it.
13924         (expand::ExportFormats): introduce typedef vector<Format const *>
13925         Formats, and use it.
13926         (expand): implement FloatListInsert and FloatInsert.
13927
13928         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13929         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13930         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13931
13932         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13933         handling.
13934         (Dispatch::LFUN_FLOAT_LIST): implement
13935
13936 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13937
13938         * LaTeX.C (run): Fix problem with --export code.
13939
13940 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13941
13942         * BufferView.[Ch] (workarea): removed.
13943         (getClipboard) new method; wrapper for workarea()->getClipboard()
13944
13945         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13946         bug.
13947
13948         * WorkArea.h (width, height, xpos, ypos): These methods all
13949         returned the dimensions of the work_area sub-area of WorkArea,
13950         resulting in a position error if the WorkArea were resized. Now
13951         return the dimensions of the entire WorkArea.
13952
13953         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13954
13955 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13956
13957         * LaTeX.C (deplog): correct the syntax of regex reg1
13958
13959 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13960
13961         * undo.C: remove !NEW_INSETS cruft
13962
13963 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13964
13965         * text2.C: remove !NEW_INSETS cruft
13966
13967         * text.C: remove !NEW_INSETS cruft
13968
13969         * tabular.C: remove !NEW_INSETS cruft
13970
13971         * spellchecker.C: remove !NEW_INSETS cruft
13972
13973         * lyxtext.h: remove !NEW_INSETS cruft
13974
13975         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13976
13977         * lyxfunc.C: remove !NEW_INSETS cruft
13978
13979         * lyxfind.C: remove !NEW_INSETS cruft
13980
13981         * lyx_cb.C: remove !NEW_INSETS cruft
13982
13983         * figureForm.C: remove  !NEW_INSETS cruft
13984
13985         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13986
13987         * buffer.[Ch]: remove !NEW_INSETS cruft
13988
13989         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13990
13991         * CutAndPaste.C: remove !NEW_INSETS cruft
13992
13993         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13994
13995         * BufferView2.C: remove !NEW_INSETS cruft
13996
13997         * BufferView.h: remove !NEW_INSETS cruft
13998
13999 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14000
14001         * Lsstream.h: include LString.h before the sstream headers to
14002         fix problem with gcc 2.95.3 and lyxstring
14003
14004 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14005
14006         * lyx_main.C: add using directives when needed for C functions
14007         declared in std:: namespace.
14008
14009 2001-04-27  Juergen Vigna  <jug@sad.it>
14010
14011         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14012         (SetHeightOfRow): comment out the update call should not be needed!
14013
14014 2001-04-13  Juergen Vigna  <jug@sad.it>
14015
14016         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14017         (LyXTabular): tried to minimize operator= operations (and realized
14018         hopfully Lars wish).
14019
14020 2001-04-27  Juergen Vigna  <jug@sad.it>
14021
14022         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14023
14024 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14025
14026         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14027
14028         * buffer.C (readInset): hack to make listof algorithm work
14029
14030         * BufferView_pimpl.C: hack to make listof algorithm work
14031
14032 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14033
14034         * LyXAction.C: removed all !NEW_INSETS cruft
14035         (init): moved lfun_item in method
14036
14037         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14038
14039 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14040
14041         * BufferView2.C (theLockingInset): white space.
14042
14043 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14044
14045         * minibuffer.C: include <iostream>
14046
14047         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14048
14049         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14050
14051         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14052
14053         * text.[Ch] (TransposeChars): new method
14054
14055 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14056
14057         * call message directly through LyXView instead of through LyXFunc
14058         * BufferView2.C: adjust
14059         * BufferView_pimpl.C: adjust
14060         * FontLoader.C: adjust
14061         * buffer.C: adjust
14062         * bufferview_funcs.C: adjust
14063         * converter.C: adjust
14064         * figureForm.C: adjust
14065         * importer.C: adjust
14066         * lyx_cb.C: adjust
14067         * lyx_gui_misc.C: adjust
14068         * lyxfunc.C: adjust
14069         * lyxvc.C: adjust
14070         * text2.C: adjust
14071         + more files in subdirs
14072
14073         * lyxparagraph.h (size): move up int file
14074         (GetLayout): ditto
14075
14076         * adjust all uses of Assert to lyx::Assert.
14077
14078         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14079         lyxfunctional in namespace lyx
14080         * layout.C (hasLayout): ditto
14081         (GetLayout): ditto
14082         (GetLayout): ditto
14083         (delete_layout): ditto
14084         (NumberOfClass): ditto
14085         * converter.C (GetFormat): ditto
14086         (GetNumber): ditto
14087         (Add): ditto
14088         (Delete): ditto
14089         (SetViewer): ditto
14090         * bufferlist.C (getFileNames): ditto
14091         (emergencyWriteAll): ditto
14092         (exists): ditto
14093         (getBuffer): ditto
14094         * MenuBackend.C (hasSubmenu): ditto
14095         (hasMenu): ditto
14096         (getMenu): ditto
14097         * BufferView_pimpl.C (getInsetByCode): ditto
14098
14099 2001-04-18  Juergen Vigna  <jug@sad.it>
14100
14101         * vspace.C (asLatexString): fixed the 100% problem.
14102
14103 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14104
14105         * lyxfunc.C (Dispatch):
14106         * minibuffer.C:
14107         * minibuffer.h: add a few std:: qualifiers
14108
14109 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14110
14111         * minibuffer.[Ch]: reimplement so that commands is initiated and
14112         run from lyxfunc, simplified som handling, and made the completion
14113         and history code for complete. wip.
14114
14115         * lyxfunc.C (processKeySym): call message
14116         (miniDispatch): new temporary method
14117         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14118         (LFUN_MESSAGE): implement
14119         (LFUN_MESSAGE_PUSH): implement
14120         (LFUN_MESSAGE_POP): implement
14121         (initMiniBuffer): the initial/defualt minibuffer message.
14122
14123         * lyxfont.[Ch]: inline some more getters
14124
14125         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14126
14127         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14128
14129         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14130         (AutoSave): use LFUN_MESSAGE
14131         (Reconfigure): ditto
14132
14133         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14134
14135         * figureForm.C: use LFUN_MESSAGE
14136
14137         * converter.C (runLaTeX): use LFUN_MESSAGE
14138
14139         * bufferview_funcs.C: use LFUN_MESSAGE
14140         (Melt): ditto
14141         (changeDepth): ditto
14142
14143         * bufferparams.h: use boost::
14144
14145         * bufferlist.h: inherit privately from noncopyable
14146
14147         * bufferlist.C (loadLyXFile): remove some commented code.
14148
14149         * buffer.C (runChktex): use LFUN_MESSAGE
14150
14151         * ShareContainer.h: inherit privately from noncopyable
14152
14153         * ParagraphParameters.[hC] (depth): inline it.
14154
14155         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14156         methods.
14157         (message): new method
14158         (messagePush): ditto
14159         (messagePop): ditto
14160         (show): init minibuffer
14161         (showState): direct call
14162
14163         * LaTeX.[Ch]: inherit privately from noncopyable
14164         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14165         instead of WriteStatus.
14166
14167         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14168
14169         * BufferView_pimpl.C (buffer): don't init minibuffer
14170         (workAreaButtonPress): use LFUN_MESSAGE
14171         (workAreaButtonRelease): ditto
14172         (savePosition): ditto
14173         (restorePosition): ditto
14174         (MenuInsertLyXFile): ditto
14175         (workAreaExpose): don't init minibuffer
14176         (update): remove commented code, simplify
14177
14178         * BufferView2.C (openStuff): use LFUN_MESSAGE
14179         (toggleFloat): ditto
14180         (menuUndo): ditto
14181         (menuRedo): ditto
14182         (copyEnvironment): ditto
14183         (pasteEnvironment): ditto
14184         (copy): ditto
14185         (cut): ditto
14186         (paste): ditto
14187         (gotoInset): ditto
14188         (updateInset): remove some commented code
14189
14190         * lastfiles.h: inherit privately from noncopyable
14191         * layout.h: ditto
14192         * lyx_gui.h: ditto
14193         * lyx_main.h: ditto
14194         * lyxlex.h: ditto
14195         * lyxlex_pimpl.h: ditto
14196
14197         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14198         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14199         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14200
14201         * LyXAction.h: inherit privately from noncopyable, add methods
14202         func_begin, func_end, returning iterators to the func map.
14203
14204         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14205         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14206         (func_begin): new method
14207         (func_end): new method
14208
14209         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14210         and not)
14211         (copySelection): ditto
14212         (pasteSelection): ditto
14213
14214         * BufferView.C: whitespace change
14215         * BufferView.h: inherit privately from noncopyable
14216
14217 2001-04-16  Allan Rae  <rae@lyx.org>
14218
14219         * tabular-old.C (l_getline):
14220         * spellchecker.C (sc_check_word):
14221         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14222         an unrecognised preprocessor directive.  So ensure they're wrapped.
14223
14224 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14225
14226         * src/exporter.C (Export): Give an error message when path to file
14227         contains spaces.
14228
14229 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14230
14231         * LaTeX.C (deplog): Always check that foundfile exists.
14232
14233 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14234
14235         * lyx_main.h:
14236         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14237
14238 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14239
14240         * tabular.[Ch] (getLabelList): implement new method
14241
14242         * minibuffer.h: comment ouf setTiimer
14243
14244         * minibuffer.C (ExecutingCB): constify res
14245         (peek_event): constify s
14246         (Set): constify ntext
14247         (Init): constify nicename
14248
14249         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14250
14251         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14252         (savePosition): use two params to Minibuffer::Set
14253         (restorePosition): ditto
14254
14255 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14256
14257         * lyx_main.C: include language.h
14258
14259         * Makefile.am (lyx_main.o): add language.h
14260
14261 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14262
14263         * exporter.C:
14264         * paragraph.C:
14265         * screen.C:
14266         * tabular.C:
14267         * CutAndPaste.C: include gettext.h
14268
14269         * lyxfont.h: remove old hack with ON and OFF.
14270
14271         * lyxparagraph.h:
14272         * lyxfont.h: do not include language.h...
14273
14274         * BufferView2.C:
14275         * LaTeXFeatures.C:
14276         * Painter.C:
14277         * bufferview_funcs.C:
14278         * font.C:
14279         * lyxfont.C:
14280         * text.C:
14281         * text2.C:
14282         * trans_mgr.C:
14283         * paragraph.C: ... but do it here instead
14284
14285 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14286
14287         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14288
14289         * tabular.C: small reformat
14290
14291         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14292         NEW_INSETS version
14293         (GetChar): ditto
14294         (BreakParagraph): ditto
14295         (SetOnlyLayout): ditto
14296         (SetLayout): ditto
14297
14298         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14299         with one arg less.
14300
14301         * lastfiles.C: removed most using decl, add std:: where needed
14302
14303         * buffer.C: ws changes
14304
14305         * MenuBackend.C (class compare_format): put into anon namespace
14306         (expand): constify label, names, action, action2
14307         (expand):
14308
14309         * text.C (SingleWidth): constify font
14310         (IsBoundary): constify rtl2
14311         (GetVisibleRow): constify ww
14312
14313         * LaTeX.C (deplog): constify logfile
14314
14315         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14316         start_x, end_x
14317         (workAreaExpose): constify widthChange, heightChange
14318
14319         * lyxrow.C (par): moved
14320         (height): moved
14321         (next): moved
14322         * lyxrow.h: as inlines here
14323
14324         * lyxfont.h (shape): moved from lyxfont.C
14325         (emph): moved from lyxfont.C
14326
14327         * lyxfont.C (LyXFont): use initialization list for all
14328         constructors
14329         (shape): move to lyxfont.h as inline
14330         (emph): move to lyxfont.h as inline
14331
14332
14333 2001-04-04  Juergen Vigna  <jug@sad.it>
14334
14335         * vspace.C: had to include stdio.h for use of sscanf
14336
14337 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14338
14339         * BufferView.h:
14340         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14341         independent of xforms.
14342
14343 2001-04-02  Juergen Vigna  <jug@sad.it>
14344
14345         * spellchecker.C: fixed namespace placing!
14346
14347 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14348
14349         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14350         the LyXParagraph * is 0.
14351
14352 2001-03-29  Juergen Vigna  <jug@sad.it>
14353
14354         * vspace.C: added support for %, c%, p%, l%.
14355         (stringFromUnit): added helper function.
14356         (asLatexString): changed to give right results for the %-values.
14357
14358         * buffer.C: convert the widthp in a width%.
14359
14360 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14361
14362         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14363         figureForm.[Ch].
14364
14365         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14366         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14367
14368         * lyx_cb.[Ch]: see above.
14369
14370         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14371         form1.[Ch].
14372
14373         * form1.[Ch]:
14374         * lyx.[Ch]: replaced by figure_form.[Ch].
14375
14376         * lyx_gui.C:
14377         * lyx_gui_misc.C:
14378         * lyxfunc.C: changed headers associated with above changes.
14379
14380 2001-03-27  Juergen Vigna  <jug@sad.it>
14381
14382         * BufferView_pimpl.C: set the temporary cursor right!
14383
14384 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14385
14386         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14387
14388 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14389
14390         * LString.h: removed "using std::getline"!
14391
14392         * BufferView_pimpl.C (Dispatch): changes due to changes in
14393         InsetInclude::Params.
14394
14395         * buffer.C (tag_name): removed redundant break statements as they were
14396         producing lots of warnings with my compiler.
14397
14398 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14399
14400         * LString.h: add "using std::getline" when using the real <string>.
14401
14402 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14403
14404         * buffer.C: removed bitset usage.
14405         PAR_TAG moved to an anonymous name space.
14406         (tag_name): new funtion, also in the anonymous namespace.
14407         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14408         (makeDocBookFile): clean code. Completed transition from string arrays
14409         to string vectors.
14410         (SimpleDocBookOnePar): code clean.
14411
14412 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14413
14414         * tabular.C: add some comments.
14415
14416 2001-03-22  Juergen Vigna  <jug@sad.it>
14417
14418         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14419         compatibility read a bit and fixed bug with minipage in different
14420         depth.
14421
14422 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14423
14424         * buffer.C (pop_tag): removed.
14425         (push_tag): removed.
14426         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14427         array replaced with vector. Added support for CDATA sections.
14428         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14429         at any nest level.
14430         (makeDocBookFile): XML conformant declaration of CDATA section,
14431         fixed bug related to <emphasis> in the first paragraph char.
14432         (sgmlOpenTag): exclude empty tags.
14433         (sgmlCloseTag): ditto.
14434
14435         * buffer.h (pop_tag): removed.
14436         (push_tag): removed.
14437
14438 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14439
14440         * language.h (Languages): added size_type and size().
14441
14442 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14443
14444         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14445         response on compability reading of minipages. One probliem is that
14446         the old usage of minipages was «flertydig»
14447
14448         * several files here and in subdirs: don't use static at file
14449         scope use anon namespaces instead.
14450
14451 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14452
14453         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14454         LaTeX output. This is necessary for Literate document
14455         processing.
14456
14457 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14458
14459         * buffer.C: insert hfill when needed.
14460
14461         * tabular.C (l_getline): use string::erase, small whitespace change.
14462
14463         * BufferView_pimpl.C: try the anon namespace.
14464         * WorkArea.C: ditto
14465
14466 2001-03-16  Juergen Vigna  <jug@sad.it>
14467
14468         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14469         otherwise it won't open options-dialogs.
14470
14471         * buffer.C: honor pextraWidth(p) on converting minipages.
14472
14473         * tabular.C (l_getline): changed the functions to strip trailing \r.
14474
14475 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14476
14477         * BufferView_pimpl.C:
14478         * minibuffer..C: added "using SigC::slot" declaration.
14479
14480 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14481
14482         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14483
14484         * text2.C: ditto
14485
14486         * text.C: ditto
14487
14488         * paragraph.C: ditto
14489
14490         * lyxtext.h: NO_PEXTRA
14491
14492         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14493
14494         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14495         * ParameterStruct.h: ditto
14496         * ParagraphParameters.h: ditto
14497         * lyxparagraph.h: ditto
14498
14499 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14500
14501         * buffer.C: add compability for minipage alignment.
14502         (latexParagraphs): remove unwanted pextra check.
14503
14504         * several files: remove CXX_WORKING_NAMESPACES
14505
14506         * buffer.C (pop_tag): tie is in namespace boost
14507
14508         * BufferView.h: noncopyable is in namespace boost
14509         * lyxlex.h: ditto
14510         * lyx_main.h: ditto
14511         * lyx_gui.h: ditto
14512         * layout.h: ditto
14513         * lastfiles.h: ditto
14514         * bufferlist.h: ditto
14515         * ShareContainer.h: ditto
14516         * LyXView.h: ditto
14517         * LyXAction.h: ditto
14518         * LaTeX.h: ditto
14519
14520 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14521
14522         * Merging changes from BRANCH_MVC back into HEAD.
14523
14524         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14525
14526 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14527
14528         * BufferView_pimpl.C: change from intl.C
14529
14530         * combox.h:
14531         * combox.C:
14532         * Makefile.am: move combox.*
14533
14534         * form1.h:
14535         * form1.C:
14536         * lyx_gui.C:
14537         * intl.h:
14538         * intl.C: remove dialog (covered by prefs)
14539
14540 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14541
14542         * lyxfunc.C (Dispatch): removed redundant break statement.
14543
14544 2001-03-14  Juergen Vigna  <jug@sad.it>
14545
14546         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14547
14548 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14549
14550         * buffer.C: add hack to fix compability reading of minipages.
14551
14552 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14553
14554         * buffer.C (getLists): Cleanup.
14555
14556 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14557
14558         * lyxfont.C (update): don't honor toggleall on font size.
14559
14560 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14561
14562         * bmtable.c:
14563         * bmtable.h:
14564         * Makefile.am: moved to frontends/xforms/
14565
14566         * lyx_gui_misc.C:
14567         * lyxfunc.C:
14568         * BufferView_pimpl.C: changes for moved mathpanel
14569
14570 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * gettext.h: fix gettext_init() in --disable-nls
14573
14574 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14575
14576         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14577
14578 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14579
14580         * lyx.C:
14581         * lyx.h: strip external form
14582
14583 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14584
14585         * BufferView_pimpl.C: add comment, destroySplash()
14586
14587 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14588
14589         * BufferView_pimpl.C:
14590         * LyXAction.C:
14591         * buffer.C:
14592         * commandtags.h:
14593         * lyxfunc.C: use re-worked insetinclude
14594
14595 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14596
14597         * buffer.C: add using std::stringstream.
14598
14599         * lyx_cb.C: readd using std::ios.
14600
14601         * buffer.C: add using std::map.
14602
14603         * BufferView_pimpl.C: add using std::vector.
14604
14605         * ShareContainer.h: add std:: to swap.
14606
14607         * buffer.h: add some typedefs
14608         * buffer.C (getLists): use them
14609         (getLists): renamed from getTocList.
14610         add a counter for the different float types and use it in the
14611         generated string.
14612         (getLists): use the same counter for the NEW_INSETS and the "non"
14613         NEW_INSETS
14614
14615         * lyx_cb.h: remove unused items, includes, using etc.
14616
14617         * ShareContainer.h: remove some commented code, add more comments
14618         and "documentation".
14619
14620 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14621
14622         * buffer.C (getTocList): make the list also when NEW_INSETS is
14623         defined.
14624
14625         * buffer.h: remove TocType
14626
14627         * buffer.C (getTocList): change to return a map<string,
14628         vector<TocItem> >, implement for dynamic number of list.
14629
14630         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14631         * text2.C (PasteSelection): adjust
14632         * CutAndPaste.C (pasteSelection): adjust
14633
14634         * FloatList.C (FloatList): update from the new_insets branch.
14635         * Floating.[Ch]: ditto
14636         * LaTeXFeatures.C: ditto
14637         * buffer.C: ditto
14638         * lyxlex_pimpl.C: ditto
14639
14640         * paragraph.C (Last): remove when NEW_INSETS is defined.
14641
14642         * other file: changes because of the above.
14643
14644 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14645
14646         * lyxparagraph.h: rename next to next_, previous to previous_,
14647         make them private for NEW_INSETS. Rename Next() to next(),
14648         Previous() to previous().
14649
14650         * other files: changes because of the above.
14651
14652 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14653
14654         * BufferView.h:
14655         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14656         problem.
14657
14658 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14659
14660         * main.C (main): pass lyx_localedir to gettext_init().
14661
14662         * gettext.h: remove locale_init and gettext_init macros
14663
14664         * gettext.C (locale_init): new function
14665         (gettext_init): new function
14666
14667         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14668         setlocale().
14669
14670 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14671
14672         * Moved credits to frontends:
14673         * credits.[Ch]: removed
14674         * credits_form.[Ch]: removed
14675         * lyx_gui_misc.C: remove credits stuff
14676         * Makefile.am:
14677
14678 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14679
14680         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14681
14682         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14683         unneeded destructor.
14684
14685         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14686         a standalone pointer again.
14687
14688         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14689
14690 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14691
14692         * Makefile.am:
14693         * filedlg.h:
14694         * filedlg.C:
14695         * LyXAction.C:
14696         * ToolbarDefaults.C:
14697         * bufferlist.C:
14698         * commandtags.h:
14699         * form1.C:
14700         * form1.h:
14701         * lyx_cb.C:
14702         * lyx_cb.h:
14703         * lyxfunc.h:
14704         * lyxfunc.C:
14705         * BufferView_pimpl.C: use new file dialog in GUII
14706
14707         * lyx_cb.h:
14708         * lyx_cb.C: remove LayoutsCB to Toolbar
14709
14710 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14711
14712         * ShareContainer.h (get): add std:: qualifier
14713
14714 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14715
14716         * ShareContainer.h: define a proper ShareContainer::value_type
14717         type (and use typename to please compaq cxx)
14718
14719 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14720
14721         * lyxparagraph.h: move serveral local vars to
14722         ParameterStruct/ParagraphParameters., use ShareContainer in
14723         FontTable., make vars in FontTable private and add getter and
14724         setter.
14725
14726         * paragraph.C: changes because of the above.
14727
14728         * lyxfont.h: remove copy constructor and copy assignment. (the
14729         default ones is ok), move number inside FontBits. move inlines to
14730         lyxfont.C
14731
14732         * lyxfont.C: add number to initializaton of statics, move several
14733         inlines here. constify several local vars. some whitespace
14734         cleanup. Dont hide outerscope variables.
14735
14736         * Spacing.h: add two new constructors to match the set methods.
14737
14738         * ShareContainer.h: new file, will perhaps be moved to support
14739
14740         * ParameterStruct.h: new file
14741
14742         * ParagraphParameters.h: new file
14743
14744         * ParagraphParameters.C: new file
14745
14746         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14747         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14748
14749         * BufferView_pimpl.C: ParagraphParameter changes.
14750         * buffer.C: Likewise.
14751         * bufferview_funcs.C: Likewise.
14752         * text.C: Likewise.
14753         * text2.C: Likewise.
14754
14755 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14756
14757         * lyxfind.C (LyXReplace): do not redefine default argument in
14758         implementation.
14759         (IsStringInText): ditto
14760         (SearchForward): ditto
14761         (SearchBackward): ditto
14762
14763 2001-03-06  Juergen Vigna  <jug@sad.it>
14764
14765         * lyxfind.C (IsStringInText): put parentes around expressions.
14766
14767 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14768
14769         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14770
14771 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14772
14773         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14774
14775         * stl_string_fwd.h: add comment
14776
14777         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14778
14779         * tabular.h:
14780         * tabular.C: remove unused DocBook methods
14781
14782         * intl.C:
14783         * language.C:
14784         * paragraph.C:
14785         * buffer.C:
14786         killed DO_USE_DEFAULT_LANGUAGE
14787
14788 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * lyx_gui.C: do not include language.h.
14791
14792         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14793         arguments in function implementation.
14794
14795 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14796
14797         * BufferView_pimpl.C: add <ctime>
14798
14799 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14800
14801         * BufferView_pimpl.C: add using std::find_if
14802
14803 2001-02-27  José Matos  <jamatos@fep.up.pt>
14804
14805         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14806         by OnlyPath.
14807
14808 2001-02-11  José Matos  <jamatos@fep.up.pt>
14809
14810         * buffer.C (makeDocBookFile): command styles now have a parameter as
14811         "title" by default.
14812
14813 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14814
14815         * layout_forms.[Ch]: removed
14816         * lyx_cb.[Ch]: out character
14817         * lyx_gui.C: out character
14818         * lyx_gui_misc.C: out character
14819         * bufferview_funcs.C: : out character,
14820         added toggleall as parameter in ToggleAndShow
14821
14822 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14823
14824         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14825
14826         * text2.C (SetCurrentFont): Disable number property at boundary.
14827
14828 2001-02-26  Juergen Vigna  <jug@sad.it>
14829
14830         * lyxfunc.C (getStatus): added a string argument override function so
14831         that this is correctly called from LyXFunc::Dispatch if it contains a
14832         do_not_use_argument which is used!
14833         (Dispatch): added check for "custom" export and call appropriate func.
14834
14835 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14836
14837         * lyxrc.C: Add language_command_local, language_use_babel and
14838         language_global_options.
14839
14840         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14841
14842         * buffer.C (makeLaTeXFile): Use language_use_babel and
14843         language_global_options.
14844
14845 2001-02-23  Juergen Vigna  <jug@sad.it>
14846
14847         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14848         which works with LyXText and putted it inside BufferView. Here now we
14849         only call for that part the BufferView::Dispatch() function.
14850
14851         * BufferView.C (Dispatch): added.
14852
14853         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14854         functions which needs to use a LyXText over from LyXFunc.
14855         (MenuInsertLyXFile): added
14856         (getInsetByCode): added
14857         (moveCursorUpdate): added
14858         (static TEXT): added
14859
14860 2001-02-22  Juergen Vigna  <jug@sad.it>
14861
14862         * BufferView_pimpl.C (update): call a status update to see if LyXText
14863         needs it.
14864
14865 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14866
14867         * vc-backend.C (revert): implement for CVS
14868         (getLog): implement for CVS
14869
14870 2001-02-20  Juergen Vigna  <jug@sad.it>
14871
14872         * text2.C (ClearSelection): added BufferView param for inset_owner call
14873
14874         * lyxfunc.C (TEXT): added this function and use it instead of
14875         directly owner->view()-text of getLyXText().
14876
14877 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14878
14879         * src/layout_forms.C: out preamble
14880         * src/layout_forms.h: out preamble
14881         * src/lyx_cb.C: out preamble
14882         * src/lyx_cb.h: out preamble
14883         * src/lyx_gui.C: out preamble
14884         * src/lyx_gui_misc.C: out preamble
14885         * src/lyxfunc.C: connect with guii preamble
14886
14887 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14888
14889         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14890
14891 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14892
14893         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14894         whether to run bibtex.
14895
14896 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14897
14898         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14899
14900 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14901
14902         * Makefile.am (lyx_SOURCES): removed bibforms.h
14903
14904         * vspace.h: doxygen
14905
14906         * text.C (GetVisibleRow): make several local vars const
14907
14908         * tabular.C: small cleanup.
14909
14910         * lyxserver.C (callback): use compare instead of strncmp
14911
14912         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14913         inlines to after class or to paragraph.C
14914
14915         * lyxfont.h: remove friend operator!=
14916
14917         * converter.h: move friend bool operator< to non friend and after
14918         class def.
14919
14920         * combox.h: small cleanup
14921
14922         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14923         to inlines after class def.
14924
14925         * buffer.C (pop_tag): use string operations instead of strcmp
14926
14927         * bmtable.c: doxygen, small cleanup
14928
14929         * LaTeX.h: remove friend operator==
14930
14931 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14932
14933         * screen.C:
14934         * lyxrc.[Ch]:
14935         * lyxfunc.C:
14936         * lyxfont.[Ch]:
14937         * lyx_cb.C:
14938         * intl.[Ch]:
14939         * commandtags.h:
14940         * buffer.C:
14941         * WorkArea.[Ch]:
14942         * LyXAction.C:
14943         * BufferView_pimpl.C:
14944         * BufferView.[Ch]: remove cruft
14945
14946 2001-02-14  Juergen Vigna  <jug@sad.it>
14947
14948         * lyxfunc.C: removed #if 0 unused code
14949
14950         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14951
14952         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14953
14954         * text2.C (SetSelection): added a BufferView * parameter
14955
14956 2001-02-13  Juergen Vigna  <jug@sad.it>
14957
14958         * lyxfunc.C (Dispatch): fixed protected blank problem.
14959         * BufferView2.C (protectedBlank): added LyxText * parameter.
14960
14961         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14962         (AppendColumn): same as above for column_info.
14963
14964         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14965         (moveCursorUpdate): use a LyXText param for support of InsetText.
14966
14967         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14968         (tripleClick): ditto
14969
14970         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14971
14972         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14973
14974         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14975
14976         * text2.C (SetSelection): set correct update status if inset_owner
14977         (ToggleFree): ditto
14978
14979 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14980
14981         * tabular.C: remove some commented code.
14982
14983 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14984
14985         * BufferView_pimpl.C: call hideSplash()
14986
14987         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14988
14989         * include_form.h:
14990         * bibforms.h: remove
14991
14992         * lyxfunc.C:
14993         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14994           add LFUN_CHILD_CREATE
14995
14996         * counters.h: fix tiny typo
14997
14998         * lyx_cb.C:
14999         * lyx.h:
15000         * lyx_gui.C:
15001         * lyx.C: move splash to frontends/xforms/
15002
15003         * lyx_gui_misc.C: move Include and Bibform to frontends
15004
15005         * lyxvc.h: clarify comment
15006
15007         * vspace.C: tiny housekeeping
15008
15009 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15010
15011         * text.C (PrepareToPrint): RTL Fix.
15012
15013         * paragraph.C (GetUChar): New method.
15014         (String):  Use GetUChar.
15015
15016         * buffer.C (asciiParagraph): Use GetUChar.
15017
15018 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15019
15020         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15021
15022 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15023
15024         * buffer.h:
15025         * buffer.C: rename to getLogName(), handle
15026           build log / latex log nicely
15027
15028 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15029
15030         * MenuBackend.C:
15031         * MenuBackend.h: remove support for reference menuitem type.
15032
15033 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15034
15035         * BufferView_pimpl.C: housekeeping
15036         * BufferView_pimpl.h:
15037         * LyXView.h:
15038         * Makefile.am:
15039         * Timeout.C:
15040         * Timeout.h:
15041         * minibuffer.h: move Timeout GUI-I
15042
15043 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15044
15045         * lyxrc.C (read): Update converters data-structures.
15046
15047 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15048
15049         * LaTeX.h (operator!=): add operator != for Aux_Info
15050
15051 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15052
15053         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15054
15055         * LaTeXLog.C: deleted, useful code moved to Buffer
15056
15057         * buffer.h:
15058         * buffer.C: new function getLatexLogName()
15059
15060         * lyx_gui_misc.C:
15061         * lyx_gui.C:
15062         * lyxvc.C:
15063         * lyxvc.h:
15064         * lyxfunc.C: use frontends for LaTeX and VC logs
15065
15066 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15067
15068         * LaTeX.h: yet another std:: that Allan forgot.
15069
15070         * Variables.C (set): renamed from isset(), because this clashes
15071         with some HP-UX macros (grr).
15072
15073 2001-02-06  Allan Rae  <rae@lyx.org>
15074
15075         * LaTeX.h: Another bug fix.  Missing std:: this time.
15076
15077 2001-02-04  Allan Rae  <rae@lyx.org>
15078
15079         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15080         floats problem. I've left it commented out because it's not quite
15081         correct.  It should also test that the current object is a table or
15082         figure inset.  But I haven't gotten around to figuring out how to do
15083         that.  I *think* it'll be something like: "table" == inset.type()
15084
15085         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15086         bool.
15087
15088 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15089
15090         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15091         all the citation/databases/styles in the auxilary file.
15092         (run): Rerun latex if there was a babel language error.
15093
15094 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15095
15096         * text.C (Backspace): Preserve the font when changing newline char
15097         with a space.
15098         (BreakParagraph): If the cursor is before a space, delete the space.
15099
15100         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15101
15102 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15103
15104         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15105         new argument (code).
15106         (ChangeCitationsIfUnique): New method.
15107
15108         * paragraph.C (GetPositionOfInset): Handle bibkey.
15109
15110 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15111
15112         * BufferView_pimpl.h: change type of Position::par_pos to
15113         LyXParagraph::size_type.
15114
15115 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15116
15117         * BufferView_pimpl.C (savePosition, restorePosition): Write
15118         messages to minibuffer.
15119
15120 2001-01-28  José Matos  <jamatos@fep.up.pt>
15121
15122         * buffer.C (makeDocBookFile): adds support for document language.
15123         A silly restriction on the name of LatexCommand types where removed.
15124         Added support for CDATA sections, allows to chars unescaped, used
15125         among others in code, to avoid escape < and >.
15126
15127 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15128
15129         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15130         saved positions instrad of a stack. Furthermore, a position is
15131         stored using paragraph id/paragraph position.
15132
15133         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15134         Remove LFUN_REF_BACK.
15135
15136 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15137
15138         * converter.C (dvipdfm_options): New method.
15139
15140 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15141
15142         * vspace.C (isValidLength): Fix for empty input string.
15143
15144 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15145
15146         * LyXAction.C (init): change description of LFUN_FIGURE to
15147         "Insert Graphics"
15148
15149 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * LaTeX.C: add using directive
15152
15153 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15154
15155         * MenuBackend.C (expand): Fix the sorting of the formats.
15156
15157 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15158
15159         * lyx_main.C: tiny error message fix
15160
15161 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15162
15163         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15164         calling fl_initialize(). This fixes the problem with ',' as
15165         decimal separator in text files.
15166
15167 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15168
15169         * trans.C (process): Fix the keymap bug.
15170
15171 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15172
15173         * LaTeX.C (scanAuxFiles): New method. Provides support for
15174         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15175         (scanLogFile) Scan for "run BibTeX" messages.
15176
15177         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15178         OT1 font encoding. Also, load the aecompl package if the ae
15179         package is loaded.
15180
15181         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15182
15183 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15184
15185         * texrow.C (increasePos): turn two error messages into debug
15186         messages.
15187
15188 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15189
15190         * LaTeX.C (scanAux): Handle the \@input macro.
15191         (runBibTeX): Use scanAux().
15192
15193         * language.C (latex_options_): New field.
15194
15195         * LaTeXFeatures.C (getMacros): Add language macros.
15196
15197         * buffer.C (makeLaTeXFile): Small fix.
15198
15199 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15200
15201         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15202
15203         * text2.C: add a using directive.
15204
15205 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15206
15207         * BufferView2.C:
15208         * lyx_gui_misc.h:
15209         * lyxfr1.C:
15210         * lyxfunc.C: kill LyXBell.
15211
15212 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15213
15214         * text.C (IsBoundary): Remove the error message
15215
15216         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15217
15218         * lyxrc.C (setDefaults): Correct initialization value for
15219         font_norm_type.
15220
15221 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15222
15223         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15224         gotoError().
15225
15226         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15227         and GotoNextNote().
15228
15229         * src/LyXAction.C: Added reference-next.
15230
15231         * text.C (InsertChar): Use contains instead of strchr.
15232
15233         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15234
15235 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15236
15237         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15238         alignment commands (when needed).
15239
15240         * text.C (InsertChar): Add ':' to number separator chars.