]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f596dbe88782e07a871905515175e67a9accfb9c
[lyx.git] / src / ChangeLog
1
2 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * BufferView.C (setCursor): call redoParagraph (some insets could
5         have been opened) 
6         (putSelectionAt): remove the 'double update' trick
7
8         * BufferView_pimpl.C (fitCursor): call refreshPar
9         (workAreaDispatch): remove an uneeded update call
10         (dispatch): remove some manual update calls
11
12         * cursor.[Ch]: remove cached_y_, updatePos
13         (selHandle): set noUpdate when appropriate
14
15         * lyxfunc.C (dispatch): track if we need an update
16         
17         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
18
19         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
20         (paintSelection): cheap optimization, do not call cursorX when not
21         needed 
22         (paintPars): change signature
23         (refreshPar): add
24         (paintText): adjust
25         (paintTextInset): adjust
26
27         * text.C: adjust
28
29 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
30
31         * lengthcommon.C: compilation fix: remove explicit array size from
32         unit_name[] and friends
33
34 2004-04-05  Angus Leeming  <leeming@lyx.org>
35
36         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
37
38         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
39         present only for the preferences dialog.
40         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
41
42 2004-04-05  Angus Leeming  <leeming@lyx.org>
43
44         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
45         to enable the frontends to export changes to lyxrc correctly.
46
47         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
48
49 2004-04-05  André Pönitz  <poenitz@gmx.net>
50
51         * cursor.[Ch] (valign, halign...): remove unneeded functions
52
53 2004-04-05  Angus Leeming  <leeming@lyx.org>
54
55         * lyxlength.[Ch] (unit_name et al.): const-correct.
56
57 2004-04-05  Angus Leeming  <leeming@lyx.org>
58
59         * BufferView_pimpl.C:
60         * buffer.C:
61         * counters.C:
62         * cursor.C:
63         * lyxfunc.C
64         * paragraph.C:
65         * pariterator.C:
66         * text.C:
67         * text2.C:
68         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
69
70 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
71
72         * text3.C (getStatus): add LFUN_BEGINNINGBUF
73
74 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
75
76         * lyxfind.C: add a couple of inTexted() tests + other small fixes
77         * BufferView_pimpl.[Ch] (getStatus)
78         * BufferView.[Ch] (getStatus): add
79         * lyxfunc.C (getStatus): move lfuns handled in
80         BufferView::dispatch to te function above 
81         * Cursor.C (setSelection): set selection() = true
82
83 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
84
85         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
86
87 2004-03-31  Angus Leeming  <leeming@lyx.org>
88
89         * lyxfunc.C (dispatch): Fall through to the generic
90         Dialogs::show("preamble").
91
92 2004-03-31  Angus Leeming  <leeming@lyx.org>
93
94         * lyxfunc.C (dispatch): Fall through to the generic
95         Dialogs::show("spellchecker").
96
97 2004-03-31  Angus Leeming  <leeming@lyx.org>
98
99         * lyxfunc.C (getStatus, dispatch): changed invocation of the
100         preferences dialog.
101
102 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
103
104         * BufferView.C
105         * cursor.[Ch]
106         * dociterator.[Ch]:
107         * insetiterator.[Ch]:
108         * lyxfind.C:
109         * lyxfunc.C:
110         * pariterator.[Ch]:
111         * text2.C:
112         * undo.[Ch]: s/DocumentIterator/DocIterator/g
113
114 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
115
116         * BufferView.C (setCursor, putSelectionAt): call edit to open the
117         insets where we are putting the cursor.
118
119 2004-03-31  Angus Leeming  <leeming@lyx.org>
120
121         * lfuns.h:
122         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
123
124         * lyxrc.[Ch] (read, write): overloaded member functions taking
125         a std::[io]stream arguments.
126
127         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
128
129 2004-03-31  Angus Leeming  <leeming@lyx.org>
130
131         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
132         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
133
134         * lyxtextclass.C (load): if the text class couldn't be loaded, then
135         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
136
137 2004-03-31  Angus Leeming  <leeming@lyx.org>
138
139         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
140         the LFUN_ALL_INSETS_TOGGLE code.
141
142 2004-03-30  Angus Leeming  <leeming@lyx.org>
143
144         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
145         has died. Fall through to the generic Dialogs::show("document").
146         
147 2004-03-30  Angus Leeming  <leeming@lyx.org>
148
149         * lfuns.h:
150         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
151         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
152
153         * lyxfunc.C (getStatus, dispatch): define the actions for these
154         lfuns. Little more than a cut and pste job from ControlDocument.C
155
156         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
157
158 2004-03-30  Angus Leeming  <leeming@lyx.org>
159
160         * lfuns.h:
161         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
162         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
163
164         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
165         open/closed state of ollapsable insets. Usage:
166
167         all-inset-toggle <state> <name>, where
168         <state> == "open" || "closed" || "toggle" and
169         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
170
171         * lyxtext.h, text2.C (toggleInset): removed.
172
173         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
174         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
175         now passes LFUN_INSET_TOGGLE to the found inset.
176
177         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
178         is now invoked as "all-insets-toggle toggle branch".
179
180 2004-03-30  Angus Leeming  <leeming@lyx.org>
181
182         * dociterator.C:
183         * insetiterator.C:
184         * pariterator.[Ch]: added/corrected header blurb.
185
186 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
187
188         * dociterator.[Ch]: add an inset_ member 
189         (backwardPos): implemented
190         (backwardPos, forwardPos): use inset_ when the stack is empty.
191         (doc_iterator_begin, doc_iterator_end): implemented
192         * pariterator.[Ch]: adjust, add begin, end
193         * insetiterator.[Ch]: adjust, add begin, end
194         * cursor.C: 
195         * document.C:
196         * BufferView.C:
197         * BufferView_pimpl.C:
198         * CutAndPaste.C: adjust
199
200 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
201
202         * buffer.C: increment file format to 232.
203         * LaTeXFeatures.C: add bibtopic package.
204         * bufferparams.[Ch]: param \use_bibtopic.
205         
206         * lyxrc.[Ch]: add lyxrc bibtex_command
207         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
208         
209         * buffer.C: increment file format to 231.
210
211 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
212
213         * dociterator.C: implement forwardPar
214         * iterators.[Ch]: remove, replaced by
215         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
216         * BufferView.C:
217         * BufferView_pimpl.C:
218         * CutAndPaste.C:
219         * buffer.C:
220         * bufferview_funcs.C:
221         * cursor.C:
222         * lyxfind.C
223         * lyxfunc.C
224         * paragraph_funcs.C
225         * toc.C:  
226         * Makefile.am: adjust
227
228 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
229
230         * CutAndPaste.C (pasteSelection): fix 2 crashes
231         (eraseSelection): fix a crash
232         * paragraph_funcs.C: remove a warning
233
234 2004-03-28  Angus Leeming  <leeming@lyx.org>
235
236         * lfuns.h:
237         * LyXAction.C (init): new LFUN_PRINT.
238
239         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
240
241 2004-03-27  Angus Leeming  <leeming@lyx.org>
242
243         * lfuns.h:
244         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
245
246         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
247
248 2004-03-27  Angus Leeming  <leeming@lyx.org>
249
250         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
251         insetlist always contains non-null pointers to insets.
252
253 2004-03-26  Angus Leeming  <leeming@lyx.org>
254
255         * src/BufferView_pimpl.C:
256         * src/CutAndPaste.C:
257         * src/buffer.C:
258         * src/iterators.C:
259         * src/output_plaintext.C:
260         * src/outputparams.h:
261         * src/paragraph_funcs.C:
262         * src/rowpainter.C:
263         * src/text.C:
264         * src/text2.C:
265         * src/frontends/controllers/ControlErrorList.C:
266         * src/frontends/gtk/FileDialogPrivate.C:
267         * src/frontends/gtk/GPainter.C:
268         * src/frontends/gtk/GToolbar.C:
269         * src/frontends/qt2/QRef.C:
270         * src/mathed/math_scriptinset.C: squash compiler warnings.
271
272 2004-03-26  Angus Leeming  <leeming@lyx.org>
273
274         * ispell.C (LaunchIspell::start):
275         * lyx_cb.C (AutoSaveBuffer::start):
276         invoke run(DontWait) rather than runNonBlocking().
277
278 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
279
280         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
281
282 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
283
284         * kbsequence.C (print): adjust
285
286         * kbmap.C (printKeySym): rename and change signature
287         (printKey): use LyXKeySym::print()
288
289 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
290
291         * undo.C: add using std::advance to compile for stlport
292
293 2004-03-24  Angus Leeming  <leeming@lyx.org>
294
295         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
296         it leads to a crash when no buffer is present.
297
298 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
299             Martin Vermeer  <martin.vermeer@hut.fi>
300
301         * lyxfunc.C (dispatch): 
302         * bufferparams.C (readToken): use the new LColor::setColor 
303
304         * LColor.[Ch] (setColor): new version that takes two strings as
305         argument and creates a new color entry if necessary
306
307 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
308
309         * buffer.C (makeLaTeXFile): if the main latex file that is
310         processed is usually a subdocument of some master, then pretend
311         for a while that it is actually the master
312
313 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
314
315         * buffer.C (getLabelList):
316         (getBibkeyList): use getMasterBuffer()
317         (getMasterBuffer): new method. Returns the main document in the
318         case where one is using included documents.
319
320 2004-03-25  André Pönitz  <poenitz@gmx.net>
321
322         * Makefile.am:
323         * iterators.[Ch]:
324         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
325
326         * ParagraphList_fwd.h: change ParagraphList to a std::vector
327
328         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
329         text*.C over here. Rename namespace CutAndPaste to lyx::cap
330
331         * ParameterStruct.h: merge with ParagraphParameters
332
333         * lyxtext.h: remove LyXText::parOffset() and getPar()
334
335         * text3.C: Remove all 'manual' update calls. We do now one per user
336         interaction which is completely sufficient.
337
338         * Bidi.C:
339         * BufferView.[Ch]:
340         * BufferView_pimpl.C:
341         * FontIterator.[Ch]:
342         * MenuBackend.C:
343         * ParagraphParameters.[Ch]:
344         * buffer.C:
345         * buffer.h:
346         * bufferlist.C:
347         * cursor.[Ch]:
348         * cursor_slice.[Ch]:
349         * dociterator.[Ch]:
350         * errorlist.[Ch]:
351         * factory.C:
352         * lfuns.h:
353         * lyxfind.C:
354         * lyxfunc.C:
355         * output_docbook.[Ch]:
356         * output_latex.[Ch]:
357         * output_linuxdoc.[Ch]:
358         * output_plaintext.[Ch]:
359         * paragraph.[Ch]:
360         * paragraph_funcs.[Ch]:
361         * paragraph_pimpl.[Ch]:
362         * rowpainter.C:
363         * tabular.[Ch]:
364         * text.C:
365         * text2.C:
366         * toc.C:
367         * undo.[Ch]: adjust
368
369         * frontends/controllers/ControlDocument.C:
370         * frontends/controllers/ControlErrorList.C:
371         * frontends/controllers/ControlSpellchecker.C:
372         * insets/inset.C:
373         * insets/inset.h:
374         * insets/insetbase.h:
375         * insets/insetbibitem.C:
376         * insets/insetbox.C:
377         * insets/insetbranch.C:
378         * insets/insetcaption.C:
379         * insets/insetcharstyle.C:
380         * insets/insetcharstyle.h:
381         * insets/insetcollapsable.C:
382         * insets/insetcollapsable.h:
383         * insets/insetert.C:
384         * insets/insetfloat.C:
385         * insets/insetfoot.C:
386         * insets/insetmarginal.C:
387         * insets/insetnote.C:
388         * insets/insetoptarg.C:
389         * insets/insettabular.C:
390         * insets/insettext.C:
391         * insets/insettext.h:
392         * insets/insetwrap.C:
393         * mathed/math_mboxinset.C:
394         * mathed/math_nestinset.C:
395         * mathed/math_scriptinset.C:
396         * mathed/math_scriptinset.h:
397         * support/types.h:
398
399 2004-03-24  Angus Leeming  <leeming@lyx.org>
400
401         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
402         deal with any child processes that have finished but are waiting to
403         communicate this fact to the rest of LyX.
404
405 2004-03-24  Angus Leeming  <leeming@lyx.org>
406
407         64-bit compile fixes.
408
409         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
410         (c-tor): pass lyx::pos_types rather than ints.
411
412         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
413         lyx::pos_type.
414
415         * text.C (Delete): compile fix.
416         (getPar): ensure that function declaration is the same as that in
417         the header file.
418
419 2004-03-23  Angus Leeming  <leeming@lyx.org>
420
421         * ispell.C (LaunchIspell):
422         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
423         a boost::shred_ptr rather than a std::auto_ptr.
424
425 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * lyxfunc.C (getStatus): handle read-only buffers correctly;
428         handle LFUN_FILE_INSERT_*
429
430         * lyxrc.C (setDefaults, getDescription, output, read):
431         * lyxrc.h: remove ps_command
432
433 2004-03-22  Angus Leeming  <leeming@lyx.org>
434
435         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
436         Ensure that error_handler is processed once only and that all data
437         is saved before attempting to output any warning messages.
438
439         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
440
441 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
442
443         * tabular.C (TeXRow): crash fix (from Kayvan and André)
444
445 2004-03-19  André Pönitz  <poenitz@gmx.net>
446
447         * cursor.[Ch] (reset): take main text inset as argument
448
449         * BufferView: adjust
450         * BufferView_pimpl.C: adjust
451
452         * paragraph.[Ch]: fix completely broken operator=()
453
454 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
455
456         * LColor.C (getFromLyXName): make sure that the color name is used
457         as lowercase.
458
459 2004-03-17  Angus Leeming  <leeming@lyx.org>
460
461         * lfuns.h:
462         * LyXAction.C (init): remove LFUN_FORKS_KILL.
463
464         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
465         dialog and to kill a forked process.
466
467 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
468
469         * text2.C (setCursorFromCoordinates): fix font problem
470
471 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
472
473         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
474         bogus "rebuild cursor" code
475
476 2004-03-11  André Pönitz  <poenitz@gmx.net>
477
478         * buffer.[Ch]: use InsetText instead of LyXText as container for
479         the main lyx text.
480
481         * dociterator.[Ch]: drop the BufferView * member which is not needed
482         anymore after the change to buffer.C
483
484         * paragraph_funcs.C:
485         * text.C:
486         * text2.C:
487         * BufferView.[Ch]:
488         * BufferView_pimpl.[Ch]:
489         * cursor.[Ch]:
490         * cursor_slice.[Ch]: adjust
491
492         * text3.C: fix bug in mathDispatch
493
494 2004-03-08  André Pönitz  <poenitz@gmx.net>
495
496         * undo.[Ch]: use 'StableDocumentIterator' as base for
497         the Undo struct.
498
499 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
500
501         * LaTeXFeatures.C:
502         * bufferparams.[Ch]: add jurabib support and param.
503
504         * LaTeX.C: add FIXME/comment.
505
506 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
507
508         * buffer.C: increment file format to 230.
509
510 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
511
512         * cursor.C (dispatch): avoid infinite loops
513
514 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
515
516         * rowpainter.C (paintSelection): fix x coordinates
517
518 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * text.C (rowBreakPoint): fix breaking before displayed insets
521
522 2004-03-01  André Pönitz  <poenitz@gmx.net>
523
524         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
525
526         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
527
528         * Makefile.am:
529         * BufferView.C:
530         * BufferView_pimpl.C:
531         * buffer.C:
532         * lyxfind.C:
533         * lyxfunc.C:
534         * text.C:
535         * text2.C:
536         * text3.C: adjust
537
538 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
539
540         * lyxtext.h:
541         * text.C:
542         * text2.C:
543         * rowpainter.C:
544         * BufferView_pimpl.C: rename textwidth -> maxwidth,
545         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
546
547 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
548
549         * Bidi.[Ch] (computeTables): const correctness
550         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
551         fill_hfill, fill_label_hfill and x from Row
552         * lyxtext.h: prepareToPrint returns a RowMetrics
553         * rowPainter.C: adjust
554         * text.C (prepareToPrint): use width, not textWidth. adjust
555         (redoParagraphInternal, cursorX): adjust
556         * text2.C (getColumnNearX): adjust
557         (init): put a default value to the top LyXText::width
558
559 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
560
561         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
562
563 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
564
565         * lyxtext.h: add FontIterator class
566
567         * text.C (FontIterator, operator*, operator->, operator++): add
568         (rowBreakPoint, setRowWidth): adjust (fixing a
569         rebreaking bug)
570
571 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
572
573         * BufferView_pimpl.C (workAreaDispatch): allow also
574         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
575
576 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
577
578         * text.C (rowBreakPoint): fix a bug showing with very large insets
579
580 2004-02-25  André Pönitz  <poenitz@gmx.net>
581
582         * text3.C:
583         * cursor.[Ch]: move some mathed specific code to mathed
584
585 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
586
587         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
588         use_tempdir in preferences
589         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
590         tempfile creation
591         * lyx_main.C: ensure that tempdir is valid
592         * lyxlex.h: correct typo
593         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
594         * paragraph.[Ch] (isMultiLingual): make const
595         * cursor.[Ch] (openable): make const
596
597 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
598
599         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
600
601 2004-02-20  André Pönitz  <poenitz@gmx.net>
602
603         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
604
605         * cursor.[Ch]: prepare for localized getStatus()
606
607         * lyxtext.h:
608         * tabular.C:
609         * text.C:
610         * text2.C:
611         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
612
613 2004-02-20  André Pönitz  <poenitz@gmx.net>
614
615         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
616
617 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
618
619         * text2.C (setCursorFromCoordinates): switch to absolute coords
620         (cursorUp): adjust
621         (cursorDown): adjust
622         * text3.C (dispatch): adjust
623
624 2004-02-16  André Pönitz  <poenitz@gmx.net>
625
626         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
627           insets/ChangeLog)
628
629         * cursor_slice.[Ch]: remove unneeded acessor function
630
631         * lyxtext.h: rename rtl() to isRTL()
632
633         * rowpainter.C:
634         * tabular.C:
635         * text.C:
636         * text2.C:
637         * text3.C: adjust
638
639 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
640
641         * rowpainter.C (paintSelection): coord fix
642
643 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
644
645         * Spacing.C: compile fix
646
647 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
648
649         * cursor.C (dispatch): restore current_ before returning
650
651 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
652
653         * text2.C (cursorUp, cursorDown): fix coords
654         (moveUp): fix crash
655
656 2004-02-12  André Pönitz  <poenitz@gmx.net>
657
658         * lyxtext.h:
659         * text.C:
660         * text2.C:
661         * text3.C: add LCursor & parameter to most cursor movement functions
662           remove usage of LyXText::cursorRow() and cursorPar()
663
664         * cursor.[Ch]: add textRow() needed members
665
666         * BufferView.C:
667         * BufferView_pimpl.C:
668         * paragraph.[Ch]:
669         * BufferView.C:
670         * BufferView_pimpl.C: adjust
671
672 2004-02-11  André Pönitz  <poenitz@gmx.net>
673
674         * lyxfunc.C:
675         * BufferView.[Ch]:
676         * BufferView_pimpl.C: shift undo/redo handling
677
678         * cursor.[Ch]: fix mathed crash
679
680         * lyxfind.C:
681         * lyxtext.h: move selectionAsText to LCursor
682
683         * output_latex.C:
684         * paragraph.C:
685         * text.C:
686         * text2.C:
687         * text3.C: adjust
688
689         * rowpainter.C: fix excessive drawing
690
691 2004-02-06  André Pönitz  <poenitz@gmx.net>
692
693         * BufferView.[Ch]:
694         * BufferView_pimpl.[Ch]:
695         * text3.C: move some text specific LFUN handling
696
697 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
698
699         * text3.C (checkInsetHit): adjust coords
700         * text2.C (getColumnNearX): adjust coords
701         (edit): adjust coords
702         * text.C (getRowNearY): add two asserts
703
704 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
705
706         * converter.C:
707         * format.C: add using std::distance to compile on gcc 2.95/stlport
708
709 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
710
711         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
712
713 2004-02-04  André Pönitz  <poenitz@gmx.net>
714
715         * BufferView.[Ch] (insertInset):
716         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
717
718         * text2.C:
719         * text3.C: adjust
720
721 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
722
723         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
724         on the default clause of the switch
725         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
726         wasn't catched by LCursor::dispatch
727
728 2004-02-03  André Pönitz  <poenitz@gmx.net>
729
730         * BufferView.C:
731         * cursor.[Ch]: some additional asserts
732
733         * undo.[Ch]: remove LyXText dependency in interface
734
735         * lyxfunc.C: adjust
736
737         * lyxtext.h (firstPar, lastPar): remove dead functions
738
739         * text.C:
740         * text2.C:
741         * text3.C:
742         * paragraph.[Ch]: adjust
743
744 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
745
746         * lyxfind.C (find): fix argument order in call to ::find
747
748 2004-02-02  André Pönitz  <poenitz@gmx.net>
749
750         * cursor.[Ch]: remove direct access to anchor
751
752         * text.C: remove findText() hack
753
754 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
755
756         * iterators.[Ch] (lockPath): remove in favour of...
757         * BufferView.[Ch] (setCursor): this addition
758         * BufferView.C (putSelectionAt): adjust
759         * undo.C (performUndoOrRedo): adjust
760         * lyxfunc.C (dispatch): adjust
761
762 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
763
764         * iterators.C (lockPath): add a missing slice
765         * undo.C (performUndoOrRedo): remove redundant positioning code
766
767 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
768
769         * vc-backend.C (scanMaster): ";" -> ';'
770
771 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
772
773         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
774         std::binary_function
775
776         * lyxtextclass.C (compare_name): rename to...
777         (LayoutNamesEqual): ...this
778
779         * lyxlex_pimpl.C (compare_tags): inherit from
780         std::binary_function, put back into anon namespace
781
782         * lyxfind.C (MatchString): inherig from std::binary_function
783         (findChange): use empty() istead of !size()
784
785         * format.C (FormatNamesEqual): new functor
786         (getFormat): use it
787         (getNumber): use it
788         (add): use it
789         (erase): use it
790         (setViewer): use it
791
792         * converter.C (compare_Converter): rename to...
793         (ConverterEqual): ...this, and fixup a bit.
794         (getConverter): use it, and make function const
795         (getNumber): use it, and make function const
796         (add): use it
797         (erase): use it:
798
799         * bufferlist.C: add using boost::bind
800
801         * MenuBackend.C (MenuNamesEqual): new functor
802         (hasMenu): use it, and make function const
803         (hasSubmenu): use nested bind to get rid of compare_memfun.
804
805 2004-01-30  André Pönitz  <poenitz@gmx.net>
806
807         * BufferView_pimpl.C:
808         * cursor.C:
809         * cursor.h:
810         * cursor_slice.[Ch]:
811         * lyxfunc.C:
812         * lyxtext.h:
813         * paragraph_funcs.C:
814         * paragraph_funcs.h:
815         * rowpainter.C:
816         * text.C:
817         * text2.C:
818         * text3.C: move some of the edit(x,y) handling to the insets
819         some coordinate changes.
820
821 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
822
823         * text.C: add using statements for std::advance and std::distance
824
825         * paragraph.C: add using statement for std::distance
826
827         * lyxfind.C: add using statement for std::advance
828
829         * cursor.C (region): remove std:: from swap
830         (openable): use nucleus in stead of operator->
831
832         * BufferView.C: add using statements for std::distance and std::swap
833
834 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
835
836         * iterators.C: Remove the pimple, move the needed structures to
837         the header file. Create accessor for the positions stack.
838         (asPosIterator): remove function
839
840         * PosIterator.C (PosIterator): move constructors to top of file
841         (PosIterator): reimplement the constructor taking a ParIterator in
842         terms of setFrom.
843         (setFrom): new function
844         (operator!=): inline it
845
846 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
847
848         * lyxfind.C (replaceAll): use std::advance
849
850         * iterators.h: inherit from std::iterator.
851
852         * PosIterator.C (advance, distance): remove
853         * PosIterator.h: interit from std::iterator.
854
855 2004-01-26  André Pönitz  <poenitz@gmx.net>
856
857         * BufferView.[Ch]:
858         * BufferView_pimpl.[Ch]:
859         * InsetList.[Ch]:
860         * PosIterator.[Ch]:
861         * buffer.h:
862         * bufferview_funcs.C:
863         * cursor.[Ch]:
864         * cursor_slice.h:
865         * factory.[Ch]:
866         * iterators.[Ch]:
867         * lyxfind.C:
868         * lyxfunc.C:
869         * lyxtext.h:
870         * output_docbook.C:
871         * output_latex.C:
872         * output_linuxdoc.C:
873         * output_plaintext.C:
874         * paragraph.[Ch]:
875         * paragraph_funcs.[Ch]:
876         * paragraph_pimpl.[Ch]:
877         * rowpainter.C:
878         * tabular.C:
879         * tabular.h:
880         * text.C:
881         * text2.C:
882         * text3.C: more IU:  dumps most of the rest of the mathcursor
883     implementation into cursor.[Ch]; "globalize" a bit of it.
884
885 2004-01-25  Angus Leeming  <leeming@lyx.org>
886
887         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
888
889 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
890
891         * LaTeXFeatures.h: add nice_ and nice() const
892         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
893
894 2004-01-20  André Pönitz  <poenitz@gmx.net>
895
896         * BufferView.[Ch]:
897         * BufferView_pimpl.C:
898         * PosIterator.C:
899         * bufferview_funcs.C:
900         * cursor.[Ch]:
901         * cursor_slice.[Ch]:
902         * factory.C:
903         * iterators.C:
904         * lyx_cb.C:
905         * lyxfind.C:
906         * lyxfunc.C:
907         * lyxtext.h:
908         * rowpainter.C:
909         * text.C:
910         * text2.C:
911         * text3.C:
912         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
913           LCursor and mathcursor parts to LCursor and InsetBase.
914
915 2004-01-15  André Pönitz  <poenitz@gmx.net>
916
917         * cursor_slice.[Ch]: add a few covienience functions
918
919         * funcrequest.[Ch]: remove BufferView * member
920
921         * BufferView_pimpl.C:
922         * cursor.C:
923         * factory.[Ch]:
924         * lyxfind.[Ch]:
925         * lyxfunc.C:
926         * lyxtext.h:
927         * text3.C:
928         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
929
930 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
931
932         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
933         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
934
935 2004-01-13  André Pönitz  <poenitz@gmx.net>
936
937         * textcursor.[Ch]:
938         * lyxtext.h: hide cursor and selection anchor behind accessor function
939
940         * BufferView.C:
941         * BufferView_pimpl.[Ch]:
942         * PosIterator.C:
943         * bufferview_funcs.C:
944         * cursor.h:
945         * lyxfind.C:
946         * lyxfunc.C:
947         * text.C:
948         * text2.C:
949         * text3.C:
950         * undo.C: adjust
951
952         * cursor.h:
953         * cursor_slice.[Ch]: some integer type changes for inset unification
954
955         * lyxcursor.[hC]: remove, it's CursorSlice now.
956
957         * Makefile.am:
958         * BufferView_pimpl.[Ch]:
959         * bufferview_funcs.C:
960         * cursor_slice.C:
961         * lyxtext.h:
962         * text.C:
963         * text2.C:
964         * text3.C:
965         * textcursor.[Ch]: adjust
966
967 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
968
969         * text2.C (undoSpan): add and use
970         * text.C (breakParagraph): use undoSpan (fix bug 578)
971         * lyxtext.h: adjust
972
973 2004-01-08  Angus Leeming  <leeming@lyx.org>
974
975         * BufferView_pimpl.C (MenuInsertLyXFile):
976         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
977         * lyxfunc.C (menuNew, open, doImport):
978         FileFilterList change to the FileDialog open and save functions.
979
980 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
981
982         * ShareContainer.h: make isEqual and isUnique adaptable
983
984         * CutAndPaste.C: make resetOwnerAndChanges adaptable
985
986 2004-01-07  Angus Leeming  <leeming@lyx.org>
987
988         * LyXAction.C:
989         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
990
991         * BufferView_pimpl.C (dispatch): act on these LFUNs.
992
993         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
994         functions replacing find, replace and replaceAll.
995
996         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
997         LFUN_WORDFIND(FORWARD|BACKWARD).
998
999 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1000
1001         * text.C (breakParagraph): remove an outdated #warning
1002
1003 2004-01-07  André Pönitz  <poenitz@gmx.net>
1004
1005         * lyxfind.C: somewhat clearer logic
1006
1007         * text.C: prevent crash in cursorX on unitialized row cache
1008
1009 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1010
1011         * lyxcursor.[Ch] (operator>): add
1012         * textcursor.C (selStart, selEnd): use std::min and std::max
1013
1014 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1015
1016         * Chktex.C: include boost/format.hpp
1017
1018 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1019
1020         * InsetList.C: replace functor MathcIt with adaptable functor
1021         InsetTablePosLess
1022         (insetIterator): modify accordingly
1023
1024         * BranchList.h: move the BranchNamesEqual functor here from...
1025         * BranchList.C: ... to here
1026
1027         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1028         SameName and match.
1029         (add): replace a finding loop with std::find_if.
1030
1031 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1032
1033         * output_docbook.C: moving LatexParam functionality into
1034         .layout files
1035
1036 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1037
1038         * buffer.C: increment format to 229.
1039
1040 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1041
1042         * LaTeXFeatures.C:
1043         * lyx_sty.[Ch]: remove minipageindent_def
1044
1045         * LyXAction.C:
1046         * factory.C:
1047         * lfuns.h:
1048         * lyxfunc.C:
1049         * text3.C: remove LFUN_INSET_MINIPAGE
1050
1051 2003-12-28  Angus Leeming  <leeming@lyx.org>
1052
1053         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1054
1055 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1056
1057         * text2.C (setParagraph): fix off-by-one crash
1058
1059 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1060
1061         * output_docbook.C: header stuff for AGU
1062
1063 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1064
1065         * text2.C (redoCursor): remove
1066         * text.C:
1067         * text3.C:
1068         * BufferView_pimpl.C: remove calls to redoCursor and
1069         setCursor(cursor.par(), cursor.pos()) all around
1070
1071 2003-12-15  Angus Leeming  <leeming@lyx.org>
1072
1073         * buffer.C: up the format to 228.
1074
1075 2003-12-15  André Pönitz  <poenitz@gmx.net>
1076
1077         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1078         slices
1079
1080         * Makefile.am:
1081
1082         * BufferView_pimpl.C:
1083         * cursor.[Ch]:
1084         * lyxcursor.[Ch]:
1085         * rowpainter.[Ch]:
1086         * lyxtext.h:
1087         * text.C:
1088         * text2.C:
1089         * text3.C: adjust
1090
1091 2003-12-15  Angus Leeming  <leeming@lyx.org>
1092
1093         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1094         than getFromGUIName to manipulate the color.
1095
1096 2003-12-14  Angus Leeming  <leeming@lyx.org>
1097
1098         * BranchList.[Ch]: minimize the API.
1099         (Branch::getBranch, getColor): now return a 'const &'.
1100         (Branch::setSelected) now returns a bool set to true if the
1101         selection status changes.
1102         (BranchList::clear, size, getColor, setColor, setSelected,
1103         allBranches, allSelected, separator): removed.
1104         (BranchList::find): new functions, returning the Branch with
1105         the given name.
1106         (BranchList::add, remove): return a bool indicating that
1107         the operation was successful.
1108
1109         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1110         new InsetBranch::isBranchSlected member function.
1111
1112         * LColor.[Ch]: mimimize the API.
1113         (fill): renamed as addColor and made private.
1114         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1115         versions of these functions taking a string arg have been removed.
1116
1117         * bufferparams.C (readToken):
1118         * lyxfunc.C (dispatch):
1119         * lyxrc.C (read): changes due to the altered BranchList and
1120         LColor APIs.
1121
1122         * factory.C (createInset, readInset): changes due to altered
1123         InsetBranch c-tor.
1124
1125 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1126
1127         * factory.C:
1128         * lyxfunc.C: remove insetminipage. "minipage-insert"
1129         now produces a frameless minipage box inset.
1130
1131 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1132
1133         * textcursor.[Ch] (selStart,selEnd): add new methods
1134         remove selection::start, end, use LyXCursor::operator<
1135         * lyxcursor.[Ch] (operator<): add
1136         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1137         * BufferView.[Ch] (unsetXSel): add
1138         * text2.C (clearSelection): use unsetXSel,adjust
1139         * text.C: adjust
1140         * text3.C: adjust
1141         * rowpainter.C: adjust
1142         * bufferview_funcs.C (put_selection_at): adjust
1143
1144 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1145
1146         * BufferView_pimpl.C: small coord. correction
1147
1148 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1149
1150         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1151         dragging over the splash screen.
1152
1153 2003-12-11  Angus Leeming  <leeming@lyx.org>
1154
1155         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1156         as it is now handled in LyXText::dispatch.
1157
1158         * text3.C (doInsertInset): remove a level of nesting.
1159
1160 2003-12-11  Angus Leeming  <leeming@lyx.org>
1161
1162         * factory.C (createInset): changes due to the changed interface to
1163         InsetCommandMailer::string2params.
1164
1165 2003-12-10  Angus Leeming  <leeming@lyx.org>
1166
1167         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1168         'dialog-show-new-inset <inset name>'
1169
1170 2003-12-10  Angus Leeming  <leeming@lyx.org>
1171
1172         * buffer.C: up the format to 227.
1173
1174         * factory.C: the box inset is now identified simply by 'Box'.
1175
1176 2003-12-10  Angus Leeming  <leeming@lyx.org>
1177
1178         * buffer.C: up the format to 226.
1179
1180         * factory.C: the note inset is now identified simply by 'Note'.
1181
1182 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1183
1184         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1185         when a pit is enough. Standarize a couple of loops.
1186
1187 2003-12-05  Angus Leeming  <leeming@lyx.org>
1188
1189         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1190         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1191         data to the re-worked "log" dialog.
1192
1193 2003-12-03  André Pönitz  <poenitz@gmx.net>
1194
1195         * PosIterator.C:
1196         * iterators.C:
1197         * lyxtext.h:
1198         * output_latex.C:
1199         * paragraph_funcs.C:
1200         * text.C:
1201         * text2.C: use Inset::getText instead of Inset::getParagraph
1202
1203 2003-12-03  André Pönitz  <poenitz@gmx.net>
1204
1205         * buffer.[Ch]:
1206         * lyxtext.h:
1207         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1208         InsetText::read() as LyXText::read()
1209
1210 2003-12-02  Angus Leeming  <leeming@lyx.org>
1211
1212         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1213         type. Add a comment in the implementation that the function uses
1214         the stream's bad() function rather than fail() as the std::streams
1215         would do.
1216
1217 2003-12-02  André Pönitz  <poenitz@gmx.net>
1218
1219         * lyxlex.[Ch]: make interface more similar to std::stream
1220
1221         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1222
1223 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1224
1225         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1226
1227 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1228
1229         * vspace.[Ch]: remove VSpace::NONE
1230
1231 2003-12-01  André Pönitz  <poenitz@gmx.net>
1232
1233         * buffer.[Ch]:
1234         * lyxtext.h: move ParagraphList member to LyXText
1235         rename LyXText::ownerParagraphs to LyXText::paragraph
1236
1237         * CutAndPaste.C:
1238         * bufferview_funcs.C:
1239         * iterators.[Ch]:
1240         * lyx_cb.C:
1241         * paragraph.C:
1242         * rowpainter.C:
1243         * tabular.C:
1244         * text.C:
1245         * text2.C:
1246         * text3.C: adjust
1247
1248         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1249
1250         * undo.C: fix cursor positioning
1251
1252 2003-12-01  John Levon  <levon@movementarian.org>
1253
1254         * BufferView_pimpl.C: fix a crash on exit with
1255         a buffer open
1256
1257 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1258
1259         * BranchList.C: fix setSelected() method.
1260
1261 2003-11-28  André Pönitz  <poenitz@gmx.net>
1262
1263         * ParagraphParameters.[Ch]:
1264         * ParameterStruct.h: remove space above/below from Paragraph to
1265          InsetVSpace
1266
1267         * BufferView_pimpl.C:
1268         * factory.C:
1269         * lyxfunc.C:
1270         * lyxtext.h:
1271         * output_latex.C:
1272         * paragraph.C:
1273         * paragraph_funcs.C:
1274         * rowpainter.[Ch]:
1275         * text.C:
1276         * text2.C:
1277         * text3.C: adjust
1278
1279 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1280
1281         * factory.C: Syntax change for CharStyles
1282
1283 2003-11-28  André Pönitz  <poenitz@gmx.net>
1284
1285         * BufferView.[Ch]:
1286         * BufferView.[Ch]:
1287         * buffer.[Ch]:
1288         * buffer.[Ch]: move LyXText member
1289
1290 2003-11-28  André Pönitz  <poenitz@gmx.net>
1291
1292         * BufferView.[Ch]: make LyXText * text a private member
1293
1294         * BufferView_pimpl.C:
1295         * cursor.C:
1296         * iterators.C:
1297         * lyx_cb.C:
1298         * lyxfind.C:
1299         * lyxtext.h:
1300         * rowpainter.[Ch]:
1301         * text.C:
1302         * text2.C:
1303         * undo.C: adjust
1304
1305         * output_plaintext.C: cleanup
1306
1307 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1308
1309         * buffer.C:
1310         * lyxtextclass.[Ch]: parametrize SGML document header
1311
1312 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1313
1314         * converter.[Ch]:
1315         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1316         getFlavor().
1317
1318 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1319
1320         * text2.C (setFont): rework using PosIterator (no more recursive)
1321         (setCharFont): no more needed
1322         (setLayout): no more selection cursors fiddling (done by redoCursor)
1323         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1324         destroy remaining ones)
1325
1326 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1327
1328         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1329         * lyxtext.h: ditto
1330         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1331         selection cursors
1332         * lyxfunc.C: adjust
1333         * text3.C: adjust + re-allow multi par depth changes
1334         * textcursor.C: simplify a bit
1335
1336 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1337
1338         * src/buffer.C:
1339         * src/lyxlayout.C:
1340         * src/lyxlayout.h:
1341         * src/lyxtext.h:
1342         * src/output_docbook.C:
1343         * src/output_latex.C:
1344         * src/paragraph.C:
1345         * src/paragraph.h:
1346         * src/sgml.C:
1347         * src/sgml.h:
1348         * src/text2.C: Introducing a number of tags parametrizing various
1349         XML formats that we may want to support
1350
1351 2003-11-25  André Pönitz  <poenitz@gmx.net>
1352
1353         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1354
1355         * lyxtext.h (leftMargin/rightMargin): simplify interface
1356
1357         * rowpainter.C:
1358         * text.C:
1359         * text2.C:
1360         * text3.C: adjust
1361
1362 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1363
1364         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1365         master file to any child files. Fixes bug 546.
1366
1367 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1368
1369         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1370
1371 2003-11-24  André Pönitz  <poenitz@gmx.net>
1372
1373         * rowpainter.C: simplification
1374
1375         * text2.C (updateCounters): remove call to redoParagraph on
1376         changed labels as this is far too expensive.
1377
1378 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1379
1380         * converter.C (convert): fix a crash: this function gets
1381         called with buffer == 0 from importer code.
1382
1383 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1384
1385         * text3.C (cursorPrevious): make sure that we do not compare
1386         iterators form different containers.
1387         (cursorNext): ditto
1388
1389         * rowpainter.C (paintSelection): make sure that we do not compare
1390         iterators from different containers.
1391
1392         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1393         iterators from different ParagraphList containers.
1394         [NEXT] ditto
1395
1396         * text2.C (LyXText): change order of initialization slightly
1397         (operator=): new function. copy all variables except cache_par_
1398         (moveUp): make sure that we do not compare iterators from
1399         different ParagraphList constainers.
1400         (moveDown): ditto
1401
1402         * text.C (firstPar): new function
1403         (lastPar): new function
1404         (endPar): new function
1405
1406         * lyxtext.h: move things around and group public functions, public
1407         variables, private functions, private variables
1408
1409 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1410
1411         * factory.C: change call to InsetERT constructor to avoid
1412         additional invocation of method status
1413         * text2.C (toggleInset): remove redundant update() call
1414         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1415         instead of a Bufferview pointer
1416
1417 2003-11-21  André Pönitz  <poenitz@gmx.net>
1418
1419         * rowpainter.C: simplification
1420
1421 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1422
1423         * text3.C (dispatch): make possible to extend a word/row selection
1424         with the mouse
1425
1426 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1427
1428         * lyxtext.h: x0_,y0_ -> xo_,yo_
1429         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1430         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1431         * rowpainter.C (paintRows): paint full paragraphs
1432
1433 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1436         screen coordinates)
1437
1438 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1439
1440         * lyxtext.h: add x0_, y0_
1441         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1442         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1443
1444 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1445
1446         * text2.C (setCursorIntern): move the x_target update here *
1447         * text3.C: change some bv() to true/false in calls to
1448         cursorUp/Down/Right/Left
1449         * cursor.C: use helper function.
1450
1451 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1452
1453         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1454         * paragraph_funcs.[Ch]: correct comment
1455         * rowpainter.C: do not paint selections away from bv->cursor()
1456         Fix a long standing selection painting bug.
1457         * text3.C: generalize mouse-selection code to LyXTexts other that
1458         top one
1459         * textcursor.C: do not use y coords if we can use par offsets
1460
1461 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1462
1463         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1464         cursor position after e.g. inset insert)
1465
1466 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1467
1468         * lyxfind.C (replace): adjust to locking removal + some
1469         code simplification
1470
1471 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1472
1473         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1474         of the path
1475
1476 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1477
1478         * lyxlayout.[Ch]:
1479         * output_docbook.C: XML sanitation: new layout
1480         parameters InnerTag and CommandDepth
1481
1482 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1483
1484         * BufferView_pimpl.C:
1485         * factory.C:
1486         * text3.C: Fix the insertion and modification of button-style
1487         insets
1488
1489 2003-11-13  André Pönitz  <poenitz@gmx.net>
1490
1491         * InsetList.[Ch]: remove deleteLyXText
1492
1493         * paragraph.[Ch]: cache beginOfBody position
1494
1495         * Bidi.C:
1496         * text.C:
1497         * text2.C:
1498         * text3.C: remove superfluous update() calls
1499
1500         * vspace.C: cleanup
1501
1502 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1503
1504         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1505         * BufferView.C (fitLockedInsetCursor): remove
1506         * cursor.[Ch] (getDim): add
1507         * text.C (getRowNearY): add faster version
1508         * text3.C: remove some update calls
1509
1510 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1511
1512         * LaTeXFeatures.C:
1513         * LyXAction.C:
1514         * MenuBackend.C:
1515         * MenuBackend.h:
1516         * dispatchresult.h:
1517         * factory.C:
1518         * lfuns.h:
1519         * lyxfunc.C:
1520         * lyxtextclass.C:
1521         * lyxtextclass.h:
1522         * text3.C: The Character Style /XML short element patch.
1523
1524 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1525
1526         * text3.C:
1527         * factory.C: Small step to solving 'unable to insert some insets'
1528         problem
1529
1530 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1531
1532         * cursor.[Ch] (updatePos): new function for updating the y
1533         position of the tip inset
1534         * bufferview_funcs.C (put_selection_at):
1535         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1536
1537 2003-11-11  André Pönitz  <poenitz@gmx.net>
1538
1539         * text.C: remove big comment on invalid Paragraph pointers as it is
1540         not valid anymore
1541
1542 2003-11-11  André Pönitz  <poenitz@gmx.net>
1543
1544         * text_funcs.[Ch]: merge with ...
1545
1546         * text.C: ... this
1547
1548         * lyxtext.h:
1549         * text2.C:
1550         * text3.C: adjust
1551
1552         * Makefile.am: remove text_funcs.[Ch]
1553
1554 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1555
1556         * cursor.C (getPos): return absolute cached y coord
1557
1558         * BufferView_pimpl.C (fitCursor): new simplistic code
1559         (workAreaDispatch): add a fitCursor call
1560
1561 2003-11-10  André Pönitz  <poenitz@gmx.net>
1562
1563         * BufferView.[Ch]:
1564         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1565
1566 2003-11-10  André Pönitz  <poenitz@gmx.net>
1567
1568         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1569         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1570         indicate that the cursor needs to leave an inset
1571
1572         * lyxtext.h: remove inset locking
1573
1574         * cursor.[Ch]: re-implement functionality provided by inset locking
1575
1576         * BufferView.[Ch]:
1577         * BufferView_pimpl.[Ch]:
1578         * LyXAction.C:
1579         * bufferview_funcs.[Ch]:
1580         * factory.C:
1581         * funcrequest.[Ch]:
1582         * iterators.C:
1583         * lyx_cb.C:
1584         * lyxfind.C:
1585         * lyxfunc.C:
1586         * text.C:
1587         * text2.C:
1588         * text3.C:
1589         * undo.C: adjust
1590
1591 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1592
1593         * PosIterator.[Ch]: replace the stack with a vector, add inset
1594         accesor
1595         * iterators.[C]: adjust
1596
1597 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1598
1599         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1600         replaced
1601         * paragraph_funcs.C (readParToken): put the correct id in the
1602         error item, not the id of the top paragraph
1603
1604 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1605
1606         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1607         * bufferview_funcs.C (put_selection_at): use the above
1608
1609 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1610
1611         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1612
1613 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1614
1615         * output_linuxdoc.h:
1616         * output_plaintext.h:
1617         * output.h:
1618         * output_docbook.h: add #include statements
1619
1620 2003-11-05  José Matos  <jamatos@lyx.org>
1621
1622         * output_docbook.[Ch]:
1623         * output_latex.[Ch]:
1624         * output_linuxdoc.[Ch]:
1625         * output_plaintext.[Ch]: New files for output formats.
1626         * output.[Ch]: New file for helper functions.
1627
1628         * buffer.[Ch]:
1629         * paragraph_funcs.[Ch]: output functions moved to new files.
1630
1631         * outputparams.h: rename of latexrunparams.h
1632
1633         * LaTeX.[Ch]:
1634         * buffer.[Ch]:
1635         * bufferlist.[Ch]:
1636         * converter.[Ch]:
1637         * exporter.C:
1638         * paragraph.[Ch]:
1639         * paragraph_funcs.[Ch]:
1640         * paragraph_pimpl.[Ch]:
1641         * tabular.[Ch]: rename ascii to plaintext
1642         and LatexRunParams to OutputParams.
1643
1644 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1645
1646         * iterators.[Ch] (text): require bv argument
1647         * undo.C (recordUndo):
1648         * lyxfunc.C (dispatch):
1649         * bufferview_funcs.C (put_selection_at): adjust
1650
1651 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1652
1653         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1654
1655 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1656
1657         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1658         nestings
1659
1660 2003-11-04  André Pönitz  <poenitz@gmx.net>
1661
1662         * cursor.[Ch]: restructure
1663
1664         * BufferView.[Ch]:
1665         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1666
1667         * iterators.[Ch] (asCursor): remove
1668
1669         * lfuns.h: remove LFUN_INSET_EDIT
1670
1671         * lyxfunc.C:
1672         * tabular.C:
1673         * text.C:
1674         * text2.C:
1675         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1676
1677 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1678
1679         * lyxfind.[Ch]: complete overhaul
1680         * BufferView_pimpl.C:
1681         * lyxfunc.C: adjust
1682         * paragraph.[Ch] (insert): add
1683
1684 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1685
1686         * BufferView.[Ch]:
1687         * lyxtext.h:
1688         * text.C: remove dead spellcheck code
1689
1690 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1691
1692         * dispatchresult.h: add a val setter
1693
1694         * cursor.C (dispatch): use a tempvar for data_[i]
1695
1696 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1697
1698         * PosIterator.[Ch]: compile fix
1699
1700 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1701
1702         * text.C (cursorPar): deactivate the cursor cache
1703
1704 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1705
1706         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1707
1708 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1709
1710         * text3.C (dispatch): adjust for new DisptchResult semantics.
1711
1712         * lyxfunc.C (dispatch): handle update when return from
1713         Cursor::dispatch, adjust for new DispatchResult semantics.
1714
1715         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1716         DispatchResult(true) mean to not update. Add class functions for
1717         setting dispatched and update, as well as reading.
1718
1719         * cursor.C (dispatch): don't handle update here
1720
1721 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1722
1723         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1724         * trans_mgr.C: adjust
1725
1726         * paragraph_funcs.C (readParToken): exception safety
1727
1728         * lyxvc.h: store the vcs pointer in a scoped_ptr
1729         * lyxvc.C: adjust
1730
1731         * lyxsocket.C (serverCallback): exception safety
1732
1733         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1734
1735         * ispell.C (clone): make it return a auto_ptr
1736
1737         * factory.C (createInset): exception safety
1738         (readInset): exception safety
1739
1740         * bufferlist.C (newBuffer): exception safety
1741
1742         * Thesaurus.C (Thesaurus): use initialization for aik_
1743
1744         * MenuBackend.C (expandToc): exception safety.
1745
1746 2003-11-03  André Pönitz  <poenitz@gmx.net>
1747
1748         * buffer.C:
1749         * buffer.h:
1750         * bufferview_funcs.C: remove getInsetFromId()
1751
1752         * lyxcursor.[Ch]:
1753         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1754
1755         * lyxfunc.C:
1756         * text2.C:
1757         * text3.C: adjust
1758
1759 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1760
1761         * PosIterator.C (distance, advance): new
1762         * bufferview_funcs.[Ch] (put_selection_at): new
1763         * iterators.[Ch] (lockPath): new
1764
1765 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1766
1767         * iterators.[Ch] (asPosIterator): added
1768         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1769         * PosIterator.[Ch]: added
1770
1771 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1772
1773         * text3.C:
1774         * lyxfunc.C:
1775         * cursor.C (dispatch):
1776         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1777
1778         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1779         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1780         contructor, add a class function dispatched. Remove operator>=
1781
1782 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1783
1784         * debug.C: only use the default constructor for debugstream
1785         (lyxerr) here.
1786
1787         * main.C (main): include debug.h and setup the lyxerr streambuf
1788         here.
1789
1790 2003-10-31  José Matos  <jamatos@lyx.org>
1791
1792         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1793
1794         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1795         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1796         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1797         * paragraph_pimpl.C (simpleTeXSpecialC):
1798         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1799         add LatexRunParams argument.
1800
1801         * exporter.C (Export): change call accordingly.
1802
1803         * latexrunparams.h: add new member to take care of the other backends.
1804 2003-10-30  José Matos  <jamatos@lyx.org>
1805
1806         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1807         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1808         factorise code for paragraph output.
1809         * buffer.[Ch]:
1810         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1811         move functions.
1812
1813 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1814
1815         * text3.C (dispatch):
1816         * lyxfunc.C (dispatch):
1817         * cursor.C (dispatch):
1818         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1819
1820         * dispatchresult.h: make the dispatch_result_t ctor explicit
1821
1822 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1823
1824         * sgml.[Ch]:
1825         * buffer.C: small refactoring of docbook stuff
1826
1827 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1828
1829         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1830         meaning.
1831
1832 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1833
1834         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1835         operator dispatch_result_t, and operators for == != and >=
1836
1837         * cursor.C (dispatch): adjust for operator dispatch_result_t
1838         removal. comment out call to update
1839
1840         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1841
1842 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1843
1844         * text3.C:
1845         * text2.C:
1846         * text.C:
1847         * lyxtext.h:
1848         * lyxfunc.C:
1849         * cursor.C:
1850         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1851         (dispatch):
1852
1853         * dispatchresult.h: new file, DispatchResult broken out of
1854         insets/insetbase.h
1855
1856         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1857
1858 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1859
1860         * text.C (rowBreakPoint): put a hack inside #if 0
1861
1862 2003-10-28  André Pönitz  <poenitz@gmx.net>
1863
1864         * lyxtext.h:
1865         * metricsinfo.C:
1866         * paragraph_funcs.C:
1867         * rowpainter.C:
1868         * text.C:
1869         * text2.C: general cleanup (lots of small stuff)
1870
1871 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1872
1873         * text2.C (cursorEnd): simple fix to the "end key goes to one
1874         before the end on last row" bug
1875
1876 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1877
1878         * text.C (backspace): fix the "zombie characters"
1879
1880 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1881
1882         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1883
1884 2003-10-27  André Pönitz  <poenitz@gmx.net>
1885
1886         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1887
1888         * factory.C: handle new InsetPagebreak, InsetLine
1889
1890         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1891         and move handling into new InsetPagebreak, InsetLine
1892
1893         * BufferView_pimpl.C:
1894         * LyXAction.C:
1895         * ParagraphParameters.C:
1896         * ParameterStruct.h:
1897         * lyxfunc.C:
1898         * lyxtext.h:
1899         * paragraph.C:
1900         * paragraph.h:
1901         * paragraph_funcs.C:
1902         * paragraph_pimpl.C:
1903         * rowpainter.C:
1904         * text.C:
1905         * text2.C:
1906         * text3.C: adjust
1907
1908 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1909
1910         * text.C:
1911         * lyxrow_funcs.[Ch]:
1912         * Bidi.C:
1913         * paragraph.C:
1914         * lyxtext.h:
1915         * rowpainter.C:
1916         * text2.C:
1917         * text3.C: remove lastPos uses in favour of Row::endpos
1918
1919 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1920
1921         * undo.C (performUndoOrRedo): fix two crashes by setting a
1922         cursor by hand and reordering some calls. Use bv->lockInset instead
1923         of inset->edit because the latter loses cursor information
1924
1925 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1926
1927         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1928         by Martin
1929         (rowBreakPoint): fix width. change point to point + 1.
1930         Add a missing check.
1931
1932 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1933
1934         * MenuBackend.C:
1935         * lyxfunc.C: fix (at least partly) the problems
1936         with the Nav menu and headers inside branch insets
1937         reported by Kayvan
1938
1939 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1940
1941         * paragraph.C (getChar): add strong asserts
1942
1943         * lyxrow_funcs.C (lastPos): remove hideous hack
1944
1945         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1946         (fill): adjust to that (avoid an infinite loop)
1947
1948 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1949
1950         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1951
1952 2003-10-23  André Pönitz  <poenitz@gmx.net>
1953
1954         * RowList_fwd.h: change list<> to vector<> to gain speed
1955         after suggestion from Alfredo
1956
1957 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1958
1959         * lyxtext.h: move the bidi stuff from here...
1960         * text.C: and here
1961         * text2.C: and here
1962         * Bidi.[Ch]: ... to here
1963
1964 2003-10-23  André Pönitz  <poenitz@gmx.net>
1965
1966         * lyxtext.h:
1967         * text.C (isLastRow, isFirstRow): new functions
1968
1969         * paragraph.h: new width cache member
1970
1971         * rowpainter.C: replace RowList::iterator with Row & where possible
1972
1973         * lyxfunc.C: replace several view()->text with a single call
1974
1975         * toc.C: fix 'unused' warning
1976
1977 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1978
1979         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1980         when woring with stream::pos_type
1981         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1982
1983 2003-10-22  André Pönitz  <poenitz@gmx.net>
1984
1985         * lyxtext.h:
1986         * text.C: use Row & instead of RowList::iterator
1987
1988         * lyxrow.h: rename end() to endpos()
1989
1990         * rowpainter.C:
1991         * text.C:
1992         * text2.C: adjust
1993
1994 2003-10-22  Angus Leeming  <leeming@lyx.org>
1995
1996         * buffer.[Ch] (fully_loaded): new member function, returning true
1997         only when the file has been loaded fully.
1998         Used to prevent the premature generation of previews and by the
1999         citation inset to prevent computation of the natbib-style label.
2000
2001         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2002         templates are all set up.
2003
2004         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2005
2006 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2007
2008         * text.C: fixed an "oops" in the "is a bit silly"
2009         bug fix
2010
2011 2003-10-21  André Pönitz  <poenitz@gmx.net>
2012
2013         * FuncStatus.[Ch]: small stuff, whitespace
2014
2015         * lyxfont.[Ch]: operator<<() for debug reasons
2016
2017         * lyxfunc.C:
2018         * lyxrow_funcs.C:
2019         * lyxtext.h: whitespace, spelling
2020
2021         * paragraph.C: naming of variables
2022
2023         * text.C:
2024         * text2.C: small stuff
2025
2026
2027 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2028
2029         * text.C: (1) finish off the inset display() work;
2030         (2) fix the "is a bit silly" bug (accessing char
2031         past end of par).
2032
2033 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2034
2035         * text.C: re-introduce display() for insets, fixing the
2036         various bugs (stretch of line above, math inset
2037         positioning, ...)
2038
2039 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2040
2041         * text.C (rightMargin): remove spurious semicolon
2042
2043         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2044         1415)
2045
2046 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2047
2048         * text3.C: fix one crash due to wrong cursor def
2049
2050 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * vc-backend.C (scanMaster): make the regex static
2053
2054         * LaTeX.C (scanAuxFile): make the regexs static
2055
2056         * text3.C (doInsertInset, dispatch, dispatch):
2057         * text2.C (cursorUp, cursorDown):
2058         * text.C (selectNextWordToSpellcheck):
2059         * BufferView_pimpl.C (dispatch):
2060         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2061
2062 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2063
2064         * lyxsocket.C: include <cerrno>
2065
2066 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2067
2068         * lyxfunc.C (dispatch): remove textcache stuff
2069
2070         * bufferlist.C (release): remove textcache stuff
2071         (closeAll): ditto
2072
2073         * TextCache.C: delete file
2074         * TextCache.h: delete file
2075
2076         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2077
2078         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2079         delete of the bv_->text.
2080         (resizeCurrentBuffer): remove texcache stuff
2081         (workAreaResize): ditto
2082
2083 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2084
2085         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2086         action.
2087
2088 2003-10-16  André Pönitz  <poenitz@gmx.net>
2089
2090         * lyxrow.[Ch]:
2091         * paragraph.h:
2092         * rowpainter.C:
2093         * text.C:
2094         * text2.C:
2095         * text3.C: speed up by storing y positions per paragraph plus per-row
2096         offset instead of having a 'full' y position in the row.
2097
2098 2003-10-15  André Pönitz  <poenitz@gmx.net>
2099
2100         * iterators.[Ch]:
2101         * iterators.[Ch]:
2102         * undo.[Ch]: make undo aware of inner insets
2103
2104 2003-10-14  Angus Leeming  <leeming@lyx.org>
2105
2106         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2107         static member functions LyX::ref() and LyX::cref.
2108         (lastfiles): new accessor functions for the new lastfiles_ member var.
2109         (addLyXView, views_): add a new LyXView to the list of views_.
2110         (updateInset): loop over all LyXViews to call their own updateInset
2111         member function, returning a pointer to the Buffer owning the inset.
2112
2113         * BufferView_pimpl.C (loadLyXFile):
2114         * MenuBackend.C (expandLastfiles):
2115         * bufferlist.C (MenuWrite, QuitLyX):
2116         lastfiles is no longer a global variable.
2117         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2118
2119         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2120         static function. Access through LyX::cref().emergencyCleanup().
2121
2122 2003-10-14  André Pönitz  <poenitz@gmx.net>
2123
2124         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2125
2126         * undo.[Ch]: restoring part of 'undo in insets'
2127
2128         * Makefile.am:
2129         * undo_funcs.[Ch]: merge with undo.[Ch]
2130
2131         * tabular.C: small cleansing stuff
2132
2133 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2134
2135         * paragraph_funcs.C (readParToken): report unknown insets as error
2136         boxes. Use the outer paragraph as location (also for unknown
2137         tokens).
2138
2139         * factory.C (readInset): do not abort on reading an unknown inset.
2140         Eat it and return 0.
2141
2142 2003-10-13  Angus Leeming  <leeming@lyx.org>
2143
2144         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2145
2146         * lyxrc.C: displayTranslator is now a function,
2147         declared in GraphicsTypes.h.
2148
2149 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2150
2151         * format.C: new placeholder $$a to pass the socket address.
2152
2153         * bufferlist.[Ch]: new function getBufferFromTmp.
2154
2155         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2156           files in the temporary dir.
2157
2158 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2159
2160         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2161
2162         * Makefile.am: add lyxsocket.[Ch].
2163
2164         * lyx_main.C (error_handler): handle SIGPIPE.
2165
2166 2003-10-13  André Pönitz  <poenitz@gmx.net>
2167
2168         * BufferView_pimpl.C:
2169         * lyxtext.h:
2170         * text.C:
2171         * text2.C:
2172         * text3.C:
2173         * undo_funcs.[Ch]: use paroffset_type instead of
2174           ParagraphList::iterators to prevent multiple conversion
2175           (and get a more robust interface)
2176
2177 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2178
2179         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2180         * lyxtext.h: ditto
2181         * text3.C (dispatch): ditto
2182
2183 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2184
2185         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2186         move the onlyfile, use onlyfile instead of foundfile in a couple
2187         of places.
2188
2189         * DepTable.C (update): flush the error stream a bit more
2190
2191 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2192
2193         * lyxserver.C (callback): adjust
2194
2195         * lyxfunc.C (getStatus): add a missing brace in commented code
2196         (ensureBufferClean): reindent
2197         (dispatch): delete version taking a string
2198
2199 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2200
2201         * LaTeX.C (deplog): move found file handlig from here...
2202         (handleFoundFile): .. to new function here.
2203         (deplog): make sure to discover several files mentioned on the
2204         same log line.
2205
2206 2003-10-10  André Pönitz  <poenitz@gmx.net>
2207
2208         * lyxfunc.C:
2209         * lyxtext.h:
2210         * tabular.C:
2211         * text.C:
2212         * text2.C:
2213         * text3.C: fix some of the tabular crashes
2214
2215 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2216
2217         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2218
2219         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2220
2221 2003-10-09  André Pönitz  <poenitz@gmx.net>
2222
2223         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2224
2225         * BufferView.C:
2226         * BufferView_pimpl.C:
2227         * bufferview_funcs.C:
2228         * lyx_cb.C:
2229         * lyxcursor.C:
2230         * lyxfind.C:
2231         * lyxfunc.C:
2232         * lyxtext.h:
2233         * text.C:
2234         * text2.C:
2235         * text3.C:
2236         * text_funcs.[Ch]:
2237         * textcursor.[Ch]:
2238         * undo_funcs.C: adjust
2239
2240 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2241
2242         * text2.C (incrementItemDepth): new function, use a backtracking
2243         algorithm to discover the correct item depth.
2244         (resetEnumCounterIfNeeded): new function, use a backtracking
2245         algorithm to discover if counter reset is needed.
2246         (setCounter): use them. Simplify a bit. Add different labels for
2247         different item depths for itemize.
2248
2249         * paragraph.C (Paragraph): remove initialization of enumdepth
2250         (operator=): ditto
2251
2252         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2253         enumerate and itemize. Change the type of itemdepth to signed char.
2254
2255 2003-10-08  André Pönitz  <poenitz@gmx.net>
2256
2257         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2258           thing assignable.
2259         * text.C:
2260         * text2.C: adjust
2261
2262         * tabular.[Ch]: fix crash after 'row-insert'
2263
2264 2003-10-08  Angus Leeming  <leeming@lyx.org>
2265
2266         Fix doxygen warnings.
2267
2268         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2269         Remove CutAndPaste:: prefix from header file declaration.
2270
2271         * LColor.h (fill): remove LColor:: prefix from declaration.
2272
2273         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2274         use lyx::depth_type rather than Paragraph::depth_type so that
2275         header file and .C file match.
2276
2277         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2278
2279         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2280         * aspell.C: \file aspell_local.C -> \file aspell.C
2281         * gettext.C: \file gettext.C -> \file src/gettext.C
2282         * gettext.h: \file gettext.h -> \file src/gettext.h
2283         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2284         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2285         * text.C: \file text.C -> \file src/text.C
2286
2287         * toc.C: move comment so that doxygen is not confused.
2288
2289 2003-10-07  Angus Leeming  <leeming@lyx.org>
2290
2291         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2292
2293 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2294
2295         * aspell.C:
2296         * aspell_local.h: add forgotten std::string's.
2297
2298 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2299
2300         * LaTeXFeatures.C:
2301         * LyXAction.C:
2302         * factory.C:
2303         * lfuns.h:
2304         * lyxfunc.C:
2305         * text3.C: The Box patch. Fancybox support, minipage, parbox
2306
2307 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2308
2309         * CutAndPaste.h:
2310         * DepTable.h:
2311         * FloatList.h:
2312         * LaTeXFeatures.h:
2313         * ParagraphParameters.h:
2314         * TextCache.h:
2315         * Thesaurus.h:
2316         * bufferlist.h:
2317         * exporter.h:
2318         * importer.h:
2319         * lastfiles.h:
2320         * lyxfind.h:
2321         * lyxfont.h:
2322         * lyxlex.h:
2323         * lyxtextclasslist.h:
2324         * messages.h:
2325         * paragraph.h:
2326         * paragraph_pimpl.C:
2327         * textcursor.h: add <string> and other small fixes to make Lars'
2328         std::string patch compile with STLport.
2329
2330 2003-10-06  Angus Leeming  <leeming@lyx.org>
2331
2332         * LColor.h: Add missing #include <string>.
2333
2334 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2335
2336         * All most all file in all subdirs: Make <string> be the prefered
2337         way of getting to std::string, add using declarations.
2338
2339 2003-10-06  André Pönitz  <poenitz@gmx.net>
2340
2341         * metricsinfo.C: initialize LyXFont before changing attribute.
2342         (fixes the 'math in \emph is upright' bug)
2343
2344 2003-10-06  André Pönitz  <poenitz@gmx.net>
2345
2346         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2347
2348 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2349
2350         * graph.C:
2351         * paragraph_pimpl.C: Small fixes to build using STLport
2352
2353 2003-10-02  André Pönitz  <poenitz@gmx.net>
2354
2355         * lyxfunc.C:
2356         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2357
2358 2003-10-01  André Pönitz  <poenitz@gmx.net>
2359
2360         * factory.C: assert early
2361
2362 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * lyx_main.C: remove the global debug object
2365
2366         * debug.h: adjust for new debugstream
2367
2368         * debug.C: adjust for new debugstream and keep the global debug
2369         object here.
2370
2371 2003-09-22  Angus Leeming  <leeming@lyx.org>
2372
2373         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2374         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2375         an incomplete class LyXFont.
2376
2377 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2378
2379         * factory.C: bug fix in branches
2380
2381 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2382
2383         * lyxfunc.C (processKeySym): adjust
2384         (dispatch): adjust
2385         (dispatch): change arg name from ev to func, adjust
2386         (sendDispatchMessage): ditto
2387
2388         * lyx_main.C (defaultKeyBindings): adjust keybindings
2389         (deadKeyBindings): ditto
2390
2391         * kbsequence.C (addkey): return a FuncRequest
2392
2393         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2394
2395         * kbmap.C (bind): take a FuncRequest as arg, adjust
2396         (read): adjust
2397         (lookup): adjust
2398         (defkey): change to take a FuncRequest as arg, adjust
2399         (findbinding): take a FuncRequest as arg, adjust.
2400
2401         * funcrequest.h (operator=): added
2402
2403         * funcrequest.C (FuncRequest): default kb_action changed from
2404         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2405
2406         * buffer.C (dispatch): simplify
2407         (dispatch): adjust to take a FuncRequest as arg, adjust
2408
2409         * boost.C (assertion_failed): change assertion message slightly
2410
2411         * ToolbarBackend.C (read): simplify
2412
2413         * MenuBackend.C (binding): adjust call to findbinding, add a
2414         message if no binding is found.
2415         (read): simplify
2416         (expandToc): correct by adding a empty FuncRequest
2417
2418         * LyXAction.C: include <boost/assert.hpp>
2419         (isPseudoAction): delete function
2420         (LookupFunc): change name to...
2421         (lookupFunc): this. change return type to FuncRequest.
2422         (getActionName): take kb_action as arg, simplify
2423         (funcHasFlag): add an assert, simplify.
2424
2425 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2426
2427         * toc.C (action): return a FuncRequest, simplify
2428
2429         * lyxfunc.C (processKeySym): adjust
2430         (getStatus): delete version that takes an int.
2431         (getStatus): adjust
2432         (dispatch): delete version that takes action as int
2433         (dispatch): adjust
2434         (sendDispatchMessage): simplify and adjust
2435
2436         * funcrequest.C (getArg): take unsigned int as arg
2437
2438         * ToolbarBackend.C (read): adjust
2439         (add): delete version that takes func as a string.
2440         (getIton): take a FuncRequest as arg
2441
2442         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2443         action.
2444
2445         * MenuBackend.C (MenuItem): add a new construct that only takes a
2446         Kind, simplify the constructor use for submenus.
2447         (add): adjust
2448         (expandLastfiles): adjust
2449         (expandDocuments): adjust
2450         (expandFormats): adjust
2451         (expandFloatListInsert): adjust
2452         (expandFloatInsert): adjust
2453         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2454
2455         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2456         Remove class variables lyx_pseudo_map and lyx_arg_map
2457
2458         * LyXAction.C (searchActionArg): delete function
2459         (getPseudoAction): delete function
2460         (retrieveActionArg): delete function
2461         (LookupFunc): make it return kb_action, simplify.
2462         (getActionName): simplify
2463
2464         * factory.C (createInset): fix new bug
2465
2466 2003-09-19  Angus Leeming  <leeming@lyx.org>
2467
2468         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2469         masterFilename_ parameter in the include inset.
2470
2471         * factory.C (createInset): changes due to the changes to InsetInclude.
2472
2473 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2474
2475         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2476
2477 2003-09-18  Angus Leeming  <leeming@lyx.org>
2478
2479         * buffer.C:
2480         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2481         Inset::fillWithBibKeys.
2482         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2483
2484 2003-09-18  Angus Leeming  <leeming@lyx.org>
2485
2486         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2487         variables.
2488         (ctor): pass and store a 'Buffer const &'
2489         (buffer): new member function.
2490
2491         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2492         '*this' to the LaTeXFeatures ctor.
2493
2494 2003-09-18  Angus Leeming  <leeming@lyx.org>
2495
2496         * LColor.h:
2497         * lyxfont.C:
2498         * lyxfont.h:
2499         * lyxtext.h:
2500         * text.C: rename EnumLColor as LColor_color.
2501
2502 2003-09-18  Angus Leeming  <leeming@lyx.org>
2503
2504         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2505         remove #include "insets/insetbase.h" from cursor.h.
2506
2507 2003-09-18  Angus Leeming  <leeming@lyx.org>
2508
2509         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2510         InsetOld_code to remove #include "inset.h".
2511
2512         * iterators.C: add #include "insets/inset.h"
2513
2514 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2515
2516         * BufferView.C: remove more locking stuff that apparently doesn't
2517         do anything sensible.
2518
2519 2003-09-16  André Pönitz  <poenitz@gmx.net>
2520
2521         * paragraph.[Ch]:
2522         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2523           performance boost.
2524
2525 2003-09-16  Angus Leeming  <leeming@lyx.org>
2526
2527         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2528
2529         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2530         arg/return type.
2531
2532         * paragraph.h: remove #include "lyxfont.h". Forward declare
2533         LyXFont_size.
2534
2535 2003-09-16  Angus Leeming  <leeming@lyx.org>
2536
2537         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2538         of support/textutils.h.
2539         (isWord): move the contents of support/textutils.h's IsWordChar here.
2540
2541         * buffer.C:
2542         * lyxfind.C:
2543         * rowpainter.C:
2544         * text.C:
2545         * text2.C: add #include "paragraph.h".
2546
2547         * rowpainter.C:
2548         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2549
2550 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2551
2552         * main.C:
2553         * lyx_main.C:
2554         * lyx_cb.C:
2555         * buffer.C:
2556         * LaTeX.C: use namespace alias for lyx::support::os
2557
2558 2003-09-16  Angus Leeming  <leeming@lyx.org>
2559
2560         * bufferparams.C:
2561         * bufferview_funcs.C:
2562         * factory.C:
2563         * lyxfunc.C:
2564         * paragraph_pimpl.C:
2565         * rowpainter.C:
2566         * text.C: add #include "LColor.h".
2567
2568 2003-09-16  Angus Leeming  <leeming@lyx.org>
2569
2570         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2571         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2572         return LyXFont &.
2573         Store the FontBits::color variable as an int rather than as an
2574         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2575         file.
2576
2577         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2578         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2579         string calls together.
2580
2581         * lyxrc.C: add #include "LColor.h".
2582
2583 2003-09-15  Angus Leeming  <leeming@lyx.org>
2584
2585         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2586         a cow_ptr.
2587
2588 2003-09-15  Angus Leeming  <leeming@lyx.org>
2589
2590         * LColor.h: add an EnumLColor wrapper for LColor::color.
2591
2592         * lyxfont.[Ch] (color, setColor, realColor):
2593         * lyxtext.h, text.C (backgroundColor):
2594         pass EnumLColor args to/from the functions, rather than LColor::color
2595         ones.
2596
2597         * lyxfont.h:
2598         * lyxtext.h: forward declare EnumLColor.
2599
2600         * lyx_main.C: add #include "LColor.h".
2601
2602 2003-09-15  Angus Leeming  <leeming@lyx.org>
2603
2604         * .cvsignore: add lyx-gtk.
2605
2606 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * Chktex.C
2609         * LaTeX.C
2610         * LaTeXFeatures.C
2611         * ParagraphParameters.C
2612         * Spacing.C
2613         * buffer.C
2614         * bufferparams.C
2615         * bufferview_funcs.C
2616         * chset.C
2617         * counters.C
2618         * funcrequest.C
2619         * lyxfont.C
2620         * lyxgluelength.C
2621         * lyxlength.C
2622         * paragraph.C
2623         * paragraph_funcs.C
2624         * text3.C
2625         * vc-backend.C: remove usage of STRCONV
2626
2627 2003-09-15  Angus Leeming  <leeming@lyx.org>
2628
2629         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2630         explicitly define the color passed to the painter.
2631
2632 2003-09-15  Angus Leeming  <leeming@lyx.org>
2633
2634         * bufferparams.C (BufferParams): reorder member initializers to avoid
2635         compiler warning.
2636
2637 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2638
2639         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2640         * text.C (updateRowPositions): remove an unusual nop
2641
2642 2003-09-12  André Pönitz  <poenitz@gmx.net>
2643
2644         * BufferView_pimpl.C:
2645         * Bullet.C:
2646         * layout.h:
2647         * lyxfunc.C:
2648         * lyxlayout.[Ch]:
2649         * lyxtextclass.C:
2650         * rowpainter.C:
2651         * text.C:
2652         * text2.C:
2653         * Counters.[Ch]: finish the 'automatic counters' job
2654
2655 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2656
2657         * aspell.C: include <boost/assert.cpp> (compile fix)
2658
2659 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2660
2661         * boost.C (assertion_failed): use lyx::support::abort instead of
2662         assert.
2663
2664 2003-09-10  Angus Leeming  <leeming@lyx.org>
2665
2666         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2667         with their _fwd progeny.
2668
2669 2003-09-09  Angus Leeming  <leeming@lyx.org>
2670
2671         134 files throughtout the source tree: replace 'using namespace abc;'
2672         directives with the appropriate 'using abc::xyz;' declarations.
2673
2674 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2675
2676         * boost.C (emergencyCleanup): moved here from LAssert.c
2677         (assertion_failed): new function, called by BOOST_ASSERT
2678
2679         * several files: change Assert to BOOST_ASSERT
2680
2681 2003-09-09  Angus Leeming  <leeming@lyx.org>
2682
2683         * buffer.[Ch]: Add an Impl class and move Buffer's member
2684         variables into it. As a result move several header files out of
2685         buffer.h.
2686
2687         Add header files to lots of .C files all over the tree as a result.
2688
2689 2003-09-09  Angus Leeming  <leeming@lyx.org>
2690
2691         * buffer.[Ch]: make Buffer's member variables private. Add
2692         accessor functions.
2693
2694         Lots of changes all over the tree as a result.
2695
2696 2003-09-08  Angus Leeming  <leeming@lyx.org>
2697
2698         * graph.C: #include <config.h>.
2699
2700 2003-09-08  Angus Leeming  <leeming@lyx.org>
2701
2702         * BranchList.C:
2703         * BufferView.C:
2704         * BufferView_pimpl.C:
2705         * CutAndPaste.C:
2706         * DepTable.C:
2707         * LaTeX.C:
2708         * LaTeXFeatures.C:
2709         * LyXAction.C:
2710         * MenuBackend.C:
2711         * TextCache.C:
2712         * aspell.C:
2713         * buffer.C:
2714         * bufferlist.C:
2715         * changes.C:
2716         * chset.C:
2717         * converter.C:
2718         * counters.C:
2719         * debug.C:
2720         * graph.C:
2721         * ispell.C:
2722         * lyx_cb.C:
2723         * lyxfind.C:
2724         * lyxfunc.C:
2725         * lyxlex_pimpl.C:
2726         * lyxrc.C:
2727         * lyxrow.C:
2728         * paragraph.C:
2729         * rowpainter.C:
2730         * texrow.C:
2731         * text.C:
2732         * text2.C:
2733         * toc.C: remove redundant using directives.
2734
2735 2003-09-07  Angus Leeming  <leeming@lyx.org>
2736
2737         * LaTeXFeatures.h: remove #include "support/types.h".
2738         * ToolbarBackend.h: remove #include <algorithm>.
2739         * changes.h: remove #include <ctime>.
2740         * debug.h: remove #include <iosfwd>.
2741         * graph.h: remove #include "support/std_string.h".
2742         * lyx_main.h: remove #include <csignal>.
2743         * lyxlex_pimpl.h: remove #include <fstream>.
2744         * sgml.h: remove #include <algorithm>, <utility>.
2745         * toc.h: remove #include "support/std_ostream.h".
2746         Add #include <iosfwd>.
2747
2748 2003-09-07  Angus Leeming  <leeming@lyx.org>
2749
2750         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2751
2752         * converter.h: forward declare LatexRunParams.
2753         * encoding.h: remove #include "lyxrc.h".
2754         * lyxtext.h: remove #include "LColor.h".
2755         * lyxtextclass.h: remove #include "support/types.h".
2756         * trans.h: remove #include "tex-accent.h".
2757         * trans_mgr.h: remove #include "tex-accent.h".
2758         * insets/inset.h: remove #include "support/types.h", <vector>.
2759         * insets/insetcollapsable.h: remove #include "LColor.h".
2760         * insets/insetinclude.h: remove #include "dimension.h".
2761         * insets/insetlatexaccent.h: remove #include "dimension.h".
2762         * insets/insetoptarg.h:: remove #include "insettext.h".
2763         * insets/insettext.h: remove #include "dimension.h",
2764         <boost/shared_ptr.hpp>
2765
2766         * insets/renderers.h: add #include "dimension.h".
2767         * insets/updatableinset.h: add #include "support/types.h".
2768
2769         * many .C files: Associated changes.
2770
2771 2003-09-06  Angus Leeming  <leeming@lyx.org>
2772
2773         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2774         one, inside testInvariant.
2775
2776         * PrinterParams.C: new file.
2777         * PrinterParams.[Ch]: move the function bodies out of line.
2778
2779 2003-09-06  Angus Leeming  <leeming@lyx.org>
2780
2781         * ParagraphParameters.h: forward declare ParameterStruct rather than
2782         including its header file.
2783         (depth): moved out-of-line.
2784
2785 2003-09-06  Angus Leeming  <leeming@lyx.org>
2786
2787         * BufferView_pimpl.h:
2788         * kbmap.h:
2789         * kbsequence.h:
2790         * lyxfunc.h: forward declare LyXKeySym rather than
2791         #include "frontends/LyXKeySym.h".
2792
2793         * BufferView_pimpl.C:
2794         * kbmap.C:
2795         * kbsequence.C:
2796         * lyxfunc.C: associated changes.
2797
2798 2003-09-06  Angus Leeming  <leeming@lyx.org>
2799
2800         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2801         As a result, can remove the #include "insets/inset.h" from BufferView.h
2802
2803 2003-09-06  Angus Leeming  <leeming@lyx.org>
2804
2805         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2806         As a result, can remove the #include "insets/inset.h" from BufferView.h
2807
2808 2003-09-06  Angus Leeming  <leeming@lyx.org>
2809
2810         * buffer_funcs.C:
2811         * buffer.h:
2812         * bufferlist.C:
2813         * BufferView.C:
2814         * bufferview_funcs.C:
2815         * BufferView_pimpl.C:
2816         * CutAndPaste.C:
2817         * lyx_cb.C:
2818         * lyxfunc.C:
2819         * paragraph.h:
2820         * ParagraphParameters.C:
2821         * tabular.C:
2822         * text3.C:
2823         * toc.C:
2824         * undo_funcs.C:
2825         * frontends/controllers/ControlDocument.C:
2826         * insets/insetcaption.C: rearrange the #includes into some sort of
2827         coherent order.
2828
2829         * buffer.h: remove #includes ErrorList.h, undo.h
2830
2831 2003-09-06  Angus Leeming  <leeming@lyx.org>
2832
2833         * support/types.h: add a 'depth_type' typedef, used to store the
2834         nesting depth of a paragraph.
2835
2836         * paragraph.h:
2837         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2838         defining explicitly.
2839
2840         * buffer.h:
2841         * paragraph_funcs.h:
2842         * ParagraphParameters.h:
2843         * sgml.h: use lyx::depth_type rather than Paragraph or
2844         ParameterStruct's depth_type.
2845
2846         * buffer.h
2847         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2848
2849         * BufferView.C:
2850         * BufferView_pimpl.C:
2851         * CutAndPaste.C:
2852         * ParagraphParameters.C:
2853         * buffer_funcs.C:
2854         * bufferlist.C:
2855         * bufferview_funcs.C:
2856         * lyx_cb.C:
2857         * lyxfunc.C:
2858         * tabular.C:
2859         * text3.C:
2860         * toc.C:
2861         * undo_funcs.C:
2862         * frontends/LyXView.C:
2863         * frontends/controllers/ControlDocument.C:
2864         * frontends/controllers/ControlErrorList.C:
2865         * insets/insetbibitem.C:
2866         * insets/insetbranch.C:
2867         * insets/insetcaption.C:
2868         * insets/insetcollapsable.C:
2869         * insets/insetenv.C:
2870         * insets/insetert.C:
2871         * insets/insetfloat.C:
2872         * insets/insetfoot.C:
2873         * insets/insetfootlike.C:
2874         * insets/insetnewline.C:
2875         * insets/insetquotes.C:
2876         * insets/insettabular.C:
2877         * insets/insettext.C:
2878         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2879
2880         * frontends/controllers/ControlChanges.C: #include "changes.h".
2881
2882 2003-09-06  Angus Leeming  <leeming@lyx.org>
2883
2884         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2885         than #including paragraph.h.
2886
2887         * ParagraphList.h:
2888         * RowList.h: deleted. Superfluous.
2889
2890         * CutAndPaste.h:
2891         * iterators.h:
2892         * lyxcursor.h:
2893         * lyxtext.h:
2894         * text_funcs.h:
2895         * undo.h:
2896         * undo_funcs.h:
2897         * insets/inset.h:
2898         * insets/insettext.h: use ParagraphList_fwd.h rather than
2899         ParagraphList.h.
2900
2901         * paragraph.h: don't forward declare ParagraphList.
2902
2903         * buffer.h:
2904         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2905         rather than ParagraphList.h. paragraph.h is still needed for the
2906         Paragraph::depth_type parameters.
2907
2908         * textcursor.h: enable it to compile stand-alone in light of the
2909         above changes.
2910
2911         * bufferview_funcs.C:
2912         * iterators.C:
2913         * lyxfunc.C:
2914         * lyxrow_funcs.C:
2915         * paragraph.C:
2916         * rowpainter.C:
2917         * text.C:
2918         * text2.C:
2919         * text3.C:
2920         * text_funcs.C:
2921         * textcursor.C:
2922         * undo.C:
2923         * frontends/controllers/ControlParagraph.C:
2924         * frontends/controllers/ControlTabular.C:
2925         * insets/insetmarginal.C:
2926         * insets/insetminipage.C:
2927         * insets/insetnote.C:
2928         * insets/insetoptarg.C: add header files needed to compile again.
2929
2930 2003-09-06  Angus Leeming  <leeming@lyx.org>
2931
2932         * RowList_fwd.h: new file, forward-declaring Row rather than
2933         #including lyxrow.h.
2934
2935         * lyxrow_funcs.h:
2936         * lyxtext.h:
2937         * paragraph.h:
2938         * insets/insettext.h: use it instead of RowList.h
2939
2940         * bufferview_funcs.C:
2941         * lyxfunc.C:
2942         * lyxrow_funcs.C:
2943         * paragraph.C:
2944         * rowpainter.C:
2945         * text.C:
2946         * text2.C:
2947         * text3.C: #include "RowList.h".
2948
2949 2003-09-05  Angus Leeming  <leeming@lyx.org>
2950
2951         * factory.C (createInset):
2952         * vspace.C (c-tor): replace sscanf call with an istringstream.
2953         * ispell.C: re-add missing HP/UX headers.
2954         * lyxserver.C: re-add missing  os2 headers.
2955
2956 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2957
2958         * BranchList.C:
2959         * graph.C:
2960         * ispell.C:
2961         * lastfiles.C:
2962         * lyx_cb.C:
2963         * lyxserver.C:
2964         * texrow.C:
2965         * text3.C: re-add missing system headers, needed for 2.95.2.
2966
2967 2003-09-05  Angus Leeming  <leeming@lyx.org>
2968
2969         Changes most place everywhere due to the removal of using directives
2970         from support/std_sstream.h.
2971
2972 2003-09-05  Angus Leeming  <leeming@lyx.org>
2973
2974         Replace LString.h with support/std_string.h,
2975         Lsstream.h with support/std_sstream.h,
2976         support/LIstream.h with support/std_istream.h,
2977         support/LOstream.h with support/std_ostream.h.
2978
2979         Changes resulting throughout the tree.
2980
2981 2003-09-05  Angus Leeming  <leeming@lyx.org>
2982
2983         * sgml.h: ensure that the header file can be compiled stand-alone.
2984         * *.C: strip out redundant #includes. (320 in total.)
2985
2986 2003-09-04  Angus Leeming  <leeming@lyx.org>
2987
2988         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2989         here (from getPackages).
2990
2991         * debug.[Ch]: add a new EXTERNAL tag.
2992
2993 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2994
2995         * text2.C (cursorEnd): simplify
2996         (setCursor): adjust
2997         (getColumnNearX): adjust
2998
2999         * text.C (computeBidiTables): adjust
3000         (fill): adjust
3001
3002         * rowpainter.C (paintChars): adjust
3003         (paintSelection): adjust
3004         (paintChangeBar): adjust
3005         (paintText): adjust
3006
3007         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3008         lastPos instead.
3009         (numberOfSeparators): adjust
3010
3011 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3012
3013         * LyXAction.C:
3014         * box.[Ch]:
3015         * lfuns.h:
3016         * lyxfunc.C:
3017         * text3.C: Restricts the mouse click functionality
3018         of insets like bibtex, include, toc and floatlist to the visible
3019         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3020         up the dialogs. Cursor has to be in front of the inset (i.e.
3021         start of row) for this to function.
3022
3023 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3024
3025         * bufferview_funcs.C (currentState): output row information
3026
3027 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3028
3029         * bufferview_funcs.C (currentState): output paragraph position
3030
3031 2003-09-04  Angus Leeming  <leeming@lyx.org>
3032
3033         * FloatList.h: move out #include "Floating.h".
3034         * LaTeX.h: move out #include "DepTable.h".
3035         * LyXAction.h: move out #include "funcrequest.h".
3036         * buffer.h: move out #include "author.h", "iterators.h".
3037         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3038         * lyx_main.h: move out #include "errorlist.h".
3039         * lyxfunc.h: move out #include "FuncStatus.h".
3040         * lyxtext: move out #include "lyxcursor.h".
3041         * paragraph_pimpl.h: move out #include "counters.h".
3042
3043 2003-09-03  Angus Leeming  <leeming@lyx.org>
3044
3045         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3046         preamble_snippets list, enabling us to add snippets to the preamble
3047         only if the snippet was not there already.
3048
3049 2003-09-04  Angus Leeming  <leeming@lyx.org>
3050
3051         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3052
3053 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3056         update
3057
3058 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3059
3060         * BranchList.C: point fix, earlier forgotten
3061
3062 2003-09-02  Angus Leeming  <leeming@lyx.org>
3063
3064         * box.C (contains): renamed from 'contained' after a fantastic
3065         amount of hot air.
3066
3067 2003-09-02  John Levon  <levon@movementarian.org>
3068
3069         * BufferView.C:
3070         * lyxcursor.h:
3071         * lyxcursor.C:
3072         * lyxfunc.C:
3073         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3074
3075 2003-09-02  John Levon  <levon@movementarian.org>
3076
3077         * text2.C: simplification of cursorEnd(), including partial
3078         fix for bug 1376
3079
3080 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3081
3082         * buffer.C (readFile): add a space
3083
3084 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3085
3086         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3087
3088 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * buffer.C (readFile): new function, take a filename and a
3091         ParagraphList::iterator
3092         (readFile): adjust
3093         (readFile): adjust, make it private. don't use setStream, make
3094         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3095         always contain the filename.
3096
3097         * BufferView.C (insertLyXFile): simplify and make it work for
3098         gzipped files.
3099
3100 2003-08-30  John Levon  <levon@movementarian.org>
3101
3102         * Makefile.am: fix dist (from Kayvan)
3103
3104 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3105
3106         * most files: change to use const Buffer refs
3107
3108 2003-08-27  André Pönitz  <poenitz@gmx.net>
3109
3110         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3111         on top of ownerPar().
3112
3113 2003-08-27  John Levon  <levon@movementarian.org>
3114
3115         * funcrequest.C: properly initialise POD members
3116
3117 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3118
3119         * lyxtext.h (top_y): move top_y from here
3120         * text.C:
3121         * text2.C:
3122         * text3.C:
3123         * BufferView.[Ch]:
3124         * BufferView_pimpl.[Ch]: to here
3125         * frontends/screen.C:
3126         * insets/insettabular.C:
3127         * insets/insettext.C: adjust
3128         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3129
3130 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3131
3132         * BufferView.[Ch]:
3133         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3134
3135 2003-08-26  André Pönitz  <poenitz@gmx.net>
3136
3137         * paragraph_func.[Ch] (outerPar): new function
3138
3139         * paragraph.C:
3140         * paragraph_funcs.C:
3141         * paragraph_funcs.h:
3142         * paragraph_pimpl.C:
3143         * text2.C: remove Inset::par_owner
3144
3145 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3146
3147         * lyxrow_funcs.C:
3148         * lyxtext.h:
3149         * text.C:
3150         * text2.C: eliminates the needFullRow/display() stuff
3151         altogether, putting the logic in metrics/draw in the insets.
3152
3153 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3154
3155         * text2.C (redoParagraphInternal, redoParagraphs):
3156         * text.C (redoParagraph): add a call to updateRowPositions at the
3157         end of each 'metrics-like' call. Remove all others.
3158         (getRow): remove the 'y-computing' version.
3159         (getRowNearY): do not compute nor return the real y. Solve the
3160         'y < 0' problem and simplify.
3161
3162 2003-08-22  Angus Leeming  <leeming@lyx.org>
3163
3164         * *.[Ch]: clean-up of licence and author blurbs.
3165         Also move config.h out of a few .h files and into a few .C files.
3166
3167 2003-08-22  André Pönitz  <poenitz@gmx.net>
3168
3169         * lyxrow.[Ch]: add x_ and *fill_ members
3170
3171         * lyxtext.h:
3172         * text.C:
3173         * rowpainter.C:
3174         * text2.C: adjust/remove prepareToPrint() calls
3175
3176 2003-08-22  André Pönitz  <poenitz@gmx.net>
3177
3178         * lyxrow.[Ch]: add  end_ member
3179
3180         * lyxrow_funcs.C: use LyXRow::end_
3181
3182         * lyxtext.h (singleWidth): add LyXFont parameter
3183
3184         * rowpainter.C:
3185         * text2.C: adjust LyXText::singleWidth() calls
3186
3187         * text.C (redoParagraph): simplify row breaking logic
3188
3189
3190 2003-08-19  André Pönitz  <poenitz@gmx.net>
3191
3192         * funcrequest.C: initialize button_ member
3193
3194         * text3.C:
3195         * rowpainter.[Ch]: interface consolidation
3196
3197 2003-08-18  André Pönitz  <poenitz@gmx.net>
3198
3199         * BufferView.C:
3200         * BufferView_pimpl.C:
3201         * lyxfind.C:
3202         * paragraph_funcs.C:
3203         * rowpainter.C:
3204         * text3.C: remove LyXScreen::draw() and fitCursor calls
3205
3206         * BranchList.h: remove spurious semicolons
3207
3208         * MenuBackend.C: fix branchlist related crash
3209
3210 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3211
3212         * BranchList.[Ch]:
3213         * InsetList.[Ch]:
3214         * LColor.[Ch]:
3215         * LyXAction.C:
3216         * Makefile.am:
3217         * MenuBackend.[Ch]:
3218         * bufferparams.[Ch]:
3219         * factory.C:
3220         * lfuns.h:
3221         * lyxfunc.C:
3222         * text3.C: implements the 'branch inset'
3223         idea. This allows the output of various versions of a document
3224         from a single source version, selectively outputing or suppressing
3225         output of parts of the text.
3226         This implementation contains a 'branch list editor' in a separate
3227         tab of the document settings dialog. Branches are user definable
3228         and have a "display colour" to distinguish them on-screen.
3229
3230         ColorHandler was somewhat cleaned up.
3231         (1) make possible a dynamically growing LColor list by allowing
3232         the graphic context cache to grow along (vector);
3233         (2) eliminate an IMHO unnecessary step in colour allocation.
3234
3235 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3236
3237         * BufferView_pimpl.C: compile fix
3238
3239 2003-08-15  André Pönitz  <poenitz@gmx.net>
3240
3241         * rowpainter.C: remove extra metrics calls
3242
3243         * lyxtext.h: merge the two constructors into a single one,
3244           pass reference to owner's par list
3245
3246         * BufferView_pimpl.C:
3247         * text.C:
3248         * text2.C: adjust
3249
3250 2003-08-15  André Pönitz  <poenitz@gmx.net>
3251
3252         * lyxrow_funcs.[Ch]:
3253         * lyxtext.h:
3254         * paragraph.h:
3255         * paragraph_funcs.C:
3256         * rowpainter.C:
3257         * text.C:
3258         * text2.C:
3259         * text3.C:
3260         * text_funcs.C: split LyXText::rowlist_ into individual
3261         Paragraph::rows_ chunks
3262
3263         * BufferView.[Ch]:
3264         * BufferView_pimpl.[Ch]:
3265         * lyxfind.C:
3266         * lyxtext.h:
3267         * text3.C: remove toggleSelection()
3268
3269 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3270
3271         * bufferlist.C: beautify two alerts (shorter text of buttons)
3272         * buffer.C: Remove redundant ' ' from message
3273         * tabular.h:
3274         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3275         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3276         rename VALIGN_CENTER to VALIGN_MIDDLE
3277
3278 2003-08-11  André Pönitz  <poenitz@gmx.net>
3279
3280         * lyxtext.h (getPar):
3281         * text.C: new function
3282
3283 2003-08-11  André Pönitz  <poenitz@gmx.net>
3284
3285         * Makefile.am:
3286         * tracer.[Ch]: remove unneeded files
3287
3288         * InsetList.[Ch]: remove resizeInsetsLyXText()
3289
3290         * lyxtext.h:
3291         * text.C:
3292         * text2.C:
3293         * text3.C: merge insertParagraphs() and appendParagraph()
3294         remove breakAgain(), update()
3295
3296         * BufferView_pimpl.[Ch]:
3297         * bufferview_funcs.[Ch]:
3298         * lyxfunc.C:
3299         * paragraph.[Ch]:
3300         * rowpainter.C:
3301         * tabular.C: adjust after text & InsetList changes.
3302
3303 2003-08-08  André Pönitz  <poenitz@gmx.net>
3304
3305         * text.C (insertChar, backspace): replace rowlist fiddling
3306         with rebreak of full par
3307
3308         * lyxtext.h:
3309         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3310         checkParagraph, updateInset): removed
3311
3312 2003-08-07  André Pönitz  <poenitz@gmx.net>
3313
3314         * paragraph.C:
3315         * text3.C: merge some LFUN handlers, remove dead code
3316
3317 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3318
3319         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3320
3321 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3322
3323         * text2.C (DEPM): fix part of bug 1255 and 1256
3324
3325 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3326
3327         * BufferView_pimpl.C (workAreaDispatch): change to use
3328         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3329         that are no mouse related.
3330
3331 2003-08-05  André Pönitz  <poenitz@gmx.net>
3332
3333         * BufferView.[Ch]:
3334         * BufferView_pimpl.[Ch]:
3335         * bufferview_funcs.C:
3336         * text2.C:
3337         * text3.C: rip out "deep update"
3338
3339         * textcursor.[Ch] (last_sel_cursor): remove unused member
3340
3341 2003-08-04  André Pönitz  <poenitz@gmx.net>
3342
3343         * BufferView.[Ch]:
3344         * BufferView_pimpl.[Ch]:
3345         * ParagraphParameters.C:
3346         * bufferview_funcs.C:
3347         * lyx_cb.C:
3348         * lyxfind.C:
3349         * lyxfunc.C:
3350         * text.C:
3351         * text2.C:
3352         * text3.C: replace "complicated" BufferView::update(...) calls with
3353         simpler ones.
3354
3355         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3356
3357 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3358
3359         * Makefile.am (lyx_SOURCES): add paper.h
3360
3361 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3362
3363         * Makefile.am: move things around so that both lyx-qt and
3364         lyx-xforms can be built (according to --with-frontend). Then lyx
3365         is a symbolic link to lyx-[firstfrontend]
3366
3367 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3368
3369         * Always use std::endl with lyxerr
3370
3371 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3372
3373         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3374
3375 2003-08-01  André Pönitz  <poenitz@gmx.net>
3376
3377         * BufferView.[Ch]:
3378         * BufferView_pimpl.[Ch]:
3379         * lyxfunc.C:
3380         * text3.C: merge BufferView::repaint() and BufferView::update()
3381
3382 2003-08-01  José Matos  <jamatos@lyx.org>
3383
3384         * buffer.[Ch]: file_format is no longer a buffer data element.
3385
3386 2003-08-01  André Pönitz  <poenitz@gmx.net>
3387
3388         * BufferView.C:
3389         * lyxtext.h:
3390         * text.C:
3391         * text2.C: make redoParagraph more independent of current cursor
3392
3393         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3394         * text.C:
3395         * text2.C: remove unneeded members
3396
3397 2003-07-30  André Pönitz  <poenitz@gmx.net>
3398
3399         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3400
3401         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3402           create a single function...
3403
3404         * paragraph_funcs.C (moveItem): ... here.
3405
3406         * text.C:
3407           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3408
3409 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3410
3411         * LColor.[Ch]: Add comment and greyedout logical colors.
3412
3413 2003-07-30  André Pönitz  <poenitz@gmx.net>
3414
3415         * tabular.C: don't use Assert too heavily. This crashes where it
3416           shouldn't
3417
3418 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3419
3420         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3421         is disabled (bug 1232)
3422
3423 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3424
3425         * factory.C: limited 'arg' scope
3426
3427 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3428
3429         * factory.C: fixed Note submenu issues
3430
3431 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3432
3433         * factory.C: submenu for Note/Comment/Greyedout
3434
3435 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3436
3437         * lyx_main.C (LyX):
3438         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3439
3440 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3441
3442         * LaTeXFeatures.C:
3443         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3444         greyedout. Patch provided by Jürgen Spitzmüller.
3445
3446 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3447
3448         * kbmap.C (read): fix error message when reading bind files
3449
3450 2003-07-29  Angus Leeming  <leeming@lyx.org>
3451
3452         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3453         certainly does not do what it purports to do. I am doing it, and
3454         us, a favour by killing it.
3455
3456 2003-07-28  José Matos  <jamatos@lyx.org>
3457
3458         * buffer.C (readBody, do_writeFile):
3459         * paragraph.C(readParagraph): \end_document replaces \the_end.
3460
3461 2003-07-29  André Pönitz  <poenitz@gmx.net>
3462
3463         * BufferView.[Ch]:
3464         * BufferView_pimpl.[Ch]:
3465         * lyxfunc.C:
3466         * text2.C:
3467         * text3.C:
3468         * textcursor.[Ch]: remove toggleToggle & Co
3469
3470 2003-07-28  José Matos  <jamatos@fep.up.pt>
3471
3472         * buffer.C (readParagraph):
3473         * params_func (readParToken, readParagraph):
3474         * paragraph.C (write): \layout -> \begin_layout.
3475
3476 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3477
3478         * lyxlex_pimpl.C (setFile): clean up slightly.
3479
3480         * bufferparams.h: add compressed var
3481
3482         * buffer_funcs.C (readFile): adjust for LyXLex change
3483         (newFile): ditto + simplify
3484
3485         * buffer.C (writeFile): handle writing of compressed files
3486
3487         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3488         Check if the file is compressed and set a bufferparm if so.
3489
3490         * Makefile.am (lyx_LDADD): remove explicit -lz
3491
3492 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3493
3494         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3495         makeDocBookFile): put the real LyX version in the first line of
3496         the file
3497
3498         * version.h:
3499         * version.C.in: remove lyx_docversion
3500
3501         * tabular.C (write_attribute): add a template-based version to
3502         write enums properly
3503
3504 2003-07-28  André Pönitz  <poenitz@gmx.net>
3505
3506         * lyxtext.h:
3507         * text.C:
3508         * text2.C:
3509         * text3.C: use doubles again for x-coordinates. They are needed.
3510
3511 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3512
3513         * messages.C (getLocaleDir): use lyx_localedir()
3514
3515         * lyxlex_pimpl.C (setFile): compress stuff
3516
3517         * buffer.C (writeFile): add some compression stuff
3518         (do_writeFile): new func, dont call expliti close... will this
3519         breake anything?
3520
3521         * Makefile.am (lyx_LDADD): add -lz
3522
3523 2003-07-28  José Matos  <jamatos@fep.up.pt>
3524
3525         * buffer.C: increment file format.
3526         * paragraph_funcs (readParagraph, readParToken):
3527         * paragraph.C (readParagraph): add \end_layout.
3528
3529 2003-07-27  Angus Leeming  <leeming@lyx.org>
3530
3531         * Makefile.am: remove special casing for configure-time setting of
3532         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3533
3534         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3535         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3536
3537 2003-07-26  André Pönitz  <poenitz@gmx.net>
3538
3539         * paragraph_func.[Ch]:
3540         * paragraph.C (realizeFont): inline it whereever it is used
3541
3542         * rowpainter.C:
3543         * text.C:
3544         * text2.C:
3545         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3546
3547
3548 2003-07-26  André Pönitz  <poenitz@gmx.net>
3549
3550         *       lyxtext.h:
3551         * text.C:
3552         * text2.C: get rid of LyXText::need_break_row
3553
3554 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3555
3556         * toc.[Ch]: put namespace toc inside namespace lyx
3557
3558         * MenuBackend.C (expandToc2): adjust for lyx::toc
3559         (expandToc): ditto
3560
3561         * lyxfunc.C (dispatch): adjust for lyx::find
3562
3563         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3564         lyx::find instead. Reorganize a bit.
3565         (LyXReplace): rename to replace
3566         (LyXFind): rename to find
3567
3568         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3569         (dispatch): ditto
3570
3571 2003-07-26  André Pönitz  <poenitz@gmx.net>
3572
3573         * text.C (setHeightOfRow): restrict scope of temporary variable
3574
3575         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3576           code (never has been used?)
3577
3578 2003-07-27  Asger Alstrup  <alstrup@local>
3579
3580         * text.C (fill): Optimise algorithm to exploit that we can reuse
3581         the LyXFont for many characters.
3582         (setHeightOfRow): Same thing.
3583         (rowBreakPoint): Same thing.
3584
3585 2003-07-26  Asger Alstrup  <alstrup@local>
3586
3587         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3588
3589         * text.C (singleWidth): Spurious font copying in hot-spot
3590         singleWidth avoided. Reorder tests for arabic for efficiency.
3591
3592         * text.C (fill): handle empty paragraphs better.
3593
3594 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3595
3596         * ispell.C:
3597         * encoding.h: add includes
3598
3599         * lyxrc.C: remove reading of bind files
3600
3601         * lyx_main.C (init): setup bindings and menus only if we have a
3602         gui.
3603
3604         * kbmap.C (read): new method. Do the actual reading of bind
3605         files.
3606
3607         * converter.C (dvipdfm_options):
3608         * bufferparams.C:
3609         * lyxrc.C (read):
3610         (output): adapt PAPER_* enums.
3611
3612         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3613
3614         * bufferparams.h: remove paper-related enums from there
3615
3616         * paper.h: New file. A trivial header file to hold paper-related
3617         enums. It should later expand to contain many paper-related
3618         horrors access.
3619
3620         * lyxrc.C: declare extern displayTranslator
3621
3622 2003-07-27  José Matos  <jamatos@fep.up.pt>
3623
3624         * tabular.[Ch] (linuxdoc): add support for tables and figures
3625         (linuxdoc).
3626
3627 2003-07-27  José Matos  <jamatos@fep.up.pt>
3628
3629         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3630         consistency in both functions.
3631         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3632
3633 2003-07-26  Asger Alstrup  <alstrup@local>
3634
3635         * rowpainter.C (paintRows): Change algorithm to work directly on
3636         the insets rather than asking every character in the document
3637         whether its an inset.
3638
3639 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3640
3641         * buffer.C (openFileWrite): factorize some code
3642
3643 2003-07-26  Angus Leeming  <leeming@lyx.org>
3644
3645         * lyx_cb.C:
3646         * lyx_main.[Ch]: replace occurances of system_tempdir with
3647         os::getTmpDir().
3648
3649 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3650
3651         * rename Inset to InsetOld
3652
3653 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3654
3655         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3656         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3657         which I think is a bit clearer. EDIT is gone, since it was
3658         premature optimisation, and broken for mathed anyway.
3659         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3660         with cursor positioning in insets as well (math insets still do not
3661         work, but that's a different story anyway.) It mysteriously
3662         crashes sometimes with undo in the first paragraph, but I'm fairly
3663         confident that this is a compiler bug.
3664
3665 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3666
3667         * paragraph.C (Paragraph): adjust for new clone return type
3668         (operator==): ditto
3669         (copyIntoMinibuffer): ditto
3670
3671 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3672
3673         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3674         by not having a special case, and always doing a full rebreak of
3675         the document after undo.
3676
3677 2003-07-23  Angus Leeming  <leeming@lyx.org>
3678
3679         * factory.C (createInset): InsetExternal::setParams now takes a
3680         Buffer const * arg.
3681
3682 2003-07-23  Angus Leeming  <leeming@lyx.org>
3683
3684         * factory.C (createInset): changed interface to the external and
3685         graphics mailers' string2params functions.
3686
3687 2003-07-23  Angus Leeming  <leeming@lyx.org>
3688
3689         * factory.C (createInset): pass a
3690         Buffer const * parameter to InsetExternalMailer's string2params.
3691
3692 2003-07-22  John Levon  <levon@movementarian.org>
3693
3694         * Thesaurus.h: include the right aiksaurus header
3695
3696 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3697
3698         * MenuBackend.C (expand): check menu shortcuts unconditionally
3699
3700 2003-07-21  Angus Leeming  <leeming@lyx.org>
3701
3702         * factory.C (createInset): pass a
3703         buffer_path parameter to InsetGraphicsMailer's string2params.
3704
3705 2003-07-21  Angus Leeming  <leeming@lyx.org>
3706
3707         * BufferView_pimpl.C (buffer):
3708         * buffer.C (d-tor):
3709         * lyx_main.C (LyX):
3710         * lyxfunc.C (dispatch):
3711         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3712         rather than the grfx shortcut.
3713
3714 2003-07-21  André Pönitz  <poenitz@gmx.net>
3715
3716         * rowpainter.C: remove unused variables
3717
3718         * tabular_funcs.C:
3719         * tabular_funcs.h: move to tabular.C
3720         * Makefile.am: adjust
3721
3722         * tabular.[Ch]: basic optical cleaning
3723
3724         * author.h: pass references, not values
3725
3726 2003-07-18  André Pönitz  <poenitz@gmx.net>
3727
3728         * lyxtext.h:
3729         * metricsinfo.C:
3730         * metricsinfo.h:
3731         * rowpainter.C:
3732         * text.C:
3733         * text2.C:
3734         * text3.C: two-phase drawing for InsetText and InsetTabular
3735         some float -> int changes.
3736
3737 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3738
3739         * lyx_main.C: fix the fix
3740
3741 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3742
3743         * lyx_main.C: fix a crash in batch mode if no files specified
3744         * converter.C: ws
3745
3746 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3747
3748         * format.[Ch] (papersize): moved to BufferParams
3749         * converter.[Ch] (dvips_options): moved to BufferParams
3750         (dvipdfm_options): moved to anon namespace
3751         * bufferparams.[Ch]: added above functions.
3752
3753 2003-07-17  André Pönitz  <poenitz@gmx.net>
3754
3755         * lyxtext.h:
3756         * rowpainter.C:
3757         * text2.C: don't call inset->update() anymore
3758
3759         * metricsinfo.[Ch]: add convenience constructor
3760
3761 2003-07-16  André Pönitz  <poenitz@gmx.net>
3762
3763         * lyxcursor.[Ch]:
3764         * lyxfunc.[Ch]:
3765         * text.C:
3766         * text2.C: replace the LyXCursor::irow_ member with
3767          on-demand computation of the value
3768
3769 2003-07-16  John Levon  <levon@movementarian.org>
3770
3771         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3772
3773 2003-07-15  André Pönitz  <poenitz@gmx.net>
3774
3775         * text.C:
3776         * text2.C: remove no more needed refresh_row
3777
3778 2003-07-15  André Pönitz  <poenitz@gmx.net>
3779
3780         * lyxtext.h:
3781         * rowpainter.C:
3782         * text2.C:
3783         * text3.C: refresh_status tristate -> need_update bool
3784
3785 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3786
3787         * lyxtext.h (init): remove reinit argument (act as if always true)
3788         * text2.C: adjust to that
3789
3790 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3791
3792         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3793         * text3.C: use it to delete selections in some cases
3794         (bugs 441, 673, 702, 954).
3795
3796 2003-07-14  André Pönitz  <poenitz@gmx.net>
3797
3798         * rowpainter.[Ch]: reduce interface
3799
3800 2003-07-14  André Pönitz  <poenitz@gmx.net>
3801
3802         * BufferView_pimpl.C:
3803         * text2.C: adjust after removing unused BufferView * argument
3804
3805 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3806
3807         * text2.C (init): fix a crash fired on resize
3808
3809 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3810
3811         * buffer.[Ch]: added new closing signal
3812         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3813         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3814         BufferView::Pimpl via the closing the signal
3815
3816 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3817
3818         * buffer.[Ch]: take out all bv-related from buffer
3819         * BufferView.C:
3820         * BufferView_pimpl.[Ch]: connect to new signals
3821         * CutAndPaste.C: removed useless asserts
3822         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3823         * lyxvc.[Ch]:
3824         * vc-backend.[Ch]:
3825         * lyxfunc.C: moved view-related funciontality from vc here
3826         * paragraph.C: removed outdated comments
3827         * text.C: ws
3828
3829 2003-07-10  André Pönitz  <poenitz@gmx.net>
3830
3831         * BufferView_pimpl.C:
3832         * tabular.h:
3833         * tabular_funcs.C:
3834         * text.C:
3835         * text2.C: remove InsetText::InnerCache, clean up consequences
3836
3837 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3838
3839         * ispell.C: fix two typos in error messages
3840
3841 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3842
3843         * Extend Note inset to other forms of annotation like Comment
3844         and Greyedout. Right button click gives dialog.
3845
3846         Files modified or added (+):
3847
3848         * insetnote.[Ch]
3849         * FormNote.[Ch]      +
3850         * ControlNote.[Ch]   +
3851         * form_note.fd       +
3852         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3853         frontends/controllers
3854         * xforms/Dialogs.C
3855         * factory.C
3856
3857 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3858
3859         * aspell.C: add missing namespace lyx::support
3860
3861 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3862
3863         * BufferView.[Ch] (newFile): Add
3864         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3865         * LaTeX.[Ch] (message): added this signal and use it
3866         * buffer.[Ch] (busy, message): added these signals and use them
3867         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3868         * converter.C:
3869         * exporter.C:
3870         * format.C:
3871         * importer.C: use buffer signals instead of direct bv calling
3872         * lyx_cb.[Ch] (ShowMessage): removed
3873         * lyx_main.C:
3874         * lyxfunc.C:
3875         * paragraph_funcs.C:
3876         * text2.C: use buffer signals
3877
3878 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3879
3880         * introduce namespace lyx::graphics
3881
3882 2003-07-02  André Pönitz  <poenitz@gmx.net>
3883
3884         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3885
3886 2003-07-01  André Pönitz  <poenitz@gmx.net>
3887
3888         * text.C:
3889         * text2.C:
3890         * text3.C:
3891         * text_funcs.[Ch]:
3892         * textcursor.h:
3893         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3894           text*.C to text_func.C
3895
3896 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3897
3898         * introduce namespace lyx::support
3899
3900 2003-06-30  André Pönitz  <poenitz@gmx.net>
3901
3902         * Chktex.C:
3903         * funcrequest.C:
3904         * lyxtext.h:
3905         * text.C: re-enable --with-included-string
3906
3907 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3908
3909         * textcursor.C: add <config.h>
3910
3911         * text.C (getWord): remove const from word_location arg
3912
3913         * lyxvc.C (getLogFile): fix const type order
3914
3915         * lyxtext.h: remove const from word_location arg, add arg name
3916
3917         * lyxlayout.h: currect type on labeltype.
3918
3919         * importer.C: correct \file
3920
3921         * converter.C (intToFormat): use std:: on ret val, ws changes
3922
3923         * bufferlist.h: correct \file
3924
3925         * buffer.C (makeLinuxDocFile): fix const type order
3926         (makeDocBookFile): ditto
3927         (fillWithBibKeys): use std:: on stdlib args.
3928
3929         * CutAndPaste.C: fix authors.
3930         (availableSelections): use std:: on return vector
3931
3932 2003-06-27  André Pönitz  <poenitz@gmx.net>
3933
3934         * BufferView_pimpl.C:
3935         * bufferview_funcs.C:
3936         * lyxcursor.C:
3937         * lyxcursor.h:
3938         * lyxfunc.C:
3939         * lyxtext.h:
3940         * rowpainter.C:
3941         * text.C:
3942         * text2.C:
3943         * text3.C: remove LyXCursor::row_ member
3944
3945         * lyxtext.h:
3946         * text.C: rename fullRebreak() to partialRebreak() and implement
3947           a fullRebreak() that really bereks fully
3948
3949         * textcursor.h: new struct for cursor-related data
3950
3951 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3952
3953         * lyx_main.C (LyX): get full path of document loaded on the
3954         command line
3955
3956 2003-06-26  André Pönitz  <poenitz@gmx.net>
3957
3958         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3959           remove unused/broken operator>,<,>=.
3960
3961         *       text.C: remove only use of broken operator<= in an Assert().
3962
3963 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3966         moved errorlist_.clear to showErrorList
3967
3968 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3969
3970         * converter.C (scanLog, runLaTeX):
3971         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3972         move the bv->showErrorList call to the callers
3973         * lyxfunc.C: i.e. here...
3974         * text2.C: and here
3975         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3976         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3977         namespace, the second to...
3978         * buffer_funcs (BufferFormat, parseErrors): added
3979         * errorlist.C (ErrorList(TeXErrors const &)): removed
3980
3981 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3982
3983         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3984
3985 2003-06-24  "Garst R. Reese" <reese@isn.net>
3986
3987         * debug.C: fix typo
3988
3989 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3990
3991         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3992
3993         * version.C.in: change docversion to 1.4
3994
3995 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3996
3997         * buffer.C: fix a bug just introduced
3998
3999 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4000
4001         * buffer.[Ch]: added the parseError signal and use it, removed
4002         sgmlError
4003         * BufferView.[Ch] (addError): moved to ...
4004         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4005         to the Buffer::parseError signal to catch (guess what) parse errors
4006         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4007
4008 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4011         ability to create a buffer and to return an existing one from
4012         the list. Moved these functions to...
4013         * buffer_funcs.[Ch]: added
4014         * BufferView.[Ch] (loadLyXFile): added
4015         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4016         job removed from bufferlist::loadLyXFile.
4017         * buffer.C (setReadOnly): make it work without view
4018         (i.e added an if (users))
4019
4020 2003-06-19  Angus Leeming  <leeming@lyx.org>
4021
4022         * lfuns.h:
4023         * LyXAction.C (init):
4024         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4025         with LFUN_DIALOG_SHOW <name> <data>.
4026
4027 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4028
4029         * CutAndPaste.C (availableSelections): small compilation fix for
4030         ancient (gcc 2.9x) compilers
4031
4032 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * text3.C (cursorNext): add tmp var
4035
4036         * text2.C (updateCounters): for function calling out of for clause
4037         (replaceSelectionWithString): ditto
4038         (insertStringAsParagraphs): ditto
4039         (getColumnNearX): add tmp var
4040         (setCursorFromCoordinates): add tmp var
4041         (cursorDownParagraph): add tmp var
4042         (deleteEmptyParagraphMechanism): add tmp var
4043
4044         * text.C (insertChar): add tmp var
4045
4046         * rowpainter.C (paintDepthBar): add tmp var
4047
4048         * CutAndPaste.C (availableSelections): potentially check all
4049         paragraphs in a cut to fill the shown strings.
4050
4051 2003-06-18  André Pönitz  <poenitz@gmx.net>
4052
4053         * kbmap.[Ch]: use vector<> instead of list<>
4054
4055 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4056
4057         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4058         pasteSelection with index
4059
4060         * text2.C (pasteSelection): modify, call pasteSelection with index
4061
4062         * paragraph.C (asString): reimplement version with no interval to
4063         call the one with interval.
4064
4065         * lyxtext.h: add index arg to pasteSelection
4066
4067         * MenuBackend.C (MenuItem): handle PasteRecent
4068         (Menu::read::Menutags): add md_pasterecent
4069         (read): handle it
4070         (expandPasteRecent): new function
4071         (expand): use it
4072
4073         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4074
4075         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4076         the limited stack
4077         (availableSelections): new function
4078
4079 2003-06-17  Angus Leeming  <leeming@lyx.org>
4080
4081         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4082
4083 2003-06-17  Angus Leeming  <leeming@lyx.org>
4084
4085         * lfuns.h:
4086         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4087
4088         * lyxfunc.C (dispatch): invoke it.
4089
4090 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4091
4092         * iterators.C (operator++, ParPosition): reintroduce some
4093         const_cast for the benefit of older compilers.
4094
4095 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4096
4097         * text3.C (dispatch): do not modify clipboard when doing
4098         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4099         LFUN_DELETE_SKIP on a selection selection
4100
4101 2003-06-16  André Pönitz  <poenitz@gmx.net>
4102
4103         * BufferView.C:
4104         * buffer.C:
4105         * buffer.h:
4106         * paragraph.C:
4107         * tabular.[Ch]: IU of clone() and getLabelList();
4108
4109 2003-06-13  André Pönitz  <poenitz@gmx.net>
4110
4111         * tabular.h: compactification
4112
4113 2003-06-12  André Pönitz  <poenitz@gmx.net>
4114
4115         * tabular.C:
4116         * tabular.h:
4117         * tabular_funcs.h: some renaming plus whitespace
4118
4119 2003-06-12  André Pönitz  <poenitz@gmx.net>
4120
4121         * BufferView.C:
4122         * BufferView_pimpl.C:
4123         * CutAndPaste.C:
4124         * buffer.C:
4125         * iterators.[Ch]:
4126         * lyxfunc.C:
4127         * text.C:
4128         * toc.C: Return a Paragraph & for ParIterator::operator*()
4129
4130 2003-06-11  John Levon  <levon@movementarian.org>
4131
4132         * lyx_main.C:
4133         * ToolbarBackend.h:
4134         * ToolbarBackend.C: add "Toolbars" section and
4135         put the flags there
4136
4137 2003-06-10  Angus Leeming  <leeming@lyx.org>
4138
4139         * lfuns.h:
4140         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4141
4142         * lyxfunc.C (dispatch): invoke it.
4143
4144 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4145
4146         * main.C: protect <ios> with HAVE_IOS
4147         (main): protect sync_with_stdio with HAVE_IOS
4148
4149 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4150
4151         * text2.C (cutSelection): adjust
4152         (pasteSelection): adjust
4153
4154         * messages.C: handle get of empty string
4155
4156         * main.C (main): use sync_with_stdio(false)
4157
4158         * lyxfunc.C (dispatch): adjust
4159
4160         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4161         (WriteAs): remove unneeded BufferView arg.
4162
4163         * bufferparams.h: use correct types on papersize, papersize2 and
4164         paperpackage.
4165
4166         * bufferparams.C (readToken): adjust for type
4167         (writeLaTeX): add missing cases to switch.
4168
4169         * bufferlist.C (quitWriteBuffer): adjust
4170         (close): adjust
4171
4172         * buffer.C (asciiParagraph): remove some commented code.
4173
4174         * CutAndPaste.C: remove current_view extern variable.
4175         (cutSelection): add BufferParams arg.
4176         (eraseSelection): add BufferParams arg.
4177         (pasteSelection): add Buffer const & arg
4178
4179 2003-06-07  John Levon  <levon@movementarian.org>
4180
4181         * buffer.C:
4182         * paragraph_funcs.C:
4183         * paragraph_pimpl.C:
4184         * text.C:
4185         * text2.C:
4186         * paragraph.h:
4187         * paragraph.C: allow InsetERT to freely space lines,
4188         and some consolidation of code
4189
4190 2003-06-06  José Matos  <jamatos@fep.up.pt>
4191
4192         * buffer.C (makeDocBookFile): fix bug #821
4193
4194 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4195
4196         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4197
4198 2003-06-04  Angus Leeming  <leeming@lyx.org>
4199
4200         * buffer.C: bump format to 224.
4201
4202 2003-06-05  André Pönitz  <poenitz@gmx.net>
4203
4204         * text2.C (redoParagraphs): remove two const_cast<>
4205
4206 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4207
4208         * ParagraphList.h: remove last remnants of NO_STD_LIST
4209
4210 2003-06-03  Angus Leeming  <leeming@lyx.org>
4211
4212         * factory.C (createInset): small change to the way InsetExternal's params
4213         are set.
4214
4215 2003-06-04  André Pönitz  <poenitz@gmx.net>
4216
4217         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4218
4219         * paragraph_pimpl.h:
4220         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4221
4222         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4223
4224         * undo_funcs.C: make some simple cases of undo work again
4225
4226 2003-06-03  John Levon  <levon@movementarian.org>
4227
4228         * ispell.C: HPUX doesn't have sys/select.h
4229         (from Albert Chin)
4230
4231 2003-06-03  John Levon  <levon@movementarian.org>
4232
4233         * CutAndPaste.C: update tabular and include inset
4234         buffer references
4235
4236         * buffer.h:
4237         * paragraph.h:
4238         * paragraph.C: remove owningBuffer(), don't pass Buffer
4239         to clone()
4240
4241         * factory.C: insetGraphicsParams changed
4242
4243 2003-06-02  John Levon  <levon@movementarian.org>
4244
4245         * LyXAction.C:
4246         * factory.C:
4247         * lfuns.h:
4248         * lyxfunc.C:
4249         * text3.C: remove insetparent
4250
4251 2003-06-02  John Levon  <levon@movementarian.org>
4252
4253         * buffer.h:
4254         * buffer.C: fix inset_iterator.end(), move out of line
4255         (bug 1149)
4256
4257 2003-06-01  John Levon  <levon@movementarian.org>
4258
4259         * text3.C: use a proper cut/paste when doing inset
4260         insert (from Jürgen Spitzmüller)
4261
4262 2003-06-01  John Levon  <levon@movementarian.org>
4263
4264         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4265
4266 2003-05-30  André Pönitz  <poenitz@gmx.net>
4267
4268         * rowpainter.C: unify second drawing phase
4269
4270 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4271
4272         * trans_mgr.C: remove one case of current_view
4273
4274         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4275
4276         * paragraph_funcs.h: remove paragraph.h include
4277
4278         * paragraph.h: delete NO_STD_LIST stuff
4279
4280         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4281
4282         * buffer.h: remove paragraph.h include
4283
4284         * ParagraphList.C: delete file
4285
4286         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4287
4288         * toc.C (getTocList): adjust
4289
4290         * paragraph_pimpl.C (validate): adjust
4291
4292         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4293
4294         * paragraph.C (Paragraph): adjust
4295         (getPositionOfInset): use const_iterator, adjust
4296         (bibitem): use const_iterator, adjust
4297         (setInsetOwner): adjust
4298
4299         * iterators.C (operator++): adjust
4300
4301         * InsetList.[Ch]: Replace selfmade iterator with standard
4302         vector::iterator also introduce const_iterator. Remove getPos,
4303         getInset and setInset from InsetTable. Adjust accordingly.
4304
4305         * BufferView.C (lockInset): adjust
4306         (ChangeInsets): adjust
4307
4308         * tabular.[Ch]: delete commented same_id functions
4309
4310 2003-05-28  John Levon  <levon@movementarian.org>
4311
4312         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4313
4314 2003-05-28  André Pönitz  <poenitz@gmx.net>
4315
4316         * metricsinfo.[Ch]: remove 'fullredraw' member
4317
4318 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4319
4320         * lyxtextclass.C (operator): remove caching.
4321
4322 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4323
4324         * text3.C: adjust
4325
4326         * text2.C (cursorBottom): adjust
4327         (setCounter): use ParagraphList::find, adjust
4328
4329         * text.C (workWidth): use ParagraphList::find, adjust
4330
4331         * lyxcursor.C (LyXCursor): adjust
4332
4333         * buffer.C (inset_iterator): adjust
4334
4335         * ParagraphList.h: make iterator(value_type) private, make
4336         ParagraphList a friend of iterator.
4337
4338         * ParagraphList.C (find): new function
4339
4340         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4341
4342 2003-05-27  André Pönitz  <poenitz@gmx.net>
4343
4344         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4345
4346 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4347
4348         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4349
4350 2003-05-26  John Levon  <levon@movementarian.org>
4351
4352         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4353
4354 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4355
4356         * remove same_id from function signatures, adjust.
4357
4358 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4359
4360         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4361
4362         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4363
4364         * paragraph.C (Paragraph): get rid of same_ids parameter
4365
4366         * ParagraphList.C (insert): adjust
4367         (push_back): adjust
4368
4369 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4370
4371         * paragraph_funcs.C (breakParagraph): adjust
4372         (breakParagraphConservative): adjust
4373
4374         * buffer.C (readParagraph): adjust
4375
4376         * ParagraphList.C (insert): take a reference instead of a pointer
4377         (insert): adjust
4378
4379         * paragraph.[Ch] (id): new function
4380
4381         * bufferlist.C (newFile): adjust
4382
4383         * ParagraphList.C (ParagraphList): adjust
4384         (assign): adjust
4385         (push_back): take a reference instead of a pointer.
4386
4387         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4388
4389         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4390         instead.
4391
4392         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4393         set else use old code.
4394
4395         * ParagraphList.C: remove all NO_NEXT code and only compile this
4396         code of NO_STD_LIST is set.
4397
4398 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4399
4400         * BufferView_pimpl.C:
4401         * TextCache.C:
4402         * TextCache.h:
4403         * bufferlist.C:
4404         * errorlist.h:
4405         * format.C:
4406         * format.h:
4407         * graph.C:
4408         * lyxfunc.C:
4409         * lyxrc.C:
4410         * graphics/GraphicsConverter.C:
4411         * graphics/PreviewLoader.C: header adjustment
4412
4413 2003-05-23  Angus Leeming  <leeming@lyx.org>
4414
4415         * LaTeXFeatures.[Ch] (useBabel): new method.
4416         * bufferparams.C (writeLaTeX): use it.
4417
4418 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4419
4420         * ParagraphList.h (set): remove unused function.
4421
4422 2003-05-23  André Pönitz  <poenitz@gmx.net>
4423
4424         * BufferView.C:
4425         * BufferView_pimpl.C:
4426         * buffer.C:
4427         * buffer.h:
4428         * lyxfunc.C:
4429         * undo_funcs.C: setUndo reworked
4430
4431         * iterators.[Ch]: add access to topmost ParagraphList
4432
4433         * lyxtext.[Ch] (workWidth): add a const
4434
4435 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4436
4437         * texrow.[Ch] (increasePos): remove function
4438         * exporter.C (export): removed unused var and outdated comment
4439
4440 2003-05-23  Angus Leeming  <leeming@lyx.org>
4441
4442         * latexrunparams.h: rename fragile as moving_arg.
4443         * paragraph.C (simpleTeXOnePar): ditto.
4444         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4445
4446 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4449         (createUndo): ditto
4450         (textUndoOrRedo): comment out a currently unused var.
4451
4452         * paragraph.h (NO_NEXT): enable NO_NEXT
4453
4454         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4455
4456         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4457
4458         * exporter.C (Export): adjust for removeAutoInsets removal.
4459
4460         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4461
4462         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4463
4464         * BufferView.[Ch] (removeAutoInsets): delete function
4465
4466 2003-05-22  Angus Leeming  <leeming@lyx.org>
4467
4468         * latexrunparams.h: add a free_spacing variable.
4469
4470         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4471         to pass moving_arg, as the data is stored in runparams.fragile.
4472
4473         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4474         to Inset::latexOptional or to simpleTeXOnePar.
4475
4476         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4477         free_spacing arg to Inset::latexOptional.
4478
4479         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4480         free_spacing arg.
4481
4482 2003-05-22  Angus Leeming  <leeming@lyx.org>
4483
4484         * latexrunparams.h: add fragile and use_babel variables.
4485
4486         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4487         * buffer.C (makeLaTeXFile): store this returned value in
4488         runparams.use_babel, thus passing it to the inset::latex methods.
4489
4490         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4491         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4492
4493         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4494         longer has a fragile arg, as it is stored in runparams.fragile.
4495
4496         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4497         moving_arg parameter as the data is stored in runparams.fragile.
4498
4499         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4500         a fragile parameter as the data is stored in runparams.fragile.
4501
4502 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4503
4504         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4505
4506 2003-05-22  Angus Leeming  <leeming@lyx.org>
4507
4508         * latexrunparams.h: add a 'bool nice' which defaults to false.
4509
4510         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4511         now encapsulated within runparams.
4512
4513         * bufferlist.C (updateIncludedTeXfiles):
4514         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4515
4516 2003-05-22  Angus Leeming  <leeming@lyx.org>
4517
4518         * latexrunparams.h: new file containing struct LatexRunParams.
4519         * Makefile.am: add new file.
4520
4521         * LaTeX.[Ch] (c-tor, run):
4522         * buffer.[Ch] (makeLaTeXFile):
4523         * bufferlist.[Ch] (updateIncludedTeXfiles):
4524         * converter.C (convert, scanLog):
4525         * converter.[Ch] (runLaTeX):
4526         * exporter.C (Export):
4527         * paragraph.[Ch] (simpleTeXOnePar):
4528         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4529         * paragraph_funcs.[Ch] (latexParagraphs):
4530         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4531         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4532         pass around a LatexRunParams parameter.
4533
4534 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4535
4536         * paragraph.[Ch]: remove unused constructor
4537
4538         * ParagraphList.C (erase): new function, taking two iterators
4539
4540 2003-05-22  André Pönitz  <poenitz@gmx.net>
4541
4542         * undo_funcs.C: remove duplicated code
4543
4544         * iterator.[Ch]: operator=
4545
4546 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4547
4548         * tabular.C (SetMultiColumn): ws changes
4549
4550         * rowpainter.C (paintFirst): get rid of a ->previous
4551
4552         * lyx_cb.C (getPossibleLabel): parlist simplification
4553
4554         * BufferView.C (ChangeInsets): simplify slightly.
4555
4556 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4557
4558         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4559         * lfuns.h: new LFUN_SPACE
4560         * lyxfunc.C: protected space has a new lfun
4561         * paragraph_funcs.C: read new space insets
4562         * text3.C:
4563         * factory.C: handle new space insets
4564
4565 2003-05-22  André Pönitz  <poenitz@gmx.net>
4566
4567         * BufferView.C:
4568         * BufferView_pimpl.C:
4569         * buffer.[Ch]:
4570         * lyxfunc.C:
4571         * undo_funcs.C: return a ParIterator from getParFromID.
4572
4573         * iterators.[Ch]: add two const's
4574
4575 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4576
4577         * toc.C (getTocList): adjust
4578
4579         * iterators.[Ch]: rework for parlist
4580
4581         * buffer.C (par_iterator_begin): adjust
4582         (par_iterator_end): adjust
4583
4584         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4585
4586         * BufferView.C (removeAutoInsets): adjust
4587         (ChangeInsets): adjust
4588
4589 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4590
4591         * text.C (top_y): fix bug 1110
4592
4593 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4594
4595         * errorlist.[Ch]: added
4596         * buffer.C:
4597         * BufferView.[Ch]:
4598         * BufferView_pimpl.C:
4599         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4600         instead
4601
4602 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * Makefile.am: ensure that lyx is relinked upon changes to the
4605         various "convenience" libs.
4606
4607 2003-05-20  Angus Leeming  <leeming@lyx.org>
4608
4609         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4610         files are compiled in alphabetical order again.
4611
4612         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4613
4614 2003-05-19  Angus Leeming  <leeming@lyx.org>
4615
4616         * gettext.[Ch]: remove "char const * _(char const *)".
4617
4618 2003-05-19  André Pönitz  <poenitz@gmx.net>
4619
4620         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4621
4622         * Makefile.am:
4623         * BufferView.C:
4624         * DepTable.h:
4625         * LaTeXFeatures.C:
4626         * buffer.C:
4627         * lyxfont.C:
4628         * lyxlex.h:
4629         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4630
4631 2003-05-19  André Pönitz  <poenitz@gmx.net>
4632
4633         * buffer.C:
4634         * lyxlayout.[Ch]:
4635         * lyxtextclass.[Ch]:
4636         * paragraph.C:
4637         * paragraph_funcs.[Ch]:
4638         * text2.C:
4639         * text3.C: more insetenv work
4640
4641 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4642
4643         * ParagraphParameters.C (params2string): small bug fixed
4644
4645 2003-05-16  André Pönitz  <poenitz@gmx.net>
4646
4647         * debug.C:
4648         * bufferview_funcs.C: patch from Kornel Benko to prevent
4649           crash when _(...) is called twice in a statement
4650
4651 2003-05-16  André Pönitz  <poenitz@gmx.net>
4652
4653         * BufferView.C:
4654         * lyxfunc.C:
4655         * text.C:
4656         * text2.C:
4657         * text3.C:
4658         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4659
4660 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4661
4662         * lyx_main.C (init): remove spurious static_cast
4663
4664 2003-05-14  André Pönitz  <poenitz@gmx.net>
4665
4666         * BufferView.C: fix format string
4667
4668 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4669
4670         * BufferView.[Ch] (insertErrors): removed
4671         * BufferView.[Ch] (showErrorList): added
4672         * buffer.C (runChkTeX):
4673         * converter.C (scanLog): call showErrorList instead of inserterrors
4674
4675 2003-05-13  André Pönitz  <poenitz@gmx.net>
4676
4677         * BufferView_pimpl.C:
4678         * buffer.C:
4679         * bufferview_func.C:
4680         * MenuBackend.C:
4681         * lyxfunc.C:
4682         * lyxrc.C:
4683         * tex-accent.C:
4684         * text3.C:
4685         * toc.C:
4686         * tabular_funcs.h: tostr() from its own header
4687
4688         * ParagraphParameters.C:
4689         * ToolbarBackend.C:
4690         * bufferparams.C:
4691         * format.C:
4692         * lyxlex_pimpl.C:
4693         * text3.C: STRCONV()
4694
4695 2003-05-12  André Pönitz  <poenitz@gmx.net>
4696
4697         * BufferView.C:
4698         * BufferView_pimpl.C:
4699         * CutAndPaste.C:
4700         * LaTeX.C:
4701         * LaTeXFeatures.C:
4702         * ParagraphParameters.C:
4703         * buffer.C:
4704         * bufferlist.C:
4705         * bufferparams.C:
4706         * bufferview_funcs.C:
4707         * converter.C:
4708         * counters.C:
4709         * debug.C:
4710         * exporter.C:
4711         * format.C:
4712         * importer.C:
4713         * lyx_cb.C:
4714         * lyx_main.C:
4715         * lyxfont.C:
4716         * lyxfunc.C:
4717         * lyxvc.C:
4718         * paragraph.C:
4719         * paragraph_funcs.C:
4720         * tabular.C:
4721         * tabular_funcs.C:
4722         * text2.C:
4723         * text3.C:  boost::format -> bformat  all over the place
4724
4725
4726 2003-05-09  André Pönitz  <poenitz@gmx.net>
4727
4728         * LColor.[Ch]: Pimpl the #include <map> away
4729
4730 2003-05-09  John Levon  <levon@movementarian.org>
4731
4732         * bufferlist.C: never remove emergency saves
4733
4734 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * Makefile.am: better lib building
4737
4738 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4739
4740         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4741         instead.
4742         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4743         (simpleTeXSpecialChars): adjust
4744         (simpleTeXSpecialChars): adjust
4745         * paragraph.C (simpleTeXOnePar): adjust
4746         * buffer.C (makeLaTeXFile): adjust
4747
4748         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4749
4750         * text2.C (changeDepth): parlist cleanup
4751         (getColumnNearX): ditto
4752
4753         * rowpainter.C (getLabelFont): parlist cleanup
4754
4755         * bufferlist.C (newFile): parlist cleanup
4756
4757         * CutAndPaste.C (eraseSelection): parlist cleanup
4758
4759         * BufferView_pimpl.C (trackChanges): parlist cleanup
4760         (dispatch): ditto
4761
4762         * BufferView.C (lockInset): parlist cleanup.
4763         (ChangeInsets): ditto
4764
4765 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4766
4767         * CutAndPaste.h: Update file header.
4768
4769         * CutAndPaste.C: Update file header.
4770         Store the parts cut out of the Document in a limited_stack.
4771         (copySelection): adjust
4772         (pasteSelection): new function, takes the index in the limited stack.
4773         (nrOfParagraphs): adjust
4774         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4775         simplify error inset insertion.
4776         (checkPastePossible): adjust
4777
4778 2003-05-06  John Levon  <levon@movementarian.org>
4779
4780         * text2.C: don't cast wrap inset to float
4781
4782 2003-05-05  André Pönitz  <poenitz@gmx.net>
4783
4784         * iterator.C:
4785         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4786
4787         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4788           few naked Paragraph *.
4789
4790 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4791
4792         * bufferparams.C: Output warning if a document with missing
4793         TeX document class is loaded
4794         * exporter.C: Disable TeX exports if the document class is missing
4795         * lyxtextclass.C:
4796         * lyxtextclass.h:
4797         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4798         isTeXClassAvailable()
4799
4800 2003-05-03  John Levon  <levon@movementarian.org>
4801
4802         * BufferView.h:
4803         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4804         explicit cursor show/hide
4805
4806         * BufferView_pimpl.h:
4807         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4808         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4809
4810         * lyxfunc.C: hide cursor before dispatching.
4811
4812         * lyx_cb.C:
4813         * lyxfind.C:
4814         * text.C:
4815         * text3.C: remove explicit cursor hides
4816
4817 2003-05-02  André Pönitz  <poenitz@gmx.net>
4818
4819         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4820
4821         * undo_funcs.C:
4822         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4823           linked lists
4824
4825         * text2.C: tiny whitespace
4826
4827 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4828
4829         * undo_funcs.C: almost only ws changes.
4830
4831         * ParagraphList.C (splice): just return if pl is empty.
4832
4833 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4834
4835         * ParagraphList.C (splice): new function.
4836
4837         * CutAndPaste.C (pasteSelection): use it
4838
4839 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4840
4841         * CutAndPaste.C (pasteSelection): remove the last next and
4842         previous from this file.
4843
4844 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4845
4846         * CutAndPaste.C (pasteSelection): more clean up, user proper
4847         ParagraphList functions for pasteing.
4848
4849         * ParagraphList.C (insert): new function, three arg insert
4850
4851 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4852
4853         * ParagraphList.C (insert): new function, three arg insert
4854
4855         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4856         not on paragraphs.
4857
4858 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4859
4860         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4861
4862 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4863
4864         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4865
4866 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4869         (copySelection): clean up a bit.
4870         (pasteSelection): use make_pair
4871
4872         * ParagraphList.C (ParagraphList): implement copy constructor
4873         (operator=): implement, base on copy constructor.
4874         (assign): new func
4875
4876         * paragraph.C (erase): return a bool
4877
4878         * paragraph_pimpl.C (erasePos): remove function, move contents...
4879         (erase): ... here. Return a bool.
4880         (erase): call erase instead of erasePos.
4881
4882 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4883
4884         * ParagraphList.h: define PitPosPair
4885         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4886         ParagraphList, fix a bug on pasting multiple pars
4887         * text2.C: change interface to C&P
4888
4889 2003-04-30  André Pönitz  <poenitz@gmx.net>
4890
4891         * undo_func.C: revert part of yesterday's patch 2
4892
4893 2003-04-30  John Levon  <levon@movementarian.org>
4894
4895         * LColor.C: s/tabular/table/
4896
4897 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4898
4899         * text3.C (dispatch): do not convert iterator -> pointer
4900         * undo_funcs.C (setCursorParUndo): ditto
4901         * text_funcs.C (transposeChars): ditto
4902
4903         * text2.C (setLayout): ws changes only
4904
4905         * text.C (breakParagraph): do not convert iterator -> pointer
4906         (insertChar): ditto
4907         (acceptChange): ditto
4908         (rejectChange): ditto
4909         (changeCase): ditto
4910         (Delete): ditto
4911         (backspace): ditto
4912
4913         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4914         pointer
4915
4916 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4917
4918         * text3.C (gotoInset): YABG (yet another bad getChar)
4919
4920 2003-04-29  André Pönitz  <poenitz@gmx.net>
4921
4922         * paragraph.h: make operator= private unimplemented as long as
4923           it is unusable
4924
4925         * ParagraphList.C: whitespace
4926
4927         * paragraph.[Ch]:
4928         * paragraph_pimpl.[Ch]:
4929         * paragraph_funcs.C:
4930         * CutAndPaste.C:
4931         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4932
4933         * text2.C:
4934           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4935
4936 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4937
4938         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4939         * paragraph.[Ch] (erase):
4940         * paragraph_pimpl.[Ch] (erase): change return type and value
4941         * text2.C (cutSelection): some rework
4942
4943 2003-04-28  John Levon  <levon@movementarian.org>
4944
4945         * bufferlist.C: changes for unsaved changes dialog
4946
4947 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * bufferlist.C (newFile): set language (messages_) for new
4950         documents also.
4951
4952         * buffer.C (readFile): ws changes only.
4953
4954 2003-04-28  André Pönitz  <poenitz@gmx.net>
4955
4956         * undo_funcs.C:
4957         * lyxfunc.C:
4958         * buffer.[Ch]:
4959         * BufferView_pimpl.C:
4960         * BufferView.C: getParFromID related ParagraphList::iterator changes
4961
4962 2003-04-28  André Pönitz  <poenitz@gmx.net>
4963
4964         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4965           Changes
4966
4967 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * messages.C: remove one more localedir class variable.
4970
4971 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * messages.C (getLocaleDir): singleton generation function
4974         (Pimpl): use it.
4975         (Messages): add a default constructor.
4976
4977         * main.C (main): do not setup localedir here, do not call
4978         gettext_init.
4979
4980         * gettext.C (_): use it.
4981         (gettext_init): delete funciton
4982
4983 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4984
4985         * gettext.C (getLyXMessages): new singleton generating function.
4986
4987         * buffer.C (updateDocLang): adjust
4988
4989         * Makefile.am (messages.o): add target
4990         (main.o): remove target
4991
4992 2003-04-27  John Levon  <levon@movementarian.org>
4993
4994         * bufferlist.C:
4995         * lyx_cb.C:
4996         * lyxfunc.C:
4997         * lyxvc.C: specify cancel button in Alert::prompt
4998
4999 2003-04-26  John Levon  <levon@movementarian.org>
5000
5001         * text3.C:
5002         * lyxfunc.C:
5003         * lfuns.h:
5004         * LyXAction.C: add LFUN_INSET_SETTINGS
5005
5006         * lyxfunc.C: don't enable tabular-feature when there's
5007         just any locking inset
5008
5009 2003-04-26  John Levon  <levon@movementarian.org>
5010
5011         * bufferlist.C: re-add Cancel to buffer close question
5012
5013         * lyxfunc.C: fix import UI a bit
5014
5015 2003-04-25  John Levon  <levon@movementarian.org>
5016
5017         * gettext.C: remove the broken asserts for now
5018
5019 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5020
5021         * messages.C: make case where setlocale cannot comply work better.
5022
5023         * buffer.C (updateDocLang): new function
5024         (changeLanguage): use it
5025         (readFile): use it
5026
5027         * text2.C (setCounter): use B_ a bit.
5028
5029         * lyxlayout.C (Read): be sure to trim the label strings.
5030
5031         * messages.C (Messages): fix typo in comment
5032
5033         * buffer.C (readFile): set message_ after file is loaded.
5034         (makeDocBookFile): remove double return
5035         (changeLanguage): reset message_ upon language change.
5036         (B_): new func, use this to get translated buffer strings.
5037
5038         * main.C: add myself and Jean Marc as authors.
5039
5040 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5041
5042         * messages.[hC]: pimplify Messages, and three different pimpls to be
5043         used in different circumstances.
5044
5045         * gettext.[Ch]: change for use with new message code.
5046
5047 2003-04-24 André Pönitz <poenitz@gmx.net>
5048
5049         * factory.C: support for eqref
5050
5051 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5052
5053         * messages.[Ch]: add missing char
5054
5055         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5056
5057         * messages.[Ch]: New files
5058
5059 2003-04-18  John Levon  <levon@movementarian.org>
5060
5061         * BufferView.h:
5062         * BufferView.C:
5063         * BufferView_pimpl.C:
5064         * lfuns.h:
5065         * LyXAction.C:
5066         * lyxtext.h:
5067         * text2.C: remove layout-copy/paste (bug 778)
5068
5069 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5070
5071         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5072
5073 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5074
5075         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5076         if they succeed. Act accordingly.
5077
5078 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5079
5080         * text2.C (setCharFont): adjust
5081         (setCounter): adjust
5082         (insertStringAsLines): adjust
5083
5084         * text.C (leftMargin): adjust
5085         (setHeightOfRow): adjust
5086
5087         * rowpainter.C (paintFirst): adjust
5088         (paintLast): adjust
5089
5090         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5091         (outerHook): ditto
5092         (isFirstInSequence): ditto
5093         (getEndLabel): ditto
5094         (outerFont): adjust
5095
5096         * paragraph.C (getParLanguage): comment out some hard stuff.
5097
5098         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5099         (sgmlError): ditto
5100         (simpleDocBookOnePar): ditto
5101         (makeDocBookFile): use ParagraphList::iterator
5102
5103         * CutAndPaste.C (pasteSelection): adjust
5104
5105 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5106
5107         * text2.C (getFont): adjust
5108         (getLayoutFont): adjust
5109         (getLabelFont): adjust
5110
5111         * paragraph_funcs.C (TeXOnePar): adjust
5112
5113         * buffer.C (simpleLinuxDocOnePar): adjust
5114         (simpleDocBookOnePar): adjust
5115
5116         * CutAndPaste.C (pasteSelection): adjust
5117
5118         * BufferView.C (getEncoding): adjust
5119
5120         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5121
5122 2003-04-16  John Levon  <levon@movementarian.org>
5123
5124         * lyxfind.C: use parlist stuff for search/changes
5125
5126 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5127
5128         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5129
5130         * text2.C (deleteEmptyParagraphMechanism): adjust
5131
5132         * text2.[Ch] (ownerParagraph): delete func (both of them
5133
5134 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5135
5136         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5137
5138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5139
5140         * ParagraphList.C: prepare for NO_NEXT
5141
5142 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5143
5144         * text2.C (getFont): adjust
5145         (getLayoutFont): adjust
5146         (getLabelFont): adjust
5147
5148         * paragraph.C (getFont): adjust
5149         (getLabelFont): adjust
5150         (getLayoutFont): adjust
5151
5152         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5153
5154 2003-04-15  John Levon  <levon@movementarian.org>
5155
5156         From Angus Leeming
5157
5158         * lyx_main.C: handle Include in .ui files
5159
5160 2003-04-15  John Levon  <levon@movementarian.org>
5161
5162         * MenuBackend.C: make the doc files length shorter
5163
5164         * ToolbarBackend.h:
5165         * ToolbarBackend.C: handle toolbar placement flags,
5166         Minibuffer
5167
5168 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5171         adjust
5172
5173         * paragraph_funcs.C (TeXOnePar): adjust
5174
5175         * paragraph.C (getLabelFont): add outerfont arg, adjust
5176         (getLayoutFont): ditto
5177         (simpleTeXOnePar): adjust
5178
5179         * paragraph_pimpl.C (realizeFont): delete func
5180
5181 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5182
5183         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5184         row argument, constify cur argument.
5185
5186 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5187
5188         * text2.C (getFont): adjust
5189         (getLayoutFont): adjust
5190         (getLabelFont): adjust
5191
5192         * paragraph_funcs.C (TeXOnePar): adjust
5193         (outerFont): new func...
5194         (realizeFont): ...moved out from here, changed this to facilitate
5195         transition
5196
5197         * paragraph.C (getFont): take outerfont as arg, adjust
5198         (simpleTeXOnePar): add outerfont arg, adjust
5199
5200         * buffer.C (simpleLinuxDocOnePar): adjust
5201         (simpleDocBookOnePar): adjust
5202
5203         * CutAndPaste.C (pasteSelection): adjust
5204
5205         * BufferView.C (getEncoding): adjust
5206
5207 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5208
5209         * text2.C (setCharFont): adjust
5210         (setCounter): adjust
5211
5212         * text.C (leftMargin): adjust
5213         (setHeightOfRow): adjust
5214
5215         * rowpainter.C (paintFirst): adjust
5216         (paintLast): adjust
5217
5218         * paragraph_pimpl.C (realizeFont): adjust
5219
5220         * paragraph.C (isFirstInSequence): move from here...
5221         * paragraph_funcs.C (isFirstInSequence): ...to here
5222
5223         * paragraph.C (outerHook): move from here...
5224         * paragraph_funcs.C (outerHook): ...to here
5225
5226         * paragraph.C (depthHook): move from here...
5227         * paragraph_funcs.C (depthHook): ...to here
5228
5229         * paragraph.C (getEndLabel): move from here...
5230         * paragraph_funcs.C (getEndLabel): ...to here
5231
5232         * text2.C (realizeFont): move from here...
5233         * paragraph_funcs.C (realizeFont): ...to here
5234
5235 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5238
5239 2003-04-14  Angus Leeming  <leeming@lyx.org>
5240
5241         * LColor.[Ch]: scrap LColor mathcursor.
5242
5243 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5244
5245         * lyxlex.[Ch] (text): delete function
5246         * trans.C (Load): adjust
5247         * paragraph_funcs.C (readParToken): adjust
5248
5249 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5250
5251         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5252         vector<char> instead of a char[].
5253
5254         * lyxlex_pimpl.C (getString): adjust
5255         (next): adjust
5256         (lex): use getString
5257         (eatLine): adjust
5258         (nextToken): adjust
5259
5260         * lyxlex.C (text): use pimpl_->getString()
5261         (getBool): ditto
5262         (findToken): ditto
5263
5264 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5265
5266         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5267         (makeFontEntriesLayoutSpecific): temp var for par.size()
5268         (setLayout): temp var for ownerParagraphs().end()
5269         (fullRebreak): temp var for rows().end()
5270         (selectionAsString): temp var for boost::next(startpit), realize
5271         that the while really is a regular for loop.
5272         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5273         setCursor in one place.
5274         (setParagraph): temp vr for ownerParagraphs().end()
5275         (updateCounters): make the while loop a for loop
5276         (cutSelection): temp var for ownerParagraphs().end()
5277         (updateInset): make the do {} while() a regular for loop
5278         (getCursorX): use temp vars
5279         (setCurrentFont): use temp vars
5280         (getColumnNearX): use temp vars
5281
5282 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5283
5284         * text.C (transformChar): use temp var for getChar
5285         (computeBidiTables): use temp var for row->par()
5286         (fill): move temp vars for row->par() and pit->layout() earlier in
5287         the function.
5288         (labelFill): use temp var for row->par()
5289         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5290         asc and desc, realize that pit never changes and that firstpit is
5291         just a duplicate and not needed. Exchange rit->par() with pit in a
5292         lot of places.
5293         (breakAgain): use a temp var for boost::next(rit)
5294         (breakAgainOneRow): ditto
5295         (breakParagraph): use a temp var for rows().begin()
5296         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5297         (cursorRightOneWord): use temp var for cursor.par() and
5298         cursor.pos(), remove usage of tmpcursor.
5299         (cursorLeftOneWord): use temp var for cursor.par() and
5300         cursor.pos() only set cur at end of function.
5301
5302 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5303
5304         * text.C, text2.C: exchange all usage of Paragraph::next with
5305         boost::next(ParagraphList::iterator)
5306
5307         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5308
5309         * text2.C (cursorTop): simplify implementation
5310         (cursorBottom): ditto
5311         (setParagraph): use ParagraphList::iterator
5312         (setCurrentFont): adjust
5313         (getColumnNearX): adjust
5314         (cursorRight): adjust
5315         (cursorLeft): remove usage of Paragraph::previous
5316         (cursorUpParagraph): ditto
5317         (deleteEmptyParagraphMechanism): slight cleanup
5318
5319         * text.C (isBoundary): take a Paragraph const & instead of a
5320         pointer as arg.
5321         (addressBreakPoint): ditto
5322         (leftMargin): remove usage of Paragraph::previous.
5323         (setHeightOfRow): ditto
5324         (cursorLeftOneWord): ditto
5325         (selectNextWordToSpellcheck): ditto
5326         (Delete): ditto
5327         (backspace): ditto
5328         (breakParagraph): remove one usage of Paragraph::next
5329         (redoParagraph): ditto
5330         (acceptChange): ditto
5331         (insertChar): adjust
5332         (rowBreakPoint): adjust
5333
5334         * bufferview_funcs.C (toggleAndShow): adjust
5335
5336 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5337
5338         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5339         methods to access it.
5340         * lyxtext.h:
5341         * text.C: Added updateRowPositions to compute all row positions.
5342         Make top_y and getRowNearY() to use the cached y position
5343
5344 2003-04-11  John Levon  <levon@movementarian.org>
5345
5346         * text.C (rowBreakPoint): reintroduce the labelEnd
5347         checks, code copied from the row fill stuff. Deep voodoo.
5348
5349         * text.C (fill): add a comment and debugging for the
5350         next poor soul.
5351
5352 2003-04-11  John Levon  <levon@movementarian.org>
5353
5354         * text.C: make sure fullrow insets get wrapped to the next line,
5355         even when they're in a manual label
5356
5357 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5358
5359         * text2.C (insertParagraph): make it take ParagraphList::iterator
5360         as arg.
5361         (setLayout): make it return ParagraphList::iterator
5362         (redoParagraphs): ditto
5363         (setCounter): ditto
5364         (checkParagraph): ditto
5365
5366         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5367
5368         * text2.C: adjust several funcs.
5369         (realizeFont): take a ParagraphList::iterator as arg.
5370         (getLayoutFont): ditto
5371         (getLabelFont): ditto
5372         (setCharFont): ditto
5373
5374         * text.C: adjust several funcs.
5375
5376 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5377
5378         * text.C (selectNextWordToSpellcheck): don't accidentally
5379         skip insets
5380
5381 2003-04-10  John Levon  <levon@movementarian.org>
5382
5383         * ToolbarBackend.C (getIcon): special handling for
5384         LFUN_MATH_DELIM
5385
5386 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5387
5388         * text2.C (cursorRight): a getChar assert fixed
5389
5390 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5391
5392         * text2.C (getFont): change to take a ParagraphList::iterator
5393         instead of Paragraph*
5394         Adjust several functions.
5395
5396         * text.C (transformChar): change to take a ParagraphList::iterator
5397         instead of Paragraph*
5398         (singleWidth): ditto
5399         Adjust several functions.
5400
5401         * rowpainter.C: adjust several functions
5402         * rowpainter.h:store a ParagraphList::iterator and not a
5403         Paragraph&.
5404
5405
5406 2003-04-09  John Levon  <levon@movementarian.org>
5407
5408         * lyxfunc.C:
5409         * lfuns.h:
5410         * LyXAction.h:
5411         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5412         and the "help" bits as well
5413
5414 2003-04-09  John Levon  <levon@movementarian.org>
5415
5416         * ToolbarBackend.h:
5417         * ToolbarBackend.C: allow multiple toolbars
5418
5419 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * undo_funcs.C (setCursorParUndo): adjust
5422
5423         * text_funcs.C (transposeChars): adjust
5424
5425         * text3.C (gotoNextInset): adjust
5426         (dispatch): adjust
5427
5428         * text2.C (setLayout): adjust
5429         (changeDepth): adjust
5430         (setFont): adjust
5431         (redoParagraphs): adjust
5432         (selectionAsString): adjust
5433         (setParagraph): adjust
5434         (insertInset): adjust
5435         (cutSelection): adjust
5436         (copySelection): adjust
5437         (pasteSelection): adjust
5438         (insertStringAsLines): adjust
5439         (updateInset): adjust
5440         (setCursor): change to take a ParagraphList::iterator parameter
5441         (setCursorIntern): change to take a ParagraphList::iterator parameter
5442         (setCurrentFont): adjust
5443         (cursorLeft): adjust
5444         (cursorRight): adjust
5445         (deleteEmptyParagraphMechanism): adjust
5446
5447         * text.C (breakParagraph): adjust
5448         (insertChar): adjust
5449         (acceptChange): adjust
5450         (rejectChange): adjust
5451         (selectNextWordToSpellcheck): adjust
5452         (changeCase): adjust
5453         (Delete): adjust
5454         (backspace): adjust
5455
5456         * lyxfind.C (SearchForward): adjust
5457         (SearchBackward): adjust
5458         (nextChange): adjust
5459
5460         * lyxcursor.C (par): adjust
5461
5462         * lyxcursor.h: store a ParagraphList::iterator instead of a
5463         Paragraph*
5464
5465         * lyx_cb.C (getPossibleLabel): adjust
5466
5467         * bufferview_funcs.C (toggleAndShow): adjust
5468
5469         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5470         (dispatch): adjust
5471
5472         * BufferView.C (removeAutoInsets): adjust
5473         (lockedInsetStoreUndo): adjust
5474
5475 2003-04-09  John Levon  <levon@movementarian.org>
5476
5477         * ToolbarBackend.C: try icon without argument
5478         if with argument fails
5479
5480 2003-04-08  John Levon  <levon@movementarian.org>
5481
5482         * ToolbarBackend.h:
5483         * ToolbarBackend.C: add getIcon(), handle tooltip,
5484         and change from "Icon" to "Item".
5485
5486 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5487
5488         * BufferView.C (lockInset): another bad getchar crunched
5489
5490 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5491
5492         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5493         again)
5494
5495 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5496
5497         * lyxfind.C (searchForward, searchBackwards): bug 782
5498
5499 2003-04-07  John Levon  <levon@movementarian.org>
5500
5501         * paragraph.C: remove dead comment
5502
5503         * text.C: remove troublesome depth-fiddling code
5504         in leftMargin() and rightMargin() (bug 1017)
5505
5506         * text.C: fix breaking of rows in nested lists
5507         (bug 1004)
5508
5509         * text2.C (updateCounters): fix up depth values
5510         (bug 1013)
5511
5512 2003-04-07  John Levon  <levon@movementarian.org>
5513
5514         * BufferView_pimpl.C: clear message when doc finishes resizing,
5515         and after a mouse event
5516
5517         * lyxfunc.C: clear message after exiting inset
5518
5519 2003-04-07  John Levon  <levon@movementarian.org>
5520
5521         * bufferview_funcs.C: show math status not outside
5522         status in the statusbar
5523
5524 2003-04-07  John Levon  <levon@movementarian.org>
5525
5526         * lyxfunc.C: note status changed after a depth change
5527
5528 2003-04-04  Angus Leeming  <leeming@lyx.org>
5529
5530         * LaTeX.h: move AuxInfo operator==, != out of line.
5531         Remove LaTeX virtual destructor; nothing derives from it.
5532         Move operator()() out of public area and rename it startscript().
5533         Change protected for private.
5534
5535 2003-04-04  Angus Leeming  <leeming@lyx.org>
5536
5537         * lyxfunc.C:
5538         * text2.C: remove unneeded #includes.
5539
5540 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5541
5542         * text2.C (dEPM): fix the heigth of the next row
5543
5544 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5545
5546         * text.C: squashed an invalid getChar requester + some ws changes
5547
5548 2003-04-03  John Levon  <levon@movementarian.org>
5549
5550         * bufferview_funcs.h:
5551         * bufferview_funcs.C:
5552         * lyxfunc.C:
5553         * lyxtext.h:
5554         * text2.C: make getStatus work for the env depth lfuns
5555
5556 2003-04-03  John Levon  <levon@movementarian.org>
5557
5558         * bufferview_funcs.h:
5559         * bufferview_funcs.C:
5560         * lyxfunc.C:
5561         * lyxtext.h:
5562         * text2.C: parlistize decDepth(), by merging it with incDepth()
5563
5564 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5565
5566         * lyxrow.h: store a ParagraphList::iterator instead of a
5567         Paragraph* and adjust other class functions to suit.
5568
5569         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5570         above.
5571
5572 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5573
5574         * text2.C (setCursor): do not anchor to cursor row for the time being
5575
5576 2003-04-02  John Levon  <levon@movementarian.org>
5577
5578         * LyXAction.C:
5579         * lfuns.h:
5580         * lyx_main.C:
5581         * lyxtext.h:
5582         * text.C:
5583         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5584
5585 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * paragraph.h: make ParagraphList and ParagraphList::iterator
5588         friends of Paragraph.
5589
5590         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5591
5592         * ParagraphList.C: Use the private next_ and previous_ from
5593         Paragraph.
5594
5595 2003-04-01  John Levon  <levon@movementarian.org>
5596
5597         * ToolbarBackend.h:
5598         * ToolbarBackend.C:
5599         * Makefile.am: rename, remove defaults gunk
5600
5601         * MenuBackend.h:
5602         * MenuBackend.C: remove defaults gunk
5603
5604         * Languages.h:
5605         * Languages.C: remove defaults gunk
5606
5607         * lyx_main.h:
5608         * lyx_main.C: error out if files couldn't be found.
5609
5610 2003-04-02  John Levon  <levon@movementarian.org>
5611
5612         * text2.C: make incDepth() use parlist
5613
5614 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5615
5616         * undo_funcs.C (firstUndoParagraph): adjust
5617
5618         * text3.C (gotoInset): adjust
5619         (dispatch): adjust, and rewrite loop.
5620
5621         * text2.C (init): adjust, and rewrite loop.
5622         (redoParagraphs): adjust
5623         (updateInset): adjust, and rewrite loop.
5624         (deleteEmptyParagraphMechanism): adjust
5625
5626         * tabular.C (LyXTabular): adjust
5627         (SetMultiColumn): adjust
5628         (TeXRow): adjust
5629
5630         * lyxtext.[Ch] (ownerParagraph): delete function
5631         (ownerParagraphs): new function returns a ParagraphList.
5632
5633         * BufferView.C (removeAutoInsets): adjust
5634         (insertErrors): adjust
5635         (setCursorFromRow): adjust
5636
5637 2003-04-01  Angus Leeming  <leeming@lyx.org>
5638
5639         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5640         in the frontends.
5641
5642 2003-04-02  John Levon  <levon@movementarian.org>
5643
5644         * lyxtext.h:
5645         * text.C:
5646         * Makefile.am:
5647         * text_funcs.h:
5648         * text_funcs.C: make transposeChars a free function
5649
5650         * lyxrow_funcs.C: remove wrong comment
5651
5652 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * lyxtext.h: adjust
5655         * rowpainter.C: adjust
5656         * text.C: adjust
5657         * text2.C: adjust
5658         * text3.C: adjust
5659
5660         * lyxrow_funcs. [Ch]: new files
5661
5662         * lyxrow.[Ch]: remove next and previous pointers
5663         (next,previous): remove accessor functions
5664         (isParEnd): move to lyxrow_funcs
5665         (lastPos): move to lyxrow_funcs
5666         (nextRowIsAllInset): move to lyxrow_funcs
5667         (lastPrintablePos): move to lyxrow_funcs
5668         (numberOfSeparators): move to lyxrow_funcs
5669         (numberOfHfills): move to lyxrow_funcs
5670         (numberOfLabelHfills): move to lyxrow_funcs
5671         (hfillExpansion): move to lyxrow_funcs
5672
5673         * lyxfunc.C: adjust
5674
5675         * bufferview_funcs.C (toggleAndShow): adjust
5676
5677         * RowList.h: Remove class RowList from file leave just a
5678         std::list<Row>.
5679
5680         * RowList.C: delete file
5681
5682         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5683         and lyxrow_funcs.h
5684
5685 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5686
5687         * text3.C (cursorPrevious): adjust
5688         (cursorNext): adjust
5689         (dispatch): adjust
5690
5691         * text2.C (redoHeightOfParagraph): adjust
5692         (redoDrawingOfParagraph): adjust
5693         (setCursor): adjust
5694
5695         * text.C (breakParagraph): adjust
5696         (insertChar): adjust
5697         (backspace): adjust
5698
5699         * rowpainter.C (RowPainter): adjust
5700         (leftMargin): simplify and adjust
5701         (most rowpainter functions): adjust.
5702
5703         * rowpainter.h: store the row as RowList::iterator not as Row*
5704
5705         * lyxcursor.C (row): taka RowList::iterator as arg
5706         (irow): ditto
5707
5708         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5709         of Row*.
5710
5711 2003-04-01  Angus Leeming  <leeming@lyx.org>
5712
5713         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5714         stuff like bool Bool.
5715
5716 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5717
5718         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5719         rewrite a loop
5720
5721 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5724         RowList::iterator.
5725
5726         * lyxtext.h (rows): drop one version and leve a const variant that
5727         returns a RowList::iterator.
5728
5729 2003-03-31  Angus Leeming  <leeming@lyx.org>
5730
5731         * text.C (fill): ensure that the signature is the same as that in the
5732         header file.
5733
5734 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5735
5736         * text2.C (redoParagraphs): adjust
5737         (updateCounters): adjust
5738         (checkParagraph): adjust
5739         (getColumnNearX): adjust and reformat a bit.
5740
5741         * text.C (top_y): adjust
5742         (workWidth): adjust
5743         (leftMargin): adjust
5744         (prepareToPrint): adjust
5745         (getRow): adjust
5746         (getRowNearY): adjust
5747
5748         * lyxtext.h: make rowlist_ mutable.
5749
5750         * RowList.h: add const_iterator
5751         * RowList.C: adjust for RowList::const_iterator.
5752
5753         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5754         adjust.
5755
5756 2003-03-31  John Levon  <levon@movementarian.org>
5757
5758         * lyxrc.h:
5759         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5760
5761         * lyx_main.C: set default fonts from using lyx_gui funcs
5762
5763         * exporter.C: pdf_mode moved from lyxrc
5764
5765         * lyx_cb.C:
5766         * lyxfunc.C: changes from above
5767
5768 2003-03-31  John Levon  <levon@movementarian.org>
5769
5770         * lyx_main.C: fix to the last fix
5771
5772 2003-03-31  John Levon  <levon@movementarian.org>
5773
5774         * bufferlist.C: "Load original" -> "Load Original"
5775
5776         * converter.C:
5777         * exporter.C:
5778         * importer.C:
5779         * lyx_main.C:
5780         * format.C: more Alert cleanups
5781
5782 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * text2.C (removeParagraph): make it take a RowList::iterator as
5785         arg, adjust.
5786         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5787         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5788
5789         * text.C (anchor_row): make it take a RowList::iterator as arg,
5790         adjust.
5791         (computeBidiTables): make it take a const reference to Row instead
5792         of Row pointer, adjust.
5793         (leftMargin): make it take a RowList::iterator as arg, adjust.
5794         (rowBreakPoint): adjust
5795         (breakAgainOneRow): make it take a RowList::iterator as arg,
5796         adjust.
5797         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5798
5799         * bufferview_funcs.C (toggleAndShow): adjust
5800
5801 2003-03-30  John Levon  <levon@movementarian.org>
5802
5803         * Makefile.am:
5804         * BoostFormat.h:
5805         * boost-inst.C: moved to support
5806
5807         * several files: changes as a result
5808
5809 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * text2.C (LyXText): adjust.
5812         (init): adjust
5813         (removeRow): make it take a RowList::iterator as arg, adjust.
5814         (fullRebreak): adjust
5815         (deleteEmptyParagraphMechanism): adjust
5816         (clearPaint): adjust
5817         (postPaint): adjust
5818
5819         * text.C (top_y): adjust
5820         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5821         (breakAgain): make it take a RowList::iterator as arg, adjust.
5822         (breakParagraph): adjust
5823         (insertChar): adjust
5824         (backspace): adjust
5825
5826         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5827         need_break_row, and refresh_row.
5828
5829         * text3.C (dispatch): adjust
5830
5831         * text2.C (checkParagraph): adjust
5832         (setCursor): adjust
5833         (setCursorFromCoordinates): adjust
5834
5835         * text.C (top_y): adjust
5836         (workWidth): adjust
5837         (getRow): make it return a RowList::iterator, adjust
5838         (getRowNearY): make it return a RowList::iterator, adjust
5839
5840         * text2.C (init): adjust
5841         (insertRow): remove function
5842         (insertParagraph): adjust
5843         (redoParagraphs): adjust
5844         (fullRebreak): adjust
5845         (updateCounters): adjust
5846
5847         * text.C (top_y): rewrite to use RowList iterators.
5848         (top_y): adjust
5849         (setHeightOfRow): rewrite to sue RowList iterators.
5850         (appendParagraph): adjust
5851         (breakAgain): adjust
5852         (breakAgainOneRow): adjust
5853         (breakParagraph): adjust
5854         (getRow): adjust
5855         (getRowNearY): adjust, and remove commented code.
5856
5857         * lyxtext.h (firstRow): delete function
5858         (lastRow): delete function
5859         (rows): new function (const and non-const versions.)
5860         (insertRow): delete function
5861
5862         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5863
5864 2003-03-29  John Levon  <levon@movementarian.org>
5865
5866         * BufferView_pimpl.C: always update scrollbar top
5867         because pasting text when we're anchored could mean we
5868         miss an update altogether
5869
5870 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5871
5872         * text2.C (init): use rowlist_.end() and not 0.
5873         (insertRow): change to take a RowList::iterator as arg, adjust
5874         for this.
5875         (insertParagraph): change to take a RowList::iterator as arg,
5876         adjust for this.
5877         (redoParagraphs): remove some debug msgs.
5878
5879         * text.C (appendParagraph): change to take a RowList::iterator
5880         arg, adjust for this.
5881         (breakAgain): add an assert
5882         (breakAgainOneRow): ditto
5883
5884 2003-03-29  John Levon  <levon@movementarian.org>
5885
5886         * text2.C: do not clear selection after inc/decDepth
5887         (bug 550)
5888
5889 2003-03-29  John Levon  <levon@movementarian.org>
5890
5891         * BufferView.C:
5892         * buffer.C: fix broken strerrors according to Lars
5893
5894 2003-03-29  John Levon  <levon@movementarian.org>
5895
5896         * converters.C: more Alert cleanups
5897
5898 2003-03-29  John Levon  <levon@movementarian.org>
5899
5900         * bufferview_funcs.C: remove pointless Alert
5901
5902         * buffer.C: fix confusing error message when
5903         a template is chmoded 000
5904
5905 2003-03-29  John Levon  <levon@movementarian.org>
5906
5907         * BufferView.C:
5908         * BufferView.h:
5909         * BufferView_pimpl.C: Alert fixes
5910
5911         * Makefile.am:
5912         * tabular.C:
5913         * tabular-old.C: remove unused table compat reading
5914
5915 2003-03-29  John Levon  <levon@movementarian.org>
5916
5917         * BufferView.C:
5918         * buffer.C:
5919         * lyx_cb.h:
5920         * lyx_cb.C: more Alert cleanups
5921
5922         * lyxfunc.C: don't allow chktex if not latex document
5923
5924 2003-03-29  John Levon  <levon@movementarian.org>
5925
5926         * lyx_cb.C:
5927         * BufferView.C:
5928         * buffer.C: warnings pushed down from support/,
5929         kill err_alert
5930
5931 2003-03-29  John Levon  <levon@movementarian.org>
5932
5933         * lyxfunc.C: safety check for C-r (revert)
5934
5935 2003-03-29  John Levon  <levon@movementarian.org>
5936
5937         * bufferlist.h:
5938         * bufferlist.C: several UI fixes using Alert::prompt.
5939         Fix the pointless looping quit code. Fix stupid revert
5940         behaviour (bug 938)
5941
5942         * lyxvc.h:
5943         * lyxvc.C:
5944         * lyx_cb.C: use Alert::prompt
5945
5946         * lyx_main.C: remove a silly question
5947
5948         * lyxfunc.C: remove a couple of silly questions,
5949         use Alert::prompt
5950
5951 2003-03-28  John Levon  <levon@movementarian.org>
5952
5953         * text2.C: fix bug 974 (End on empty par)
5954
5955 2003-03-28  John Levon  <levon@movementarian.org>
5956
5957         * BufferView_pimpl.C:
5958         * LyXAction.C:
5959         * lfuns.h: remove do-nothing math greek lfuns
5960
5961 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5962
5963         * lyxgluelength.h (isValidGlueLength): add default arg on
5964         parameter 2. Remove default arg from friend in class.
5965
5966         * lyxlength.h (isValidLength): add default arg on parameter 2.
5967         Remove default arg from friend in class.
5968
5969         * text2.C (LyXText): adjust, initialize refresh_row.
5970         (init): adjust
5971         (removeRow): adjust
5972         (insertRow): adjust
5973         (insertParagraph): adjst
5974         (redoParagraphs): adjust
5975         (fullRebreak): adjust
5976         (updateCounters): adjust
5977         (deleteEmptyParagraphMechanism): first attempt at fixing a
5978         crashing bug.
5979
5980         * text.C (top_y): adjust
5981         (setHeightOfRow): adjust
5982         (getRow): adjust
5983         (getRowNearY): adjust
5984
5985         * lyxtext.h: include RowList.h
5986         (~LyXText): not needed anymore, deleted.
5987         (firstRow): modify for RowList
5988         (lastRow): new function
5989         Delete firstrow and lastrow class variables, add a Rowlist
5990         rowlist_ class variable.
5991
5992         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5993         paragraph is empty.
5994
5995         * RowList.C (insert): fix case where it == begin().
5996
5997 2003-03-26  Angus Leeming  <leeming@lyx.org>
5998
5999         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6000         the thesaurus dialog.
6001
6002 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6003
6004         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6005
6006         * RowList.[Ch]: new files
6007
6008         * ParagraphList.C (erase): handle the case where it == begin
6009         correctly.
6010
6011 2003-03-25  John Levon  <levon@movementarian.org>
6012
6013         * Makefile.am:
6014         * aspell_local.h:
6015         * aspell.C: add new aspell support
6016
6017         * lyxrc.h:
6018         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6019         have it accessible.
6020
6021 2003-03-25  Angus Leeming  <leeming@lyx.org>
6022
6023         * lfuns.h:
6024         * LyXAction.C (init): new LFUN_INSET_INSERT.
6025
6026         * BufferView_pimpl.C (dispatch): split out part of the
6027         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6028
6029         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6030         LFUN_INSET_APPLY.
6031
6032 2003-03-25  Angus Leeming  <leeming@lyx.org>
6033
6034         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6035
6036 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6037
6038         * text2.C:
6039         * text3.C: remove useless row->height(0)
6040
6041 2003-03-25  John Levon  <levon@movementarian.org>
6042
6043         * lyxtext.h:
6044         * text2.C:
6045         * text3.C: rename the refreshing stuff to better names
6046
6047 2003-03-24  John Levon  <levon@movementarian.org>
6048
6049         * BufferView_pimpl.h:
6050         * BufferView_pimpl.C: update layout choice on a mouse
6051         press/release
6052
6053 2003-03-23  John Levon  <levon@movementarian.org>
6054
6055         * Makefile.am: fix commandtags.h reference
6056
6057 2003-03-22  John Levon  <levon@movementarian.org>
6058
6059         * BufferView_pimpl.C:
6060         * lyxtext.h:
6061         * rowpainter.C:
6062         * rowpainter.h:
6063         * text.C:
6064         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6065
6066 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6067
6068         * lyxtext.h:
6069         * text.C: take the rtl methods out of line
6070
6071 2003-03-21 André Pönitz <poenitz@gmx.net>
6072
6073         * metricsinfo.[Ch]: new files containing structures to be passed around
6074         during the two-phase-drawing...
6075
6076 2003-03-21 André Pönitz <poenitz@gmx.net>
6077
6078         * lyxtextclass.C: read 'environment' tag.
6079
6080 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6081
6082         * text2.C (removeRow): fix bug 964
6083
6084 2003-03-20  John Levon  <levon@movementarian.org>
6085
6086         * rowpainter.C:
6087         * text.C:
6088         * text2.C: paint cleanups. Inset::update() dropped font
6089         parameter
6090
6091 2003-03-19  John Levon  <levon@movementarian.org>
6092
6093         * lyxfunc.C: only fitcursor/markDirty if available()
6094
6095 2003-03-19  John Levon  <levon@movementarian.org>
6096
6097         * commandtags.h: rename to ...
6098
6099         * lfuns.h: ... this, and renumber / cleanup
6100
6101 2003-03-19  John Levon  <levon@movementarian.org>
6102
6103         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6104         fit the cursor after an lfun
6105
6106         * BufferView.h:
6107         * BufferView.C:
6108         * BufferView_pimpl.h:
6109         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6110
6111         * LyXAction.C: layout-character should have ReadOnly
6112
6113         * ParagraphParameters.C:
6114         * buffer.C:
6115         * bufferview_funcs.C:
6116         * lyx_cb.C:
6117         * lyxfind.C:
6118         * lyxtext.h:
6119         * text.C:
6120         * text2.C:
6121         * text3.C:
6122         * undo_funcs.C: changes from above
6123
6124 2003-03-18  John Levon  <levon@movementarian.org>
6125
6126         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6127         remove it from update()
6128
6129         * lyxfunc.C: update layout choice after an lfun
6130
6131         * text3.C: remove extra updateLayoutChoice()s
6132
6133 2003-03-18  John Levon  <levon@movementarian.org>
6134
6135         * text.C: top_y change means full repaint, fix
6136         a drawing bug with cursor movement
6137
6138 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6139
6140         * lyxtext.h:
6141         * text.C:
6142         * text2.C: anchor row on setCursor
6143
6144 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6145
6146         * lyxtext.h: remove almost all mutable keywords
6147         * text.C:
6148         * text2.C:
6149         * text3.C: remove const keywords accordingly
6150
6151 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6154         anon namespace
6155         (TeXEnvironment): ditto
6156         (TeXOnePar): ditto
6157
6158 2003-03-17  John Levon  <levon@movementarian.org>
6159
6160         * text.C (rowBreakPoint): remove attempt to fix displayed
6161         math insets inside a manual label
6162
6163 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6164
6165         * lyxtext.h: remove BufferView* as first arg from almost all class
6166         functions.
6167         * other files: adjust.
6168
6169 2003-03-17  John Levon  <levon@movementarian.org>
6170
6171         * lyxtext.h:
6172         * undo_funcs.C:
6173         * text2.C: more paint cleanups
6174
6175         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6176
6177         * rowpainter.h:
6178         * rowpainter.C: remove "smart" background painting code
6179
6180 2003-03-16  John Levon  <levon@movementarian.org>
6181
6182         * lyxtext.h:
6183         * text.C:
6184         * text2.C:
6185         * text3.C: add helper functions for setting refresh_row/y
6186
6187 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6188
6189         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6190         newline inset which *can* get inserted in the pass_thru layouts.
6191         This is primarily for literate documents.
6192
6193 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6194
6195         * buffer.C: increment LYX_FORMAT to 223
6196
6197 2003-03-14 André Pönitz <poenitz@gmx.net>
6198
6199         * textclass.h: prepare for environment handling, ws changes
6200         * lyxlayout.C: read latexheader and latexfooter tags
6201
6202 2003-03-14  John Levon  <levon@movementarian.org>
6203
6204         * text2.C: rewrite ::status() a bit
6205
6206 2003-03-13  John Levon  <levon@movementarian.org>
6207
6208         * lyxtext.h: add some docs
6209
6210 2003-03-13  John Levon  <levon@movementarian.org>
6211
6212         * lyxtext.h:
6213         * text.C:
6214         * text2.C:
6215         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6216
6217 2003-03-13  John Levon  <levon@movementarian.org>
6218
6219         * text3.C: fix appendix redrawing
6220
6221 2003-03-13  John Levon  <levon@movementarian.org>
6222
6223         * text.C (setHeightOfRow):
6224         * rowpainter.h:
6225         * rowpainter.C: make appendix mark have the text
6226           "Appendix" so the user knows what it is
6227
6228         * LColor.h:
6229         * LColor.C: s/appendixline/appendix/ from above
6230
6231 2003-03-13  John Levon  <levon@movementarian.org>
6232
6233         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6234
6235         * text.C: fix a getChar(pos) bug properly
6236
6237 2003-03-13  Angus Leeming  <leeming@lyx.org>
6238
6239         * commandtags.h:
6240         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6241         Probably only temporary. Let's see how things pan out.
6242
6243         * BufferView.C (unlockInset):
6244         * BufferView_pimpl.C (fitCursor):
6245         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6246
6247         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6248         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6249
6250         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6251         new functions that convert ParagraphParameters to and from a string.
6252
6253         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6254         BufferView::Pimpl's dispatch.
6255         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6256
6257 2003-03-13 André Pönitz <poenitz@gmx.net>
6258
6259         * lyxfunc.C:
6260         * text3.C:
6261         * factory.C: make it aware of InsetEnv
6262
6263 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * text2.C (setCursor): never ask for one past last
6266         (setCursor): add some debugging messages.
6267
6268         * text.C (singleWidth): never ask for one past last
6269         (singleWidth): ditto
6270         (leftMargin): ditto
6271         (rightMargin): ditto
6272         (rowBreakPoint): ditto
6273         (setHeightOfRow): ditto
6274         (prepareToPrint): ditto
6275
6276         * rowpainter.C (paintBackground): never ask for one past last
6277         (paintText): never ask for one past last
6278
6279         * paragraph_pimpl.C (getChar): make the assert stricter, never
6280         allow the one past last pos to be taken
6281
6282         * paragraph.C (getChar): ws changes only
6283
6284         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6285         (numberOfSeparators): ditto
6286         (numberOfHfills): ditto
6287
6288 2003-03-12  John Levon  <levon@movementarian.org>
6289
6290         * author.h:
6291         * author.C:
6292         * bufferparams.h:
6293         * bufferparams.C:
6294         * paragraph_funcs.C: fix per-buffer authorlists
6295
6296 2003-03-12  John Levon  <levon@movementarian.org>
6297
6298         * text.C: fix newline in right address
6299
6300 2003-03-12  Angus Leeming  <leeming@lyx.org>
6301
6302         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6303         duplicate those in LyXFunc::dispatch.
6304
6305         * commandtags.h:
6306         * LyXAction.C:
6307         * ToolbarDefaults.C:
6308         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6309         Add LFUN_FONTFREE_UPDATE.
6310
6311         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6312         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6313
6314         * bufferview_func.[Ch]: several new functions to facilliate
6315         transfer of data to and from the character dialog.
6316
6317 2003-03-12  John Levon  <levon@movementarian.org>
6318
6319         * buffer.C:
6320         * paragraph.h:
6321         * paragraph.C:
6322         * paragraph_funcs.C:
6323         * paragraph_pimpl.C:
6324         * sgml.C:
6325         * tabular.C:
6326         * text.C:
6327         * text3.C: remove META_NEWLINE in favour of an inset
6328
6329         * rowpainter.h:
6330         * rowpainter.C: remove paintNewline (done by inset)
6331
6332 2003-03-12  John Levon  <levon@movementarian.org>
6333
6334         * paragraph_pimpl.C: complain about bad getChar()s
6335         for a while at least
6336
6337 2003-03-12  John Levon  <levon@movementarian.org>
6338
6339         * buffer.h:
6340         * buffer.C: move paragraph read into a separate function,
6341         a little renaming to reflect that.
6342
6343         * bufferparams.h:
6344         * bufferparams.C: remove the author_ids map, not necessary now
6345
6346         * factory.h:
6347         * factory.C: moved Buffer::readInset to here
6348
6349         * paragraph_funcs.h:
6350         * paragraph_funcs.C: readParagraph free function moved from
6351         buffer.C
6352
6353         * tabular.C: name change
6354
6355 2003-03-12  John Levon  <levon@movementarian.org>
6356
6357         * buffer.C:
6358         * ParagraphParameters.C: move par params input to
6359         a read() method
6360
6361         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6362         behave like a normal read from the stream wrt reading
6363         a line vs. a \\token
6364
6365 2003-03-12  John Levon  <levon@movementarian.org>
6366
6367         * paragraph.C:
6368         * ParagraphParameters.h:
6369         * ParagraphParameters.C: move output code to a
6370         ::write() method
6371
6372 2003-03-12  John Levon  <levon@movementarian.org>
6373
6374         * BufferView.C (insertLyXFile):
6375         * buffer.h:
6376         * buffer.C:
6377         * tabular.C: use a parlist iterator for creating the
6378           document.
6379
6380 2003-03-12  John Levon  <levon@movementarian.org>
6381
6382         * buffer.C: make current_change static local not
6383           static file-scope
6384
6385 2003-03-12  John Levon  <levon@movementarian.org>
6386
6387         * buffer.C: fix insertStringAsLines for change tracking
6388
6389 2003-03-12  John Levon  <levon@movementarian.org>
6390
6391         * BufferView.C:
6392         * tabular.C:
6393         * buffer.h:
6394         * buffer.C:
6395         * bufferparams.h:
6396         * bufferparams.C: move author list into params. Rename some
6397           functions. Move the header reading into a separate token
6398           loop. Move the header token reading into BufferParams.
6399
6400 2003-03-12  John Levon  <levon@movementarian.org>
6401
6402         * changes.C: put debug inside lyxerr.debugging() checks
6403
6404 2003-03-11 André Pönitz <poenitz@gmx.net>
6405
6406         * factory.C: make it aware of InsetHFill
6407
6408 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6409
6410         * buffer.C (latexParagraphs): move function from here...
6411         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6412         args.
6413
6414 2003-03-10  Angus Leeming  <leeming@lyx.org>
6415
6416         * LyXAction.C (init): fix bug in poplating array with multiple entries
6417         with the same LFUN (spotted by JMarc).
6418
6419 2003-03-10  John Levon  <levon@movementarian.org>
6420
6421         * text.C:
6422         * text2.C: move getColumnNearX() near its
6423         only call site
6424
6425 2003-03-10  John Levon  <levon@movementarian.org>
6426
6427         * text.C: fix break before a minipage
6428
6429 2003-03-10  John Levon  <levon@movementarian.org>
6430
6431         * text.C: fix the last commit
6432
6433 2003-03-09  John Levon  <levon@movementarian.org>
6434
6435         * lyxtext.h:
6436         * text.C:
6437         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6438         bug 365 (don't break before insets unless needed). Don't
6439         return a value > last under any circumstances.
6440
6441 2003-03-09  Angus Leeming  <leeming@lyx.org>
6442
6443         * BufferView_pimpl.C (trackChanges, dispatch): call
6444         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6445
6446 2003-03-09  Angus Leeming  <leeming@lyx.org>
6447
6448         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6449         than Dialogs::showAboutlyx().
6450
6451 2003-03-09  Angus Leeming  <leeming@lyx.org>
6452
6453         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6454         than Dialogs::showTabularCreate().
6455
6456 2003-03-09  John Levon  <levon@movementarian.org>
6457
6458         * lyxtext.h:
6459         * text.C:
6460         * text2.C: 3rd arg to nextBreakPoint was always the same.
6461           Use references.
6462
6463 2003-03-08  John Levon  <levon@movementarian.org>
6464
6465         * lyxrow.C:
6466         * paragraph.C:
6467         * paragraph.h:
6468         * rowpainter.C:
6469         * text.C:
6470         * text2.C: Remove the "main" bit from the "main body"
6471           notion.
6472
6473 2003-03-08  John Levon  <levon@movementarian.org>
6474
6475         * text.C (leftMargin): The left margin of an empty
6476         manual label paragraph should not include the label width
6477         string length.
6478
6479         * text.C (prepareToPrint): don't attempt to measure hfills
6480         for empty manual label paragraphs - the answer should be 0
6481
6482 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6483
6484         * CutAndPaste.C: remove commented code and reindent.
6485
6486 2003-03-08  John Levon  <levon@movementarian.org>
6487
6488         * lyxfunc.h:
6489         * lyxfunc.C: move reloadBuffer()
6490
6491         * BufferView.h:
6492         * BufferView.C: to here
6493
6494         * lyxvc.C: add comment
6495
6496         * vc-backend.h:
6497         * vc-backend.C: call bv->reload() to avoid
6498           getStatus() check on MENURELOAD
6499
6500 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6501
6502         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6503         to an old format .dep file.
6504
6505 2003-03-07  Angus Leeming  <leeming@lyx.org>
6506
6507         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6508         when the LFUN_MOUSE_RELEASE should have been handled by
6509         inset->localDispatch.
6510
6511 2003-03-07  Angus Leeming  <leeming@lyx.org>
6512
6513         * BufferView_pimpl.C (dispatch):
6514         * LyXAction.C (init):
6515         * ToolbarDefaults.C (init):
6516         * commandtags.h:
6517         * lyxfunc.C (getStatus):
6518         remove LFUN_INSET_GRAPHICS.
6519
6520         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6521
6522 2003-03-07  Angus Leeming  <leeming@lyx.org>
6523
6524         * commandtags.h:
6525         * LyXAction.C (init):
6526         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6527
6528         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6529
6530         * commandtags.h:
6531         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6532
6533         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6534         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6535
6536 2003-03-07  Angus Leeming  <leeming@lyx.org>
6537
6538         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6539         remove "ert".
6540
6541 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * ParagraphList.C (front): new function
6544         (back): implement
6545
6546 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6547
6548         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6549         and top_row_offset_. removed var first_y.
6550         * text.C (top_y):
6551         * text2.C (LyXText, removeRow):
6552         * text3.C:
6553         * BufferView_pimpl.C:
6554         use these methods instead of using first_y
6555
6556 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6557
6558         * text2.C (pasteSelection): adjust for checkPastePossible
6559
6560         * CutAndPaste.C: remove Paragraph * buf and replace with
6561         ParagraphList paragraphs.
6562         (DeleteBuffer): delete
6563         (cutSelection): change the tc type to textclass_type
6564         (copySelection): change the tc type to textclass_type
6565         (copySelection): adjust for ParagraphList
6566         (pasteSelection): change the tc type to textclass_type
6567         (pasteSelection): adjust for Paragraphlist
6568         (nrOfParagraphs): simplify for ParagraphList
6569         (checkPastePossible): simplify for ParagraphList
6570         (checkPastePossible): remove unused arg
6571
6572         * ParagraphList.C (insert): handle the case where there are no
6573         paragraphs yet.
6574
6575         * CutAndPaste.h: make CutAndPaste a namespace.
6576
6577         * text3.C (dispatch): adjust
6578
6579         * text.C (breakParagraph): add a ParagraphList as arg
6580
6581         * paragraph_funcs.C (breakParagraph): change to take a
6582         BufferParams and a ParagraphList as args.
6583         (breakParagraphConservative): ditto
6584         (mergeParagraph): ditto
6585         (TeXDeeper): add a ParagraphList arg
6586         (TeXEnvironment): ditto
6587         (TeXOnePar): ditto
6588
6589         * buffer.C (readLyXformat2): adjust
6590         (insertStringAsLines): adjust
6591         (latexParagraphs): adjust
6592
6593         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6594         (cutSelection): adjust
6595         (pasteSelection): adjust
6596
6597         * BufferView_pimpl.C (insertInset): adjust
6598
6599 2003-03-05  Angus Leeming  <leeming@lyx.org>
6600
6601         * commandtags.h:
6602         * LyXAction.C (init):
6603         * BufferView_pimpl.C (dispatch):
6604         * lyxfunc.C (getStatus):
6605         remove LFUN_CHILD_INSERT.
6606
6607         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6608
6609 2003-03-05  Angus Leeming  <leeming@lyx.org>
6610
6611         * commandtags.h:
6612         * LyXAction.C (init):
6613         * src/factory.C (createInset):
6614         * lyxfunc.C (getStatus):
6615         * text3.C (dispatch):
6616         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6617
6618         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6619
6620 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6621
6622         * ParagraphList.C (insert): handle insert right before end()
6623         (erase): fix cases where it can be first or last paragraph.
6624
6625 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6626
6627         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6628         Paragraph::next and Paragraph::previous
6629         (TeXOnePar): ditto
6630
6631         * text.C (breakParagraph): adjust
6632
6633         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6634         BufferParams& as arg.
6635         (breakParagraph): use ParagraphList::insert
6636         (breakParagraphConservative): take a Buffer* instead of a
6637         BufferParams& as arg.
6638         (breakParagraphConservative): use ParagraphList::insert.
6639
6640         * buffer.C (insertStringAsLines): un-const it
6641         (insertStringAsLines): adjust
6642
6643         * ParagraphList.C (insert): new function
6644
6645         * CutAndPaste.C (pasteSelection): adjust
6646
6647         * text.C (backspace): adjust
6648
6649         * tabular.C (SetMultiColumn): adjust
6650
6651         * CutAndPaste.C (cutSelection): adjust
6652         (pasteSelection): adjust
6653
6654         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6655         Buffer const * as arg
6656
6657         * ParagraphList.C (erase): new function
6658         * paragraph_funcs.C (mergeParagraph): use it
6659         (mergeParagraph): make it take a Buffer* instead of a
6660         BufferParams* as arg
6661
6662         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6663         as arg
6664         (breakParagraphConservative): ditto
6665
6666         * paragraph.h: remove the breakParagraph friend
6667
6668         * paragraph.C (eraseIntern): new function
6669         (setChange): new function
6670
6671         * paragraph_funcs.C (mergeParagraph): make it take a
6672         ParagraphList::iterator instead of a Paragraph *, adjust
6673         accordingly.
6674
6675         * paragraph.h: move an #endif so that the change tracking stuff
6676         also works in the NO_NEXT case.
6677
6678 2003-03-04  Angus Leeming  <leeming@lyx.org>
6679
6680         * commandtags.h:
6681         * LyXAction.C: new LFUN_INSET_MODIFY.
6682
6683         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6684         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6685
6686 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * several files: ws changes only
6689
6690         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6691         (TeXEnvironment): ditto
6692         (TeXDeeper): ditto
6693
6694         * buffer.C (makeLaTeXFile): adjust
6695         (latexParagraphs): make it take ParagraphList::iterator as args
6696
6697 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6698
6699         * buffer.C (latexParagraphs): adjust
6700
6701         * paragraph.C (TeXOnePar): move function...
6702         (optArgInset): move function...
6703         (TeXEnvironment): move function...
6704         * paragraph_pimpl.C (TeXDeeper): move function...
6705         * paragraph_funcs.C: ...here
6706
6707         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6708
6709 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * buffer.C (readInset): remove compability code for old Figure and
6712         InsetInfo insets
6713
6714 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * buffer.C: ws changes
6717         (readInset):
6718
6719         * BufferView_pimpl.C: ditto
6720         * author.C: ditto
6721         * buffer.h: ditto
6722         * bufferlist.h: ditto
6723         * changes.h: ditto
6724         * lyxfunc.C: ditto
6725
6726 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6727
6728         * converter.[Ch]: split into itself +
6729         * graph.[Ch]
6730         * format.[Ch]
6731         * Makefile.am: += graph.[Ch] + format.[Ch]
6732         * MenuBackend.C
6733         * buffer.C
6734         * exporter.C
6735         * importer.C
6736         * lyx_main.C
6737         * lyxfunc.C
6738         * lyxrc.C: added #include "format.h"
6739
6740 2003-02-27  Angus Leeming  <leeming@lyx.org>
6741
6742         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6743           a label.
6744
6745         * factory.C (createInset): add "label" to the factory.
6746
6747         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6748           string and do no more.
6749
6750 2003-02-27  Angus Leeming  <leeming@lyx.org>
6751
6752         * commandtags.h:
6753         * LyXAction.C (init):
6754         * factory.C (createInset):
6755         * BufferView_pimpl.C (dispatch):
6756           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6757
6758         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6759
6760         * lyxfunc.C (dispatch):
6761         * text3.C (dispatch): pass name to params2string.
6762
6763 2003-02-26  Angus Leeming  <leeming@lyx.org>
6764
6765         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6766           blocks together.
6767           Rearrange the ~includes. Strip out the unnecessary ones.
6768
6769         * factory.C (createInset): reformat.
6770           create new insets for the various LFUN_XYZ_APPLY lfuns.
6771
6772 2003-02-26  John Levon  <levon@movementarian.org>
6773
6774         * lyxrow.h:
6775         * lyxrow.C: add isParStart,isParEnd helpers
6776
6777         * paragraph.h: make isInserted/DeletedText take refs
6778
6779         * paragraph_funcs.h:
6780         * paragraph_funcs.C: remove #if 0'd code
6781
6782         * lyxtext.h:
6783         * text3.C:
6784         * text2.C:
6785         * text.C: use lyxrow helpers above.
6786           Move draw and paint routines to RowPainter.
6787           Make several methods use refs not pointers.
6788           Make backgroundColor() const.
6789           Add markChangeInDraw(), isInInset().
6790           Merge changeRegionCase into changeCase.
6791           Make workWidth() shouldn't-happen code into an Assert.
6792
6793         * rowpainter.h:
6794         * rowpainter.C: new class for painting a row.
6795
6796         * vspace.h:
6797         * vspace.C: make inPixels take a ref
6798
6799 2003-02-26  Angus Leeming  <leeming@lyx.org>
6800
6801         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6802         LFUN_REF_APPLY.
6803
6804 2003-02-25  John Levon  <levon@movementarian.org>
6805
6806         * ispell.C: give the forked command a more accurate name
6807
6808 2003-02-22  John Levon  <levon@movementarian.org>
6809
6810         * toc.h:
6811         * toc.C: make TocItem store an id not a Paragraph *
6812           (bug #913)
6813
6814 2003-02-21  Angus Leeming  <leeming@lyx.org>
6815
6816         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6817           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6818           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6819           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6820           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6821           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6822
6823         * BufferView_pimpl.C (dispatch):
6824         * LyXAction.C (init):
6825         * factory.C (createInset):
6826         * lyxfunc.C (getStatus, dispatch):
6827         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6828
6829 2003-02-21  Angus Leeming  <leeming@lyx.org>
6830
6831         * BufferView_pimpl.C (MenuInsertLyXFile):
6832         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6833         * lyxfunc.C (menuNew, open, doImport):
6834           no longer pass a LyXView & to fileDlg.
6835
6836 2003-02-21  Angus Leeming  <leeming@lyx.org>
6837
6838         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6839         * LyXAction.C: change, BIBKEY to BIBITEM.
6840         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6841         Change InsetBibKey to InsetBibitem.
6842         Change BIBKEY_CODE to BIBITEM_CODE.
6843         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6844         * factory.C: replace insetbib.h with insetbibitem.h.
6845         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6846         * paragraph.C: replace insetbib.h with insetbibitem.h.
6847         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6848         Change bibkey() to bibitem().
6849         * text.C: remove insetbib.h.
6850         * text2.C: replace insetbib.h with insetbibitem.h.
6851         change bibkey() to bibitem().
6852         * text3.C: remove insetbib.h.
6853         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6854
6855 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6856
6857         * lyxrc.C (output): enclose user email in quotes (in case there are
6858         several words)
6859
6860 2003-02-18  John Levon  <levon@movementarian.org>
6861
6862         * buffer.h: add std::
6863
6864 2003-02-17  John Levon  <levon@movementarian.org>
6865
6866         * SpellBase.h:
6867         * ispell.h:
6868         * ispell.C:
6869         * pspell.h:
6870         * pspell.C: reworking. Especially in ispell, a large
6871           number of clean ups and bug fixes.
6872
6873         * lyxfunc.C: fix revert to behave sensibly
6874
6875 2003-02-17 André Pönitz <poenitz@gmx.net>
6876
6877         * LyXAction.C:
6878         * commandtags.h: new LFUN_INSERT_BIBKEY
6879
6880         * layout.h:
6881         * lyxlayout.C:
6882         * buffer.C:
6883         * factory.C:
6884         * text.C:
6885         * text2.C:
6886         * text3.C:
6887         * paragraph.[Ch]:
6888         * paragraph_func.C: remove special bibkey handling
6889
6890 2003-02-17  John Levon  <levon@movementarian.org>
6891
6892         * text.C (Delete): fix case where delete at the end of
6893           the very first paragraph would not merge the pars
6894
6895 2003-02-17  John Levon  <levon@movementarian.org>
6896
6897         * lyxrow.C: fix lastPrintablePos()
6898
6899 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6900
6901         * bufferparams.C (writeLaTeX): add a std:here
6902
6903         * buffer.C: and remove a using directive there
6904
6905 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6906
6907         * buffer.C (makeLaTeXFile): move the code that generates the
6908           preamble...
6909
6910         * bufferparams.C (writeLaTeX): ... in this new method
6911
6912         * LaTeXFeatures.C (getEncodingSet): make const
6913           (getLanguages): make const
6914
6915         * MenuBackend.C (binding): returns the binding associated to this
6916           action
6917           (add): sets the status of each item by calling getStatus. Adds
6918           some intelligence.
6919           (read): add support for OptSubMenu
6920           (expand): remove extra separator at the end of expanded menu
6921
6922 2003-02-15  John Levon  <levon@movementarian.org>
6923
6924         * BufferView.C:
6925         * BufferView_pimpl.C:
6926         * bufferlist.h:
6927         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6928           inset code that had no actual effect. Remove unneeded status
6929           code.
6930
6931 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6932
6933         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6934           in preamble
6935
6936 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6937
6938         * text.C (drawLengthMarker): also draw an arrow marker for
6939           symbolic lengths (medskip...)
6940
6941 2003-02-14  John Levon  <levon@movementarian.org>
6942
6943         * tabular.h:
6944         * tabular.C: better method names
6945
6946 2003-02-14  John Levon  <levon@movementarian.org>
6947
6948         * BufferView_pimpl.C:
6949         * bufferlist.C:
6950         * buffer.C:
6951         * converter.C:
6952         * lyx_cb.C:
6953         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6954           it's a more accurate name. Remove some pointless uses.
6955
6956 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6957
6958         * text2.C (LyXText): change order of initilizers to shut off
6959           warnings
6960
6961 2003-02-14  John Levon  <levon@movementarian.org>
6962
6963         * buffer.C: use ParIterator for getParFromID()
6964
6965         * paragraph.h:
6966         * paragraph.C:
6967         * paragraph_pimpl.h:
6968         * paragraph_pimpl.C: remove unused getParFromID()
6969
6970 2003-02-14  John Levon  <levon@movementarian.org>
6971
6972         * buffer.C: remove some very old #if 0'd parse code
6973
6974 2003-02-13  John Levon  <levon@movementarian.org>
6975
6976         * text.h:
6977         * text.C:
6978         * text2.C: move hfillExpansion(), numberOfSeparators(),
6979           rowLast(), rowLastPrintable(), numberofHfills(),
6980           numberOfLabelHfills() ...
6981
6982         * lyxrow.h:
6983         * lyxrow.C: ... to member functions here.
6984
6985         * paragraph.h:
6986         * paragraph.C:
6987         * lyxtext.h:
6988         * text.C: remove LyXText::beginningOfMainBody(), and call
6989           p->beginningOfMainBody() directly. Move the check for
6990           LABEL_MANUAL into the latter.
6991
6992         * text.h:
6993         * text.C:
6994         * text2.C:
6995         * vspace.C:
6996         * BufferView.h:
6997         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6998
6999         * text.h:
7000         * text.C:
7001         * text2.C:
7002         * text3.C:
7003         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7004           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7005
7006 2003-02-13  John Levon  <levon@movementarian.org>
7007
7008         * CutAndPaste.C: remove debug
7009
7010 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7011
7012         * paragraph.C (asString): remove two unused variables
7013
7014         * lyxtextclass.C (readTitleType):
7015           (Read):
7016           (LyXTextClass): handle new members titletype_ and titlename_
7017
7018         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7019
7020 2003-02-09  John Levon  <levon@movementarian.org>
7021
7022         * buffer.h:
7023         * buffer.C: replace hand-coded list with a map for the dep clean
7024
7025 2003-02-08  John Levon  <levon@movementarian.org>
7026
7027         * LaTeX.C: consolidate code into showRunMessage() helper
7028
7029 2003-02-08  John Levon  <levon@movementarian.org>
7030
7031         * lyxfind.C:
7032         * lyxtext.h:
7033         * text2.C:
7034         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7035           and pass the size in explicitly
7036
7037         * BufferView_pimpl.h:
7038         * BufferView_pimpl.C:
7039         * BufferView.h:
7040         * BufferView.C: add getCurrentChange()
7041
7042         * BufferView_pimpl.h:
7043         * BufferView_pimpl.C: handle change lfuns
7044
7045         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7046           for changes. Mark pasted paragraphs as new.
7047
7048         * support/lyxtime.h:
7049         * support/lyxtime.C:
7050         * DepTable.C: abstract time_t as lyx::time_type
7051
7052         * LColor.h:
7053         * LColor.C: add colours for new text, deleted text, changebars
7054
7055         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7056           package use "usenames" option.
7057
7058         * commandtags.h:
7059         * lyxfunc.C:
7060         * LyXAction.C: add change lfuns
7061
7062         * Makefile.am:
7063         * author.h:
7064         * author.C: author handling
7065
7066         * buffer.h:
7067         * buffer.C: add a per-buffer author list, with first entry as
7068           current author. Handle new .lyx tokens for change tracking. Output
7069           author list to .lyx file. Output dvipost stuff to .tex preamble.
7070           Bump lyx format to 222.
7071
7072         * bufferlist.h:
7073         * bufferlist.C: add setCurrentAuthor() to reset current author details
7074           in all buffers.
7075
7076         * bufferparams.h:
7077         * bufferparams.C: add param for tracking
7078
7079         * bufferview_funcs.C: output change info in minibuffer
7080
7081         * Makefile.am:
7082         * changes.h:
7083         * changes.C: add change-tracking structure
7084
7085         * debug.h:
7086         * debug.C: add CHANGES debug flag
7087
7088         * lyxfind.h:
7089         * lyxfind.C: add code for finding the next change piece
7090
7091         * lyxrc.h:
7092         * lyxrc.C: add user_name and user_email
7093
7094         * lyxrow.h:
7095         * lyxrow.C: add a metric for the top of the text line
7096
7097         * lyxtext.h:
7098         * text.C: implement accept/rejectChange()
7099
7100         * lyxtext.h:
7101         * text.C: paint changebars. Paint new/deleted text in the chosen
7102         colours. Strike through deleted text.
7103
7104         * paragraph.h:
7105         * paragraph.C:
7106         * paragraph_pimpl.h:
7107         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7108           in the current change to the insert functions. Rework erase to
7109           mark text as deleted, adding an eraseIntern() and a range-based
7110           erase(). Implement per-paragraph change lookup and
7111           accept/reject.
7112
7113         * paragraph_funcs.C: Fixup paste for change tracking.
7114
7115         * tabular.C: mark added row/columns as new.
7116
7117         * text.C: fix rowLast() to never return -1. Don't allow
7118           spellchecking of deleted text. Track transpose changes. Don't
7119           allow paragraph break or merge where appropriate.
7120
7121         * text2.C: leave cursor at end of selection after a cut.
7122
7123 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7124
7125         * text.C (getLengthMarkerHeight):
7126         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7127         visible on screen too.
7128
7129 2003-02-07  John Levon  <levon@movementarian.org>
7130
7131         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7132
7133 2003-02-05  Angus Leeming  <leeming@lyx.org>
7134
7135         * lyxserver.C (read_ready): revert my patch of 11 September last year
7136         as it sends PC cpu through the roof. Presumably this means that
7137         the lyxserver will no longer run on an Alpha...
7138
7139 2003-01-30  Angus Leeming  <leeming@lyx.org>
7140
7141         * factory.C (createInset): create an InsetCommandParam of type "index"
7142         and use it to 'do the right thing'.
7143
7144         * text2.C (getStringToIndex): ensure that cursor position is always
7145         reset to the reset_cursor position.
7146
7147 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7148
7149         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7150         disabled.
7151
7152 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7153
7154         * bufferview.C:
7155         * lyxcb.C:
7156         * lyxfunc.C: Output messages with identical spelling, punctuation,
7157         and spaces
7158
7159 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7160
7161         * MenuBackend.C (expandFormats): List only viewable export formats
7162         in "View" menu
7163
7164         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7165         message
7166
7167         * lyxfunc.C (getStatus): Make sure that formats other than
7168         "fax" can also be disabled
7169
7170 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7171
7172         * text3.C (dispatch): put the lfuns that insert insets in 3
7173         groups, and call doInsertInset with appropriate arguments.
7174         (doInsertInset): new function, that creates an inset and inserts
7175         it according to some boolean parameters.
7176
7177 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * buffer.C (readFile): remember to pass on 'par' when calling
7180         readFile recursively.
7181
7182 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7183
7184         * MenuBackend.C (expandFormats): add "..." to import formats.
7185
7186 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7187
7188         * paragraph.C (asString): Remove XForms RTL hacks.
7189
7190 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7191         * buffer.C: fix typo
7192
7193 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * Makefile.am (LIBS): delete var
7196         (lyx_LDADD): add @LIBS@ here instead.
7197
7198 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7199
7200         * Clarify the meaning of "wheel mouse jump"
7201
7202 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7203
7204         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7205         tabular in a float
7206
7207 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7208
7209         * importer.C (Loaders): do not preallocate 3 elements in the
7210         vector, since one ends up with 6 elements otherwise
7211
7212 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7213
7214         * DepTable.C (write): write the file name as last element of the
7215         .dep file (because it may contain spaces)
7216         (read): read info in the right order
7217
7218 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7219
7220         * paragraph_pimpl.C (simpleTeXBlanks):
7221         (simpleTeXSpecialChars):
7222         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7223
7224         * tabular.C (latex): add some missing case statements. Reindent.
7225
7226         * MenuBackend.C (expandToc): remove unused variable.
7227
7228 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7229
7230         * LColor.C:
7231         * LaTeX.C:
7232         * LyXAction.C:
7233         * MenuBackend.C:
7234         * buffer.C:
7235         * exporter.C:
7236         * lyxfunc.C:
7237         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7238         and the like.
7239
7240 2003-01-05  John Levon  <levon@movementarian.org>
7241
7242         * BufferView.h:
7243         * BufferView.C: add getEncoding()
7244
7245         * kbsequence.h:
7246         * kbsequence.C: do not store last keypress
7247
7248         * lyxfunc.h:
7249         * lyxfunc.C: store last keypress here instead. Pass encoding
7250           to getISOEncoded()
7251
7252 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7253
7254         * lyx_main.C (init): remove annoying error message when following
7255         symbolic links (bug #780)
7256
7257 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7258
7259         * text.C (insertChar):
7260         * lyxrc.C (getDescription): remove extra spaces
7261
7262 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7263
7264         * lyxrc.C (getDescription): remove extra spaces
7265
7266 2002-12-20  John Levon  <levon@movementarian.org>
7267
7268         * text3.C: hack fix for page up/down across tall rows
7269
7270 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7271
7272         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7273         not been invoked
7274
7275 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7276
7277         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7278         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7279         thesaurus is not compiled in
7280
7281 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7282
7283         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7284
7285 2002-12-16  Angus Leeming  <leeming@lyx.org>
7286
7287         * lyxrc.[Ch]:
7288         * lyx_main.C (init): remove override_x_deadkeys stuff.
7289
7290 2002-12-12  John Levon  <levon@movementarian.org>
7291
7292         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7293           insert. Only remove shift modifier under strict
7294           circumstances.
7295
7296 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7297
7298         * MenuBackend.C (expandToc): fix crash.
7299
7300 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * MenuBackend.C (expandToc): gettext on float names.
7303
7304 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7305
7306         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7307         implement bool empty() [bug 490]
7308
7309 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7310
7311         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7312
7313 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7314
7315         * several files: ws changes
7316
7317 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7318
7319         * text2.C (setCounter): clean up a bit, use boost.format.
7320         (updateCounters): initialize par upon declaration.
7321
7322         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7323         if the layout exists. We do not just store the layout any more.
7324         (SwitchLayoutsBetweenClasses): use boost.format
7325
7326 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7327
7328         * converter.C (convert): if from and to files are the same, use a
7329         temporary files as intermediary
7330
7331 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7332
7333         * commandtags.h:
7334         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7335
7336 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7337
7338         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7339
7340 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * tabular.C (asciiPrintCell): use string(size, char) instead of
7343         explicit loop.
7344
7345         * sgml.C (openTag): fix order of arguments to string constructor
7346         (closeTag): ditto
7347
7348         * lyxfunc.C (dispatch): use boost.format
7349
7350         * lots of files: change "c" -> 'c'
7351
7352 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7353
7354         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7355
7356 2002-11-25  Angus Leeming  <leeming@lyx.org>
7357
7358         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7359
7360         * lyx_main.C (init): compile fix.
7361
7362 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7363
7364         * lyx_cb.C (start): boost.formatify
7365         do not include <iostream>
7366
7367         * lengthcommon.C: ws only
7368
7369         * boost-inst.C,BoostFormat.h: add more explict instantations
7370
7371 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7372
7373         * lots of files: handle USE_BOOST_FORMAT
7374
7375 2002-11-21  John Levon  <levon@movementarian.org>
7376
7377         * pspell.C: fix compile
7378
7379 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7380
7381         * lyxfunc.C (dispatch): use boost::format
7382         (open): ditto
7383         (doImport): ditto
7384
7385         * lyxfont.C (stateText): use boost::format
7386
7387         * lyx_main.C (LyX): use boost::format
7388         (init): ditto
7389         (queryUserLyXDir): ditto
7390         (readRcFile): ditto
7391         (parse_dbg): ditto
7392         (typedef boost::function): use the recommened syntax.
7393
7394         * importer.C (Import): use boost::format
7395
7396         * debug.C (showLevel): use boost::format
7397
7398         * converter.C (view): use boost::format
7399         (convert): ditto
7400         (move): ditto
7401         (scanLog): ditto
7402
7403         * bufferview_funcs.C (currentState): use boost::format
7404
7405         * bufferlist.C (emergencyWrite): use boost::format
7406
7407         * buffer.C (readLyXformat2): use boost::format
7408         (parseSingleLyXformat2Token): ditto
7409
7410         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7411
7412         * LaTeX.C (run): use boost::format
7413
7414         * Chktex.C (scanLogFile): use boost::format
7415
7416         * BufferView_pimpl.C (savePosition): use boost::format
7417         (restorePosition): ditto
7418         (MenuInsertLyXFile): ditto
7419
7420         * BoostFormat.h: help file for explicit instation.
7421
7422 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7423
7424         * tabular.C (latex): Support for block alignment in fixed width
7425         columns.
7426
7427 2002-11-17  John Levon  <levon@movementarian.org>
7428
7429         * BufferView_pimpl.C:
7430         * lyx_cb.C:
7431         * lyxfunc.C: split filedialog into open/save
7432
7433 2002-11-08  Juergen Vigna  <jug@sad.it>
7434
7435         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7436         by my last patch (hopefully).
7437
7438 2002-11-08  John Levon  <levon@movementarian.org>
7439
7440         * iterators.h:
7441         * iterators.C:
7442         * buffer.h:
7443         * buffer.C:
7444         * paragraph.h:
7445         * paragraph.C:
7446         * toc.h:
7447         * toc.C: ParConstIterator, and use it (from Lars)
7448
7449 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7450
7451         * lyxtextclass.[Ch]: revise and add doxygen comments
7452
7453 2002-11-07  John Levon  <levon@movementarian.org>
7454
7455         * text.C: fix progress value for spellchecker
7456
7457         * toc.C: fix navigate menu for insetwrap inside minipage
7458
7459         * paragraph_funcs.C: added FIXME for suspect code
7460
7461 2002-11-07  John Levon  <levon@movementarian.org>
7462
7463         * BufferView_pimpl.C: fix redrawing of insets
7464           on buffer switch
7465
7466 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7467
7468         * text2.C (updateCounters): fix bug 668
7469
7470 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7471
7472         * text3.C (dispatch): Do not make the buffer dirty when moving the
7473         cursor.
7474
7475 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7476
7477         * vc-backend.C: STRCONV
7478         (scanMaster): ditto
7479
7480         * text2.C (setCounter): STRCONV
7481
7482         * paragraph.C (asString): STRCONV
7483
7484         * lyxlength.C (asString): STRCONV
7485         (asLatexString): ditto
7486
7487         * lyxgluelength.C (asString): STRCONV
7488         (asLatexString): ditto
7489
7490         * lyxfunc.C (dispatch): STRCONV
7491         (open): ditto
7492
7493         * lyxfont.C (stateText): STRCONV
7494
7495         * importer.C (Import): STRCONV
7496
7497         * counters.C (labelItem): STRCONV
7498         (numberLabel): ditto
7499         (numberLabel): remove unused ostringstream o
7500
7501         * chset.C: STRCONV
7502         (loadFile): ditto
7503
7504         * bufferview_funcs.C (currentState): STRCONV
7505
7506         * buffer.C (readFile): STRCONV
7507         (asciiParagraph): ditto
7508         (makeLaTeXFile): ditto
7509
7510         * Spacing.C (writeEnvirBegin): STRCONV
7511
7512         * LaTeXFeatures.C (getLanguages): STRCONV
7513         (getPackages): ditto
7514         (getMacros): ditto
7515         (getBabelOptions): ditto
7516         (getTClassPreamble): ditto
7517         (getLyXSGMLEntities): ditto
7518         (getIncludedFiles): ditto
7519
7520         * LaTeX.C: STRCONV
7521         (run): ditto
7522         (scanAuxFile): ditto
7523         (deplog): ditto
7524
7525         * LString.h: add the STRCONV macros
7526
7527         * BufferView_pimpl.C (savePosition): STRCONV
7528         (restorePosition): ditto
7529         (MenuInsertLyXFile): ditto
7530
7531         * vc-backend.C (scanMaster): change from submatch[...] to
7532         submatch.str(...)
7533
7534         * funcrequest.C: include config.h
7535
7536         * factory.C: include config.h
7537
7538         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7539
7540         * box.C: include config.h
7541
7542         * LaTeX.C (scanAuxFile): change from submatch[...] to
7543         submatch.str(...)
7544         (deplog): ditto
7545
7546 2002-10-25  Angus Leeming  <leeming@lyx.org>
7547
7548         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7549
7550         * ispell.[Ch] (setError): new method.
7551         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7552         Use setError() insetead of goto END.
7553
7554         * lyx_cb.C (AutoSave): move out child process into new class
7555         AutoSaveBuffer.
7556
7557 2002-10-30  John Levon  <levon@movementarian.org>
7558
7559         * text3.C: make start appendix undoable
7560
7561 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7562
7563         * lyxlength.C (inPixels): Fix returned value.
7564
7565         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7566         environment.
7567
7568 2002-10-24  Angus Leeming  <leeming@lyx.org>
7569
7570         * lyxgluelength.h: no need to forward declare BufferParams
7571         or BufferView, so don't.
7572
7573 2002-10-21  John Levon  <levon@movementarian.org>
7574
7575         * BufferView.C: menuUndo ->undo, redo
7576
7577         * BufferView.h: document, remove dead, make some methods private
7578
7579         * paragraph_funcs.h:
7580         * paragraph_funcs.C:
7581         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7582
7583         * buffer.h:
7584         * buffer.C:
7585         * sgml.h:
7586         * sgml.C: move sgml open/close tag into sgml.C
7587
7588         * bufferview_funcs.h: unused prototype
7589
7590         * lyxfunc.h:
7591         * lyxfunc.C: remove unused
7592
7593         * lyxtext.h:
7594         * text.C: remove unused
7595
7596 2002-10-21  John Levon  <levon@movementarian.org>
7597
7598         * BufferView.h:
7599         * BufferView.C:
7600         * BufferView_pimpl.h:
7601         * BufferView_pimpl.C: fix mouse wheel handling based on
7602           patch from Darren Freeman
7603
7604 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7605
7606         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7607
7608 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7609
7610         * lyxlength.C (inPixels): Fix hanfling of negative length.
7611         Fix LyXLength::MU case.
7612
7613 2002-10-16  John Levon  <levon@movementarian.org>
7614
7615         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7616
7617 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7618
7619         * converter.C (view): add support for $$i (file name) and $$p
7620         (file path) for the viewer command. If $$i is not specified, then
7621         it is appended to the command (for compatibility with old syntax)
7622
7623 2002-10-14  Juergen Vigna  <jug@sad.it>
7624
7625         * undo_funcs.C (textHandleUndo): alter the order in which the
7626         new undopar is added to the LyXText, as we have to set first
7627         the right prev/next and then add it as otherwise the rebuild of
7628         LyXText is not correct. Also reset the cursor to the right paragraph,
7629         with this IMO we could remove the hack in "redoParagraphs()".
7630
7631 2002-10-09  Angus Leeming  <leeming@lyx.org>
7632
7633         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7634         to turn off an optimisation if a new inset is to be inserted.
7635
7636 2002-10-11 André Pönitz <poenitz@gmx.net>
7637
7638         * lyxtext.h: make some functions public to allow access
7639         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7640
7641 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7642
7643         * text3.C (dispatch): when changing layout, avoid an infinite loop
7644         [bug #652]
7645
7646 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7647
7648         * lyxrc.C (read): treat a viewer or converter command of "none" as
7649         if it were empty.
7650
7651         * MenuBackend.C (expandFormats): for an update, also allow the
7652         formats that are not viewable
7653
7654         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7655         script if it is newer than the lyxrc.defaults in user directory
7656
7657 2002-10-07 André Pönitz <poenitz@gmx.net>
7658
7659         * text.C: Vitaly Lipatov's small i18n fix
7660
7661 2002-09-25  Angus Leeming  <leeming@lyx.org>
7662
7663         * ispell.h: doxygen fix.
7664
7665 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7666
7667         * buffer.h (readFile): Add a new argument to the method, to allow
7668         reading of old-format templates.
7669
7670 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7671
7672         * toc.C (getTocList): Get TOC from InsetWrap.
7673
7674 2002-09-16  John Levon  <levon@movementarian.org>
7675
7676         * lyxfunc.C: check tabular for cut/copy too
7677
7678 2002-09-12  John Levon  <levon@movementarian.org>
7679
7680         * LyXAction.C: tidy
7681
7682         * factory.h:
7683         * factory.C: add header
7684
7685         * paragraph_funcs.h:
7686         * paragraph_funcs.C: cleanup
7687
7688 2002-09-11  John Levon  <levon@movementarian.org>
7689
7690         * PrinterParams.h: odd/even default to true
7691
7692 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7693
7694         * PrinterParams.h: update printer parameters for new xforms dialog
7695
7696 2002-09-11  Angus Leeming  <leeming@lyx.org>
7697
7698         * lyxserver.C (read_ready): re-write to make it more transparent
7699         and to make it work in coherent fashion under Tru64 Unix.
7700
7701 2002-09-11  André Pönitz <poenitz@gmx.net>
7702
7703         * commandtags.h:
7704         * LyXAction.C:
7705         * text3.C: implement LFUN_WORDSEL
7706
7707 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7708
7709         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7710         make floatlist_ a boost::shared_ptr<FloatList>
7711
7712         * lyxtextclass.C: include FloatList.h
7713         (LyXTextClass): initialize floatlist_
7714         (TextClassTags): add TC_NOFLOAT
7715         (Read): match "nofloat" to TC_NOFLOAT and use it.
7716         (readFloat): modify call to floatlist_
7717         (floats): ditto
7718         (floats): ditto
7719
7720         * FloatList.[Ch] (FloatList): remove commented out float
7721         initialization.
7722         (erase): new function
7723
7724 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7725
7726         * MenuBackend.C (expandToc): fix crash when there is no document
7727         open
7728
7729 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7730
7731         * many files: Add insetwrap.
7732
7733 2002-09-09  John Levon  <levon@movementarian.org>
7734
7735         * text2.C: remove confusing and awkward depth wraparound
7736
7737 2002-09-09  John Levon  <levon@movementarian.org>
7738
7739         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7740
7741         * buffer.h:
7742         * buffer.C: remove getIncludeonlyList()
7743
7744         * paragraph.C:
7745         * lyxfunc.C: remove headers
7746
7747 2002-09-09  Juergen Vigna  <jug@sad.it>
7748
7749         * text.C (getColumnNearX): fix form Michael this is most
7750         probably a cut&paste bug.
7751
7752 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7755
7756         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7757         references, ws changes.
7758
7759         * text2.C (init): update counters after init
7760         (insertParagraph): no need to set counter on idividual paragraphs.
7761         (setCounter): access the counters object in the textclass object
7762         on in the buffer object.
7763         (updateCounters): ditto
7764
7765         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7766         shared_ptr<Counters> to avoid loading counters.h in all
7767         compilation units.
7768         (LyXTextClass): initialize ctrs_
7769         (TextClassTags): add TC_COUNTER, and ...
7770         (Read): use it here.
7771         (CounterTags): new tags
7772         (readCounter): new function
7773         (counters): new funtion
7774         (defaultLayoutName): return a const reference
7775
7776         * counters.C (Counters): remove contructor
7777         (newCounter): remove a couple of unneeded statements.
7778         (newCounter): simplify a bit.
7779         (numberLabel): some small formatting changes.
7780
7781         * buffer.[Ch]: remove all traces of counters, move the Counters
7782         object to the LyXTextClass.
7783
7784 2002-09-06  Alain Castera  <castera@in2p3.fr>
7785
7786         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7787         package to set the horizontal alignment on fixed width columns.
7788
7789         * lyx_sty.C:
7790         * lyx_sty.h: added tabularnewline macro def.
7791
7792         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7793
7794 2002-09-06  John Levon  <levon@movementarian.org>
7795
7796         * LyXAction.C: tooltips for sub/superscript
7797
7798         * MenuBackend.C: a bit more verbose
7799
7800         * lyxfunc.C: tiny clean
7801
7802         * undo_funcs.C: document undo_frozen
7803
7804 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * counters.C (Counters): add missing algorithm counter.
7807
7808         * text2.C (setCounter): lookup the counter with layouts latexname
7809         instead of by section number.
7810         (setCounter): use a hackish way to lookup the correct enum
7811         counter.
7812         a float name->type change
7813         reset enum couners with counter name directly instead of depth value.
7814
7815         * counters.C (Counters): remove the push_backs, change to use the
7816         float type not the float name.
7817         (labelItem): remove unused string, float name->type change
7818
7819         * counters.h: don't include vector, loose the enums and sects vectors
7820
7821 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7822
7823         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7824         (Read): add float->TC_FLOAT to textclassTags
7825         (Read): and handle it in the switch
7826         (readFloat): new function
7827
7828         * FloatList.C (FloatList): comment out the hardcoded float
7829         definitions.
7830
7831         * lyxlayout.h: ws change.
7832
7833 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7834
7835         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7836
7837 2002-09-03  Angus Leeming  <leeming@lyx.org>
7838
7839         * BufferView_pimpl.h: qualified name is not allowed in member
7840         declaration: WorkArea & Pimpl::workarea() const;
7841
7842         * factory.C: added using std::endl directive.
7843
7844         * text3.C: added using std::find and std::vector directives.
7845
7846 2002-08-29  André Pönitz <poenitz@gmx.net>
7847
7848         * lyxtext.h:
7849         * text2.C: remove unused member number_of_rows
7850
7851         * Makefile.am:
7852         * BufferView2.C: remove file, move contents to...
7853         * BufferView.C: ... here
7854
7855         * BufferView_pimpl.C:
7856         * factory.C: move more inset creation to factory
7857
7858         * vspace.C: avoid direct usage of LyXText, ws changes
7859
7860         * BufferView.[Ch]:
7861                 don't provide direct access to WorkArea, use two simple
7862                 acessors haveSelction() and workHeight() instead
7863
7864
7865 2002-08-29  John Levon  <levon@movementarian.org>
7866
7867         * BufferView_pimpl.C (dispatch): do not continue when
7868           no buffer
7869
7870 2002-08-28  André Pönitz <poenitz@gmx.net>
7871
7872         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7873
7874         * BufferView.h:
7875         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7876
7877 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7878
7879         * buffer.C: increment LYX_FORMAT to 221
7880
7881         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7882         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7883
7884         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7885
7886         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7887
7888 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7889
7890         * factory.C (createInset): use LyXTextClass::floats
7891
7892         * MenuBackend.C (expandFloatListInsert):
7893         (expandFloatInsert):
7894         (expandToc):
7895
7896         * text2.C (setCounter):
7897
7898         * LaTeXFeatures.C (useFloat):
7899         (getFloatDefinitions):
7900
7901         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7902
7903         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7904         floatlist_, with accessor floats().
7905
7906         * FloatList.h: remove global FloatList
7907
7908 2002-08-26  André Pönitz <poenitz@gmx.net>
7909
7910         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7911
7912         * BufferView.h:
7913         * BufferView2.C:
7914         * BufferView_pimpl.C:
7915         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7916
7917 2002-08-25  John Levon  <levon@movementarian.org>
7918
7919         * LyXAction.C: fix margin note description
7920
7921 2002-08-24  John Levon  <levon@movementarian.org>
7922
7923         * buffer.C:
7924         * bufferlist.C:
7925         * bufferview_funcs.C:
7926         * lyxfont.C:
7927         * undo_funcs.C: cleanups
7928
7929         * lyxfunc.C: disable CUT/COPY when no selection
7930
7931 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7932
7933         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7934         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7935
7936         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7937         Add backward compatibility to "mono", "gray" and "no".
7938
7939 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7940
7941         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7942         (and file_format >= 200).
7943
7944 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7945
7946         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7947
7948 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7949
7950         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7951
7952 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7953
7954         * BufferView_pimpl.C:
7955         * LyXAction.C:
7956         * buffer.C:
7957         * commandtags.h:
7958         * lyxfunc.C:
7959         * paragraph.[Ch]:
7960         * text2.C:
7961         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7962         inset and code to make it  work with the paragraph code. The inset
7963         can be anywhere in the paragraph, but will only do the expected
7964         thing in LaTeX if the layout file contains the parameter line
7965                         OptionalArgs    1
7966         (or more generally, a nonzero value) for that layout.
7967
7968 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * paragraph.h: remove the declaration of undefined counters class
7971         function.
7972
7973 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7974
7975         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7976         Dr. Richard Hawkins.
7977
7978 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7979
7980         * paragraph_funcs.h: remove some unneeded includes
7981
7982         * text.C (backspace): pasteParagraph now in global scipe
7983
7984         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7985         (pasteSelection): ditto
7986
7987         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7988         * paragraph_funcs.C (pasteParagraph): ... here
7989
7990 2002-08-20  André Pönitz <poenitz@gmx.net>
7991
7992         * commandtags.h: new LFUNs for swapping/copying table row/colums
7993
7994         * LyXAction.C:
7995         * lyxfunc.C: support for new lfuns
7996
7997 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7998
7999         * tabular.C:
8000         * buffer.[Ch]: remove NO_COMPABILITY stuff
8001
8002 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8003
8004         * boost.C (throw_exception): new file, with helper function for
8005         boost compiled without exceptions.
8006
8007         * paragraph.h:
8008         * lyxlength.C:
8009         * buffer.C:
8010         * ParameterStruct.h:
8011         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8012
8013         * bufferlist.C (emergencyWriteAll): use boost bind
8014
8015         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8016
8017         * text.C: include paragraph_funcs.h
8018         (breakParagraph): breakParagraph is now in global scope
8019
8020         * paragraph_funcs.[Ch]: new files
8021
8022         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8023         global scope
8024
8025         * buffer.C: include paragraph_funcs.h
8026         (insertStringAsLines): breakParagraph is now in global scope
8027
8028         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8029         paragraph_funcs.C
8030
8031         * CutAndPaste.C: include paragraph_funcs.h
8032         (cutSelection): breakParagraphConservative is now in global scope
8033         (pasteSelection): ditto
8034
8035         * buffer.h: declare oprator== and operator!= for
8036         Buffer::inset_iterator
8037
8038         * bufferlist.C (emergencyWrite): don't use fmt(...)
8039
8040         * text3.C: add using std::endl
8041
8042         * BufferView.C (moveCursorUpdate): remove default arg
8043
8044 2002-08-20  André Pönitz <poenitz@gmx.net>
8045
8046         * buffer.[Ch]: move inline functions to .C
8047
8048         * BufferView2.C:
8049         * BufferView_pimpl.C:
8050         * text.C:
8051         * buffer.[Ch]: use improved inset_iterator
8052
8053         * buffer.C:
8054         * paragraph.[Ch]: write one paragraph at a time
8055
8056 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8057
8058         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8059         style if style is not specified.
8060
8061 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8062
8063         * text2.C (setCounter): when searching for right label for a
8064         caption, make sure to recurse to parent insets (so that a caption
8065         in a minipage in a figure float works) (bug #568)
8066
8067 2002-08-20  André Pönitz <poenitz@gmx.net>
8068
8069         * text3.C: new file for LyXText::dispatch() and helpers
8070
8071         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8072
8073         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8074
8075 2002-08-19  André Pönitz <poenitz@gmx.net>
8076
8077         * lyxtext.h:
8078         * text.C: new LyXText::dispatch()
8079
8080         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8081
8082 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8083
8084         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8085
8086         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8087         Hebrew text.
8088
8089 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8090
8091         * Makefile.am: use $(variables) instead of @substitutions@
8092
8093 2002-08-15  André Pönitz <poenitz@gmx.net>
8094
8095         * lyxfunc.C:
8096         * BufferView_pimpl.C: streamlining mathed <-> outer world
8097         interaction
8098
8099         * commandtags.h:
8100         * LyXAction.C: remove unused LFUN_MATH
8101
8102 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8103
8104         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8105
8106 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * paragraph.C (Paragraph): reformat a bit
8109         (cutIntoMinibuffer): use builtin InsetList function instad of
8110         doing it manually.
8111         (getInset): ditto
8112
8113         * buffer.C: include boost/bind.hpp, add using std::for_each
8114         (writeFileAscii): use ParagraphList iterators
8115         (validate): use for_each for validate traversal of paragraphs
8116         (getBibkeyList): use ParagraphList iterators
8117         (resizeInsets): use for_each to resizeInsetsLyXText for all
8118         paragraphs.
8119         (getParFromID): use ParagraphList iterators
8120
8121         * BufferView2.C (lockInset): use paragraph list and iterators
8122
8123 2002-08-14  John Levon  <levon@movementarian.org>
8124
8125         * lyxserver.C: remove spurious xforms include
8126
8127 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8128
8129         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8130
8131 2002-08-13  André Pönitz <poenitz@gmx.net>
8132
8133         * LyXAction.[Ch]:
8134         * lyxfunc.C: further cleaning
8135
8136 2002-08-13  André Pönitz <poenitz@gmx.net>
8137
8138         * funcrequest.h: new constructor
8139
8140         * funcrequest.C: move stuff here from .h
8141
8142         * Makefile.am:
8143         * BufferView_pimpl.C:
8144         * LyXAction.C:
8145         * toc.C:
8146         * lyxfunc.C: subsequent changes
8147
8148         * lyxfunc.h: new view() member function
8149
8150         * lyxfunc.C: subsequent changes
8151
8152 2002-08-13  Angus Leeming  <leeming@lyx.org>
8153
8154         * BufferView2.C:
8155         * BufferView_pimpl.C:
8156         * buffer.C:
8157         * converter.C:
8158         * importer.C:
8159         * lyxfunc.C:
8160         * lyxvc.C:
8161         * toc.C:
8162         * vc-backend.C:
8163         changes due to the changed LyXView interface that now returns references
8164         to member variables not pointers.
8165
8166 2002-08-13  Angus Leeming  <leeming@lyx.org>
8167
8168         * WordLangTuple (word, lang_code): return references to strings,
8169         not strings.
8170
8171         * BufferView.h:
8172         * SpellBase.h:
8173         * lyxtext.h: forward-declare WordLangTuple.
8174
8175         * BufferView2.C:
8176         * ispell.C:
8177         * pspell.C:
8178         * text.C: #include "WordLangTuple.h".
8179
8180         * lyxtext.h:
8181         * text.C: (selectNextWordToSpellcheck): constify return type.
8182
8183 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8184
8185         * buffer.C:
8186         * buffer.h:
8187         * lyxtext.h:
8188         * paragraph.C:
8189         * paragraph_pimpl.h:
8190         * text.C:
8191         * text2.C:
8192         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8193         suggested by Angus.
8194         Made updateCounter always count from start of buffer, and removed
8195         second argument (par).
8196         Reverted floats number display to '#'. Perhaps I'll try again when the
8197         code base is sanitized a bit.
8198
8199 2002-08-12  Angus Leeming  <leeming@lyx.org>
8200
8201         * buffer.[Ch] (getLabelList): constify.
8202
8203 2002-08-07  André Pönitz <poenitz@gmx.net>
8204
8205         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8206
8207         * funcrequest.h: extension to keep mouse (x,y) position
8208
8209 2002-08-12  Juergen Vigna  <jug@sad.it>
8210
8211         * BufferView2.C (insertErrors): forbid undo when inserting error
8212         insets.
8213
8214         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8215
8216 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * ParagraphList.[Ch]: new files
8219
8220         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8221
8222         * BufferView2.C (lockInset): ParagraphList changes
8223         * toc.C: ditto
8224         * text2.C: ditto
8225         * bufferlist.C: ditto
8226         * buffer.h: ditto
8227         * buffer.C: ditto
8228
8229 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8230
8231         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8232         unused class variable counter_,
8233
8234         * paragraph.[Ch] (getFirstCounter): delete unused function
8235
8236         * counters.C: include LAssert.h
8237         (reset): add a new function with no arg, change other version to
8238         not have def. arg and to not allow empty arg.
8239
8240         * text2.C (setCounter): remove empty arg from call to Counters::reset
8241
8242 2002-08-11  John Levon  <levon@movementarian.org>
8243
8244         * Makefile.am: add WordLangTuple.h
8245
8246 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8247
8248         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8249         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8250
8251         * insets/insettext.C: InsetList changes
8252
8253         * graphics/GraphicsSupport.C (operator()): InsetList changes
8254
8255         * toc.C (getTocList): InsetList changes
8256
8257         * paragraph_pimpl.[Ch]: InsetList changes
8258
8259         * paragraph.[Ch]: InsetList changes
8260
8261         * buffer.C (inset_iterator): InsetList changes
8262         (setParagraph): ditto
8263         * buffer.h (inset_iterator): ditto
8264         * iterators.C (operator++): ditto
8265         * iterators.h: ditto
8266
8267         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8268
8269         * InsetList.[Ch]: new files, most InsetList handling moved out of
8270         paragraph.C.
8271
8272         * BufferView2.C (removeAutoInsets): InsetList changes
8273         (lockInset): ditto
8274         (ChangeInsets): ditto
8275
8276 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8277
8278         * paragraph_pimpl.h (empty): new function
8279
8280         * paragraph.[Ch] (empty): new function
8281
8282         * other files: use the new Paragraph::empty function
8283
8284 2002-08-09  John Levon  <levon@movementarian.org>
8285
8286         * lyxtext.h: remove unused refresh_height
8287
8288 2002-08-09  John Levon  <levon@movementarian.org>
8289
8290         * Makefile.am:
8291         * sgml.h:
8292         * sgml.C:
8293         * buffer.C:
8294         * paragraph.h:
8295         * paragraph.C: move sgml char escaping out of paragraph
8296
8297         * paragraph.h:
8298         * paragraph.C: remove id setter
8299
8300         * buffer.C:
8301         * paragraph.C:
8302         * paragraph_pimpl.C: remove dead tex_code_break_column
8303
8304         * bufferview_funcs.C: small cleanup
8305
8306         * lyxfunc.C: remove dead proto
8307
8308         * lyxtext.h: make some stuff private. Remove some dead stuff.
8309
8310         * lyxgluelength.C: make as[LyX]String() readable
8311
8312 2002-08-08  John Levon  <levon@movementarian.org>
8313
8314         * LyXAction.h:
8315         * LyXAction.C:
8316         * MenuBackend.C:
8317         * ToolbarDefaults.C:
8318         * lyxfunc.C:
8319         * lyxrc.C:
8320         * toc.C: lyxaction cleanup
8321
8322 2002-08-08  John Levon  <levon@movementarian.org>
8323
8324         * BufferView2.C: small cleanup
8325
8326         * lyxfind.h:
8327         * lyxfind.C: move unnecessary header into the .C
8328
8329 2002-08-08  John Levon  <levon@movementarian.org>
8330
8331         * funcrequest.h: just tedious nonsense
8332
8333         * lyx_main.h:
8334         * lyx_main.C: cleanups
8335
8336         * buffer.C:
8337         * vspace.C: remove dead header lyx_main.h
8338
8339 2002-08-07  Angus Leeming  <leeming@lyx.org>
8340
8341         * Paragraph.[Ch]:
8342         * paragraph_pimpl.h:
8343         Forward declare class Counters in paragraph.h by moving the ctrs member
8344         variable into Paragraph::Pimpl.
8345         (counters): new method, returning a reference to pimpl_->ctrs.
8346
8347         * text2.C: ensuing changes.
8348
8349 2002-08-07  John Levon  <levon@movementarian.org>
8350
8351         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8352
8353         * BufferView_pimpl.C: announce X selection on double/triple
8354           click
8355
8356         * lyx_main.C: use correct bool in batch dispatch
8357
8358         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8359
8360 2002-08-07  André Pönitz <poenitz@gmx.net>
8361
8362         * funcrequest.h: new class to wrap a kb_action and its argument
8363
8364         * BufferView.[Ch]:
8365         * BufferView_pimpl[Ch]:
8366         * LaTeX.C:
8367         * LyXAction.[Ch]:
8368         * lyxfunc.[Ch]:
8369         * lyxrc.C: subsequent changes
8370
8371
8372 2002-08-07  John Levon  <levon@movementarian.org>
8373
8374         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8375           document options change.
8376
8377 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8378
8379         * counters.[Ch]
8380         * text2.C
8381         * paragraph.[Ch]
8382         * makefile.am: move counters functionality over from
8383         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8384
8385 2002-08-06  John Levon  <levon@movementarian.org>
8386
8387         * WordLangTuple.h: new file for word + language code tuple
8388
8389         * SpellBase.h:
8390         * pspell.h:
8391         * pspell.C:
8392         * ispell.h:
8393         * ispell.C:
8394         * lyxtext.h:
8395         * text.C:
8396         * text2.C:
8397         * BufferView.h:
8398         * BufferView2.C: use WordLangTuple
8399
8400         * layout.h:
8401         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8402
8403 2002-08-06  John Levon  <levon@movementarian.org>
8404
8405         * lyx_main.C: fix cmdline batch handling
8406
8407 2002-08-06  André Pönitz <poenitz@gmx.net>
8408
8409         * lyxrc.C: set default for show_banner to true
8410
8411 2002-08-06  John Levon  <levon@movementarian.org>
8412
8413         * pspell.C: fix a crash, and allow new aspell to work
8414
8415 2002-08-06  John Levon  <levon@movementarian.org>
8416
8417         * lyxfunc.C:
8418         * kbmap.C: small cleanup
8419
8420         * vspace.h:
8421         * vspace.C: add const
8422
8423 2002-08-05  John Levon  <levon@movementarian.org>
8424
8425         * LyXAction.C: back to tabular-insert
8426
8427 2002-08-04  John Levon  <levon@movementarian.org>
8428
8429         * BufferView.h:
8430         * BufferView.C: cosmetic change
8431
8432         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8433
8434         * bufferlist.C:
8435         * buffer.h:
8436         * buffer.C:
8437         * lyxcb.h:
8438         * lyxcb.C:
8439         * lyxserver.C:
8440         * lyxvc.C:
8441         * vc-backend.C:
8442         * BufferView2.C: purge all "Lyx" not "LyX" strings
8443
8444         * lyxcursor.h:
8445         * lyxcursor.C: attempt to add some documentation
8446
8447         * lyxfunc.C:
8448         * commandtags.h:
8449         * LyXAction.C:
8450         * ToolbarDefaults.C:
8451         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8452           merge with LFUN_TABULAR_INSERT
8453
8454         * Makefile.am:
8455         * SpellBase.h:
8456         * ispell.h:
8457         * ispell.C:
8458         * pspell.h:
8459         * pspell.C: split up i/pspell implementations into separate
8460           files, many cleanups
8461
8462         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8463
8464         * text2.C: some cleanup
8465
8466         * lyxfunc.C: don't check for isp_command == "none" any more, it
8467           didn't make any sense
8468
8469 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8470
8471         * counters.[Ch]
8472         * text2.C
8473         * paragraph.[Ch]
8474         * makefile.am: move counters functionality over
8475         from text2.C/paragraph.[Ch] to counters.[Ch], and
8476         make proper C++.
8477 2002-08-02  John Levon  <levon@movementarian.org>
8478
8479         * buffer.C: s/lyxconvert/lyx2lyx/
8480
8481 2002-08-02  Angus Leeming  <leeming@lyx.org>
8482
8483         * lyxlex.C: revert John's change as it breaks reading of the user
8484         preamble.
8485
8486 2002-08-02  Angus Leeming  <leeming@lyx.org>
8487
8488         * importer.C (Import):
8489         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8490         changes due to LyXView::view() now returning a boost::shared_ptr.
8491
8492 2002-08-02  John Levon  <levon@movementarian.org>
8493
8494         * lyxlex.C: small cleanup
8495
8496 2002-08-02  John Levon  <levon@movementarian.org>
8497
8498         * text2.C (status): small cleanup, no logic change
8499
8500 2002-08-01  John Levon  <levon@movementarian.org>
8501
8502         * buffer.h:
8503         * buffer.C (writeFile): don't output alerts, caller
8504           handles this
8505
8506         * bufferlist.C:
8507         * lyx_cb.C: from above
8508
8509         * lyxfunc.C: allow to open non-existent files
8510
8511 2002-07-31  John Levon  <levon@movementarian.org>
8512
8513         * lyxserver.C: don't let incidental errors get
8514           in the way (errno)
8515
8516 2002-07-30  John Levon  <levon@movementarian.org>
8517
8518         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8519
8520 2002-07-30  John Levon  <levon@movementarian.org>
8521
8522         * lyxserver.h:
8523         * lyxserver.C: remove I/O callback too
8524
8525 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8526
8527         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8528         log.
8529
8530 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8531
8532         * many files: strip,frontStrip -> trim,ltrim,rtrim
8533
8534 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8535
8536         * PrinterParams.h: remove extern containsOnly, and include
8537         support/lstrings.h instead.
8538
8539         * LaTeX.C (scanAuxFile): modify because of strip changes
8540         (deplog): ditto
8541         * buffer.C (makeLaTeXFile): ditto
8542         * bufferparams.C (writeFile): ditt
8543         * lyxfont.C (stateText): ditto
8544         * lyxserver.C (read_ready): ditto
8545         * vc-backend.C (scanMaster): ditto
8546
8547         * BufferView_pimpl.h: ws changes
8548
8549         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8550
8551 2002-07-26  André Pönitz <poenitz@gmx.net>
8552
8553         * kb_sequence.C: remove unnedred usings
8554
8555 2002-07-26  Juergen Vigna  <jug@sad.it>
8556
8557         * lyxfind.C (LyXReplace): we have to check better if the returned
8558         text is not of theLockingInset()->getLockingInset().
8559
8560 2002-07-25  Juergen Vigna  <jug@sad.it>
8561
8562         * lyxfind.C (LyXReplace): don't replace if we don't get the
8563         right LyXText.
8564
8565         * undo_funcs.C (createUndo): remove debugging code.
8566
8567 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8568
8569         * buffer.C (parseSingleLyXformat2Token): Use default placement
8570         when reading old floats.
8571
8572         * FloatList.C (FloatList): Change the default placement of figure
8573         and tables to "tbp".
8574
8575 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8576
8577         * MenuBackend.C: using std::max
8578
8579 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8580
8581         * MenuBackend.C (expandToc):
8582         (expandToc2): code moved from xforms menu frontend. It is now
8583         generic and TOCs are transparent to menu frontends.
8584
8585 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8586
8587         * toc.C (getTocList): protect against buf=0
8588
8589         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8590         Menu as first parameter. Now, this calls itself recursively to
8591         expand a whole tree (this will be useful for TOC handling)
8592         (expandFloatInsert): remove 'wide' version of floats
8593
8594         * MenuBackend.h (submenuname): returns the name of the submenu.
8595         (submenu): returns the submenu itself, provided it has been
8596         created by MenuBackend::expand
8597
8598 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8599
8600         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8601         insets which have noFontChange == true. (bug #172)
8602
8603 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8604
8605         * BufferView_pimpl.C: add connection objects and use them...
8606         (Pimpl): here.
8607
8608 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8609
8610         * MenuBackend.C (expandLastfiles):
8611         (expandDocuments):
8612         (expandFormats):
8613         (expandFloatListInsert):
8614         (expandFloatInsert):
8615         (expand): split expand in parts
8616
8617 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8618
8619         * lyx_gui.C: use lyx_gui::exit()
8620
8621 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8622
8623         * LyXAction.C: show the failing pseudo action
8624
8625 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8626
8627         * buffer.C (readFile): Run the lyxconvert script in order to read
8628         old files.
8629
8630 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8631
8632         * LyXAction.C:
8633         * commandtags.h:
8634         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8635
8636 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8637
8638         * LyXAction.C:
8639         * commandtags.h:
8640         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8641
8642 2002-07-22  Herbert Voss  <voss@lyx.org>
8643
8644         * lengthcommon.C:
8645         * lyxlength.[Ch]: add support for the vertical lengths
8646
8647 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8648
8649         * toc.[Ch]: std:: fixes
8650
8651 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8652
8653         * lyxrc.C: do not include lyx_main.h
8654
8655         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8656         for layouts
8657
8658         * lyxrc.C:
8659         * encoding.C:
8660         * bufferlist.C:
8661         * BufferView2.C: include "lyxlex.h"
8662
8663         * tabular.h:
8664         * bufferparams.h: do not #include "lyxlex.h"
8665
8666         * lyxtextclasslist.C (Add): remove method
8667         (classlist): renamed to classlist_
8668
8669         * paragraph_pimpl.C:
8670         * paragraph.C:
8671         * text2.C:
8672         * CutAndPaste.C:
8673         * bufferview_funcs.C:
8674         * bufferlist.C:
8675         * text.C:
8676         * LaTeXFeatures.C:
8677         * buffer.C:
8678         * toc.C (getTocList): use BufferParams::getLyXTextClass
8679
8680         * toc.C (getTocList): use InsetFloat::addToToc
8681
8682         * toc.[Ch]: new files, containing helper functions to handle table
8683         of contents
8684
8685         * lyxfunc.C (dispatch): no need to remove spaces around command
8686         given as a string
8687         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8688         first command of the sequence; it is not very clever, but I do not
8689         have a better idea, actually
8690
8691         * LyXAction.C (LookupFunc): make sure to remove space at the
8692         beginning and end of the command
8693
8694 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8695
8696         * MenuBackend.C (getMenubar): new method: return the menubar of
8697         this menu set
8698         (read): treat differently reading of menu and menubar (in
8699         particular, the menubar has no name now)
8700         (Menu::menubar): remove
8701
8702         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8703         saving is finished
8704
8705 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8706
8707         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8708         a bibitem inset in a RTL paragraph.
8709
8710 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8711
8712         * paragraph_pimpl.C: constify
8713
8714         * BufferView_pimpl.C:
8715         * LaTeX.C:
8716         * lyxfunc.C: fix dispatch in a nicer way
8717
8718 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8719
8720         * lyxfunc.C (dispatch):
8721         * BufferView_pimpl.C:
8722         * BufferView_pimpl.h:
8723         * BufferView.C:
8724         * BufferView.h: rename Dispatch() to dispatch()
8725
8726         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8727
8728         * lyxlayout.C (Read): honor DependsOn tag
8729
8730         * lyxlayout.[Ch] (depends_on): new method
8731
8732         * version.C.in: update lyx_docversion
8733
8734         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8735
8736         * paragraph.C (validate): remove from here...
8737         * paragraph_pimpl.C (validate): ... and move here
8738         (isTextAt): make it const
8739
8740         * buffer.C (getLists): ws cleanup
8741
8742 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8743
8744         * language.C (read): Use iso8859-1 encoding in latex_lang
8745         (this prevents LyX from crashing when using iso10646-1 encoding).
8746
8747 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8748
8749         * text2.C (toggleInset): if cursor is inside an inset, close the
8750         inset and leave cursor _after_ it
8751
8752 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8753
8754         * lyxfunc.C: move minibuffer completion handling out of here
8755
8756 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8757
8758         * BufferView_pimpl.C:
8759         * LaTeX.C: fix dispatch calls
8760
8761 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8762
8763         * text.C (drawChars): Fix Arabic text rendering.
8764
8765 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8766
8767         * LyXAction.C:
8768         * commandtags.h:
8769         * lyxfunc.C: remove message-push/pop
8770
8771         * lyxserver.C:
8772         * lyxfunc.h:
8773         * lyxfunc.C: rationalise some code by removing verboseDispatch
8774           in favour of a bool argument to dispatch()
8775
8776 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8777
8778         * lyx_main.C (init): make sure to read symlinks as absolute paths
8779
8780 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8781
8782         * lyxfunc.h:
8783         * lyxfunc.C: no need for commandshortcut to be a member
8784
8785 2002-07-15  André Pönitz <poenitz@gmx.net>
8786
8787         * converter.C: add support for $$s (scripts from lib/scripts dir)
8788         * lyx_main.C: white space
8789
8790 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8791
8792         * bufferlist.C:
8793         * lyxrc.h:
8794         * lyxrc.C: remove second exit confirmation
8795
8796 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8797
8798         * BufferView.h:
8799         * BufferView.C:
8800         * BufferView2.C:
8801         * BufferView_pimpl.h:
8802         * BufferView_pimpl.C:
8803         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8804
8805 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8806
8807         * MenuBackend.C (expand): add numeric shortcuts to document menu
8808
8809         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8810
8811 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8812
8813         * lyxfont.C (setLyXFamily):
8814         (setLyXSeries):
8815         (setLyXShape):
8816         (setLyXSize):
8817         (setLyXMisc):
8818         (lyxRead):
8819         * debug.C (value):
8820         * buffer.C (asciiParagraph): use ascii_lowercase
8821
8822 2002-07-15  Mike Fabian  <mfabian@suse.de>
8823
8824         * lyxlex_pimpl.C (search_kw):
8825         * lyxlex.C (getLongString):
8826         * converter.h (operator<):
8827         * converter.C (operator<):
8828         * buffer.C (parseSingleLyXformat2Token):
8829         (asciiParagraph):
8830         * ToolbarDefaults.C (read):
8831         * MenuBackend.C (checkShortcuts):
8832         (read):
8833         * LColor.C (getFromGUIName):
8834         (getFromLyXName): use the compare_ascii_no_case instead of
8835         compare_no_case, because in turkish, 'i' is not the lowercase
8836         version of 'I', and thus turkish locale breaks parsing of tags.
8837
8838 2002-07-16  Angus Leeming  <leeming@lyx.org>
8839
8840         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8841         now takes a Buffer const & argument.
8842
8843 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8844
8845         * BufferView.C (resize): check there's a buffer to resize
8846
8847 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8848
8849         * lyxfunc.C: remove dead code
8850
8851         * lyxserver.h:
8852         * lyxserver.C: use lyx_guii::set_read_callback
8853
8854 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8855
8856         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8857         an inset in a RTL paragraph.
8858
8859 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8860
8861         * lyxfunc.C: repaint after a font size update
8862
8863 2002-07-15  André Pönitz <poenitz@gmx.net>
8864
8865         * lyxlength.C: inBP should be able to return negative values
8866
8867 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8868
8869         * lyxfunc.C: use lyx_gui::update_fonts()
8870
8871 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8872
8873         * lyxfunc.C: use lyx_gui::update_color()
8874
8875 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8876
8877         * bufferlist.C:
8878         * lyxfunc.h:
8879         * lyxfunc.C:
8880         * lyxrc.h:
8881         * lyxrc.C: remove file->new asks for name option, and let
8882           buffer-new take an argument
8883
8884 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8885
8886         * BufferView_pimpl.C: remove unneeded extra repaint()
8887
8888 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8889
8890         * LyXAction.C: allow command-sequence with NoBuffer
8891
8892         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8893
8894 2002-07-10  Angus Leeming  <leeming@lyx.org>
8895
8896         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8897
8898 2002-07-09  Angus Leeming  <leeming@lyx.org>
8899
8900         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8901
8902 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * lengthcommon.h: whitespace
8905
8906         * lyxfunc.C: update scrollbar after goto paragraph
8907
8908         * lyxtext.h: factor out page break drawing, and fix it so
8909           page break/added space paints as selected nicely
8910
8911 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8912
8913         * BufferView_pimpl.C: add FIXMEs, clean up a little
8914
8915 2002-07-09  André Pönitz <poenitz@gmx.net>
8916
8917         * lyxfont.[Ch]: support for wasy symbols
8918
8919 2002-07-08  André Pönitz <poenitz@gmx.net>
8920
8921         * BufferView_pimpl.C: apply John's patch for #93.
8922
8923 2002-07-05  Angus Leeming  <leeming@lyx.org>
8924
8925         * BufferView_pimpl.C (buffer): generate previews if desired.
8926
8927         * LColor.h: add "preview" to the color enum.
8928
8929         * LColor.C (LColor): add a corresponding entry to the items array.
8930
8931         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8932         with this buffer.
8933
8934 2002-07-05  Angus Leeming  <leeming@lyx.org>
8935
8936         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8937         The body of the code is now in the method that is passed an ostream &
8938         rather than a file name.
8939         Pass an additional only_preamble parameter, useful for the forthcoming
8940         preview stuff.
8941
8942 2002-07-03  André Pönitz <poenitz@gmx.net>
8943
8944         * lyxfunc.C: simplify getStatus() a bit for math stuff
8945
8946 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8947
8948         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8949
8950 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8951
8952         * text.C (changeRegionCase): do not change case of all the
8953         document when region ends at paragraph end (bug #461)
8954
8955 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8956
8957         * paragraph.C (startTeXParParams):
8958         (endTeXParParams): add \protect when necessary
8959
8960 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8961
8962         * BufferView_pimpl.C (workAreaExpose): remove warning
8963
8964 2002-06-27  Angus Leeming  <leeming@lyx.org>
8965
8966         * Makefile.am: add lyxlayout_ptr_fwd.h.
8967
8968 2002-06-26  André Pönitz <poenitz@gmx.net>
8969
8970         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8971
8972 2002-06-25  Angus Leeming  <leeming@lyx.org>
8973
8974         * lyxfunc.C (dispatch): Comment out the call to
8975         grfx::GCache::changeDisplay. The method no longer exists now that the
8976         pixmap generation part of the graphics loader has been moved into
8977         InsetGraphics.
8978
8979 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8980
8981         * text2.C: layout as layout
8982
8983         * text.C: layout as layout
8984
8985         * tabular.C (OldFormatRead): layout as layout
8986
8987         * paragraph_pimpl.C (TeXDeeper): layout as layout
8988         (realizeFont): layout as layout
8989
8990         * paragraph.C (writeFile): layout as layout
8991         (validate): layout as layout
8992         (getFont): layout as layout
8993         (getLabelFont): layout as layout
8994         (getLayoutFont): layout as layout
8995         (breakParagraph): layout as layout
8996         (stripLeadingSpaces): layout as layout
8997         (getEndLabel): layout as layout
8998         (getMaxDepthAfter): layout as layout
8999         (applyLayout): layout as layout
9000         (TeXOnePar): layout as layout
9001         (simpleTeXOnePar): layout as layout
9002         (TeXEnvironment): layout as layout
9003         (layout): layout as layout
9004         (layout): layout as layout
9005
9006         * lyxtextclass.C (compare_name): new functor to work with
9007         shared_ptr, layout as layout
9008         (Read): layout as layout
9009         (hasLayout): layout as layout
9010         (operator): layout as layout
9011         (delete_layout): layout as layout
9012         (defaultLayout): layout as layout
9013
9014         * lyxlayout_ptr_fwd.h: new file
9015
9016         * lyxlayout.C (Read): layout as layout
9017
9018         * lyx_cb.C (MenuInsertLabel): layout as layout
9019
9020         * bufferlist.C (newFile): layout as layout
9021
9022         * buffer.C (readLyXformat2): layout as layout
9023         (parseSingleLyXformat2Token): layout as layout
9024         (insertStringAsLines): layout as layout
9025         (asciiParagraph): layout as layout
9026         (latexParagraphs): layout as layout
9027         (makeLinuxDocFile): layout as layout
9028         (simpleLinuxDocOnePar): layout as layout
9029         (makeDocBookFile): layout as layout
9030         (simpleDocBookOnePar): layout as layout
9031         (getLists): layout as layout
9032
9033         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9034
9035         * CutAndPaste.C (cutSelection): layout as layout
9036         (pasteSelection): layout as layout
9037         (SwitchLayoutsBetweenClasses): layout as layout
9038
9039         * BufferView_pimpl.C (Dispatch): layout as layout
9040         (smartQuote): layout as layout
9041
9042         * BufferView2.C (unlockInset): layout as layout
9043
9044 2002-06-24  André Pönitz <poenitz@gmx.net>
9045
9046         * lyxfunc.C: fix #487
9047
9048 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9049
9050         * lyxrc.h:
9051         * lyxrc.C:
9052         * lyxfunc.C: remove display_shortcuts, show_banner
9053
9054 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9055
9056         * Buffer_pimpl.C: oops, update on resize
9057
9058 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * buffer.C:
9061         * converter.C:
9062         * exporter.C:
9063         * lyxfunc.C:
9064         * BufferView.h:
9065         * BufferView.C: use repaint()
9066
9067         * BufferView_pimpl.h:
9068         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9069           as it's a clearer description. Remove superfluous
9070           redraws.
9071
9072 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9073
9074         * text.C: fix bug 488. Not ideal, but getting
9075           getWord() to work properly for the insets that
9076           matter is more difficult ...
9077
9078 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9079
9080         * BufferView_pimpl.C:
9081         * LyXAction.C:
9082         * commandtags.h:
9083         * lyxfunc.C: remove the six million index lyxfuncs to just
9084           one, and DTRT (bug 458)
9085
9086 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9087
9088         * BufferView.h:
9089         * BufferView.C:
9090         * BufferView_pimpl.h:
9091         * BufferView_pimpl.C: clean up resize() stuff,
9092           and unnecessary updateScreen()s
9093
9094 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9095
9096         * BufferView.h:
9097         * BufferView.C:
9098         * BufferView_pimpl.h:
9099         * BufferView_pimpl.C:
9100         * lyxfind.h:
9101         * lyxfind.C:
9102         * minibuffer.C: remove focus management of workarea,
9103           not needed. Use screen's greyOut()
9104
9105 2002-06-17  Herbert Voss  <voss@lyx.org>
9106
9107         * converter.C: (convert) do not post a message, when converting
9108         fails, let the calling function decide what to do in this case
9109
9110 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9111
9112         * lyxfunc.C: tidy up a little
9113
9114 2002-06-16    <alstrup@diku.dk>
9115
9116         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9117         Got rid of FORMS_H_LOCATION include. Now we are
9118         GUII.
9119
9120 2002-06-15  LyX Development team  <lyx@rilke>
9121
9122         * buffer.[Ch] (sgmlOpenTag):
9123         (sgmlCloseTag): Added support for avoiding pernicious mixed
9124         content. Return number of lines written.
9125
9126         (makeLinuxDocFile):
9127         (makeDocBookFile): Fixed calls to sgml*Tag.
9128         Simple white space clean.
9129
9130         (simpleDocBookOnePar): Simple white space clean.
9131
9132         * tabular.[Ch] (docBook): Renamed to docbook and got another
9133         argument to related with the pernicious mixed content.
9134
9135         (docbookRow): Fixed calls for docbook inset method.
9136
9137 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9138
9139         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9140         so it's X11 independent.
9141
9142         * kb*.[Ch]: ditto.
9143
9144         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9145
9146 2002-06-15  Lyx Development team  <lyx@electronia>
9147
9148         * intl.h: Renamed getTrans to getTransManager.
9149
9150 2002-06-14  Angus Leeming  <leeming@lyx.org>
9151
9152         * Makefile.am: nuke forgotten stl_string_fwd.h.
9153
9154 2002-06-12  Angus Leeming  <leeming@lyx.org>
9155
9156         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9157
9158 2002-06-13  Angus Leeming  <leeming@lyx.org>
9159
9160         * LaTeX.C:
9161         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9162
9163 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9164
9165         * kbmap.C (getiso): add support for cyrillic and greek
9166
9167 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9168
9169         * BufferView.h:
9170         * BufferView.C:
9171         * BufferView_pimpl.h:
9172         * BufferView_pimpl.C: move bogus scrolling logic
9173           to xforms
9174
9175 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * lyxfunc.C:
9178         * BufferView_pimpl.C: view->resize() change
9179
9180 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9181
9182         * BufferView_pimpl.C: topCursorVisible
9183           prototype change
9184
9185 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9186
9187         * Makefile.am:
9188         * lyx_gui.h:
9189         * lyx_gui.C: move to frontends/
9190
9191         * main.C:
9192         * lyx_main.h:
9193         * lyx_main.C: changes from above
9194
9195 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9196
9197         * intl.C:
9198         * intl.h:
9199         * kbmap.C:
9200         * kbsequence.C:
9201         * lyx_cb.C:
9202         * lyx_main.C: minor tidy
9203
9204 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9205
9206         * BufferView_pimpl.h:
9207         * BufferView_pimpl.C:
9208         * BufferView.h:
9209         * BufferView.C: make painter() const,
9210           remove dead code
9211
9212         * BufferView2.C: use screen() accessor
9213
9214         * lyx_main.h:
9215         * lyx_main.C: some minor cleanup
9216
9217 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9218
9219         * BufferView_pimpl.h:
9220         * BufferView_pimpl.C: remove enter/leaveView,
9221           use workHeight()
9222
9223 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9224
9225         * BufferView.h:
9226         * BufferView.C:
9227         * BufferView2.C:
9228         * BufferView_pimpl.h:
9229         * BufferView_pimpl.C: only construct screen once,
9230           rename
9231
9232         * lyxrc.C: remove pointless comment
9233
9234 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9235
9236         * BufferView.h:
9237         * BufferView.C: remove active() and belowMouse()
9238
9239         * BufferView_pimpl.h:
9240         * BufferView_pimpl.C: use workarea() not workarea_,
9241           and make it use a scoped_ptr instead
9242
9243 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9244
9245         * lyx_gui.C: add debug message on BadWindow
9246
9247 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9248
9249         * sp_spell.C: fdopen is not part of the C++ standard.
9250
9251         * paragraph.C (InsetIterator): use >= instead of ==
9252
9253 2002-06-07  Angus Leeming  <leeming@lyx.org>
9254
9255         Fixes needed to compile with Compaq cxx 6.5.
9256         * BufferView_pimpl.C:
9257         * DepTable.C:
9258         * buffer.C:
9259         * converter.C:
9260         * encoding.C:
9261         * lyx_gui.C:
9262         * lyx_main.C:
9263         * lyxtextclasslist.C:
9264         * minibuffer.C:
9265         * sp_spell.C:
9266         * tabular_funcs.C:
9267         * vc-backend.C:
9268         all c-library variables have been moved into namespace std. Wrap
9269         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9270
9271         * lyxlength.C:
9272         * tabular-old.C:
9273         * tabular.C:
9274         Add a using std::abs declaration.
9275
9276         * kbmap.h (modifier_pair):
9277         * paragraph.h (InsetTable, InsetList):
9278         * lyxfont.h (FontBits):
9279         type definition made public.
9280
9281         * bufferlist.C (emergencyWriteAll): the compiler complains that
9282         there is more than one possible lyx::class_fun template to choose from.
9283         I re-named the void specialisation as lyx::void_class_fun.
9284
9285         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9286
9287         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9288         the compiler is is unable to find tostr in write_attribute.
9289
9290 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9291
9292         * buffer.C (sgmlError): hide #warning
9293
9294 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * xtl/*: get rid of xtl, which is not in use anyway
9297
9298         * LyXAction.C (init):
9299         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9300         were unimplemented xtl experimentation
9301
9302 2002-06-04  André Pönitz <poenitz@gmx.net>
9303
9304         * lyxfunc.C: disable array operation on simple formulae
9305
9306 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9307
9308         * converter.C: constify a bit
9309
9310 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9311
9312         * lyx_gui.C: check xforms version correctly
9313
9314 2002-04-30  Herbert Voss  <voss@lyx.org>
9315
9316         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9317         "keep" option
9318
9319 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9320
9321         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9322           attempt to register it with a VCS)
9323
9324 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9325
9326         * lyx_main.C (init): honor variables LYX_DIR_13x and
9327         LYX_USERDIR_13x
9328
9329 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9330
9331         * buffer.h:
9332         * buffer.C:
9333         * lyx_main.C: fix a crash on bad command line,
9334           and give a useful exit status on error
9335
9336         * lyxfunc.C (doImport): allow -i lyx to work
9337
9338 2002-03-30  André Pönitz <poenitz@gmx.net>
9339
9340         * lyxfunc.C: mathed font changes
9341
9342 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9343
9344         * LaTeX.C:
9345         * importer.h:
9346         * importer.C:
9347         * lyx_sty.h:
9348         * lyx_sty.C:
9349         * lyxlex.C:
9350         * lyxrow.h:
9351         * lyxtext.h:
9352         * paragraph.h:
9353         * paragraph.C:
9354         * texrow.h:
9355         * texrow.C:
9356         * text.C:
9357         * trans_mgr.h: srcdocs, and some minor cleanups
9358
9359 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9360
9361         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9362         call getFont all the time)
9363
9364 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9365
9366         * switch from SigC signals to boost::signals
9367
9368 2002-05-29  André Pönitz <poenitz@gmx.net>
9369
9370         * paragraph_pimpl.C (getChar): don't call size() too often...
9371
9372 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9373
9374         * paragraph_pimpl.C (insertChar): do not try to update tables when
9375         appending (pos == size())
9376
9377         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9378         in order to reduce drastically the number of comparisons needed to
9379         parse a large document
9380
9381 2002-05-29  André Pönitz <poenitz@gmx.net>
9382
9383         * text.C:
9384         * text2.C:
9385         * lyxtextclass.C:
9386         * sp_pspell.h:
9387         * textclasslist.[Ch]:
9388         * sp_ispell.h: whitespace change
9389
9390 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9391
9392         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9393         lyxaction directly now.
9394
9395 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9396
9397         * trans.C:
9398         * lyxfont.C:
9399         * lyxvc.C: remove unused headers
9400
9401 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9402
9403         * Makefile.am:
9404         * buffer.h:
9405         * undostack.h:
9406         * undostack.C:
9407         * undo_funcs.h:
9408         * undo_funcs.C: some cleanups. Use shared_ptr
9409           and a template for the undo stacks.
9410
9411 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9412
9413         * BufferView_pimpl.h:
9414         * BufferView_pimpl.C:
9415         * kbmap.h:
9416         * kbmap.C:
9417         * kbsequence.h:
9418         * kbsequence.C:
9419         * lyxfunc.h:
9420         * lyxfunc.C:
9421         * text2.C: use key_state/mouse_state
9422
9423 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9424
9425         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9426         and LSubstring
9427
9428         * chset.C: change include order
9429         (loadFile): use boost regex and get rid of LRegex and LSubstring
9430
9431         * Makefile.am (BOOST_LIBS): new variable
9432         (lyx_LDADD): use it
9433
9434         * LaTeX.C: change include order.
9435         (scanAuxFile): use boost regex and get rid of LRegex and
9436         LSubstring
9437         (deplog): ditto
9438
9439 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * ColorHandler.h:
9442         * ColorHandler.C:
9443         * FontInfo.h:
9444         * FontInfo.C: moved to frontends/xforms/
9445
9446         * FontLoader.h:
9447         * FontLoader.C: moved into frontends for GUIIzation
9448
9449         * Makefile.am:
9450         * lyx_gui.C:
9451         * lyxfont.C:
9452         * lyxfunc.C: changes from above
9453
9454 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9455
9456         * LColor.C: remove spurious X include
9457
9458         * BufferView_pimpl.C:
9459         * Makefile.am:
9460         * font.h:
9461         * font.C:
9462         * text.C:
9463         * text2.C: move font metrics to frontends/
9464
9465 2002-05-24  Juergen Vigna  <jug@sad.it>
9466
9467         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9468         setting the undo_cursor.
9469
9470         * ParagraphParameters.h: include local includes first.
9471
9472 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9473
9474         * BufferView_pimpl.C:
9475         * BufferView_pimpl.h:
9476         * Makefile.am:
9477         * WorkArea.h:
9478         * WorkArea.C:
9479         * screen.C: move WorkArea into frontends/
9480
9481         * lyxscreen.h:
9482         * screen.C:
9483         * text.C:
9484         * BufferView.C:
9485         * BufferView2.C: move LyXScreen into frontends/
9486
9487         * lyxlookup.h:
9488         * lyxlookup.C:
9489         * lyx_gui.C: move lyxlookup into frontends/xforms/
9490
9491 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9492
9493         * BufferView2.C:
9494         * BufferView_pimpl.C:
9495         * FontLoader.C:
9496         * LyXView.h:
9497         * LyXView.C:
9498         * Makefile.am:
9499         * WorkArea.C:
9500         * XFormsView.h:
9501         * XFormsView.C:
9502         * buffer.C:
9503         * bufferlist.C:
9504         * bufferview_funcs.C:
9505         * converter.C:
9506         * importer.C:
9507         * lyx_cb.C:
9508         * lyx_gui.C:
9509         * lyx_main.C:
9510         * lyx_find.C:
9511         * lyxfunc.C:
9512         * lyxvc.C:
9513         * minibuffer.C:
9514         * text.C:
9515         * text2.C:
9516         * trans.C:
9517         * vc-backend.C: move LyX/XFormsView into frontends/
9518
9519 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9520
9521         * Makefile.am:
9522         * PainterBase.C:
9523         * PainterBase.h:
9524         * Painter.C:
9525         * Painter.h:
9526         * WorkArea.C:
9527         * WorkArea.h:
9528         * screen.C:
9529         * tabular.C:
9530         * text.C:
9531         * text2.C: move Painter to frontends/
9532
9533 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9534
9535         * buffer.C: comment out some some code that depend upon lyx_format
9536         < 220
9537
9538         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9539         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9540
9541         * buffer.h (NO_COMPABILITY): turn off compability
9542
9543         * ColorHandler.C: include scoped_array.hpp
9544
9545         * font.C: Use more specific smart_ptr header.
9546         * Painter.C: ditto
9547         * gettext.C: ditto
9548         * ShareContainer.h: ditto
9549         * lyx_main.h: ditto
9550         * kbmap.h: ditto
9551         * FontInfo.h: ditto
9552         * BufferView_pimpl.h: ditto
9553         * ColorHandler.h: ditto
9554
9555         * kbmap.C (defkey): change call to shared_ptr::reset
9556
9557 2002-05-21  Juergen Vigna  <jug@sad.it>
9558
9559         * buffer.C (insertErtContents): fix to insert ert asis if it is
9560         non empty. Skip it completely if it contains only whitespaces.
9561
9562 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9563
9564         * BufferView_pimpl.C:
9565         * BufferView2.C: clear selection on paste (bug 393)
9566
9567 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9568
9569         * DepTable.C: include ctime
9570
9571 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9572
9573         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9574
9575 2002-05-14  Juergen Vigna  <jug@sad.it>
9576
9577         * text.C (breakParagraph): fixed function to honor the keepempty
9578         layout in the right maner and also to permit the right breaking
9579         algorithm on empty or non empyt keepempty paragraphs.
9580
9581         * paragraph.C (breakParagraph): we have to check also if the par
9582         is really empty (!size()) for isempty otherwise we do the wrong
9583         paragraph break.
9584
9585 2002-05-10  Juergen Vigna  <jug@sad.it>
9586
9587         * buffer.[Ch] : The following are only changes to the ert
9588         compatibility read reading old LaTeX layout and font stuff and
9589         convert it to ERTInsets.
9590
9591         * buffer.h: added isErtInset().
9592
9593         * buffer.C (struct ErtComp): add a fromlayout bool to check
9594         if we're inside a LaTeX layout.
9595         (isErtInset): new helper function.
9596         (insertErtContents): look for other ert insets before this one
9597         and insert the contents there, so that we don't have subsequent
9598         ERT insets with nothing between them. This way we create only one
9599         inset with multiple paragraphs. Also check if we don't insert only
9600         spaces ' ' as they are ignored anyway afterwards in the .tex file
9601         so if we have only spaces we will ignore this latex part in the
9602         new file.
9603         (parseSingleLyXformat2Token \\layout): better compatibility when
9604         reading layout-latex stuff.
9605         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9606         language tag.
9607         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9608         stuff after reading the inset only get the information back from
9609         the stack.
9610
9611 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9612
9613         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9614
9615         * LaTeXFeatures.C (getBabelOptions): New method.
9616
9617 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9618
9619         * BufferView_pimpl.C (Dispatch): work around missing argument for
9620         'layout'
9621
9622 2002-05-08  Juergen Vigna  <jug@sad.it>
9623
9624         * text.C (leftMargin): handle paragraph leftindent.
9625
9626         * paragraph.C (writeFile): write the new \\leftindent tag.
9627         (validate): handle leftindent code.
9628         (TeXEnvironment): handle paragraphleftindent code again.
9629
9630         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9631
9632         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9633         for paragrap_extra indent code and new token \\leftindent.
9634         (latexParagraphs): handle the leftindent as environment.
9635
9636         * ParameterStruct.h: added leftindent support.
9637
9638         * ParagraphParameters.C (leftIndent): added support functions for
9639         the paragraph left indent.
9640
9641         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9642         more appropriate.
9643
9644 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9645
9646         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9647         inside insetERT.
9648
9649         * text.C (computeBidiTables): No bidi in insetERT.
9650
9651         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9652         in RTL documents.
9653
9654 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9655
9656         * version.C.in: pre 5
9657
9658 2002-05-02  José Matos  <jamatos@fep.up.pt>
9659         * buffer.C (makeDocBookFile): white space changes, add newline to
9660         command styles.
9661         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9662
9663         * tabular.C (docBook): fix typo.
9664
9665 2002-05-03  Juergen Vigna  <jug@sad.it>
9666
9667         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9668         change in LyXText as we can not be sure it was not freed.
9669         (drawOneRow): remove unused code.
9670
9671         * text.C (drawInset): redo the calculation of the need_break_row as
9672         it could have a row which was already freed.
9673         (draw): look at the return value of drawInset and return false if
9674         it also returned false.
9675         (paintRowText): look at the return value of draw and return false if
9676         it also returned false.
9677
9678         * lyxtext.h: added bool return type to drawInset() and draw() so that
9679         if we have a change in the row so that the rowbreak has to be redone
9680         we abort drawing as it will be called again.
9681
9682 2002-05-02  Juergen Vigna  <jug@sad.it>
9683
9684         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9685         a change in the maintext also if we're inside an inset.
9686         (Dispatch): set the cursor again after a break line and after the
9687         screen has been updated as it could be we're in a different row.
9688
9689         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9690         to set the cursor behind the pargraph with > size().
9691         (setCursor): check also for the same paragraph when checking where
9692         to put the cursor if we have a NFR inset.
9693
9694         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9695         parts of layout read further up as it still was in the wrong
9696         position.
9697
9698 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9699
9700         * screen.C (drawFromTo): change sine fullRebreak always return
9701         true.
9702
9703         * buffer.C (parseSingleLyXformat2Token): reindent some
9704
9705         * BufferView_pimpl.C (update): change since fullRebreak always
9706         return true.
9707         (Dispatch): git rid of the last hardcoded "Standard"s.
9708
9709 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9710
9711         * text2.[Ch] (fullRebreak): make it return void now that we always
9712         returned true.
9713
9714 2002-04-30  Juergen Vigna  <jug@sad.it>
9715
9716         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9717         ert compatibility check for "latex" layout.
9718
9719 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9720
9721         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9722         minipages: use col% instead of p%, and also use the current font.
9723         (makeLaTeXFile): Fix use babel condition.
9724         (parseSingleLyXformat2Token): Correct font when reading old floats.
9725
9726 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9727
9728         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9729         inserting list of floats.
9730
9731 2002-04-25  Herbert Voss  <voss@lyx.org>
9732
9733         * MenuBackend.C (expand): don't add the graphics extensions to the
9734         export menu
9735
9736 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9737
9738         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9739         non-existing layout, do not complain if it was the default layout
9740         of the original class (bug #342)
9741
9742 2002-04-24  Juergen Vigna  <jug@sad.it>
9743
9744         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9745         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9746
9747 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9748
9749         * buffer.C (getBibkeyList): If using \bibliography, return the
9750         option field with the reference itself. Enables us to provide natbib
9751         support when using \bibliography.
9752
9753 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9754
9755         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9756
9757         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9758         natbib is provided by the LaTeX class.
9759
9760 2002-04-23  Juergen Vigna  <jug@sad.it>
9761
9762         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9763         Wakeup functions.
9764
9765         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9766
9767 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9770
9771         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9772         ensuremath around textordmasculine, textordfeminine and
9773         textdegree.
9774
9775 2002-04-19  Juergen Vigna  <jug@sad.it>
9776
9777         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9778         reinitializing the buffer otherwise row-dimensions may be wrong.
9779         (update): reset also the selection cursors if they do exits otherwise
9780         their x/y positions may be wrong.
9781
9782         * text2.C (cursorDown): don't enter the inset if we came from a row
9783         above and are one row over the inset.
9784
9785         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9786         really leaving an inset.
9787
9788 2002-04-18  Juergen Vigna  <jug@sad.it>
9789
9790         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9791         of the selected paragraph does not have the selected layout also if
9792         the last one had!
9793
9794         * text2.C (setLayout): fixed bug which did not change last selected
9795         paragraph.
9796
9797         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9798         changed the read and substituted \\end_float with \\end_inset!
9799
9800         * BufferView_pimpl.C (cursorPrevious):
9801         (cursorNext): fixed to make it work with rows heigher than the work
9802         area without moving the cursor only the draw of the row.
9803         (workAreaMotionNotify): fix jumping over high rows.
9804
9805 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9806
9807         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9808         Ressler.
9809
9810 2002-04-16  Juergen Vigna  <jug@sad.it>
9811
9812         * text2.C (setCursor): set also the irow().
9813         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9814         (cursorUp):
9815         (cursorDown): support for locking an inset if the x_fix value goes
9816         inside it. That way I can transverse insets too with cursor up/down.
9817
9818         * lyxrow.h: added irow helper function same as other (i) functions.
9819
9820         * BufferView_pimpl.C (cursorPrevious):
9821         (cursorNext): fixed for insets!
9822
9823 2002-04-15  Juergen Vigna  <jug@sad.it>
9824
9825         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9826         position otherwise it is wrong in some cases.
9827
9828         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9829         inside the inset before the call.
9830
9831 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9832
9833         * buffer.[Ch] (getBibkeyList): make it const.
9834
9835 2002-04-12  Juergen Vigna  <jug@sad.it>
9836
9837         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9838
9839         * text2.C (getCursorX): new helper function
9840         (setCursor): compute also ix_
9841         (setCursorFromCoordinates): set also ix.
9842
9843         * lyxcursor.h: added ix_ and helper functions.
9844
9845         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9846
9847         * buffer.C (insertStringAsLines): dont break paragraph if the this
9848         paragraph is inside an inset which does not permit it!
9849
9850         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9851         also with no chars on this paragraph.
9852         (paintRowText): only paint stuff if it's inside the workarea!
9853
9854         * paragraph.C (breakParagraph): honor keepempty flag and break the
9855         paragraph always below not above.
9856
9857         * BufferView2.C (unlockInset): update the paragraph layout on inset
9858         unlock as we changed paragraph in such a case.
9859
9860         * lyxfind.C (LyXFind): clear the former selection if not found!
9861
9862         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9863         again called in insertChar().
9864
9865         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9866         an inset which uses the whole row!
9867         (rightMargin): ditto.
9868         (insertChar): force a rebreak if we inserted an inset!
9869
9870 2002-03-28  Herbert Voss  <voss@lyx.org>
9871
9872         * lyxlength.[Ch]: add inBP() to get the right PS-point
9873         units (BigPoint). With inPixels we have rounding errors
9874
9875 2002-04-11  Juergen Vigna  <jug@sad.it>
9876
9877         * text2.C (setCursorFromCoordinates): set iy to the right value.
9878         (setCursor): add check if row->previous exists!
9879
9880         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9881         an old float_type as this was the case in the old code!
9882
9883         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9884
9885         * BufferView2.C (showLockedInsetCursor): use iy
9886         (fitLockedInsetCursor): ditto
9887
9888         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9889         locked insets as there we have the right value now.
9890
9891         * lyxcursor.C: added iy_ variable and iy functions to set to the
9892         baseline of cursor-y of the locked inset.
9893
9894         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9895         (setCursor): fixed for insets which need a full row.
9896
9897         * text.C (rowLastPrintable): don't ignore the last space when before
9898         an inset which needs a full row.
9899         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9900         as last character of a row when before a inset which needs a full row.
9901
9902 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9903
9904         * version.C.in: update date
9905
9906         * text2.C (fullRebreak): try to always return true and see what
9907         happens...
9908
9909 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9910
9911         * MenuBackend.C (expand): use Floating::listName
9912
9913         * FloatList.C (FloatList): add listName argument to the built-in
9914         floats
9915
9916         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9917         text associated with the float.
9918
9919 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9920
9921         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9922
9923 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9924
9925         * ShareContainer.h: add a couple of missing typenames.
9926
9927 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9928
9929         * lyxrc.C (getDescription): use _() correctly rather than N_().
9930
9931 2002-03-28  Herbert Voss  <voss@lyx.org>
9932
9933         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9934         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9935
9936 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9937
9938         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9939         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9940
9941 2002-03-29  Juergen Vigna  <jug@sad.it>
9942
9943         * lyxfunc.C (dispatch): add a missing fitCursor call.
9944
9945         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9946         it was scrolled by a cursor move, so return the bool status.
9947
9948         * BufferView.C (fitCursor): return the bool flag also to the outside
9949         world as this is needed.
9950
9951         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9952
9953         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9954         call the edit() as it is not needed (and wrong) IMO.
9955         (workAreaButtonPress): set the screen_first variable before evt.
9956         unlock the inset as this may change screen_first and then we have
9957         a wrong y position for the click!
9958
9959 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9960
9961         * MenuBackend.C (expand): another translation that I missed
9962
9963 2002-03-28  Juergen Vigna  <jug@sad.it>
9964
9965         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9966
9967         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9968
9969 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9970
9971         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9972
9973         * MenuBackend.C (expand): fix export/view/update when there is no
9974         document open.
9975
9976 2002-03-27  Herbert Voss  <voss@lyx.org>
9977
9978         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9979         and text%
9980
9981 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9982
9983         * bufferview_funcs.C (currentState): only show paragraph number
9984         for is DEVEL_VERSION is set.
9985
9986         * lyxfunc.C (dispatch): put warning in INFO channel
9987
9988         * MenuBackend.C (expand): translate the name of floats
9989
9990         * FloatList.C (FloatList): mark the float names for translation
9991
9992         * converter.C (convert): use LibScriptSearch
9993
9994 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9995
9996         * MenuBackend.C (defaults): fix default menu (we might as well get
9997         rid of it...)
9998
9999 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10000
10001         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10002         directory.
10003
10004 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10005
10006         * lyxvc.C: reorder includes.
10007
10008 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10009
10010         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10011           properly
10012
10013 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * CutAndPaste.C: change layouts earlier on paste
10016           to avoid crashing when calling getFont()
10017
10018 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10019
10020         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10021         irritating #error.
10022
10023 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10024
10025         * WorkArea.C: remove 'Pending' debug message.
10026
10027         * most files: ws cleanup
10028
10029         * buffer.[Ch]: ws changes
10030
10031         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10032
10033 2002-03-21  Juergen Vigna  <jug@sad.it>
10034
10035         * tabular.C (SetMultiColumn): collapse also the contents of the
10036         cells and set the last border right. Added a Buffer const * param.
10037
10038 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10039
10040         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10041         linking or not.
10042
10043 2002-03-19  Juergen Vigna  <jug@sad.it>
10044
10045         * text2.C (clearSelection): reset also xsel_cache.
10046
10047         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10048         where it needs to be called (John tells us to do so too :)
10049         (selectionLost): reset sel_cache.
10050
10051         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10052
10053 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10054
10055         * text2.C (setCursorIntern): put debuging code in INSETS channel
10056
10057 2002-03-19  André Pönitz <poenitz@gmx.net>
10058
10059         * lyxfunc.C: tiny whitespace change
10060
10061 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10062
10063         * ToolbarDefaults.C (init):
10064         * LyXAction.C (init):
10065         * commandtags.h:
10066         * BufferView_pimpl.C (Dispatch):
10067         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10068
10069 2002-03-19  Allan Rae  <rae@lyx.org>
10070
10071         * exporter.C (Export): removeAutoInsets before doing anything else.
10072         While I've just introduced a dependency on BufferView this really is
10073         the best place to clean the buffer otherwise you need to cleanup in
10074         a dozen places before calling export or cleanup in a dozen functions
10075         that export calls.
10076
10077         * converter.C (runLaTeX):
10078         (scanLog): Better handling of removeAutoInsets and screen updates.
10079
10080         * lyxfunc.C (dispatch): small whitespace changes
10081
10082 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10083
10084         * WorkArea.C (C_WorkAreaEvent): return a value.
10085         (event_cb): return 1 if we handled the event, 0 otherwise.
10086
10087         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10088
10089 2002-03-18  Juergen Vigna  <jug@sad.it>
10090
10091         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10092         (GetAdditionalWidth): ditto.
10093         (RightLine): ditto.
10094         (LeftLine): ditto.
10095
10096         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10097         inset if we're there actually (probably not used right now but this
10098         is the direction to go for unifying code).
10099         (paste): disable code to clear the selection.
10100
10101         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10102         inside an InsetText and move the check further up as it is in the
10103         wrong place.
10104
10105         * text2.C (pasteSelection): set a selection over the pasted text.
10106
10107 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10108
10109         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10110         and libgraphics to build on Cygwin.
10111
10112 2002-03-15  Juergen Vigna  <jug@sad.it>
10113
10114         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10115         inserting an Inset into the paragraph. I know this is not the best
10116         fix but we already use current_view in CutAndPaste so we will remove
10117         all of it's using at the same time.
10118
10119         * buffer.C (sgmlError): deactivated function till it is rewritten in
10120         the right mode, now it can create problems.
10121
10122         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10123         before accessing it.
10124
10125 2002-03-14  Juergen Vigna  <jug@sad.it>
10126
10127         * undo_funcs.C (textHandleUndo): do the right thing when updating
10128         the inset after the undo/redo.
10129
10130         * text2.C (setCursor): just some testcode for #44 not ready yet.
10131
10132         * undo_funcs.C (textHandleUndo): set the next() and previous()
10133         pointers of the paragraph to 0 before deleting otherwise we have
10134         problems with the Paragraph::[destructor].
10135
10136         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10137         on a paragraph insertion.
10138
10139 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10140
10141         * buffer.C (asciiParagraph): use += operator for char append to
10142         string.
10143
10144         * paragraph.C (getFontSettings): compare >= not just >
10145         (highestFontInRange): ditto
10146         (setFont): ditto
10147
10148 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10149
10150         * paragraph.C: change several algorithm to be more appripriate for
10151         the problem domain. This is lookip in FontList and in the InsetList.
10152
10153 2002-03-13  André Pönitz <poenitz@gmx.net>
10154
10155         * commandtags.h:
10156         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10157
10158 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10159
10160         * commandtags.h:
10161         * LyXAction.C:
10162         * lyxfunc.C:
10163         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10164
10165 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10166
10167         * Painter.C (display): anon helper function, adjust code for this
10168         change.
10169         (pixmap): remove function.
10170
10171         * Painter.h: remove private display variable.
10172
10173         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10174
10175 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10176
10177         * WorkArea.[Ch]: remove figinset_canvas cruft.
10178
10179 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10180
10181         * lyxtextclass.C (operator): add one item cache optimization.
10182
10183         * bufferlist.h: doxy changes
10184
10185         * bufferlist.C: ws changes
10186
10187         * DepTable.[Ch] (ext_exist): place const in the right spot.
10188
10189         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10190         call resizeInsets.
10191         (workAreaExpose): call resizeInsets when the with BufferView changes.
10192         (Dispatch): adjust for protectedBlank removal
10193         (specialChar): call updateInset if the insert went ok.
10194
10195         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10196         specialChar instead.
10197
10198         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10199
10200         * BufferView.h: doxy change
10201
10202         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10203
10204         * lyxtextclass.C (operator[]): remove non-const version
10205         (defaultLayout): remove non-const version
10206
10207 2002-03-12  Juergen Vigna  <jug@sad.it>
10208
10209         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10210         did resize the LyXText too.
10211
10212         * buffer.C (readLyXformat2): set layout information on newly allocated
10213         paragraphs.
10214
10215         * tabular.C (OldFormatRead): set layout information on the paragraph.
10216
10217 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10218
10219         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10220
10221 2002-03-11  Juergen Vigna  <jug@sad.it>
10222
10223         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10224         plainly wrong.
10225         (resizeCurrentBuffer): force also the insets to resize themselfes.
10226         (moveCursorUpdate): fixed up for InsetText.
10227
10228 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10229
10230         * commandtags.h:
10231         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10232         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10233         value of Dialogs::tooltipsEnabled().
10234         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10235
10236 2002-03-08  Juergen Vigna  <jug@sad.it>
10237
10238         * BufferView_pimpl.C (updateInset): update inset inside inset also
10239         if it isn't inside theLockingInset().
10240
10241 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10242
10243         * buffer.C (asciiParagraph): redo some of the word and line length
10244         handling.
10245         (getLists): look for Caption instead of caption.
10246
10247 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10248
10249         * buffer.C (Buffer): initialize niceFile to true
10250         (makeLaTeXFile):
10251         (makeLinuxDocFile):
10252         (makeDocBookFile): make sure niceFile is true on exit
10253
10254 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10255
10256         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10257
10258 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10259
10260         * LyXSendto.C: remove.
10261         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10262         * lyx_gui.C: remove now-redundant comment.
10263         * ColorHandler.h: remove forward declaration of class WorkArea.
10264         * lyxfunc.C: remove #include "WorkArea.h".
10265
10266 2002-03-07  Juergen Vigna  <jug@sad.it>
10267
10268         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10269         got moved away with the DEPM and also set the inset_owner always
10270         right which before could have been omitted.
10271
10272 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10273
10274         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10275         wanted layout is not found.
10276
10277 2002-03-07  Juergen Vigna  <jug@sad.it>
10278
10279         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10280
10281 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10282
10283         * paragraph.C (breakParagraph): use default layout not layout of
10284         prev paragraph.
10285         (Paragraph): clear ParagraphParameters.
10286
10287 2002-03-06  Juergen Vigna  <jug@sad.it>
10288
10289         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10290         otherwise it would not be a valid lenght. Fixed a special case in
10291         the minipage compatibility read where we end the document with a
10292         minipage.
10293
10294         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10295         was set as it could be 0 for InsetTexts first entry.
10296
10297 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10298
10299         * paragraph.C (writeFile): if layout is empty write out
10300         defaultLayoutName().
10301
10302         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10303         file without named layout we set layout to defaultLayoutName().
10304
10305 2002-03-06  Juergen Vigna  <jug@sad.it>
10306
10307         * CutAndPaste.C (copySelection): set layout for new paragraph.
10308
10309         * text.C (prepareToPrint): leave ERT inset left aligned
10310         (leftMargin): don't indent paragraphs inside ERT insets
10311
10312 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10313
10314         * paragraph.C (breakParagraph): dont call clear do the work manually
10315
10316         * paragraph.[Ch] (clear): remove function
10317
10318 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10319
10320         * paragraph.C (Paragraph): dont call clear, the work has already
10321         been done.
10322
10323         * lyxtextclass.C (operator): assert if n is empty
10324
10325         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10326         work manually instead.
10327
10328 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10329
10330         * BufferView_pimpl.C: protect selectionLost against text == 0
10331
10332 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10333
10334         * text.C (breakParagraph): fix a setting layout to '0' problem.
10335
10336 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10337
10338         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10339         final location of file, for the included files, and graphics.
10340
10341 2002-03-05  Juergen Vigna  <jug@sad.it>
10342
10343         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10344
10345 2002-03-04  Juergen Vigna  <jug@sad.it>
10346
10347         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10348
10349         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10350         last column of multicolumn cells.
10351         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10352
10353 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10354
10355         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10356         file if it doesn't go to a temporary file.
10357
10358         * buffer.C (sgmlOpenTag):
10359         (sgmlCloseTag):  remove extra newline insertion.
10360
10361 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10362
10363         * text.C (getRowNearY): comment out debug msg
10364
10365 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10366
10367         * text2.C: first -> first_y
10368
10369         * text.C (getRowNearY): add some attemts at a possible
10370         optimization, not working.
10371
10372         * tabular.[Ch]: add BufferParams to several function so that newly
10373         created paragraph can be initialized to he default layotu for the
10374         buffers textclass.
10375
10376         * tabular-old.C (ReadOld): add buf->params to call of Init
10377
10378         * screen.C: rename text->first to text->first_y
10379
10380         * paragraph.C (breakParagraph): always set layout in the broken
10381         paragraph
10382
10383         * lyxtextclass.C (Read): remove lowercase
10384         (hasLayout): ditto
10385         (operator): ditto
10386         (delete_layout): ditto
10387
10388         * lyxtext.h: rename first -> first_y
10389
10390         * lyxlayout.C (Read): remove lowercase
10391         (name): ditto
10392         (setName): ditto
10393         (obsoleted_by): ditto
10394
10395         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10396
10397         * buffer.C (insertErtContents): add params are to InsetERT
10398         (parseSingleLyXformat2Token): add code to check if a paragraphs
10399         layout really exist.
10400         (parseSingleLyXformat2Token): add params to several inset
10401         constructors
10402         (asciiParagraph): remove lowercase, do the layout comparisons with
10403         no_case
10404
10405         * BufferView_pimpl.C (cursorNext): first -> first_y
10406         (resizeCurrentBuffer): first -> first_y
10407         (updateScrollbar): first -> first_y
10408         (scrollCB): first -> first_y
10409         (workAreaMotionNotify): first -> first_y
10410         (workAreaButtonPress): first -> first_y
10411         (checkInsetHit): first -> first_y
10412         (cursorPrevious): first -> first_y
10413         (cursorNext): first -> first_y
10414         (Dispatch): add buffer_->params to severl inset contructors
10415
10416 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10417
10418         * lyxlayout.C (Read): remove some debug info that I forgot.
10419
10420         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10421         clean up the code slightly.
10422         (makeLinuxDocFile): ditto
10423         (makeDocBookFile): ditto
10424
10425         * text2.C: layout as string
10426
10427         * text.C: layout as string
10428
10429         * paragraph_pimpl.C: layout as string
10430
10431         * paragraph.[Ch]: layout as string
10432
10433         * lyxtextclasslist.[Ch]: layout as string
10434
10435         * lyxtextclass.[Ch]: layout as string
10436
10437         * lyxtext.h: layout as string
10438
10439         * lyxlayout.[Ch]: layout as string
10440
10441         * lyx_cb.C: layout as string
10442
10443         * bufferview_funcs.C: layout as string
10444
10445         * bufferparams.C: layout as string
10446
10447         * buffer.C: layout as string
10448
10449         * LyXView.[Ch]: layout as string
10450
10451         * LaTeXFeatures.[Ch]: layout as string
10452
10453         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10454
10455         * BufferView_pimpl.C: change current_layout to string, remove
10456         lyx::layout_type.
10457         (Dispatch):
10458         (smartQuote):
10459         (insertInset):
10460         (workAreaButtonRelease): layout as string
10461
10462         * BufferView2.C (unlockInset): adjust
10463
10464         * vspace.C (asLatexCommand): use an explict temp variable.
10465
10466 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10467
10468         * Makefile.am: use FRONTEND_*
10469
10470 2002-03-01  Juergen Vigna  <jug@sad.it>
10471
10472         * tabular.C (SetWidthOfMulticolCell): changed to something better
10473         I hope but still work in progress.
10474         (recalculateMulticolumnsOfColumn): renamed function from
10475         recalculateMulticolCells as it is more appropriate now.
10476         (SetWidthOfCell): calculate multicols better.
10477
10478 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10479
10480         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10481
10482         * lyxfunc.C (processKeySym): print sequence also if it is
10483         `deleted' (complete)
10484
10485         * kbsequence.C (print): print sequence even if it is deleted
10486         (complete would be a better word, actually).
10487
10488         * lyxfunc.C (dispatch): print complete options after a prefix key
10489
10490         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10491
10492 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10493
10494         * text2.C (setCharFont): eliminate setCharFont code duplication.
10495
10496 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10497
10498         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10499         LFUN_TABULAR_FEATURE (bug #177)
10500
10501 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10502
10503         * Makefile.am: remove figure.h
10504
10505 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10506
10507         * Bufferview_pimpl.C:
10508         * CutAndPasteC:
10509         * LaTeX.C:
10510         * LyXSendto.C:
10511         * buffer.C:
10512         * bufferlist.C:
10513         * converter.C:
10514         * language.C:
10515         * lyxfunc.C:
10516         * lyxvc.C:
10517         * paragraph.C:
10518         * text.C:
10519         * text2.C: remove #include "lyx_gui_misc.h".
10520
10521         * LaTeX.C: added #include <cstdio>
10522
10523 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10524
10525         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10526         that the paragraph following this one can have.
10527
10528         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10529
10530         * vspace.C (asLatexCommand): fix bogus gcc warning
10531
10532         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10533
10534 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10535
10536         * text2.C (setLayout): get rid of redundant code
10537
10538 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10539
10540         * text2.C (incDepth): make sure depth cannot be increased beyond
10541         reasonable values.
10542
10543 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10544
10545         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10546         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10547
10548         * PainterBase.h (image):
10549         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10550         a LyXImage const *.
10551
10552 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * BufferView.C:
10555         * BufferView.h:
10556         * BufferView_pimpl.C:
10557         * BufferView_pimpl.h:
10558         * LaTeXFeatures.C:
10559         * LyXAction.C:
10560         * LyXView.C:
10561         * Makefile.am:
10562         * UpdateList.h:
10563         * UpdateList.C:
10564         * buffer.C:
10565         * figure.h:
10566         * figureForm.C:
10567         * figureForm.h:
10568         * figure_form.C:
10569         * figure_form.h:
10570         * lyx_cb.C:
10571         * lyx_gui.C:
10572         * lyx_gui_misc.C:
10573         * lyxfunc.C:
10574         * sp_base.h:
10575         * sp_ispell.h:
10576         * sp_pspell.h:
10577         * sp_spell.C: remove fig inset, and the crap house of
10578           cards that follows it
10579
10580 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * Makefile.am:
10583         * lyxserver.C:
10584         * os2_defines.h:
10585         * os2_errortable.h:
10586         * nt_defines.h: move .h into support/
10587
10588         * vms_defines.h: remove
10589
10590         * WorkArea.C: add space in debug output
10591
10592         * text2.C:
10593         * paragraph.C:
10594         * buffer.C: add WITH_WARNINGS
10595
10596         * vc-backend.h:
10597         * vc-backend.C:
10598         * bufferlist.C: s/retrive/retrieve/, add docs
10599
10600         * vspace.h:
10601         * vspace.C:
10602         * kbmap.h:
10603         * lyxlength.h:
10604         * lyxgluelength.h:
10605         * length_common.h:
10606         * chset.h:
10607         * chset.C: add docs
10608
10609         * lyxgui.C: add ID to X error handler
10610
10611         * lyxtestclass.c: fix typo
10612
10613 2002-02-26  Juergen Vigna  <jug@sad.it>
10614
10615         * tabular_funcs.C (write_attribute): changed so that some default
10616         attributes are not written at all.
10617         (getTokenValue): set default values before trying to read the
10618         value so we have the return value always set as default if we don't
10619         find the token we search for.
10620
10621         * tabular.C (Write): write bools as bools not as strings!
10622
10623 2002-02-22  Juergen Vigna  <jug@sad.it>
10624
10625         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10626         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10627
10628         * text.C (leftMargin): don't add an indent for paragraphs inside
10629         tabular cells (fix #208).
10630
10631 2002-02-21  José Matos  <jamatos@fep.up.pt>
10632
10633         * tabular.C (docBook): fixed support for long tables.
10634
10635 2002-02-20  Juergen Vigna  <jug@sad.it>
10636
10637         * text2.C (getFont): get the drawing font of the Inset if this
10638         paragraph is inside an inset (only important for InsetERT for now).
10639
10640         * buffer.C (insertErtContents): use new lanugage params in ERT
10641         constructor.
10642
10643         * CutAndPaste.C: commenting out seemingly uneeded code.
10644
10645 2002-02-19  Allan Rae  <rae@lyx.org>
10646
10647         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10648         Iterators might be simple to use but they also get invalidated.
10649         (removeAutoInsets): renamed saved cursor tracking variables and added
10650         some comments to clarify what everything does.
10651
10652 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10653
10654         * Chktex.C:
10655         * LaTeX.C:
10656         * LyXSendto.C:
10657         * converter.C:
10658         * lyx_cb.C:
10659         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10660         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10661
10662         * lyxfunc.C:
10663         * vc-backend.h: remove #include "support/syscall.h"
10664
10665         * LaTeX.C:
10666         * LyXSendto.C:
10667         * converter.C: rearrange #includes in Lars' approved fashion.
10668
10669         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10670         forward declare class Timeout in the header file.
10671
10672         * XFormsView.C: changes due to the above.
10673
10674         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10675         similar to LyXView.
10676
10677         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10678         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10679
10680 2002-02-18  José Matos  <jamatos@fep.up.pt>
10681
10682         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10683         insets contents.
10684
10685 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10686
10687         * a lot of small ws changes
10688         * add a lot of using std::XXX
10689         * use std construcs some places where approp.
10690         * use some exisint stuff from lyxfunctional where approp.
10691         * Make file changes to use partial linking (lets test this now...)
10692
10693 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10694
10695         * Chktex.C:
10696         * buffer.C:
10697         remove #include "support/syscontr.h" as it's redundant. Always has been.
10698
10699         * Chktex.C:
10700         * LaTeX.C:
10701         * LyXSendto.C:
10702         * converter.C:
10703         * lyx_cb.C:
10704         * vc-backend.C:
10705         change Systemcalls::System to Systemcalls::Wait and
10706         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10707         No change of functionality, just reflects the stripped down Systemcalls
10708         class.
10709
10710 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10711
10712         * debug.[Ch]: add a GRAPHICS type to the enum.
10713
10714 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10715
10716         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10717
10718         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10719         there is an inset.
10720
10721 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10722
10723         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10724         match the changes below.
10725
10726         * text2.C (toggleInset): if there is not editable inset at cursor
10727         position, try to see if cursor is _inside_ a collapsable inset
10728         and close it.
10729
10730 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10731
10732         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10733         document menu has a nice checkbox
10734
10735 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10736
10737         * lyxlength.C (asLatexString): change PW to output as percent of
10738         \textwidth.
10739
10740         * lengthcommon.C: change '%' to 't%'
10741
10742         * lyxfunc.C (dispatch): a few comments from Martin
10743
10744 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10745
10746         * WorkArea.h:
10747         * WorkArea.C:
10748         * BufferView_pimpl.h:
10749         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10750           the X selection.
10751
10752 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10753
10754         * vspace.C (inPixels): fix compiler warning
10755
10756 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * lyxfunc.C (getStatus): fix status message for disabled commands.
10759
10760 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10761
10762         * BufferView_pimpl.C: fix crash on close buffer
10763         during selection (#227)
10764
10765 2002-01-27  Herbert Voss  <voss@lyx.org>
10766
10767         * buffer.C: link old Figure to new graphic inset
10768
10769 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10770
10771         * FontLoader.C (getFontinfo): Change the latex font names in order
10772         to match the names of type1inst.
10773
10774 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10775
10776         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10777
10778         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10779         (extchanged): ditto
10780         (ext_exist): ditto
10781         (remove_files_with_extension): ditto
10782         (remove_file): ditto
10783         (write): ditto
10784
10785         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10786         document is smaller than the work area height. Do not initialize
10787         static variables to 0.
10788
10789 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10790
10791         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10792
10793         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10794         LFUN_LAYOUT_PARAGRAPHS.
10795
10796         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10797         tabular. It is possible to provide a possible cell, which will
10798         typically be the actcell from the corresponding insettabular
10799
10800         * lyxfunc.C (getStatus): small cleanup; disable
10801         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10802         true
10803
10804 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10805
10806         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10807
10808         * paragraph.C (startTeXParParams):
10809         (endTeXParParams): new methods. The LaTeX code to
10810         start/end paragraph formatting
10811         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10812         empty (fixes bug #200)
10813
10814         * vspace.C (inPixels): adapt to the change below
10815         (inPixels): [later] more cleanups (remove unused variables)
10816
10817         * lyxlength.C (inPixels): change to use a width and a height as
10818         parameter.
10819
10820 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10821
10822         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10823         Replaced with \paperwidth
10824
10825         * DepTable.C (insert): add std:: qualifier
10826
10827 2002-01-18  Allan Rae  <rae@lyx.org>
10828
10829         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10830         updated also?
10831
10832         * text.C (drawInset): Turned out I didn't know enough about how
10833         rebreaking worked.  This fixes most of the redraw problems.  I see
10834         an occasional cursor trail when a line is broken now and the cursor
10835         placement can seem out by a few pixels also after a rebreak.
10836
10837 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10838
10839         * buffer.C (parseSingleLyXformat2Token): update because minipage
10840         width is now a LyXLength
10841
10842         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10843
10844         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10845         math insets
10846
10847 2002-01-17  Juergen Vigna  <jug@sad.it>
10848
10849         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10850
10851         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10852         is set correctly and the inset is updated correctly.
10853
10854 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10855
10856         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10857         the beginning of the loop.
10858
10859 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10860
10861         * lyxrc.C: improve help for use_scalable_fonts
10862
10863 2002-01-17  Allan Rae  <rae@lyx.org>
10864
10865         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10866
10867 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10868
10869         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10870         make sure to set their inset_owner to the right value (bug #171)
10871
10872 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10873
10874         * DepTable.h
10875         * DepTable.C: Implement mtime checking to reduce time spent doing
10876         CRCs.
10877
10878 2002-01-16  Juergen Vigna  <jug@sad.it>
10879
10880         * tabular.C (GetAdditionalHeight): one of error fixed.
10881
10882         * lyxrc.C (output): small fix in writing use_pspell.
10883
10884 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10885
10886         * sp_base.h: #include LString.h
10887
10888 2002-01-16  Allan Rae  <rae@lyx.org>
10889
10890         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10891         Can someone check this please?
10892
10893         * text.C (drawInset): It was possible that p.row would be removed by
10894         breakAgainOneRow upsetting a few other settings.  There may be another
10895         small tweak possible by setting need_break_row = 0 when p.row has been
10896         removed but I don't know enough about the logic here.
10897
10898 2002-01-15  Allan Rae  <rae@lyx.org>
10899
10900         * text.C (insertChar): removed conditional truism.
10901
10902         * BufferView2.C (removeAutoInsets): More tweaks.
10903         cur_par_prev could be a stray pointer.  Check for trailing empty line
10904         in case last line was cur_par and only had an error inset on it.
10905
10906 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10907
10908         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10909         absolute
10910
10911         * vc-backend.C (most methods):
10912         * exporter.C (Export):
10913         * converter.C (convert):
10914         (runLaTeX):
10915         * LyXSendto.C (SendtoApplyCB):
10916         * lyxfunc.C (dispatch):
10917         (menuNew):
10918         (open):
10919         (doImport):
10920         * lyx_cb.C (AutoSave):
10921         (InsertAsciiFile):
10922         * BufferView_pimpl.C (MenuInsertLyXFile):
10923         * buffer.C (runChktex): use Buffer::filePath().
10924
10925         * buffer.h: rename filename to filename_; rename filepath to
10926         filepath_ and make it private
10927         (filePath): new method
10928
10929         * buffer.C (writeFile): use fileName()
10930         (getLatexName):
10931
10932         * lyx_main.C (init): fix starting  of LyX when the binary is a
10933         link from so,ewhere else.
10934
10935         * minibuffer.C: include <cctype> for isprint
10936
10937 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10938
10939         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10940         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10941         name clash with InsetCollapsable's width function.
10942
10943 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10944
10945         * lastfiles.C: include <iterator>
10946
10947 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10948
10949         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10950         std::count.
10951
10952         * buffer.C (makeLaTeXFile): ditto.
10953         Also make loop operation more transparent.
10954
10955 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10956
10957         * ToolbarDefaults.C: remove trailing comma closing namespace.
10958
10959         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10960
10961         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10962         as in WorkArea.
10963
10964         * trans.C (Load): comment out unused variable, allowed.
10965
10966 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10967
10968         * minibuffer.[Ch] (append_char): new method to recieve input from the
10969         drop-down completion browser. If a key was pressed, then recieve this
10970         char and append it to the existing string.
10971         (peek_event): modify the positioning data passed to the completion
10972         browser so that it can be placed above the minibuffer rather than below.
10973 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * LyXAction.C (init): alloe error-next for readonly documents.
10976
10977         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10978         count.
10979
10980 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10981
10982         * bufferlist.C (readFile): create the buffer _after_ checking that
10983         the file exists.
10984
10985         * lyxfunc.C (verboseDispatch): fix handling of arguments
10986
10987         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10988
10989         * lyxrc.C: use string::erase() instead of initializing to "".
10990
10991
10992 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * BufferView_pimpl.h:
10995         * BufferView_pimpl.C:
10996         * WorkArea.h:
10997         * WorkArea.C:
10998         * text2.C: tell X when we have made a selection for copying
10999
11000 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11001
11002         * BufferView_pimpl.C (MenuInsertLyXFile):
11003         * lyxfunc.C (menuNew):
11004         (open):
11005         (doImport): add shortcuts to directory buttons
11006
11007         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11008         open a float)
11009
11010         * lyxfunc.C (setStatusMessage):
11011         (getStatusMessage): new methods
11012         (getStatus):use setStatusMessage instead of setErrorMessage
11013         (dispatch): when function is disabled, set error message here
11014         [instead of in getStatus previously]
11015
11016         * BufferView_pimpl.C (workAreaButtonRelease): update
11017         toolbar/menubar here too.
11018
11019 2002-01-13  Allan Rae  <rae@lyx.org>
11020
11021         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11022         Now seems indestructible.  Remaining task is to audit all other
11023         code affected by deleteEmptyParagraphMechanism.  One small quirk
11024         left is that an empty document with an error in the preamble can
11025         be made to report an error but no error box appears.  I don't know
11026         where it goes.
11027         (removeAutoInsets): Improved comments.
11028
11029 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11030
11031         * Thesaurus.h:
11032         * Thesaurus.C: update for Aiksaurus 0.14
11033
11034 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11035
11036         * text2.C (firstParagraph): removed member function, all uses
11037         replaces with ownerParagraph
11038         (redoParagraphs): here
11039         (updateInset): here
11040         (toggleAppendix): here
11041         * BufferView2.C (insertErrors): here
11042         (setCursorFromRow): here
11043
11044 2002-01-13  Allan Rae  <rae@lyx.org>
11045
11046         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11047         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11048         There is still a way to segfault this although you may have to do this
11049         multiple times: Have an InsetERT with an unknown command in it.
11050         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11051         <down-arrow>, <Enter> again, View->DVI, BANG!
11052
11053         * text2.C (setCursor):
11054         (deleteEmptyParagraphMechanism):
11055         * lyxtext.h (setCursor):
11056         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11057         Making use of the return value may help fix other bugs.
11058
11059 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11060
11061         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11062
11063         * LyXView.C (updateMenubar): call MenuBar::update here
11064         (updateToolbar): but not here
11065         (showState): do not update toolbar/menubar
11066
11067         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11068         should need to care about that.
11069
11070         * lyxfunc.C (verboseDispatch): simplify a bit
11071         (getStatus): have a version which takes a pseudoaction, and
11072         another which requires a (kb_action,string).
11073
11074         * LyXAction.C (retrieveActionArg): make it work also when action
11075         is not a pseudo-action.
11076         (getActionName): simplify a bit
11077         (helpText):
11078
11079 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11080
11081         * lyxfunc.C (verboseDispatch): new families of methods with
11082         several ways to specify a command and a bool to indicate whether
11083         the command name and shortcut should be displayed in minibuffer
11084         (eventually, we could extend that to a finer bitmask like
11085         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11086         (dispatch): the pristine dispatch command which just, well,
11087         dispatchs! Note it still sets its result to minibuffer; I'm not
11088         sure we want that.
11089
11090         * lyxfunc.h: remove setHintMessage
11091
11092         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11093
11094 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11095
11096         * BufferView_pimpl.C (specialChar): delete new inset if we have
11097         not been able to insert it.
11098
11099         * kbmap.C: revert to using int instead of kb_action, since all we
11100         are dealing with is pseudo-actions.
11101
11102         * LyXAction.C (searchActionArg): change to return int instead of
11103         kb_action, since the result is a pseudoaction.
11104
11105 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11106
11107         * buffer.C (insertErtContents): Fix (partially) the font bug.
11108
11109 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11110
11111         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11112         as the other one is broken on my machine!
11113
11114 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11115
11116         * commandtags.h:
11117         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11118
11119 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11120
11121         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11122         reflect their actual use. Provide compatibility code for older lyxrc
11123         files.
11124
11125         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11126         FL_NORMAL_STYLE.
11127         change names of popup font variables in line with the changes to lyxrc.C
11128
11129 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11130
11131         * buffer.C (asciiParagraph): avoid outputing a word twice after
11132         an inset.
11133
11134         * lyxrc.C (getDescription): document that document_path and
11135         template_path can be empty.
11136
11137 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11138
11139         * LaTeXFeatures.C (getMacros):
11140         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11141
11142         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11143
11144         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11145         getPackages.
11146         (getPackages): rename feature "floats" to "float". Use an array to
11147         iterate over 'simple' features (i.e. just a \usepackage). Add
11148         handling of "amsmath" (renamed from "amsstyle").
11149
11150 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11151
11152         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11153         features list.
11154
11155 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11156
11157         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11158         FuncStaus::FuncStatus & FuncStaus::some_method().
11159
11160 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11161
11162         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11163         of the func_satus stuff. Edited and massaged in various ways by
11164         JMarc.
11165
11166         * lyxfunc.C (getStatus): use FuncStatus
11167
11168 2002-01-08  Juergen Vigna  <jug@sad.it>
11169
11170         * text.C (nextBreakPoint): use function Inset::isChar().
11171
11172         * paragraph.C (TeXOnePar): use function
11173         Inset::forceDefaultParagraphs.
11174
11175         * buffer.C (latexParagraphs): use function
11176         Inset::forceDefaultParagraphs.
11177
11178 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11179
11180         * lyx_gui.C (init): set the style of the menu popups to
11181         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11182
11183 2002-01-07  Juergen Vigna  <jug@sad.it>
11184
11185         * text.C (setHeightOfRow): small fix
11186         (prepareToPrint): don't look at alignment if we don't have the place
11187         for doing it.
11188
11189 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11190
11191         * box.C: New file. Move the Box methods and functions out of box.h,
11192         following Lars' suggestion.
11193
11194 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11195
11196         * box.h: #include "support/LOstream.h", needed for inlined function.
11197
11198         * lyxtextclass.C:
11199         * lyxtextclasslist.C: added some using std declarations.
11200
11201 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * box.h: make signed dimensions to allow insets wider than
11204           the screen (bug #162)
11205
11206         * BufferView_pimpl.C: add some insetHit debug
11207
11208 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11209
11210         * vc-backend.C: add FIXME
11211
11212 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11213
11214         * lyxfunc.C (getStatus): enable code for showing math font status
11215         in toolbar/menu.
11216
11217 2002-01-07  Juergen Vigna  <jug@sad.it>
11218
11219         * text.C (nextBreakPoint): removed debug output not needed anymore.
11220
11221 2002-01-06  Juergen Vigna  <jug@sad.it>
11222
11223         * text.C (nextBreakPoint): fixed up this function we had this bug
11224         since ever but now hopefully we break row better.
11225         (insertChar): we have to check if an inset is the next char as it
11226         could now happen that a large inset is causing a break.
11227
11228 2002-01-05  Juergen Vigna  <jug@sad.it>
11229
11230         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11231         if it doesn't like to be drawed.
11232
11233 2002-01-04  Juergen Vigna  <jug@sad.it>
11234
11235         * BufferView2.C (lockInset): forgot to set a cursor.
11236
11237         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11238
11239 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11240
11241         * FormMathsPanel.C:
11242         * FormMathsPanel.h
11243         * MathsSymbols.C:
11244         * form_maths_panel.C:
11245         * form_maths_panel.h:
11246         * form_maths_panel.fd: implemented sub- and super- buttons in math
11247         panel.
11248
11249         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11250         (or ^ space) to be used as in TeX (req'd by André).
11251
11252         * lyxfunc.C: Allow ^ and _ again to be used both as
11253         super/subscript (mathed) and as themselves (in text).
11254
11255 2002-01-03  Allan Rae  <rae@lyx.org>
11256
11257         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11258         "LyX" or the filename of the current buffer if it has one.  This is a
11259         modified form of John Levon's patch.
11260
11261         * XFormsView.C (setWindowTitle): also set icon title.
11262
11263         * LyXView.h (setWindowTitle): signature changed.
11264         * XFormsView.h (setWindowTitle): ditto.
11265
11266 2002-01-02  Juergen Vigna  <jug@sad.it>
11267
11268         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11269
11270 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11271
11272         * screen.C (topCursorVisible): introduce a temp var for
11273         text->cursor.row(), handle the case where this row is null. (kindo
11274         hachish)
11275
11276         * text2.C (setCursor): add a couple of asserts.
11277
11278         * paragraph.h (inset_iterator): add -> operator
11279
11280         * paragraph.[Ch] (autoDeleteInsets): remove member function
11281
11282         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11283         cursor pos correctly and handle inset deletion by itself.
11284         (insertErrors): move iterator declaration out of for expression
11285
11286         * lyxtextclass.C: add <algorithm>
11287
11288         * Makefile.am: added the new files to sources, removed layout.C
11289
11290         * layout.C: removed file
11291
11292         * layout.h: remove LYX_DUMMY_LAYOUT
11293
11294         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11295         layout.
11296
11297         * lyxlayout.[Ch]:
11298         * lyxtextclass.[Ch]:
11299         * lyxtextclasslist.[Ch]: new files
11300
11301         * include order changes to a lot of files, also changes because of
11302         the six new files.
11303
11304 2001-12-27  Juergen Vigna  <jug@sad.it>
11305
11306         * buffer.C (asciiParagraph): more fixes.
11307
11308         * tabular.C (ascii): make ascii export support export of only the
11309         data separated by a column-delimiter.
11310         (ascii): better support for ascii export.
11311
11312         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11313
11314 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11315
11316         * tabular_funcs.C: use a "using std::getline" instead of the
11317         previous fix from Angus (necessary for cxx + lyxstring)
11318
11319 2001-12-24  Juergen Vigna  <jug@sad.it>
11320
11321         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11322
11323         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11324         problems. First check a minipage also if we have some ert-contents
11325         (not only on par->size(), second set the right depth of the paragraph
11326         on the relink to the root-paragraph-list!
11327
11328         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11329         which then did not anymore update the main paragraphs on undo/redo!
11330
11331 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11334         code. Support all font-changing funcs (even those which are not in
11335         menu currently). Support for reporting font settings in
11336         mathed (disabled until Andre provides a function on mathed's side).
11337
11338         * func_status.h (toggle): small helper function to set toggle
11339         state on a flag.
11340
11341 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11342
11343         * tabular_funcs.C: getline -> std::getline
11344
11345 2001-12-21  Juergen Vigna  <jug@sad.it>
11346
11347         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11348         accessed and could be 0 (I couldn't generate this but it seems
11349         Michael could!).
11350
11351 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11352
11353         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11354         * tabular_funcs.h: here and include iosfwd
11355
11356 2001-12-20  Juergen Vigna  <jug@sad.it>
11357
11358         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11359         inside inset but undo_par was.
11360
11361 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11362
11363         * Thesaurus.C: always include <config.h> in sources.
11364
11365         * Painter.h:
11366         * lyxlookup.h:
11367         * box.h: do not include <config.h> in header files
11368
11369         * text.C (paintLastRow): remove unused variable
11370
11371         * text.C (transformChar):
11372         (insertChar):
11373         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11374
11375         * Painter.C (text):
11376         * font.C (width): rewrite to use uppercase() instead of
11377         islower/toupper.
11378
11379         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11380
11381 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11382
11383         * lyxfind.C: clean up of find failure position change
11384
11385 2001-12-20  Juergen Vigna  <jug@sad.it>
11386
11387         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11388
11389         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11390         (TeXRow): added to LaTeX a single tabular row.
11391         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11392         (Latex): simplified and finally good LT-h/f support.
11393         (various_functions): just small adaptions for LT-h/f support.
11394
11395         * tabular_funcs.[hC]: added and moved here all not classfunctions
11396         of LyXTabular.
11397
11398 2001-12-19  Juergen Vigna  <jug@sad.it>
11399
11400         * tabular.[Ch]: better support for longtabular options (not finished
11401         yet!)
11402
11403 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11404
11405         * text.C (paintLastRow): use the label font instead of the font of
11406         the last character to compute the size of *_BOX. This makes more
11407         sense and avoids a crash with empty paragraphs.
11408         Use Painter::rectangle to draw EMPTY_BOX.
11409
11410 2001-12-19  Juergen Vigna  <jug@sad.it>
11411
11412         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11413         the paragraphs if the replaced paragraph is not the first one!
11414         Tried to delete not used paragraphs but does not work yet so for
11415         now it's inside #ifdef's and by default off!
11416
11417 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11418
11419         * MenuBackend.C: include "lyx_main.h" instead of declaring
11420         lastfiles (actually was declared as LastFiles* instead of a
11421         scoped_ptr).
11422
11423 2001-12-17  Juergen Vigna  <jug@sad.it>
11424
11425         * tabular.C (AppendColumn): applied John's fix
11426
11427 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11428
11429         * BufferView.h:
11430         * BufferView.C:
11431         * BufferView_pimpl.h:
11432         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11433
11434         * Makefile.am:
11435         * box.h: new start of class for above
11436
11437         * lyxfunc.C: ignore space-only minibuffer dispatches.
11438           Show the command name when it doesn't exist
11439
11440         * minibuffer.C: don't add empty lines to the history
11441
11442         * minibuffer.C: add a space on dropdown completion
11443
11444 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11445
11446         * text.C: fix line above/below drawing in insets
11447
11448 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * lyxlength.C (LyXLength): Initialize private variables.
11451
11452 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11453
11454         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11455         when inserting error insets.
11456
11457 2001-12-13  Juergen Vigna  <jug@sad.it>
11458
11459         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11460         actually sometimes the before-paragraph.
11461         (setUndo): don't clear the redostack if we're not actually undoing!
11462
11463 2001-12-06  Juergen Vigna  <jug@sad.it>
11464
11465         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11466         and fixed redoing of main paragraph, so we can use it now ;)
11467
11468         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11469
11470 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11471
11472         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11473         Juergen's request
11474
11475 2001-12-13  André Pönitz <poenitz@gmx.net>
11476
11477         * undostack.[Ch]:
11478         * undo_func.C: minor cleanup
11479
11480 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11481
11482         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11483         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11484         font in urw-fonts package which is marked as -urw-fontspecific and
11485         does not work (incidentally, changing the encoding in the
11486         fonts.dir of this package to -adobe-fontspecific fixes the
11487         problem).
11488
11489         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11490         is a crash when undoing first paragraph (Juergen, please take a
11491         look). THis does not mean the undo fix is wrong, just that it
11492         uncovers problems.
11493
11494         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11495         the (Paragraph*) version when needed instead of duplicating the
11496         code.
11497
11498         * text.C (workWidth): use Inset::parOwner to find out where the
11499         inset has been inserted. This is a huge performance gain for large
11500         documents with lots of insets. If Inset::parOwner is not set, fall
11501         back on the brute force method
11502
11503         * paragraph_pimpl.C (insertInset):
11504         * paragraph.C (Paragraph):
11505         (cutIntoMinibuffer): set parOwner of insets when
11506         inserting/removing them
11507
11508         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11509
11510 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11511
11512         * commandtags.h:
11513         * LyXAction.C:
11514         * lyx_main.C:
11515         * lyxfunc.C:
11516         * mathed/formulabase.C:
11517         * mathed/math_cursor.[Ch]:
11518         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11519
11520
11521 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11522
11523         * lyxlength.[Ch] (operator!=): new function
11524
11525 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11526
11527         * text.C (workWidth): use Inset::parOwner to find out where the
11528         inset has been inserted. This is a huge performance gain for large
11529         documents with lots of insets. If Inset::parOwner is not set, fall
11530         back on the brute force method
11531
11532         * paragraph_pimpl.C (insertInset):
11533         * paragraph.C (Paragraph):
11534         (cutIntoMinibuffer): set parOwner of insets when
11535         inserting/removing them
11536
11537         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11538
11539 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11540
11541         * tabular-old.C (getTokenValue):
11542         * tabular.C (getTokenValue):
11543         (write_attribute): new versions for LyXLength
11544         (everywhere): adjust the use of widths
11545
11546         * tabular.h: change the type of widths from string to LyXLength
11547
11548 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11549
11550         * paragraph.C: fixed missing line number count when exporting
11551         Environments to LaTeX file
11552
11553         * buffer.C: added informational message for checking line numbers.
11554
11555 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11558         paragraph, do the 'double space' part, but not the 'empty
11559         paragraph' one.
11560
11561         * text.C (workWidth): small optimization
11562         (getLengthMarkerHeight): use minimal size for negative lengths.
11563
11564 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11565
11566         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11567
11568         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11569
11570 2001-12-11  André Pönitz <poenitz@gmx.net>
11571
11572         * FontLoader.C:
11573         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11574
11575 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * text2.C: keep selection on a setFont()
11578
11579 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11580
11581         * lyx_cb.C: another bv->text misuse, from insert label
11582
11583 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * kbsequence.h:
11586         * kbsequence.C: re-instate nmodifier mask
11587
11588 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11589
11590         * lyx_main.h: make lyxGUI private.
11591
11592 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * lyxfind.C: place the cursor correctly on failed search
11595
11596 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11597
11598         * text.C (getLengthMarkerHeight): for small heights, the arrows
11599         are not always on top/bottom of the text
11600         (drawLengthMarker): smaller arrows; take the left margin in
11601         account; draw also vfills.
11602         (paintFirstRow):
11603         (paintLastRow): remove special code for vfill and standard spaces,
11604         since everything is handled in drawLengthMarker now.
11605
11606 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11607
11608         * buffer.C (insertErtContents): try to handle font and language
11609         interaction a bit better.g
11610
11611         * ColorHandler.C (updateColor): change the hash to cover the whole
11612         LColor enum, ws cleanup
11613         (getGCLinepars): ditto
11614         (getGCLinepars): only lookup in the linecache once.
11615
11616 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11617
11618         * iterators.C (operator++): Make the iterator more robust
11619
11620         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11621         (John's patch)
11622         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11623
11624 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11625
11626         * lyxtext.h:
11627         * text.C: better added space drawing
11628
11629 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11630
11631         * LyXView.C:
11632         * BufferView2.C: fix layout combo update on inset unlock
11633
11634 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * Makefile.am: don't compile unused files
11637
11638 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11639
11640         * lyxfunc.C:
11641         * commandtags.h:
11642         * LyXAction.C: remove old LFUN_LAYOUTNO
11643
11644 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * paragraph_pimpl.h:
11647         * paragraph_pimpl.C: isTextAt() doesn't need font param
11648
11649 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11650
11651         * lyxlex.h:
11652         * lyxlex.C: little cleanup
11653
11654 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * BufferView_pimpl.C: fix insertAscii for insets
11657
11658 2001-12-05  Juergen Vigna  <jug@sad.it>
11659
11660         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11661         set the right font on the "multi" paragraph paste!
11662
11663 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11664
11665         * trans_decl.h:
11666         * trans_mgr.[Ch]:
11667         * trans.[Ch]:
11668         * lyxgluelength.C:
11669         * lyxlength.C: remove out-commented code.
11670
11671         * BufferView_pimpl:
11672         * CutAndPaste.C:
11673         * DepTable.C:
11674         * buffer.C:
11675         * chset.C:
11676         * lastfiles.C:
11677         * lyxlex.C:
11678         * lyxlex_pimpl.C:
11679         * lyxserver.C:
11680         * screen.C:
11681         * tabular-old.C:
11682         * tabular.C:
11683         * text.C:
11684         * trans_mgr.C:
11685         * vc-backend.C: change "while(" to "while ("
11686
11687         * lyxlength.[Ch]: add zero function to check if length is zero or
11688         not
11689         * lyxgluelength.C: use it
11690
11691 2001-12-05  Allan Rae  <rae@lyx.org>
11692
11693         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11694         Works for 2.95.3, from what I understand of Garst's reports this should
11695         work for other g++ versions.  We're screwed if the abs(int) definition
11696         changed between bugfix releases of gcc.
11697
11698 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11699
11700         * text.C: fix chapter label offset !
11701
11702 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11703
11704         * lyxtext.h:
11705         * text.C: fix hfill at end of line, clean up
11706
11707 2001-12-04  Juergen Vigna  <jug@sad.it>
11708
11709         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11710         that we force an update of the inset and it's owners if neccessary.
11711
11712 2001-12-03  Juergen Vigna  <jug@sad.it>
11713
11714         * text.C (rowLast): simplified code
11715
11716 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11717
11718         * lyxfunc.C: fix show options on timeout
11719
11720 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11721
11722         * screen.C (topCursorVisible): scroll half a page when the cursor
11723         reached top of bottom of screen
11724
11725 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11726
11727         * minibuffer.C: deactivate on loss of focus
11728
11729 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11730
11731         * vspace.[Ch] (operator!=): add operator.
11732
11733 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11734
11735         * BufferView_pimpl.C: refuse to open an inset when
11736         there's a selection.
11737
11738 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11739
11740         * BufferView_pimpl.C: allow to click on RHS of full row insets
11741
11742 2001-11-30  Juergen Vigna  <jug@sad.it>
11743
11744         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11745         insets for undo reasons.
11746
11747 2001-11-28  André Pönitz <poenitz@gmx.net>
11748
11749         * vspace.[Ch]: cosmetical changes
11750
11751 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11752
11753         * LyXAction.h:
11754         * LyXAction.C:
11755         * lyxfunc.h:
11756         * lyxfunc.C:
11757         * kbmap.h:
11758         * kbmap.C:
11759         * lyxrc.C:
11760         * kbsequence.h:
11761         * kbsequence.C: part re-write of old kb code
11762
11763         * Painter.C:
11764         * WorkArea.C: remove Lgb_bug_find_hack
11765
11766 2001-11-30  José Matos <jamatos@fep.up.pt>
11767
11768         * buffer.C (makeDocBookFile): add a comment to point a hack.
11769         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11770         Fixed a double write of labels.
11771
11772 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11773
11774         * LaTeX.C:
11775         * LaTeX.h Fixed bug in LaTeX class where it would not
11776         re-run latex if no depfiles were changed, but the .dvi was removed.
11777
11778 2001-11-28  André Pönitz <poenitz@gmx.net>
11779
11780         * all the files from the change on 2001/11/26:
11781         use lyx::layout_type instead of LyXTextClass::size_type
11782         use lyx::textclass_type instead of LyXTextClassList::size_type
11783
11784 2001-11-29  Juergen Vigna  <jug@sad.it>
11785
11786         * text.C: added support for paragraph::isFreeSpacing()
11787
11788         * buffer.C: same as above
11789
11790         * paragraph.h: inserted isFreeSpacing() function to enable
11791         FreeSpacing inside InsetERT.
11792
11793         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11794         of the paragraph's in the cut/copy buffer to 0!
11795
11796         * text2.C (removeRow): remove the assert as it can!
11797
11798         * lyxtext.h: added helper function firstRow returning firstrow and
11799         made firstrow private again.
11800
11801         * BufferView2.C (lockInset): don't relock if we're already locked!
11802
11803         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11804         the only paragraph.
11805         (removeRow): added Assert::(firstrow)
11806
11807         * debug.C: forgot to add INSETTEXT here.
11808
11809 2001-11-28  Juergen Vigna  <jug@sad.it>
11810
11811         * sp_spell.C (initialize): changed error text to more general
11812         spellchecker command use (not only ispell!)
11813
11814         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11815
11816         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11817
11818 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11819
11820         * vspace.C: initialise lyxgluelength on failure
11821
11822 2001-11-28  Allan Rae  <rae@lyx.org>
11823
11824         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11825         declaration & definition that looks like a function declaration.
11826
11827 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11828
11829         * BufferView2.C (copy):
11830         (copyEnvironment): do not clear the selection when doing a copy.
11831
11832         * text.C (paintFirstRow): compilation fix
11833
11834 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11835
11836         * tabular.C (Latex): correct line count when writing latex.
11837
11838 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11839
11840         * paragraph_pimpl.h:
11841         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11842           bug a bit
11843
11844 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11845
11846         * text.C:
11847         * LColor.h:
11848         * LColor.C: change vfillline->added_space
11849
11850         * text.C: add markers and text for added space
11851
11852         * vspace.C: fix comment
11853
11854 2001-11-28  André Pönitz <poenitz@gmx.net>
11855
11856         * paragraph.C: whitespace changes
11857         * all the other files from the change on 2001/11/26:
11858         change *::pos_type into lyx::pos_type
11859
11860 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11861
11862         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11863         language of the document when inserting error insets.
11864
11865 2001-11-26  André Pönitz <poenitz@gmx.net>
11866
11867         * BufferView_pimpl.[Ch]:
11868         *       CutAndPaste.C:
11869         * buffer.[Ch]:
11870         * lyxcursor.[Ch]:
11871         * lyxfind.C:
11872         * lyxfunc.C:
11873         * lyxrow.[Ch]:
11874         * paragraph.[Ch]:
11875         * paragraph_pimpl.[Ch]:
11876         * sp_spell.C:
11877         * text.C:
11878         * text2.C: reduce header dependencies, introduce type for positions
11879
11880 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11881
11882         * <various>: change to use Alert.h
11883
11884 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11885
11886         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11887         when encountering an unknown token.
11888         (readLyXformat2): Show an error message if there were unknown tokens.
11889
11890 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11891
11892         * BufferView2.C:
11893         * BufferView_pimpl.C:
11894         * buffer.C:
11895         * paragraph.h:
11896         * text.C:
11897         * text2.C: use par->isInset()
11898
11899 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11900
11901         * paragraph_pimpl.h:
11902         * paragraph_pimpl.C: cleanup
11903
11904 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11905
11906         * text2.C (removeRow):
11907         * text.C (setHeightOfRow): remove useless (and costly) call to
11908         getRow.
11909
11910 2001-11-20  Allan Rae  <rae@lyx.org>
11911
11912         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11913         Now need Inset*::checkInsertChar() to return true for appropriate
11914         cases so that the characters in the minibuffer will actually be
11915         inserted.
11916
11917 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * text.C: change the order of the includes.
11920         (workWidth): initialize it at once.
11921         (workWidth): make maxw unsigned
11922         (setHeightOfRow): remove unused variable (inset)
11923         (selectSelectedWord): remove unused variable (inset)
11924         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11925
11926 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11927
11928         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11929         server is not running.
11930         (openConnection):
11931         (closeConnection): add debug info when server is disabled.
11932
11933         * ColorHandler.C (getGCForeground): send debug message to GUI
11934         channel.
11935
11936         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11937
11938         * kbmap.C (bind): modify because return conventions of
11939         kb_sequence::parse have changed.
11940
11941         * kbsequence.C (parse): only ignore spaces and not any stupid
11942         control character. This avoids tests like s[i] <= ' ', which are
11943         guaranteed to fail with 8bit characters and signed chars.
11944         Change return code to string::npos when there have been no error
11945         (0 was a bad idea when error is at first character)
11946
11947 2001-11-14  José Matos  <jamatos@fep.up.pt>
11948
11949         * buffer.h:
11950         * buffer.C (simpleDocBookOnePar): removed unused argument.
11951
11952 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11953
11954         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11955         insets which are part of a word. Paragraph::isLetter takes care of
11956         that now. Use Paragraph::isInset to identify insets.
11957         (selectSelectedWord): do not test for hyphenation break.
11958
11959         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11960         that protected spaces are considered as spaces.
11961
11962         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11963         Inset::isLetter.
11964
11965 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * lyxserver.h:
11968         * lyxserver.C: fix it. and small cleanup.
11969
11970 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11971
11972         * BufferView_pimpl.C: use inline helpers
11973
11974         * LaTeXFeatures.h:
11975         * LaTeXFeatures.C: fix typos
11976
11977         * Spacing.h:
11978         * Spacing.C: move spacing_string into class
11979
11980         * ToolbarDefaults.C: move stuff into namespace anon
11981
11982         * layout.h: update enum
11983
11984         * lyxfunc.C: use better debug
11985
11986         * minibuffer.h: fix typo
11987
11988         * debug.h:
11989         * debug.C:
11990         * WorkArea.C: add and use Debug::WORKAREA
11991
11992         * lyxtext.h:
11993         * text.C:
11994         * text2.C: code re-organisation, inline helpers
11995
11996 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11997
11998         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11999         std::vector.empty().
12000
12001 2001-11-09  Allan Rae  <rae@lyx.org>
12002
12003         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12004         '\n's after tables.  Tabular and ERT inset work now makes this no
12005         longer necessary.
12006
12007 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12008
12009         * minibuffer.h:
12010         * minibuffer.C: fix crash, improve drop-down completion
12011
12012 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12013
12014         * lyxserver.h:
12015         * lyxserver.C: invalidate fd's when doing endPipe()
12016
12017 2001-11-08  José Matos  <jamatos@fep.up.pt>
12018
12019         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12020         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12021
12022         * paragraph.h:
12023         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12024
12025 2001-11-07  José Matos  <jamatos@fep.up.pt>
12026
12027         * buffer.h:
12028         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12029         const qualifier.
12030
12031         * buffer.C (sgmlOpenTag):
12032         * buffer.C (sgmlCloseTag): removed debug info.
12033
12034         * buffer.h (sgmlOpenTag):
12035         * buffer.h (sgmlCloseTag): made public.
12036
12037 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12038
12039         * buffer.C (saveParamsAsDefaults):
12040         * lyx_cb.C (MenuLayoutSave): remove
12041
12042         * LyXAction.C (init):
12043         * commandtags.h:
12044         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12045
12046 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12047
12048         * buffer.C (setPaperStuff): removed from here...
12049
12050         * bufferparams.C (setPaperStuff): ... and moved there.
12051
12052 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12053
12054         * minibuffer.h:
12055         * minibuffer.C:
12056         * XFormsView.C: add support for drop-down completion
12057
12058 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12059
12060         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12061         commands.
12062
12063 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12064
12065         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12066         disabled.
12067
12068 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12069
12070         * lyx_main.C: change ref to known bugs
12071
12072 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12073
12074         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12075         to work around older babel problems.
12076
12077 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12078
12079         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12080
12081 2001-10-24  Juergen Vigna  <jug@sad.it>
12082
12083         * tabular-old.C (ReadOld): below variable changes reflected.
12084
12085         * tabular.[Ch]: added ltType struct for longtable header/footer
12086         defines and changed all instances where they are used. Added
12087         future support for double top/bottom rows.
12088
12089 2001-10-24  José Matos  <jamatos@fep.up.pt>
12090
12091         * buffer.h (docbookHandleCaption):
12092         * buffer.C (docbookHandleCaption): removed unused function.
12093         (makeDocBookFile): moved docbook supported version to v4.1.
12094
12095 2001-10-24  José Matos  <jamatos@fep.up.pt>
12096
12097         * tabular.h:
12098         * tabular.C (docbookRow): new function to export docbook code of a row.
12099         (DocBook): now honors the longtable flags.
12100
12101 2001-10-23  José Matos  <jamatos@fep.up.pt>
12102
12103         * LaTeXFeatures.h:
12104         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12105         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12106
12107         * buffer.C (makeLinuxDocFile):
12108         (makeDocBookFile): reworked the preamble, more clean, and with
12109         support for lyx defined entities. Changed the document declaration
12110         to be more XML friendly.
12111
12112         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12113         if we need to output XML that should be done with a filter.
12114
12115 2001-10-22  Juergen Vigna  <jug@sad.it>
12116
12117         * sp_pspell.h (class PSpell): add alive function needed in the
12118         controller to see if the spellchecker could be started.
12119
12120 2001-10-22  Juergen Vigna  <jug@sad.it>
12121
12122         * buffer.C (insertStringAsLines): modify the font for inserting
12123         chars in certain conditions by calling checkInsertChar(font).
12124
12125 2001-10-19  Juergen Vigna  <jug@sad.it>
12126
12127         * text.C (workWidth): use getRow instead of wrong algorithm.
12128         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12129
12130 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12131
12132         * lyxserver.h:
12133         * lyxserver.C:
12134         * lyx_main.h:
12135         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12136
12137 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12138
12139         * text.C (workWidth): do not search for the exact row when
12140         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12141         optimization for big documents.
12142
12143 2001-10-18  Juergen Vigna  <jug@sad.it>
12144
12145         * text.C (workWidth): new function with added Inset * parameter.
12146
12147 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12148
12149         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12150
12151         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12152         change return type of getColumnNearX.
12153
12154
12155         * text.C (changeRegionCase): use uppercase/lowercase instead of
12156         toupper/tolower.
12157         (leftMargin):
12158         (rightMargin): simplify code by factoring out the uses of
12159         textclasslist.
12160         (labelFill):
12161         (numberOfHfills):
12162         (setHeightOfRow):
12163         (appendParagraph): use Paragraph::size_type
12164
12165 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12166
12167         * vspace.C (asLatexString): add a missing break
12168
12169 2001-10-15  Herbert Voss  <voss@perce.de>
12170
12171         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12172
12173 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12174
12175         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12176         is not available.
12177
12178 2001-10-10  André Pönitz <poenitz@gmx.net>
12179
12180         * lyxfunc.C: removed greek_kb_flag.
12181
12182 2001-10-10  Herbert Voss  <voss@perce.de>
12183
12184         * lyx_main.C: delete global string help_lyxdir.
12185
12186 2001-10-09  Herbert Voss  <voss@perce.de>
12187
12188         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12189
12190         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12191
12192         * lyx_main.C: added global string help_lyxdir.
12193
12194         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12195
12196 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12197
12198         * lyxrc.C (set_font_norm_type): support iso8859-4
12199
12200 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12201
12202         * LaTeX.C (deplog): add another regex for MikTeX
12203
12204 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12205
12206         * lyxrc.C (set_font_norm_type): support iso8859-3
12207
12208 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12209
12210         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12211
12212         * LaTeXFeatures.C: remove special case of french and index
12213
12214         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12215         before \begin{document}). This solves several incompatibilities.
12216
12217 2001-10-03  Garst Reese  <reese@isn.net>
12218
12219         * lyx_cb.C: change CheckTex error msg.
12220
12221 2001-10-03  José Matos  <jamatos@fep.up.pt>
12222
12223         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12224
12225 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12226
12227         * .cvsignore: update
12228
12229         * lyx_main.C (commandLineVersionInfo): use new style version info.
12230
12231         * buffer.C (writeFile):
12232         (makeLaTeXFile):
12233         (makeLinuxDocFile):
12234         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12235
12236         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12237
12238         * version.h: update to use stuff in version.C
12239
12240         * version.C.in: new file. Contains version information determined
12241         at compile time. This is a merging of version.h and
12242         version_info.h.in.
12243
12244 2001-10-03  Juergen Vigna  <jug@sad.it>
12245
12246         * BufferView_pimpl.C (update): don't change "dirty" status in
12247         updateInset call.
12248
12249 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12250
12251         * WorkArea.C (c-tor): re-position version string slightly.
12252
12253 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12254
12255         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12256         revert to previous code.
12257
12258         WorkArea.[Ch]: (show, destroySplash): methods removed.
12259
12260         WorkArea.C: rework code so that it's an amalgam of the codes before and
12261         after the splash screen was moved to WorkArea.
12262
12263 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12264
12265         * lyxrc.C (read):
12266         * vspace.C (inPixels):
12267         (lyx_advance):
12268         * kbmap.C (bind):
12269         * buffer.C (insertStringAsLines):
12270         (asciiParagraph): fix types to be large enough
12271
12272         * lyxlex_pimpl.h: change member status from short to int
12273
12274         * layout.h: fix type of endlabeltype
12275
12276         * kbmap.C (bind):
12277         * kbsequence.C (parse): change return type to string::size_type
12278
12279         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12280         variable
12281
12282         * Bullet.C (bulletSize):
12283         (bulletEntry): do not use short ints as parameters
12284
12285         * BufferView2.C (insertLyXFile): change a char to an int.
12286
12287         * WorkArea.C (WorkArea): remove unneeded floats in computation
12288
12289 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12290
12291         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12292
12293         * paragraph.C (asString): Do not ignore newline/hfill chars when
12294         copying to the clipboard.
12295
12296 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12297
12298         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12299         after a multi-line inset.
12300
12301 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12302
12303         * paragraph.C (validate): Set NeedLyXFootnoteCode
12304
12305 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12306
12307         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12308         and decrease-error to decrease.
12309
12310 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12311
12312         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12313         it more readable (should be equivalent)
12314
12315 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12316
12317         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12318
12319 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12320
12321         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12322         of a cursor (row, etc.) after a character has been deleted
12323         (deleteEmptyParagraphMechanism): call the method above on _all_
12324         cursors held by the LyXText when a double space has been
12325         detected/deleted.
12326
12327 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12328
12329         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12330         pixmap.
12331         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12332
12333         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12334         background. Use greyOut() and the new show() methods to toggle between
12335         the foreground and background. Add code to remove the splash after
12336         its initial showing.
12337
12338         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12339         (create_forms): no longer call Dialogs::showSplash.
12340
12341 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12342
12343         * .cvsignore: add version_info.h
12344
12345 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12346
12347         * version_info.h.in: new file
12348
12349         * Makefile.am: add version_info.h.in
12350
12351         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12352         version_info.h instead of VERSION_INFO
12353
12354 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12355
12356         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12357         The ERT inset now returns string().
12358
12359 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12360
12361         * lyxtext.h, text.C (selectNextWord): renamed as
12362         selectNextWordToSpellcheck.
12363
12364         * text.C (selectNextWordToSpellcheck): Modified to not select
12365         words inside an ERT inset.
12366
12367 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12368
12369         * lyx_cb.C (MenuLayoutSave): change a bit the question
12370
12371         * sp_base.h: include <sys/types.h>
12372
12373 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12374
12375         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12376
12377 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12378
12379         * several files: fix typos in user-visible strings
12380
12381 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12382
12383         * text2.C (pasteSelection): do not set the selection, since it
12384         will be cleared later. Actually, the intent was to fix the way the
12385         selection was set, but I figured rmoving the code was just as good.
12386
12387 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12388
12389         * FontLoader.C (available): Check if font is available without
12390         loading the font.
12391
12392 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12393
12394         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12395
12396 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12397
12398         * lyxrc.[Ch]: added display_graphics variable and associated code.
12399
12400 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12401
12402         * bufferparams.C (hasClassDefaults): new method. Returns true if
12403         the buffer parameters correspond to known class defaults
12404
12405 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12406
12407         * XFormsView.C (show): set minimum size to the main window.
12408
12409 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12410
12411         * text2.C (copySelection):
12412         (cutSelection):
12413         * lyxfind.C (LyXReplace):
12414         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12415         LyXText::selectionAsString.
12416
12417         * paragraph.C (asString): add "label" argument to the second form
12418
12419         * text2.C (selectionAsString): add "label" argument and pass it to
12420         Paragraph::asString.
12421
12422 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12423
12424         * lyx_main.C (commandLineHelp): remove version information
12425
12426 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12427
12428         * lyx_main.C: add -version commandline option
12429
12430 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12431
12432         * paragraph.h: make the optional constructor arg required instead.
12433         some modifications to other files because of this.
12434
12435         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12436
12437         * lyxserver.C (C_LyXComm_callback): make it static
12438
12439         * lyx_main.C (error_handler): make it static
12440
12441         * lyx_gui.C (LyX_XErrHandler): make it static
12442
12443         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12444
12445         * WorkArea.C: make the extern "C" methods static.
12446
12447         * Makefile.am (lyx_LDADD): simplify
12448
12449 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12450
12451         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12452         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12453
12454         * LyXAction.C (init):
12455         * lyxfunc.C (dispatch): associated code removal.
12456
12457 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12458
12459         * lyxfont.h (isSymbolFont): shut off warning
12460
12461         * text.C (setHeightOfRow):
12462         (getVisibleRow): fix crash with empty paragraphs which have a
12463         bottom line
12464
12465 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12466
12467         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12468         code.
12469
12470 2001-09-04  José Matos  <jamatos@fep.up.pt>
12471         * buffer.C
12472         * buffer.h
12473         * tabular.C (docbook): rename docBook method to docbook.
12474
12475 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12476
12477         * Makefile.am: add dependencies to main.o.
12478
12479 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12480
12481         * FontLoader.C (available): Return false if !lyxrc.use_gui
12482
12483 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12484
12485         * FontInfo.C (query):
12486         * converter.C (view):
12487         * importer.C (Import):
12488         * exporter.C (Export): Can not -> cannot.
12489
12490 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12491
12492         * BufferView_pimpl.C: allow to create index inset even if
12493           string is empty
12494
12495 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12496
12497         * buffer.C (getLists): replace boost::tie code with an explicit pair
12498         as boost::tie can break some compilers.
12499
12500         * iterators.h: Added a std:: declaration to the return type of
12501         ParIterator::size.
12502
12503 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12504
12505         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12506           case.
12507
12508 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12509
12510         * iterators.[Ch]: New files. Provide paragraph iterators.
12511
12512         * buffer.C (changeLanguage): Use paragraph iterators.
12513         (isMultiLingual): ditto
12514
12515         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12516
12517 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12518
12519         * FontLoader.C: Support for cmr font.
12520
12521 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12522
12523         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12524         (available): New method.
12525
12526         * FontInfo.C (getFontname): Use scalable fonts even when
12527         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12528         found.
12529
12530 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12531
12532         * converter.C (Formats::view): reverted! Incorrect fix.
12533
12534 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12535
12536         * converter.C (Formats::view): only output the -paper option
12537         if the dvi viewer is xdvi, thereby fixing bug #233429.
12538
12539 2001-08-23  Herbert Voss  <voss@perce>
12540
12541         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12542
12543 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12544
12545         * Spacing.h (Spacing): Set space to Default on in the default
12546         constructor.
12547
12548 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12549
12550         * vc-backend.h (RCS::versionString): add RCS to version
12551         (CVS::versionString): add CVS to version
12552
12553         * vc-backend.C (scanMaster): do not add CVS to version.
12554         (scanMaster): do not add RCS to version
12555
12556         * lyxvc.C (versionString): new method
12557
12558         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12559
12560 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12561
12562         * Spacing.C (set): initialize fval
12563
12564 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12565
12566         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12567         " or \.
12568
12569 2001-08-16  Juergen Vigna  <jug@sad.it>
12570
12571         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12572
12573 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12574
12575         * BufferView_pimpl.C:
12576         * figureForm.C:
12577         * lyxtext.h:
12578         * text2.C: setParagraph takes linespacing now
12579
12580 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12581
12582         * LyxAction.C: add internal LFUN_CITATION_INSERT
12583
12584         * LyXView.C: actually apply fix
12585
12586         * bufferlist.C: fix open non-existent file
12587
12588         * lyxfind.C: fix indentation
12589
12590         * lyxfunc.C: remove unneeded assert, fix typo
12591
12592 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * MenuBackend.C: use "Floatname List"
12595
12596 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12597
12598         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12599         when converting LaTeX layout to insetERT.
12600         Generate a non-collapsed float when reading old float
12601
12602 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12603
12604         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12605         ERT insets.
12606
12607 2001-08-13  Juergen Vigna  <jug@sad.it>
12608
12609         * text.C (fill): return 0 instead of 20 as this seems to be the more
12610         correct value.
12611
12612 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12613
12614         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12615         lyxrc.font_norm.
12616
12617 2001-08-13  Juergen Vigna  <jug@sad.it>
12618
12619         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12620         casesensitive off.
12621         (SearchBackward): comment out the unlocking of the inset_owner this
12622         should not be needed!
12623
12624 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12625
12626         * Many files: Remove inherit_language, and add latex_language
12627
12628         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12629         collapsible insets.
12630
12631 2001-08-10  Juergen Vigna  <jug@sad.it>
12632
12633         * text.C (prepareToPrint): fixed hfill-width in draw!
12634
12635         * BufferView2.C (selectLastWord): save the selection cursor as this
12636         now is cleared in the function LyXText::clearSelection!
12637
12638 2001-08-08  Juergen Vigna  <jug@sad.it>
12639
12640         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12641         BACKSPACE type functions.
12642
12643         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12644         is only cutted from the document but not put in the cut-buffer, where
12645         still the old stuff should be.
12646
12647         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12648
12649         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12650
12651         * tabular.C (SetWidthOfCell): fixed special case where the width
12652         was not updated!
12653         (LeftLine): handle '|' in align_special.
12654         (RightLine): ditto
12655         (LeftAlreadyDrawed): ditto
12656         (SetWidthOfCell): ditto
12657
12658 2001-08-07  Juergen Vigna  <jug@sad.it>
12659
12660         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12661
12662 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12665         * lyxlex.[hC]: ditto
12666
12667 2001-08-06  Juergen Vigna  <jug@sad.it>
12668
12669         * text.C (getVisibleRow): fix up row clearing a bit.
12670
12671 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12672
12673         * minibuffer.C: make sure the X server sees the changes in the input.
12674
12675 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12676
12677         * paragraph.C (getFont): split into...
12678         (getLabelFont): this
12679         (getLayoutFont): and this
12680         * paragraph_pimpl.C (realizeFont): calling this
12681
12682         * text2.C (getFont): split into...
12683         (getLayoutFont): this
12684         (getLabelFont): and this
12685         (realizeFont): all three calling this
12686
12687         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12688         files where used.
12689
12690 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12691
12692         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12693
12694 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12695
12696         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12697         layouts from the Quote inset insertion.
12698
12699 2001-08-03  Juergen Vigna  <jug@sad.it>
12700
12701         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12702
12703         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12704         only if status not is already CHANGED_IN_DRAW (second level).
12705
12706         * text.C (draw): don't set the need_break_row when inside an
12707         InsetText LyXText.
12708
12709 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * buffer.C (parseSingleLyXformat2Token): handle more latex
12712         conversion cases.
12713
12714         * bufferview_funcs.[hC]: change function names to
12715         begin with small char, adjust other files.
12716
12717 2001-08-02  André Pönitz <poenitz@gmx.net>
12718
12719         * lyxfunc.C:
12720         BufferView_pimpl.C: remove broken special code for math-greek
12721
12722 2001-08-02  Juergen Vigna  <jug@sad.it>
12723
12724         * BufferView_pimpl.C (update): redone this function so that we
12725         update the text again if there was a CHANGE_IN_DRAW.
12726
12727         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12728         (drawFromTo): added a new internal bool which is used by draw() and
12729         redraw() function.
12730         (general): some cursor drawing problems fixed.
12731
12732 2001-08-01  Juergen Vigna  <jug@sad.it>
12733
12734         * lyxfind.C (LyXFind): fixed
12735         (SearchForward): ditto
12736         (SearchBackward): ditto
12737
12738         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12739         spurius drawing of the cursor in the main area.
12740
12741         * text2.C (status): small fix which could lead to a segfault!
12742         (clearSelection): remove unneeded BufferView param.
12743
12744 2001-08-01  André Pönitz <poenitz@gmx.net>
12745
12746         * lyxfunc.C: small change due to changed mathed interface
12747
12748 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12749
12750         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12751
12752 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12753
12754         * lyxfunc.c: fail gracefully if file doesn't exist
12755
12756         * LyXSendto.C:
12757         * buffer.C:
12758         * lyxfunc.C:
12759         * BufferView_pimpl.C: IsDirWriteable() proto changed
12760
12761         * LyXView.C: fix updateWindowTitle() to store the last title
12762
12763 2001-07-31  Juergen Vigna  <jug@sad.it>
12764
12765         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12766         the font (wrong since using of Paragraph::highestFontInRange).
12767
12768         * paragraph.C (highestFontInRange): added a default_size parameter.
12769
12770         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12771         (setHeightOfRow): reformat
12772
12773 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12774
12775         * converter.[hC] + affected files: move to (inital-char)lowercase
12776         function names.
12777
12778         * ParagraphParameters.C (ParagraphParameters): remove commented code
12779
12780         * PainterBase.[Ch]: remove commented code
12781
12782         * LaTeXFeatures.h: add "bool floats" for float.sty
12783
12784         * LaTeXFeatures.C (LaTeXFeatures): init floats
12785         (require): handle float
12786         (getPackages): do it with floats
12787
12788 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12789
12790         * BufferView_pimpl.C (Dispatch): improve handling of
12791         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12792
12793         * commandtags.h: #include lyxfont.h here temporarily to avoid
12794         keybinding bug.
12795
12796         * bufferlist.h: include LString.h here.
12797
12798 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12799
12800         * text2.C (getStringToIndex): new method.
12801
12802 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12803
12804         * *: Reduced header file dependencies all over.
12805
12806 2001-07-30  Baruch Even  <baruch@lyx.org>
12807
12808         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12809
12810 2001-07-29  Baruch Even  <baruch@lyx.org>
12811
12812         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12813
12814 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12815
12816         * ParameterStruct.h (endif): add a default constructor to make
12817         sure that all variables is initialized.
12818
12819         * ParagraphParameters.C (ParagraphParameters): adjust
12820
12821 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12822
12823         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12824         index; also, check that there is something to index, and that it
12825         does not span over several paragraphs.
12826         (doubleClick): use WHOLE_WORD_STRICT for double click.
12827
12828         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12829
12830         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12831         scheme.
12832
12833 2001-07-26  Baruch Even  <baruch@lyx.org>
12834
12835         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12836         an InsetFig figure, backwards compatible reading of old figure code.
12837
12838 2001-07-27  Juergen Vigna  <jug@sad.it>
12839
12840         * text2.C: font.realize function adaption.
12841
12842         * text.C (draw): add a warnings lyxerr text if needed.
12843
12844         * layout.C: font.realize function adaption.
12845
12846         * language.C: add inherit_language and implement it's handlings
12847
12848         * bufferview_funcs.C (StyleReset): remove language parameter from
12849         font creation (should be language_inherit now).
12850
12851         * bufferparams.C (writeFile): handle ignore_language.
12852
12853         * paragraph.C (getFontSettings): the language has to be resolved
12854         otherwise we have problems in LyXFont!
12855
12856         * lyxfont.C (lyxWriteChanges): added document_language parameter
12857         (update): removed unneeded language parameter
12858
12859         * paragraph.C (validate): fixed wrong output of color-package when
12860         using interface colors for certain fonts in certain environments,
12861         which should not seen as that on the final output.
12862
12863 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12864
12865         * BufferView_pimpl.C:
12866         * Thesaurus.h:
12867         * Thesaurus.C:
12868         * Makefile.am:
12869         * commandtags.h:
12870         * LyXAction.C: add thesaurus support
12871
12872         * lyxfind.h:
12873         * lyxfind.C: add "once" parameter, for thesaurus, to not
12874           move to the next match
12875
12876 2001-07-26  Juergen Vigna  <jug@sad.it>
12877
12878         * lyxfont.C (realize): honor ignore_language too!
12879         (resolved): ditto.
12880
12881         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12882
12883         * text.C (draw): one place more for ignore_language to not draw
12884         itself!
12885
12886 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12887
12888         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12889
12890 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12893         the minipage conversion problem.
12894
12895 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12896
12897         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12898         insert an inset.
12899
12900 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12901
12902         * BufferView.h: don't forward declare WorkArea
12903
12904         * BufferView.C: don't include WorkArea.h
12905
12906 2001-07-25  André Pönitz <poenitz@gmx.net>
12907
12908         * commandtags.h:
12909         * LyXAction.C:
12910         * lyxfunc.C:  new LFUN 'math-space'
12911
12912         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12913
12914 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12915
12916         * text2.C (toggleInset): call open/close
12917
12918 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12919
12920         * lyxfunc.C (dispatch): add debug for the disabled case
12921
12922         * font.C (buttonText): make similar to rectText
12923
12924         * buffer.C (readInset): comment out parsing of insetlist and
12925         insttheorem
12926
12927         * PainterBase.C (rectText): small correction
12928
12929         * BufferView_pimpl.C: comment out insettheorem and insetlist
12930         * LyXAction.C: ditto
12931         * commandtags.h: ditto
12932
12933 2001-07-24  Juergen Vigna  <jug@sad.it>
12934
12935         * text.C (draw): honor the ignore_language.
12936
12937         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12938
12939 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12940
12941         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12942         char inset.
12943
12944 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12945
12946         * lyxtext.h: remove unused (and unimplemented) methods
12947
12948 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12949
12950         * text.C (getVisibleRow): honor background color
12951
12952         * PainterBase.h:
12953         * Painter.h: remove default color argument for fillRectangle
12954
12955         * text.C (backgroundColor): new method
12956
12957 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12958
12959         * text.C (getVisibleRow): adjust
12960
12961         * font.[Ch] (rectText): new method, metrics
12962         (buttonText): new method, metrics
12963
12964         * PainterBase.[hC]: make rectText and buttonText always draw and take
12965         fewer paramteres.
12966
12967 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12968
12969         * ToolbarDefaults.C (read):
12970         * MenuBackend.C (read): allow escaping in all strings
12971
12972         * BufferView_pimpl.C (insertAndEditInset): new method.
12973         (Dispatch): use insertAndEditInset whenever appropriate.
12974
12975         * BufferView_pimpl.C (insertNote): removed
12976
12977         * BufferView_pimpl.C (smartQuote): new method, moved from
12978         BufferView; if an insetquote cannot be inserted, insert a '"'
12979         character instead.
12980
12981         * BufferView2.C: remove insertCorrectQuote();
12982
12983         * lyxfunc.C (getStatus): Add support for all remaingin
12984         inset-insert lfuns.
12985
12986         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12987
12988         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12989         command (necessary to pass " as parameter of self-insert.
12990
12991         * text.C (selectWordWhenUnderCursor):
12992         (selectWord): add word_location parameter
12993         (selectWordWhenUnderCursor): same + remove special code for word
12994         boundary.
12995         (selectNextWord): use kind() to guess type of insetspecialchar,
12996         not latex().
12997
12998         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12999         (insertErtContents): create ert insets as collapsed.
13000         (readInset): better compatibility code for Info inset.
13001
13002 2001-07-20  Juergen Vigna  <jug@sad.it>
13003
13004         * lyxfunc.C (dispatch): use always LyXFind now!
13005
13006         * text2.C (init): add a reinit flag so that the LyXText can be
13007         reinited instead of deleted and reallocated (used in InsetText).
13008
13009         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13010
13011         * text.C: ditto
13012
13013         * text2.C: ditto
13014
13015 2001-07-18  Juergen Vigna  <jug@sad.it>
13016
13017         * text.C (selectNextWord): handle insets inside inset by calling
13018         always the bv->text functions so that we can go up the_locking_inset!
13019
13020         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13021         in strange locations when inside an inset!
13022
13023         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13024         handling to include insets.
13025
13026         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13027
13028 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13029
13030         * LyXAction.C (init):
13031         * commandtags.h:
13032         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13033         LIGATURE_BREAK, since the name is so stupid.
13034
13035 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13036
13037         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13038         InsetInfos.
13039
13040         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13041
13042         * sp_form.[Ch]: remove.
13043
13044         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13045
13046         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13047         InsetInfo.
13048
13049         * src/buffer.C (readInset): ditto.
13050
13051 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13052
13053         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13054         menuSeparator(), endOfSentenceDot(), ldots() and
13055         hyphenationPoint(), which are therefore removed.
13056         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13057
13058         * LyXAction.C (init):
13059         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13060
13061         * paragraph.C (getWord): removed.
13062
13063         * BufferView_pimpl.C (Dispatch): use last word or selection for
13064         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13065
13066         * lyx_main.C (queryUserLyXDir): do not ask before creating
13067         user_dir, except if it has been named explicitely.
13068
13069 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13070
13071         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13072         a document of zero size.
13073
13074 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13075
13076         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13077         approriately in the c-tor and in require().
13078         (getPackages): output the appropriate LaTeX for natbib support.
13079
13080         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13081         variables "use_natbib" and "use_numerical_citations" when reading the
13082         LyX file.
13083         (readInset): read the various natbib cite commands.
13084         (validate): white-space change.
13085
13086         * bufferparams.[Ch]: new variables "bool use_natbib" and
13087         "bool use_numerical_citations".
13088         (writeFile): output them in the LyX file.
13089
13090 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13091
13092         * lyxfunc.C (getStatus): add support for all the inset insertion
13093         commands.
13094
13095         * text2.C (insertInset):
13096         * paragraph.C (insetAllowed):
13097         * BufferView_pimpl.C (insertInset): update to take in account the
13098         renaming of insertInsetAllowed
13099
13100         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13101
13102         * text2.C (getInset): new method. returns inset at cursor position.
13103
13104         * BufferView_pimpl.C (Dispatch): changes because of this.
13105
13106         * LyXAction.C (init): rename open-stuff to inset-toggle.
13107
13108         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13109
13110         * text2.C (toggleInset): renamed from openStuff; use
13111         Inset::open().
13112
13113 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13114
13115         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13116
13117         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13118
13119 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13120
13121         * buffer.C (readLyXformat2): Add filename to the error dialog
13122
13123 2001-07-18  Juergen Vigna  <jug@sad.it>
13124
13125         * tabular.C (GetCellNumber): put an assert here instead of the check!
13126
13127 2001-07-17  Juergen Vigna  <jug@sad.it>
13128
13129         * BufferView_pimpl.C (toggleSelection): adapted too.
13130
13131         * text.C (selectNextWord): adapted for use with insets.
13132         (selectSelectedWord): ditto
13133
13134 2001-07-17  Juergen Vigna  <jug@sad.it>
13135
13136         * sp_spell.C (PSpell): fix initialitation order.
13137
13138 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13139
13140         * paragraph.C: spacing
13141
13142 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13143
13144         * sp_spell.C: repair language selection for pspell
13145
13146 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13147
13148         * lyxfunc.h: change more methods to begin with lower char.
13149
13150 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13151
13152         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13153         for unknown layouts.
13154
13155 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13156
13157         * buffer.C (readLyXformat2): Generate an error dialog if there are
13158         unknown layouts.
13159
13160 2001-07-16  Juergen Vigna  <jug@sad.it>
13161
13162         * sp_spell.C: always compile ISpell part.
13163
13164         * lyxrc.C: added use_pspell entry and it's handling.
13165
13166 2001-07-13  Juergen Vigna  <jug@sad.it>
13167
13168         * sp_spell.C: removed double includes.
13169
13170 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13171
13172         Consistent use of Lsstream.h:
13173         * Lsstream.h: added using std::stringstream for consistencies sake.
13174
13175         * buffer.C: removed using std::stringstream
13176
13177         * lyxfont.C (stateText):
13178         * paragraph.C (asString):
13179         * text.C (selectNextWord, selectSelectedWord):
13180         * text2.C (setCounter):
13181         * vspace.C (asString, asLatexString):
13182         std::ostringstream -> ostringstream.
13183
13184 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13185
13186         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13187         * commandtags.h: add LFUN_HELP_ABOUTLYX
13188         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13189
13190 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13191
13192         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13193         cursorToggle()
13194         * lyx_gui_misc.C: remove spellchecker
13195         * lyxfunc.C: showSpellchecker
13196         * sp_base.h: added
13197         * sp_ispell.h: added
13198         * sp_pspell.h: added
13199         * sp_spell.C: added
13200         * sp_form.[Ch]: removed
13201         * spellchecker.[Ch]: removed
13202
13203 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13204
13205         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13206         is set.
13207         (simpleTeXSpecialChars): Simply print the input character without
13208         any special translation if pass_thru is set.
13209
13210         * layout.h: Added bool pass_thru to layout class for being able to
13211         implement pass through of a paragraph for Literate Programming.
13212
13213         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13214         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13215         * layout.C (Read): add "passthru" to list of layout tags and add
13216         code to set the pass_thru boolean when it is read.
13217
13218 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13219
13220         * trans_decl.h: remove allowed from KmodInfo
13221
13222         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13223         remove allowed code
13224         (Load): adjust
13225
13226         * paragraph_pimpl.C (erase): use boost::prior
13227
13228         * Painter.C (text): use data() instead of c_str() when length is
13229         also provided.
13230         * WorkArea.C (putClipboard): ditto
13231         * font.h (width): ditto
13232
13233         * BufferView2.C: use it-> instead of (*it). for iterators
13234         * texrow.C: ditto
13235         * paragraph_pimpl.C: ditto
13236         * paragraph.C: ditto
13237         * minibuffer.C: ditto
13238         * language.C: ditto
13239         * kbmap.C: ditto
13240         * encoding.C: ditto
13241         * counters.C: ditto
13242         * converter.C: ditto
13243         * chset.C: ditto
13244         * Variables.C: ditto
13245         * TextCache.C: ditto
13246         * MenuBackend.C: ditto
13247         * LyXAction.C: ditto
13248         * LColor.C: ditto
13249         * FloatList.C: ditto
13250         * DepTable.C: ditto
13251         * ColorHandler.C (LyXColorHandler): ditto
13252
13253 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13254
13255         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13256
13257         * text2.C (openStuff): reintroduce this method (which had been
13258         nuked in NEW_INSETS frenzy).
13259
13260         * lyxfunc.C (Dispatch): when an action has not been handled, use
13261         its name in the error message, not its number.
13262
13263         * paragraph.C (inInset): change method name to begin with lowercase.
13264
13265         * undo_funcs.C:
13266         * text2.C: updates because of this.
13267
13268 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13269
13270         * ToolbarDefaults.C (add): add spaces in error message
13271
13272 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13273
13274         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13275         (readLyXformat2): rename return_par to first_par, use lyxlex's
13276         pushToken and remove the manual push handling.
13277         (parseSingleLyXformat2Token): add another ert comp. variable:
13278         in_tabular, rename return_par to first_par. handle newlines better
13279
13280 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13281
13282         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13283
13284 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13285
13286         * text2.C (getParFromID): removed
13287
13288         * buffer.C (getParFromID): new method moved form lyxtext.
13289         * BufferView2.C (insertErrors): adjust
13290         (setCursorFromRow): adjust
13291         * BufferView_pimpl.C (restorePosition): adjust
13292         * lyxfunc.C (Dispatch): adjust
13293         * undo_funcs.C (textUndo): adjust
13294         (textRedo): adjust
13295         (textHandleUndo): adjust
13296         (textHandleUndo): adjust
13297
13298 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13299
13300         * buffer.C: up' the LYX_FORMAT
13301
13302         * lyxfont.h: turn NO_LATEX on as default
13303
13304         * buffer.C (insertErtContents): new methods of tex style compability.
13305         (parseSingleLyXformat2Token): use it several places.
13306         * tabular.C (OldFormatRead): and here
13307
13308 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13309
13310         * text2.C: remove some commented code.
13311         reindent file.
13312
13313         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13314         * trans.C: changes because of the above.
13315
13316 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13317
13318         * text2.C (setCounter): Fix counters bug with bibliography layout.
13319
13320 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13321
13322         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13323         own member functions
13324         (simpleTeXSpecialChars): ditto
13325
13326 2001-07-06  Juergen Vigna  <jug@sad.it>
13327
13328         * a lot of files: changed the access to LyXText::status and the
13329         call of undo-functions.
13330
13331         * undo.[Ch]: added a inset_id to the undo informations.
13332
13333         * undo_funcs.[Ch]: added and moved here all undo functions.
13334
13335         * lyxtext.h: give the status enum a weight, made status_ a private
13336         variable and made accessor functions for it, removed the whole bunch
13337         of undo-functions as they are now in their own file, make some
13338         functions publically available. Added function ownerParagraph with
13339         int parameter.
13340
13341         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13342         made InInset() a const function, added getParFromID() function.
13343
13344         * buffer.[Ch]: added const version for inset_iterator functions,
13345         added getInsetFromID() function.
13346
13347         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13348         changed undo functions for new version.
13349
13350 2001-07-05  Juergen Vigna  <jug@sad.it>
13351
13352         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13353         unknow mechanism does not call the proper constructor but only this
13354         one also if I request the other!?
13355
13356 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13357
13358         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13359
13360         * text2.C (LyXText): use initialization lists.
13361
13362         * lyxtext.h (Selection): initialize set_ and mark_
13363         (init): remove method
13364
13365 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13366
13367         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13368
13369 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13370
13371         * screen.[Ch]: change method names to begin with lowercase
13372
13373         * BufferView_pimpl.C (updateScrollbar): simplify further and
13374         hopefully make it a bit faster.
13375
13376 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13377
13378         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13379         calling directly xforms functions.
13380
13381         * Painter.C (Painter):
13382         * lyx_cb.C (MenuWrite):
13383         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13384         fl_display.
13385
13386         * lyx_gui.C: remove bogus guiruntime extern declaration.
13387
13388 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13389
13390         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13391         in NEW_INSETS
13392         (redoDrawingOfParagraph): ditto
13393         (redoParagraphs): ditto
13394         (cutSelection): don't create a object for CutAndPaste use the
13395         static method directly
13396         (pasteSelection): ditto
13397
13398         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13399         LyXview (+ rename)
13400
13401 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * modifications to some other files because of this.
13404
13405         * Makefile.am (lyx_SOURCES): add XFormsView
13406
13407         * XFormsView.[Ch]: new files
13408
13409         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13410         the main window. Move the gui dependent stuff to XFormsView
13411
13412 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13413
13414         * tabular.C (GetCellInset): update cur_cell also in the row/col
13415         version of this function.
13416
13417         * lyxfunc.C: no need to include figure_form.h here.
13418
13419         * FontLoader.h:
13420         * lyxfunc.h:
13421         * lyxscreen.h:
13422         * text2.C:
13423         * lyxvc.C: no need to include forms.h here.
13424
13425 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13428
13429         * lyxfunc.C (Dispatch):
13430         * Spacing.C (set):
13431         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13432         constructor argument.
13433
13434 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13435
13436         * paragraph.C (Paragraph): dont't clear, and just set layout.
13437         (makeSameLayout): use params's copy contructor.
13438
13439         * ParagraphParameters.[Ch] (makeSame): delete method
13440
13441 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13442
13443         * Variables.[Ch]: fix indentation, rename set to isSet
13444
13445 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * lyxfunc.C (Dispatch): fix typo
13448
13449 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13450
13451         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13452         upper_bound.
13453
13454         * bufferlist.C: include assert.h for emergencyWrite().
13455
13456 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13457
13458         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13459           give up at last (bug #425202) !
13460
13461 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13462
13463         * lyx_gui_misc.C:
13464         * sp_form.h:
13465         * sp_form.C:
13466         * spellchecker.h:
13467         * spellchecker.C: strip spellchecker options and bring up
13468           preferences tab instead
13469
13470 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471
13472         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13473         the istringstream constructor
13474
13475 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13476
13477         * paragraph.C (getLayout): fix return value
13478
13479         * paragraph.h: do not declare getLayout as inline.
13480
13481         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13482
13483 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13484
13485         * lyxcursor.h (operator<): new func
13486         (operator>): new func
13487         (operator>=): new func
13488         (operator<=): new func
13489
13490         * text.C (changeCase): use selection.start and selection.end
13491         (changeRegionCase): require from to be <= to. Require par to be a
13492         valid paragraph.
13493
13494         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13495
13496 2001-06-27  Juergen Vigna  <jug@sad.it>
13497
13498         * text.C (cursorLeftOneWord): changed to return the cursor and added
13499         overlay with BufferView * parameter which calls this one.
13500         (getWord): added
13501         (selectWord): use new getWord function.
13502         (changeCase): renamed from changeWordCase as and extended to work
13503         also on selections.
13504
13505         * lyxtext.h: added enum word_location
13506
13507         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13508         changeCase as this operates now also on selections.
13509
13510 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13511
13512         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13513
13514         * many files: send debug output to Debug::INFO instead of
13515         Debug::ANY.
13516
13517         * converter.C (View):
13518         (Convert):
13519         (Move): send debug output to Debug::FILES instead of console.
13520
13521 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13522
13523         * lyxfunc.C (getStatus): use func_status
13524
13525         * func_status.h: new header, describing the results of
13526         LyXFunc::getStatus;
13527
13528         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13529         LFUN_MATH_HALIGN.
13530
13531 2001-06-25  The LyX Project  <jug@sad.it>
13532
13533         * buffer.C (sgmlOpenTag):
13534         (sgmlCloseTag):
13535         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13536
13537 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13538
13539         * text2.C: remove some dead code
13540
13541         * tabular.C (GetCellInset): store the last cell checked (gotten)
13542
13543         * tabular.h: add the helper for the speedup
13544
13545         * lyxtext.h: remove some dead code
13546
13547 2001-06-26  The LyX Project  <Asger>
13548
13549         * paragraph.C: Change export to LaTeX of alignment to
13550         \begin{center} and family for better roundtrip work with reLyX.
13551
13552         * Tune the math drawing a bit.
13553
13554 2001-06-25  The LyX Project  <Asger>
13555
13556         * LColor.C (LColor): New color for math background. New color
13557         for buttons.
13558
13559 2001-06-25  The LyX Project  <jug@sad.it>
13560
13561         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13562
13563         * lyxfunc.C (Open):
13564         * bufferlist.C (newFile): do not restrict to files ending with
13565         .lyx
13566
13567         * BufferView_pimpl.C (MenuInsertLyXFile):
13568
13569 2001-06-24  The LyX Project  <jug@sad.it>
13570
13571         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13572         of compare_no_case
13573
13574 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13575
13576         * lyxtext.h: rename most methods to begin with a small char.
13577         Lots of changes because of this.
13578
13579         * paragraph.C (Paragraph): do not call fitToSize
13580         (erase): call Pimpl::erase
13581         (insertChar): call Pimpl::insertChar
13582         (insertInset): call Pipl::insertInset
13583         (breakParagraph): do not call fitToSize
13584         (breakParagraphConservative): do not call fitToSize
13585         (fitToSize): remove method
13586
13587         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13588
13589 2001-06-24  The LyX Project  <Asger>
13590
13591         * Fix Qt compilation^2
13592
13593 2001-06-24  The LyX Project  <jug@sad.it>
13594
13595         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13596         depthHook(getDepth()-1).
13597
13598         * paragraph.h:
13599         * ParagraphParameters.h:
13600         * ParameterStruct.h: change type of depth to unsigned int ==
13601         depth_type. Many adaptations to other files before of that.
13602
13603 2001-06-24  The LyX Project  <Asger>
13604
13605         * Fix Qt compilation.
13606
13607 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13608
13609         * paragraph.h: renamed several methods to begin with small letter.
13610         several changes to many parts of the code because of this.
13611
13612 2001-06-23  The LyX Project  <jug@sad.it>
13613
13614         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13615         rewritten to discard all double spaces when KeepEmpty is off
13616         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13617         to only handle newlines but not fiddle with spaces and friends.
13618
13619         * lyxfunc.C (MenuNew): when doing 'new from template', use
13620         template_path as default directory
13621
13622 2001-06-23  The LyX Project  <Asger>
13623
13624         * Clean-up of header file includes all over
13625         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13626
13627 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * paragraph.h: renamed from lyxparagraph.h
13630
13631 2001-06-23  Asger  <lyx@violet.home.sad.it>
13632
13633         * Buffer.h: Removed Buffer::resize
13634         * BufferList.h: Removed BufferList::resize
13635         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13636         the document lazily when we change the width, or the font settings.
13637
13638 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13639
13640         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13641
13642 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13643
13644         * buffer.h: remove out of date comment
13645
13646 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13647
13648         * lyxscreen.h:
13649         * screen.C: fix "theoretical" GC leak
13650
13651 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13652
13653         * LaTeX.C (scanAuxFile):
13654         (deplog): remove trailing \r when reading stream (useful under
13655         win32)
13656
13657 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13658
13659         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13660         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13661         and BufferView::theLockingInset(Inset*), so should use them and not
13662         access bv_->text->the_locking_inset directly.
13663
13664         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13665
13666 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13667
13668         * Makefile.am:
13669         * tex-defs.h: remove old unused file
13670
13671 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13672
13673         * BufferView_pimpl.C: fix typo, remove minibuffer message
13674           when buffer has loaded
13675
13676 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13677
13678         * lyxfunc.C (Dispatch): use stringstream
13679         (MenuNew): use stringstream
13680         (Open): use stringstream
13681
13682         * importer.C (Import): use stringstream
13683
13684         * bufferview_funcs.C (CurrentState): use stringstream
13685
13686         * LaTeX.C (run): use stringstream
13687
13688         * BufferView_pimpl.C (savePosition): use stringstream
13689         (restorePosition): use stringstream
13690         (MenuInsertLyXFile): use stringstream
13691
13692 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13693
13694         * BufferView.C:
13695         * Bullet.C:
13696         * ColorHandler.C:
13697         * FontInfo.C:
13698         * FontLoader.C:
13699         * LColor.C:
13700         * LaTeXFeatures.C:
13701         * Painter.C:
13702         * gettext.C:
13703         * lyx_gui_misc.C:
13704         * lyxserver.C:
13705         * vspace.C: removed // -*- C++ -*- as first line.
13706
13707         * lyxfind.h:
13708         * version.h: added // -*- C++ -*- as first line.
13709
13710 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13711
13712         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13713
13714         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13715         of string
13716
13717 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13720         of floats.
13721
13722 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13723
13724         * gettext.C: include LString.h even when --disable-nls is on.
13725
13726 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13727
13728         * converter.h (Get): changed argument type from int to
13729         FormatList::size_type to avoid unnecessary conversion.
13730
13731         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13732         before using it.
13733
13734 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13735
13736         * gettext.h: include LString.h even when --disable-nls is on.
13737
13738 2001-06-07  Juergen Vigna  <jug@sad.it>
13739
13740         * text.C (BreakAgain): subst spaces with tabs.
13741
13742         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13743         (resizeInsetsLyXText): set force on resizeLyXText.
13744
13745 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13746
13747         * gettext.h (gettext_init):
13748         (locale_init): use a real definition instead of a macro
13749
13750 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13751
13752         * Bufferview_pimpl.C:
13753         * LColor.h:
13754         * LColor.C: further lcolor tidies
13755
13756 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13757
13758         * BufferView_pimpl.C (updateScrollbar): simplify.
13759
13760         * BufferView2.C: don't include insets/insetinfo.h, change
13761         prototype for insertInset and call the Pimpl version. let
13762         updateInset call Pimpl version.
13763
13764         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13765         gotoInset to BufferView::Pimpl
13766
13767 2001-06-01  Juergen Vigna  <jug@sad.it>
13768
13769         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13770         inside a LockingInset (is the update needed at all?).
13771
13772 2001-05-31  Juergen Vigna  <jug@sad.it>
13773
13774         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13775         here not the old one otherwise how should we compare it afterwards
13776         if it's the same!
13777
13778 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13779
13780         * lyxfont.C:
13781         * tabular.C:
13782         * tabular-old.C:
13783         * FontInfo.C: bring C functions into global namespace when
13784         necessary
13785
13786 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13787
13788         * LString.h: make sure config.h has been loaded before LString.h.
13789
13790         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13791         (one for each char read by EatLine!).
13792
13793         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13794         variables.
13795
13796 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13797
13798         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13799         to the same as the par we break from
13800
13801 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13802
13803         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13804
13805         * MenuBackend.C (expand): also create menu entries for wide
13806         versions of the floats.
13807
13808         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13809
13810         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13811
13812         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13813         frontends/Makefile.am
13814
13815         * text2.C: adjust
13816         * text.C: adjust
13817
13818
13819         * tabular.C (getTokenValue): add std::
13820
13821         * tabular-old.C (getTokenValue): add std::
13822         (getTokenValue): ditto
13823         (getTokenValue): ditto
13824
13825         * screen.C (ToggleSelection): adjust
13826
13827         * lyxtext.h: put selection cursors inside a Selection struct.
13828
13829         * lyxfunc.C (moveCursorUpdate): adjust
13830
13831         * lyxfont.C (latexWriteStartChanges): add std::
13832
13833         * lyxfind.C: adjust
13834
13835         * font.h: delete with(char const *, LyXFont const &)
13836
13837         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13838
13839         * FontInfo.C (getFontname): add std::
13840
13841         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13842         (workAreaButtonPress): adjust
13843         (tripleClick): adjust
13844         (update): adjust
13845         (moveCursorUpdate): adjust
13846         (Dispatch): adjust
13847
13848         * BufferView2.C (gotoInset): adjust
13849
13850 2001-05-30  Juergen Vigna  <jug@sad.it>
13851
13852         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13853         to check pspell I add this as default as I now have new pspell
13854         libraries and they seem to use this.
13855
13856 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13857
13858         * text2.C (CutSelection): make the cursor valid before the call to
13859         ClearSelection.
13860
13861 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13862
13863         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13864         relied on 0 terminated strings and other horrors. Bug found due to
13865         the new assert in lyxstring!
13866
13867         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13868         KP_ keys.
13869
13870 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13871
13872         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13873         to latinkeys.bind.
13874
13875         * lyxfunc.C (processKeySym): change method of getting to the
13876         self-insert char.
13877
13878         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13879         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13880         * BufferView_pimpl.[Ch]: here as private methods.
13881
13882 2001-05-28  Juergen Vigna  <jug@sad.it>
13883
13884         * text.C (SetHeightOfRow): added the update() call again as it is
13885         needed to initialize inset dimensions!
13886
13887 2001-05-16  Juergen Vigna  <jug@sad.it>
13888
13889         * text2.C (SetCharFont): Add new function with BufferView * and
13890         bool toggleall parameters for setting insets internal fonts.
13891         (SetFont): Freeze the undo as we may change fonts in Insets and
13892         all this change should be inside only one Undo!
13893
13894         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13895         setting font's in insets as for them we have the SetFont function!
13896
13897 2001-05-15  Juergen Vigna  <jug@sad.it>
13898
13899         * text2.C (ClearSelection): to be sure we REALLY don't have any
13900         selection anymore!
13901
13902         * tabular.C (TeXCellPreamble): fixed the left border problem for
13903         multicolumn cells.
13904
13905 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13906
13907         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13908         dependancy file
13909
13910 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13911
13912         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13913         LFUN_BREAKPARAGRAPH.
13914
13915         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13916         help test to "internal only", similar for LFUN_INSERT_URL
13917
13918         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13919         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13920         auto_region_delete and deadkeys.
13921
13922 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13923
13924         * LColor.h:
13925         * LColor.C: remove some dead entries, tidy a little
13926
13927 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13928
13929         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13930         commented code.
13931         (Dispatch): implement LFUN_ESCAPE
13932
13933         * commandtags.h: add LFUN_ESCAPE
13934
13935         * LyXAction.C (init): add entry for LFUN_ESCAPE
13936
13937         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13938         Remove commented code.
13939         (insertNote): moved here
13940         (open_new_inset): moved here
13941
13942         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13943         BufferView_pimpl
13944
13945 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13946
13947         * kbmap.C (findbinding): clean it up and make it work correctly.
13948
13949         * lyx_main.C (init): do not pass argc and argv as parameters
13950
13951 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13952
13953         * buffer.C: fix path for OS/2 & Win32
13954
13955         * lyx_gui.C:
13956         * lyx_main:
13957         * lyx_main.C: Added os:: class.
13958
13959         * os2_defines.h: update
13960
13961 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13962
13963         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13964         better by trying again with reduced state.
13965
13966 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13967
13968         * lyxrc.C (read): print error about invalid key sequence only when
13969         debugging (because not all latinX keysyms are known to some X
13970         servers)
13971
13972         * kbsequence.C (getiso): add a few std:: qualifiers
13973         (getiso): comment out extra return statement.
13974
13975 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13976
13977         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13978         handling.
13979         (Dispatch): enhance the accent inset a bit. (not perfect)
13980
13981 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13982
13983         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13984
13985 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13986
13987         * bufferlist.C (emergencyWrite): fix assert() call
13988
13989 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13990
13991         * text.C (InsertChar): Added trivial patch to only send the "you
13992         can not do multiple spaces this way" message once during a
13993         session.
13994
13995 2001-05-08  Baruch Even  <baruch@lyx.org>
13996
13997         * Makefile.am: Changed order of libraries to get LyX to link properly
13998         with the gnome frontend.
13999
14000 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14001
14002         * LaTeXFeatures.h: add a std:: qualifier
14003
14004 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14005
14006         * paragraph.C (String): use stringstream
14007
14008 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14009
14010         * paragraph.C (writeFile): remove footflag arg
14011
14012         * buffer.C (makeLaTeXFile): use stringstream
14013         (latexParagraphs): remove footnot gurba
14014
14015         * LaTeXFeatures.C (getPackages): use stringstream
14016         (getMacros): likewise
14017         (getTClassPreamble): likewise
14018         (getFloatDefinitions): new method
14019
14020         * paragraph.C (writeFile): reindent
14021         (Erase): reindent
14022
14023         * WorkArea.h: revert the xpos + etc changes.
14024
14025         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14026
14027         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14028
14029         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14030         (pasteSelection): likewise
14031         * text2.C (CreateUndo): likewise
14032
14033 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14034
14035         * minibuffer.C (peek_event): temporarily reduce the functionality
14036         of the minibuffer (to allow args on lfuns)
14037
14038         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14039         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14040
14041         * buffer.C (readInset): add compability reading of old float
14042         lists, add reading of new style float list.
14043         (readInset): avoid reevaluation of inscmd.getCmdName()
14044         (getLists): reindent
14045
14046         * MenuBackend.C (MenuItem): implement parsing of
14047         md_floatlistinsert and md_floatinsert.
14048         (expand::LastFiles): move initalizaton of iterators out of loop,
14049         avoid reevaluation.
14050         (expand::Documents): introduce typdedef vector<string> Strings,
14051         and use it.
14052         (expand::ExportFormats): introduce typedef vector<Format const *>
14053         Formats, and use it.
14054         (expand): implement FloatListInsert and FloatInsert.
14055
14056         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14057         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14058         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14059
14060         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14061         handling.
14062         (Dispatch::LFUN_FLOAT_LIST): implement
14063
14064 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14065
14066         * LaTeX.C (run): Fix problem with --export code.
14067
14068 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14069
14070         * BufferView.[Ch] (workarea): removed.
14071         (getClipboard) new method; wrapper for workarea()->getClipboard()
14072
14073         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14074         bug.
14075
14076         * WorkArea.h (width, height, xpos, ypos): These methods all
14077         returned the dimensions of the work_area sub-area of WorkArea,
14078         resulting in a position error if the WorkArea were resized. Now
14079         return the dimensions of the entire WorkArea.
14080
14081         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14082
14083 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * LaTeX.C (deplog): correct the syntax of regex reg1
14086
14087 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14088
14089         * undo.C: remove !NEW_INSETS cruft
14090
14091 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14092
14093         * text2.C: remove !NEW_INSETS cruft
14094
14095         * text.C: remove !NEW_INSETS cruft
14096
14097         * tabular.C: remove !NEW_INSETS cruft
14098
14099         * spellchecker.C: remove !NEW_INSETS cruft
14100
14101         * lyxtext.h: remove !NEW_INSETS cruft
14102
14103         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14104
14105         * lyxfunc.C: remove !NEW_INSETS cruft
14106
14107         * lyxfind.C: remove !NEW_INSETS cruft
14108
14109         * lyx_cb.C: remove !NEW_INSETS cruft
14110
14111         * figureForm.C: remove  !NEW_INSETS cruft
14112
14113         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14114
14115         * buffer.[Ch]: remove !NEW_INSETS cruft
14116
14117         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14118
14119         * CutAndPaste.C: remove !NEW_INSETS cruft
14120
14121         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14122
14123         * BufferView2.C: remove !NEW_INSETS cruft
14124
14125         * BufferView.h: remove !NEW_INSETS cruft
14126
14127 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14128
14129         * Lsstream.h: include LString.h before the sstream headers to
14130         fix problem with gcc 2.95.3 and lyxstring
14131
14132 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14133
14134         * lyx_main.C: add using directives when needed for C functions
14135         declared in std:: namespace.
14136
14137 2001-04-27  Juergen Vigna  <jug@sad.it>
14138
14139         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14140         (SetHeightOfRow): comment out the update call should not be needed!
14141
14142 2001-04-13  Juergen Vigna  <jug@sad.it>
14143
14144         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14145         (LyXTabular): tried to minimize operator= operations (and realized
14146         hopfully Lars wish).
14147
14148 2001-04-27  Juergen Vigna  <jug@sad.it>
14149
14150         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14151
14152 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14153
14154         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14155
14156         * buffer.C (readInset): hack to make listof algorithm work
14157
14158         * BufferView_pimpl.C: hack to make listof algorithm work
14159
14160 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * LyXAction.C: removed all !NEW_INSETS cruft
14163         (init): moved lfun_item in method
14164
14165         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14166
14167 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14168
14169         * BufferView2.C (theLockingInset): white space.
14170
14171 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14172
14173         * minibuffer.C: include <iostream>
14174
14175         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14176
14177         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14178
14179         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14180
14181         * text.[Ch] (TransposeChars): new method
14182
14183 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14184
14185         * call message directly through LyXView instead of through LyXFunc
14186         * BufferView2.C: adjust
14187         * BufferView_pimpl.C: adjust
14188         * FontLoader.C: adjust
14189         * buffer.C: adjust
14190         * bufferview_funcs.C: adjust
14191         * converter.C: adjust
14192         * figureForm.C: adjust
14193         * importer.C: adjust
14194         * lyx_cb.C: adjust
14195         * lyx_gui_misc.C: adjust
14196         * lyxfunc.C: adjust
14197         * lyxvc.C: adjust
14198         * text2.C: adjust
14199         + more files in subdirs
14200
14201         * lyxparagraph.h (size): move up int file
14202         (GetLayout): ditto
14203
14204         * adjust all uses of Assert to lyx::Assert.
14205
14206         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14207         lyxfunctional in namespace lyx
14208         * layout.C (hasLayout): ditto
14209         (GetLayout): ditto
14210         (GetLayout): ditto
14211         (delete_layout): ditto
14212         (NumberOfClass): ditto
14213         * converter.C (GetFormat): ditto
14214         (GetNumber): ditto
14215         (Add): ditto
14216         (Delete): ditto
14217         (SetViewer): ditto
14218         * bufferlist.C (getFileNames): ditto
14219         (emergencyWriteAll): ditto
14220         (exists): ditto
14221         (getBuffer): ditto
14222         * MenuBackend.C (hasSubmenu): ditto
14223         (hasMenu): ditto
14224         (getMenu): ditto
14225         * BufferView_pimpl.C (getInsetByCode): ditto
14226
14227 2001-04-18  Juergen Vigna  <jug@sad.it>
14228
14229         * vspace.C (asLatexString): fixed the 100% problem.
14230
14231 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14232
14233         * lyxfunc.C (Dispatch):
14234         * minibuffer.C:
14235         * minibuffer.h: add a few std:: qualifiers
14236
14237 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14238
14239         * minibuffer.[Ch]: reimplement so that commands is initiated and
14240         run from lyxfunc, simplified som handling, and made the completion
14241         and history code for complete. wip.
14242
14243         * lyxfunc.C (processKeySym): call message
14244         (miniDispatch): new temporary method
14245         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14246         (LFUN_MESSAGE): implement
14247         (LFUN_MESSAGE_PUSH): implement
14248         (LFUN_MESSAGE_POP): implement
14249         (initMiniBuffer): the initial/defualt minibuffer message.
14250
14251         * lyxfont.[Ch]: inline some more getters
14252
14253         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14254
14255         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14256
14257         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14258         (AutoSave): use LFUN_MESSAGE
14259         (Reconfigure): ditto
14260
14261         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14262
14263         * figureForm.C: use LFUN_MESSAGE
14264
14265         * converter.C (runLaTeX): use LFUN_MESSAGE
14266
14267         * bufferview_funcs.C: use LFUN_MESSAGE
14268         (Melt): ditto
14269         (changeDepth): ditto
14270
14271         * bufferparams.h: use boost::
14272
14273         * bufferlist.h: inherit privately from noncopyable
14274
14275         * bufferlist.C (loadLyXFile): remove some commented code.
14276
14277         * buffer.C (runChktex): use LFUN_MESSAGE
14278
14279         * ShareContainer.h: inherit privately from noncopyable
14280
14281         * ParagraphParameters.[hC] (depth): inline it.
14282
14283         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14284         methods.
14285         (message): new method
14286         (messagePush): ditto
14287         (messagePop): ditto
14288         (show): init minibuffer
14289         (showState): direct call
14290
14291         * LaTeX.[Ch]: inherit privately from noncopyable
14292         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14293         instead of WriteStatus.
14294
14295         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14296
14297         * BufferView_pimpl.C (buffer): don't init minibuffer
14298         (workAreaButtonPress): use LFUN_MESSAGE
14299         (workAreaButtonRelease): ditto
14300         (savePosition): ditto
14301         (restorePosition): ditto
14302         (MenuInsertLyXFile): ditto
14303         (workAreaExpose): don't init minibuffer
14304         (update): remove commented code, simplify
14305
14306         * BufferView2.C (openStuff): use LFUN_MESSAGE
14307         (toggleFloat): ditto
14308         (menuUndo): ditto
14309         (menuRedo): ditto
14310         (copyEnvironment): ditto
14311         (pasteEnvironment): ditto
14312         (copy): ditto
14313         (cut): ditto
14314         (paste): ditto
14315         (gotoInset): ditto
14316         (updateInset): remove some commented code
14317
14318         * lastfiles.h: inherit privately from noncopyable
14319         * layout.h: ditto
14320         * lyx_gui.h: ditto
14321         * lyx_main.h: ditto
14322         * lyxlex.h: ditto
14323         * lyxlex_pimpl.h: ditto
14324
14325         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14326         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14327         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14328
14329         * LyXAction.h: inherit privately from noncopyable, add methods
14330         func_begin, func_end, returning iterators to the func map.
14331
14332         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14333         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14334         (func_begin): new method
14335         (func_end): new method
14336
14337         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14338         and not)
14339         (copySelection): ditto
14340         (pasteSelection): ditto
14341
14342         * BufferView.C: whitespace change
14343         * BufferView.h: inherit privately from noncopyable
14344
14345 2001-04-16  Allan Rae  <rae@lyx.org>
14346
14347         * tabular-old.C (l_getline):
14348         * spellchecker.C (sc_check_word):
14349         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14350         an unrecognised preprocessor directive.  So ensure they're wrapped.
14351
14352 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14353
14354         * src/exporter.C (Export): Give an error message when path to file
14355         contains spaces.
14356
14357 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14358
14359         * LaTeX.C (deplog): Always check that foundfile exists.
14360
14361 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14362
14363         * lyx_main.h:
14364         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14365
14366 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14367
14368         * tabular.[Ch] (getLabelList): implement new method
14369
14370         * minibuffer.h: comment ouf setTiimer
14371
14372         * minibuffer.C (ExecutingCB): constify res
14373         (peek_event): constify s
14374         (Set): constify ntext
14375         (Init): constify nicename
14376
14377         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14378
14379         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14380         (savePosition): use two params to Minibuffer::Set
14381         (restorePosition): ditto
14382
14383 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14384
14385         * lyx_main.C: include language.h
14386
14387         * Makefile.am (lyx_main.o): add language.h
14388
14389 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14390
14391         * exporter.C:
14392         * paragraph.C:
14393         * screen.C:
14394         * tabular.C:
14395         * CutAndPaste.C: include gettext.h
14396
14397         * lyxfont.h: remove old hack with ON and OFF.
14398
14399         * lyxparagraph.h:
14400         * lyxfont.h: do not include language.h...
14401
14402         * BufferView2.C:
14403         * LaTeXFeatures.C:
14404         * Painter.C:
14405         * bufferview_funcs.C:
14406         * font.C:
14407         * lyxfont.C:
14408         * text.C:
14409         * text2.C:
14410         * trans_mgr.C:
14411         * paragraph.C: ... but do it here instead
14412
14413 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14414
14415         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14416
14417         * tabular.C: small reformat
14418
14419         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14420         NEW_INSETS version
14421         (GetChar): ditto
14422         (BreakParagraph): ditto
14423         (SetOnlyLayout): ditto
14424         (SetLayout): ditto
14425
14426         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14427         with one arg less.
14428
14429         * lastfiles.C: removed most using decl, add std:: where needed
14430
14431         * buffer.C: ws changes
14432
14433         * MenuBackend.C (class compare_format): put into anon namespace
14434         (expand): constify label, names, action, action2
14435         (expand):
14436
14437         * text.C (SingleWidth): constify font
14438         (IsBoundary): constify rtl2
14439         (GetVisibleRow): constify ww
14440
14441         * LaTeX.C (deplog): constify logfile
14442
14443         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14444         start_x, end_x
14445         (workAreaExpose): constify widthChange, heightChange
14446
14447         * lyxrow.C (par): moved
14448         (height): moved
14449         (next): moved
14450         * lyxrow.h: as inlines here
14451
14452         * lyxfont.h (shape): moved from lyxfont.C
14453         (emph): moved from lyxfont.C
14454
14455         * lyxfont.C (LyXFont): use initialization list for all
14456         constructors
14457         (shape): move to lyxfont.h as inline
14458         (emph): move to lyxfont.h as inline
14459
14460
14461 2001-04-04  Juergen Vigna  <jug@sad.it>
14462
14463         * vspace.C: had to include stdio.h for use of sscanf
14464
14465 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14466
14467         * BufferView.h:
14468         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14469         independent of xforms.
14470
14471 2001-04-02  Juergen Vigna  <jug@sad.it>
14472
14473         * spellchecker.C: fixed namespace placing!
14474
14475 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14476
14477         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14478         the LyXParagraph * is 0.
14479
14480 2001-03-29  Juergen Vigna  <jug@sad.it>
14481
14482         * vspace.C: added support for %, c%, p%, l%.
14483         (stringFromUnit): added helper function.
14484         (asLatexString): changed to give right results for the %-values.
14485
14486         * buffer.C: convert the widthp in a width%.
14487
14488 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14489
14490         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14491         figureForm.[Ch].
14492
14493         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14494         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14495
14496         * lyx_cb.[Ch]: see above.
14497
14498         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14499         form1.[Ch].
14500
14501         * form1.[Ch]:
14502         * lyx.[Ch]: replaced by figure_form.[Ch].
14503
14504         * lyx_gui.C:
14505         * lyx_gui_misc.C:
14506         * lyxfunc.C: changed headers associated with above changes.
14507
14508 2001-03-27  Juergen Vigna  <jug@sad.it>
14509
14510         * BufferView_pimpl.C: set the temporary cursor right!
14511
14512 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14513
14514         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14515
14516 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14517
14518         * LString.h: removed "using std::getline"!
14519
14520         * BufferView_pimpl.C (Dispatch): changes due to changes in
14521         InsetInclude::Params.
14522
14523         * buffer.C (tag_name): removed redundant break statements as they were
14524         producing lots of warnings with my compiler.
14525
14526 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14527
14528         * LString.h: add "using std::getline" when using the real <string>.
14529
14530 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14531
14532         * buffer.C: removed bitset usage.
14533         PAR_TAG moved to an anonymous name space.
14534         (tag_name): new funtion, also in the anonymous namespace.
14535         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14536         (makeDocBookFile): clean code. Completed transition from string arrays
14537         to string vectors.
14538         (SimpleDocBookOnePar): code clean.
14539
14540 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14541
14542         * tabular.C: add some comments.
14543
14544 2001-03-22  Juergen Vigna  <jug@sad.it>
14545
14546         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14547         compatibility read a bit and fixed bug with minipage in different
14548         depth.
14549
14550 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14551
14552         * buffer.C (pop_tag): removed.
14553         (push_tag): removed.
14554         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14555         array replaced with vector. Added support for CDATA sections.
14556         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14557         at any nest level.
14558         (makeDocBookFile): XML conformant declaration of CDATA section,
14559         fixed bug related to <emphasis> in the first paragraph char.
14560         (sgmlOpenTag): exclude empty tags.
14561         (sgmlCloseTag): ditto.
14562
14563         * buffer.h (pop_tag): removed.
14564         (push_tag): removed.
14565
14566 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14567
14568         * language.h (Languages): added size_type and size().
14569
14570 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14571
14572         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14573         response on compability reading of minipages. One probliem is that
14574         the old usage of minipages was «flertydig»
14575
14576         * several files here and in subdirs: don't use static at file
14577         scope use anon namespaces instead.
14578
14579 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14580
14581         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14582         LaTeX output. This is necessary for Literate document
14583         processing.
14584
14585 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14586
14587         * buffer.C: insert hfill when needed.
14588
14589         * tabular.C (l_getline): use string::erase, small whitespace change.
14590
14591         * BufferView_pimpl.C: try the anon namespace.
14592         * WorkArea.C: ditto
14593
14594 2001-03-16  Juergen Vigna  <jug@sad.it>
14595
14596         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14597         otherwise it won't open options-dialogs.
14598
14599         * buffer.C: honor pextraWidth(p) on converting minipages.
14600
14601         * tabular.C (l_getline): changed the functions to strip trailing \r.
14602
14603 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14604
14605         * BufferView_pimpl.C:
14606         * minibuffer..C: added "using SigC::slot" declaration.
14607
14608 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14609
14610         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14611
14612         * text2.C: ditto
14613
14614         * text.C: ditto
14615
14616         * paragraph.C: ditto
14617
14618         * lyxtext.h: NO_PEXTRA
14619
14620         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14621
14622         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14623         * ParameterStruct.h: ditto
14624         * ParagraphParameters.h: ditto
14625         * lyxparagraph.h: ditto
14626
14627 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14628
14629         * buffer.C: add compability for minipage alignment.
14630         (latexParagraphs): remove unwanted pextra check.
14631
14632         * several files: remove CXX_WORKING_NAMESPACES
14633
14634         * buffer.C (pop_tag): tie is in namespace boost
14635
14636         * BufferView.h: noncopyable is in namespace boost
14637         * lyxlex.h: ditto
14638         * lyx_main.h: ditto
14639         * lyx_gui.h: ditto
14640         * layout.h: ditto
14641         * lastfiles.h: ditto
14642         * bufferlist.h: ditto
14643         * ShareContainer.h: ditto
14644         * LyXView.h: ditto
14645         * LyXAction.h: ditto
14646         * LaTeX.h: ditto
14647
14648 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14649
14650         * Merging changes from BRANCH_MVC back into HEAD.
14651
14652         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14653
14654 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14655
14656         * BufferView_pimpl.C: change from intl.C
14657
14658         * combox.h:
14659         * combox.C:
14660         * Makefile.am: move combox.*
14661
14662         * form1.h:
14663         * form1.C:
14664         * lyx_gui.C:
14665         * intl.h:
14666         * intl.C: remove dialog (covered by prefs)
14667
14668 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14669
14670         * lyxfunc.C (Dispatch): removed redundant break statement.
14671
14672 2001-03-14  Juergen Vigna  <jug@sad.it>
14673
14674         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14675
14676 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14677
14678         * buffer.C: add hack to fix compability reading of minipages.
14679
14680 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14681
14682         * buffer.C (getLists): Cleanup.
14683
14684 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14685
14686         * lyxfont.C (update): don't honor toggleall on font size.
14687
14688 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14689
14690         * bmtable.c:
14691         * bmtable.h:
14692         * Makefile.am: moved to frontends/xforms/
14693
14694         * lyx_gui_misc.C:
14695         * lyxfunc.C:
14696         * BufferView_pimpl.C: changes for moved mathpanel
14697
14698 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14699
14700         * gettext.h: fix gettext_init() in --disable-nls
14701
14702 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14703
14704         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14705
14706 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14707
14708         * lyx.C:
14709         * lyx.h: strip external form
14710
14711 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14712
14713         * BufferView_pimpl.C: add comment, destroySplash()
14714
14715 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14716
14717         * BufferView_pimpl.C:
14718         * LyXAction.C:
14719         * buffer.C:
14720         * commandtags.h:
14721         * lyxfunc.C: use re-worked insetinclude
14722
14723 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14724
14725         * buffer.C: add using std::stringstream.
14726
14727         * lyx_cb.C: readd using std::ios.
14728
14729         * buffer.C: add using std::map.
14730
14731         * BufferView_pimpl.C: add using std::vector.
14732
14733         * ShareContainer.h: add std:: to swap.
14734
14735         * buffer.h: add some typedefs
14736         * buffer.C (getLists): use them
14737         (getLists): renamed from getTocList.
14738         add a counter for the different float types and use it in the
14739         generated string.
14740         (getLists): use the same counter for the NEW_INSETS and the "non"
14741         NEW_INSETS
14742
14743         * lyx_cb.h: remove unused items, includes, using etc.
14744
14745         * ShareContainer.h: remove some commented code, add more comments
14746         and "documentation".
14747
14748 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14749
14750         * buffer.C (getTocList): make the list also when NEW_INSETS is
14751         defined.
14752
14753         * buffer.h: remove TocType
14754
14755         * buffer.C (getTocList): change to return a map<string,
14756         vector<TocItem> >, implement for dynamic number of list.
14757
14758         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14759         * text2.C (PasteSelection): adjust
14760         * CutAndPaste.C (pasteSelection): adjust
14761
14762         * FloatList.C (FloatList): update from the new_insets branch.
14763         * Floating.[Ch]: ditto
14764         * LaTeXFeatures.C: ditto
14765         * buffer.C: ditto
14766         * lyxlex_pimpl.C: ditto
14767
14768         * paragraph.C (Last): remove when NEW_INSETS is defined.
14769
14770         * other file: changes because of the above.
14771
14772 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14773
14774         * lyxparagraph.h: rename next to next_, previous to previous_,
14775         make them private for NEW_INSETS. Rename Next() to next(),
14776         Previous() to previous().
14777
14778         * other files: changes because of the above.
14779
14780 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14781
14782         * BufferView.h:
14783         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14784         problem.
14785
14786 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14787
14788         * main.C (main): pass lyx_localedir to gettext_init().
14789
14790         * gettext.h: remove locale_init and gettext_init macros
14791
14792         * gettext.C (locale_init): new function
14793         (gettext_init): new function
14794
14795         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14796         setlocale().
14797
14798 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14799
14800         * Moved credits to frontends:
14801         * credits.[Ch]: removed
14802         * credits_form.[Ch]: removed
14803         * lyx_gui_misc.C: remove credits stuff
14804         * Makefile.am:
14805
14806 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14807
14808         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14809
14810         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14811         unneeded destructor.
14812
14813         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14814         a standalone pointer again.
14815
14816         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14817
14818 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14819
14820         * Makefile.am:
14821         * filedlg.h:
14822         * filedlg.C:
14823         * LyXAction.C:
14824         * ToolbarDefaults.C:
14825         * bufferlist.C:
14826         * commandtags.h:
14827         * form1.C:
14828         * form1.h:
14829         * lyx_cb.C:
14830         * lyx_cb.h:
14831         * lyxfunc.h:
14832         * lyxfunc.C:
14833         * BufferView_pimpl.C: use new file dialog in GUII
14834
14835         * lyx_cb.h:
14836         * lyx_cb.C: remove LayoutsCB to Toolbar
14837
14838 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * ShareContainer.h (get): add std:: qualifier
14841
14842 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14843
14844         * ShareContainer.h: define a proper ShareContainer::value_type
14845         type (and use typename to please compaq cxx)
14846
14847 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14848
14849         * lyxparagraph.h: move serveral local vars to
14850         ParameterStruct/ParagraphParameters., use ShareContainer in
14851         FontTable., make vars in FontTable private and add getter and
14852         setter.
14853
14854         * paragraph.C: changes because of the above.
14855
14856         * lyxfont.h: remove copy constructor and copy assignment. (the
14857         default ones is ok), move number inside FontBits. move inlines to
14858         lyxfont.C
14859
14860         * lyxfont.C: add number to initializaton of statics, move several
14861         inlines here. constify several local vars. some whitespace
14862         cleanup. Dont hide outerscope variables.
14863
14864         * Spacing.h: add two new constructors to match the set methods.
14865
14866         * ShareContainer.h: new file, will perhaps be moved to support
14867
14868         * ParameterStruct.h: new file
14869
14870         * ParagraphParameters.h: new file
14871
14872         * ParagraphParameters.C: new file
14873
14874         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14875         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14876
14877         * BufferView_pimpl.C: ParagraphParameter changes.
14878         * buffer.C: Likewise.
14879         * bufferview_funcs.C: Likewise.
14880         * text.C: Likewise.
14881         * text2.C: Likewise.
14882
14883 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14884
14885         * lyxfind.C (LyXReplace): do not redefine default argument in
14886         implementation.
14887         (IsStringInText): ditto
14888         (SearchForward): ditto
14889         (SearchBackward): ditto
14890
14891 2001-03-06  Juergen Vigna  <jug@sad.it>
14892
14893         * lyxfind.C (IsStringInText): put parentes around expressions.
14894
14895 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14896
14897         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14898
14899 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14900
14901         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14902
14903         * stl_string_fwd.h: add comment
14904
14905         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14906
14907         * tabular.h:
14908         * tabular.C: remove unused DocBook methods
14909
14910         * intl.C:
14911         * language.C:
14912         * paragraph.C:
14913         * buffer.C:
14914         killed DO_USE_DEFAULT_LANGUAGE
14915
14916 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14917
14918         * lyx_gui.C: do not include language.h.
14919
14920         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14921         arguments in function implementation.
14922
14923 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14924
14925         * BufferView_pimpl.C: add <ctime>
14926
14927 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14928
14929         * BufferView_pimpl.C: add using std::find_if
14930
14931 2001-02-27  José Matos  <jamatos@fep.up.pt>
14932
14933         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14934         by OnlyPath.
14935
14936 2001-02-11  José Matos  <jamatos@fep.up.pt>
14937
14938         * buffer.C (makeDocBookFile): command styles now have a parameter as
14939         "title" by default.
14940
14941 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14942
14943         * layout_forms.[Ch]: removed
14944         * lyx_cb.[Ch]: out character
14945         * lyx_gui.C: out character
14946         * lyx_gui_misc.C: out character
14947         * bufferview_funcs.C: : out character,
14948         added toggleall as parameter in ToggleAndShow
14949
14950 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14951
14952         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14953
14954         * text2.C (SetCurrentFont): Disable number property at boundary.
14955
14956 2001-02-26  Juergen Vigna  <jug@sad.it>
14957
14958         * lyxfunc.C (getStatus): added a string argument override function so
14959         that this is correctly called from LyXFunc::Dispatch if it contains a
14960         do_not_use_argument which is used!
14961         (Dispatch): added check for "custom" export and call appropriate func.
14962
14963 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14964
14965         * lyxrc.C: Add language_command_local, language_use_babel and
14966         language_global_options.
14967
14968         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14969
14970         * buffer.C (makeLaTeXFile): Use language_use_babel and
14971         language_global_options.
14972
14973 2001-02-23  Juergen Vigna  <jug@sad.it>
14974
14975         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14976         which works with LyXText and putted it inside BufferView. Here now we
14977         only call for that part the BufferView::Dispatch() function.
14978
14979         * BufferView.C (Dispatch): added.
14980
14981         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14982         functions which needs to use a LyXText over from LyXFunc.
14983         (MenuInsertLyXFile): added
14984         (getInsetByCode): added
14985         (moveCursorUpdate): added
14986         (static TEXT): added
14987
14988 2001-02-22  Juergen Vigna  <jug@sad.it>
14989
14990         * BufferView_pimpl.C (update): call a status update to see if LyXText
14991         needs it.
14992
14993 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14994
14995         * vc-backend.C (revert): implement for CVS
14996         (getLog): implement for CVS
14997
14998 2001-02-20  Juergen Vigna  <jug@sad.it>
14999
15000         * text2.C (ClearSelection): added BufferView param for inset_owner call
15001
15002         * lyxfunc.C (TEXT): added this function and use it instead of
15003         directly owner->view()-text of getLyXText().
15004
15005 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15006
15007         * src/layout_forms.C: out preamble
15008         * src/layout_forms.h: out preamble
15009         * src/lyx_cb.C: out preamble
15010         * src/lyx_cb.h: out preamble
15011         * src/lyx_gui.C: out preamble
15012         * src/lyx_gui_misc.C: out preamble
15013         * src/lyxfunc.C: connect with guii preamble
15014
15015 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15016
15017         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15018
15019 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15020
15021         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15022         whether to run bibtex.
15023
15024 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15025
15026         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15027
15028 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15029
15030         * Makefile.am (lyx_SOURCES): removed bibforms.h
15031
15032         * vspace.h: doxygen
15033
15034         * text.C (GetVisibleRow): make several local vars const
15035
15036         * tabular.C: small cleanup.
15037
15038         * lyxserver.C (callback): use compare instead of strncmp
15039
15040         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15041         inlines to after class or to paragraph.C
15042
15043         * lyxfont.h: remove friend operator!=
15044
15045         * converter.h: move friend bool operator< to non friend and after
15046         class def.
15047
15048         * combox.h: small cleanup
15049
15050         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15051         to inlines after class def.
15052
15053         * buffer.C (pop_tag): use string operations instead of strcmp
15054
15055         * bmtable.c: doxygen, small cleanup
15056
15057         * LaTeX.h: remove friend operator==
15058
15059 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15060
15061         * screen.C:
15062         * lyxrc.[Ch]:
15063         * lyxfunc.C:
15064         * lyxfont.[Ch]:
15065         * lyx_cb.C:
15066         * intl.[Ch]:
15067         * commandtags.h:
15068         * buffer.C:
15069         * WorkArea.[Ch]:
15070         * LyXAction.C:
15071         * BufferView_pimpl.C:
15072         * BufferView.[Ch]: remove cruft
15073
15074 2001-02-14  Juergen Vigna  <jug@sad.it>
15075
15076         * lyxfunc.C: removed #if 0 unused code
15077
15078         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15079
15080         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15081
15082         * text2.C (SetSelection): added a BufferView * parameter
15083
15084 2001-02-13  Juergen Vigna  <jug@sad.it>
15085
15086         * lyxfunc.C (Dispatch): fixed protected blank problem.
15087         * BufferView2.C (protectedBlank): added LyxText * parameter.
15088
15089         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15090         (AppendColumn): same as above for column_info.
15091
15092         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15093         (moveCursorUpdate): use a LyXText param for support of InsetText.
15094
15095         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15096         (tripleClick): ditto
15097
15098         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15099
15100         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15101
15102         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15103
15104         * text2.C (SetSelection): set correct update status if inset_owner
15105         (ToggleFree): ditto
15106
15107 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15108
15109         * tabular.C: remove some commented code.
15110
15111 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15112
15113         * BufferView_pimpl.C: call hideSplash()
15114
15115         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15116
15117         * include_form.h:
15118         * bibforms.h: remove
15119
15120         * lyxfunc.C:
15121         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15122           add LFUN_CHILD_CREATE
15123
15124         * counters.h: fix tiny typo
15125
15126         * lyx_cb.C:
15127         * lyx.h:
15128         * lyx_gui.C:
15129         * lyx.C: move splash to frontends/xforms/
15130
15131         * lyx_gui_misc.C: move Include and Bibform to frontends
15132
15133         * lyxvc.h: clarify comment
15134
15135         * vspace.C: tiny housekeeping
15136
15137 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15138
15139         * text.C (PrepareToPrint): RTL Fix.
15140
15141         * paragraph.C (GetUChar): New method.
15142         (String):  Use GetUChar.
15143
15144         * buffer.C (asciiParagraph): Use GetUChar.
15145
15146 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15147
15148         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15149
15150 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15151
15152         * buffer.h:
15153         * buffer.C: rename to getLogName(), handle
15154           build log / latex log nicely
15155
15156 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15157
15158         * MenuBackend.C:
15159         * MenuBackend.h: remove support for reference menuitem type.
15160
15161 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15162
15163         * BufferView_pimpl.C: housekeeping
15164         * BufferView_pimpl.h:
15165         * LyXView.h:
15166         * Makefile.am:
15167         * Timeout.C:
15168         * Timeout.h:
15169         * minibuffer.h: move Timeout GUI-I
15170
15171 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15172
15173         * lyxrc.C (read): Update converters data-structures.
15174
15175 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15176
15177         * LaTeX.h (operator!=): add operator != for Aux_Info
15178
15179 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15180
15181         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15182
15183         * LaTeXLog.C: deleted, useful code moved to Buffer
15184
15185         * buffer.h:
15186         * buffer.C: new function getLatexLogName()
15187
15188         * lyx_gui_misc.C:
15189         * lyx_gui.C:
15190         * lyxvc.C:
15191         * lyxvc.h:
15192         * lyxfunc.C: use frontends for LaTeX and VC logs
15193
15194 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15195
15196         * LaTeX.h: yet another std:: that Allan forgot.
15197
15198         * Variables.C (set): renamed from isset(), because this clashes
15199         with some HP-UX macros (grr).
15200
15201 2001-02-06  Allan Rae  <rae@lyx.org>
15202
15203         * LaTeX.h: Another bug fix.  Missing std:: this time.
15204
15205 2001-02-04  Allan Rae  <rae@lyx.org>
15206
15207         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15208         floats problem. I've left it commented out because it's not quite
15209         correct.  It should also test that the current object is a table or
15210         figure inset.  But I haven't gotten around to figuring out how to do
15211         that.  I *think* it'll be something like: "table" == inset.type()
15212
15213         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15214         bool.
15215
15216 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15217
15218         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15219         all the citation/databases/styles in the auxilary file.
15220         (run): Rerun latex if there was a babel language error.
15221
15222 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15223
15224         * text.C (Backspace): Preserve the font when changing newline char
15225         with a space.
15226         (BreakParagraph): If the cursor is before a space, delete the space.
15227
15228         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15229
15230 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15231
15232         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15233         new argument (code).
15234         (ChangeCitationsIfUnique): New method.
15235
15236         * paragraph.C (GetPositionOfInset): Handle bibkey.
15237
15238 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15239
15240         * BufferView_pimpl.h: change type of Position::par_pos to
15241         LyXParagraph::size_type.
15242
15243 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15244
15245         * BufferView_pimpl.C (savePosition, restorePosition): Write
15246         messages to minibuffer.
15247
15248 2001-01-28  José Matos  <jamatos@fep.up.pt>
15249
15250         * buffer.C (makeDocBookFile): adds support for document language.
15251         A silly restriction on the name of LatexCommand types where removed.
15252         Added support for CDATA sections, allows to chars unescaped, used
15253         among others in code, to avoid escape < and >.
15254
15255 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15256
15257         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15258         saved positions instrad of a stack. Furthermore, a position is
15259         stored using paragraph id/paragraph position.
15260
15261         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15262         Remove LFUN_REF_BACK.
15263
15264 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15265
15266         * converter.C (dvipdfm_options): New method.
15267
15268 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15269
15270         * vspace.C (isValidLength): Fix for empty input string.
15271
15272 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15273
15274         * LyXAction.C (init): change description of LFUN_FIGURE to
15275         "Insert Graphics"
15276
15277 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15278
15279         * LaTeX.C: add using directive
15280
15281 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15282
15283         * MenuBackend.C (expand): Fix the sorting of the formats.
15284
15285 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15286
15287         * lyx_main.C: tiny error message fix
15288
15289 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15290
15291         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15292         calling fl_initialize(). This fixes the problem with ',' as
15293         decimal separator in text files.
15294
15295 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15296
15297         * trans.C (process): Fix the keymap bug.
15298
15299 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15300
15301         * LaTeX.C (scanAuxFiles): New method. Provides support for
15302         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15303         (scanLogFile) Scan for "run BibTeX" messages.
15304
15305         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15306         OT1 font encoding. Also, load the aecompl package if the ae
15307         package is loaded.
15308
15309         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15310
15311 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15312
15313         * texrow.C (increasePos): turn two error messages into debug
15314         messages.
15315
15316 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15317
15318         * LaTeX.C (scanAux): Handle the \@input macro.
15319         (runBibTeX): Use scanAux().
15320
15321         * language.C (latex_options_): New field.
15322
15323         * LaTeXFeatures.C (getMacros): Add language macros.
15324
15325         * buffer.C (makeLaTeXFile): Small fix.
15326
15327 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15328
15329         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15330
15331         * text2.C: add a using directive.
15332
15333 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15334
15335         * BufferView2.C:
15336         * lyx_gui_misc.h:
15337         * lyxfr1.C:
15338         * lyxfunc.C: kill LyXBell.
15339
15340 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15341
15342         * text.C (IsBoundary): Remove the error message
15343
15344         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15345
15346         * lyxrc.C (setDefaults): Correct initialization value for
15347         font_norm_type.
15348
15349 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15350
15351         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15352         gotoError().
15353
15354         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15355         and GotoNextNote().
15356
15357         * src/LyXAction.C: Added reference-next.
15358
15359         * text.C (InsertChar): Use contains instead of strchr.
15360
15361         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15362
15363 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15364
15365         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15366         alignment commands (when needed).
15367
15368         * text.C (InsertChar): Add ':' to number separator chars.