]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2c06800ea8491ac38520e13480793814e881d26b
[lyx.git] / src / ChangeLog
1
2 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
5
6 2004-03-31  Angus Leeming  <leeming@lyx.org>
7
8         * lyxfunc.C (dispatch): Fall through to the generic
9         Dialogs::show("preamble").
10
11 2004-03-31  Angus Leeming  <leeming@lyx.org>
12
13         * lyxfunc.C (dispatch): Fall through to the generic
14         Dialogs::show("spellchecker").
15
16 2004-03-31  Angus Leeming  <leeming@lyx.org>
17
18         * lyxfunc.C (getStatus, dispatch): changed invocation of the
19         preferences dialog.
20
21 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
22
23         * BufferView.C
24         * cursor.[Ch]
25         * dociterator.[Ch]:
26         * insetiterator.[Ch]:
27         * lyxfind.C:
28         * lyxfunc.C:
29         * pariterator.[Ch]:
30         * text2.C:
31         * undo.[Ch]: s/DocumentIterator/DocIterator/g
32
33 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
34
35         * BufferView.C (setCursor, putSelectionAt): call edit to open the
36         insets where we are putting the cursor.
37
38 2004-03-31  Angus Leeming  <leeming@lyx.org>
39
40         * lfuns.h:
41         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
42
43         * lyxrc.[Ch] (read, write): overloaded member functions taking
44         a std::[io]stream arguments.
45
46         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
47
48 2004-03-31  Angus Leeming  <leeming@lyx.org>
49
50         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
51         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
52
53         * lyxtextclass.C (load): if the text class couldn't be loaded, then
54         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
55
56 2004-03-31  Angus Leeming  <leeming@lyx.org>
57
58         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
59         the LFUN_ALL_INSETS_TOGGLE code.
60
61 2004-03-30  Angus Leeming  <leeming@lyx.org>
62
63         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
64         has died. Fall through to the generic Dialogs::show("document").
65         
66 2004-03-30  Angus Leeming  <leeming@lyx.org>
67
68         * lfuns.h:
69         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
70         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
71
72         * lyxfunc.C (getStatus, dispatch): define the actions for these
73         lfuns. Little more than a cut and pste job from ControlDocument.C
74
75         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
76
77 2004-03-30  Angus Leeming  <leeming@lyx.org>
78
79         * lfuns.h:
80         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
81         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
82
83         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
84         open/closed state of ollapsable insets. Usage:
85
86         all-inset-toggle <state> <name>, where
87         <state> == "open" || "closed" || "toggle" and
88         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
89
90         * lyxtext.h, text2.C (toggleInset): removed.
91
92         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
93         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
94         now passes LFUN_INSET_TOGGLE to the found inset.
95
96         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
97         is now invoked as "all-insets-toggle toggle branch".
98
99 2004-03-30  Angus Leeming  <leeming@lyx.org>
100
101         * dociterator.C:
102         * insetiterator.C:
103         * pariterator.[Ch]: added/corrected header blurb.
104
105 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
106
107         * dociterator.[Ch]: add an inset_ member 
108         (backwardPos): implemented
109         (backwardPos, forwardPos): use inset_ when the stack is empty.
110         (doc_iterator_begin, doc_iterator_end): implemented
111         * pariterator.[Ch]: adjust, add begin, end
112         * insetiterator.[Ch]: adjust, add begin, end
113         * cursor.C: 
114         * document.C:
115         * BufferView.C:
116         * BufferView_pimpl.C:
117         * CutAndPaste.C: adjust
118
119 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
120
121         * buffer.C: increment file format to 232.
122         * LaTeXFeatures.C: add bibtopic package.
123         * bufferparams.[Ch]: param \use_bibtopic.
124         
125         * lyxrc.[Ch]: add lyxrc bibtex_command
126         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
127         
128         * buffer.C: increment file format to 231.
129
130 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
131
132         * dociterator.C: implement forwardPar
133         * iterators.[Ch]: remove, replaced by
134         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
135         * BufferView.C:
136         * BufferView_pimpl.C:
137         * CutAndPaste.C:
138         * buffer.C:
139         * bufferview_funcs.C:
140         * cursor.C:
141         * lyxfind.C
142         * lyxfunc.C
143         * paragraph_funcs.C
144         * toc.C:  
145         * Makefile.am: adjust
146
147 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
148
149         * CutAndPaste.C (pasteSelection): fix 2 crashes
150         (eraseSelection): fix a crash
151         * paragraph_funcs.C: remove a warning
152
153 2004-03-28  Angus Leeming  <leeming@lyx.org>
154
155         * lfuns.h:
156         * LyXAction.C (init): new LFUN_PRINT.
157
158         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
159
160 2004-03-27  Angus Leeming  <leeming@lyx.org>
161
162         * lfuns.h:
163         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
164
165         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
166
167 2004-03-27  Angus Leeming  <leeming@lyx.org>
168
169         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
170         insetlist always contains non-null pointers to insets.
171
172 2004-03-26  Angus Leeming  <leeming@lyx.org>
173
174         * src/BufferView_pimpl.C:
175         * src/CutAndPaste.C:
176         * src/buffer.C:
177         * src/iterators.C:
178         * src/output_plaintext.C:
179         * src/outputparams.h:
180         * src/paragraph_funcs.C:
181         * src/rowpainter.C:
182         * src/text.C:
183         * src/text2.C:
184         * src/frontends/controllers/ControlErrorList.C:
185         * src/frontends/gtk/FileDialogPrivate.C:
186         * src/frontends/gtk/GPainter.C:
187         * src/frontends/gtk/GToolbar.C:
188         * src/frontends/qt2/QRef.C:
189         * src/mathed/math_scriptinset.C: squash compiler warnings.
190
191 2004-03-26  Angus Leeming  <leeming@lyx.org>
192
193         * ispell.C (LaunchIspell::start):
194         * lyx_cb.C (AutoSaveBuffer::start):
195         invoke run(DontWait) rather than runNonBlocking().
196
197 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
198
199         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
200
201 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
202
203         * kbsequence.C (print): adjust
204
205         * kbmap.C (printKeySym): rename and change signature
206         (printKey): use LyXKeySym::print()
207
208 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
209
210         * undo.C: add using std::advance to compile for stlport
211
212 2004-03-24  Angus Leeming  <leeming@lyx.org>
213
214         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
215         it leads to a crash when no buffer is present.
216
217 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
218             Martin Vermeer  <martin.vermeer@hut.fi>
219
220         * lyxfunc.C (dispatch): 
221         * bufferparams.C (readToken): use the new LColor::setColor 
222
223         * LColor.[Ch] (setColor): new version that takes two strings as
224         argument and creates a new color entry if necessary
225
226 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
227
228         * buffer.C (makeLaTeXFile): if the main latex file that is
229         processed is usually a subdocument of some master, then pretend
230         for a while that it is actually the master
231
232 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
233
234         * buffer.C (getLabelList):
235         (getBibkeyList): use getMasterBuffer()
236         (getMasterBuffer): new method. Returns the main document in the
237         case where one is using included documents.
238
239 2004-03-25  André Pönitz  <poenitz@gmx.net>
240
241         * Makefile.am:
242         * iterators.[Ch]:
243         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
244
245         * ParagraphList_fwd.h: change ParagraphList to a std::vector
246
247         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
248         text*.C over here. Rename namespace CutAndPaste to lyx::cap
249
250         * ParameterStruct.h: merge with ParagraphParameters
251
252         * lyxtext.h: remove LyXText::parOffset() and getPar()
253
254         * text3.C: Remove all 'manual' update calls. We do now one per user
255         interaction which is completely sufficient.
256
257         * Bidi.C:
258         * BufferView.[Ch]:
259         * BufferView_pimpl.C:
260         * FontIterator.[Ch]:
261         * MenuBackend.C:
262         * ParagraphParameters.[Ch]:
263         * buffer.C:
264         * buffer.h:
265         * bufferlist.C:
266         * cursor.[Ch]:
267         * cursor_slice.[Ch]:
268         * dociterator.[Ch]:
269         * errorlist.[Ch]:
270         * factory.C:
271         * lfuns.h:
272         * lyxfind.C:
273         * lyxfunc.C:
274         * output_docbook.[Ch]:
275         * output_latex.[Ch]:
276         * output_linuxdoc.[Ch]:
277         * output_plaintext.[Ch]:
278         * paragraph.[Ch]:
279         * paragraph_funcs.[Ch]:
280         * paragraph_pimpl.[Ch]:
281         * rowpainter.C:
282         * tabular.[Ch]:
283         * text.C:
284         * text2.C:
285         * toc.C:
286         * undo.[Ch]: adjust
287
288         * frontends/controllers/ControlDocument.C:
289         * frontends/controllers/ControlErrorList.C:
290         * frontends/controllers/ControlSpellchecker.C:
291         * insets/inset.C:
292         * insets/inset.h:
293         * insets/insetbase.h:
294         * insets/insetbibitem.C:
295         * insets/insetbox.C:
296         * insets/insetbranch.C:
297         * insets/insetcaption.C:
298         * insets/insetcharstyle.C:
299         * insets/insetcharstyle.h:
300         * insets/insetcollapsable.C:
301         * insets/insetcollapsable.h:
302         * insets/insetert.C:
303         * insets/insetfloat.C:
304         * insets/insetfoot.C:
305         * insets/insetmarginal.C:
306         * insets/insetnote.C:
307         * insets/insetoptarg.C:
308         * insets/insettabular.C:
309         * insets/insettext.C:
310         * insets/insettext.h:
311         * insets/insetwrap.C:
312         * mathed/math_mboxinset.C:
313         * mathed/math_nestinset.C:
314         * mathed/math_scriptinset.C:
315         * mathed/math_scriptinset.h:
316         * support/types.h:
317
318 2004-03-24  Angus Leeming  <leeming@lyx.org>
319
320         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
321         deal with any child processes that have finished but are waiting to
322         communicate this fact to the rest of LyX.
323
324 2004-03-24  Angus Leeming  <leeming@lyx.org>
325
326         64-bit compile fixes.
327
328         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
329         (c-tor): pass lyx::pos_types rather than ints.
330
331         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
332         lyx::pos_type.
333
334         * text.C (Delete): compile fix.
335         (getPar): ensure that function declaration is the same as that in
336         the header file.
337
338 2004-03-23  Angus Leeming  <leeming@lyx.org>
339
340         * ispell.C (LaunchIspell):
341         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
342         a boost::shred_ptr rather than a std::auto_ptr.
343
344 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
345
346         * lyxfunc.C (getStatus): handle read-only buffers correctly;
347         handle LFUN_FILE_INSERT_*
348
349         * lyxrc.C (setDefaults, getDescription, output, read):
350         * lyxrc.h: remove ps_command
351
352 2004-03-22  Angus Leeming  <leeming@lyx.org>
353
354         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
355         Ensure that error_handler is processed once only and that all data
356         is saved before attempting to output any warning messages.
357
358         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
359
360 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
361
362         * tabular.C (TeXRow): crash fix (from Kayvan and André)
363
364 2004-03-19  André Pönitz  <poenitz@gmx.net>
365
366         * cursor.[Ch] (reset): take main text inset as argument
367
368         * BufferView: adjust
369         * BufferView_pimpl.C: adjust
370
371         * paragraph.[Ch]: fix completely broken operator=()
372
373 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
374
375         * LColor.C (getFromLyXName): make sure that the color name is used
376         as lowercase.
377
378 2004-03-17  Angus Leeming  <leeming@lyx.org>
379
380         * lfuns.h:
381         * LyXAction.C (init): remove LFUN_FORKS_KILL.
382
383         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
384         dialog and to kill a forked process.
385
386 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
387
388         * text2.C (setCursorFromCoordinates): fix font problem
389
390 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
391
392         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
393         bogus "rebuild cursor" code
394
395 2004-03-11  André Pönitz  <poenitz@gmx.net>
396
397         * buffer.[Ch]: use InsetText instead of LyXText as container for
398         the main lyx text.
399
400         * dociterator.[Ch]: drop the BufferView * member which is not needed
401         anymore after the change to buffer.C
402
403         * paragraph_funcs.C:
404         * text.C:
405         * text2.C:
406         * BufferView.[Ch]:
407         * BufferView_pimpl.[Ch]:
408         * cursor.[Ch]:
409         * cursor_slice.[Ch]: adjust
410
411         * text3.C: fix bug in mathDispatch
412
413 2004-03-08  André Pönitz  <poenitz@gmx.net>
414
415         * undo.[Ch]: use 'StableDocumentIterator' as base for
416         the Undo struct.
417
418 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
419
420         * LaTeXFeatures.C:
421         * bufferparams.[Ch]: add jurabib support and param.
422
423         * LaTeX.C: add FIXME/comment.
424
425 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
426
427         * buffer.C: increment file format to 230.
428
429 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
430
431         * cursor.C (dispatch): avoid infinite loops
432
433 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
434
435         * rowpainter.C (paintSelection): fix x coordinates
436
437 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
438
439         * text.C (rowBreakPoint): fix breaking before displayed insets
440
441 2004-03-01  André Pönitz  <poenitz@gmx.net>
442
443         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
444
445         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
446
447         * Makefile.am:
448         * BufferView.C:
449         * BufferView_pimpl.C:
450         * buffer.C:
451         * lyxfind.C:
452         * lyxfunc.C:
453         * text.C:
454         * text2.C:
455         * text3.C: adjust
456
457 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
458
459         * lyxtext.h:
460         * text.C:
461         * text2.C:
462         * rowpainter.C:
463         * BufferView_pimpl.C: rename textwidth -> maxwidth,
464         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
465
466 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
467
468         * Bidi.[Ch] (computeTables): const correctness
469         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
470         fill_hfill, fill_label_hfill and x from Row
471         * lyxtext.h: prepareToPrint returns a RowMetrics
472         * rowPainter.C: adjust
473         * text.C (prepareToPrint): use width, not textWidth. adjust
474         (redoParagraphInternal, cursorX): adjust
475         * text2.C (getColumnNearX): adjust
476         (init): put a default value to the top LyXText::width
477
478 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
479
480         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
481
482 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
483
484         * lyxtext.h: add FontIterator class
485
486         * text.C (FontIterator, operator*, operator->, operator++): add
487         (rowBreakPoint, setRowWidth): adjust (fixing a
488         rebreaking bug)
489
490 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
491
492         * BufferView_pimpl.C (workAreaDispatch): allow also
493         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
494
495 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
496
497         * text.C (rowBreakPoint): fix a bug showing with very large insets
498
499 2004-02-25  André Pönitz  <poenitz@gmx.net>
500
501         * text3.C:
502         * cursor.[Ch]: move some mathed specific code to mathed
503
504 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
505
506         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
507         use_tempdir in preferences
508         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
509         tempfile creation
510         * lyx_main.C: ensure that tempdir is valid
511         * lyxlex.h: correct typo
512         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
513         * paragraph.[Ch] (isMultiLingual): make const
514         * cursor.[Ch] (openable): make const
515
516 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
517
518         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
519
520 2004-02-20  André Pönitz  <poenitz@gmx.net>
521
522         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
523
524         * cursor.[Ch]: prepare for localized getStatus()
525
526         * lyxtext.h:
527         * tabular.C:
528         * text.C:
529         * text2.C:
530         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
531
532 2004-02-20  André Pönitz  <poenitz@gmx.net>
533
534         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
535
536 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
537
538         * text2.C (setCursorFromCoordinates): switch to absolute coords
539         (cursorUp): adjust
540         (cursorDown): adjust
541         * text3.C (dispatch): adjust
542
543 2004-02-16  André Pönitz  <poenitz@gmx.net>
544
545         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
546           insets/ChangeLog)
547
548         * cursor_slice.[Ch]: remove unneeded acessor function
549
550         * lyxtext.h: rename rtl() to isRTL()
551
552         * rowpainter.C:
553         * tabular.C:
554         * text.C:
555         * text2.C:
556         * text3.C: adjust
557
558 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
559
560         * rowpainter.C (paintSelection): coord fix
561
562 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
563
564         * Spacing.C: compile fix
565
566 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
567
568         * cursor.C (dispatch): restore current_ before returning
569
570 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
571
572         * text2.C (cursorUp, cursorDown): fix coords
573         (moveUp): fix crash
574
575 2004-02-12  André Pönitz  <poenitz@gmx.net>
576
577         * lyxtext.h:
578         * text.C:
579         * text2.C:
580         * text3.C: add LCursor & parameter to most cursor movement functions
581           remove usage of LyXText::cursorRow() and cursorPar()
582
583         * cursor.[Ch]: add textRow() needed members
584
585         * BufferView.C:
586         * BufferView_pimpl.C:
587         * paragraph.[Ch]:
588         * BufferView.C:
589         * BufferView_pimpl.C: adjust
590
591 2004-02-11  André Pönitz  <poenitz@gmx.net>
592
593         * lyxfunc.C:
594         * BufferView.[Ch]:
595         * BufferView_pimpl.C: shift undo/redo handling
596
597         * cursor.[Ch]: fix mathed crash
598
599         * lyxfind.C:
600         * lyxtext.h: move selectionAsText to LCursor
601
602         * output_latex.C:
603         * paragraph.C:
604         * text.C:
605         * text2.C:
606         * text3.C: adjust
607
608         * rowpainter.C: fix excessive drawing
609
610 2004-02-06  André Pönitz  <poenitz@gmx.net>
611
612         * BufferView.[Ch]:
613         * BufferView_pimpl.[Ch]:
614         * text3.C: move some text specific LFUN handling
615
616 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
617
618         * text3.C (checkInsetHit): adjust coords
619         * text2.C (getColumnNearX): adjust coords
620         (edit): adjust coords
621         * text.C (getRowNearY): add two asserts
622
623 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
624
625         * converter.C:
626         * format.C: add using std::distance to compile on gcc 2.95/stlport
627
628 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
629
630         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
631
632 2004-02-04  André Pönitz  <poenitz@gmx.net>
633
634         * BufferView.[Ch] (insertInset):
635         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
636
637         * text2.C:
638         * text3.C: adjust
639
640 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
641
642         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
643         on the default clause of the switch
644         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
645         wasn't catched by LCursor::dispatch
646
647 2004-02-03  André Pönitz  <poenitz@gmx.net>
648
649         * BufferView.C:
650         * cursor.[Ch]: some additional asserts
651
652         * undo.[Ch]: remove LyXText dependency in interface
653
654         * lyxfunc.C: adjust
655
656         * lyxtext.h (firstPar, lastPar): remove dead functions
657
658         * text.C:
659         * text2.C:
660         * text3.C:
661         * paragraph.[Ch]: adjust
662
663 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
664
665         * lyxfind.C (find): fix argument order in call to ::find
666
667 2004-02-02  André Pönitz  <poenitz@gmx.net>
668
669         * cursor.[Ch]: remove direct access to anchor
670
671         * text.C: remove findText() hack
672
673 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
674
675         * iterators.[Ch] (lockPath): remove in favour of...
676         * BufferView.[Ch] (setCursor): this addition
677         * BufferView.C (putSelectionAt): adjust
678         * undo.C (performUndoOrRedo): adjust
679         * lyxfunc.C (dispatch): adjust
680
681 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
682
683         * iterators.C (lockPath): add a missing slice
684         * undo.C (performUndoOrRedo): remove redundant positioning code
685
686 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
687
688         * vc-backend.C (scanMaster): ";" -> ';'
689
690 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
691
692         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
693         std::binary_function
694
695         * lyxtextclass.C (compare_name): rename to...
696         (LayoutNamesEqual): ...this
697
698         * lyxlex_pimpl.C (compare_tags): inherit from
699         std::binary_function, put back into anon namespace
700
701         * lyxfind.C (MatchString): inherig from std::binary_function
702         (findChange): use empty() istead of !size()
703
704         * format.C (FormatNamesEqual): new functor
705         (getFormat): use it
706         (getNumber): use it
707         (add): use it
708         (erase): use it
709         (setViewer): use it
710
711         * converter.C (compare_Converter): rename to...
712         (ConverterEqual): ...this, and fixup a bit.
713         (getConverter): use it, and make function const
714         (getNumber): use it, and make function const
715         (add): use it
716         (erase): use it:
717
718         * bufferlist.C: add using boost::bind
719
720         * MenuBackend.C (MenuNamesEqual): new functor
721         (hasMenu): use it, and make function const
722         (hasSubmenu): use nested bind to get rid of compare_memfun.
723
724 2004-01-30  André Pönitz  <poenitz@gmx.net>
725
726         * BufferView_pimpl.C:
727         * cursor.C:
728         * cursor.h:
729         * cursor_slice.[Ch]:
730         * lyxfunc.C:
731         * lyxtext.h:
732         * paragraph_funcs.C:
733         * paragraph_funcs.h:
734         * rowpainter.C:
735         * text.C:
736         * text2.C:
737         * text3.C: move some of the edit(x,y) handling to the insets
738         some coordinate changes.
739
740 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
741
742         * text.C: add using statements for std::advance and std::distance
743
744         * paragraph.C: add using statement for std::distance
745
746         * lyxfind.C: add using statement for std::advance
747
748         * cursor.C (region): remove std:: from swap
749         (openable): use nucleus in stead of operator->
750
751         * BufferView.C: add using statements for std::distance and std::swap
752
753 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
754
755         * iterators.C: Remove the pimple, move the needed structures to
756         the header file. Create accessor for the positions stack.
757         (asPosIterator): remove function
758
759         * PosIterator.C (PosIterator): move constructors to top of file
760         (PosIterator): reimplement the constructor taking a ParIterator in
761         terms of setFrom.
762         (setFrom): new function
763         (operator!=): inline it
764
765 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
766
767         * lyxfind.C (replaceAll): use std::advance
768
769         * iterators.h: inherit from std::iterator.
770
771         * PosIterator.C (advance, distance): remove
772         * PosIterator.h: interit from std::iterator.
773
774 2004-01-26  André Pönitz  <poenitz@gmx.net>
775
776         * BufferView.[Ch]:
777         * BufferView_pimpl.[Ch]:
778         * InsetList.[Ch]:
779         * PosIterator.[Ch]:
780         * buffer.h:
781         * bufferview_funcs.C:
782         * cursor.[Ch]:
783         * cursor_slice.h:
784         * factory.[Ch]:
785         * iterators.[Ch]:
786         * lyxfind.C:
787         * lyxfunc.C:
788         * lyxtext.h:
789         * output_docbook.C:
790         * output_latex.C:
791         * output_linuxdoc.C:
792         * output_plaintext.C:
793         * paragraph.[Ch]:
794         * paragraph_funcs.[Ch]:
795         * paragraph_pimpl.[Ch]:
796         * rowpainter.C:
797         * tabular.C:
798         * tabular.h:
799         * text.C:
800         * text2.C:
801         * text3.C: more IU:  dumps most of the rest of the mathcursor
802     implementation into cursor.[Ch]; "globalize" a bit of it.
803
804 2004-01-25  Angus Leeming  <leeming@lyx.org>
805
806         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
807
808 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
809
810         * LaTeXFeatures.h: add nice_ and nice() const
811         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
812
813 2004-01-20  André Pönitz  <poenitz@gmx.net>
814
815         * BufferView.[Ch]:
816         * BufferView_pimpl.C:
817         * PosIterator.C:
818         * bufferview_funcs.C:
819         * cursor.[Ch]:
820         * cursor_slice.[Ch]:
821         * factory.C:
822         * iterators.C:
823         * lyx_cb.C:
824         * lyxfind.C:
825         * lyxfunc.C:
826         * lyxtext.h:
827         * rowpainter.C:
828         * text.C:
829         * text2.C:
830         * text3.C:
831         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
832           LCursor and mathcursor parts to LCursor and InsetBase.
833
834 2004-01-15  André Pönitz  <poenitz@gmx.net>
835
836         * cursor_slice.[Ch]: add a few covienience functions
837
838         * funcrequest.[Ch]: remove BufferView * member
839
840         * BufferView_pimpl.C:
841         * cursor.C:
842         * factory.[Ch]:
843         * lyxfind.[Ch]:
844         * lyxfunc.C:
845         * lyxtext.h:
846         * text3.C:
847         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
848
849 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
850
851         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
852         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
853
854 2004-01-13  André Pönitz  <poenitz@gmx.net>
855
856         * textcursor.[Ch]:
857         * lyxtext.h: hide cursor and selection anchor behind accessor function
858
859         * BufferView.C:
860         * BufferView_pimpl.[Ch]:
861         * PosIterator.C:
862         * bufferview_funcs.C:
863         * cursor.h:
864         * lyxfind.C:
865         * lyxfunc.C:
866         * text.C:
867         * text2.C:
868         * text3.C:
869         * undo.C: adjust
870
871         * cursor.h:
872         * cursor_slice.[Ch]: some integer type changes for inset unification
873
874         * lyxcursor.[hC]: remove, it's CursorSlice now.
875
876         * Makefile.am:
877         * BufferView_pimpl.[Ch]:
878         * bufferview_funcs.C:
879         * cursor_slice.C:
880         * lyxtext.h:
881         * text.C:
882         * text2.C:
883         * text3.C:
884         * textcursor.[Ch]: adjust
885
886 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
887
888         * text2.C (undoSpan): add and use
889         * text.C (breakParagraph): use undoSpan (fix bug 578)
890         * lyxtext.h: adjust
891
892 2004-01-08  Angus Leeming  <leeming@lyx.org>
893
894         * BufferView_pimpl.C (MenuInsertLyXFile):
895         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
896         * lyxfunc.C (menuNew, open, doImport):
897         FileFilterList change to the FileDialog open and save functions.
898
899 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
900
901         * ShareContainer.h: make isEqual and isUnique adaptable
902
903         * CutAndPaste.C: make resetOwnerAndChanges adaptable
904
905 2004-01-07  Angus Leeming  <leeming@lyx.org>
906
907         * LyXAction.C:
908         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
909
910         * BufferView_pimpl.C (dispatch): act on these LFUNs.
911
912         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
913         functions replacing find, replace and replaceAll.
914
915         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
916         LFUN_WORDFIND(FORWARD|BACKWARD).
917
918 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
919
920         * text.C (breakParagraph): remove an outdated #warning
921
922 2004-01-07  André Pönitz  <poenitz@gmx.net>
923
924         * lyxfind.C: somewhat clearer logic
925
926         * text.C: prevent crash in cursorX on unitialized row cache
927
928 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
929
930         * lyxcursor.[Ch] (operator>): add
931         * textcursor.C (selStart, selEnd): use std::min and std::max
932
933 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
934
935         * Chktex.C: include boost/format.hpp
936
937 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
938
939         * InsetList.C: replace functor MathcIt with adaptable functor
940         InsetTablePosLess
941         (insetIterator): modify accordingly
942
943         * BranchList.h: move the BranchNamesEqual functor here from...
944         * BranchList.C: ... to here
945
946         * BranchList.C: new BranchListEqual fuctor, use it. Remove
947         SameName and match.
948         (add): replace a finding loop with std::find_if.
949
950 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
951
952         * output_docbook.C: moving LatexParam functionality into
953         .layout files
954
955 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
956
957         * buffer.C: increment format to 229.
958
959 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
960
961         * LaTeXFeatures.C:
962         * lyx_sty.[Ch]: remove minipageindent_def
963
964         * LyXAction.C:
965         * factory.C:
966         * lfuns.h:
967         * lyxfunc.C:
968         * text3.C: remove LFUN_INSET_MINIPAGE
969
970 2003-12-28  Angus Leeming  <leeming@lyx.org>
971
972         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
973
974 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
975
976         * text2.C (setParagraph): fix off-by-one crash
977
978 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
979
980         * output_docbook.C: header stuff for AGU
981
982 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
983
984         * text2.C (redoCursor): remove
985         * text.C:
986         * text3.C:
987         * BufferView_pimpl.C: remove calls to redoCursor and
988         setCursor(cursor.par(), cursor.pos()) all around
989
990 2003-12-15  Angus Leeming  <leeming@lyx.org>
991
992         * buffer.C: up the format to 228.
993
994 2003-12-15  André Pönitz  <poenitz@gmx.net>
995
996         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
997         slices
998
999         * Makefile.am:
1000
1001         * BufferView_pimpl.C:
1002         * cursor.[Ch]:
1003         * lyxcursor.[Ch]:
1004         * rowpainter.[Ch]:
1005         * lyxtext.h:
1006         * text.C:
1007         * text2.C:
1008         * text3.C: adjust
1009
1010 2003-12-15  Angus Leeming  <leeming@lyx.org>
1011
1012         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1013         than getFromGUIName to manipulate the color.
1014
1015 2003-12-14  Angus Leeming  <leeming@lyx.org>
1016
1017         * BranchList.[Ch]: minimize the API.
1018         (Branch::getBranch, getColor): now return a 'const &'.
1019         (Branch::setSelected) now returns a bool set to true if the
1020         selection status changes.
1021         (BranchList::clear, size, getColor, setColor, setSelected,
1022         allBranches, allSelected, separator): removed.
1023         (BranchList::find): new functions, returning the Branch with
1024         the given name.
1025         (BranchList::add, remove): return a bool indicating that
1026         the operation was successful.
1027
1028         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1029         new InsetBranch::isBranchSlected member function.
1030
1031         * LColor.[Ch]: mimimize the API.
1032         (fill): renamed as addColor and made private.
1033         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1034         versions of these functions taking a string arg have been removed.
1035
1036         * bufferparams.C (readToken):
1037         * lyxfunc.C (dispatch):
1038         * lyxrc.C (read): changes due to the altered BranchList and
1039         LColor APIs.
1040
1041         * factory.C (createInset, readInset): changes due to altered
1042         InsetBranch c-tor.
1043
1044 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1045
1046         * factory.C:
1047         * lyxfunc.C: remove insetminipage. "minipage-insert"
1048         now produces a frameless minipage box inset.
1049
1050 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1051
1052         * textcursor.[Ch] (selStart,selEnd): add new methods
1053         remove selection::start, end, use LyXCursor::operator<
1054         * lyxcursor.[Ch] (operator<): add
1055         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1056         * BufferView.[Ch] (unsetXSel): add
1057         * text2.C (clearSelection): use unsetXSel,adjust
1058         * text.C: adjust
1059         * text3.C: adjust
1060         * rowpainter.C: adjust
1061         * bufferview_funcs.C (put_selection_at): adjust
1062
1063 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1064
1065         * BufferView_pimpl.C: small coord. correction
1066
1067 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1068
1069         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1070         dragging over the splash screen.
1071
1072 2003-12-11  Angus Leeming  <leeming@lyx.org>
1073
1074         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1075         as it is now handled in LyXText::dispatch.
1076
1077         * text3.C (doInsertInset): remove a level of nesting.
1078
1079 2003-12-11  Angus Leeming  <leeming@lyx.org>
1080
1081         * factory.C (createInset): changes due to the changed interface to
1082         InsetCommandMailer::string2params.
1083
1084 2003-12-10  Angus Leeming  <leeming@lyx.org>
1085
1086         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1087         'dialog-show-new-inset <inset name>'
1088
1089 2003-12-10  Angus Leeming  <leeming@lyx.org>
1090
1091         * buffer.C: up the format to 227.
1092
1093         * factory.C: the box inset is now identified simply by 'Box'.
1094
1095 2003-12-10  Angus Leeming  <leeming@lyx.org>
1096
1097         * buffer.C: up the format to 226.
1098
1099         * factory.C: the note inset is now identified simply by 'Note'.
1100
1101 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1102
1103         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1104         when a pit is enough. Standarize a couple of loops.
1105
1106 2003-12-05  Angus Leeming  <leeming@lyx.org>
1107
1108         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1109         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1110         data to the re-worked "log" dialog.
1111
1112 2003-12-03  André Pönitz  <poenitz@gmx.net>
1113
1114         * PosIterator.C:
1115         * iterators.C:
1116         * lyxtext.h:
1117         * output_latex.C:
1118         * paragraph_funcs.C:
1119         * text.C:
1120         * text2.C: use Inset::getText instead of Inset::getParagraph
1121
1122 2003-12-03  André Pönitz  <poenitz@gmx.net>
1123
1124         * buffer.[Ch]:
1125         * lyxtext.h:
1126         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1127         InsetText::read() as LyXText::read()
1128
1129 2003-12-02  Angus Leeming  <leeming@lyx.org>
1130
1131         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1132         type. Add a comment in the implementation that the function uses
1133         the stream's bad() function rather than fail() as the std::streams
1134         would do.
1135
1136 2003-12-02  André Pönitz  <poenitz@gmx.net>
1137
1138         * lyxlex.[Ch]: make interface more similar to std::stream
1139
1140         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1141
1142 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1143
1144         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1145
1146 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1147
1148         * vspace.[Ch]: remove VSpace::NONE
1149
1150 2003-12-01  André Pönitz  <poenitz@gmx.net>
1151
1152         * buffer.[Ch]:
1153         * lyxtext.h: move ParagraphList member to LyXText
1154         rename LyXText::ownerParagraphs to LyXText::paragraph
1155
1156         * CutAndPaste.C:
1157         * bufferview_funcs.C:
1158         * iterators.[Ch]:
1159         * lyx_cb.C:
1160         * paragraph.C:
1161         * rowpainter.C:
1162         * tabular.C:
1163         * text.C:
1164         * text2.C:
1165         * text3.C: adjust
1166
1167         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1168
1169         * undo.C: fix cursor positioning
1170
1171 2003-12-01  John Levon  <levon@movementarian.org>
1172
1173         * BufferView_pimpl.C: fix a crash on exit with
1174         a buffer open
1175
1176 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1177
1178         * BranchList.C: fix setSelected() method.
1179
1180 2003-11-28  André Pönitz  <poenitz@gmx.net>
1181
1182         * ParagraphParameters.[Ch]:
1183         * ParameterStruct.h: remove space above/below from Paragraph to
1184          InsetVSpace
1185
1186         * BufferView_pimpl.C:
1187         * factory.C:
1188         * lyxfunc.C:
1189         * lyxtext.h:
1190         * output_latex.C:
1191         * paragraph.C:
1192         * paragraph_funcs.C:
1193         * rowpainter.[Ch]:
1194         * text.C:
1195         * text2.C:
1196         * text3.C: adjust
1197
1198 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1199
1200         * factory.C: Syntax change for CharStyles
1201
1202 2003-11-28  André Pönitz  <poenitz@gmx.net>
1203
1204         * BufferView.[Ch]:
1205         * BufferView.[Ch]:
1206         * buffer.[Ch]:
1207         * buffer.[Ch]: move LyXText member
1208
1209 2003-11-28  André Pönitz  <poenitz@gmx.net>
1210
1211         * BufferView.[Ch]: make LyXText * text a private member
1212
1213         * BufferView_pimpl.C:
1214         * cursor.C:
1215         * iterators.C:
1216         * lyx_cb.C:
1217         * lyxfind.C:
1218         * lyxtext.h:
1219         * rowpainter.[Ch]:
1220         * text.C:
1221         * text2.C:
1222         * undo.C: adjust
1223
1224         * output_plaintext.C: cleanup
1225
1226 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1227
1228         * buffer.C:
1229         * lyxtextclass.[Ch]: parametrize SGML document header
1230
1231 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1232
1233         * converter.[Ch]:
1234         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1235         getFlavor().
1236
1237 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1238
1239         * text2.C (setFont): rework using PosIterator (no more recursive)
1240         (setCharFont): no more needed
1241         (setLayout): no more selection cursors fiddling (done by redoCursor)
1242         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1243         destroy remaining ones)
1244
1245 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1246
1247         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1248         * lyxtext.h: ditto
1249         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1250         selection cursors
1251         * lyxfunc.C: adjust
1252         * text3.C: adjust + re-allow multi par depth changes
1253         * textcursor.C: simplify a bit
1254
1255 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1256
1257         * src/buffer.C:
1258         * src/lyxlayout.C:
1259         * src/lyxlayout.h:
1260         * src/lyxtext.h:
1261         * src/output_docbook.C:
1262         * src/output_latex.C:
1263         * src/paragraph.C:
1264         * src/paragraph.h:
1265         * src/sgml.C:
1266         * src/sgml.h:
1267         * src/text2.C: Introducing a number of tags parametrizing various
1268         XML formats that we may want to support
1269
1270 2003-11-25  André Pönitz  <poenitz@gmx.net>
1271
1272         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1273
1274         * lyxtext.h (leftMargin/rightMargin): simplify interface
1275
1276         * rowpainter.C:
1277         * text.C:
1278         * text2.C:
1279         * text3.C: adjust
1280
1281 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1282
1283         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1284         master file to any child files. Fixes bug 546.
1285
1286 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1287
1288         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1289
1290 2003-11-24  André Pönitz  <poenitz@gmx.net>
1291
1292         * rowpainter.C: simplification
1293
1294         * text2.C (updateCounters): remove call to redoParagraph on
1295         changed labels as this is far too expensive.
1296
1297 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1298
1299         * converter.C (convert): fix a crash: this function gets
1300         called with buffer == 0 from importer code.
1301
1302 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1303
1304         * text3.C (cursorPrevious): make sure that we do not compare
1305         iterators form different containers.
1306         (cursorNext): ditto
1307
1308         * rowpainter.C (paintSelection): make sure that we do not compare
1309         iterators from different containers.
1310
1311         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1312         iterators from different ParagraphList containers.
1313         [NEXT] ditto
1314
1315         * text2.C (LyXText): change order of initialization slightly
1316         (operator=): new function. copy all variables except cache_par_
1317         (moveUp): make sure that we do not compare iterators from
1318         different ParagraphList constainers.
1319         (moveDown): ditto
1320
1321         * text.C (firstPar): new function
1322         (lastPar): new function
1323         (endPar): new function
1324
1325         * lyxtext.h: move things around and group public functions, public
1326         variables, private functions, private variables
1327
1328 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1329
1330         * factory.C: change call to InsetERT constructor to avoid
1331         additional invocation of method status
1332         * text2.C (toggleInset): remove redundant update() call
1333         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1334         instead of a Bufferview pointer
1335
1336 2003-11-21  André Pönitz  <poenitz@gmx.net>
1337
1338         * rowpainter.C: simplification
1339
1340 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1341
1342         * text3.C (dispatch): make possible to extend a word/row selection
1343         with the mouse
1344
1345 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1346
1347         * lyxtext.h: x0_,y0_ -> xo_,yo_
1348         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1349         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1350         * rowpainter.C (paintRows): paint full paragraphs
1351
1352 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1355         screen coordinates)
1356
1357 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1358
1359         * lyxtext.h: add x0_, y0_
1360         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1361         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1362
1363 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1364
1365         * text2.C (setCursorIntern): move the x_target update here *
1366         * text3.C: change some bv() to true/false in calls to
1367         cursorUp/Down/Right/Left
1368         * cursor.C: use helper function.
1369
1370 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1371
1372         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1373         * paragraph_funcs.[Ch]: correct comment
1374         * rowpainter.C: do not paint selections away from bv->cursor()
1375         Fix a long standing selection painting bug.
1376         * text3.C: generalize mouse-selection code to LyXTexts other that
1377         top one
1378         * textcursor.C: do not use y coords if we can use par offsets
1379
1380 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1381
1382         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1383         cursor position after e.g. inset insert)
1384
1385 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1386
1387         * lyxfind.C (replace): adjust to locking removal + some
1388         code simplification
1389
1390 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1391
1392         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1393         of the path
1394
1395 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1396
1397         * lyxlayout.[Ch]:
1398         * output_docbook.C: XML sanitation: new layout
1399         parameters InnerTag and CommandDepth
1400
1401 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1402
1403         * BufferView_pimpl.C:
1404         * factory.C:
1405         * text3.C: Fix the insertion and modification of button-style
1406         insets
1407
1408 2003-11-13  André Pönitz  <poenitz@gmx.net>
1409
1410         * InsetList.[Ch]: remove deleteLyXText
1411
1412         * paragraph.[Ch]: cache beginOfBody position
1413
1414         * Bidi.C:
1415         * text.C:
1416         * text2.C:
1417         * text3.C: remove superfluous update() calls
1418
1419         * vspace.C: cleanup
1420
1421 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1422
1423         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1424         * BufferView.C (fitLockedInsetCursor): remove
1425         * cursor.[Ch] (getDim): add
1426         * text.C (getRowNearY): add faster version
1427         * text3.C: remove some update calls
1428
1429 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1430
1431         * LaTeXFeatures.C:
1432         * LyXAction.C:
1433         * MenuBackend.C:
1434         * MenuBackend.h:
1435         * dispatchresult.h:
1436         * factory.C:
1437         * lfuns.h:
1438         * lyxfunc.C:
1439         * lyxtextclass.C:
1440         * lyxtextclass.h:
1441         * text3.C: The Character Style /XML short element patch.
1442
1443 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1444
1445         * text3.C:
1446         * factory.C: Small step to solving 'unable to insert some insets'
1447         problem
1448
1449 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1450
1451         * cursor.[Ch] (updatePos): new function for updating the y
1452         position of the tip inset
1453         * bufferview_funcs.C (put_selection_at):
1454         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1455
1456 2003-11-11  André Pönitz  <poenitz@gmx.net>
1457
1458         * text.C: remove big comment on invalid Paragraph pointers as it is
1459         not valid anymore
1460
1461 2003-11-11  André Pönitz  <poenitz@gmx.net>
1462
1463         * text_funcs.[Ch]: merge with ...
1464
1465         * text.C: ... this
1466
1467         * lyxtext.h:
1468         * text2.C:
1469         * text3.C: adjust
1470
1471         * Makefile.am: remove text_funcs.[Ch]
1472
1473 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1474
1475         * cursor.C (getPos): return absolute cached y coord
1476
1477         * BufferView_pimpl.C (fitCursor): new simplistic code
1478         (workAreaDispatch): add a fitCursor call
1479
1480 2003-11-10  André Pönitz  <poenitz@gmx.net>
1481
1482         * BufferView.[Ch]:
1483         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1484
1485 2003-11-10  André Pönitz  <poenitz@gmx.net>
1486
1487         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1488         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1489         indicate that the cursor needs to leave an inset
1490
1491         * lyxtext.h: remove inset locking
1492
1493         * cursor.[Ch]: re-implement functionality provided by inset locking
1494
1495         * BufferView.[Ch]:
1496         * BufferView_pimpl.[Ch]:
1497         * LyXAction.C:
1498         * bufferview_funcs.[Ch]:
1499         * factory.C:
1500         * funcrequest.[Ch]:
1501         * iterators.C:
1502         * lyx_cb.C:
1503         * lyxfind.C:
1504         * lyxfunc.C:
1505         * text.C:
1506         * text2.C:
1507         * text3.C:
1508         * undo.C: adjust
1509
1510 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1511
1512         * PosIterator.[Ch]: replace the stack with a vector, add inset
1513         accesor
1514         * iterators.[C]: adjust
1515
1516 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1517
1518         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1519         replaced
1520         * paragraph_funcs.C (readParToken): put the correct id in the
1521         error item, not the id of the top paragraph
1522
1523 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1524
1525         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1526         * bufferview_funcs.C (put_selection_at): use the above
1527
1528 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1529
1530         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1531
1532 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1533
1534         * output_linuxdoc.h:
1535         * output_plaintext.h:
1536         * output.h:
1537         * output_docbook.h: add #include statements
1538
1539 2003-11-05  José Matos  <jamatos@lyx.org>
1540
1541         * output_docbook.[Ch]:
1542         * output_latex.[Ch]:
1543         * output_linuxdoc.[Ch]:
1544         * output_plaintext.[Ch]: New files for output formats.
1545         * output.[Ch]: New file for helper functions.
1546
1547         * buffer.[Ch]:
1548         * paragraph_funcs.[Ch]: output functions moved to new files.
1549
1550         * outputparams.h: rename of latexrunparams.h
1551
1552         * LaTeX.[Ch]:
1553         * buffer.[Ch]:
1554         * bufferlist.[Ch]:
1555         * converter.[Ch]:
1556         * exporter.C:
1557         * paragraph.[Ch]:
1558         * paragraph_funcs.[Ch]:
1559         * paragraph_pimpl.[Ch]:
1560         * tabular.[Ch]: rename ascii to plaintext
1561         and LatexRunParams to OutputParams.
1562
1563 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1564
1565         * iterators.[Ch] (text): require bv argument
1566         * undo.C (recordUndo):
1567         * lyxfunc.C (dispatch):
1568         * bufferview_funcs.C (put_selection_at): adjust
1569
1570 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1571
1572         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1573
1574 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1575
1576         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1577         nestings
1578
1579 2003-11-04  André Pönitz  <poenitz@gmx.net>
1580
1581         * cursor.[Ch]: restructure
1582
1583         * BufferView.[Ch]:
1584         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1585
1586         * iterators.[Ch] (asCursor): remove
1587
1588         * lfuns.h: remove LFUN_INSET_EDIT
1589
1590         * lyxfunc.C:
1591         * tabular.C:
1592         * text.C:
1593         * text2.C:
1594         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1595
1596 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1597
1598         * lyxfind.[Ch]: complete overhaul
1599         * BufferView_pimpl.C:
1600         * lyxfunc.C: adjust
1601         * paragraph.[Ch] (insert): add
1602
1603 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1604
1605         * BufferView.[Ch]:
1606         * lyxtext.h:
1607         * text.C: remove dead spellcheck code
1608
1609 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1610
1611         * dispatchresult.h: add a val setter
1612
1613         * cursor.C (dispatch): use a tempvar for data_[i]
1614
1615 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1616
1617         * PosIterator.[Ch]: compile fix
1618
1619 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1620
1621         * text.C (cursorPar): deactivate the cursor cache
1622
1623 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1624
1625         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1626
1627 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1628
1629         * text3.C (dispatch): adjust for new DisptchResult semantics.
1630
1631         * lyxfunc.C (dispatch): handle update when return from
1632         Cursor::dispatch, adjust for new DispatchResult semantics.
1633
1634         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1635         DispatchResult(true) mean to not update. Add class functions for
1636         setting dispatched and update, as well as reading.
1637
1638         * cursor.C (dispatch): don't handle update here
1639
1640 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1641
1642         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1643         * trans_mgr.C: adjust
1644
1645         * paragraph_funcs.C (readParToken): exception safety
1646
1647         * lyxvc.h: store the vcs pointer in a scoped_ptr
1648         * lyxvc.C: adjust
1649
1650         * lyxsocket.C (serverCallback): exception safety
1651
1652         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1653
1654         * ispell.C (clone): make it return a auto_ptr
1655
1656         * factory.C (createInset): exception safety
1657         (readInset): exception safety
1658
1659         * bufferlist.C (newBuffer): exception safety
1660
1661         * Thesaurus.C (Thesaurus): use initialization for aik_
1662
1663         * MenuBackend.C (expandToc): exception safety.
1664
1665 2003-11-03  André Pönitz  <poenitz@gmx.net>
1666
1667         * buffer.C:
1668         * buffer.h:
1669         * bufferview_funcs.C: remove getInsetFromId()
1670
1671         * lyxcursor.[Ch]:
1672         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1673
1674         * lyxfunc.C:
1675         * text2.C:
1676         * text3.C: adjust
1677
1678 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1679
1680         * PosIterator.C (distance, advance): new
1681         * bufferview_funcs.[Ch] (put_selection_at): new
1682         * iterators.[Ch] (lockPath): new
1683
1684 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1685
1686         * iterators.[Ch] (asPosIterator): added
1687         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1688         * PosIterator.[Ch]: added
1689
1690 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1691
1692         * text3.C:
1693         * lyxfunc.C:
1694         * cursor.C (dispatch):
1695         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1696
1697         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1698         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1699         contructor, add a class function dispatched. Remove operator>=
1700
1701 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1702
1703         * debug.C: only use the default constructor for debugstream
1704         (lyxerr) here.
1705
1706         * main.C (main): include debug.h and setup the lyxerr streambuf
1707         here.
1708
1709 2003-10-31  José Matos  <jamatos@lyx.org>
1710
1711         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1712
1713         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1714         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1715         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1716         * paragraph_pimpl.C (simpleTeXSpecialC):
1717         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1718         add LatexRunParams argument.
1719
1720         * exporter.C (Export): change call accordingly.
1721
1722         * latexrunparams.h: add new member to take care of the other backends.
1723 2003-10-30  José Matos  <jamatos@lyx.org>
1724
1725         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1726         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1727         factorise code for paragraph output.
1728         * buffer.[Ch]:
1729         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1730         move functions.
1731
1732 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1733
1734         * text3.C (dispatch):
1735         * lyxfunc.C (dispatch):
1736         * cursor.C (dispatch):
1737         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1738
1739         * dispatchresult.h: make the dispatch_result_t ctor explicit
1740
1741 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1742
1743         * sgml.[Ch]:
1744         * buffer.C: small refactoring of docbook stuff
1745
1746 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1747
1748         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1749         meaning.
1750
1751 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1752
1753         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1754         operator dispatch_result_t, and operators for == != and >=
1755
1756         * cursor.C (dispatch): adjust for operator dispatch_result_t
1757         removal. comment out call to update
1758
1759         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1760
1761 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1762
1763         * text3.C:
1764         * text2.C:
1765         * text.C:
1766         * lyxtext.h:
1767         * lyxfunc.C:
1768         * cursor.C:
1769         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1770         (dispatch):
1771
1772         * dispatchresult.h: new file, DispatchResult broken out of
1773         insets/insetbase.h
1774
1775         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1776
1777 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1778
1779         * text.C (rowBreakPoint): put a hack inside #if 0
1780
1781 2003-10-28  André Pönitz  <poenitz@gmx.net>
1782
1783         * lyxtext.h:
1784         * metricsinfo.C:
1785         * paragraph_funcs.C:
1786         * rowpainter.C:
1787         * text.C:
1788         * text2.C: general cleanup (lots of small stuff)
1789
1790 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1791
1792         * text2.C (cursorEnd): simple fix to the "end key goes to one
1793         before the end on last row" bug
1794
1795 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1796
1797         * text.C (backspace): fix the "zombie characters"
1798
1799 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1800
1801         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1802
1803 2003-10-27  André Pönitz  <poenitz@gmx.net>
1804
1805         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1806
1807         * factory.C: handle new InsetPagebreak, InsetLine
1808
1809         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1810         and move handling into new InsetPagebreak, InsetLine
1811
1812         * BufferView_pimpl.C:
1813         * LyXAction.C:
1814         * ParagraphParameters.C:
1815         * ParameterStruct.h:
1816         * lyxfunc.C:
1817         * lyxtext.h:
1818         * paragraph.C:
1819         * paragraph.h:
1820         * paragraph_funcs.C:
1821         * paragraph_pimpl.C:
1822         * rowpainter.C:
1823         * text.C:
1824         * text2.C:
1825         * text3.C: adjust
1826
1827 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1828
1829         * text.C:
1830         * lyxrow_funcs.[Ch]:
1831         * Bidi.C:
1832         * paragraph.C:
1833         * lyxtext.h:
1834         * rowpainter.C:
1835         * text2.C:
1836         * text3.C: remove lastPos uses in favour of Row::endpos
1837
1838 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1839
1840         * undo.C (performUndoOrRedo): fix two crashes by setting a
1841         cursor by hand and reordering some calls. Use bv->lockInset instead
1842         of inset->edit because the latter loses cursor information
1843
1844 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1845
1846         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1847         by Martin
1848         (rowBreakPoint): fix width. change point to point + 1.
1849         Add a missing check.
1850
1851 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1852
1853         * MenuBackend.C:
1854         * lyxfunc.C: fix (at least partly) the problems
1855         with the Nav menu and headers inside branch insets
1856         reported by Kayvan
1857
1858 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1859
1860         * paragraph.C (getChar): add strong asserts
1861
1862         * lyxrow_funcs.C (lastPos): remove hideous hack
1863
1864         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1865         (fill): adjust to that (avoid an infinite loop)
1866
1867 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1868
1869         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1870
1871 2003-10-23  André Pönitz  <poenitz@gmx.net>
1872
1873         * RowList_fwd.h: change list<> to vector<> to gain speed
1874         after suggestion from Alfredo
1875
1876 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1877
1878         * lyxtext.h: move the bidi stuff from here...
1879         * text.C: and here
1880         * text2.C: and here
1881         * Bidi.[Ch]: ... to here
1882
1883 2003-10-23  André Pönitz  <poenitz@gmx.net>
1884
1885         * lyxtext.h:
1886         * text.C (isLastRow, isFirstRow): new functions
1887
1888         * paragraph.h: new width cache member
1889
1890         * rowpainter.C: replace RowList::iterator with Row & where possible
1891
1892         * lyxfunc.C: replace several view()->text with a single call
1893
1894         * toc.C: fix 'unused' warning
1895
1896 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1897
1898         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1899         when woring with stream::pos_type
1900         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1901
1902 2003-10-22  André Pönitz  <poenitz@gmx.net>
1903
1904         * lyxtext.h:
1905         * text.C: use Row & instead of RowList::iterator
1906
1907         * lyxrow.h: rename end() to endpos()
1908
1909         * rowpainter.C:
1910         * text.C:
1911         * text2.C: adjust
1912
1913 2003-10-22  Angus Leeming  <leeming@lyx.org>
1914
1915         * buffer.[Ch] (fully_loaded): new member function, returning true
1916         only when the file has been loaded fully.
1917         Used to prevent the premature generation of previews and by the
1918         citation inset to prevent computation of the natbib-style label.
1919
1920         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1921         templates are all set up.
1922
1923         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1924
1925 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1926
1927         * text.C: fixed an "oops" in the "is a bit silly"
1928         bug fix
1929
1930 2003-10-21  André Pönitz  <poenitz@gmx.net>
1931
1932         * FuncStatus.[Ch]: small stuff, whitespace
1933
1934         * lyxfont.[Ch]: operator<<() for debug reasons
1935
1936         * lyxfunc.C:
1937         * lyxrow_funcs.C:
1938         * lyxtext.h: whitespace, spelling
1939
1940         * paragraph.C: naming of variables
1941
1942         * text.C:
1943         * text2.C: small stuff
1944
1945
1946 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1947
1948         * text.C: (1) finish off the inset display() work;
1949         (2) fix the "is a bit silly" bug (accessing char
1950         past end of par).
1951
1952 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1953
1954         * text.C: re-introduce display() for insets, fixing the
1955         various bugs (stretch of line above, math inset
1956         positioning, ...)
1957
1958 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1959
1960         * text.C (rightMargin): remove spurious semicolon
1961
1962         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1963         1415)
1964
1965 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1966
1967         * text3.C: fix one crash due to wrong cursor def
1968
1969 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1970
1971         * vc-backend.C (scanMaster): make the regex static
1972
1973         * LaTeX.C (scanAuxFile): make the regexs static
1974
1975         * text3.C (doInsertInset, dispatch, dispatch):
1976         * text2.C (cursorUp, cursorDown):
1977         * text.C (selectNextWordToSpellcheck):
1978         * BufferView_pimpl.C (dispatch):
1979         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1980
1981 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1982
1983         * lyxsocket.C: include <cerrno>
1984
1985 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1986
1987         * lyxfunc.C (dispatch): remove textcache stuff
1988
1989         * bufferlist.C (release): remove textcache stuff
1990         (closeAll): ditto
1991
1992         * TextCache.C: delete file
1993         * TextCache.h: delete file
1994
1995         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1996
1997         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1998         delete of the bv_->text.
1999         (resizeCurrentBuffer): remove texcache stuff
2000         (workAreaResize): ditto
2001
2002 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2003
2004         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2005         action.
2006
2007 2003-10-16  André Pönitz  <poenitz@gmx.net>
2008
2009         * lyxrow.[Ch]:
2010         * paragraph.h:
2011         * rowpainter.C:
2012         * text.C:
2013         * text2.C:
2014         * text3.C: speed up by storing y positions per paragraph plus per-row
2015         offset instead of having a 'full' y position in the row.
2016
2017 2003-10-15  André Pönitz  <poenitz@gmx.net>
2018
2019         * iterators.[Ch]:
2020         * iterators.[Ch]:
2021         * undo.[Ch]: make undo aware of inner insets
2022
2023 2003-10-14  Angus Leeming  <leeming@lyx.org>
2024
2025         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2026         static member functions LyX::ref() and LyX::cref.
2027         (lastfiles): new accessor functions for the new lastfiles_ member var.
2028         (addLyXView, views_): add a new LyXView to the list of views_.
2029         (updateInset): loop over all LyXViews to call their own updateInset
2030         member function, returning a pointer to the Buffer owning the inset.
2031
2032         * BufferView_pimpl.C (loadLyXFile):
2033         * MenuBackend.C (expandLastfiles):
2034         * bufferlist.C (MenuWrite, QuitLyX):
2035         lastfiles is no longer a global variable.
2036         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2037
2038         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2039         static function. Access through LyX::cref().emergencyCleanup().
2040
2041 2003-10-14  André Pönitz  <poenitz@gmx.net>
2042
2043         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2044
2045         * undo.[Ch]: restoring part of 'undo in insets'
2046
2047         * Makefile.am:
2048         * undo_funcs.[Ch]: merge with undo.[Ch]
2049
2050         * tabular.C: small cleansing stuff
2051
2052 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2053
2054         * paragraph_funcs.C (readParToken): report unknown insets as error
2055         boxes. Use the outer paragraph as location (also for unknown
2056         tokens).
2057
2058         * factory.C (readInset): do not abort on reading an unknown inset.
2059         Eat it and return 0.
2060
2061 2003-10-13  Angus Leeming  <leeming@lyx.org>
2062
2063         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2064
2065         * lyxrc.C: displayTranslator is now a function,
2066         declared in GraphicsTypes.h.
2067
2068 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2069
2070         * format.C: new placeholder $$a to pass the socket address.
2071
2072         * bufferlist.[Ch]: new function getBufferFromTmp.
2073
2074         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2075           files in the temporary dir.
2076
2077 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2078
2079         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2080
2081         * Makefile.am: add lyxsocket.[Ch].
2082
2083         * lyx_main.C (error_handler): handle SIGPIPE.
2084
2085 2003-10-13  André Pönitz  <poenitz@gmx.net>
2086
2087         * BufferView_pimpl.C:
2088         * lyxtext.h:
2089         * text.C:
2090         * text2.C:
2091         * text3.C:
2092         * undo_funcs.[Ch]: use paroffset_type instead of
2093           ParagraphList::iterators to prevent multiple conversion
2094           (and get a more robust interface)
2095
2096 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2097
2098         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2099         * lyxtext.h: ditto
2100         * text3.C (dispatch): ditto
2101
2102 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2103
2104         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2105         move the onlyfile, use onlyfile instead of foundfile in a couple
2106         of places.
2107
2108         * DepTable.C (update): flush the error stream a bit more
2109
2110 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2111
2112         * lyxserver.C (callback): adjust
2113
2114         * lyxfunc.C (getStatus): add a missing brace in commented code
2115         (ensureBufferClean): reindent
2116         (dispatch): delete version taking a string
2117
2118 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2119
2120         * LaTeX.C (deplog): move found file handlig from here...
2121         (handleFoundFile): .. to new function here.
2122         (deplog): make sure to discover several files mentioned on the
2123         same log line.
2124
2125 2003-10-10  André Pönitz  <poenitz@gmx.net>
2126
2127         * lyxfunc.C:
2128         * lyxtext.h:
2129         * tabular.C:
2130         * text.C:
2131         * text2.C:
2132         * text3.C: fix some of the tabular crashes
2133
2134 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2135
2136         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2137
2138         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2139
2140 2003-10-09  André Pönitz  <poenitz@gmx.net>
2141
2142         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2143
2144         * BufferView.C:
2145         * BufferView_pimpl.C:
2146         * bufferview_funcs.C:
2147         * lyx_cb.C:
2148         * lyxcursor.C:
2149         * lyxfind.C:
2150         * lyxfunc.C:
2151         * lyxtext.h:
2152         * text.C:
2153         * text2.C:
2154         * text3.C:
2155         * text_funcs.[Ch]:
2156         * textcursor.[Ch]:
2157         * undo_funcs.C: adjust
2158
2159 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2160
2161         * text2.C (incrementItemDepth): new function, use a backtracking
2162         algorithm to discover the correct item depth.
2163         (resetEnumCounterIfNeeded): new function, use a backtracking
2164         algorithm to discover if counter reset is needed.
2165         (setCounter): use them. Simplify a bit. Add different labels for
2166         different item depths for itemize.
2167
2168         * paragraph.C (Paragraph): remove initialization of enumdepth
2169         (operator=): ditto
2170
2171         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2172         enumerate and itemize. Change the type of itemdepth to signed char.
2173
2174 2003-10-08  André Pönitz  <poenitz@gmx.net>
2175
2176         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2177           thing assignable.
2178         * text.C:
2179         * text2.C: adjust
2180
2181         * tabular.[Ch]: fix crash after 'row-insert'
2182
2183 2003-10-08  Angus Leeming  <leeming@lyx.org>
2184
2185         Fix doxygen warnings.
2186
2187         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2188         Remove CutAndPaste:: prefix from header file declaration.
2189
2190         * LColor.h (fill): remove LColor:: prefix from declaration.
2191
2192         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2193         use lyx::depth_type rather than Paragraph::depth_type so that
2194         header file and .C file match.
2195
2196         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2197
2198         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2199         * aspell.C: \file aspell_local.C -> \file aspell.C
2200         * gettext.C: \file gettext.C -> \file src/gettext.C
2201         * gettext.h: \file gettext.h -> \file src/gettext.h
2202         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2203         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2204         * text.C: \file text.C -> \file src/text.C
2205
2206         * toc.C: move comment so that doxygen is not confused.
2207
2208 2003-10-07  Angus Leeming  <leeming@lyx.org>
2209
2210         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2211
2212 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2213
2214         * aspell.C:
2215         * aspell_local.h: add forgotten std::string's.
2216
2217 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2218
2219         * LaTeXFeatures.C:
2220         * LyXAction.C:
2221         * factory.C:
2222         * lfuns.h:
2223         * lyxfunc.C:
2224         * text3.C: The Box patch. Fancybox support, minipage, parbox
2225
2226 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2227
2228         * CutAndPaste.h:
2229         * DepTable.h:
2230         * FloatList.h:
2231         * LaTeXFeatures.h:
2232         * ParagraphParameters.h:
2233         * TextCache.h:
2234         * Thesaurus.h:
2235         * bufferlist.h:
2236         * exporter.h:
2237         * importer.h:
2238         * lastfiles.h:
2239         * lyxfind.h:
2240         * lyxfont.h:
2241         * lyxlex.h:
2242         * lyxtextclasslist.h:
2243         * messages.h:
2244         * paragraph.h:
2245         * paragraph_pimpl.C:
2246         * textcursor.h: add <string> and other small fixes to make Lars'
2247         std::string patch compile with STLport.
2248
2249 2003-10-06  Angus Leeming  <leeming@lyx.org>
2250
2251         * LColor.h: Add missing #include <string>.
2252
2253 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2254
2255         * All most all file in all subdirs: Make <string> be the prefered
2256         way of getting to std::string, add using declarations.
2257
2258 2003-10-06  André Pönitz  <poenitz@gmx.net>
2259
2260         * metricsinfo.C: initialize LyXFont before changing attribute.
2261         (fixes the 'math in \emph is upright' bug)
2262
2263 2003-10-06  André Pönitz  <poenitz@gmx.net>
2264
2265         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2266
2267 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2268
2269         * graph.C:
2270         * paragraph_pimpl.C: Small fixes to build using STLport
2271
2272 2003-10-02  André Pönitz  <poenitz@gmx.net>
2273
2274         * lyxfunc.C:
2275         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2276
2277 2003-10-01  André Pönitz  <poenitz@gmx.net>
2278
2279         * factory.C: assert early
2280
2281 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2282
2283         * lyx_main.C: remove the global debug object
2284
2285         * debug.h: adjust for new debugstream
2286
2287         * debug.C: adjust for new debugstream and keep the global debug
2288         object here.
2289
2290 2003-09-22  Angus Leeming  <leeming@lyx.org>
2291
2292         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2293         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2294         an incomplete class LyXFont.
2295
2296 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2297
2298         * factory.C: bug fix in branches
2299
2300 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2301
2302         * lyxfunc.C (processKeySym): adjust
2303         (dispatch): adjust
2304         (dispatch): change arg name from ev to func, adjust
2305         (sendDispatchMessage): ditto
2306
2307         * lyx_main.C (defaultKeyBindings): adjust keybindings
2308         (deadKeyBindings): ditto
2309
2310         * kbsequence.C (addkey): return a FuncRequest
2311
2312         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2313
2314         * kbmap.C (bind): take a FuncRequest as arg, adjust
2315         (read): adjust
2316         (lookup): adjust
2317         (defkey): change to take a FuncRequest as arg, adjust
2318         (findbinding): take a FuncRequest as arg, adjust.
2319
2320         * funcrequest.h (operator=): added
2321
2322         * funcrequest.C (FuncRequest): default kb_action changed from
2323         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2324
2325         * buffer.C (dispatch): simplify
2326         (dispatch): adjust to take a FuncRequest as arg, adjust
2327
2328         * boost.C (assertion_failed): change assertion message slightly
2329
2330         * ToolbarBackend.C (read): simplify
2331
2332         * MenuBackend.C (binding): adjust call to findbinding, add a
2333         message if no binding is found.
2334         (read): simplify
2335         (expandToc): correct by adding a empty FuncRequest
2336
2337         * LyXAction.C: include <boost/assert.hpp>
2338         (isPseudoAction): delete function
2339         (LookupFunc): change name to...
2340         (lookupFunc): this. change return type to FuncRequest.
2341         (getActionName): take kb_action as arg, simplify
2342         (funcHasFlag): add an assert, simplify.
2343
2344 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2345
2346         * toc.C (action): return a FuncRequest, simplify
2347
2348         * lyxfunc.C (processKeySym): adjust
2349         (getStatus): delete version that takes an int.
2350         (getStatus): adjust
2351         (dispatch): delete version that takes action as int
2352         (dispatch): adjust
2353         (sendDispatchMessage): simplify and adjust
2354
2355         * funcrequest.C (getArg): take unsigned int as arg
2356
2357         * ToolbarBackend.C (read): adjust
2358         (add): delete version that takes func as a string.
2359         (getIton): take a FuncRequest as arg
2360
2361         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2362         action.
2363
2364         * MenuBackend.C (MenuItem): add a new construct that only takes a
2365         Kind, simplify the constructor use for submenus.
2366         (add): adjust
2367         (expandLastfiles): adjust
2368         (expandDocuments): adjust
2369         (expandFormats): adjust
2370         (expandFloatListInsert): adjust
2371         (expandFloatInsert): adjust
2372         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2373
2374         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2375         Remove class variables lyx_pseudo_map and lyx_arg_map
2376
2377         * LyXAction.C (searchActionArg): delete function
2378         (getPseudoAction): delete function
2379         (retrieveActionArg): delete function
2380         (LookupFunc): make it return kb_action, simplify.
2381         (getActionName): simplify
2382
2383         * factory.C (createInset): fix new bug
2384
2385 2003-09-19  Angus Leeming  <leeming@lyx.org>
2386
2387         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2388         masterFilename_ parameter in the include inset.
2389
2390         * factory.C (createInset): changes due to the changes to InsetInclude.
2391
2392 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2393
2394         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2395
2396 2003-09-18  Angus Leeming  <leeming@lyx.org>
2397
2398         * buffer.C:
2399         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2400         Inset::fillWithBibKeys.
2401         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2402
2403 2003-09-18  Angus Leeming  <leeming@lyx.org>
2404
2405         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2406         variables.
2407         (ctor): pass and store a 'Buffer const &'
2408         (buffer): new member function.
2409
2410         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2411         '*this' to the LaTeXFeatures ctor.
2412
2413 2003-09-18  Angus Leeming  <leeming@lyx.org>
2414
2415         * LColor.h:
2416         * lyxfont.C:
2417         * lyxfont.h:
2418         * lyxtext.h:
2419         * text.C: rename EnumLColor as LColor_color.
2420
2421 2003-09-18  Angus Leeming  <leeming@lyx.org>
2422
2423         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2424         remove #include "insets/insetbase.h" from cursor.h.
2425
2426 2003-09-18  Angus Leeming  <leeming@lyx.org>
2427
2428         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2429         InsetOld_code to remove #include "inset.h".
2430
2431         * iterators.C: add #include "insets/inset.h"
2432
2433 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2434
2435         * BufferView.C: remove more locking stuff that apparently doesn't
2436         do anything sensible.
2437
2438 2003-09-16  André Pönitz  <poenitz@gmx.net>
2439
2440         * paragraph.[Ch]:
2441         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2442           performance boost.
2443
2444 2003-09-16  Angus Leeming  <leeming@lyx.org>
2445
2446         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2447
2448         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2449         arg/return type.
2450
2451         * paragraph.h: remove #include "lyxfont.h". Forward declare
2452         LyXFont_size.
2453
2454 2003-09-16  Angus Leeming  <leeming@lyx.org>
2455
2456         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2457         of support/textutils.h.
2458         (isWord): move the contents of support/textutils.h's IsWordChar here.
2459
2460         * buffer.C:
2461         * lyxfind.C:
2462         * rowpainter.C:
2463         * text.C:
2464         * text2.C: add #include "paragraph.h".
2465
2466         * rowpainter.C:
2467         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2468
2469 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * main.C:
2472         * lyx_main.C:
2473         * lyx_cb.C:
2474         * buffer.C:
2475         * LaTeX.C: use namespace alias for lyx::support::os
2476
2477 2003-09-16  Angus Leeming  <leeming@lyx.org>
2478
2479         * bufferparams.C:
2480         * bufferview_funcs.C:
2481         * factory.C:
2482         * lyxfunc.C:
2483         * paragraph_pimpl.C:
2484         * rowpainter.C:
2485         * text.C: add #include "LColor.h".
2486
2487 2003-09-16  Angus Leeming  <leeming@lyx.org>
2488
2489         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2490         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2491         return LyXFont &.
2492         Store the FontBits::color variable as an int rather than as an
2493         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2494         file.
2495
2496         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2497         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2498         string calls together.
2499
2500         * lyxrc.C: add #include "LColor.h".
2501
2502 2003-09-15  Angus Leeming  <leeming@lyx.org>
2503
2504         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2505         a cow_ptr.
2506
2507 2003-09-15  Angus Leeming  <leeming@lyx.org>
2508
2509         * LColor.h: add an EnumLColor wrapper for LColor::color.
2510
2511         * lyxfont.[Ch] (color, setColor, realColor):
2512         * lyxtext.h, text.C (backgroundColor):
2513         pass EnumLColor args to/from the functions, rather than LColor::color
2514         ones.
2515
2516         * lyxfont.h:
2517         * lyxtext.h: forward declare EnumLColor.
2518
2519         * lyx_main.C: add #include "LColor.h".
2520
2521 2003-09-15  Angus Leeming  <leeming@lyx.org>
2522
2523         * .cvsignore: add lyx-gtk.
2524
2525 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2526
2527         * Chktex.C
2528         * LaTeX.C
2529         * LaTeXFeatures.C
2530         * ParagraphParameters.C
2531         * Spacing.C
2532         * buffer.C
2533         * bufferparams.C
2534         * bufferview_funcs.C
2535         * chset.C
2536         * counters.C
2537         * funcrequest.C
2538         * lyxfont.C
2539         * lyxgluelength.C
2540         * lyxlength.C
2541         * paragraph.C
2542         * paragraph_funcs.C
2543         * text3.C
2544         * vc-backend.C: remove usage of STRCONV
2545
2546 2003-09-15  Angus Leeming  <leeming@lyx.org>
2547
2548         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2549         explicitly define the color passed to the painter.
2550
2551 2003-09-15  Angus Leeming  <leeming@lyx.org>
2552
2553         * bufferparams.C (BufferParams): reorder member initializers to avoid
2554         compiler warning.
2555
2556 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2557
2558         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2559         * text.C (updateRowPositions): remove an unusual nop
2560
2561 2003-09-12  André Pönitz  <poenitz@gmx.net>
2562
2563         * BufferView_pimpl.C:
2564         * Bullet.C:
2565         * layout.h:
2566         * lyxfunc.C:
2567         * lyxlayout.[Ch]:
2568         * lyxtextclass.C:
2569         * rowpainter.C:
2570         * text.C:
2571         * text2.C:
2572         * Counters.[Ch]: finish the 'automatic counters' job
2573
2574 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2575
2576         * aspell.C: include <boost/assert.cpp> (compile fix)
2577
2578 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2579
2580         * boost.C (assertion_failed): use lyx::support::abort instead of
2581         assert.
2582
2583 2003-09-10  Angus Leeming  <leeming@lyx.org>
2584
2585         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2586         with their _fwd progeny.
2587
2588 2003-09-09  Angus Leeming  <leeming@lyx.org>
2589
2590         134 files throughtout the source tree: replace 'using namespace abc;'
2591         directives with the appropriate 'using abc::xyz;' declarations.
2592
2593 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2594
2595         * boost.C (emergencyCleanup): moved here from LAssert.c
2596         (assertion_failed): new function, called by BOOST_ASSERT
2597
2598         * several files: change Assert to BOOST_ASSERT
2599
2600 2003-09-09  Angus Leeming  <leeming@lyx.org>
2601
2602         * buffer.[Ch]: Add an Impl class and move Buffer's member
2603         variables into it. As a result move several header files out of
2604         buffer.h.
2605
2606         Add header files to lots of .C files all over the tree as a result.
2607
2608 2003-09-09  Angus Leeming  <leeming@lyx.org>
2609
2610         * buffer.[Ch]: make Buffer's member variables private. Add
2611         accessor functions.
2612
2613         Lots of changes all over the tree as a result.
2614
2615 2003-09-08  Angus Leeming  <leeming@lyx.org>
2616
2617         * graph.C: #include <config.h>.
2618
2619 2003-09-08  Angus Leeming  <leeming@lyx.org>
2620
2621         * BranchList.C:
2622         * BufferView.C:
2623         * BufferView_pimpl.C:
2624         * CutAndPaste.C:
2625         * DepTable.C:
2626         * LaTeX.C:
2627         * LaTeXFeatures.C:
2628         * LyXAction.C:
2629         * MenuBackend.C:
2630         * TextCache.C:
2631         * aspell.C:
2632         * buffer.C:
2633         * bufferlist.C:
2634         * changes.C:
2635         * chset.C:
2636         * converter.C:
2637         * counters.C:
2638         * debug.C:
2639         * graph.C:
2640         * ispell.C:
2641         * lyx_cb.C:
2642         * lyxfind.C:
2643         * lyxfunc.C:
2644         * lyxlex_pimpl.C:
2645         * lyxrc.C:
2646         * lyxrow.C:
2647         * paragraph.C:
2648         * rowpainter.C:
2649         * texrow.C:
2650         * text.C:
2651         * text2.C:
2652         * toc.C: remove redundant using directives.
2653
2654 2003-09-07  Angus Leeming  <leeming@lyx.org>
2655
2656         * LaTeXFeatures.h: remove #include "support/types.h".
2657         * ToolbarBackend.h: remove #include <algorithm>.
2658         * changes.h: remove #include <ctime>.
2659         * debug.h: remove #include <iosfwd>.
2660         * graph.h: remove #include "support/std_string.h".
2661         * lyx_main.h: remove #include <csignal>.
2662         * lyxlex_pimpl.h: remove #include <fstream>.
2663         * sgml.h: remove #include <algorithm>, <utility>.
2664         * toc.h: remove #include "support/std_ostream.h".
2665         Add #include <iosfwd>.
2666
2667 2003-09-07  Angus Leeming  <leeming@lyx.org>
2668
2669         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2670
2671         * converter.h: forward declare LatexRunParams.
2672         * encoding.h: remove #include "lyxrc.h".
2673         * lyxtext.h: remove #include "LColor.h".
2674         * lyxtextclass.h: remove #include "support/types.h".
2675         * trans.h: remove #include "tex-accent.h".
2676         * trans_mgr.h: remove #include "tex-accent.h".
2677         * insets/inset.h: remove #include "support/types.h", <vector>.
2678         * insets/insetcollapsable.h: remove #include "LColor.h".
2679         * insets/insetinclude.h: remove #include "dimension.h".
2680         * insets/insetlatexaccent.h: remove #include "dimension.h".
2681         * insets/insetoptarg.h:: remove #include "insettext.h".
2682         * insets/insettext.h: remove #include "dimension.h",
2683         <boost/shared_ptr.hpp>
2684
2685         * insets/renderers.h: add #include "dimension.h".
2686         * insets/updatableinset.h: add #include "support/types.h".
2687
2688         * many .C files: Associated changes.
2689
2690 2003-09-06  Angus Leeming  <leeming@lyx.org>
2691
2692         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2693         one, inside testInvariant.
2694
2695         * PrinterParams.C: new file.
2696         * PrinterParams.[Ch]: move the function bodies out of line.
2697
2698 2003-09-06  Angus Leeming  <leeming@lyx.org>
2699
2700         * ParagraphParameters.h: forward declare ParameterStruct rather than
2701         including its header file.
2702         (depth): moved out-of-line.
2703
2704 2003-09-06  Angus Leeming  <leeming@lyx.org>
2705
2706         * BufferView_pimpl.h:
2707         * kbmap.h:
2708         * kbsequence.h:
2709         * lyxfunc.h: forward declare LyXKeySym rather than
2710         #include "frontends/LyXKeySym.h".
2711
2712         * BufferView_pimpl.C:
2713         * kbmap.C:
2714         * kbsequence.C:
2715         * lyxfunc.C: associated changes.
2716
2717 2003-09-06  Angus Leeming  <leeming@lyx.org>
2718
2719         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2720         As a result, can remove the #include "insets/inset.h" from BufferView.h
2721
2722 2003-09-06  Angus Leeming  <leeming@lyx.org>
2723
2724         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2725         As a result, can remove the #include "insets/inset.h" from BufferView.h
2726
2727 2003-09-06  Angus Leeming  <leeming@lyx.org>
2728
2729         * buffer_funcs.C:
2730         * buffer.h:
2731         * bufferlist.C:
2732         * BufferView.C:
2733         * bufferview_funcs.C:
2734         * BufferView_pimpl.C:
2735         * CutAndPaste.C:
2736         * lyx_cb.C:
2737         * lyxfunc.C:
2738         * paragraph.h:
2739         * ParagraphParameters.C:
2740         * tabular.C:
2741         * text3.C:
2742         * toc.C:
2743         * undo_funcs.C:
2744         * frontends/controllers/ControlDocument.C:
2745         * insets/insetcaption.C: rearrange the #includes into some sort of
2746         coherent order.
2747
2748         * buffer.h: remove #includes ErrorList.h, undo.h
2749
2750 2003-09-06  Angus Leeming  <leeming@lyx.org>
2751
2752         * support/types.h: add a 'depth_type' typedef, used to store the
2753         nesting depth of a paragraph.
2754
2755         * paragraph.h:
2756         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2757         defining explicitly.
2758
2759         * buffer.h:
2760         * paragraph_funcs.h:
2761         * ParagraphParameters.h:
2762         * sgml.h: use lyx::depth_type rather than Paragraph or
2763         ParameterStruct's depth_type.
2764
2765         * buffer.h
2766         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2767
2768         * BufferView.C:
2769         * BufferView_pimpl.C:
2770         * CutAndPaste.C:
2771         * ParagraphParameters.C:
2772         * buffer_funcs.C:
2773         * bufferlist.C:
2774         * bufferview_funcs.C:
2775         * lyx_cb.C:
2776         * lyxfunc.C:
2777         * tabular.C:
2778         * text3.C:
2779         * toc.C:
2780         * undo_funcs.C:
2781         * frontends/LyXView.C:
2782         * frontends/controllers/ControlDocument.C:
2783         * frontends/controllers/ControlErrorList.C:
2784         * insets/insetbibitem.C:
2785         * insets/insetbranch.C:
2786         * insets/insetcaption.C:
2787         * insets/insetcollapsable.C:
2788         * insets/insetenv.C:
2789         * insets/insetert.C:
2790         * insets/insetfloat.C:
2791         * insets/insetfoot.C:
2792         * insets/insetfootlike.C:
2793         * insets/insetnewline.C:
2794         * insets/insetquotes.C:
2795         * insets/insettabular.C:
2796         * insets/insettext.C:
2797         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2798
2799         * frontends/controllers/ControlChanges.C: #include "changes.h".
2800
2801 2003-09-06  Angus Leeming  <leeming@lyx.org>
2802
2803         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2804         than #including paragraph.h.
2805
2806         * ParagraphList.h:
2807         * RowList.h: deleted. Superfluous.
2808
2809         * CutAndPaste.h:
2810         * iterators.h:
2811         * lyxcursor.h:
2812         * lyxtext.h:
2813         * text_funcs.h:
2814         * undo.h:
2815         * undo_funcs.h:
2816         * insets/inset.h:
2817         * insets/insettext.h: use ParagraphList_fwd.h rather than
2818         ParagraphList.h.
2819
2820         * paragraph.h: don't forward declare ParagraphList.
2821
2822         * buffer.h:
2823         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2824         rather than ParagraphList.h. paragraph.h is still needed for the
2825         Paragraph::depth_type parameters.
2826
2827         * textcursor.h: enable it to compile stand-alone in light of the
2828         above changes.
2829
2830         * bufferview_funcs.C:
2831         * iterators.C:
2832         * lyxfunc.C:
2833         * lyxrow_funcs.C:
2834         * paragraph.C:
2835         * rowpainter.C:
2836         * text.C:
2837         * text2.C:
2838         * text3.C:
2839         * text_funcs.C:
2840         * textcursor.C:
2841         * undo.C:
2842         * frontends/controllers/ControlParagraph.C:
2843         * frontends/controllers/ControlTabular.C:
2844         * insets/insetmarginal.C:
2845         * insets/insetminipage.C:
2846         * insets/insetnote.C:
2847         * insets/insetoptarg.C: add header files needed to compile again.
2848
2849 2003-09-06  Angus Leeming  <leeming@lyx.org>
2850
2851         * RowList_fwd.h: new file, forward-declaring Row rather than
2852         #including lyxrow.h.
2853
2854         * lyxrow_funcs.h:
2855         * lyxtext.h:
2856         * paragraph.h:
2857         * insets/insettext.h: use it instead of RowList.h
2858
2859         * bufferview_funcs.C:
2860         * lyxfunc.C:
2861         * lyxrow_funcs.C:
2862         * paragraph.C:
2863         * rowpainter.C:
2864         * text.C:
2865         * text2.C:
2866         * text3.C: #include "RowList.h".
2867
2868 2003-09-05  Angus Leeming  <leeming@lyx.org>
2869
2870         * factory.C (createInset):
2871         * vspace.C (c-tor): replace sscanf call with an istringstream.
2872         * ispell.C: re-add missing HP/UX headers.
2873         * lyxserver.C: re-add missing  os2 headers.
2874
2875 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2876
2877         * BranchList.C:
2878         * graph.C:
2879         * ispell.C:
2880         * lastfiles.C:
2881         * lyx_cb.C:
2882         * lyxserver.C:
2883         * texrow.C:
2884         * text3.C: re-add missing system headers, needed for 2.95.2.
2885
2886 2003-09-05  Angus Leeming  <leeming@lyx.org>
2887
2888         Changes most place everywhere due to the removal of using directives
2889         from support/std_sstream.h.
2890
2891 2003-09-05  Angus Leeming  <leeming@lyx.org>
2892
2893         Replace LString.h with support/std_string.h,
2894         Lsstream.h with support/std_sstream.h,
2895         support/LIstream.h with support/std_istream.h,
2896         support/LOstream.h with support/std_ostream.h.
2897
2898         Changes resulting throughout the tree.
2899
2900 2003-09-05  Angus Leeming  <leeming@lyx.org>
2901
2902         * sgml.h: ensure that the header file can be compiled stand-alone.
2903         * *.C: strip out redundant #includes. (320 in total.)
2904
2905 2003-09-04  Angus Leeming  <leeming@lyx.org>
2906
2907         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2908         here (from getPackages).
2909
2910         * debug.[Ch]: add a new EXTERNAL tag.
2911
2912 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2913
2914         * text2.C (cursorEnd): simplify
2915         (setCursor): adjust
2916         (getColumnNearX): adjust
2917
2918         * text.C (computeBidiTables): adjust
2919         (fill): adjust
2920
2921         * rowpainter.C (paintChars): adjust
2922         (paintSelection): adjust
2923         (paintChangeBar): adjust
2924         (paintText): adjust
2925
2926         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2927         lastPos instead.
2928         (numberOfSeparators): adjust
2929
2930 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2931
2932         * LyXAction.C:
2933         * box.[Ch]:
2934         * lfuns.h:
2935         * lyxfunc.C:
2936         * text3.C: Restricts the mouse click functionality
2937         of insets like bibtex, include, toc and floatlist to the visible
2938         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2939         up the dialogs. Cursor has to be in front of the inset (i.e.
2940         start of row) for this to function.
2941
2942 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2943
2944         * bufferview_funcs.C (currentState): output row information
2945
2946 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2947
2948         * bufferview_funcs.C (currentState): output paragraph position
2949
2950 2003-09-04  Angus Leeming  <leeming@lyx.org>
2951
2952         * FloatList.h: move out #include "Floating.h".
2953         * LaTeX.h: move out #include "DepTable.h".
2954         * LyXAction.h: move out #include "funcrequest.h".
2955         * buffer.h: move out #include "author.h", "iterators.h".
2956         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2957         * lyx_main.h: move out #include "errorlist.h".
2958         * lyxfunc.h: move out #include "FuncStatus.h".
2959         * lyxtext: move out #include "lyxcursor.h".
2960         * paragraph_pimpl.h: move out #include "counters.h".
2961
2962 2003-09-03  Angus Leeming  <leeming@lyx.org>
2963
2964         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2965         preamble_snippets list, enabling us to add snippets to the preamble
2966         only if the snippet was not there already.
2967
2968 2003-09-04  Angus Leeming  <leeming@lyx.org>
2969
2970         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2971
2972 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2973
2974         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2975         update
2976
2977 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2978
2979         * BranchList.C: point fix, earlier forgotten
2980
2981 2003-09-02  Angus Leeming  <leeming@lyx.org>
2982
2983         * box.C (contains): renamed from 'contained' after a fantastic
2984         amount of hot air.
2985
2986 2003-09-02  John Levon  <levon@movementarian.org>
2987
2988         * BufferView.C:
2989         * lyxcursor.h:
2990         * lyxcursor.C:
2991         * lyxfunc.C:
2992         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2993
2994 2003-09-02  John Levon  <levon@movementarian.org>
2995
2996         * text2.C: simplification of cursorEnd(), including partial
2997         fix for bug 1376
2998
2999 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3000
3001         * buffer.C (readFile): add a space
3002
3003 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3004
3005         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3006
3007 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3008
3009         * buffer.C (readFile): new function, take a filename and a
3010         ParagraphList::iterator
3011         (readFile): adjust
3012         (readFile): adjust, make it private. don't use setStream, make
3013         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3014         always contain the filename.
3015
3016         * BufferView.C (insertLyXFile): simplify and make it work for
3017         gzipped files.
3018
3019 2003-08-30  John Levon  <levon@movementarian.org>
3020
3021         * Makefile.am: fix dist (from Kayvan)
3022
3023 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * most files: change to use const Buffer refs
3026
3027 2003-08-27  André Pönitz  <poenitz@gmx.net>
3028
3029         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3030         on top of ownerPar().
3031
3032 2003-08-27  John Levon  <levon@movementarian.org>
3033
3034         * funcrequest.C: properly initialise POD members
3035
3036 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3037
3038         * lyxtext.h (top_y): move top_y from here
3039         * text.C:
3040         * text2.C:
3041         * text3.C:
3042         * BufferView.[Ch]:
3043         * BufferView_pimpl.[Ch]: to here
3044         * frontends/screen.C:
3045         * insets/insettabular.C:
3046         * insets/insettext.C: adjust
3047         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3048
3049 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3050
3051         * BufferView.[Ch]:
3052         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3053
3054 2003-08-26  André Pönitz  <poenitz@gmx.net>
3055
3056         * paragraph_func.[Ch] (outerPar): new function
3057
3058         * paragraph.C:
3059         * paragraph_funcs.C:
3060         * paragraph_funcs.h:
3061         * paragraph_pimpl.C:
3062         * text2.C: remove Inset::par_owner
3063
3064 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3065
3066         * lyxrow_funcs.C:
3067         * lyxtext.h:
3068         * text.C:
3069         * text2.C: eliminates the needFullRow/display() stuff
3070         altogether, putting the logic in metrics/draw in the insets.
3071
3072 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3073
3074         * text2.C (redoParagraphInternal, redoParagraphs):
3075         * text.C (redoParagraph): add a call to updateRowPositions at the
3076         end of each 'metrics-like' call. Remove all others.
3077         (getRow): remove the 'y-computing' version.
3078         (getRowNearY): do not compute nor return the real y. Solve the
3079         'y < 0' problem and simplify.
3080
3081 2003-08-22  Angus Leeming  <leeming@lyx.org>
3082
3083         * *.[Ch]: clean-up of licence and author blurbs.
3084         Also move config.h out of a few .h files and into a few .C files.
3085
3086 2003-08-22  André Pönitz  <poenitz@gmx.net>
3087
3088         * lyxrow.[Ch]: add x_ and *fill_ members
3089
3090         * lyxtext.h:
3091         * text.C:
3092         * rowpainter.C:
3093         * text2.C: adjust/remove prepareToPrint() calls
3094
3095 2003-08-22  André Pönitz  <poenitz@gmx.net>
3096
3097         * lyxrow.[Ch]: add  end_ member
3098
3099         * lyxrow_funcs.C: use LyXRow::end_
3100
3101         * lyxtext.h (singleWidth): add LyXFont parameter
3102
3103         * rowpainter.C:
3104         * text2.C: adjust LyXText::singleWidth() calls
3105
3106         * text.C (redoParagraph): simplify row breaking logic
3107
3108
3109 2003-08-19  André Pönitz  <poenitz@gmx.net>
3110
3111         * funcrequest.C: initialize button_ member
3112
3113         * text3.C:
3114         * rowpainter.[Ch]: interface consolidation
3115
3116 2003-08-18  André Pönitz  <poenitz@gmx.net>
3117
3118         * BufferView.C:
3119         * BufferView_pimpl.C:
3120         * lyxfind.C:
3121         * paragraph_funcs.C:
3122         * rowpainter.C:
3123         * text3.C: remove LyXScreen::draw() and fitCursor calls
3124
3125         * BranchList.h: remove spurious semicolons
3126
3127         * MenuBackend.C: fix branchlist related crash
3128
3129 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3130
3131         * BranchList.[Ch]:
3132         * InsetList.[Ch]:
3133         * LColor.[Ch]:
3134         * LyXAction.C:
3135         * Makefile.am:
3136         * MenuBackend.[Ch]:
3137         * bufferparams.[Ch]:
3138         * factory.C:
3139         * lfuns.h:
3140         * lyxfunc.C:
3141         * text3.C: implements the 'branch inset'
3142         idea. This allows the output of various versions of a document
3143         from a single source version, selectively outputing or suppressing
3144         output of parts of the text.
3145         This implementation contains a 'branch list editor' in a separate
3146         tab of the document settings dialog. Branches are user definable
3147         and have a "display colour" to distinguish them on-screen.
3148
3149         ColorHandler was somewhat cleaned up.
3150         (1) make possible a dynamically growing LColor list by allowing
3151         the graphic context cache to grow along (vector);
3152         (2) eliminate an IMHO unnecessary step in colour allocation.
3153
3154 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3155
3156         * BufferView_pimpl.C: compile fix
3157
3158 2003-08-15  André Pönitz  <poenitz@gmx.net>
3159
3160         * rowpainter.C: remove extra metrics calls
3161
3162         * lyxtext.h: merge the two constructors into a single one,
3163           pass reference to owner's par list
3164
3165         * BufferView_pimpl.C:
3166         * text.C:
3167         * text2.C: adjust
3168
3169 2003-08-15  André Pönitz  <poenitz@gmx.net>
3170
3171         * lyxrow_funcs.[Ch]:
3172         * lyxtext.h:
3173         * paragraph.h:
3174         * paragraph_funcs.C:
3175         * rowpainter.C:
3176         * text.C:
3177         * text2.C:
3178         * text3.C:
3179         * text_funcs.C: split LyXText::rowlist_ into individual
3180         Paragraph::rows_ chunks
3181
3182         * BufferView.[Ch]:
3183         * BufferView_pimpl.[Ch]:
3184         * lyxfind.C:
3185         * lyxtext.h:
3186         * text3.C: remove toggleSelection()
3187
3188 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3189
3190         * bufferlist.C: beautify two alerts (shorter text of buttons)
3191         * buffer.C: Remove redundant ' ' from message
3192         * tabular.h:
3193         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3194         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3195         rename VALIGN_CENTER to VALIGN_MIDDLE
3196
3197 2003-08-11  André Pönitz  <poenitz@gmx.net>
3198
3199         * lyxtext.h (getPar):
3200         * text.C: new function
3201
3202 2003-08-11  André Pönitz  <poenitz@gmx.net>
3203
3204         * Makefile.am:
3205         * tracer.[Ch]: remove unneeded files
3206
3207         * InsetList.[Ch]: remove resizeInsetsLyXText()
3208
3209         * lyxtext.h:
3210         * text.C:
3211         * text2.C:
3212         * text3.C: merge insertParagraphs() and appendParagraph()
3213         remove breakAgain(), update()
3214
3215         * BufferView_pimpl.[Ch]:
3216         * bufferview_funcs.[Ch]:
3217         * lyxfunc.C:
3218         * paragraph.[Ch]:
3219         * rowpainter.C:
3220         * tabular.C: adjust after text & InsetList changes.
3221
3222 2003-08-08  André Pönitz  <poenitz@gmx.net>
3223
3224         * text.C (insertChar, backspace): replace rowlist fiddling
3225         with rebreak of full par
3226
3227         * lyxtext.h:
3228         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3229         checkParagraph, updateInset): removed
3230
3231 2003-08-07  André Pönitz  <poenitz@gmx.net>
3232
3233         * paragraph.C:
3234         * text3.C: merge some LFUN handlers, remove dead code
3235
3236 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3237
3238         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3239
3240 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3241
3242         * text2.C (DEPM): fix part of bug 1255 and 1256
3243
3244 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3245
3246         * BufferView_pimpl.C (workAreaDispatch): change to use
3247         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3248         that are no mouse related.
3249
3250 2003-08-05  André Pönitz  <poenitz@gmx.net>
3251
3252         * BufferView.[Ch]:
3253         * BufferView_pimpl.[Ch]:
3254         * bufferview_funcs.C:
3255         * text2.C:
3256         * text3.C: rip out "deep update"
3257
3258         * textcursor.[Ch] (last_sel_cursor): remove unused member
3259
3260 2003-08-04  André Pönitz  <poenitz@gmx.net>
3261
3262         * BufferView.[Ch]:
3263         * BufferView_pimpl.[Ch]:
3264         * ParagraphParameters.C:
3265         * bufferview_funcs.C:
3266         * lyx_cb.C:
3267         * lyxfind.C:
3268         * lyxfunc.C:
3269         * text.C:
3270         * text2.C:
3271         * text3.C: replace "complicated" BufferView::update(...) calls with
3272         simpler ones.
3273
3274         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3275
3276 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3277
3278         * Makefile.am (lyx_SOURCES): add paper.h
3279
3280 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3281
3282         * Makefile.am: move things around so that both lyx-qt and
3283         lyx-xforms can be built (according to --with-frontend). Then lyx
3284         is a symbolic link to lyx-[firstfrontend]
3285
3286 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3287
3288         * Always use std::endl with lyxerr
3289
3290 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3291
3292         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3293
3294 2003-08-01  André Pönitz  <poenitz@gmx.net>
3295
3296         * BufferView.[Ch]:
3297         * BufferView_pimpl.[Ch]:
3298         * lyxfunc.C:
3299         * text3.C: merge BufferView::repaint() and BufferView::update()
3300
3301 2003-08-01  José Matos  <jamatos@lyx.org>
3302
3303         * buffer.[Ch]: file_format is no longer a buffer data element.
3304
3305 2003-08-01  André Pönitz  <poenitz@gmx.net>
3306
3307         * BufferView.C:
3308         * lyxtext.h:
3309         * text.C:
3310         * text2.C: make redoParagraph more independent of current cursor
3311
3312         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3313         * text.C:
3314         * text2.C: remove unneeded members
3315
3316 2003-07-30  André Pönitz  <poenitz@gmx.net>
3317
3318         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3319
3320         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3321           create a single function...
3322
3323         * paragraph_funcs.C (moveItem): ... here.
3324
3325         * text.C:
3326           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3327
3328 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3329
3330         * LColor.[Ch]: Add comment and greyedout logical colors.
3331
3332 2003-07-30  André Pönitz  <poenitz@gmx.net>
3333
3334         * tabular.C: don't use Assert too heavily. This crashes where it
3335           shouldn't
3336
3337 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3338
3339         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3340         is disabled (bug 1232)
3341
3342 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3343
3344         * factory.C: limited 'arg' scope
3345
3346 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3347
3348         * factory.C: fixed Note submenu issues
3349
3350 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3351
3352         * factory.C: submenu for Note/Comment/Greyedout
3353
3354 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3355
3356         * lyx_main.C (LyX):
3357         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3358
3359 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3360
3361         * LaTeXFeatures.C:
3362         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3363         greyedout. Patch provided by Jürgen Spitzmüller.
3364
3365 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3366
3367         * kbmap.C (read): fix error message when reading bind files
3368
3369 2003-07-29  Angus Leeming  <leeming@lyx.org>
3370
3371         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3372         certainly does not do what it purports to do. I am doing it, and
3373         us, a favour by killing it.
3374
3375 2003-07-28  José Matos  <jamatos@lyx.org>
3376
3377         * buffer.C (readBody, do_writeFile):
3378         * paragraph.C(readParagraph): \end_document replaces \the_end.
3379
3380 2003-07-29  André Pönitz  <poenitz@gmx.net>
3381
3382         * BufferView.[Ch]:
3383         * BufferView_pimpl.[Ch]:
3384         * lyxfunc.C:
3385         * text2.C:
3386         * text3.C:
3387         * textcursor.[Ch]: remove toggleToggle & Co
3388
3389 2003-07-28  José Matos  <jamatos@fep.up.pt>
3390
3391         * buffer.C (readParagraph):
3392         * params_func (readParToken, readParagraph):
3393         * paragraph.C (write): \layout -> \begin_layout.
3394
3395 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3396
3397         * lyxlex_pimpl.C (setFile): clean up slightly.
3398
3399         * bufferparams.h: add compressed var
3400
3401         * buffer_funcs.C (readFile): adjust for LyXLex change
3402         (newFile): ditto + simplify
3403
3404         * buffer.C (writeFile): handle writing of compressed files
3405
3406         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3407         Check if the file is compressed and set a bufferparm if so.
3408
3409         * Makefile.am (lyx_LDADD): remove explicit -lz
3410
3411 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3412
3413         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3414         makeDocBookFile): put the real LyX version in the first line of
3415         the file
3416
3417         * version.h:
3418         * version.C.in: remove lyx_docversion
3419
3420         * tabular.C (write_attribute): add a template-based version to
3421         write enums properly
3422
3423 2003-07-28  André Pönitz  <poenitz@gmx.net>
3424
3425         * lyxtext.h:
3426         * text.C:
3427         * text2.C:
3428         * text3.C: use doubles again for x-coordinates. They are needed.
3429
3430 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3431
3432         * messages.C (getLocaleDir): use lyx_localedir()
3433
3434         * lyxlex_pimpl.C (setFile): compress stuff
3435
3436         * buffer.C (writeFile): add some compression stuff
3437         (do_writeFile): new func, dont call expliti close... will this
3438         breake anything?
3439
3440         * Makefile.am (lyx_LDADD): add -lz
3441
3442 2003-07-28  José Matos  <jamatos@fep.up.pt>
3443
3444         * buffer.C: increment file format.
3445         * paragraph_funcs (readParagraph, readParToken):
3446         * paragraph.C (readParagraph): add \end_layout.
3447
3448 2003-07-27  Angus Leeming  <leeming@lyx.org>
3449
3450         * Makefile.am: remove special casing for configure-time setting of
3451         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3452
3453         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3454         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3455
3456 2003-07-26  André Pönitz  <poenitz@gmx.net>
3457
3458         * paragraph_func.[Ch]:
3459         * paragraph.C (realizeFont): inline it whereever it is used
3460
3461         * rowpainter.C:
3462         * text.C:
3463         * text2.C:
3464         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3465
3466
3467 2003-07-26  André Pönitz  <poenitz@gmx.net>
3468
3469         *       lyxtext.h:
3470         * text.C:
3471         * text2.C: get rid of LyXText::need_break_row
3472
3473 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3474
3475         * toc.[Ch]: put namespace toc inside namespace lyx
3476
3477         * MenuBackend.C (expandToc2): adjust for lyx::toc
3478         (expandToc): ditto
3479
3480         * lyxfunc.C (dispatch): adjust for lyx::find
3481
3482         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3483         lyx::find instead. Reorganize a bit.
3484         (LyXReplace): rename to replace
3485         (LyXFind): rename to find
3486
3487         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3488         (dispatch): ditto
3489
3490 2003-07-26  André Pönitz  <poenitz@gmx.net>
3491
3492         * text.C (setHeightOfRow): restrict scope of temporary variable
3493
3494         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3495           code (never has been used?)
3496
3497 2003-07-27  Asger Alstrup  <alstrup@local>
3498
3499         * text.C (fill): Optimise algorithm to exploit that we can reuse
3500         the LyXFont for many characters.
3501         (setHeightOfRow): Same thing.
3502         (rowBreakPoint): Same thing.
3503
3504 2003-07-26  Asger Alstrup  <alstrup@local>
3505
3506         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3507
3508         * text.C (singleWidth): Spurious font copying in hot-spot
3509         singleWidth avoided. Reorder tests for arabic for efficiency.
3510
3511         * text.C (fill): handle empty paragraphs better.
3512
3513 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3514
3515         * ispell.C:
3516         * encoding.h: add includes
3517
3518         * lyxrc.C: remove reading of bind files
3519
3520         * lyx_main.C (init): setup bindings and menus only if we have a
3521         gui.
3522
3523         * kbmap.C (read): new method. Do the actual reading of bind
3524         files.
3525
3526         * converter.C (dvipdfm_options):
3527         * bufferparams.C:
3528         * lyxrc.C (read):
3529         (output): adapt PAPER_* enums.
3530
3531         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3532
3533         * bufferparams.h: remove paper-related enums from there
3534
3535         * paper.h: New file. A trivial header file to hold paper-related
3536         enums. It should later expand to contain many paper-related
3537         horrors access.
3538
3539         * lyxrc.C: declare extern displayTranslator
3540
3541 2003-07-27  José Matos  <jamatos@fep.up.pt>
3542
3543         * tabular.[Ch] (linuxdoc): add support for tables and figures
3544         (linuxdoc).
3545
3546 2003-07-27  José Matos  <jamatos@fep.up.pt>
3547
3548         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3549         consistency in both functions.
3550         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3551
3552 2003-07-26  Asger Alstrup  <alstrup@local>
3553
3554         * rowpainter.C (paintRows): Change algorithm to work directly on
3555         the insets rather than asking every character in the document
3556         whether its an inset.
3557
3558 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3559
3560         * buffer.C (openFileWrite): factorize some code
3561
3562 2003-07-26  Angus Leeming  <leeming@lyx.org>
3563
3564         * lyx_cb.C:
3565         * lyx_main.[Ch]: replace occurances of system_tempdir with
3566         os::getTmpDir().
3567
3568 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * rename Inset to InsetOld
3571
3572 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3573
3574         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3575         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3576         which I think is a bit clearer. EDIT is gone, since it was
3577         premature optimisation, and broken for mathed anyway.
3578         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3579         with cursor positioning in insets as well (math insets still do not
3580         work, but that's a different story anyway.) It mysteriously
3581         crashes sometimes with undo in the first paragraph, but I'm fairly
3582         confident that this is a compiler bug.
3583
3584 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3585
3586         * paragraph.C (Paragraph): adjust for new clone return type
3587         (operator==): ditto
3588         (copyIntoMinibuffer): ditto
3589
3590 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3591
3592         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3593         by not having a special case, and always doing a full rebreak of
3594         the document after undo.
3595
3596 2003-07-23  Angus Leeming  <leeming@lyx.org>
3597
3598         * factory.C (createInset): InsetExternal::setParams now takes a
3599         Buffer const * arg.
3600
3601 2003-07-23  Angus Leeming  <leeming@lyx.org>
3602
3603         * factory.C (createInset): changed interface to the external and
3604         graphics mailers' string2params functions.
3605
3606 2003-07-23  Angus Leeming  <leeming@lyx.org>
3607
3608         * factory.C (createInset): pass a
3609         Buffer const * parameter to InsetExternalMailer's string2params.
3610
3611 2003-07-22  John Levon  <levon@movementarian.org>
3612
3613         * Thesaurus.h: include the right aiksaurus header
3614
3615 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3616
3617         * MenuBackend.C (expand): check menu shortcuts unconditionally
3618
3619 2003-07-21  Angus Leeming  <leeming@lyx.org>
3620
3621         * factory.C (createInset): pass a
3622         buffer_path parameter to InsetGraphicsMailer's string2params.
3623
3624 2003-07-21  Angus Leeming  <leeming@lyx.org>
3625
3626         * BufferView_pimpl.C (buffer):
3627         * buffer.C (d-tor):
3628         * lyx_main.C (LyX):
3629         * lyxfunc.C (dispatch):
3630         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3631         rather than the grfx shortcut.
3632
3633 2003-07-21  André Pönitz  <poenitz@gmx.net>
3634
3635         * rowpainter.C: remove unused variables
3636
3637         * tabular_funcs.C:
3638         * tabular_funcs.h: move to tabular.C
3639         * Makefile.am: adjust
3640
3641         * tabular.[Ch]: basic optical cleaning
3642
3643         * author.h: pass references, not values
3644
3645 2003-07-18  André Pönitz  <poenitz@gmx.net>
3646
3647         * lyxtext.h:
3648         * metricsinfo.C:
3649         * metricsinfo.h:
3650         * rowpainter.C:
3651         * text.C:
3652         * text2.C:
3653         * text3.C: two-phase drawing for InsetText and InsetTabular
3654         some float -> int changes.
3655
3656 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3657
3658         * lyx_main.C: fix the fix
3659
3660 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3661
3662         * lyx_main.C: fix a crash in batch mode if no files specified
3663         * converter.C: ws
3664
3665 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3666
3667         * format.[Ch] (papersize): moved to BufferParams
3668         * converter.[Ch] (dvips_options): moved to BufferParams
3669         (dvipdfm_options): moved to anon namespace
3670         * bufferparams.[Ch]: added above functions.
3671
3672 2003-07-17  André Pönitz  <poenitz@gmx.net>
3673
3674         * lyxtext.h:
3675         * rowpainter.C:
3676         * text2.C: don't call inset->update() anymore
3677
3678         * metricsinfo.[Ch]: add convenience constructor
3679
3680 2003-07-16  André Pönitz  <poenitz@gmx.net>
3681
3682         * lyxcursor.[Ch]:
3683         * lyxfunc.[Ch]:
3684         * text.C:
3685         * text2.C: replace the LyXCursor::irow_ member with
3686          on-demand computation of the value
3687
3688 2003-07-16  John Levon  <levon@movementarian.org>
3689
3690         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3691
3692 2003-07-15  André Pönitz  <poenitz@gmx.net>
3693
3694         * text.C:
3695         * text2.C: remove no more needed refresh_row
3696
3697 2003-07-15  André Pönitz  <poenitz@gmx.net>
3698
3699         * lyxtext.h:
3700         * rowpainter.C:
3701         * text2.C:
3702         * text3.C: refresh_status tristate -> need_update bool
3703
3704 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3705
3706         * lyxtext.h (init): remove reinit argument (act as if always true)
3707         * text2.C: adjust to that
3708
3709 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3710
3711         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3712         * text3.C: use it to delete selections in some cases
3713         (bugs 441, 673, 702, 954).
3714
3715 2003-07-14  André Pönitz  <poenitz@gmx.net>
3716
3717         * rowpainter.[Ch]: reduce interface
3718
3719 2003-07-14  André Pönitz  <poenitz@gmx.net>
3720
3721         * BufferView_pimpl.C:
3722         * text2.C: adjust after removing unused BufferView * argument
3723
3724 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3725
3726         * text2.C (init): fix a crash fired on resize
3727
3728 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3729
3730         * buffer.[Ch]: added new closing signal
3731         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3732         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3733         BufferView::Pimpl via the closing the signal
3734
3735 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3736
3737         * buffer.[Ch]: take out all bv-related from buffer
3738         * BufferView.C:
3739         * BufferView_pimpl.[Ch]: connect to new signals
3740         * CutAndPaste.C: removed useless asserts
3741         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3742         * lyxvc.[Ch]:
3743         * vc-backend.[Ch]:
3744         * lyxfunc.C: moved view-related funciontality from vc here
3745         * paragraph.C: removed outdated comments
3746         * text.C: ws
3747
3748 2003-07-10  André Pönitz  <poenitz@gmx.net>
3749
3750         * BufferView_pimpl.C:
3751         * tabular.h:
3752         * tabular_funcs.C:
3753         * text.C:
3754         * text2.C: remove InsetText::InnerCache, clean up consequences
3755
3756 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3757
3758         * ispell.C: fix two typos in error messages
3759
3760 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3761
3762         * Extend Note inset to other forms of annotation like Comment
3763         and Greyedout. Right button click gives dialog.
3764
3765         Files modified or added (+):
3766
3767         * insetnote.[Ch]
3768         * FormNote.[Ch]      +
3769         * ControlNote.[Ch]   +
3770         * form_note.fd       +
3771         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3772         frontends/controllers
3773         * xforms/Dialogs.C
3774         * factory.C
3775
3776 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3777
3778         * aspell.C: add missing namespace lyx::support
3779
3780 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3781
3782         * BufferView.[Ch] (newFile): Add
3783         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3784         * LaTeX.[Ch] (message): added this signal and use it
3785         * buffer.[Ch] (busy, message): added these signals and use them
3786         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3787         * converter.C:
3788         * exporter.C:
3789         * format.C:
3790         * importer.C: use buffer signals instead of direct bv calling
3791         * lyx_cb.[Ch] (ShowMessage): removed
3792         * lyx_main.C:
3793         * lyxfunc.C:
3794         * paragraph_funcs.C:
3795         * text2.C: use buffer signals
3796
3797 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3798
3799         * introduce namespace lyx::graphics
3800
3801 2003-07-02  André Pönitz  <poenitz@gmx.net>
3802
3803         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3804
3805 2003-07-01  André Pönitz  <poenitz@gmx.net>
3806
3807         * text.C:
3808         * text2.C:
3809         * text3.C:
3810         * text_funcs.[Ch]:
3811         * textcursor.h:
3812         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3813           text*.C to text_func.C
3814
3815 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3816
3817         * introduce namespace lyx::support
3818
3819 2003-06-30  André Pönitz  <poenitz@gmx.net>
3820
3821         * Chktex.C:
3822         * funcrequest.C:
3823         * lyxtext.h:
3824         * text.C: re-enable --with-included-string
3825
3826 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3827
3828         * textcursor.C: add <config.h>
3829
3830         * text.C (getWord): remove const from word_location arg
3831
3832         * lyxvc.C (getLogFile): fix const type order
3833
3834         * lyxtext.h: remove const from word_location arg, add arg name
3835
3836         * lyxlayout.h: currect type on labeltype.
3837
3838         * importer.C: correct \file
3839
3840         * converter.C (intToFormat): use std:: on ret val, ws changes
3841
3842         * bufferlist.h: correct \file
3843
3844         * buffer.C (makeLinuxDocFile): fix const type order
3845         (makeDocBookFile): ditto
3846         (fillWithBibKeys): use std:: on stdlib args.
3847
3848         * CutAndPaste.C: fix authors.
3849         (availableSelections): use std:: on return vector
3850
3851 2003-06-27  André Pönitz  <poenitz@gmx.net>
3852
3853         * BufferView_pimpl.C:
3854         * bufferview_funcs.C:
3855         * lyxcursor.C:
3856         * lyxcursor.h:
3857         * lyxfunc.C:
3858         * lyxtext.h:
3859         * rowpainter.C:
3860         * text.C:
3861         * text2.C:
3862         * text3.C: remove LyXCursor::row_ member
3863
3864         * lyxtext.h:
3865         * text.C: rename fullRebreak() to partialRebreak() and implement
3866           a fullRebreak() that really bereks fully
3867
3868         * textcursor.h: new struct for cursor-related data
3869
3870 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3871
3872         * lyx_main.C (LyX): get full path of document loaded on the
3873         command line
3874
3875 2003-06-26  André Pönitz  <poenitz@gmx.net>
3876
3877         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3878           remove unused/broken operator>,<,>=.
3879
3880         *       text.C: remove only use of broken operator<= in an Assert().
3881
3882 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3883
3884         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3885         moved errorlist_.clear to showErrorList
3886
3887 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3888
3889         * converter.C (scanLog, runLaTeX):
3890         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3891         move the bv->showErrorList call to the callers
3892         * lyxfunc.C: i.e. here...
3893         * text2.C: and here
3894         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3895         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3896         namespace, the second to...
3897         * buffer_funcs (BufferFormat, parseErrors): added
3898         * errorlist.C (ErrorList(TeXErrors const &)): removed
3899
3900 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3901
3902         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3903
3904 2003-06-24  "Garst R. Reese" <reese@isn.net>
3905
3906         * debug.C: fix typo
3907
3908 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3909
3910         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3911
3912         * version.C.in: change docversion to 1.4
3913
3914 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3915
3916         * buffer.C: fix a bug just introduced
3917
3918 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3919
3920         * buffer.[Ch]: added the parseError signal and use it, removed
3921         sgmlError
3922         * BufferView.[Ch] (addError): moved to ...
3923         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3924         to the Buffer::parseError signal to catch (guess what) parse errors
3925         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3926
3927 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3928
3929         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3930         ability to create a buffer and to return an existing one from
3931         the list. Moved these functions to...
3932         * buffer_funcs.[Ch]: added
3933         * BufferView.[Ch] (loadLyXFile): added
3934         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3935         job removed from bufferlist::loadLyXFile.
3936         * buffer.C (setReadOnly): make it work without view
3937         (i.e added an if (users))
3938
3939 2003-06-19  Angus Leeming  <leeming@lyx.org>
3940
3941         * lfuns.h:
3942         * LyXAction.C (init):
3943         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3944         with LFUN_DIALOG_SHOW <name> <data>.
3945
3946 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3947
3948         * CutAndPaste.C (availableSelections): small compilation fix for
3949         ancient (gcc 2.9x) compilers
3950
3951 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3952
3953         * text3.C (cursorNext): add tmp var
3954
3955         * text2.C (updateCounters): for function calling out of for clause
3956         (replaceSelectionWithString): ditto
3957         (insertStringAsParagraphs): ditto
3958         (getColumnNearX): add tmp var
3959         (setCursorFromCoordinates): add tmp var
3960         (cursorDownParagraph): add tmp var
3961         (deleteEmptyParagraphMechanism): add tmp var
3962
3963         * text.C (insertChar): add tmp var
3964
3965         * rowpainter.C (paintDepthBar): add tmp var
3966
3967         * CutAndPaste.C (availableSelections): potentially check all
3968         paragraphs in a cut to fill the shown strings.
3969
3970 2003-06-18  André Pönitz  <poenitz@gmx.net>
3971
3972         * kbmap.[Ch]: use vector<> instead of list<>
3973
3974 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3975
3976         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3977         pasteSelection with index
3978
3979         * text2.C (pasteSelection): modify, call pasteSelection with index
3980
3981         * paragraph.C (asString): reimplement version with no interval to
3982         call the one with interval.
3983
3984         * lyxtext.h: add index arg to pasteSelection
3985
3986         * MenuBackend.C (MenuItem): handle PasteRecent
3987         (Menu::read::Menutags): add md_pasterecent
3988         (read): handle it
3989         (expandPasteRecent): new function
3990         (expand): use it
3991
3992         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3993
3994         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3995         the limited stack
3996         (availableSelections): new function
3997
3998 2003-06-17  Angus Leeming  <leeming@lyx.org>
3999
4000         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4001
4002 2003-06-17  Angus Leeming  <leeming@lyx.org>
4003
4004         * lfuns.h:
4005         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4006
4007         * lyxfunc.C (dispatch): invoke it.
4008
4009 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4010
4011         * iterators.C (operator++, ParPosition): reintroduce some
4012         const_cast for the benefit of older compilers.
4013
4014 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4015
4016         * text3.C (dispatch): do not modify clipboard when doing
4017         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4018         LFUN_DELETE_SKIP on a selection selection
4019
4020 2003-06-16  André Pönitz  <poenitz@gmx.net>
4021
4022         * BufferView.C:
4023         * buffer.C:
4024         * buffer.h:
4025         * paragraph.C:
4026         * tabular.[Ch]: IU of clone() and getLabelList();
4027
4028 2003-06-13  André Pönitz  <poenitz@gmx.net>
4029
4030         * tabular.h: compactification
4031
4032 2003-06-12  André Pönitz  <poenitz@gmx.net>
4033
4034         * tabular.C:
4035         * tabular.h:
4036         * tabular_funcs.h: some renaming plus whitespace
4037
4038 2003-06-12  André Pönitz  <poenitz@gmx.net>
4039
4040         * BufferView.C:
4041         * BufferView_pimpl.C:
4042         * CutAndPaste.C:
4043         * buffer.C:
4044         * iterators.[Ch]:
4045         * lyxfunc.C:
4046         * text.C:
4047         * toc.C: Return a Paragraph & for ParIterator::operator*()
4048
4049 2003-06-11  John Levon  <levon@movementarian.org>
4050
4051         * lyx_main.C:
4052         * ToolbarBackend.h:
4053         * ToolbarBackend.C: add "Toolbars" section and
4054         put the flags there
4055
4056 2003-06-10  Angus Leeming  <leeming@lyx.org>
4057
4058         * lfuns.h:
4059         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4060
4061         * lyxfunc.C (dispatch): invoke it.
4062
4063 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4064
4065         * main.C: protect <ios> with HAVE_IOS
4066         (main): protect sync_with_stdio with HAVE_IOS
4067
4068 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4069
4070         * text2.C (cutSelection): adjust
4071         (pasteSelection): adjust
4072
4073         * messages.C: handle get of empty string
4074
4075         * main.C (main): use sync_with_stdio(false)
4076
4077         * lyxfunc.C (dispatch): adjust
4078
4079         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4080         (WriteAs): remove unneeded BufferView arg.
4081
4082         * bufferparams.h: use correct types on papersize, papersize2 and
4083         paperpackage.
4084
4085         * bufferparams.C (readToken): adjust for type
4086         (writeLaTeX): add missing cases to switch.
4087
4088         * bufferlist.C (quitWriteBuffer): adjust
4089         (close): adjust
4090
4091         * buffer.C (asciiParagraph): remove some commented code.
4092
4093         * CutAndPaste.C: remove current_view extern variable.
4094         (cutSelection): add BufferParams arg.
4095         (eraseSelection): add BufferParams arg.
4096         (pasteSelection): add Buffer const & arg
4097
4098 2003-06-07  John Levon  <levon@movementarian.org>
4099
4100         * buffer.C:
4101         * paragraph_funcs.C:
4102         * paragraph_pimpl.C:
4103         * text.C:
4104         * text2.C:
4105         * paragraph.h:
4106         * paragraph.C: allow InsetERT to freely space lines,
4107         and some consolidation of code
4108
4109 2003-06-06  José Matos  <jamatos@fep.up.pt>
4110
4111         * buffer.C (makeDocBookFile): fix bug #821
4112
4113 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4114
4115         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4116
4117 2003-06-04  Angus Leeming  <leeming@lyx.org>
4118
4119         * buffer.C: bump format to 224.
4120
4121 2003-06-05  André Pönitz  <poenitz@gmx.net>
4122
4123         * text2.C (redoParagraphs): remove two const_cast<>
4124
4125 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4126
4127         * ParagraphList.h: remove last remnants of NO_STD_LIST
4128
4129 2003-06-03  Angus Leeming  <leeming@lyx.org>
4130
4131         * factory.C (createInset): small change to the way InsetExternal's params
4132         are set.
4133
4134 2003-06-04  André Pönitz  <poenitz@gmx.net>
4135
4136         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4137
4138         * paragraph_pimpl.h:
4139         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4140
4141         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4142
4143         * undo_funcs.C: make some simple cases of undo work again
4144
4145 2003-06-03  John Levon  <levon@movementarian.org>
4146
4147         * ispell.C: HPUX doesn't have sys/select.h
4148         (from Albert Chin)
4149
4150 2003-06-03  John Levon  <levon@movementarian.org>
4151
4152         * CutAndPaste.C: update tabular and include inset
4153         buffer references
4154
4155         * buffer.h:
4156         * paragraph.h:
4157         * paragraph.C: remove owningBuffer(), don't pass Buffer
4158         to clone()
4159
4160         * factory.C: insetGraphicsParams changed
4161
4162 2003-06-02  John Levon  <levon@movementarian.org>
4163
4164         * LyXAction.C:
4165         * factory.C:
4166         * lfuns.h:
4167         * lyxfunc.C:
4168         * text3.C: remove insetparent
4169
4170 2003-06-02  John Levon  <levon@movementarian.org>
4171
4172         * buffer.h:
4173         * buffer.C: fix inset_iterator.end(), move out of line
4174         (bug 1149)
4175
4176 2003-06-01  John Levon  <levon@movementarian.org>
4177
4178         * text3.C: use a proper cut/paste when doing inset
4179         insert (from Jürgen Spitzmüller)
4180
4181 2003-06-01  John Levon  <levon@movementarian.org>
4182
4183         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4184
4185 2003-05-30  André Pönitz  <poenitz@gmx.net>
4186
4187         * rowpainter.C: unify second drawing phase
4188
4189 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * trans_mgr.C: remove one case of current_view
4192
4193         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4194
4195         * paragraph_funcs.h: remove paragraph.h include
4196
4197         * paragraph.h: delete NO_STD_LIST stuff
4198
4199         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4200
4201         * buffer.h: remove paragraph.h include
4202
4203         * ParagraphList.C: delete file
4204
4205         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4206
4207         * toc.C (getTocList): adjust
4208
4209         * paragraph_pimpl.C (validate): adjust
4210
4211         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4212
4213         * paragraph.C (Paragraph): adjust
4214         (getPositionOfInset): use const_iterator, adjust
4215         (bibitem): use const_iterator, adjust
4216         (setInsetOwner): adjust
4217
4218         * iterators.C (operator++): adjust
4219
4220         * InsetList.[Ch]: Replace selfmade iterator with standard
4221         vector::iterator also introduce const_iterator. Remove getPos,
4222         getInset and setInset from InsetTable. Adjust accordingly.
4223
4224         * BufferView.C (lockInset): adjust
4225         (ChangeInsets): adjust
4226
4227         * tabular.[Ch]: delete commented same_id functions
4228
4229 2003-05-28  John Levon  <levon@movementarian.org>
4230
4231         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4232
4233 2003-05-28  André Pönitz  <poenitz@gmx.net>
4234
4235         * metricsinfo.[Ch]: remove 'fullredraw' member
4236
4237 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4238
4239         * lyxtextclass.C (operator): remove caching.
4240
4241 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4242
4243         * text3.C: adjust
4244
4245         * text2.C (cursorBottom): adjust
4246         (setCounter): use ParagraphList::find, adjust
4247
4248         * text.C (workWidth): use ParagraphList::find, adjust
4249
4250         * lyxcursor.C (LyXCursor): adjust
4251
4252         * buffer.C (inset_iterator): adjust
4253
4254         * ParagraphList.h: make iterator(value_type) private, make
4255         ParagraphList a friend of iterator.
4256
4257         * ParagraphList.C (find): new function
4258
4259         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4260
4261 2003-05-27  André Pönitz  <poenitz@gmx.net>
4262
4263         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4264
4265 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4266
4267         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4268
4269 2003-05-26  John Levon  <levon@movementarian.org>
4270
4271         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4272
4273 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4274
4275         * remove same_id from function signatures, adjust.
4276
4277 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4278
4279         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4280
4281         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4282
4283         * paragraph.C (Paragraph): get rid of same_ids parameter
4284
4285         * ParagraphList.C (insert): adjust
4286         (push_back): adjust
4287
4288 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4289
4290         * paragraph_funcs.C (breakParagraph): adjust
4291         (breakParagraphConservative): adjust
4292
4293         * buffer.C (readParagraph): adjust
4294
4295         * ParagraphList.C (insert): take a reference instead of a pointer
4296         (insert): adjust
4297
4298         * paragraph.[Ch] (id): new function
4299
4300         * bufferlist.C (newFile): adjust
4301
4302         * ParagraphList.C (ParagraphList): adjust
4303         (assign): adjust
4304         (push_back): take a reference instead of a pointer.
4305
4306         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4307
4308         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4309         instead.
4310
4311         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4312         set else use old code.
4313
4314         * ParagraphList.C: remove all NO_NEXT code and only compile this
4315         code of NO_STD_LIST is set.
4316
4317 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4318
4319         * BufferView_pimpl.C:
4320         * TextCache.C:
4321         * TextCache.h:
4322         * bufferlist.C:
4323         * errorlist.h:
4324         * format.C:
4325         * format.h:
4326         * graph.C:
4327         * lyxfunc.C:
4328         * lyxrc.C:
4329         * graphics/GraphicsConverter.C:
4330         * graphics/PreviewLoader.C: header adjustment
4331
4332 2003-05-23  Angus Leeming  <leeming@lyx.org>
4333
4334         * LaTeXFeatures.[Ch] (useBabel): new method.
4335         * bufferparams.C (writeLaTeX): use it.
4336
4337 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4338
4339         * ParagraphList.h (set): remove unused function.
4340
4341 2003-05-23  André Pönitz  <poenitz@gmx.net>
4342
4343         * BufferView.C:
4344         * BufferView_pimpl.C:
4345         * buffer.C:
4346         * buffer.h:
4347         * lyxfunc.C:
4348         * undo_funcs.C: setUndo reworked
4349
4350         * iterators.[Ch]: add access to topmost ParagraphList
4351
4352         * lyxtext.[Ch] (workWidth): add a const
4353
4354 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4355
4356         * texrow.[Ch] (increasePos): remove function
4357         * exporter.C (export): removed unused var and outdated comment
4358
4359 2003-05-23  Angus Leeming  <leeming@lyx.org>
4360
4361         * latexrunparams.h: rename fragile as moving_arg.
4362         * paragraph.C (simpleTeXOnePar): ditto.
4363         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4364
4365 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4366
4367         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4368         (createUndo): ditto
4369         (textUndoOrRedo): comment out a currently unused var.
4370
4371         * paragraph.h (NO_NEXT): enable NO_NEXT
4372
4373         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4374
4375         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4376
4377         * exporter.C (Export): adjust for removeAutoInsets removal.
4378
4379         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4380
4381         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4382
4383         * BufferView.[Ch] (removeAutoInsets): delete function
4384
4385 2003-05-22  Angus Leeming  <leeming@lyx.org>
4386
4387         * latexrunparams.h: add a free_spacing variable.
4388
4389         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4390         to pass moving_arg, as the data is stored in runparams.fragile.
4391
4392         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4393         to Inset::latexOptional or to simpleTeXOnePar.
4394
4395         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4396         free_spacing arg to Inset::latexOptional.
4397
4398         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4399         free_spacing arg.
4400
4401 2003-05-22  Angus Leeming  <leeming@lyx.org>
4402
4403         * latexrunparams.h: add fragile and use_babel variables.
4404
4405         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4406         * buffer.C (makeLaTeXFile): store this returned value in
4407         runparams.use_babel, thus passing it to the inset::latex methods.
4408
4409         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4410         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4411
4412         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4413         longer has a fragile arg, as it is stored in runparams.fragile.
4414
4415         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4416         moving_arg parameter as the data is stored in runparams.fragile.
4417
4418         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4419         a fragile parameter as the data is stored in runparams.fragile.
4420
4421 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4422
4423         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4424
4425 2003-05-22  Angus Leeming  <leeming@lyx.org>
4426
4427         * latexrunparams.h: add a 'bool nice' which defaults to false.
4428
4429         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4430         now encapsulated within runparams.
4431
4432         * bufferlist.C (updateIncludedTeXfiles):
4433         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4434
4435 2003-05-22  Angus Leeming  <leeming@lyx.org>
4436
4437         * latexrunparams.h: new file containing struct LatexRunParams.
4438         * Makefile.am: add new file.
4439
4440         * LaTeX.[Ch] (c-tor, run):
4441         * buffer.[Ch] (makeLaTeXFile):
4442         * bufferlist.[Ch] (updateIncludedTeXfiles):
4443         * converter.C (convert, scanLog):
4444         * converter.[Ch] (runLaTeX):
4445         * exporter.C (Export):
4446         * paragraph.[Ch] (simpleTeXOnePar):
4447         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4448         * paragraph_funcs.[Ch] (latexParagraphs):
4449         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4450         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4451         pass around a LatexRunParams parameter.
4452
4453 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4454
4455         * paragraph.[Ch]: remove unused constructor
4456
4457         * ParagraphList.C (erase): new function, taking two iterators
4458
4459 2003-05-22  André Pönitz  <poenitz@gmx.net>
4460
4461         * undo_funcs.C: remove duplicated code
4462
4463         * iterator.[Ch]: operator=
4464
4465 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * tabular.C (SetMultiColumn): ws changes
4468
4469         * rowpainter.C (paintFirst): get rid of a ->previous
4470
4471         * lyx_cb.C (getPossibleLabel): parlist simplification
4472
4473         * BufferView.C (ChangeInsets): simplify slightly.
4474
4475 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4476
4477         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4478         * lfuns.h: new LFUN_SPACE
4479         * lyxfunc.C: protected space has a new lfun
4480         * paragraph_funcs.C: read new space insets
4481         * text3.C:
4482         * factory.C: handle new space insets
4483
4484 2003-05-22  André Pönitz  <poenitz@gmx.net>
4485
4486         * BufferView.C:
4487         * BufferView_pimpl.C:
4488         * buffer.[Ch]:
4489         * lyxfunc.C:
4490         * undo_funcs.C: return a ParIterator from getParFromID.
4491
4492         * iterators.[Ch]: add two const's
4493
4494 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4495
4496         * toc.C (getTocList): adjust
4497
4498         * iterators.[Ch]: rework for parlist
4499
4500         * buffer.C (par_iterator_begin): adjust
4501         (par_iterator_end): adjust
4502
4503         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4504
4505         * BufferView.C (removeAutoInsets): adjust
4506         (ChangeInsets): adjust
4507
4508 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4509
4510         * text.C (top_y): fix bug 1110
4511
4512 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4513
4514         * errorlist.[Ch]: added
4515         * buffer.C:
4516         * BufferView.[Ch]:
4517         * BufferView_pimpl.C:
4518         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4519         instead
4520
4521 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * Makefile.am: ensure that lyx is relinked upon changes to the
4524         various "convenience" libs.
4525
4526 2003-05-20  Angus Leeming  <leeming@lyx.org>
4527
4528         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4529         files are compiled in alphabetical order again.
4530
4531         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4532
4533 2003-05-19  Angus Leeming  <leeming@lyx.org>
4534
4535         * gettext.[Ch]: remove "char const * _(char const *)".
4536
4537 2003-05-19  André Pönitz  <poenitz@gmx.net>
4538
4539         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4540
4541         * Makefile.am:
4542         * BufferView.C:
4543         * DepTable.h:
4544         * LaTeXFeatures.C:
4545         * buffer.C:
4546         * lyxfont.C:
4547         * lyxlex.h:
4548         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4549
4550 2003-05-19  André Pönitz  <poenitz@gmx.net>
4551
4552         * buffer.C:
4553         * lyxlayout.[Ch]:
4554         * lyxtextclass.[Ch]:
4555         * paragraph.C:
4556         * paragraph_funcs.[Ch]:
4557         * text2.C:
4558         * text3.C: more insetenv work
4559
4560 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4561
4562         * ParagraphParameters.C (params2string): small bug fixed
4563
4564 2003-05-16  André Pönitz  <poenitz@gmx.net>
4565
4566         * debug.C:
4567         * bufferview_funcs.C: patch from Kornel Benko to prevent
4568           crash when _(...) is called twice in a statement
4569
4570 2003-05-16  André Pönitz  <poenitz@gmx.net>
4571
4572         * BufferView.C:
4573         * lyxfunc.C:
4574         * text.C:
4575         * text2.C:
4576         * text3.C:
4577         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4578
4579 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4580
4581         * lyx_main.C (init): remove spurious static_cast
4582
4583 2003-05-14  André Pönitz  <poenitz@gmx.net>
4584
4585         * BufferView.C: fix format string
4586
4587 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4588
4589         * BufferView.[Ch] (insertErrors): removed
4590         * BufferView.[Ch] (showErrorList): added
4591         * buffer.C (runChkTeX):
4592         * converter.C (scanLog): call showErrorList instead of inserterrors
4593
4594 2003-05-13  André Pönitz  <poenitz@gmx.net>
4595
4596         * BufferView_pimpl.C:
4597         * buffer.C:
4598         * bufferview_func.C:
4599         * MenuBackend.C:
4600         * lyxfunc.C:
4601         * lyxrc.C:
4602         * tex-accent.C:
4603         * text3.C:
4604         * toc.C:
4605         * tabular_funcs.h: tostr() from its own header
4606
4607         * ParagraphParameters.C:
4608         * ToolbarBackend.C:
4609         * bufferparams.C:
4610         * format.C:
4611         * lyxlex_pimpl.C:
4612         * text3.C: STRCONV()
4613
4614 2003-05-12  André Pönitz  <poenitz@gmx.net>
4615
4616         * BufferView.C:
4617         * BufferView_pimpl.C:
4618         * CutAndPaste.C:
4619         * LaTeX.C:
4620         * LaTeXFeatures.C:
4621         * ParagraphParameters.C:
4622         * buffer.C:
4623         * bufferlist.C:
4624         * bufferparams.C:
4625         * bufferview_funcs.C:
4626         * converter.C:
4627         * counters.C:
4628         * debug.C:
4629         * exporter.C:
4630         * format.C:
4631         * importer.C:
4632         * lyx_cb.C:
4633         * lyx_main.C:
4634         * lyxfont.C:
4635         * lyxfunc.C:
4636         * lyxvc.C:
4637         * paragraph.C:
4638         * paragraph_funcs.C:
4639         * tabular.C:
4640         * tabular_funcs.C:
4641         * text2.C:
4642         * text3.C:  boost::format -> bformat  all over the place
4643
4644
4645 2003-05-09  André Pönitz  <poenitz@gmx.net>
4646
4647         * LColor.[Ch]: Pimpl the #include <map> away
4648
4649 2003-05-09  John Levon  <levon@movementarian.org>
4650
4651         * bufferlist.C: never remove emergency saves
4652
4653 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4654
4655         * Makefile.am: better lib building
4656
4657 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4658
4659         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4660         instead.
4661         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4662         (simpleTeXSpecialChars): adjust
4663         (simpleTeXSpecialChars): adjust
4664         * paragraph.C (simpleTeXOnePar): adjust
4665         * buffer.C (makeLaTeXFile): adjust
4666
4667         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4668
4669         * text2.C (changeDepth): parlist cleanup
4670         (getColumnNearX): ditto
4671
4672         * rowpainter.C (getLabelFont): parlist cleanup
4673
4674         * bufferlist.C (newFile): parlist cleanup
4675
4676         * CutAndPaste.C (eraseSelection): parlist cleanup
4677
4678         * BufferView_pimpl.C (trackChanges): parlist cleanup
4679         (dispatch): ditto
4680
4681         * BufferView.C (lockInset): parlist cleanup.
4682         (ChangeInsets): ditto
4683
4684 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4685
4686         * CutAndPaste.h: Update file header.
4687
4688         * CutAndPaste.C: Update file header.
4689         Store the parts cut out of the Document in a limited_stack.
4690         (copySelection): adjust
4691         (pasteSelection): new function, takes the index in the limited stack.
4692         (nrOfParagraphs): adjust
4693         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4694         simplify error inset insertion.
4695         (checkPastePossible): adjust
4696
4697 2003-05-06  John Levon  <levon@movementarian.org>
4698
4699         * text2.C: don't cast wrap inset to float
4700
4701 2003-05-05  André Pönitz  <poenitz@gmx.net>
4702
4703         * iterator.C:
4704         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4705
4706         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4707           few naked Paragraph *.
4708
4709 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4710
4711         * bufferparams.C: Output warning if a document with missing
4712         TeX document class is loaded
4713         * exporter.C: Disable TeX exports if the document class is missing
4714         * lyxtextclass.C:
4715         * lyxtextclass.h:
4716         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4717         isTeXClassAvailable()
4718
4719 2003-05-03  John Levon  <levon@movementarian.org>
4720
4721         * BufferView.h:
4722         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4723         explicit cursor show/hide
4724
4725         * BufferView_pimpl.h:
4726         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4727         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4728
4729         * lyxfunc.C: hide cursor before dispatching.
4730
4731         * lyx_cb.C:
4732         * lyxfind.C:
4733         * text.C:
4734         * text3.C: remove explicit cursor hides
4735
4736 2003-05-02  André Pönitz  <poenitz@gmx.net>
4737
4738         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4739
4740         * undo_funcs.C:
4741         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4742           linked lists
4743
4744         * text2.C: tiny whitespace
4745
4746 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4747
4748         * undo_funcs.C: almost only ws changes.
4749
4750         * ParagraphList.C (splice): just return if pl is empty.
4751
4752 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * ParagraphList.C (splice): new function.
4755
4756         * CutAndPaste.C (pasteSelection): use it
4757
4758 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4759
4760         * CutAndPaste.C (pasteSelection): remove the last next and
4761         previous from this file.
4762
4763 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4764
4765         * CutAndPaste.C (pasteSelection): more clean up, user proper
4766         ParagraphList functions for pasteing.
4767
4768         * ParagraphList.C (insert): new function, three arg insert
4769
4770 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4771
4772         * ParagraphList.C (insert): new function, three arg insert
4773
4774         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4775         not on paragraphs.
4776
4777 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4780
4781 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4782
4783         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4784
4785 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4788         (copySelection): clean up a bit.
4789         (pasteSelection): use make_pair
4790
4791         * ParagraphList.C (ParagraphList): implement copy constructor
4792         (operator=): implement, base on copy constructor.
4793         (assign): new func
4794
4795         * paragraph.C (erase): return a bool
4796
4797         * paragraph_pimpl.C (erasePos): remove function, move contents...
4798         (erase): ... here. Return a bool.
4799         (erase): call erase instead of erasePos.
4800
4801 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4802
4803         * ParagraphList.h: define PitPosPair
4804         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4805         ParagraphList, fix a bug on pasting multiple pars
4806         * text2.C: change interface to C&P
4807
4808 2003-04-30  André Pönitz  <poenitz@gmx.net>
4809
4810         * undo_func.C: revert part of yesterday's patch 2
4811
4812 2003-04-30  John Levon  <levon@movementarian.org>
4813
4814         * LColor.C: s/tabular/table/
4815
4816 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4817
4818         * text3.C (dispatch): do not convert iterator -> pointer
4819         * undo_funcs.C (setCursorParUndo): ditto
4820         * text_funcs.C (transposeChars): ditto
4821
4822         * text2.C (setLayout): ws changes only
4823
4824         * text.C (breakParagraph): do not convert iterator -> pointer
4825         (insertChar): ditto
4826         (acceptChange): ditto
4827         (rejectChange): ditto
4828         (changeCase): ditto
4829         (Delete): ditto
4830         (backspace): ditto
4831
4832         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4833         pointer
4834
4835 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4836
4837         * text3.C (gotoInset): YABG (yet another bad getChar)
4838
4839 2003-04-29  André Pönitz  <poenitz@gmx.net>
4840
4841         * paragraph.h: make operator= private unimplemented as long as
4842           it is unusable
4843
4844         * ParagraphList.C: whitespace
4845
4846         * paragraph.[Ch]:
4847         * paragraph_pimpl.[Ch]:
4848         * paragraph_funcs.C:
4849         * CutAndPaste.C:
4850         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4851
4852         * text2.C:
4853           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4854
4855 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4856
4857         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4858         * paragraph.[Ch] (erase):
4859         * paragraph_pimpl.[Ch] (erase): change return type and value
4860         * text2.C (cutSelection): some rework
4861
4862 2003-04-28  John Levon  <levon@movementarian.org>
4863
4864         * bufferlist.C: changes for unsaved changes dialog
4865
4866 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4867
4868         * bufferlist.C (newFile): set language (messages_) for new
4869         documents also.
4870
4871         * buffer.C (readFile): ws changes only.
4872
4873 2003-04-28  André Pönitz  <poenitz@gmx.net>
4874
4875         * undo_funcs.C:
4876         * lyxfunc.C:
4877         * buffer.[Ch]:
4878         * BufferView_pimpl.C:
4879         * BufferView.C: getParFromID related ParagraphList::iterator changes
4880
4881 2003-04-28  André Pönitz  <poenitz@gmx.net>
4882
4883         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4884           Changes
4885
4886 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4887
4888         * messages.C: remove one more localedir class variable.
4889
4890 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4891
4892         * messages.C (getLocaleDir): singleton generation function
4893         (Pimpl): use it.
4894         (Messages): add a default constructor.
4895
4896         * main.C (main): do not setup localedir here, do not call
4897         gettext_init.
4898
4899         * gettext.C (_): use it.
4900         (gettext_init): delete funciton
4901
4902 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4903
4904         * gettext.C (getLyXMessages): new singleton generating function.
4905
4906         * buffer.C (updateDocLang): adjust
4907
4908         * Makefile.am (messages.o): add target
4909         (main.o): remove target
4910
4911 2003-04-27  John Levon  <levon@movementarian.org>
4912
4913         * bufferlist.C:
4914         * lyx_cb.C:
4915         * lyxfunc.C:
4916         * lyxvc.C: specify cancel button in Alert::prompt
4917
4918 2003-04-26  John Levon  <levon@movementarian.org>
4919
4920         * text3.C:
4921         * lyxfunc.C:
4922         * lfuns.h:
4923         * LyXAction.C: add LFUN_INSET_SETTINGS
4924
4925         * lyxfunc.C: don't enable tabular-feature when there's
4926         just any locking inset
4927
4928 2003-04-26  John Levon  <levon@movementarian.org>
4929
4930         * bufferlist.C: re-add Cancel to buffer close question
4931
4932         * lyxfunc.C: fix import UI a bit
4933
4934 2003-04-25  John Levon  <levon@movementarian.org>
4935
4936         * gettext.C: remove the broken asserts for now
4937
4938 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4939
4940         * messages.C: make case where setlocale cannot comply work better.
4941
4942         * buffer.C (updateDocLang): new function
4943         (changeLanguage): use it
4944         (readFile): use it
4945
4946         * text2.C (setCounter): use B_ a bit.
4947
4948         * lyxlayout.C (Read): be sure to trim the label strings.
4949
4950         * messages.C (Messages): fix typo in comment
4951
4952         * buffer.C (readFile): set message_ after file is loaded.
4953         (makeDocBookFile): remove double return
4954         (changeLanguage): reset message_ upon language change.
4955         (B_): new func, use this to get translated buffer strings.
4956
4957         * main.C: add myself and Jean Marc as authors.
4958
4959 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4960
4961         * messages.[hC]: pimplify Messages, and three different pimpls to be
4962         used in different circumstances.
4963
4964         * gettext.[Ch]: change for use with new message code.
4965
4966 2003-04-24 André Pönitz <poenitz@gmx.net>
4967
4968         * factory.C: support for eqref
4969
4970 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4971
4972         * messages.[Ch]: add missing char
4973
4974         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4975
4976         * messages.[Ch]: New files
4977
4978 2003-04-18  John Levon  <levon@movementarian.org>
4979
4980         * BufferView.h:
4981         * BufferView.C:
4982         * BufferView_pimpl.C:
4983         * lfuns.h:
4984         * LyXAction.C:
4985         * lyxtext.h:
4986         * text2.C: remove layout-copy/paste (bug 778)
4987
4988 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4989
4990         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4991
4992 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4993
4994         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4995         if they succeed. Act accordingly.
4996
4997 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * text2.C (setCharFont): adjust
5000         (setCounter): adjust
5001         (insertStringAsLines): adjust
5002
5003         * text.C (leftMargin): adjust
5004         (setHeightOfRow): adjust
5005
5006         * rowpainter.C (paintFirst): adjust
5007         (paintLast): adjust
5008
5009         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5010         (outerHook): ditto
5011         (isFirstInSequence): ditto
5012         (getEndLabel): ditto
5013         (outerFont): adjust
5014
5015         * paragraph.C (getParLanguage): comment out some hard stuff.
5016
5017         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5018         (sgmlError): ditto
5019         (simpleDocBookOnePar): ditto
5020         (makeDocBookFile): use ParagraphList::iterator
5021
5022         * CutAndPaste.C (pasteSelection): adjust
5023
5024 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * text2.C (getFont): adjust
5027         (getLayoutFont): adjust
5028         (getLabelFont): adjust
5029
5030         * paragraph_funcs.C (TeXOnePar): adjust
5031
5032         * buffer.C (simpleLinuxDocOnePar): adjust
5033         (simpleDocBookOnePar): adjust
5034
5035         * CutAndPaste.C (pasteSelection): adjust
5036
5037         * BufferView.C (getEncoding): adjust
5038
5039         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5040
5041 2003-04-16  John Levon  <levon@movementarian.org>
5042
5043         * lyxfind.C: use parlist stuff for search/changes
5044
5045 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5048
5049         * text2.C (deleteEmptyParagraphMechanism): adjust
5050
5051         * text2.[Ch] (ownerParagraph): delete func (both of them
5052
5053 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5056
5057 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5058
5059         * ParagraphList.C: prepare for NO_NEXT
5060
5061 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5062
5063         * text2.C (getFont): adjust
5064         (getLayoutFont): adjust
5065         (getLabelFont): adjust
5066
5067         * paragraph.C (getFont): adjust
5068         (getLabelFont): adjust
5069         (getLayoutFont): adjust
5070
5071         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5072
5073 2003-04-15  John Levon  <levon@movementarian.org>
5074
5075         From Angus Leeming
5076
5077         * lyx_main.C: handle Include in .ui files
5078
5079 2003-04-15  John Levon  <levon@movementarian.org>
5080
5081         * MenuBackend.C: make the doc files length shorter
5082
5083         * ToolbarBackend.h:
5084         * ToolbarBackend.C: handle toolbar placement flags,
5085         Minibuffer
5086
5087 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5088
5089         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5090         adjust
5091
5092         * paragraph_funcs.C (TeXOnePar): adjust
5093
5094         * paragraph.C (getLabelFont): add outerfont arg, adjust
5095         (getLayoutFont): ditto
5096         (simpleTeXOnePar): adjust
5097
5098         * paragraph_pimpl.C (realizeFont): delete func
5099
5100 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5101
5102         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5103         row argument, constify cur argument.
5104
5105 2003-04-15  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         (outerFont): new func...
5113         (realizeFont): ...moved out from here, changed this to facilitate
5114         transition
5115
5116         * paragraph.C (getFont): take outerfont as arg, adjust
5117         (simpleTeXOnePar): add outerfont arg, adjust
5118
5119         * buffer.C (simpleLinuxDocOnePar): adjust
5120         (simpleDocBookOnePar): adjust
5121
5122         * CutAndPaste.C (pasteSelection): adjust
5123
5124         * BufferView.C (getEncoding): adjust
5125
5126 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5127
5128         * text2.C (setCharFont): adjust
5129         (setCounter): adjust
5130
5131         * text.C (leftMargin): adjust
5132         (setHeightOfRow): adjust
5133
5134         * rowpainter.C (paintFirst): adjust
5135         (paintLast): adjust
5136
5137         * paragraph_pimpl.C (realizeFont): adjust
5138
5139         * paragraph.C (isFirstInSequence): move from here...
5140         * paragraph_funcs.C (isFirstInSequence): ...to here
5141
5142         * paragraph.C (outerHook): move from here...
5143         * paragraph_funcs.C (outerHook): ...to here
5144
5145         * paragraph.C (depthHook): move from here...
5146         * paragraph_funcs.C (depthHook): ...to here
5147
5148         * paragraph.C (getEndLabel): move from here...
5149         * paragraph_funcs.C (getEndLabel): ...to here
5150
5151         * text2.C (realizeFont): move from here...
5152         * paragraph_funcs.C (realizeFont): ...to here
5153
5154 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5157
5158 2003-04-14  Angus Leeming  <leeming@lyx.org>
5159
5160         * LColor.[Ch]: scrap LColor mathcursor.
5161
5162 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5163
5164         * lyxlex.[Ch] (text): delete function
5165         * trans.C (Load): adjust
5166         * paragraph_funcs.C (readParToken): adjust
5167
5168 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5171         vector<char> instead of a char[].
5172
5173         * lyxlex_pimpl.C (getString): adjust
5174         (next): adjust
5175         (lex): use getString
5176         (eatLine): adjust
5177         (nextToken): adjust
5178
5179         * lyxlex.C (text): use pimpl_->getString()
5180         (getBool): ditto
5181         (findToken): ditto
5182
5183 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5186         (makeFontEntriesLayoutSpecific): temp var for par.size()
5187         (setLayout): temp var for ownerParagraphs().end()
5188         (fullRebreak): temp var for rows().end()
5189         (selectionAsString): temp var for boost::next(startpit), realize
5190         that the while really is a regular for loop.
5191         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5192         setCursor in one place.
5193         (setParagraph): temp vr for ownerParagraphs().end()
5194         (updateCounters): make the while loop a for loop
5195         (cutSelection): temp var for ownerParagraphs().end()
5196         (updateInset): make the do {} while() a regular for loop
5197         (getCursorX): use temp vars
5198         (setCurrentFont): use temp vars
5199         (getColumnNearX): use temp vars
5200
5201 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5202
5203         * text.C (transformChar): use temp var for getChar
5204         (computeBidiTables): use temp var for row->par()
5205         (fill): move temp vars for row->par() and pit->layout() earlier in
5206         the function.
5207         (labelFill): use temp var for row->par()
5208         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5209         asc and desc, realize that pit never changes and that firstpit is
5210         just a duplicate and not needed. Exchange rit->par() with pit in a
5211         lot of places.
5212         (breakAgain): use a temp var for boost::next(rit)
5213         (breakAgainOneRow): ditto
5214         (breakParagraph): use a temp var for rows().begin()
5215         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5216         (cursorRightOneWord): use temp var for cursor.par() and
5217         cursor.pos(), remove usage of tmpcursor.
5218         (cursorLeftOneWord): use temp var for cursor.par() and
5219         cursor.pos() only set cur at end of function.
5220
5221 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * text.C, text2.C: exchange all usage of Paragraph::next with
5224         boost::next(ParagraphList::iterator)
5225
5226         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5227
5228         * text2.C (cursorTop): simplify implementation
5229         (cursorBottom): ditto
5230         (setParagraph): use ParagraphList::iterator
5231         (setCurrentFont): adjust
5232         (getColumnNearX): adjust
5233         (cursorRight): adjust
5234         (cursorLeft): remove usage of Paragraph::previous
5235         (cursorUpParagraph): ditto
5236         (deleteEmptyParagraphMechanism): slight cleanup
5237
5238         * text.C (isBoundary): take a Paragraph const & instead of a
5239         pointer as arg.
5240         (addressBreakPoint): ditto
5241         (leftMargin): remove usage of Paragraph::previous.
5242         (setHeightOfRow): ditto
5243         (cursorLeftOneWord): ditto
5244         (selectNextWordToSpellcheck): ditto
5245         (Delete): ditto
5246         (backspace): ditto
5247         (breakParagraph): remove one usage of Paragraph::next
5248         (redoParagraph): ditto
5249         (acceptChange): ditto
5250         (insertChar): adjust
5251         (rowBreakPoint): adjust
5252
5253         * bufferview_funcs.C (toggleAndShow): adjust
5254
5255 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5256
5257         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5258         methods to access it.
5259         * lyxtext.h:
5260         * text.C: Added updateRowPositions to compute all row positions.
5261         Make top_y and getRowNearY() to use the cached y position
5262
5263 2003-04-11  John Levon  <levon@movementarian.org>
5264
5265         * text.C (rowBreakPoint): reintroduce the labelEnd
5266         checks, code copied from the row fill stuff. Deep voodoo.
5267
5268         * text.C (fill): add a comment and debugging for the
5269         next poor soul.
5270
5271 2003-04-11  John Levon  <levon@movementarian.org>
5272
5273         * text.C: make sure fullrow insets get wrapped to the next line,
5274         even when they're in a manual label
5275
5276 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5277
5278         * text2.C (insertParagraph): make it take ParagraphList::iterator
5279         as arg.
5280         (setLayout): make it return ParagraphList::iterator
5281         (redoParagraphs): ditto
5282         (setCounter): ditto
5283         (checkParagraph): ditto
5284
5285         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5286
5287         * text2.C: adjust several funcs.
5288         (realizeFont): take a ParagraphList::iterator as arg.
5289         (getLayoutFont): ditto
5290         (getLabelFont): ditto
5291         (setCharFont): ditto
5292
5293         * text.C: adjust several funcs.
5294
5295 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5296
5297         * text.C (selectNextWordToSpellcheck): don't accidentally
5298         skip insets
5299
5300 2003-04-10  John Levon  <levon@movementarian.org>
5301
5302         * ToolbarBackend.C (getIcon): special handling for
5303         LFUN_MATH_DELIM
5304
5305 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5306
5307         * text2.C (cursorRight): a getChar assert fixed
5308
5309 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5310
5311         * text2.C (getFont): change to take a ParagraphList::iterator
5312         instead of Paragraph*
5313         Adjust several functions.
5314
5315         * text.C (transformChar): change to take a ParagraphList::iterator
5316         instead of Paragraph*
5317         (singleWidth): ditto
5318         Adjust several functions.
5319
5320         * rowpainter.C: adjust several functions
5321         * rowpainter.h:store a ParagraphList::iterator and not a
5322         Paragraph&.
5323
5324
5325 2003-04-09  John Levon  <levon@movementarian.org>
5326
5327         * lyxfunc.C:
5328         * lfuns.h:
5329         * LyXAction.h:
5330         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5331         and the "help" bits as well
5332
5333 2003-04-09  John Levon  <levon@movementarian.org>
5334
5335         * ToolbarBackend.h:
5336         * ToolbarBackend.C: allow multiple toolbars
5337
5338 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5339
5340         * undo_funcs.C (setCursorParUndo): adjust
5341
5342         * text_funcs.C (transposeChars): adjust
5343
5344         * text3.C (gotoNextInset): adjust
5345         (dispatch): adjust
5346
5347         * text2.C (setLayout): adjust
5348         (changeDepth): adjust
5349         (setFont): adjust
5350         (redoParagraphs): adjust
5351         (selectionAsString): adjust
5352         (setParagraph): adjust
5353         (insertInset): adjust
5354         (cutSelection): adjust
5355         (copySelection): adjust
5356         (pasteSelection): adjust
5357         (insertStringAsLines): adjust
5358         (updateInset): adjust
5359         (setCursor): change to take a ParagraphList::iterator parameter
5360         (setCursorIntern): change to take a ParagraphList::iterator parameter
5361         (setCurrentFont): adjust
5362         (cursorLeft): adjust
5363         (cursorRight): adjust
5364         (deleteEmptyParagraphMechanism): adjust
5365
5366         * text.C (breakParagraph): adjust
5367         (insertChar): adjust
5368         (acceptChange): adjust
5369         (rejectChange): adjust
5370         (selectNextWordToSpellcheck): adjust
5371         (changeCase): adjust
5372         (Delete): adjust
5373         (backspace): adjust
5374
5375         * lyxfind.C (SearchForward): adjust
5376         (SearchBackward): adjust
5377         (nextChange): adjust
5378
5379         * lyxcursor.C (par): adjust
5380
5381         * lyxcursor.h: store a ParagraphList::iterator instead of a
5382         Paragraph*
5383
5384         * lyx_cb.C (getPossibleLabel): adjust
5385
5386         * bufferview_funcs.C (toggleAndShow): adjust
5387
5388         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5389         (dispatch): adjust
5390
5391         * BufferView.C (removeAutoInsets): adjust
5392         (lockedInsetStoreUndo): adjust
5393
5394 2003-04-09  John Levon  <levon@movementarian.org>
5395
5396         * ToolbarBackend.C: try icon without argument
5397         if with argument fails
5398
5399 2003-04-08  John Levon  <levon@movementarian.org>
5400
5401         * ToolbarBackend.h:
5402         * ToolbarBackend.C: add getIcon(), handle tooltip,
5403         and change from "Icon" to "Item".
5404
5405 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5406
5407         * BufferView.C (lockInset): another bad getchar crunched
5408
5409 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5410
5411         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5412         again)
5413
5414 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5415
5416         * lyxfind.C (searchForward, searchBackwards): bug 782
5417
5418 2003-04-07  John Levon  <levon@movementarian.org>
5419
5420         * paragraph.C: remove dead comment
5421
5422         * text.C: remove troublesome depth-fiddling code
5423         in leftMargin() and rightMargin() (bug 1017)
5424
5425         * text.C: fix breaking of rows in nested lists
5426         (bug 1004)
5427
5428         * text2.C (updateCounters): fix up depth values
5429         (bug 1013)
5430
5431 2003-04-07  John Levon  <levon@movementarian.org>
5432
5433         * BufferView_pimpl.C: clear message when doc finishes resizing,
5434         and after a mouse event
5435
5436         * lyxfunc.C: clear message after exiting inset
5437
5438 2003-04-07  John Levon  <levon@movementarian.org>
5439
5440         * bufferview_funcs.C: show math status not outside
5441         status in the statusbar
5442
5443 2003-04-07  John Levon  <levon@movementarian.org>
5444
5445         * lyxfunc.C: note status changed after a depth change
5446
5447 2003-04-04  Angus Leeming  <leeming@lyx.org>
5448
5449         * LaTeX.h: move AuxInfo operator==, != out of line.
5450         Remove LaTeX virtual destructor; nothing derives from it.
5451         Move operator()() out of public area and rename it startscript().
5452         Change protected for private.
5453
5454 2003-04-04  Angus Leeming  <leeming@lyx.org>
5455
5456         * lyxfunc.C:
5457         * text2.C: remove unneeded #includes.
5458
5459 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5460
5461         * text2.C (dEPM): fix the heigth of the next row
5462
5463 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5464
5465         * text.C: squashed an invalid getChar requester + some ws changes
5466
5467 2003-04-03  John Levon  <levon@movementarian.org>
5468
5469         * bufferview_funcs.h:
5470         * bufferview_funcs.C:
5471         * lyxfunc.C:
5472         * lyxtext.h:
5473         * text2.C: make getStatus work for the env depth lfuns
5474
5475 2003-04-03  John Levon  <levon@movementarian.org>
5476
5477         * bufferview_funcs.h:
5478         * bufferview_funcs.C:
5479         * lyxfunc.C:
5480         * lyxtext.h:
5481         * text2.C: parlistize decDepth(), by merging it with incDepth()
5482
5483 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * lyxrow.h: store a ParagraphList::iterator instead of a
5486         Paragraph* and adjust other class functions to suit.
5487
5488         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5489         above.
5490
5491 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5492
5493         * text2.C (setCursor): do not anchor to cursor row for the time being
5494
5495 2003-04-02  John Levon  <levon@movementarian.org>
5496
5497         * LyXAction.C:
5498         * lfuns.h:
5499         * lyx_main.C:
5500         * lyxtext.h:
5501         * text.C:
5502         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5503
5504 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5505
5506         * paragraph.h: make ParagraphList and ParagraphList::iterator
5507         friends of Paragraph.
5508
5509         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5510
5511         * ParagraphList.C: Use the private next_ and previous_ from
5512         Paragraph.
5513
5514 2003-04-01  John Levon  <levon@movementarian.org>
5515
5516         * ToolbarBackend.h:
5517         * ToolbarBackend.C:
5518         * Makefile.am: rename, remove defaults gunk
5519
5520         * MenuBackend.h:
5521         * MenuBackend.C: remove defaults gunk
5522
5523         * Languages.h:
5524         * Languages.C: remove defaults gunk
5525
5526         * lyx_main.h:
5527         * lyx_main.C: error out if files couldn't be found.
5528
5529 2003-04-02  John Levon  <levon@movementarian.org>
5530
5531         * text2.C: make incDepth() use parlist
5532
5533 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5534
5535         * undo_funcs.C (firstUndoParagraph): adjust
5536
5537         * text3.C (gotoInset): adjust
5538         (dispatch): adjust, and rewrite loop.
5539
5540         * text2.C (init): adjust, and rewrite loop.
5541         (redoParagraphs): adjust
5542         (updateInset): adjust, and rewrite loop.
5543         (deleteEmptyParagraphMechanism): adjust
5544
5545         * tabular.C (LyXTabular): adjust
5546         (SetMultiColumn): adjust
5547         (TeXRow): adjust
5548
5549         * lyxtext.[Ch] (ownerParagraph): delete function
5550         (ownerParagraphs): new function returns a ParagraphList.
5551
5552         * BufferView.C (removeAutoInsets): adjust
5553         (insertErrors): adjust
5554         (setCursorFromRow): adjust
5555
5556 2003-04-01  Angus Leeming  <leeming@lyx.org>
5557
5558         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5559         in the frontends.
5560
5561 2003-04-02  John Levon  <levon@movementarian.org>
5562
5563         * lyxtext.h:
5564         * text.C:
5565         * Makefile.am:
5566         * text_funcs.h:
5567         * text_funcs.C: make transposeChars a free function
5568
5569         * lyxrow_funcs.C: remove wrong comment
5570
5571 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * lyxtext.h: adjust
5574         * rowpainter.C: adjust
5575         * text.C: adjust
5576         * text2.C: adjust
5577         * text3.C: adjust
5578
5579         * lyxrow_funcs. [Ch]: new files
5580
5581         * lyxrow.[Ch]: remove next and previous pointers
5582         (next,previous): remove accessor functions
5583         (isParEnd): move to lyxrow_funcs
5584         (lastPos): move to lyxrow_funcs
5585         (nextRowIsAllInset): move to lyxrow_funcs
5586         (lastPrintablePos): move to lyxrow_funcs
5587         (numberOfSeparators): move to lyxrow_funcs
5588         (numberOfHfills): move to lyxrow_funcs
5589         (numberOfLabelHfills): move to lyxrow_funcs
5590         (hfillExpansion): move to lyxrow_funcs
5591
5592         * lyxfunc.C: adjust
5593
5594         * bufferview_funcs.C (toggleAndShow): adjust
5595
5596         * RowList.h: Remove class RowList from file leave just a
5597         std::list<Row>.
5598
5599         * RowList.C: delete file
5600
5601         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5602         and lyxrow_funcs.h
5603
5604 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5605
5606         * text3.C (cursorPrevious): adjust
5607         (cursorNext): adjust
5608         (dispatch): adjust
5609
5610         * text2.C (redoHeightOfParagraph): adjust
5611         (redoDrawingOfParagraph): adjust
5612         (setCursor): adjust
5613
5614         * text.C (breakParagraph): adjust
5615         (insertChar): adjust
5616         (backspace): adjust
5617
5618         * rowpainter.C (RowPainter): adjust
5619         (leftMargin): simplify and adjust
5620         (most rowpainter functions): adjust.
5621
5622         * rowpainter.h: store the row as RowList::iterator not as Row*
5623
5624         * lyxcursor.C (row): taka RowList::iterator as arg
5625         (irow): ditto
5626
5627         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5628         of Row*.
5629
5630 2003-04-01  Angus Leeming  <leeming@lyx.org>
5631
5632         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5633         stuff like bool Bool.
5634
5635 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5636
5637         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5638         rewrite a loop
5639
5640 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5641
5642         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5643         RowList::iterator.
5644
5645         * lyxtext.h (rows): drop one version and leve a const variant that
5646         returns a RowList::iterator.
5647
5648 2003-03-31  Angus Leeming  <leeming@lyx.org>
5649
5650         * text.C (fill): ensure that the signature is the same as that in the
5651         header file.
5652
5653 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5654
5655         * text2.C (redoParagraphs): adjust
5656         (updateCounters): adjust
5657         (checkParagraph): adjust
5658         (getColumnNearX): adjust and reformat a bit.
5659
5660         * text.C (top_y): adjust
5661         (workWidth): adjust
5662         (leftMargin): adjust
5663         (prepareToPrint): adjust
5664         (getRow): adjust
5665         (getRowNearY): adjust
5666
5667         * lyxtext.h: make rowlist_ mutable.
5668
5669         * RowList.h: add const_iterator
5670         * RowList.C: adjust for RowList::const_iterator.
5671
5672         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5673         adjust.
5674
5675 2003-03-31  John Levon  <levon@movementarian.org>
5676
5677         * lyxrc.h:
5678         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5679
5680         * lyx_main.C: set default fonts from using lyx_gui funcs
5681
5682         * exporter.C: pdf_mode moved from lyxrc
5683
5684         * lyx_cb.C:
5685         * lyxfunc.C: changes from above
5686
5687 2003-03-31  John Levon  <levon@movementarian.org>
5688
5689         * lyx_main.C: fix to the last fix
5690
5691 2003-03-31  John Levon  <levon@movementarian.org>
5692
5693         * bufferlist.C: "Load original" -> "Load Original"
5694
5695         * converter.C:
5696         * exporter.C:
5697         * importer.C:
5698         * lyx_main.C:
5699         * format.C: more Alert cleanups
5700
5701 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * text2.C (removeParagraph): make it take a RowList::iterator as
5704         arg, adjust.
5705         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5706         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5707
5708         * text.C (anchor_row): make it take a RowList::iterator as arg,
5709         adjust.
5710         (computeBidiTables): make it take a const reference to Row instead
5711         of Row pointer, adjust.
5712         (leftMargin): make it take a RowList::iterator as arg, adjust.
5713         (rowBreakPoint): adjust
5714         (breakAgainOneRow): make it take a RowList::iterator as arg,
5715         adjust.
5716         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5717
5718         * bufferview_funcs.C (toggleAndShow): adjust
5719
5720 2003-03-30  John Levon  <levon@movementarian.org>
5721
5722         * Makefile.am:
5723         * BoostFormat.h:
5724         * boost-inst.C: moved to support
5725
5726         * several files: changes as a result
5727
5728 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * text2.C (LyXText): adjust.
5731         (init): adjust
5732         (removeRow): make it take a RowList::iterator as arg, adjust.
5733         (fullRebreak): adjust
5734         (deleteEmptyParagraphMechanism): adjust
5735         (clearPaint): adjust
5736         (postPaint): adjust
5737
5738         * text.C (top_y): adjust
5739         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5740         (breakAgain): make it take a RowList::iterator as arg, adjust.
5741         (breakParagraph): adjust
5742         (insertChar): adjust
5743         (backspace): adjust
5744
5745         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5746         need_break_row, and refresh_row.
5747
5748         * text3.C (dispatch): adjust
5749
5750         * text2.C (checkParagraph): adjust
5751         (setCursor): adjust
5752         (setCursorFromCoordinates): adjust
5753
5754         * text.C (top_y): adjust
5755         (workWidth): adjust
5756         (getRow): make it return a RowList::iterator, adjust
5757         (getRowNearY): make it return a RowList::iterator, adjust
5758
5759         * text2.C (init): adjust
5760         (insertRow): remove function
5761         (insertParagraph): adjust
5762         (redoParagraphs): adjust
5763         (fullRebreak): adjust
5764         (updateCounters): adjust
5765
5766         * text.C (top_y): rewrite to use RowList iterators.
5767         (top_y): adjust
5768         (setHeightOfRow): rewrite to sue RowList iterators.
5769         (appendParagraph): adjust
5770         (breakAgain): adjust
5771         (breakAgainOneRow): adjust
5772         (breakParagraph): adjust
5773         (getRow): adjust
5774         (getRowNearY): adjust, and remove commented code.
5775
5776         * lyxtext.h (firstRow): delete function
5777         (lastRow): delete function
5778         (rows): new function (const and non-const versions.)
5779         (insertRow): delete function
5780
5781         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5782
5783 2003-03-29  John Levon  <levon@movementarian.org>
5784
5785         * BufferView_pimpl.C: always update scrollbar top
5786         because pasting text when we're anchored could mean we
5787         miss an update altogether
5788
5789 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * text2.C (init): use rowlist_.end() and not 0.
5792         (insertRow): change to take a RowList::iterator as arg, adjust
5793         for this.
5794         (insertParagraph): change to take a RowList::iterator as arg,
5795         adjust for this.
5796         (redoParagraphs): remove some debug msgs.
5797
5798         * text.C (appendParagraph): change to take a RowList::iterator
5799         arg, adjust for this.
5800         (breakAgain): add an assert
5801         (breakAgainOneRow): ditto
5802
5803 2003-03-29  John Levon  <levon@movementarian.org>
5804
5805         * text2.C: do not clear selection after inc/decDepth
5806         (bug 550)
5807
5808 2003-03-29  John Levon  <levon@movementarian.org>
5809
5810         * BufferView.C:
5811         * buffer.C: fix broken strerrors according to Lars
5812
5813 2003-03-29  John Levon  <levon@movementarian.org>
5814
5815         * converters.C: more Alert cleanups
5816
5817 2003-03-29  John Levon  <levon@movementarian.org>
5818
5819         * bufferview_funcs.C: remove pointless Alert
5820
5821         * buffer.C: fix confusing error message when
5822         a template is chmoded 000
5823
5824 2003-03-29  John Levon  <levon@movementarian.org>
5825
5826         * BufferView.C:
5827         * BufferView.h:
5828         * BufferView_pimpl.C: Alert fixes
5829
5830         * Makefile.am:
5831         * tabular.C:
5832         * tabular-old.C: remove unused table compat reading
5833
5834 2003-03-29  John Levon  <levon@movementarian.org>
5835
5836         * BufferView.C:
5837         * buffer.C:
5838         * lyx_cb.h:
5839         * lyx_cb.C: more Alert cleanups
5840
5841         * lyxfunc.C: don't allow chktex if not latex document
5842
5843 2003-03-29  John Levon  <levon@movementarian.org>
5844
5845         * lyx_cb.C:
5846         * BufferView.C:
5847         * buffer.C: warnings pushed down from support/,
5848         kill err_alert
5849
5850 2003-03-29  John Levon  <levon@movementarian.org>
5851
5852         * lyxfunc.C: safety check for C-r (revert)
5853
5854 2003-03-29  John Levon  <levon@movementarian.org>
5855
5856         * bufferlist.h:
5857         * bufferlist.C: several UI fixes using Alert::prompt.
5858         Fix the pointless looping quit code. Fix stupid revert
5859         behaviour (bug 938)
5860
5861         * lyxvc.h:
5862         * lyxvc.C:
5863         * lyx_cb.C: use Alert::prompt
5864
5865         * lyx_main.C: remove a silly question
5866
5867         * lyxfunc.C: remove a couple of silly questions,
5868         use Alert::prompt
5869
5870 2003-03-28  John Levon  <levon@movementarian.org>
5871
5872         * text2.C: fix bug 974 (End on empty par)
5873
5874 2003-03-28  John Levon  <levon@movementarian.org>
5875
5876         * BufferView_pimpl.C:
5877         * LyXAction.C:
5878         * lfuns.h: remove do-nothing math greek lfuns
5879
5880 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * lyxgluelength.h (isValidGlueLength): add default arg on
5883         parameter 2. Remove default arg from friend in class.
5884
5885         * lyxlength.h (isValidLength): add default arg on parameter 2.
5886         Remove default arg from friend in class.
5887
5888         * text2.C (LyXText): adjust, initialize refresh_row.
5889         (init): adjust
5890         (removeRow): adjust
5891         (insertRow): adjust
5892         (insertParagraph): adjst
5893         (redoParagraphs): adjust
5894         (fullRebreak): adjust
5895         (updateCounters): adjust
5896         (deleteEmptyParagraphMechanism): first attempt at fixing a
5897         crashing bug.
5898
5899         * text.C (top_y): adjust
5900         (setHeightOfRow): adjust
5901         (getRow): adjust
5902         (getRowNearY): adjust
5903
5904         * lyxtext.h: include RowList.h
5905         (~LyXText): not needed anymore, deleted.
5906         (firstRow): modify for RowList
5907         (lastRow): new function
5908         Delete firstrow and lastrow class variables, add a Rowlist
5909         rowlist_ class variable.
5910
5911         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5912         paragraph is empty.
5913
5914         * RowList.C (insert): fix case where it == begin().
5915
5916 2003-03-26  Angus Leeming  <leeming@lyx.org>
5917
5918         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5919         the thesaurus dialog.
5920
5921 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5924
5925         * RowList.[Ch]: new files
5926
5927         * ParagraphList.C (erase): handle the case where it == begin
5928         correctly.
5929
5930 2003-03-25  John Levon  <levon@movementarian.org>
5931
5932         * Makefile.am:
5933         * aspell_local.h:
5934         * aspell.C: add new aspell support
5935
5936         * lyxrc.h:
5937         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5938         have it accessible.
5939
5940 2003-03-25  Angus Leeming  <leeming@lyx.org>
5941
5942         * lfuns.h:
5943         * LyXAction.C (init): new LFUN_INSET_INSERT.
5944
5945         * BufferView_pimpl.C (dispatch): split out part of the
5946         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5947
5948         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5949         LFUN_INSET_APPLY.
5950
5951 2003-03-25  Angus Leeming  <leeming@lyx.org>
5952
5953         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5954
5955 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5956
5957         * text2.C:
5958         * text3.C: remove useless row->height(0)
5959
5960 2003-03-25  John Levon  <levon@movementarian.org>
5961
5962         * lyxtext.h:
5963         * text2.C:
5964         * text3.C: rename the refreshing stuff to better names
5965
5966 2003-03-24  John Levon  <levon@movementarian.org>
5967
5968         * BufferView_pimpl.h:
5969         * BufferView_pimpl.C: update layout choice on a mouse
5970         press/release
5971
5972 2003-03-23  John Levon  <levon@movementarian.org>
5973
5974         * Makefile.am: fix commandtags.h reference
5975
5976 2003-03-22  John Levon  <levon@movementarian.org>
5977
5978         * BufferView_pimpl.C:
5979         * lyxtext.h:
5980         * rowpainter.C:
5981         * rowpainter.h:
5982         * text.C:
5983         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5984
5985 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5986
5987         * lyxtext.h:
5988         * text.C: take the rtl methods out of line
5989
5990 2003-03-21 André Pönitz <poenitz@gmx.net>
5991
5992         * metricsinfo.[Ch]: new files containing structures to be passed around
5993         during the two-phase-drawing...
5994
5995 2003-03-21 André Pönitz <poenitz@gmx.net>
5996
5997         * lyxtextclass.C: read 'environment' tag.
5998
5999 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6000
6001         * text2.C (removeRow): fix bug 964
6002
6003 2003-03-20  John Levon  <levon@movementarian.org>
6004
6005         * rowpainter.C:
6006         * text.C:
6007         * text2.C: paint cleanups. Inset::update() dropped font
6008         parameter
6009
6010 2003-03-19  John Levon  <levon@movementarian.org>
6011
6012         * lyxfunc.C: only fitcursor/markDirty if available()
6013
6014 2003-03-19  John Levon  <levon@movementarian.org>
6015
6016         * commandtags.h: rename to ...
6017
6018         * lfuns.h: ... this, and renumber / cleanup
6019
6020 2003-03-19  John Levon  <levon@movementarian.org>
6021
6022         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6023         fit the cursor after an lfun
6024
6025         * BufferView.h:
6026         * BufferView.C:
6027         * BufferView_pimpl.h:
6028         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6029
6030         * LyXAction.C: layout-character should have ReadOnly
6031
6032         * ParagraphParameters.C:
6033         * buffer.C:
6034         * bufferview_funcs.C:
6035         * lyx_cb.C:
6036         * lyxfind.C:
6037         * lyxtext.h:
6038         * text.C:
6039         * text2.C:
6040         * text3.C:
6041         * undo_funcs.C: changes from above
6042
6043 2003-03-18  John Levon  <levon@movementarian.org>
6044
6045         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6046         remove it from update()
6047
6048         * lyxfunc.C: update layout choice after an lfun
6049
6050         * text3.C: remove extra updateLayoutChoice()s
6051
6052 2003-03-18  John Levon  <levon@movementarian.org>
6053
6054         * text.C: top_y change means full repaint, fix
6055         a drawing bug with cursor movement
6056
6057 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6058
6059         * lyxtext.h:
6060         * text.C:
6061         * text2.C: anchor row on setCursor
6062
6063 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6064
6065         * lyxtext.h: remove almost all mutable keywords
6066         * text.C:
6067         * text2.C:
6068         * text3.C: remove const keywords accordingly
6069
6070 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6071
6072         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6073         anon namespace
6074         (TeXEnvironment): ditto
6075         (TeXOnePar): ditto
6076
6077 2003-03-17  John Levon  <levon@movementarian.org>
6078
6079         * text.C (rowBreakPoint): remove attempt to fix displayed
6080         math insets inside a manual label
6081
6082 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6083
6084         * lyxtext.h: remove BufferView* as first arg from almost all class
6085         functions.
6086         * other files: adjust.
6087
6088 2003-03-17  John Levon  <levon@movementarian.org>
6089
6090         * lyxtext.h:
6091         * undo_funcs.C:
6092         * text2.C: more paint cleanups
6093
6094         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6095
6096         * rowpainter.h:
6097         * rowpainter.C: remove "smart" background painting code
6098
6099 2003-03-16  John Levon  <levon@movementarian.org>
6100
6101         * lyxtext.h:
6102         * text.C:
6103         * text2.C:
6104         * text3.C: add helper functions for setting refresh_row/y
6105
6106 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6107
6108         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6109         newline inset which *can* get inserted in the pass_thru layouts.
6110         This is primarily for literate documents.
6111
6112 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6113
6114         * buffer.C: increment LYX_FORMAT to 223
6115
6116 2003-03-14 André Pönitz <poenitz@gmx.net>
6117
6118         * textclass.h: prepare for environment handling, ws changes
6119         * lyxlayout.C: read latexheader and latexfooter tags
6120
6121 2003-03-14  John Levon  <levon@movementarian.org>
6122
6123         * text2.C: rewrite ::status() a bit
6124
6125 2003-03-13  John Levon  <levon@movementarian.org>
6126
6127         * lyxtext.h: add some docs
6128
6129 2003-03-13  John Levon  <levon@movementarian.org>
6130
6131         * lyxtext.h:
6132         * text.C:
6133         * text2.C:
6134         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6135
6136 2003-03-13  John Levon  <levon@movementarian.org>
6137
6138         * text3.C: fix appendix redrawing
6139
6140 2003-03-13  John Levon  <levon@movementarian.org>
6141
6142         * text.C (setHeightOfRow):
6143         * rowpainter.h:
6144         * rowpainter.C: make appendix mark have the text
6145           "Appendix" so the user knows what it is
6146
6147         * LColor.h:
6148         * LColor.C: s/appendixline/appendix/ from above
6149
6150 2003-03-13  John Levon  <levon@movementarian.org>
6151
6152         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6153
6154         * text.C: fix a getChar(pos) bug properly
6155
6156 2003-03-13  Angus Leeming  <leeming@lyx.org>
6157
6158         * commandtags.h:
6159         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6160         Probably only temporary. Let's see how things pan out.
6161
6162         * BufferView.C (unlockInset):
6163         * BufferView_pimpl.C (fitCursor):
6164         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6165
6166         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6167         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6168
6169         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6170         new functions that convert ParagraphParameters to and from a string.
6171
6172         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6173         BufferView::Pimpl's dispatch.
6174         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6175
6176 2003-03-13 André Pönitz <poenitz@gmx.net>
6177
6178         * lyxfunc.C:
6179         * text3.C:
6180         * factory.C: make it aware of InsetEnv
6181
6182 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6183
6184         * text2.C (setCursor): never ask for one past last
6185         (setCursor): add some debugging messages.
6186
6187         * text.C (singleWidth): never ask for one past last
6188         (singleWidth): ditto
6189         (leftMargin): ditto
6190         (rightMargin): ditto
6191         (rowBreakPoint): ditto
6192         (setHeightOfRow): ditto
6193         (prepareToPrint): ditto
6194
6195         * rowpainter.C (paintBackground): never ask for one past last
6196         (paintText): never ask for one past last
6197
6198         * paragraph_pimpl.C (getChar): make the assert stricter, never
6199         allow the one past last pos to be taken
6200
6201         * paragraph.C (getChar): ws changes only
6202
6203         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6204         (numberOfSeparators): ditto
6205         (numberOfHfills): ditto
6206
6207 2003-03-12  John Levon  <levon@movementarian.org>
6208
6209         * author.h:
6210         * author.C:
6211         * bufferparams.h:
6212         * bufferparams.C:
6213         * paragraph_funcs.C: fix per-buffer authorlists
6214
6215 2003-03-12  John Levon  <levon@movementarian.org>
6216
6217         * text.C: fix newline in right address
6218
6219 2003-03-12  Angus Leeming  <leeming@lyx.org>
6220
6221         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6222         duplicate those in LyXFunc::dispatch.
6223
6224         * commandtags.h:
6225         * LyXAction.C:
6226         * ToolbarDefaults.C:
6227         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6228         Add LFUN_FONTFREE_UPDATE.
6229
6230         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6231         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6232
6233         * bufferview_func.[Ch]: several new functions to facilliate
6234         transfer of data to and from the character dialog.
6235
6236 2003-03-12  John Levon  <levon@movementarian.org>
6237
6238         * buffer.C:
6239         * paragraph.h:
6240         * paragraph.C:
6241         * paragraph_funcs.C:
6242         * paragraph_pimpl.C:
6243         * sgml.C:
6244         * tabular.C:
6245         * text.C:
6246         * text3.C: remove META_NEWLINE in favour of an inset
6247
6248         * rowpainter.h:
6249         * rowpainter.C: remove paintNewline (done by inset)
6250
6251 2003-03-12  John Levon  <levon@movementarian.org>
6252
6253         * paragraph_pimpl.C: complain about bad getChar()s
6254         for a while at least
6255
6256 2003-03-12  John Levon  <levon@movementarian.org>
6257
6258         * buffer.h:
6259         * buffer.C: move paragraph read into a separate function,
6260         a little renaming to reflect that.
6261
6262         * bufferparams.h:
6263         * bufferparams.C: remove the author_ids map, not necessary now
6264
6265         * factory.h:
6266         * factory.C: moved Buffer::readInset to here
6267
6268         * paragraph_funcs.h:
6269         * paragraph_funcs.C: readParagraph free function moved from
6270         buffer.C
6271
6272         * tabular.C: name change
6273
6274 2003-03-12  John Levon  <levon@movementarian.org>
6275
6276         * buffer.C:
6277         * ParagraphParameters.C: move par params input to
6278         a read() method
6279
6280         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6281         behave like a normal read from the stream wrt reading
6282         a line vs. a \\token
6283
6284 2003-03-12  John Levon  <levon@movementarian.org>
6285
6286         * paragraph.C:
6287         * ParagraphParameters.h:
6288         * ParagraphParameters.C: move output code to a
6289         ::write() method
6290
6291 2003-03-12  John Levon  <levon@movementarian.org>
6292
6293         * BufferView.C (insertLyXFile):
6294         * buffer.h:
6295         * buffer.C:
6296         * tabular.C: use a parlist iterator for creating the
6297           document.
6298
6299 2003-03-12  John Levon  <levon@movementarian.org>
6300
6301         * buffer.C: make current_change static local not
6302           static file-scope
6303
6304 2003-03-12  John Levon  <levon@movementarian.org>
6305
6306         * buffer.C: fix insertStringAsLines for change tracking
6307
6308 2003-03-12  John Levon  <levon@movementarian.org>
6309
6310         * BufferView.C:
6311         * tabular.C:
6312         * buffer.h:
6313         * buffer.C:
6314         * bufferparams.h:
6315         * bufferparams.C: move author list into params. Rename some
6316           functions. Move the header reading into a separate token
6317           loop. Move the header token reading into BufferParams.
6318
6319 2003-03-12  John Levon  <levon@movementarian.org>
6320
6321         * changes.C: put debug inside lyxerr.debugging() checks
6322
6323 2003-03-11 André Pönitz <poenitz@gmx.net>
6324
6325         * factory.C: make it aware of InsetHFill
6326
6327 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6328
6329         * buffer.C (latexParagraphs): move function from here...
6330         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6331         args.
6332
6333 2003-03-10  Angus Leeming  <leeming@lyx.org>
6334
6335         * LyXAction.C (init): fix bug in poplating array with multiple entries
6336         with the same LFUN (spotted by JMarc).
6337
6338 2003-03-10  John Levon  <levon@movementarian.org>
6339
6340         * text.C:
6341         * text2.C: move getColumnNearX() near its
6342         only call site
6343
6344 2003-03-10  John Levon  <levon@movementarian.org>
6345
6346         * text.C: fix break before a minipage
6347
6348 2003-03-10  John Levon  <levon@movementarian.org>
6349
6350         * text.C: fix the last commit
6351
6352 2003-03-09  John Levon  <levon@movementarian.org>
6353
6354         * lyxtext.h:
6355         * text.C:
6356         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6357         bug 365 (don't break before insets unless needed). Don't
6358         return a value > last under any circumstances.
6359
6360 2003-03-09  Angus Leeming  <leeming@lyx.org>
6361
6362         * BufferView_pimpl.C (trackChanges, dispatch): call
6363         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6364
6365 2003-03-09  Angus Leeming  <leeming@lyx.org>
6366
6367         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6368         than Dialogs::showAboutlyx().
6369
6370 2003-03-09  Angus Leeming  <leeming@lyx.org>
6371
6372         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6373         than Dialogs::showTabularCreate().
6374
6375 2003-03-09  John Levon  <levon@movementarian.org>
6376
6377         * lyxtext.h:
6378         * text.C:
6379         * text2.C: 3rd arg to nextBreakPoint was always the same.
6380           Use references.
6381
6382 2003-03-08  John Levon  <levon@movementarian.org>
6383
6384         * lyxrow.C:
6385         * paragraph.C:
6386         * paragraph.h:
6387         * rowpainter.C:
6388         * text.C:
6389         * text2.C: Remove the "main" bit from the "main body"
6390           notion.
6391
6392 2003-03-08  John Levon  <levon@movementarian.org>
6393
6394         * text.C (leftMargin): The left margin of an empty
6395         manual label paragraph should not include the label width
6396         string length.
6397
6398         * text.C (prepareToPrint): don't attempt to measure hfills
6399         for empty manual label paragraphs - the answer should be 0
6400
6401 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * CutAndPaste.C: remove commented code and reindent.
6404
6405 2003-03-08  John Levon  <levon@movementarian.org>
6406
6407         * lyxfunc.h:
6408         * lyxfunc.C: move reloadBuffer()
6409
6410         * BufferView.h:
6411         * BufferView.C: to here
6412
6413         * lyxvc.C: add comment
6414
6415         * vc-backend.h:
6416         * vc-backend.C: call bv->reload() to avoid
6417           getStatus() check on MENURELOAD
6418
6419 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6420
6421         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6422         to an old format .dep file.
6423
6424 2003-03-07  Angus Leeming  <leeming@lyx.org>
6425
6426         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6427         when the LFUN_MOUSE_RELEASE should have been handled by
6428         inset->localDispatch.
6429
6430 2003-03-07  Angus Leeming  <leeming@lyx.org>
6431
6432         * BufferView_pimpl.C (dispatch):
6433         * LyXAction.C (init):
6434         * ToolbarDefaults.C (init):
6435         * commandtags.h:
6436         * lyxfunc.C (getStatus):
6437         remove LFUN_INSET_GRAPHICS.
6438
6439         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6440
6441 2003-03-07  Angus Leeming  <leeming@lyx.org>
6442
6443         * commandtags.h:
6444         * LyXAction.C (init):
6445         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6446
6447         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6448
6449         * commandtags.h:
6450         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6451
6452         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6453         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6454
6455 2003-03-07  Angus Leeming  <leeming@lyx.org>
6456
6457         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6458         remove "ert".
6459
6460 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6461
6462         * ParagraphList.C (front): new function
6463         (back): implement
6464
6465 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6466
6467         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6468         and top_row_offset_. removed var first_y.
6469         * text.C (top_y):
6470         * text2.C (LyXText, removeRow):
6471         * text3.C:
6472         * BufferView_pimpl.C:
6473         use these methods instead of using first_y
6474
6475 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6476
6477         * text2.C (pasteSelection): adjust for checkPastePossible
6478
6479         * CutAndPaste.C: remove Paragraph * buf and replace with
6480         ParagraphList paragraphs.
6481         (DeleteBuffer): delete
6482         (cutSelection): change the tc type to textclass_type
6483         (copySelection): change the tc type to textclass_type
6484         (copySelection): adjust for ParagraphList
6485         (pasteSelection): change the tc type to textclass_type
6486         (pasteSelection): adjust for Paragraphlist
6487         (nrOfParagraphs): simplify for ParagraphList
6488         (checkPastePossible): simplify for ParagraphList
6489         (checkPastePossible): remove unused arg
6490
6491         * ParagraphList.C (insert): handle the case where there are no
6492         paragraphs yet.
6493
6494         * CutAndPaste.h: make CutAndPaste a namespace.
6495
6496         * text3.C (dispatch): adjust
6497
6498         * text.C (breakParagraph): add a ParagraphList as arg
6499
6500         * paragraph_funcs.C (breakParagraph): change to take a
6501         BufferParams and a ParagraphList as args.
6502         (breakParagraphConservative): ditto
6503         (mergeParagraph): ditto
6504         (TeXDeeper): add a ParagraphList arg
6505         (TeXEnvironment): ditto
6506         (TeXOnePar): ditto
6507
6508         * buffer.C (readLyXformat2): adjust
6509         (insertStringAsLines): adjust
6510         (latexParagraphs): adjust
6511
6512         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6513         (cutSelection): adjust
6514         (pasteSelection): adjust
6515
6516         * BufferView_pimpl.C (insertInset): adjust
6517
6518 2003-03-05  Angus Leeming  <leeming@lyx.org>
6519
6520         * commandtags.h:
6521         * LyXAction.C (init):
6522         * BufferView_pimpl.C (dispatch):
6523         * lyxfunc.C (getStatus):
6524         remove LFUN_CHILD_INSERT.
6525
6526         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6527
6528 2003-03-05  Angus Leeming  <leeming@lyx.org>
6529
6530         * commandtags.h:
6531         * LyXAction.C (init):
6532         * src/factory.C (createInset):
6533         * lyxfunc.C (getStatus):
6534         * text3.C (dispatch):
6535         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6536
6537         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6538
6539 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6540
6541         * ParagraphList.C (insert): handle insert right before end()
6542         (erase): fix cases where it can be first or last paragraph.
6543
6544 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6545
6546         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6547         Paragraph::next and Paragraph::previous
6548         (TeXOnePar): ditto
6549
6550         * text.C (breakParagraph): adjust
6551
6552         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6553         BufferParams& as arg.
6554         (breakParagraph): use ParagraphList::insert
6555         (breakParagraphConservative): take a Buffer* instead of a
6556         BufferParams& as arg.
6557         (breakParagraphConservative): use ParagraphList::insert.
6558
6559         * buffer.C (insertStringAsLines): un-const it
6560         (insertStringAsLines): adjust
6561
6562         * ParagraphList.C (insert): new function
6563
6564         * CutAndPaste.C (pasteSelection): adjust
6565
6566         * text.C (backspace): adjust
6567
6568         * tabular.C (SetMultiColumn): adjust
6569
6570         * CutAndPaste.C (cutSelection): adjust
6571         (pasteSelection): adjust
6572
6573         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6574         Buffer const * as arg
6575
6576         * ParagraphList.C (erase): new function
6577         * paragraph_funcs.C (mergeParagraph): use it
6578         (mergeParagraph): make it take a Buffer* instead of a
6579         BufferParams* as arg
6580
6581         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6582         as arg
6583         (breakParagraphConservative): ditto
6584
6585         * paragraph.h: remove the breakParagraph friend
6586
6587         * paragraph.C (eraseIntern): new function
6588         (setChange): new function
6589
6590         * paragraph_funcs.C (mergeParagraph): make it take a
6591         ParagraphList::iterator instead of a Paragraph *, adjust
6592         accordingly.
6593
6594         * paragraph.h: move an #endif so that the change tracking stuff
6595         also works in the NO_NEXT case.
6596
6597 2003-03-04  Angus Leeming  <leeming@lyx.org>
6598
6599         * commandtags.h:
6600         * LyXAction.C: new LFUN_INSET_MODIFY.
6601
6602         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6603         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6604
6605 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6606
6607         * several files: ws changes only
6608
6609         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6610         (TeXEnvironment): ditto
6611         (TeXDeeper): ditto
6612
6613         * buffer.C (makeLaTeXFile): adjust
6614         (latexParagraphs): make it take ParagraphList::iterator as args
6615
6616 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6617
6618         * buffer.C (latexParagraphs): adjust
6619
6620         * paragraph.C (TeXOnePar): move function...
6621         (optArgInset): move function...
6622         (TeXEnvironment): move function...
6623         * paragraph_pimpl.C (TeXDeeper): move function...
6624         * paragraph_funcs.C: ...here
6625
6626         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6627
6628 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * buffer.C (readInset): remove compability code for old Figure and
6631         InsetInfo insets
6632
6633 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6634
6635         * buffer.C: ws changes
6636         (readInset):
6637
6638         * BufferView_pimpl.C: ditto
6639         * author.C: ditto
6640         * buffer.h: ditto
6641         * bufferlist.h: ditto
6642         * changes.h: ditto
6643         * lyxfunc.C: ditto
6644
6645 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6646
6647         * converter.[Ch]: split into itself +
6648         * graph.[Ch]
6649         * format.[Ch]
6650         * Makefile.am: += graph.[Ch] + format.[Ch]
6651         * MenuBackend.C
6652         * buffer.C
6653         * exporter.C
6654         * importer.C
6655         * lyx_main.C
6656         * lyxfunc.C
6657         * lyxrc.C: added #include "format.h"
6658
6659 2003-02-27  Angus Leeming  <leeming@lyx.org>
6660
6661         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6662           a label.
6663
6664         * factory.C (createInset): add "label" to the factory.
6665
6666         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6667           string and do no more.
6668
6669 2003-02-27  Angus Leeming  <leeming@lyx.org>
6670
6671         * commandtags.h:
6672         * LyXAction.C (init):
6673         * factory.C (createInset):
6674         * BufferView_pimpl.C (dispatch):
6675           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6676
6677         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6678
6679         * lyxfunc.C (dispatch):
6680         * text3.C (dispatch): pass name to params2string.
6681
6682 2003-02-26  Angus Leeming  <leeming@lyx.org>
6683
6684         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6685           blocks together.
6686           Rearrange the ~includes. Strip out the unnecessary ones.
6687
6688         * factory.C (createInset): reformat.
6689           create new insets for the various LFUN_XYZ_APPLY lfuns.
6690
6691 2003-02-26  John Levon  <levon@movementarian.org>
6692
6693         * lyxrow.h:
6694         * lyxrow.C: add isParStart,isParEnd helpers
6695
6696         * paragraph.h: make isInserted/DeletedText take refs
6697
6698         * paragraph_funcs.h:
6699         * paragraph_funcs.C: remove #if 0'd code
6700
6701         * lyxtext.h:
6702         * text3.C:
6703         * text2.C:
6704         * text.C: use lyxrow helpers above.
6705           Move draw and paint routines to RowPainter.
6706           Make several methods use refs not pointers.
6707           Make backgroundColor() const.
6708           Add markChangeInDraw(), isInInset().
6709           Merge changeRegionCase into changeCase.
6710           Make workWidth() shouldn't-happen code into an Assert.
6711
6712         * rowpainter.h:
6713         * rowpainter.C: new class for painting a row.
6714
6715         * vspace.h:
6716         * vspace.C: make inPixels take a ref
6717
6718 2003-02-26  Angus Leeming  <leeming@lyx.org>
6719
6720         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6721         LFUN_REF_APPLY.
6722
6723 2003-02-25  John Levon  <levon@movementarian.org>
6724
6725         * ispell.C: give the forked command a more accurate name
6726
6727 2003-02-22  John Levon  <levon@movementarian.org>
6728
6729         * toc.h:
6730         * toc.C: make TocItem store an id not a Paragraph *
6731           (bug #913)
6732
6733 2003-02-21  Angus Leeming  <leeming@lyx.org>
6734
6735         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6736           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6737           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6738           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6739           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6740           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6741
6742         * BufferView_pimpl.C (dispatch):
6743         * LyXAction.C (init):
6744         * factory.C (createInset):
6745         * lyxfunc.C (getStatus, dispatch):
6746         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6747
6748 2003-02-21  Angus Leeming  <leeming@lyx.org>
6749
6750         * BufferView_pimpl.C (MenuInsertLyXFile):
6751         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6752         * lyxfunc.C (menuNew, open, doImport):
6753           no longer pass a LyXView & to fileDlg.
6754
6755 2003-02-21  Angus Leeming  <leeming@lyx.org>
6756
6757         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6758         * LyXAction.C: change, BIBKEY to BIBITEM.
6759         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6760         Change InsetBibKey to InsetBibitem.
6761         Change BIBKEY_CODE to BIBITEM_CODE.
6762         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6763         * factory.C: replace insetbib.h with insetbibitem.h.
6764         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6765         * paragraph.C: replace insetbib.h with insetbibitem.h.
6766         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6767         Change bibkey() to bibitem().
6768         * text.C: remove insetbib.h.
6769         * text2.C: replace insetbib.h with insetbibitem.h.
6770         change bibkey() to bibitem().
6771         * text3.C: remove insetbib.h.
6772         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6773
6774 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6775
6776         * lyxrc.C (output): enclose user email in quotes (in case there are
6777         several words)
6778
6779 2003-02-18  John Levon  <levon@movementarian.org>
6780
6781         * buffer.h: add std::
6782
6783 2003-02-17  John Levon  <levon@movementarian.org>
6784
6785         * SpellBase.h:
6786         * ispell.h:
6787         * ispell.C:
6788         * pspell.h:
6789         * pspell.C: reworking. Especially in ispell, a large
6790           number of clean ups and bug fixes.
6791
6792         * lyxfunc.C: fix revert to behave sensibly
6793
6794 2003-02-17 André Pönitz <poenitz@gmx.net>
6795
6796         * LyXAction.C:
6797         * commandtags.h: new LFUN_INSERT_BIBKEY
6798
6799         * layout.h:
6800         * lyxlayout.C:
6801         * buffer.C:
6802         * factory.C:
6803         * text.C:
6804         * text2.C:
6805         * text3.C:
6806         * paragraph.[Ch]:
6807         * paragraph_func.C: remove special bibkey handling
6808
6809 2003-02-17  John Levon  <levon@movementarian.org>
6810
6811         * text.C (Delete): fix case where delete at the end of
6812           the very first paragraph would not merge the pars
6813
6814 2003-02-17  John Levon  <levon@movementarian.org>
6815
6816         * lyxrow.C: fix lastPrintablePos()
6817
6818 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6819
6820         * bufferparams.C (writeLaTeX): add a std:here
6821
6822         * buffer.C: and remove a using directive there
6823
6824 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6825
6826         * buffer.C (makeLaTeXFile): move the code that generates the
6827           preamble...
6828
6829         * bufferparams.C (writeLaTeX): ... in this new method
6830
6831         * LaTeXFeatures.C (getEncodingSet): make const
6832           (getLanguages): make const
6833
6834         * MenuBackend.C (binding): returns the binding associated to this
6835           action
6836           (add): sets the status of each item by calling getStatus. Adds
6837           some intelligence.
6838           (read): add support for OptSubMenu
6839           (expand): remove extra separator at the end of expanded menu
6840
6841 2003-02-15  John Levon  <levon@movementarian.org>
6842
6843         * BufferView.C:
6844         * BufferView_pimpl.C:
6845         * bufferlist.h:
6846         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6847           inset code that had no actual effect. Remove unneeded status
6848           code.
6849
6850 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6851
6852         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6853           in preamble
6854
6855 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6856
6857         * text.C (drawLengthMarker): also draw an arrow marker for
6858           symbolic lengths (medskip...)
6859
6860 2003-02-14  John Levon  <levon@movementarian.org>
6861
6862         * tabular.h:
6863         * tabular.C: better method names
6864
6865 2003-02-14  John Levon  <levon@movementarian.org>
6866
6867         * BufferView_pimpl.C:
6868         * bufferlist.C:
6869         * buffer.C:
6870         * converter.C:
6871         * lyx_cb.C:
6872         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6873           it's a more accurate name. Remove some pointless uses.
6874
6875 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6876
6877         * text2.C (LyXText): change order of initilizers to shut off
6878           warnings
6879
6880 2003-02-14  John Levon  <levon@movementarian.org>
6881
6882         * buffer.C: use ParIterator for getParFromID()
6883
6884         * paragraph.h:
6885         * paragraph.C:
6886         * paragraph_pimpl.h:
6887         * paragraph_pimpl.C: remove unused getParFromID()
6888
6889 2003-02-14  John Levon  <levon@movementarian.org>
6890
6891         * buffer.C: remove some very old #if 0'd parse code
6892
6893 2003-02-13  John Levon  <levon@movementarian.org>
6894
6895         * text.h:
6896         * text.C:
6897         * text2.C: move hfillExpansion(), numberOfSeparators(),
6898           rowLast(), rowLastPrintable(), numberofHfills(),
6899           numberOfLabelHfills() ...
6900
6901         * lyxrow.h:
6902         * lyxrow.C: ... to member functions here.
6903
6904         * paragraph.h:
6905         * paragraph.C:
6906         * lyxtext.h:
6907         * text.C: remove LyXText::beginningOfMainBody(), and call
6908           p->beginningOfMainBody() directly. Move the check for
6909           LABEL_MANUAL into the latter.
6910
6911         * text.h:
6912         * text.C:
6913         * text2.C:
6914         * vspace.C:
6915         * BufferView.h:
6916         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6917
6918         * text.h:
6919         * text.C:
6920         * text2.C:
6921         * text3.C:
6922         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6923           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6924
6925 2003-02-13  John Levon  <levon@movementarian.org>
6926
6927         * CutAndPaste.C: remove debug
6928
6929 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6930
6931         * paragraph.C (asString): remove two unused variables
6932
6933         * lyxtextclass.C (readTitleType):
6934           (Read):
6935           (LyXTextClass): handle new members titletype_ and titlename_
6936
6937         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6938
6939 2003-02-09  John Levon  <levon@movementarian.org>
6940
6941         * buffer.h:
6942         * buffer.C: replace hand-coded list with a map for the dep clean
6943
6944 2003-02-08  John Levon  <levon@movementarian.org>
6945
6946         * LaTeX.C: consolidate code into showRunMessage() helper
6947
6948 2003-02-08  John Levon  <levon@movementarian.org>
6949
6950         * lyxfind.C:
6951         * lyxtext.h:
6952         * text2.C:
6953         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6954           and pass the size in explicitly
6955
6956         * BufferView_pimpl.h:
6957         * BufferView_pimpl.C:
6958         * BufferView.h:
6959         * BufferView.C: add getCurrentChange()
6960
6961         * BufferView_pimpl.h:
6962         * BufferView_pimpl.C: handle change lfuns
6963
6964         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6965           for changes. Mark pasted paragraphs as new.
6966
6967         * support/lyxtime.h:
6968         * support/lyxtime.C:
6969         * DepTable.C: abstract time_t as lyx::time_type
6970
6971         * LColor.h:
6972         * LColor.C: add colours for new text, deleted text, changebars
6973
6974         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6975           package use "usenames" option.
6976
6977         * commandtags.h:
6978         * lyxfunc.C:
6979         * LyXAction.C: add change lfuns
6980
6981         * Makefile.am:
6982         * author.h:
6983         * author.C: author handling
6984
6985         * buffer.h:
6986         * buffer.C: add a per-buffer author list, with first entry as
6987           current author. Handle new .lyx tokens for change tracking. Output
6988           author list to .lyx file. Output dvipost stuff to .tex preamble.
6989           Bump lyx format to 222.
6990
6991         * bufferlist.h:
6992         * bufferlist.C: add setCurrentAuthor() to reset current author details
6993           in all buffers.
6994
6995         * bufferparams.h:
6996         * bufferparams.C: add param for tracking
6997
6998         * bufferview_funcs.C: output change info in minibuffer
6999
7000         * Makefile.am:
7001         * changes.h:
7002         * changes.C: add change-tracking structure
7003
7004         * debug.h:
7005         * debug.C: add CHANGES debug flag
7006
7007         * lyxfind.h:
7008         * lyxfind.C: add code for finding the next change piece
7009
7010         * lyxrc.h:
7011         * lyxrc.C: add user_name and user_email
7012
7013         * lyxrow.h:
7014         * lyxrow.C: add a metric for the top of the text line
7015
7016         * lyxtext.h:
7017         * text.C: implement accept/rejectChange()
7018
7019         * lyxtext.h:
7020         * text.C: paint changebars. Paint new/deleted text in the chosen
7021         colours. Strike through deleted text.
7022
7023         * paragraph.h:
7024         * paragraph.C:
7025         * paragraph_pimpl.h:
7026         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7027           in the current change to the insert functions. Rework erase to
7028           mark text as deleted, adding an eraseIntern() and a range-based
7029           erase(). Implement per-paragraph change lookup and
7030           accept/reject.
7031
7032         * paragraph_funcs.C: Fixup paste for change tracking.
7033
7034         * tabular.C: mark added row/columns as new.
7035
7036         * text.C: fix rowLast() to never return -1. Don't allow
7037           spellchecking of deleted text. Track transpose changes. Don't
7038           allow paragraph break or merge where appropriate.
7039
7040         * text2.C: leave cursor at end of selection after a cut.
7041
7042 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7043
7044         * text.C (getLengthMarkerHeight):
7045         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7046         visible on screen too.
7047
7048 2003-02-07  John Levon  <levon@movementarian.org>
7049
7050         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7051
7052 2003-02-05  Angus Leeming  <leeming@lyx.org>
7053
7054         * lyxserver.C (read_ready): revert my patch of 11 September last year
7055         as it sends PC cpu through the roof. Presumably this means that
7056         the lyxserver will no longer run on an Alpha...
7057
7058 2003-01-30  Angus Leeming  <leeming@lyx.org>
7059
7060         * factory.C (createInset): create an InsetCommandParam of type "index"
7061         and use it to 'do the right thing'.
7062
7063         * text2.C (getStringToIndex): ensure that cursor position is always
7064         reset to the reset_cursor position.
7065
7066 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7067
7068         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7069         disabled.
7070
7071 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7072
7073         * bufferview.C:
7074         * lyxcb.C:
7075         * lyxfunc.C: Output messages with identical spelling, punctuation,
7076         and spaces
7077
7078 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7079
7080         * MenuBackend.C (expandFormats): List only viewable export formats
7081         in "View" menu
7082
7083         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7084         message
7085
7086         * lyxfunc.C (getStatus): Make sure that formats other than
7087         "fax" can also be disabled
7088
7089 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7090
7091         * text3.C (dispatch): put the lfuns that insert insets in 3
7092         groups, and call doInsertInset with appropriate arguments.
7093         (doInsertInset): new function, that creates an inset and inserts
7094         it according to some boolean parameters.
7095
7096 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7097
7098         * buffer.C (readFile): remember to pass on 'par' when calling
7099         readFile recursively.
7100
7101 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7102
7103         * MenuBackend.C (expandFormats): add "..." to import formats.
7104
7105 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7106
7107         * paragraph.C (asString): Remove XForms RTL hacks.
7108
7109 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7110         * buffer.C: fix typo
7111
7112 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7113
7114         * Makefile.am (LIBS): delete var
7115         (lyx_LDADD): add @LIBS@ here instead.
7116
7117 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7118
7119         * Clarify the meaning of "wheel mouse jump"
7120
7121 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7122
7123         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7124         tabular in a float
7125
7126 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7127
7128         * importer.C (Loaders): do not preallocate 3 elements in the
7129         vector, since one ends up with 6 elements otherwise
7130
7131 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7132
7133         * DepTable.C (write): write the file name as last element of the
7134         .dep file (because it may contain spaces)
7135         (read): read info in the right order
7136
7137 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7138
7139         * paragraph_pimpl.C (simpleTeXBlanks):
7140         (simpleTeXSpecialChars):
7141         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7142
7143         * tabular.C (latex): add some missing case statements. Reindent.
7144
7145         * MenuBackend.C (expandToc): remove unused variable.
7146
7147 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7148
7149         * LColor.C:
7150         * LaTeX.C:
7151         * LyXAction.C:
7152         * MenuBackend.C:
7153         * buffer.C:
7154         * exporter.C:
7155         * lyxfunc.C:
7156         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7157         and the like.
7158
7159 2003-01-05  John Levon  <levon@movementarian.org>
7160
7161         * BufferView.h:
7162         * BufferView.C: add getEncoding()
7163
7164         * kbsequence.h:
7165         * kbsequence.C: do not store last keypress
7166
7167         * lyxfunc.h:
7168         * lyxfunc.C: store last keypress here instead. Pass encoding
7169           to getISOEncoded()
7170
7171 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7172
7173         * lyx_main.C (init): remove annoying error message when following
7174         symbolic links (bug #780)
7175
7176 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7177
7178         * text.C (insertChar):
7179         * lyxrc.C (getDescription): remove extra spaces
7180
7181 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7182
7183         * lyxrc.C (getDescription): remove extra spaces
7184
7185 2002-12-20  John Levon  <levon@movementarian.org>
7186
7187         * text3.C: hack fix for page up/down across tall rows
7188
7189 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7190
7191         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7192         not been invoked
7193
7194 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7195
7196         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7197         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7198         thesaurus is not compiled in
7199
7200 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7201
7202         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7203
7204 2002-12-16  Angus Leeming  <leeming@lyx.org>
7205
7206         * lyxrc.[Ch]:
7207         * lyx_main.C (init): remove override_x_deadkeys stuff.
7208
7209 2002-12-12  John Levon  <levon@movementarian.org>
7210
7211         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7212           insert. Only remove shift modifier under strict
7213           circumstances.
7214
7215 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7216
7217         * MenuBackend.C (expandToc): fix crash.
7218
7219 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7220
7221         * MenuBackend.C (expandToc): gettext on float names.
7222
7223 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7224
7225         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7226         implement bool empty() [bug 490]
7227
7228 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7229
7230         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7231
7232 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7233
7234         * several files: ws changes
7235
7236 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * text2.C (setCounter): clean up a bit, use boost.format.
7239         (updateCounters): initialize par upon declaration.
7240
7241         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7242         if the layout exists. We do not just store the layout any more.
7243         (SwitchLayoutsBetweenClasses): use boost.format
7244
7245 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7246
7247         * converter.C (convert): if from and to files are the same, use a
7248         temporary files as intermediary
7249
7250 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7251
7252         * commandtags.h:
7253         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7254
7255 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7256
7257         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7258
7259 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * tabular.C (asciiPrintCell): use string(size, char) instead of
7262         explicit loop.
7263
7264         * sgml.C (openTag): fix order of arguments to string constructor
7265         (closeTag): ditto
7266
7267         * lyxfunc.C (dispatch): use boost.format
7268
7269         * lots of files: change "c" -> 'c'
7270
7271 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7272
7273         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7274
7275 2002-11-25  Angus Leeming  <leeming@lyx.org>
7276
7277         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7278
7279         * lyx_main.C (init): compile fix.
7280
7281 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7282
7283         * lyx_cb.C (start): boost.formatify
7284         do not include <iostream>
7285
7286         * lengthcommon.C: ws only
7287
7288         * boost-inst.C,BoostFormat.h: add more explict instantations
7289
7290 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7291
7292         * lots of files: handle USE_BOOST_FORMAT
7293
7294 2002-11-21  John Levon  <levon@movementarian.org>
7295
7296         * pspell.C: fix compile
7297
7298 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7299
7300         * lyxfunc.C (dispatch): use boost::format
7301         (open): ditto
7302         (doImport): ditto
7303
7304         * lyxfont.C (stateText): use boost::format
7305
7306         * lyx_main.C (LyX): use boost::format
7307         (init): ditto
7308         (queryUserLyXDir): ditto
7309         (readRcFile): ditto
7310         (parse_dbg): ditto
7311         (typedef boost::function): use the recommened syntax.
7312
7313         * importer.C (Import): use boost::format
7314
7315         * debug.C (showLevel): use boost::format
7316
7317         * converter.C (view): use boost::format
7318         (convert): ditto
7319         (move): ditto
7320         (scanLog): ditto
7321
7322         * bufferview_funcs.C (currentState): use boost::format
7323
7324         * bufferlist.C (emergencyWrite): use boost::format
7325
7326         * buffer.C (readLyXformat2): use boost::format
7327         (parseSingleLyXformat2Token): ditto
7328
7329         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7330
7331         * LaTeX.C (run): use boost::format
7332
7333         * Chktex.C (scanLogFile): use boost::format
7334
7335         * BufferView_pimpl.C (savePosition): use boost::format
7336         (restorePosition): ditto
7337         (MenuInsertLyXFile): ditto
7338
7339         * BoostFormat.h: help file for explicit instation.
7340
7341 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7342
7343         * tabular.C (latex): Support for block alignment in fixed width
7344         columns.
7345
7346 2002-11-17  John Levon  <levon@movementarian.org>
7347
7348         * BufferView_pimpl.C:
7349         * lyx_cb.C:
7350         * lyxfunc.C: split filedialog into open/save
7351
7352 2002-11-08  Juergen Vigna  <jug@sad.it>
7353
7354         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7355         by my last patch (hopefully).
7356
7357 2002-11-08  John Levon  <levon@movementarian.org>
7358
7359         * iterators.h:
7360         * iterators.C:
7361         * buffer.h:
7362         * buffer.C:
7363         * paragraph.h:
7364         * paragraph.C:
7365         * toc.h:
7366         * toc.C: ParConstIterator, and use it (from Lars)
7367
7368 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7369
7370         * lyxtextclass.[Ch]: revise and add doxygen comments
7371
7372 2002-11-07  John Levon  <levon@movementarian.org>
7373
7374         * text.C: fix progress value for spellchecker
7375
7376         * toc.C: fix navigate menu for insetwrap inside minipage
7377
7378         * paragraph_funcs.C: added FIXME for suspect code
7379
7380 2002-11-07  John Levon  <levon@movementarian.org>
7381
7382         * BufferView_pimpl.C: fix redrawing of insets
7383           on buffer switch
7384
7385 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7386
7387         * text2.C (updateCounters): fix bug 668
7388
7389 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7390
7391         * text3.C (dispatch): Do not make the buffer dirty when moving the
7392         cursor.
7393
7394 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7395
7396         * vc-backend.C: STRCONV
7397         (scanMaster): ditto
7398
7399         * text2.C (setCounter): STRCONV
7400
7401         * paragraph.C (asString): STRCONV
7402
7403         * lyxlength.C (asString): STRCONV
7404         (asLatexString): ditto
7405
7406         * lyxgluelength.C (asString): STRCONV
7407         (asLatexString): ditto
7408
7409         * lyxfunc.C (dispatch): STRCONV
7410         (open): ditto
7411
7412         * lyxfont.C (stateText): STRCONV
7413
7414         * importer.C (Import): STRCONV
7415
7416         * counters.C (labelItem): STRCONV
7417         (numberLabel): ditto
7418         (numberLabel): remove unused ostringstream o
7419
7420         * chset.C: STRCONV
7421         (loadFile): ditto
7422
7423         * bufferview_funcs.C (currentState): STRCONV
7424
7425         * buffer.C (readFile): STRCONV
7426         (asciiParagraph): ditto
7427         (makeLaTeXFile): ditto
7428
7429         * Spacing.C (writeEnvirBegin): STRCONV
7430
7431         * LaTeXFeatures.C (getLanguages): STRCONV
7432         (getPackages): ditto
7433         (getMacros): ditto
7434         (getBabelOptions): ditto
7435         (getTClassPreamble): ditto
7436         (getLyXSGMLEntities): ditto
7437         (getIncludedFiles): ditto
7438
7439         * LaTeX.C: STRCONV
7440         (run): ditto
7441         (scanAuxFile): ditto
7442         (deplog): ditto
7443
7444         * LString.h: add the STRCONV macros
7445
7446         * BufferView_pimpl.C (savePosition): STRCONV
7447         (restorePosition): ditto
7448         (MenuInsertLyXFile): ditto
7449
7450         * vc-backend.C (scanMaster): change from submatch[...] to
7451         submatch.str(...)
7452
7453         * funcrequest.C: include config.h
7454
7455         * factory.C: include config.h
7456
7457         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7458
7459         * box.C: include config.h
7460
7461         * LaTeX.C (scanAuxFile): change from submatch[...] to
7462         submatch.str(...)
7463         (deplog): ditto
7464
7465 2002-10-25  Angus Leeming  <leeming@lyx.org>
7466
7467         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7468
7469         * ispell.[Ch] (setError): new method.
7470         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7471         Use setError() insetead of goto END.
7472
7473         * lyx_cb.C (AutoSave): move out child process into new class
7474         AutoSaveBuffer.
7475
7476 2002-10-30  John Levon  <levon@movementarian.org>
7477
7478         * text3.C: make start appendix undoable
7479
7480 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7481
7482         * lyxlength.C (inPixels): Fix returned value.
7483
7484         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7485         environment.
7486
7487 2002-10-24  Angus Leeming  <leeming@lyx.org>
7488
7489         * lyxgluelength.h: no need to forward declare BufferParams
7490         or BufferView, so don't.
7491
7492 2002-10-21  John Levon  <levon@movementarian.org>
7493
7494         * BufferView.C: menuUndo ->undo, redo
7495
7496         * BufferView.h: document, remove dead, make some methods private
7497
7498         * paragraph_funcs.h:
7499         * paragraph_funcs.C:
7500         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7501
7502         * buffer.h:
7503         * buffer.C:
7504         * sgml.h:
7505         * sgml.C: move sgml open/close tag into sgml.C
7506
7507         * bufferview_funcs.h: unused prototype
7508
7509         * lyxfunc.h:
7510         * lyxfunc.C: remove unused
7511
7512         * lyxtext.h:
7513         * text.C: remove unused
7514
7515 2002-10-21  John Levon  <levon@movementarian.org>
7516
7517         * BufferView.h:
7518         * BufferView.C:
7519         * BufferView_pimpl.h:
7520         * BufferView_pimpl.C: fix mouse wheel handling based on
7521           patch from Darren Freeman
7522
7523 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7524
7525         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7526
7527 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7528
7529         * lyxlength.C (inPixels): Fix hanfling of negative length.
7530         Fix LyXLength::MU case.
7531
7532 2002-10-16  John Levon  <levon@movementarian.org>
7533
7534         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7535
7536 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7537
7538         * converter.C (view): add support for $$i (file name) and $$p
7539         (file path) for the viewer command. If $$i is not specified, then
7540         it is appended to the command (for compatibility with old syntax)
7541
7542 2002-10-14  Juergen Vigna  <jug@sad.it>
7543
7544         * undo_funcs.C (textHandleUndo): alter the order in which the
7545         new undopar is added to the LyXText, as we have to set first
7546         the right prev/next and then add it as otherwise the rebuild of
7547         LyXText is not correct. Also reset the cursor to the right paragraph,
7548         with this IMO we could remove the hack in "redoParagraphs()".
7549
7550 2002-10-09  Angus Leeming  <leeming@lyx.org>
7551
7552         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7553         to turn off an optimisation if a new inset is to be inserted.
7554
7555 2002-10-11 André Pönitz <poenitz@gmx.net>
7556
7557         * lyxtext.h: make some functions public to allow access
7558         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7559
7560 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7561
7562         * text3.C (dispatch): when changing layout, avoid an infinite loop
7563         [bug #652]
7564
7565 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7566
7567         * lyxrc.C (read): treat a viewer or converter command of "none" as
7568         if it were empty.
7569
7570         * MenuBackend.C (expandFormats): for an update, also allow the
7571         formats that are not viewable
7572
7573         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7574         script if it is newer than the lyxrc.defaults in user directory
7575
7576 2002-10-07 André Pönitz <poenitz@gmx.net>
7577
7578         * text.C: Vitaly Lipatov's small i18n fix
7579
7580 2002-09-25  Angus Leeming  <leeming@lyx.org>
7581
7582         * ispell.h: doxygen fix.
7583
7584 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7585
7586         * buffer.h (readFile): Add a new argument to the method, to allow
7587         reading of old-format templates.
7588
7589 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7590
7591         * toc.C (getTocList): Get TOC from InsetWrap.
7592
7593 2002-09-16  John Levon  <levon@movementarian.org>
7594
7595         * lyxfunc.C: check tabular for cut/copy too
7596
7597 2002-09-12  John Levon  <levon@movementarian.org>
7598
7599         * LyXAction.C: tidy
7600
7601         * factory.h:
7602         * factory.C: add header
7603
7604         * paragraph_funcs.h:
7605         * paragraph_funcs.C: cleanup
7606
7607 2002-09-11  John Levon  <levon@movementarian.org>
7608
7609         * PrinterParams.h: odd/even default to true
7610
7611 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7612
7613         * PrinterParams.h: update printer parameters for new xforms dialog
7614
7615 2002-09-11  Angus Leeming  <leeming@lyx.org>
7616
7617         * lyxserver.C (read_ready): re-write to make it more transparent
7618         and to make it work in coherent fashion under Tru64 Unix.
7619
7620 2002-09-11  André Pönitz <poenitz@gmx.net>
7621
7622         * commandtags.h:
7623         * LyXAction.C:
7624         * text3.C: implement LFUN_WORDSEL
7625
7626 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7627
7628         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7629         make floatlist_ a boost::shared_ptr<FloatList>
7630
7631         * lyxtextclass.C: include FloatList.h
7632         (LyXTextClass): initialize floatlist_
7633         (TextClassTags): add TC_NOFLOAT
7634         (Read): match "nofloat" to TC_NOFLOAT and use it.
7635         (readFloat): modify call to floatlist_
7636         (floats): ditto
7637         (floats): ditto
7638
7639         * FloatList.[Ch] (FloatList): remove commented out float
7640         initialization.
7641         (erase): new function
7642
7643 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7644
7645         * MenuBackend.C (expandToc): fix crash when there is no document
7646         open
7647
7648 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7649
7650         * many files: Add insetwrap.
7651
7652 2002-09-09  John Levon  <levon@movementarian.org>
7653
7654         * text2.C: remove confusing and awkward depth wraparound
7655
7656 2002-09-09  John Levon  <levon@movementarian.org>
7657
7658         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7659
7660         * buffer.h:
7661         * buffer.C: remove getIncludeonlyList()
7662
7663         * paragraph.C:
7664         * lyxfunc.C: remove headers
7665
7666 2002-09-09  Juergen Vigna  <jug@sad.it>
7667
7668         * text.C (getColumnNearX): fix form Michael this is most
7669         probably a cut&paste bug.
7670
7671 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7672
7673         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7674
7675         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7676         references, ws changes.
7677
7678         * text2.C (init): update counters after init
7679         (insertParagraph): no need to set counter on idividual paragraphs.
7680         (setCounter): access the counters object in the textclass object
7681         on in the buffer object.
7682         (updateCounters): ditto
7683
7684         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7685         shared_ptr<Counters> to avoid loading counters.h in all
7686         compilation units.
7687         (LyXTextClass): initialize ctrs_
7688         (TextClassTags): add TC_COUNTER, and ...
7689         (Read): use it here.
7690         (CounterTags): new tags
7691         (readCounter): new function
7692         (counters): new funtion
7693         (defaultLayoutName): return a const reference
7694
7695         * counters.C (Counters): remove contructor
7696         (newCounter): remove a couple of unneeded statements.
7697         (newCounter): simplify a bit.
7698         (numberLabel): some small formatting changes.
7699
7700         * buffer.[Ch]: remove all traces of counters, move the Counters
7701         object to the LyXTextClass.
7702
7703 2002-09-06  Alain Castera  <castera@in2p3.fr>
7704
7705         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7706         package to set the horizontal alignment on fixed width columns.
7707
7708         * lyx_sty.C:
7709         * lyx_sty.h: added tabularnewline macro def.
7710
7711         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7712
7713 2002-09-06  John Levon  <levon@movementarian.org>
7714
7715         * LyXAction.C: tooltips for sub/superscript
7716
7717         * MenuBackend.C: a bit more verbose
7718
7719         * lyxfunc.C: tiny clean
7720
7721         * undo_funcs.C: document undo_frozen
7722
7723 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * counters.C (Counters): add missing algorithm counter.
7726
7727         * text2.C (setCounter): lookup the counter with layouts latexname
7728         instead of by section number.
7729         (setCounter): use a hackish way to lookup the correct enum
7730         counter.
7731         a float name->type change
7732         reset enum couners with counter name directly instead of depth value.
7733
7734         * counters.C (Counters): remove the push_backs, change to use the
7735         float type not the float name.
7736         (labelItem): remove unused string, float name->type change
7737
7738         * counters.h: don't include vector, loose the enums and sects vectors
7739
7740 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7743         (Read): add float->TC_FLOAT to textclassTags
7744         (Read): and handle it in the switch
7745         (readFloat): new function
7746
7747         * FloatList.C (FloatList): comment out the hardcoded float
7748         definitions.
7749
7750         * lyxlayout.h: ws change.
7751
7752 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7753
7754         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7755
7756 2002-09-03  Angus Leeming  <leeming@lyx.org>
7757
7758         * BufferView_pimpl.h: qualified name is not allowed in member
7759         declaration: WorkArea & Pimpl::workarea() const;
7760
7761         * factory.C: added using std::endl directive.
7762
7763         * text3.C: added using std::find and std::vector directives.
7764
7765 2002-08-29  André Pönitz <poenitz@gmx.net>
7766
7767         * lyxtext.h:
7768         * text2.C: remove unused member number_of_rows
7769
7770         * Makefile.am:
7771         * BufferView2.C: remove file, move contents to...
7772         * BufferView.C: ... here
7773
7774         * BufferView_pimpl.C:
7775         * factory.C: move more inset creation to factory
7776
7777         * vspace.C: avoid direct usage of LyXText, ws changes
7778
7779         * BufferView.[Ch]:
7780                 don't provide direct access to WorkArea, use two simple
7781                 acessors haveSelction() and workHeight() instead
7782
7783
7784 2002-08-29  John Levon  <levon@movementarian.org>
7785
7786         * BufferView_pimpl.C (dispatch): do not continue when
7787           no buffer
7788
7789 2002-08-28  André Pönitz <poenitz@gmx.net>
7790
7791         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7792
7793         * BufferView.h:
7794         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7795
7796 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7797
7798         * buffer.C: increment LYX_FORMAT to 221
7799
7800         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7801         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7802
7803         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7804
7805         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7806
7807 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7808
7809         * factory.C (createInset): use LyXTextClass::floats
7810
7811         * MenuBackend.C (expandFloatListInsert):
7812         (expandFloatInsert):
7813         (expandToc):
7814
7815         * text2.C (setCounter):
7816
7817         * LaTeXFeatures.C (useFloat):
7818         (getFloatDefinitions):
7819
7820         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7821
7822         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7823         floatlist_, with accessor floats().
7824
7825         * FloatList.h: remove global FloatList
7826
7827 2002-08-26  André Pönitz <poenitz@gmx.net>
7828
7829         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7830
7831         * BufferView.h:
7832         * BufferView2.C:
7833         * BufferView_pimpl.C:
7834         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7835
7836 2002-08-25  John Levon  <levon@movementarian.org>
7837
7838         * LyXAction.C: fix margin note description
7839
7840 2002-08-24  John Levon  <levon@movementarian.org>
7841
7842         * buffer.C:
7843         * bufferlist.C:
7844         * bufferview_funcs.C:
7845         * lyxfont.C:
7846         * undo_funcs.C: cleanups
7847
7848         * lyxfunc.C: disable CUT/COPY when no selection
7849
7850 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7851
7852         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7853         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7854
7855         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7856         Add backward compatibility to "mono", "gray" and "no".
7857
7858 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7859
7860         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7861         (and file_format >= 200).
7862
7863 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7864
7865         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7866
7867 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7868
7869         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7870
7871 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7872
7873         * BufferView_pimpl.C:
7874         * LyXAction.C:
7875         * buffer.C:
7876         * commandtags.h:
7877         * lyxfunc.C:
7878         * paragraph.[Ch]:
7879         * text2.C:
7880         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7881         inset and code to make it  work with the paragraph code. The inset
7882         can be anywhere in the paragraph, but will only do the expected
7883         thing in LaTeX if the layout file contains the parameter line
7884                         OptionalArgs    1
7885         (or more generally, a nonzero value) for that layout.
7886
7887 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * paragraph.h: remove the declaration of undefined counters class
7890         function.
7891
7892 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7893
7894         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7895         Dr. Richard Hawkins.
7896
7897 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7898
7899         * paragraph_funcs.h: remove some unneeded includes
7900
7901         * text.C (backspace): pasteParagraph now in global scipe
7902
7903         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7904         (pasteSelection): ditto
7905
7906         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7907         * paragraph_funcs.C (pasteParagraph): ... here
7908
7909 2002-08-20  André Pönitz <poenitz@gmx.net>
7910
7911         * commandtags.h: new LFUNs for swapping/copying table row/colums
7912
7913         * LyXAction.C:
7914         * lyxfunc.C: support for new lfuns
7915
7916 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7917
7918         * tabular.C:
7919         * buffer.[Ch]: remove NO_COMPABILITY stuff
7920
7921 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7922
7923         * boost.C (throw_exception): new file, with helper function for
7924         boost compiled without exceptions.
7925
7926         * paragraph.h:
7927         * lyxlength.C:
7928         * buffer.C:
7929         * ParameterStruct.h:
7930         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7931
7932         * bufferlist.C (emergencyWriteAll): use boost bind
7933
7934         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7935
7936         * text.C: include paragraph_funcs.h
7937         (breakParagraph): breakParagraph is now in global scope
7938
7939         * paragraph_funcs.[Ch]: new files
7940
7941         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7942         global scope
7943
7944         * buffer.C: include paragraph_funcs.h
7945         (insertStringAsLines): breakParagraph is now in global scope
7946
7947         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7948         paragraph_funcs.C
7949
7950         * CutAndPaste.C: include paragraph_funcs.h
7951         (cutSelection): breakParagraphConservative is now in global scope
7952         (pasteSelection): ditto
7953
7954         * buffer.h: declare oprator== and operator!= for
7955         Buffer::inset_iterator
7956
7957         * bufferlist.C (emergencyWrite): don't use fmt(...)
7958
7959         * text3.C: add using std::endl
7960
7961         * BufferView.C (moveCursorUpdate): remove default arg
7962
7963 2002-08-20  André Pönitz <poenitz@gmx.net>
7964
7965         * buffer.[Ch]: move inline functions to .C
7966
7967         * BufferView2.C:
7968         * BufferView_pimpl.C:
7969         * text.C:
7970         * buffer.[Ch]: use improved inset_iterator
7971
7972         * buffer.C:
7973         * paragraph.[Ch]: write one paragraph at a time
7974
7975 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7976
7977         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7978         style if style is not specified.
7979
7980 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7981
7982         * text2.C (setCounter): when searching for right label for a
7983         caption, make sure to recurse to parent insets (so that a caption
7984         in a minipage in a figure float works) (bug #568)
7985
7986 2002-08-20  André Pönitz <poenitz@gmx.net>
7987
7988         * text3.C: new file for LyXText::dispatch() and helpers
7989
7990         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7991
7992         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7993
7994 2002-08-19  André Pönitz <poenitz@gmx.net>
7995
7996         * lyxtext.h:
7997         * text.C: new LyXText::dispatch()
7998
7999         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8000
8001 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8002
8003         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8004
8005         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8006         Hebrew text.
8007
8008 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8009
8010         * Makefile.am: use $(variables) instead of @substitutions@
8011
8012 2002-08-15  André Pönitz <poenitz@gmx.net>
8013
8014         * lyxfunc.C:
8015         * BufferView_pimpl.C: streamlining mathed <-> outer world
8016         interaction
8017
8018         * commandtags.h:
8019         * LyXAction.C: remove unused LFUN_MATH
8020
8021 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8024
8025 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8026
8027         * paragraph.C (Paragraph): reformat a bit
8028         (cutIntoMinibuffer): use builtin InsetList function instad of
8029         doing it manually.
8030         (getInset): ditto
8031
8032         * buffer.C: include boost/bind.hpp, add using std::for_each
8033         (writeFileAscii): use ParagraphList iterators
8034         (validate): use for_each for validate traversal of paragraphs
8035         (getBibkeyList): use ParagraphList iterators
8036         (resizeInsets): use for_each to resizeInsetsLyXText for all
8037         paragraphs.
8038         (getParFromID): use ParagraphList iterators
8039
8040         * BufferView2.C (lockInset): use paragraph list and iterators
8041
8042 2002-08-14  John Levon  <levon@movementarian.org>
8043
8044         * lyxserver.C: remove spurious xforms include
8045
8046 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8047
8048         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8049
8050 2002-08-13  André Pönitz <poenitz@gmx.net>
8051
8052         * LyXAction.[Ch]:
8053         * lyxfunc.C: further cleaning
8054
8055 2002-08-13  André Pönitz <poenitz@gmx.net>
8056
8057         * funcrequest.h: new constructor
8058
8059         * funcrequest.C: move stuff here from .h
8060
8061         * Makefile.am:
8062         * BufferView_pimpl.C:
8063         * LyXAction.C:
8064         * toc.C:
8065         * lyxfunc.C: subsequent changes
8066
8067         * lyxfunc.h: new view() member function
8068
8069         * lyxfunc.C: subsequent changes
8070
8071 2002-08-13  Angus Leeming  <leeming@lyx.org>
8072
8073         * BufferView2.C:
8074         * BufferView_pimpl.C:
8075         * buffer.C:
8076         * converter.C:
8077         * importer.C:
8078         * lyxfunc.C:
8079         * lyxvc.C:
8080         * toc.C:
8081         * vc-backend.C:
8082         changes due to the changed LyXView interface that now returns references
8083         to member variables not pointers.
8084
8085 2002-08-13  Angus Leeming  <leeming@lyx.org>
8086
8087         * WordLangTuple (word, lang_code): return references to strings,
8088         not strings.
8089
8090         * BufferView.h:
8091         * SpellBase.h:
8092         * lyxtext.h: forward-declare WordLangTuple.
8093
8094         * BufferView2.C:
8095         * ispell.C:
8096         * pspell.C:
8097         * text.C: #include "WordLangTuple.h".
8098
8099         * lyxtext.h:
8100         * text.C: (selectNextWordToSpellcheck): constify return type.
8101
8102 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8103
8104         * buffer.C:
8105         * buffer.h:
8106         * lyxtext.h:
8107         * paragraph.C:
8108         * paragraph_pimpl.h:
8109         * text.C:
8110         * text2.C:
8111         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8112         suggested by Angus.
8113         Made updateCounter always count from start of buffer, and removed
8114         second argument (par).
8115         Reverted floats number display to '#'. Perhaps I'll try again when the
8116         code base is sanitized a bit.
8117
8118 2002-08-12  Angus Leeming  <leeming@lyx.org>
8119
8120         * buffer.[Ch] (getLabelList): constify.
8121
8122 2002-08-07  André Pönitz <poenitz@gmx.net>
8123
8124         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8125
8126         * funcrequest.h: extension to keep mouse (x,y) position
8127
8128 2002-08-12  Juergen Vigna  <jug@sad.it>
8129
8130         * BufferView2.C (insertErrors): forbid undo when inserting error
8131         insets.
8132
8133         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8134
8135 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8136
8137         * ParagraphList.[Ch]: new files
8138
8139         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8140
8141         * BufferView2.C (lockInset): ParagraphList changes
8142         * toc.C: ditto
8143         * text2.C: ditto
8144         * bufferlist.C: ditto
8145         * buffer.h: ditto
8146         * buffer.C: ditto
8147
8148 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8149
8150         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8151         unused class variable counter_,
8152
8153         * paragraph.[Ch] (getFirstCounter): delete unused function
8154
8155         * counters.C: include LAssert.h
8156         (reset): add a new function with no arg, change other version to
8157         not have def. arg and to not allow empty arg.
8158
8159         * text2.C (setCounter): remove empty arg from call to Counters::reset
8160
8161 2002-08-11  John Levon  <levon@movementarian.org>
8162
8163         * Makefile.am: add WordLangTuple.h
8164
8165 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8166
8167         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8168         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8169
8170         * insets/insettext.C: InsetList changes
8171
8172         * graphics/GraphicsSupport.C (operator()): InsetList changes
8173
8174         * toc.C (getTocList): InsetList changes
8175
8176         * paragraph_pimpl.[Ch]: InsetList changes
8177
8178         * paragraph.[Ch]: InsetList changes
8179
8180         * buffer.C (inset_iterator): InsetList changes
8181         (setParagraph): ditto
8182         * buffer.h (inset_iterator): ditto
8183         * iterators.C (operator++): ditto
8184         * iterators.h: ditto
8185
8186         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8187
8188         * InsetList.[Ch]: new files, most InsetList handling moved out of
8189         paragraph.C.
8190
8191         * BufferView2.C (removeAutoInsets): InsetList changes
8192         (lockInset): ditto
8193         (ChangeInsets): ditto
8194
8195 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8196
8197         * paragraph_pimpl.h (empty): new function
8198
8199         * paragraph.[Ch] (empty): new function
8200
8201         * other files: use the new Paragraph::empty function
8202
8203 2002-08-09  John Levon  <levon@movementarian.org>
8204
8205         * lyxtext.h: remove unused refresh_height
8206
8207 2002-08-09  John Levon  <levon@movementarian.org>
8208
8209         * Makefile.am:
8210         * sgml.h:
8211         * sgml.C:
8212         * buffer.C:
8213         * paragraph.h:
8214         * paragraph.C: move sgml char escaping out of paragraph
8215
8216         * paragraph.h:
8217         * paragraph.C: remove id setter
8218
8219         * buffer.C:
8220         * paragraph.C:
8221         * paragraph_pimpl.C: remove dead tex_code_break_column
8222
8223         * bufferview_funcs.C: small cleanup
8224
8225         * lyxfunc.C: remove dead proto
8226
8227         * lyxtext.h: make some stuff private. Remove some dead stuff.
8228
8229         * lyxgluelength.C: make as[LyX]String() readable
8230
8231 2002-08-08  John Levon  <levon@movementarian.org>
8232
8233         * LyXAction.h:
8234         * LyXAction.C:
8235         * MenuBackend.C:
8236         * ToolbarDefaults.C:
8237         * lyxfunc.C:
8238         * lyxrc.C:
8239         * toc.C: lyxaction cleanup
8240
8241 2002-08-08  John Levon  <levon@movementarian.org>
8242
8243         * BufferView2.C: small cleanup
8244
8245         * lyxfind.h:
8246         * lyxfind.C: move unnecessary header into the .C
8247
8248 2002-08-08  John Levon  <levon@movementarian.org>
8249
8250         * funcrequest.h: just tedious nonsense
8251
8252         * lyx_main.h:
8253         * lyx_main.C: cleanups
8254
8255         * buffer.C:
8256         * vspace.C: remove dead header lyx_main.h
8257
8258 2002-08-07  Angus Leeming  <leeming@lyx.org>
8259
8260         * Paragraph.[Ch]:
8261         * paragraph_pimpl.h:
8262         Forward declare class Counters in paragraph.h by moving the ctrs member
8263         variable into Paragraph::Pimpl.
8264         (counters): new method, returning a reference to pimpl_->ctrs.
8265
8266         * text2.C: ensuing changes.
8267
8268 2002-08-07  John Levon  <levon@movementarian.org>
8269
8270         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8271
8272         * BufferView_pimpl.C: announce X selection on double/triple
8273           click
8274
8275         * lyx_main.C: use correct bool in batch dispatch
8276
8277         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8278
8279 2002-08-07  André Pönitz <poenitz@gmx.net>
8280
8281         * funcrequest.h: new class to wrap a kb_action and its argument
8282
8283         * BufferView.[Ch]:
8284         * BufferView_pimpl[Ch]:
8285         * LaTeX.C:
8286         * LyXAction.[Ch]:
8287         * lyxfunc.[Ch]:
8288         * lyxrc.C: subsequent changes
8289
8290
8291 2002-08-07  John Levon  <levon@movementarian.org>
8292
8293         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8294           document options change.
8295
8296 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8297
8298         * counters.[Ch]
8299         * text2.C
8300         * paragraph.[Ch]
8301         * makefile.am: move counters functionality over from
8302         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8303
8304 2002-08-06  John Levon  <levon@movementarian.org>
8305
8306         * WordLangTuple.h: new file for word + language code tuple
8307
8308         * SpellBase.h:
8309         * pspell.h:
8310         * pspell.C:
8311         * ispell.h:
8312         * ispell.C:
8313         * lyxtext.h:
8314         * text.C:
8315         * text2.C:
8316         * BufferView.h:
8317         * BufferView2.C: use WordLangTuple
8318
8319         * layout.h:
8320         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8321
8322 2002-08-06  John Levon  <levon@movementarian.org>
8323
8324         * lyx_main.C: fix cmdline batch handling
8325
8326 2002-08-06  André Pönitz <poenitz@gmx.net>
8327
8328         * lyxrc.C: set default for show_banner to true
8329
8330 2002-08-06  John Levon  <levon@movementarian.org>
8331
8332         * pspell.C: fix a crash, and allow new aspell to work
8333
8334 2002-08-06  John Levon  <levon@movementarian.org>
8335
8336         * lyxfunc.C:
8337         * kbmap.C: small cleanup
8338
8339         * vspace.h:
8340         * vspace.C: add const
8341
8342 2002-08-05  John Levon  <levon@movementarian.org>
8343
8344         * LyXAction.C: back to tabular-insert
8345
8346 2002-08-04  John Levon  <levon@movementarian.org>
8347
8348         * BufferView.h:
8349         * BufferView.C: cosmetic change
8350
8351         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8352
8353         * bufferlist.C:
8354         * buffer.h:
8355         * buffer.C:
8356         * lyxcb.h:
8357         * lyxcb.C:
8358         * lyxserver.C:
8359         * lyxvc.C:
8360         * vc-backend.C:
8361         * BufferView2.C: purge all "Lyx" not "LyX" strings
8362
8363         * lyxcursor.h:
8364         * lyxcursor.C: attempt to add some documentation
8365
8366         * lyxfunc.C:
8367         * commandtags.h:
8368         * LyXAction.C:
8369         * ToolbarDefaults.C:
8370         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8371           merge with LFUN_TABULAR_INSERT
8372
8373         * Makefile.am:
8374         * SpellBase.h:
8375         * ispell.h:
8376         * ispell.C:
8377         * pspell.h:
8378         * pspell.C: split up i/pspell implementations into separate
8379           files, many cleanups
8380
8381         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8382
8383         * text2.C: some cleanup
8384
8385         * lyxfunc.C: don't check for isp_command == "none" any more, it
8386           didn't make any sense
8387
8388 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8389
8390         * counters.[Ch]
8391         * text2.C
8392         * paragraph.[Ch]
8393         * makefile.am: move counters functionality over
8394         from text2.C/paragraph.[Ch] to counters.[Ch], and
8395         make proper C++.
8396 2002-08-02  John Levon  <levon@movementarian.org>
8397
8398         * buffer.C: s/lyxconvert/lyx2lyx/
8399
8400 2002-08-02  Angus Leeming  <leeming@lyx.org>
8401
8402         * lyxlex.C: revert John's change as it breaks reading of the user
8403         preamble.
8404
8405 2002-08-02  Angus Leeming  <leeming@lyx.org>
8406
8407         * importer.C (Import):
8408         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8409         changes due to LyXView::view() now returning a boost::shared_ptr.
8410
8411 2002-08-02  John Levon  <levon@movementarian.org>
8412
8413         * lyxlex.C: small cleanup
8414
8415 2002-08-02  John Levon  <levon@movementarian.org>
8416
8417         * text2.C (status): small cleanup, no logic change
8418
8419 2002-08-01  John Levon  <levon@movementarian.org>
8420
8421         * buffer.h:
8422         * buffer.C (writeFile): don't output alerts, caller
8423           handles this
8424
8425         * bufferlist.C:
8426         * lyx_cb.C: from above
8427
8428         * lyxfunc.C: allow to open non-existent files
8429
8430 2002-07-31  John Levon  <levon@movementarian.org>
8431
8432         * lyxserver.C: don't let incidental errors get
8433           in the way (errno)
8434
8435 2002-07-30  John Levon  <levon@movementarian.org>
8436
8437         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8438
8439 2002-07-30  John Levon  <levon@movementarian.org>
8440
8441         * lyxserver.h:
8442         * lyxserver.C: remove I/O callback too
8443
8444 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8445
8446         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8447         log.
8448
8449 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8450
8451         * many files: strip,frontStrip -> trim,ltrim,rtrim
8452
8453 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8454
8455         * PrinterParams.h: remove extern containsOnly, and include
8456         support/lstrings.h instead.
8457
8458         * LaTeX.C (scanAuxFile): modify because of strip changes
8459         (deplog): ditto
8460         * buffer.C (makeLaTeXFile): ditto
8461         * bufferparams.C (writeFile): ditt
8462         * lyxfont.C (stateText): ditto
8463         * lyxserver.C (read_ready): ditto
8464         * vc-backend.C (scanMaster): ditto
8465
8466         * BufferView_pimpl.h: ws changes
8467
8468         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8469
8470 2002-07-26  André Pönitz <poenitz@gmx.net>
8471
8472         * kb_sequence.C: remove unnedred usings
8473
8474 2002-07-26  Juergen Vigna  <jug@sad.it>
8475
8476         * lyxfind.C (LyXReplace): we have to check better if the returned
8477         text is not of theLockingInset()->getLockingInset().
8478
8479 2002-07-25  Juergen Vigna  <jug@sad.it>
8480
8481         * lyxfind.C (LyXReplace): don't replace if we don't get the
8482         right LyXText.
8483
8484         * undo_funcs.C (createUndo): remove debugging code.
8485
8486 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8487
8488         * buffer.C (parseSingleLyXformat2Token): Use default placement
8489         when reading old floats.
8490
8491         * FloatList.C (FloatList): Change the default placement of figure
8492         and tables to "tbp".
8493
8494 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8495
8496         * MenuBackend.C: using std::max
8497
8498 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8499
8500         * MenuBackend.C (expandToc):
8501         (expandToc2): code moved from xforms menu frontend. It is now
8502         generic and TOCs are transparent to menu frontends.
8503
8504 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8505
8506         * toc.C (getTocList): protect against buf=0
8507
8508         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8509         Menu as first parameter. Now, this calls itself recursively to
8510         expand a whole tree (this will be useful for TOC handling)
8511         (expandFloatInsert): remove 'wide' version of floats
8512
8513         * MenuBackend.h (submenuname): returns the name of the submenu.
8514         (submenu): returns the submenu itself, provided it has been
8515         created by MenuBackend::expand
8516
8517 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8518
8519         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8520         insets which have noFontChange == true. (bug #172)
8521
8522 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8523
8524         * BufferView_pimpl.C: add connection objects and use them...
8525         (Pimpl): here.
8526
8527 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8528
8529         * MenuBackend.C (expandLastfiles):
8530         (expandDocuments):
8531         (expandFormats):
8532         (expandFloatListInsert):
8533         (expandFloatInsert):
8534         (expand): split expand in parts
8535
8536 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8537
8538         * lyx_gui.C: use lyx_gui::exit()
8539
8540 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8541
8542         * LyXAction.C: show the failing pseudo action
8543
8544 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8545
8546         * buffer.C (readFile): Run the lyxconvert script in order to read
8547         old files.
8548
8549 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8550
8551         * LyXAction.C:
8552         * commandtags.h:
8553         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8554
8555 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8556
8557         * LyXAction.C:
8558         * commandtags.h:
8559         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8560
8561 2002-07-22  Herbert Voss  <voss@lyx.org>
8562
8563         * lengthcommon.C:
8564         * lyxlength.[Ch]: add support for the vertical lengths
8565
8566 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8567
8568         * toc.[Ch]: std:: fixes
8569
8570 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8571
8572         * lyxrc.C: do not include lyx_main.h
8573
8574         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8575         for layouts
8576
8577         * lyxrc.C:
8578         * encoding.C:
8579         * bufferlist.C:
8580         * BufferView2.C: include "lyxlex.h"
8581
8582         * tabular.h:
8583         * bufferparams.h: do not #include "lyxlex.h"
8584
8585         * lyxtextclasslist.C (Add): remove method
8586         (classlist): renamed to classlist_
8587
8588         * paragraph_pimpl.C:
8589         * paragraph.C:
8590         * text2.C:
8591         * CutAndPaste.C:
8592         * bufferview_funcs.C:
8593         * bufferlist.C:
8594         * text.C:
8595         * LaTeXFeatures.C:
8596         * buffer.C:
8597         * toc.C (getTocList): use BufferParams::getLyXTextClass
8598
8599         * toc.C (getTocList): use InsetFloat::addToToc
8600
8601         * toc.[Ch]: new files, containing helper functions to handle table
8602         of contents
8603
8604         * lyxfunc.C (dispatch): no need to remove spaces around command
8605         given as a string
8606         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8607         first command of the sequence; it is not very clever, but I do not
8608         have a better idea, actually
8609
8610         * LyXAction.C (LookupFunc): make sure to remove space at the
8611         beginning and end of the command
8612
8613 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8614
8615         * MenuBackend.C (getMenubar): new method: return the menubar of
8616         this menu set
8617         (read): treat differently reading of menu and menubar (in
8618         particular, the menubar has no name now)
8619         (Menu::menubar): remove
8620
8621         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8622         saving is finished
8623
8624 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8625
8626         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8627         a bibitem inset in a RTL paragraph.
8628
8629 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8630
8631         * paragraph_pimpl.C: constify
8632
8633         * BufferView_pimpl.C:
8634         * LaTeX.C:
8635         * lyxfunc.C: fix dispatch in a nicer way
8636
8637 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8638
8639         * lyxfunc.C (dispatch):
8640         * BufferView_pimpl.C:
8641         * BufferView_pimpl.h:
8642         * BufferView.C:
8643         * BufferView.h: rename Dispatch() to dispatch()
8644
8645         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8646
8647         * lyxlayout.C (Read): honor DependsOn tag
8648
8649         * lyxlayout.[Ch] (depends_on): new method
8650
8651         * version.C.in: update lyx_docversion
8652
8653         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8654
8655         * paragraph.C (validate): remove from here...
8656         * paragraph_pimpl.C (validate): ... and move here
8657         (isTextAt): make it const
8658
8659         * buffer.C (getLists): ws cleanup
8660
8661 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8662
8663         * language.C (read): Use iso8859-1 encoding in latex_lang
8664         (this prevents LyX from crashing when using iso10646-1 encoding).
8665
8666 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8667
8668         * text2.C (toggleInset): if cursor is inside an inset, close the
8669         inset and leave cursor _after_ it
8670
8671 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8672
8673         * lyxfunc.C: move minibuffer completion handling out of here
8674
8675 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8676
8677         * BufferView_pimpl.C:
8678         * LaTeX.C: fix dispatch calls
8679
8680 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8681
8682         * text.C (drawChars): Fix Arabic text rendering.
8683
8684 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8685
8686         * LyXAction.C:
8687         * commandtags.h:
8688         * lyxfunc.C: remove message-push/pop
8689
8690         * lyxserver.C:
8691         * lyxfunc.h:
8692         * lyxfunc.C: rationalise some code by removing verboseDispatch
8693           in favour of a bool argument to dispatch()
8694
8695 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8696
8697         * lyx_main.C (init): make sure to read symlinks as absolute paths
8698
8699 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8700
8701         * lyxfunc.h:
8702         * lyxfunc.C: no need for commandshortcut to be a member
8703
8704 2002-07-15  André Pönitz <poenitz@gmx.net>
8705
8706         * converter.C: add support for $$s (scripts from lib/scripts dir)
8707         * lyx_main.C: white space
8708
8709 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8710
8711         * bufferlist.C:
8712         * lyxrc.h:
8713         * lyxrc.C: remove second exit confirmation
8714
8715 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8716
8717         * BufferView.h:
8718         * BufferView.C:
8719         * BufferView2.C:
8720         * BufferView_pimpl.h:
8721         * BufferView_pimpl.C:
8722         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8723
8724 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8725
8726         * MenuBackend.C (expand): add numeric shortcuts to document menu
8727
8728         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8729
8730 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8731
8732         * lyxfont.C (setLyXFamily):
8733         (setLyXSeries):
8734         (setLyXShape):
8735         (setLyXSize):
8736         (setLyXMisc):
8737         (lyxRead):
8738         * debug.C (value):
8739         * buffer.C (asciiParagraph): use ascii_lowercase
8740
8741 2002-07-15  Mike Fabian  <mfabian@suse.de>
8742
8743         * lyxlex_pimpl.C (search_kw):
8744         * lyxlex.C (getLongString):
8745         * converter.h (operator<):
8746         * converter.C (operator<):
8747         * buffer.C (parseSingleLyXformat2Token):
8748         (asciiParagraph):
8749         * ToolbarDefaults.C (read):
8750         * MenuBackend.C (checkShortcuts):
8751         (read):
8752         * LColor.C (getFromGUIName):
8753         (getFromLyXName): use the compare_ascii_no_case instead of
8754         compare_no_case, because in turkish, 'i' is not the lowercase
8755         version of 'I', and thus turkish locale breaks parsing of tags.
8756
8757 2002-07-16  Angus Leeming  <leeming@lyx.org>
8758
8759         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8760         now takes a Buffer const & argument.
8761
8762 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8763
8764         * BufferView.C (resize): check there's a buffer to resize
8765
8766 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8767
8768         * lyxfunc.C: remove dead code
8769
8770         * lyxserver.h:
8771         * lyxserver.C: use lyx_guii::set_read_callback
8772
8773 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8774
8775         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8776         an inset in a RTL paragraph.
8777
8778 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8779
8780         * lyxfunc.C: repaint after a font size update
8781
8782 2002-07-15  André Pönitz <poenitz@gmx.net>
8783
8784         * lyxlength.C: inBP should be able to return negative values
8785
8786 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8787
8788         * lyxfunc.C: use lyx_gui::update_fonts()
8789
8790 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8791
8792         * lyxfunc.C: use lyx_gui::update_color()
8793
8794 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8795
8796         * bufferlist.C:
8797         * lyxfunc.h:
8798         * lyxfunc.C:
8799         * lyxrc.h:
8800         * lyxrc.C: remove file->new asks for name option, and let
8801           buffer-new take an argument
8802
8803 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8804
8805         * BufferView_pimpl.C: remove unneeded extra repaint()
8806
8807 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8808
8809         * LyXAction.C: allow command-sequence with NoBuffer
8810
8811         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8812
8813 2002-07-10  Angus Leeming  <leeming@lyx.org>
8814
8815         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8816
8817 2002-07-09  Angus Leeming  <leeming@lyx.org>
8818
8819         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8820
8821 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8822
8823         * lengthcommon.h: whitespace
8824
8825         * lyxfunc.C: update scrollbar after goto paragraph
8826
8827         * lyxtext.h: factor out page break drawing, and fix it so
8828           page break/added space paints as selected nicely
8829
8830 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8831
8832         * BufferView_pimpl.C: add FIXMEs, clean up a little
8833
8834 2002-07-09  André Pönitz <poenitz@gmx.net>
8835
8836         * lyxfont.[Ch]: support for wasy symbols
8837
8838 2002-07-08  André Pönitz <poenitz@gmx.net>
8839
8840         * BufferView_pimpl.C: apply John's patch for #93.
8841
8842 2002-07-05  Angus Leeming  <leeming@lyx.org>
8843
8844         * BufferView_pimpl.C (buffer): generate previews if desired.
8845
8846         * LColor.h: add "preview" to the color enum.
8847
8848         * LColor.C (LColor): add a corresponding entry to the items array.
8849
8850         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8851         with this buffer.
8852
8853 2002-07-05  Angus Leeming  <leeming@lyx.org>
8854
8855         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8856         The body of the code is now in the method that is passed an ostream &
8857         rather than a file name.
8858         Pass an additional only_preamble parameter, useful for the forthcoming
8859         preview stuff.
8860
8861 2002-07-03  André Pönitz <poenitz@gmx.net>
8862
8863         * lyxfunc.C: simplify getStatus() a bit for math stuff
8864
8865 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8866
8867         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8868
8869 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8870
8871         * text.C (changeRegionCase): do not change case of all the
8872         document when region ends at paragraph end (bug #461)
8873
8874 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8875
8876         * paragraph.C (startTeXParParams):
8877         (endTeXParParams): add \protect when necessary
8878
8879 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8880
8881         * BufferView_pimpl.C (workAreaExpose): remove warning
8882
8883 2002-06-27  Angus Leeming  <leeming@lyx.org>
8884
8885         * Makefile.am: add lyxlayout_ptr_fwd.h.
8886
8887 2002-06-26  André Pönitz <poenitz@gmx.net>
8888
8889         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8890
8891 2002-06-25  Angus Leeming  <leeming@lyx.org>
8892
8893         * lyxfunc.C (dispatch): Comment out the call to
8894         grfx::GCache::changeDisplay. The method no longer exists now that the
8895         pixmap generation part of the graphics loader has been moved into
8896         InsetGraphics.
8897
8898 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8899
8900         * text2.C: layout as layout
8901
8902         * text.C: layout as layout
8903
8904         * tabular.C (OldFormatRead): layout as layout
8905
8906         * paragraph_pimpl.C (TeXDeeper): layout as layout
8907         (realizeFont): layout as layout
8908
8909         * paragraph.C (writeFile): layout as layout
8910         (validate): layout as layout
8911         (getFont): layout as layout
8912         (getLabelFont): layout as layout
8913         (getLayoutFont): layout as layout
8914         (breakParagraph): layout as layout
8915         (stripLeadingSpaces): layout as layout
8916         (getEndLabel): layout as layout
8917         (getMaxDepthAfter): layout as layout
8918         (applyLayout): layout as layout
8919         (TeXOnePar): layout as layout
8920         (simpleTeXOnePar): layout as layout
8921         (TeXEnvironment): layout as layout
8922         (layout): layout as layout
8923         (layout): layout as layout
8924
8925         * lyxtextclass.C (compare_name): new functor to work with
8926         shared_ptr, layout as layout
8927         (Read): layout as layout
8928         (hasLayout): layout as layout
8929         (operator): layout as layout
8930         (delete_layout): layout as layout
8931         (defaultLayout): layout as layout
8932
8933         * lyxlayout_ptr_fwd.h: new file
8934
8935         * lyxlayout.C (Read): layout as layout
8936
8937         * lyx_cb.C (MenuInsertLabel): layout as layout
8938
8939         * bufferlist.C (newFile): layout as layout
8940
8941         * buffer.C (readLyXformat2): layout as layout
8942         (parseSingleLyXformat2Token): layout as layout
8943         (insertStringAsLines): layout as layout
8944         (asciiParagraph): layout as layout
8945         (latexParagraphs): layout as layout
8946         (makeLinuxDocFile): layout as layout
8947         (simpleLinuxDocOnePar): layout as layout
8948         (makeDocBookFile): layout as layout
8949         (simpleDocBookOnePar): layout as layout
8950         (getLists): layout as layout
8951
8952         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8953
8954         * CutAndPaste.C (cutSelection): layout as layout
8955         (pasteSelection): layout as layout
8956         (SwitchLayoutsBetweenClasses): layout as layout
8957
8958         * BufferView_pimpl.C (Dispatch): layout as layout
8959         (smartQuote): layout as layout
8960
8961         * BufferView2.C (unlockInset): layout as layout
8962
8963 2002-06-24  André Pönitz <poenitz@gmx.net>
8964
8965         * lyxfunc.C: fix #487
8966
8967 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8968
8969         * lyxrc.h:
8970         * lyxrc.C:
8971         * lyxfunc.C: remove display_shortcuts, show_banner
8972
8973 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8974
8975         * Buffer_pimpl.C: oops, update on resize
8976
8977 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8978
8979         * buffer.C:
8980         * converter.C:
8981         * exporter.C:
8982         * lyxfunc.C:
8983         * BufferView.h:
8984         * BufferView.C: use repaint()
8985
8986         * BufferView_pimpl.h:
8987         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8988           as it's a clearer description. Remove superfluous
8989           redraws.
8990
8991 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8992
8993         * text.C: fix bug 488. Not ideal, but getting
8994           getWord() to work properly for the insets that
8995           matter is more difficult ...
8996
8997 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8998
8999         * BufferView_pimpl.C:
9000         * LyXAction.C:
9001         * commandtags.h:
9002         * lyxfunc.C: remove the six million index lyxfuncs to just
9003           one, and DTRT (bug 458)
9004
9005 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9006
9007         * BufferView.h:
9008         * BufferView.C:
9009         * BufferView_pimpl.h:
9010         * BufferView_pimpl.C: clean up resize() stuff,
9011           and unnecessary updateScreen()s
9012
9013 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9014
9015         * BufferView.h:
9016         * BufferView.C:
9017         * BufferView_pimpl.h:
9018         * BufferView_pimpl.C:
9019         * lyxfind.h:
9020         * lyxfind.C:
9021         * minibuffer.C: remove focus management of workarea,
9022           not needed. Use screen's greyOut()
9023
9024 2002-06-17  Herbert Voss  <voss@lyx.org>
9025
9026         * converter.C: (convert) do not post a message, when converting
9027         fails, let the calling function decide what to do in this case
9028
9029 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9030
9031         * lyxfunc.C: tidy up a little
9032
9033 2002-06-16    <alstrup@diku.dk>
9034
9035         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9036         Got rid of FORMS_H_LOCATION include. Now we are
9037         GUII.
9038
9039 2002-06-15  LyX Development team  <lyx@rilke>
9040
9041         * buffer.[Ch] (sgmlOpenTag):
9042         (sgmlCloseTag): Added support for avoiding pernicious mixed
9043         content. Return number of lines written.
9044
9045         (makeLinuxDocFile):
9046         (makeDocBookFile): Fixed calls to sgml*Tag.
9047         Simple white space clean.
9048
9049         (simpleDocBookOnePar): Simple white space clean.
9050
9051         * tabular.[Ch] (docBook): Renamed to docbook and got another
9052         argument to related with the pernicious mixed content.
9053
9054         (docbookRow): Fixed calls for docbook inset method.
9055
9056 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9057
9058         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9059         so it's X11 independent.
9060
9061         * kb*.[Ch]: ditto.
9062
9063         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9064
9065 2002-06-15  Lyx Development team  <lyx@electronia>
9066
9067         * intl.h: Renamed getTrans to getTransManager.
9068
9069 2002-06-14  Angus Leeming  <leeming@lyx.org>
9070
9071         * Makefile.am: nuke forgotten stl_string_fwd.h.
9072
9073 2002-06-12  Angus Leeming  <leeming@lyx.org>
9074
9075         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9076
9077 2002-06-13  Angus Leeming  <leeming@lyx.org>
9078
9079         * LaTeX.C:
9080         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9081
9082 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9083
9084         * kbmap.C (getiso): add support for cyrillic and greek
9085
9086 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9087
9088         * BufferView.h:
9089         * BufferView.C:
9090         * BufferView_pimpl.h:
9091         * BufferView_pimpl.C: move bogus scrolling logic
9092           to xforms
9093
9094 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9095
9096         * lyxfunc.C:
9097         * BufferView_pimpl.C: view->resize() change
9098
9099 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9100
9101         * BufferView_pimpl.C: topCursorVisible
9102           prototype change
9103
9104 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * Makefile.am:
9107         * lyx_gui.h:
9108         * lyx_gui.C: move to frontends/
9109
9110         * main.C:
9111         * lyx_main.h:
9112         * lyx_main.C: changes from above
9113
9114 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9115
9116         * intl.C:
9117         * intl.h:
9118         * kbmap.C:
9119         * kbsequence.C:
9120         * lyx_cb.C:
9121         * lyx_main.C: minor tidy
9122
9123 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9124
9125         * BufferView_pimpl.h:
9126         * BufferView_pimpl.C:
9127         * BufferView.h:
9128         * BufferView.C: make painter() const,
9129           remove dead code
9130
9131         * BufferView2.C: use screen() accessor
9132
9133         * lyx_main.h:
9134         * lyx_main.C: some minor cleanup
9135
9136 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9137
9138         * BufferView_pimpl.h:
9139         * BufferView_pimpl.C: remove enter/leaveView,
9140           use workHeight()
9141
9142 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9143
9144         * BufferView.h:
9145         * BufferView.C:
9146         * BufferView2.C:
9147         * BufferView_pimpl.h:
9148         * BufferView_pimpl.C: only construct screen once,
9149           rename
9150
9151         * lyxrc.C: remove pointless comment
9152
9153 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9154
9155         * BufferView.h:
9156         * BufferView.C: remove active() and belowMouse()
9157
9158         * BufferView_pimpl.h:
9159         * BufferView_pimpl.C: use workarea() not workarea_,
9160           and make it use a scoped_ptr instead
9161
9162 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9163
9164         * lyx_gui.C: add debug message on BadWindow
9165
9166 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9167
9168         * sp_spell.C: fdopen is not part of the C++ standard.
9169
9170         * paragraph.C (InsetIterator): use >= instead of ==
9171
9172 2002-06-07  Angus Leeming  <leeming@lyx.org>
9173
9174         Fixes needed to compile with Compaq cxx 6.5.
9175         * BufferView_pimpl.C:
9176         * DepTable.C:
9177         * buffer.C:
9178         * converter.C:
9179         * encoding.C:
9180         * lyx_gui.C:
9181         * lyx_main.C:
9182         * lyxtextclasslist.C:
9183         * minibuffer.C:
9184         * sp_spell.C:
9185         * tabular_funcs.C:
9186         * vc-backend.C:
9187         all c-library variables have been moved into namespace std. Wrap
9188         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9189
9190         * lyxlength.C:
9191         * tabular-old.C:
9192         * tabular.C:
9193         Add a using std::abs declaration.
9194
9195         * kbmap.h (modifier_pair):
9196         * paragraph.h (InsetTable, InsetList):
9197         * lyxfont.h (FontBits):
9198         type definition made public.
9199
9200         * bufferlist.C (emergencyWriteAll): the compiler complains that
9201         there is more than one possible lyx::class_fun template to choose from.
9202         I re-named the void specialisation as lyx::void_class_fun.
9203
9204         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9205
9206         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9207         the compiler is is unable to find tostr in write_attribute.
9208
9209 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9210
9211         * buffer.C (sgmlError): hide #warning
9212
9213 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9214
9215         * xtl/*: get rid of xtl, which is not in use anyway
9216
9217         * LyXAction.C (init):
9218         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9219         were unimplemented xtl experimentation
9220
9221 2002-06-04  André Pönitz <poenitz@gmx.net>
9222
9223         * lyxfunc.C: disable array operation on simple formulae
9224
9225 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9226
9227         * converter.C: constify a bit
9228
9229 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9230
9231         * lyx_gui.C: check xforms version correctly
9232
9233 2002-04-30  Herbert Voss  <voss@lyx.org>
9234
9235         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9236         "keep" option
9237
9238 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9239
9240         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9241           attempt to register it with a VCS)
9242
9243 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9244
9245         * lyx_main.C (init): honor variables LYX_DIR_13x and
9246         LYX_USERDIR_13x
9247
9248 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9249
9250         * buffer.h:
9251         * buffer.C:
9252         * lyx_main.C: fix a crash on bad command line,
9253           and give a useful exit status on error
9254
9255         * lyxfunc.C (doImport): allow -i lyx to work
9256
9257 2002-03-30  André Pönitz <poenitz@gmx.net>
9258
9259         * lyxfunc.C: mathed font changes
9260
9261 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9262
9263         * LaTeX.C:
9264         * importer.h:
9265         * importer.C:
9266         * lyx_sty.h:
9267         * lyx_sty.C:
9268         * lyxlex.C:
9269         * lyxrow.h:
9270         * lyxtext.h:
9271         * paragraph.h:
9272         * paragraph.C:
9273         * texrow.h:
9274         * texrow.C:
9275         * text.C:
9276         * trans_mgr.h: srcdocs, and some minor cleanups
9277
9278 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9279
9280         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9281         call getFont all the time)
9282
9283 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9284
9285         * switch from SigC signals to boost::signals
9286
9287 2002-05-29  André Pönitz <poenitz@gmx.net>
9288
9289         * paragraph_pimpl.C (getChar): don't call size() too often...
9290
9291 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9292
9293         * paragraph_pimpl.C (insertChar): do not try to update tables when
9294         appending (pos == size())
9295
9296         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9297         in order to reduce drastically the number of comparisons needed to
9298         parse a large document
9299
9300 2002-05-29  André Pönitz <poenitz@gmx.net>
9301
9302         * text.C:
9303         * text2.C:
9304         * lyxtextclass.C:
9305         * sp_pspell.h:
9306         * textclasslist.[Ch]:
9307         * sp_ispell.h: whitespace change
9308
9309 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9310
9311         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9312         lyxaction directly now.
9313
9314 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9315
9316         * trans.C:
9317         * lyxfont.C:
9318         * lyxvc.C: remove unused headers
9319
9320 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9321
9322         * Makefile.am:
9323         * buffer.h:
9324         * undostack.h:
9325         * undostack.C:
9326         * undo_funcs.h:
9327         * undo_funcs.C: some cleanups. Use shared_ptr
9328           and a template for the undo stacks.
9329
9330 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9331
9332         * BufferView_pimpl.h:
9333         * BufferView_pimpl.C:
9334         * kbmap.h:
9335         * kbmap.C:
9336         * kbsequence.h:
9337         * kbsequence.C:
9338         * lyxfunc.h:
9339         * lyxfunc.C:
9340         * text2.C: use key_state/mouse_state
9341
9342 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9343
9344         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9345         and LSubstring
9346
9347         * chset.C: change include order
9348         (loadFile): use boost regex and get rid of LRegex and LSubstring
9349
9350         * Makefile.am (BOOST_LIBS): new variable
9351         (lyx_LDADD): use it
9352
9353         * LaTeX.C: change include order.
9354         (scanAuxFile): use boost regex and get rid of LRegex and
9355         LSubstring
9356         (deplog): ditto
9357
9358 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9359
9360         * ColorHandler.h:
9361         * ColorHandler.C:
9362         * FontInfo.h:
9363         * FontInfo.C: moved to frontends/xforms/
9364
9365         * FontLoader.h:
9366         * FontLoader.C: moved into frontends for GUIIzation
9367
9368         * Makefile.am:
9369         * lyx_gui.C:
9370         * lyxfont.C:
9371         * lyxfunc.C: changes from above
9372
9373 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9374
9375         * LColor.C: remove spurious X include
9376
9377         * BufferView_pimpl.C:
9378         * Makefile.am:
9379         * font.h:
9380         * font.C:
9381         * text.C:
9382         * text2.C: move font metrics to frontends/
9383
9384 2002-05-24  Juergen Vigna  <jug@sad.it>
9385
9386         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9387         setting the undo_cursor.
9388
9389         * ParagraphParameters.h: include local includes first.
9390
9391 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9392
9393         * BufferView_pimpl.C:
9394         * BufferView_pimpl.h:
9395         * Makefile.am:
9396         * WorkArea.h:
9397         * WorkArea.C:
9398         * screen.C: move WorkArea into frontends/
9399
9400         * lyxscreen.h:
9401         * screen.C:
9402         * text.C:
9403         * BufferView.C:
9404         * BufferView2.C: move LyXScreen into frontends/
9405
9406         * lyxlookup.h:
9407         * lyxlookup.C:
9408         * lyx_gui.C: move lyxlookup into frontends/xforms/
9409
9410 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9411
9412         * BufferView2.C:
9413         * BufferView_pimpl.C:
9414         * FontLoader.C:
9415         * LyXView.h:
9416         * LyXView.C:
9417         * Makefile.am:
9418         * WorkArea.C:
9419         * XFormsView.h:
9420         * XFormsView.C:
9421         * buffer.C:
9422         * bufferlist.C:
9423         * bufferview_funcs.C:
9424         * converter.C:
9425         * importer.C:
9426         * lyx_cb.C:
9427         * lyx_gui.C:
9428         * lyx_main.C:
9429         * lyx_find.C:
9430         * lyxfunc.C:
9431         * lyxvc.C:
9432         * minibuffer.C:
9433         * text.C:
9434         * text2.C:
9435         * trans.C:
9436         * vc-backend.C: move LyX/XFormsView into frontends/
9437
9438 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9439
9440         * Makefile.am:
9441         * PainterBase.C:
9442         * PainterBase.h:
9443         * Painter.C:
9444         * Painter.h:
9445         * WorkArea.C:
9446         * WorkArea.h:
9447         * screen.C:
9448         * tabular.C:
9449         * text.C:
9450         * text2.C: move Painter to frontends/
9451
9452 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9453
9454         * buffer.C: comment out some some code that depend upon lyx_format
9455         < 220
9456
9457         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9458         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9459
9460         * buffer.h (NO_COMPABILITY): turn off compability
9461
9462         * ColorHandler.C: include scoped_array.hpp
9463
9464         * font.C: Use more specific smart_ptr header.
9465         * Painter.C: ditto
9466         * gettext.C: ditto
9467         * ShareContainer.h: ditto
9468         * lyx_main.h: ditto
9469         * kbmap.h: ditto
9470         * FontInfo.h: ditto
9471         * BufferView_pimpl.h: ditto
9472         * ColorHandler.h: ditto
9473
9474         * kbmap.C (defkey): change call to shared_ptr::reset
9475
9476 2002-05-21  Juergen Vigna  <jug@sad.it>
9477
9478         * buffer.C (insertErtContents): fix to insert ert asis if it is
9479         non empty. Skip it completely if it contains only whitespaces.
9480
9481 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9482
9483         * BufferView_pimpl.C:
9484         * BufferView2.C: clear selection on paste (bug 393)
9485
9486 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9487
9488         * DepTable.C: include ctime
9489
9490 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9491
9492         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9493
9494 2002-05-14  Juergen Vigna  <jug@sad.it>
9495
9496         * text.C (breakParagraph): fixed function to honor the keepempty
9497         layout in the right maner and also to permit the right breaking
9498         algorithm on empty or non empyt keepempty paragraphs.
9499
9500         * paragraph.C (breakParagraph): we have to check also if the par
9501         is really empty (!size()) for isempty otherwise we do the wrong
9502         paragraph break.
9503
9504 2002-05-10  Juergen Vigna  <jug@sad.it>
9505
9506         * buffer.[Ch] : The following are only changes to the ert
9507         compatibility read reading old LaTeX layout and font stuff and
9508         convert it to ERTInsets.
9509
9510         * buffer.h: added isErtInset().
9511
9512         * buffer.C (struct ErtComp): add a fromlayout bool to check
9513         if we're inside a LaTeX layout.
9514         (isErtInset): new helper function.
9515         (insertErtContents): look for other ert insets before this one
9516         and insert the contents there, so that we don't have subsequent
9517         ERT insets with nothing between them. This way we create only one
9518         inset with multiple paragraphs. Also check if we don't insert only
9519         spaces ' ' as they are ignored anyway afterwards in the .tex file
9520         so if we have only spaces we will ignore this latex part in the
9521         new file.
9522         (parseSingleLyXformat2Token \\layout): better compatibility when
9523         reading layout-latex stuff.
9524         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9525         language tag.
9526         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9527         stuff after reading the inset only get the information back from
9528         the stack.
9529
9530 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9531
9532         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9533
9534         * LaTeXFeatures.C (getBabelOptions): New method.
9535
9536 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9537
9538         * BufferView_pimpl.C (Dispatch): work around missing argument for
9539         'layout'
9540
9541 2002-05-08  Juergen Vigna  <jug@sad.it>
9542
9543         * text.C (leftMargin): handle paragraph leftindent.
9544
9545         * paragraph.C (writeFile): write the new \\leftindent tag.
9546         (validate): handle leftindent code.
9547         (TeXEnvironment): handle paragraphleftindent code again.
9548
9549         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9550
9551         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9552         for paragrap_extra indent code and new token \\leftindent.
9553         (latexParagraphs): handle the leftindent as environment.
9554
9555         * ParameterStruct.h: added leftindent support.
9556
9557         * ParagraphParameters.C (leftIndent): added support functions for
9558         the paragraph left indent.
9559
9560         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9561         more appropriate.
9562
9563 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9564
9565         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9566         inside insetERT.
9567
9568         * text.C (computeBidiTables): No bidi in insetERT.
9569
9570         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9571         in RTL documents.
9572
9573 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9574
9575         * version.C.in: pre 5
9576
9577 2002-05-02  José Matos  <jamatos@fep.up.pt>
9578         * buffer.C (makeDocBookFile): white space changes, add newline to
9579         command styles.
9580         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9581
9582         * tabular.C (docBook): fix typo.
9583
9584 2002-05-03  Juergen Vigna  <jug@sad.it>
9585
9586         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9587         change in LyXText as we can not be sure it was not freed.
9588         (drawOneRow): remove unused code.
9589
9590         * text.C (drawInset): redo the calculation of the need_break_row as
9591         it could have a row which was already freed.
9592         (draw): look at the return value of drawInset and return false if
9593         it also returned false.
9594         (paintRowText): look at the return value of draw and return false if
9595         it also returned false.
9596
9597         * lyxtext.h: added bool return type to drawInset() and draw() so that
9598         if we have a change in the row so that the rowbreak has to be redone
9599         we abort drawing as it will be called again.
9600
9601 2002-05-02  Juergen Vigna  <jug@sad.it>
9602
9603         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9604         a change in the maintext also if we're inside an inset.
9605         (Dispatch): set the cursor again after a break line and after the
9606         screen has been updated as it could be we're in a different row.
9607
9608         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9609         to set the cursor behind the pargraph with > size().
9610         (setCursor): check also for the same paragraph when checking where
9611         to put the cursor if we have a NFR inset.
9612
9613         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9614         parts of layout read further up as it still was in the wrong
9615         position.
9616
9617 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9618
9619         * screen.C (drawFromTo): change sine fullRebreak always return
9620         true.
9621
9622         * buffer.C (parseSingleLyXformat2Token): reindent some
9623
9624         * BufferView_pimpl.C (update): change since fullRebreak always
9625         return true.
9626         (Dispatch): git rid of the last hardcoded "Standard"s.
9627
9628 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9629
9630         * text2.[Ch] (fullRebreak): make it return void now that we always
9631         returned true.
9632
9633 2002-04-30  Juergen Vigna  <jug@sad.it>
9634
9635         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9636         ert compatibility check for "latex" layout.
9637
9638 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9639
9640         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9641         minipages: use col% instead of p%, and also use the current font.
9642         (makeLaTeXFile): Fix use babel condition.
9643         (parseSingleLyXformat2Token): Correct font when reading old floats.
9644
9645 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9646
9647         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9648         inserting list of floats.
9649
9650 2002-04-25  Herbert Voss  <voss@lyx.org>
9651
9652         * MenuBackend.C (expand): don't add the graphics extensions to the
9653         export menu
9654
9655 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9656
9657         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9658         non-existing layout, do not complain if it was the default layout
9659         of the original class (bug #342)
9660
9661 2002-04-24  Juergen Vigna  <jug@sad.it>
9662
9663         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9664         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9665
9666 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9667
9668         * buffer.C (getBibkeyList): If using \bibliography, return the
9669         option field with the reference itself. Enables us to provide natbib
9670         support when using \bibliography.
9671
9672 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9673
9674         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9675
9676         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9677         natbib is provided by the LaTeX class.
9678
9679 2002-04-23  Juergen Vigna  <jug@sad.it>
9680
9681         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9682         Wakeup functions.
9683
9684         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9685
9686 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9687
9688         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9689
9690         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9691         ensuremath around textordmasculine, textordfeminine and
9692         textdegree.
9693
9694 2002-04-19  Juergen Vigna  <jug@sad.it>
9695
9696         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9697         reinitializing the buffer otherwise row-dimensions may be wrong.
9698         (update): reset also the selection cursors if they do exits otherwise
9699         their x/y positions may be wrong.
9700
9701         * text2.C (cursorDown): don't enter the inset if we came from a row
9702         above and are one row over the inset.
9703
9704         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9705         really leaving an inset.
9706
9707 2002-04-18  Juergen Vigna  <jug@sad.it>
9708
9709         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9710         of the selected paragraph does not have the selected layout also if
9711         the last one had!
9712
9713         * text2.C (setLayout): fixed bug which did not change last selected
9714         paragraph.
9715
9716         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9717         changed the read and substituted \\end_float with \\end_inset!
9718
9719         * BufferView_pimpl.C (cursorPrevious):
9720         (cursorNext): fixed to make it work with rows heigher than the work
9721         area without moving the cursor only the draw of the row.
9722         (workAreaMotionNotify): fix jumping over high rows.
9723
9724 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9725
9726         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9727         Ressler.
9728
9729 2002-04-16  Juergen Vigna  <jug@sad.it>
9730
9731         * text2.C (setCursor): set also the irow().
9732         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9733         (cursorUp):
9734         (cursorDown): support for locking an inset if the x_fix value goes
9735         inside it. That way I can transverse insets too with cursor up/down.
9736
9737         * lyxrow.h: added irow helper function same as other (i) functions.
9738
9739         * BufferView_pimpl.C (cursorPrevious):
9740         (cursorNext): fixed for insets!
9741
9742 2002-04-15  Juergen Vigna  <jug@sad.it>
9743
9744         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9745         position otherwise it is wrong in some cases.
9746
9747         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9748         inside the inset before the call.
9749
9750 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9751
9752         * buffer.[Ch] (getBibkeyList): make it const.
9753
9754 2002-04-12  Juergen Vigna  <jug@sad.it>
9755
9756         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9757
9758         * text2.C (getCursorX): new helper function
9759         (setCursor): compute also ix_
9760         (setCursorFromCoordinates): set also ix.
9761
9762         * lyxcursor.h: added ix_ and helper functions.
9763
9764         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9765
9766         * buffer.C (insertStringAsLines): dont break paragraph if the this
9767         paragraph is inside an inset which does not permit it!
9768
9769         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9770         also with no chars on this paragraph.
9771         (paintRowText): only paint stuff if it's inside the workarea!
9772
9773         * paragraph.C (breakParagraph): honor keepempty flag and break the
9774         paragraph always below not above.
9775
9776         * BufferView2.C (unlockInset): update the paragraph layout on inset
9777         unlock as we changed paragraph in such a case.
9778
9779         * lyxfind.C (LyXFind): clear the former selection if not found!
9780
9781         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9782         again called in insertChar().
9783
9784         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9785         an inset which uses the whole row!
9786         (rightMargin): ditto.
9787         (insertChar): force a rebreak if we inserted an inset!
9788
9789 2002-03-28  Herbert Voss  <voss@lyx.org>
9790
9791         * lyxlength.[Ch]: add inBP() to get the right PS-point
9792         units (BigPoint). With inPixels we have rounding errors
9793
9794 2002-04-11  Juergen Vigna  <jug@sad.it>
9795
9796         * text2.C (setCursorFromCoordinates): set iy to the right value.
9797         (setCursor): add check if row->previous exists!
9798
9799         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9800         an old float_type as this was the case in the old code!
9801
9802         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9803
9804         * BufferView2.C (showLockedInsetCursor): use iy
9805         (fitLockedInsetCursor): ditto
9806
9807         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9808         locked insets as there we have the right value now.
9809
9810         * lyxcursor.C: added iy_ variable and iy functions to set to the
9811         baseline of cursor-y of the locked inset.
9812
9813         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9814         (setCursor): fixed for insets which need a full row.
9815
9816         * text.C (rowLastPrintable): don't ignore the last space when before
9817         an inset which needs a full row.
9818         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9819         as last character of a row when before a inset which needs a full row.
9820
9821 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9822
9823         * version.C.in: update date
9824
9825         * text2.C (fullRebreak): try to always return true and see what
9826         happens...
9827
9828 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9829
9830         * MenuBackend.C (expand): use Floating::listName
9831
9832         * FloatList.C (FloatList): add listName argument to the built-in
9833         floats
9834
9835         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9836         text associated with the float.
9837
9838 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9839
9840         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9841
9842 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9843
9844         * ShareContainer.h: add a couple of missing typenames.
9845
9846 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9847
9848         * lyxrc.C (getDescription): use _() correctly rather than N_().
9849
9850 2002-03-28  Herbert Voss  <voss@lyx.org>
9851
9852         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9853         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9854
9855 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9856
9857         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9858         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9859
9860 2002-03-29  Juergen Vigna  <jug@sad.it>
9861
9862         * lyxfunc.C (dispatch): add a missing fitCursor call.
9863
9864         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9865         it was scrolled by a cursor move, so return the bool status.
9866
9867         * BufferView.C (fitCursor): return the bool flag also to the outside
9868         world as this is needed.
9869
9870         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9871
9872         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9873         call the edit() as it is not needed (and wrong) IMO.
9874         (workAreaButtonPress): set the screen_first variable before evt.
9875         unlock the inset as this may change screen_first and then we have
9876         a wrong y position for the click!
9877
9878 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * MenuBackend.C (expand): another translation that I missed
9881
9882 2002-03-28  Juergen Vigna  <jug@sad.it>
9883
9884         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9885
9886         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9887
9888 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9889
9890         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9891
9892         * MenuBackend.C (expand): fix export/view/update when there is no
9893         document open.
9894
9895 2002-03-27  Herbert Voss  <voss@lyx.org>
9896
9897         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9898         and text%
9899
9900 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9901
9902         * bufferview_funcs.C (currentState): only show paragraph number
9903         for is DEVEL_VERSION is set.
9904
9905         * lyxfunc.C (dispatch): put warning in INFO channel
9906
9907         * MenuBackend.C (expand): translate the name of floats
9908
9909         * FloatList.C (FloatList): mark the float names for translation
9910
9911         * converter.C (convert): use LibScriptSearch
9912
9913 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9914
9915         * MenuBackend.C (defaults): fix default menu (we might as well get
9916         rid of it...)
9917
9918 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9919
9920         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9921         directory.
9922
9923 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9924
9925         * lyxvc.C: reorder includes.
9926
9927 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9928
9929         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9930           properly
9931
9932 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9933
9934         * CutAndPaste.C: change layouts earlier on paste
9935           to avoid crashing when calling getFont()
9936
9937 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9938
9939         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9940         irritating #error.
9941
9942 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9943
9944         * WorkArea.C: remove 'Pending' debug message.
9945
9946         * most files: ws cleanup
9947
9948         * buffer.[Ch]: ws changes
9949
9950         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9951
9952 2002-03-21  Juergen Vigna  <jug@sad.it>
9953
9954         * tabular.C (SetMultiColumn): collapse also the contents of the
9955         cells and set the last border right. Added a Buffer const * param.
9956
9957 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9958
9959         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9960         linking or not.
9961
9962 2002-03-19  Juergen Vigna  <jug@sad.it>
9963
9964         * text2.C (clearSelection): reset also xsel_cache.
9965
9966         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9967         where it needs to be called (John tells us to do so too :)
9968         (selectionLost): reset sel_cache.
9969
9970         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9971
9972 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9973
9974         * text2.C (setCursorIntern): put debuging code in INSETS channel
9975
9976 2002-03-19  André Pönitz <poenitz@gmx.net>
9977
9978         * lyxfunc.C: tiny whitespace change
9979
9980 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9981
9982         * ToolbarDefaults.C (init):
9983         * LyXAction.C (init):
9984         * commandtags.h:
9985         * BufferView_pimpl.C (Dispatch):
9986         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9987
9988 2002-03-19  Allan Rae  <rae@lyx.org>
9989
9990         * exporter.C (Export): removeAutoInsets before doing anything else.
9991         While I've just introduced a dependency on BufferView this really is
9992         the best place to clean the buffer otherwise you need to cleanup in
9993         a dozen places before calling export or cleanup in a dozen functions
9994         that export calls.
9995
9996         * converter.C (runLaTeX):
9997         (scanLog): Better handling of removeAutoInsets and screen updates.
9998
9999         * lyxfunc.C (dispatch): small whitespace changes
10000
10001 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10002
10003         * WorkArea.C (C_WorkAreaEvent): return a value.
10004         (event_cb): return 1 if we handled the event, 0 otherwise.
10005
10006         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10007
10008 2002-03-18  Juergen Vigna  <jug@sad.it>
10009
10010         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10011         (GetAdditionalWidth): ditto.
10012         (RightLine): ditto.
10013         (LeftLine): ditto.
10014
10015         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10016         inset if we're there actually (probably not used right now but this
10017         is the direction to go for unifying code).
10018         (paste): disable code to clear the selection.
10019
10020         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10021         inside an InsetText and move the check further up as it is in the
10022         wrong place.
10023
10024         * text2.C (pasteSelection): set a selection over the pasted text.
10025
10026 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10027
10028         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10029         and libgraphics to build on Cygwin.
10030
10031 2002-03-15  Juergen Vigna  <jug@sad.it>
10032
10033         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10034         inserting an Inset into the paragraph. I know this is not the best
10035         fix but we already use current_view in CutAndPaste so we will remove
10036         all of it's using at the same time.
10037
10038         * buffer.C (sgmlError): deactivated function till it is rewritten in
10039         the right mode, now it can create problems.
10040
10041         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10042         before accessing it.
10043
10044 2002-03-14  Juergen Vigna  <jug@sad.it>
10045
10046         * undo_funcs.C (textHandleUndo): do the right thing when updating
10047         the inset after the undo/redo.
10048
10049         * text2.C (setCursor): just some testcode for #44 not ready yet.
10050
10051         * undo_funcs.C (textHandleUndo): set the next() and previous()
10052         pointers of the paragraph to 0 before deleting otherwise we have
10053         problems with the Paragraph::[destructor].
10054
10055         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10056         on a paragraph insertion.
10057
10058 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10059
10060         * buffer.C (asciiParagraph): use += operator for char append to
10061         string.
10062
10063         * paragraph.C (getFontSettings): compare >= not just >
10064         (highestFontInRange): ditto
10065         (setFont): ditto
10066
10067 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10068
10069         * paragraph.C: change several algorithm to be more appripriate for
10070         the problem domain. This is lookip in FontList and in the InsetList.
10071
10072 2002-03-13  André Pönitz <poenitz@gmx.net>
10073
10074         * commandtags.h:
10075         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10076
10077 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10078
10079         * commandtags.h:
10080         * LyXAction.C:
10081         * lyxfunc.C:
10082         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10083
10084 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10085
10086         * Painter.C (display): anon helper function, adjust code for this
10087         change.
10088         (pixmap): remove function.
10089
10090         * Painter.h: remove private display variable.
10091
10092         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10093
10094 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10095
10096         * WorkArea.[Ch]: remove figinset_canvas cruft.
10097
10098 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10099
10100         * lyxtextclass.C (operator): add one item cache optimization.
10101
10102         * bufferlist.h: doxy changes
10103
10104         * bufferlist.C: ws changes
10105
10106         * DepTable.[Ch] (ext_exist): place const in the right spot.
10107
10108         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10109         call resizeInsets.
10110         (workAreaExpose): call resizeInsets when the with BufferView changes.
10111         (Dispatch): adjust for protectedBlank removal
10112         (specialChar): call updateInset if the insert went ok.
10113
10114         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10115         specialChar instead.
10116
10117         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10118
10119         * BufferView.h: doxy change
10120
10121         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10122
10123         * lyxtextclass.C (operator[]): remove non-const version
10124         (defaultLayout): remove non-const version
10125
10126 2002-03-12  Juergen Vigna  <jug@sad.it>
10127
10128         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10129         did resize the LyXText too.
10130
10131         * buffer.C (readLyXformat2): set layout information on newly allocated
10132         paragraphs.
10133
10134         * tabular.C (OldFormatRead): set layout information on the paragraph.
10135
10136 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10137
10138         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10139
10140 2002-03-11  Juergen Vigna  <jug@sad.it>
10141
10142         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10143         plainly wrong.
10144         (resizeCurrentBuffer): force also the insets to resize themselfes.
10145         (moveCursorUpdate): fixed up for InsetText.
10146
10147 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10148
10149         * commandtags.h:
10150         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10151         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10152         value of Dialogs::tooltipsEnabled().
10153         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10154
10155 2002-03-08  Juergen Vigna  <jug@sad.it>
10156
10157         * BufferView_pimpl.C (updateInset): update inset inside inset also
10158         if it isn't inside theLockingInset().
10159
10160 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10161
10162         * buffer.C (asciiParagraph): redo some of the word and line length
10163         handling.
10164         (getLists): look for Caption instead of caption.
10165
10166 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10167
10168         * buffer.C (Buffer): initialize niceFile to true
10169         (makeLaTeXFile):
10170         (makeLinuxDocFile):
10171         (makeDocBookFile): make sure niceFile is true on exit
10172
10173 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10174
10175         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10176
10177 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10178
10179         * LyXSendto.C: remove.
10180         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10181         * lyx_gui.C: remove now-redundant comment.
10182         * ColorHandler.h: remove forward declaration of class WorkArea.
10183         * lyxfunc.C: remove #include "WorkArea.h".
10184
10185 2002-03-07  Juergen Vigna  <jug@sad.it>
10186
10187         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10188         got moved away with the DEPM and also set the inset_owner always
10189         right which before could have been omitted.
10190
10191 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10192
10193         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10194         wanted layout is not found.
10195
10196 2002-03-07  Juergen Vigna  <jug@sad.it>
10197
10198         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10199
10200 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10201
10202         * paragraph.C (breakParagraph): use default layout not layout of
10203         prev paragraph.
10204         (Paragraph): clear ParagraphParameters.
10205
10206 2002-03-06  Juergen Vigna  <jug@sad.it>
10207
10208         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10209         otherwise it would not be a valid lenght. Fixed a special case in
10210         the minipage compatibility read where we end the document with a
10211         minipage.
10212
10213         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10214         was set as it could be 0 for InsetTexts first entry.
10215
10216 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10217
10218         * paragraph.C (writeFile): if layout is empty write out
10219         defaultLayoutName().
10220
10221         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10222         file without named layout we set layout to defaultLayoutName().
10223
10224 2002-03-06  Juergen Vigna  <jug@sad.it>
10225
10226         * CutAndPaste.C (copySelection): set layout for new paragraph.
10227
10228         * text.C (prepareToPrint): leave ERT inset left aligned
10229         (leftMargin): don't indent paragraphs inside ERT insets
10230
10231 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10232
10233         * paragraph.C (breakParagraph): dont call clear do the work manually
10234
10235         * paragraph.[Ch] (clear): remove function
10236
10237 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10238
10239         * paragraph.C (Paragraph): dont call clear, the work has already
10240         been done.
10241
10242         * lyxtextclass.C (operator): assert if n is empty
10243
10244         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10245         work manually instead.
10246
10247 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * BufferView_pimpl.C: protect selectionLost against text == 0
10250
10251 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10252
10253         * text.C (breakParagraph): fix a setting layout to '0' problem.
10254
10255 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10256
10257         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10258         final location of file, for the included files, and graphics.
10259
10260 2002-03-05  Juergen Vigna  <jug@sad.it>
10261
10262         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10263
10264 2002-03-04  Juergen Vigna  <jug@sad.it>
10265
10266         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10267
10268         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10269         last column of multicolumn cells.
10270         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10271
10272 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10273
10274         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10275         file if it doesn't go to a temporary file.
10276
10277         * buffer.C (sgmlOpenTag):
10278         (sgmlCloseTag):  remove extra newline insertion.
10279
10280 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10281
10282         * text.C (getRowNearY): comment out debug msg
10283
10284 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10285
10286         * text2.C: first -> first_y
10287
10288         * text.C (getRowNearY): add some attemts at a possible
10289         optimization, not working.
10290
10291         * tabular.[Ch]: add BufferParams to several function so that newly
10292         created paragraph can be initialized to he default layotu for the
10293         buffers textclass.
10294
10295         * tabular-old.C (ReadOld): add buf->params to call of Init
10296
10297         * screen.C: rename text->first to text->first_y
10298
10299         * paragraph.C (breakParagraph): always set layout in the broken
10300         paragraph
10301
10302         * lyxtextclass.C (Read): remove lowercase
10303         (hasLayout): ditto
10304         (operator): ditto
10305         (delete_layout): ditto
10306
10307         * lyxtext.h: rename first -> first_y
10308
10309         * lyxlayout.C (Read): remove lowercase
10310         (name): ditto
10311         (setName): ditto
10312         (obsoleted_by): ditto
10313
10314         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10315
10316         * buffer.C (insertErtContents): add params are to InsetERT
10317         (parseSingleLyXformat2Token): add code to check if a paragraphs
10318         layout really exist.
10319         (parseSingleLyXformat2Token): add params to several inset
10320         constructors
10321         (asciiParagraph): remove lowercase, do the layout comparisons with
10322         no_case
10323
10324         * BufferView_pimpl.C (cursorNext): first -> first_y
10325         (resizeCurrentBuffer): first -> first_y
10326         (updateScrollbar): first -> first_y
10327         (scrollCB): first -> first_y
10328         (workAreaMotionNotify): first -> first_y
10329         (workAreaButtonPress): first -> first_y
10330         (checkInsetHit): first -> first_y
10331         (cursorPrevious): first -> first_y
10332         (cursorNext): first -> first_y
10333         (Dispatch): add buffer_->params to severl inset contructors
10334
10335 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10336
10337         * lyxlayout.C (Read): remove some debug info that I forgot.
10338
10339         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10340         clean up the code slightly.
10341         (makeLinuxDocFile): ditto
10342         (makeDocBookFile): ditto
10343
10344         * text2.C: layout as string
10345
10346         * text.C: layout as string
10347
10348         * paragraph_pimpl.C: layout as string
10349
10350         * paragraph.[Ch]: layout as string
10351
10352         * lyxtextclasslist.[Ch]: layout as string
10353
10354         * lyxtextclass.[Ch]: layout as string
10355
10356         * lyxtext.h: layout as string
10357
10358         * lyxlayout.[Ch]: layout as string
10359
10360         * lyx_cb.C: layout as string
10361
10362         * bufferview_funcs.C: layout as string
10363
10364         * bufferparams.C: layout as string
10365
10366         * buffer.C: layout as string
10367
10368         * LyXView.[Ch]: layout as string
10369
10370         * LaTeXFeatures.[Ch]: layout as string
10371
10372         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10373
10374         * BufferView_pimpl.C: change current_layout to string, remove
10375         lyx::layout_type.
10376         (Dispatch):
10377         (smartQuote):
10378         (insertInset):
10379         (workAreaButtonRelease): layout as string
10380
10381         * BufferView2.C (unlockInset): adjust
10382
10383         * vspace.C (asLatexCommand): use an explict temp variable.
10384
10385 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10386
10387         * Makefile.am: use FRONTEND_*
10388
10389 2002-03-01  Juergen Vigna  <jug@sad.it>
10390
10391         * tabular.C (SetWidthOfMulticolCell): changed to something better
10392         I hope but still work in progress.
10393         (recalculateMulticolumnsOfColumn): renamed function from
10394         recalculateMulticolCells as it is more appropriate now.
10395         (SetWidthOfCell): calculate multicols better.
10396
10397 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10398
10399         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10400
10401         * lyxfunc.C (processKeySym): print sequence also if it is
10402         `deleted' (complete)
10403
10404         * kbsequence.C (print): print sequence even if it is deleted
10405         (complete would be a better word, actually).
10406
10407         * lyxfunc.C (dispatch): print complete options after a prefix key
10408
10409         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10410
10411 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10412
10413         * text2.C (setCharFont): eliminate setCharFont code duplication.
10414
10415 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10416
10417         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10418         LFUN_TABULAR_FEATURE (bug #177)
10419
10420 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10421
10422         * Makefile.am: remove figure.h
10423
10424 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10425
10426         * Bufferview_pimpl.C:
10427         * CutAndPasteC:
10428         * LaTeX.C:
10429         * LyXSendto.C:
10430         * buffer.C:
10431         * bufferlist.C:
10432         * converter.C:
10433         * language.C:
10434         * lyxfunc.C:
10435         * lyxvc.C:
10436         * paragraph.C:
10437         * text.C:
10438         * text2.C: remove #include "lyx_gui_misc.h".
10439
10440         * LaTeX.C: added #include <cstdio>
10441
10442 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10443
10444         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10445         that the paragraph following this one can have.
10446
10447         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10448
10449         * vspace.C (asLatexCommand): fix bogus gcc warning
10450
10451         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10452
10453 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10454
10455         * text2.C (setLayout): get rid of redundant code
10456
10457 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10458
10459         * text2.C (incDepth): make sure depth cannot be increased beyond
10460         reasonable values.
10461
10462 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10463
10464         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10465         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10466
10467         * PainterBase.h (image):
10468         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10469         a LyXImage const *.
10470
10471 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10472
10473         * BufferView.C:
10474         * BufferView.h:
10475         * BufferView_pimpl.C:
10476         * BufferView_pimpl.h:
10477         * LaTeXFeatures.C:
10478         * LyXAction.C:
10479         * LyXView.C:
10480         * Makefile.am:
10481         * UpdateList.h:
10482         * UpdateList.C:
10483         * buffer.C:
10484         * figure.h:
10485         * figureForm.C:
10486         * figureForm.h:
10487         * figure_form.C:
10488         * figure_form.h:
10489         * lyx_cb.C:
10490         * lyx_gui.C:
10491         * lyx_gui_misc.C:
10492         * lyxfunc.C:
10493         * sp_base.h:
10494         * sp_ispell.h:
10495         * sp_pspell.h:
10496         * sp_spell.C: remove fig inset, and the crap house of
10497           cards that follows it
10498
10499 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10500
10501         * Makefile.am:
10502         * lyxserver.C:
10503         * os2_defines.h:
10504         * os2_errortable.h:
10505         * nt_defines.h: move .h into support/
10506
10507         * vms_defines.h: remove
10508
10509         * WorkArea.C: add space in debug output
10510
10511         * text2.C:
10512         * paragraph.C:
10513         * buffer.C: add WITH_WARNINGS
10514
10515         * vc-backend.h:
10516         * vc-backend.C:
10517         * bufferlist.C: s/retrive/retrieve/, add docs
10518
10519         * vspace.h:
10520         * vspace.C:
10521         * kbmap.h:
10522         * lyxlength.h:
10523         * lyxgluelength.h:
10524         * length_common.h:
10525         * chset.h:
10526         * chset.C: add docs
10527
10528         * lyxgui.C: add ID to X error handler
10529
10530         * lyxtestclass.c: fix typo
10531
10532 2002-02-26  Juergen Vigna  <jug@sad.it>
10533
10534         * tabular_funcs.C (write_attribute): changed so that some default
10535         attributes are not written at all.
10536         (getTokenValue): set default values before trying to read the
10537         value so we have the return value always set as default if we don't
10538         find the token we search for.
10539
10540         * tabular.C (Write): write bools as bools not as strings!
10541
10542 2002-02-22  Juergen Vigna  <jug@sad.it>
10543
10544         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10545         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10546
10547         * text.C (leftMargin): don't add an indent for paragraphs inside
10548         tabular cells (fix #208).
10549
10550 2002-02-21  José Matos  <jamatos@fep.up.pt>
10551
10552         * tabular.C (docBook): fixed support for long tables.
10553
10554 2002-02-20  Juergen Vigna  <jug@sad.it>
10555
10556         * text2.C (getFont): get the drawing font of the Inset if this
10557         paragraph is inside an inset (only important for InsetERT for now).
10558
10559         * buffer.C (insertErtContents): use new lanugage params in ERT
10560         constructor.
10561
10562         * CutAndPaste.C: commenting out seemingly uneeded code.
10563
10564 2002-02-19  Allan Rae  <rae@lyx.org>
10565
10566         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10567         Iterators might be simple to use but they also get invalidated.
10568         (removeAutoInsets): renamed saved cursor tracking variables and added
10569         some comments to clarify what everything does.
10570
10571 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10572
10573         * Chktex.C:
10574         * LaTeX.C:
10575         * LyXSendto.C:
10576         * converter.C:
10577         * lyx_cb.C:
10578         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10579         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10580
10581         * lyxfunc.C:
10582         * vc-backend.h: remove #include "support/syscall.h"
10583
10584         * LaTeX.C:
10585         * LyXSendto.C:
10586         * converter.C: rearrange #includes in Lars' approved fashion.
10587
10588         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10589         forward declare class Timeout in the header file.
10590
10591         * XFormsView.C: changes due to the above.
10592
10593         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10594         similar to LyXView.
10595
10596         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10597         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10598
10599 2002-02-18  José Matos  <jamatos@fep.up.pt>
10600
10601         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10602         insets contents.
10603
10604 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10605
10606         * a lot of small ws changes
10607         * add a lot of using std::XXX
10608         * use std construcs some places where approp.
10609         * use some exisint stuff from lyxfunctional where approp.
10610         * Make file changes to use partial linking (lets test this now...)
10611
10612 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10613
10614         * Chktex.C:
10615         * buffer.C:
10616         remove #include "support/syscontr.h" as it's redundant. Always has been.
10617
10618         * Chktex.C:
10619         * LaTeX.C:
10620         * LyXSendto.C:
10621         * converter.C:
10622         * lyx_cb.C:
10623         * vc-backend.C:
10624         change Systemcalls::System to Systemcalls::Wait and
10625         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10626         No change of functionality, just reflects the stripped down Systemcalls
10627         class.
10628
10629 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10630
10631         * debug.[Ch]: add a GRAPHICS type to the enum.
10632
10633 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10634
10635         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10636
10637         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10638         there is an inset.
10639
10640 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10641
10642         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10643         match the changes below.
10644
10645         * text2.C (toggleInset): if there is not editable inset at cursor
10646         position, try to see if cursor is _inside_ a collapsable inset
10647         and close it.
10648
10649 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10650
10651         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10652         document menu has a nice checkbox
10653
10654 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10655
10656         * lyxlength.C (asLatexString): change PW to output as percent of
10657         \textwidth.
10658
10659         * lengthcommon.C: change '%' to 't%'
10660
10661         * lyxfunc.C (dispatch): a few comments from Martin
10662
10663 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10664
10665         * WorkArea.h:
10666         * WorkArea.C:
10667         * BufferView_pimpl.h:
10668         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10669           the X selection.
10670
10671 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10672
10673         * vspace.C (inPixels): fix compiler warning
10674
10675 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10676
10677         * lyxfunc.C (getStatus): fix status message for disabled commands.
10678
10679 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * BufferView_pimpl.C: fix crash on close buffer
10682         during selection (#227)
10683
10684 2002-01-27  Herbert Voss  <voss@lyx.org>
10685
10686         * buffer.C: link old Figure to new graphic inset
10687
10688 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10689
10690         * FontLoader.C (getFontinfo): Change the latex font names in order
10691         to match the names of type1inst.
10692
10693 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10694
10695         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10696
10697         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10698         (extchanged): ditto
10699         (ext_exist): ditto
10700         (remove_files_with_extension): ditto
10701         (remove_file): ditto
10702         (write): ditto
10703
10704         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10705         document is smaller than the work area height. Do not initialize
10706         static variables to 0.
10707
10708 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10709
10710         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10711
10712         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10713         LFUN_LAYOUT_PARAGRAPHS.
10714
10715         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10716         tabular. It is possible to provide a possible cell, which will
10717         typically be the actcell from the corresponding insettabular
10718
10719         * lyxfunc.C (getStatus): small cleanup; disable
10720         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10721         true
10722
10723 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10724
10725         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10726
10727         * paragraph.C (startTeXParParams):
10728         (endTeXParParams): new methods. The LaTeX code to
10729         start/end paragraph formatting
10730         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10731         empty (fixes bug #200)
10732
10733         * vspace.C (inPixels): adapt to the change below
10734         (inPixels): [later] more cleanups (remove unused variables)
10735
10736         * lyxlength.C (inPixels): change to use a width and a height as
10737         parameter.
10738
10739 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10740
10741         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10742         Replaced with \paperwidth
10743
10744         * DepTable.C (insert): add std:: qualifier
10745
10746 2002-01-18  Allan Rae  <rae@lyx.org>
10747
10748         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10749         updated also?
10750
10751         * text.C (drawInset): Turned out I didn't know enough about how
10752         rebreaking worked.  This fixes most of the redraw problems.  I see
10753         an occasional cursor trail when a line is broken now and the cursor
10754         placement can seem out by a few pixels also after a rebreak.
10755
10756 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * buffer.C (parseSingleLyXformat2Token): update because minipage
10759         width is now a LyXLength
10760
10761         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10762
10763         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10764         math insets
10765
10766 2002-01-17  Juergen Vigna  <jug@sad.it>
10767
10768         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10769
10770         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10771         is set correctly and the inset is updated correctly.
10772
10773 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10774
10775         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10776         the beginning of the loop.
10777
10778 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10779
10780         * lyxrc.C: improve help for use_scalable_fonts
10781
10782 2002-01-17  Allan Rae  <rae@lyx.org>
10783
10784         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10785
10786 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10787
10788         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10789         make sure to set their inset_owner to the right value (bug #171)
10790
10791 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10792
10793         * DepTable.h
10794         * DepTable.C: Implement mtime checking to reduce time spent doing
10795         CRCs.
10796
10797 2002-01-16  Juergen Vigna  <jug@sad.it>
10798
10799         * tabular.C (GetAdditionalHeight): one of error fixed.
10800
10801         * lyxrc.C (output): small fix in writing use_pspell.
10802
10803 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10804
10805         * sp_base.h: #include LString.h
10806
10807 2002-01-16  Allan Rae  <rae@lyx.org>
10808
10809         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10810         Can someone check this please?
10811
10812         * text.C (drawInset): It was possible that p.row would be removed by
10813         breakAgainOneRow upsetting a few other settings.  There may be another
10814         small tweak possible by setting need_break_row = 0 when p.row has been
10815         removed but I don't know enough about the logic here.
10816
10817 2002-01-15  Allan Rae  <rae@lyx.org>
10818
10819         * text.C (insertChar): removed conditional truism.
10820
10821         * BufferView2.C (removeAutoInsets): More tweaks.
10822         cur_par_prev could be a stray pointer.  Check for trailing empty line
10823         in case last line was cur_par and only had an error inset on it.
10824
10825 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10826
10827         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10828         absolute
10829
10830         * vc-backend.C (most methods):
10831         * exporter.C (Export):
10832         * converter.C (convert):
10833         (runLaTeX):
10834         * LyXSendto.C (SendtoApplyCB):
10835         * lyxfunc.C (dispatch):
10836         (menuNew):
10837         (open):
10838         (doImport):
10839         * lyx_cb.C (AutoSave):
10840         (InsertAsciiFile):
10841         * BufferView_pimpl.C (MenuInsertLyXFile):
10842         * buffer.C (runChktex): use Buffer::filePath().
10843
10844         * buffer.h: rename filename to filename_; rename filepath to
10845         filepath_ and make it private
10846         (filePath): new method
10847
10848         * buffer.C (writeFile): use fileName()
10849         (getLatexName):
10850
10851         * lyx_main.C (init): fix starting  of LyX when the binary is a
10852         link from so,ewhere else.
10853
10854         * minibuffer.C: include <cctype> for isprint
10855
10856 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10857
10858         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10859         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10860         name clash with InsetCollapsable's width function.
10861
10862 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10863
10864         * lastfiles.C: include <iterator>
10865
10866 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10867
10868         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10869         std::count.
10870
10871         * buffer.C (makeLaTeXFile): ditto.
10872         Also make loop operation more transparent.
10873
10874 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10875
10876         * ToolbarDefaults.C: remove trailing comma closing namespace.
10877
10878         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10879
10880         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10881         as in WorkArea.
10882
10883         * trans.C (Load): comment out unused variable, allowed.
10884
10885 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10886
10887         * minibuffer.[Ch] (append_char): new method to recieve input from the
10888         drop-down completion browser. If a key was pressed, then recieve this
10889         char and append it to the existing string.
10890         (peek_event): modify the positioning data passed to the completion
10891         browser so that it can be placed above the minibuffer rather than below.
10892 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10893
10894         * LyXAction.C (init): alloe error-next for readonly documents.
10895
10896         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10897         count.
10898
10899 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10900
10901         * bufferlist.C (readFile): create the buffer _after_ checking that
10902         the file exists.
10903
10904         * lyxfunc.C (verboseDispatch): fix handling of arguments
10905
10906         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10907
10908         * lyxrc.C: use string::erase() instead of initializing to "".
10909
10910
10911 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10912
10913         * BufferView_pimpl.h:
10914         * BufferView_pimpl.C:
10915         * WorkArea.h:
10916         * WorkArea.C:
10917         * text2.C: tell X when we have made a selection for copying
10918
10919 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10920
10921         * BufferView_pimpl.C (MenuInsertLyXFile):
10922         * lyxfunc.C (menuNew):
10923         (open):
10924         (doImport): add shortcuts to directory buttons
10925
10926         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10927         open a float)
10928
10929         * lyxfunc.C (setStatusMessage):
10930         (getStatusMessage): new methods
10931         (getStatus):use setStatusMessage instead of setErrorMessage
10932         (dispatch): when function is disabled, set error message here
10933         [instead of in getStatus previously]
10934
10935         * BufferView_pimpl.C (workAreaButtonRelease): update
10936         toolbar/menubar here too.
10937
10938 2002-01-13  Allan Rae  <rae@lyx.org>
10939
10940         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10941         Now seems indestructible.  Remaining task is to audit all other
10942         code affected by deleteEmptyParagraphMechanism.  One small quirk
10943         left is that an empty document with an error in the preamble can
10944         be made to report an error but no error box appears.  I don't know
10945         where it goes.
10946         (removeAutoInsets): Improved comments.
10947
10948 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10949
10950         * Thesaurus.h:
10951         * Thesaurus.C: update for Aiksaurus 0.14
10952
10953 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10954
10955         * text2.C (firstParagraph): removed member function, all uses
10956         replaces with ownerParagraph
10957         (redoParagraphs): here
10958         (updateInset): here
10959         (toggleAppendix): here
10960         * BufferView2.C (insertErrors): here
10961         (setCursorFromRow): here
10962
10963 2002-01-13  Allan Rae  <rae@lyx.org>
10964
10965         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10966         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10967         There is still a way to segfault this although you may have to do this
10968         multiple times: Have an InsetERT with an unknown command in it.
10969         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10970         <down-arrow>, <Enter> again, View->DVI, BANG!
10971
10972         * text2.C (setCursor):
10973         (deleteEmptyParagraphMechanism):
10974         * lyxtext.h (setCursor):
10975         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10976         Making use of the return value may help fix other bugs.
10977
10978 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10979
10980         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10981
10982         * LyXView.C (updateMenubar): call MenuBar::update here
10983         (updateToolbar): but not here
10984         (showState): do not update toolbar/menubar
10985
10986         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10987         should need to care about that.
10988
10989         * lyxfunc.C (verboseDispatch): simplify a bit
10990         (getStatus): have a version which takes a pseudoaction, and
10991         another which requires a (kb_action,string).
10992
10993         * LyXAction.C (retrieveActionArg): make it work also when action
10994         is not a pseudo-action.
10995         (getActionName): simplify a bit
10996         (helpText):
10997
10998 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10999
11000         * lyxfunc.C (verboseDispatch): new families of methods with
11001         several ways to specify a command and a bool to indicate whether
11002         the command name and shortcut should be displayed in minibuffer
11003         (eventually, we could extend that to a finer bitmask like
11004         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11005         (dispatch): the pristine dispatch command which just, well,
11006         dispatchs! Note it still sets its result to minibuffer; I'm not
11007         sure we want that.
11008
11009         * lyxfunc.h: remove setHintMessage
11010
11011         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11012
11013 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11014
11015         * BufferView_pimpl.C (specialChar): delete new inset if we have
11016         not been able to insert it.
11017
11018         * kbmap.C: revert to using int instead of kb_action, since all we
11019         are dealing with is pseudo-actions.
11020
11021         * LyXAction.C (searchActionArg): change to return int instead of
11022         kb_action, since the result is a pseudoaction.
11023
11024 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11025
11026         * buffer.C (insertErtContents): Fix (partially) the font bug.
11027
11028 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11029
11030         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11031         as the other one is broken on my machine!
11032
11033 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11034
11035         * commandtags.h:
11036         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11037
11038 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11039
11040         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11041         reflect their actual use. Provide compatibility code for older lyxrc
11042         files.
11043
11044         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11045         FL_NORMAL_STYLE.
11046         change names of popup font variables in line with the changes to lyxrc.C
11047
11048 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11049
11050         * buffer.C (asciiParagraph): avoid outputing a word twice after
11051         an inset.
11052
11053         * lyxrc.C (getDescription): document that document_path and
11054         template_path can be empty.
11055
11056 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11057
11058         * LaTeXFeatures.C (getMacros):
11059         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11060
11061         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11062
11063         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11064         getPackages.
11065         (getPackages): rename feature "floats" to "float". Use an array to
11066         iterate over 'simple' features (i.e. just a \usepackage). Add
11067         handling of "amsmath" (renamed from "amsstyle").
11068
11069 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11070
11071         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11072         features list.
11073
11074 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11075
11076         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11077         FuncStaus::FuncStatus & FuncStaus::some_method().
11078
11079 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11080
11081         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11082         of the func_satus stuff. Edited and massaged in various ways by
11083         JMarc.
11084
11085         * lyxfunc.C (getStatus): use FuncStatus
11086
11087 2002-01-08  Juergen Vigna  <jug@sad.it>
11088
11089         * text.C (nextBreakPoint): use function Inset::isChar().
11090
11091         * paragraph.C (TeXOnePar): use function
11092         Inset::forceDefaultParagraphs.
11093
11094         * buffer.C (latexParagraphs): use function
11095         Inset::forceDefaultParagraphs.
11096
11097 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11098
11099         * lyx_gui.C (init): set the style of the menu popups to
11100         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11101
11102 2002-01-07  Juergen Vigna  <jug@sad.it>
11103
11104         * text.C (setHeightOfRow): small fix
11105         (prepareToPrint): don't look at alignment if we don't have the place
11106         for doing it.
11107
11108 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11109
11110         * box.C: New file. Move the Box methods and functions out of box.h,
11111         following Lars' suggestion.
11112
11113 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11114
11115         * box.h: #include "support/LOstream.h", needed for inlined function.
11116
11117         * lyxtextclass.C:
11118         * lyxtextclasslist.C: added some using std declarations.
11119
11120 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11121
11122         * box.h: make signed dimensions to allow insets wider than
11123           the screen (bug #162)
11124
11125         * BufferView_pimpl.C: add some insetHit debug
11126
11127 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * vc-backend.C: add FIXME
11130
11131 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11132
11133         * lyxfunc.C (getStatus): enable code for showing math font status
11134         in toolbar/menu.
11135
11136 2002-01-07  Juergen Vigna  <jug@sad.it>
11137
11138         * text.C (nextBreakPoint): removed debug output not needed anymore.
11139
11140 2002-01-06  Juergen Vigna  <jug@sad.it>
11141
11142         * text.C (nextBreakPoint): fixed up this function we had this bug
11143         since ever but now hopefully we break row better.
11144         (insertChar): we have to check if an inset is the next char as it
11145         could now happen that a large inset is causing a break.
11146
11147 2002-01-05  Juergen Vigna  <jug@sad.it>
11148
11149         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11150         if it doesn't like to be drawed.
11151
11152 2002-01-04  Juergen Vigna  <jug@sad.it>
11153
11154         * BufferView2.C (lockInset): forgot to set a cursor.
11155
11156         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11157
11158 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11159
11160         * FormMathsPanel.C:
11161         * FormMathsPanel.h
11162         * MathsSymbols.C:
11163         * form_maths_panel.C:
11164         * form_maths_panel.h:
11165         * form_maths_panel.fd: implemented sub- and super- buttons in math
11166         panel.
11167
11168         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11169         (or ^ space) to be used as in TeX (req'd by André).
11170
11171         * lyxfunc.C: Allow ^ and _ again to be used both as
11172         super/subscript (mathed) and as themselves (in text).
11173
11174 2002-01-03  Allan Rae  <rae@lyx.org>
11175
11176         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11177         "LyX" or the filename of the current buffer if it has one.  This is a
11178         modified form of John Levon's patch.
11179
11180         * XFormsView.C (setWindowTitle): also set icon title.
11181
11182         * LyXView.h (setWindowTitle): signature changed.
11183         * XFormsView.h (setWindowTitle): ditto.
11184
11185 2002-01-02  Juergen Vigna  <jug@sad.it>
11186
11187         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11188
11189 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11190
11191         * screen.C (topCursorVisible): introduce a temp var for
11192         text->cursor.row(), handle the case where this row is null. (kindo
11193         hachish)
11194
11195         * text2.C (setCursor): add a couple of asserts.
11196
11197         * paragraph.h (inset_iterator): add -> operator
11198
11199         * paragraph.[Ch] (autoDeleteInsets): remove member function
11200
11201         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11202         cursor pos correctly and handle inset deletion by itself.
11203         (insertErrors): move iterator declaration out of for expression
11204
11205         * lyxtextclass.C: add <algorithm>
11206
11207         * Makefile.am: added the new files to sources, removed layout.C
11208
11209         * layout.C: removed file
11210
11211         * layout.h: remove LYX_DUMMY_LAYOUT
11212
11213         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11214         layout.
11215
11216         * lyxlayout.[Ch]:
11217         * lyxtextclass.[Ch]:
11218         * lyxtextclasslist.[Ch]: new files
11219
11220         * include order changes to a lot of files, also changes because of
11221         the six new files.
11222
11223 2001-12-27  Juergen Vigna  <jug@sad.it>
11224
11225         * buffer.C (asciiParagraph): more fixes.
11226
11227         * tabular.C (ascii): make ascii export support export of only the
11228         data separated by a column-delimiter.
11229         (ascii): better support for ascii export.
11230
11231         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11232
11233 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11234
11235         * tabular_funcs.C: use a "using std::getline" instead of the
11236         previous fix from Angus (necessary for cxx + lyxstring)
11237
11238 2001-12-24  Juergen Vigna  <jug@sad.it>
11239
11240         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11241
11242         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11243         problems. First check a minipage also if we have some ert-contents
11244         (not only on par->size(), second set the right depth of the paragraph
11245         on the relink to the root-paragraph-list!
11246
11247         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11248         which then did not anymore update the main paragraphs on undo/redo!
11249
11250 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11251
11252         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11253         code. Support all font-changing funcs (even those which are not in
11254         menu currently). Support for reporting font settings in
11255         mathed (disabled until Andre provides a function on mathed's side).
11256
11257         * func_status.h (toggle): small helper function to set toggle
11258         state on a flag.
11259
11260 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11261
11262         * tabular_funcs.C: getline -> std::getline
11263
11264 2001-12-21  Juergen Vigna  <jug@sad.it>
11265
11266         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11267         accessed and could be 0 (I couldn't generate this but it seems
11268         Michael could!).
11269
11270 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11271
11272         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11273         * tabular_funcs.h: here and include iosfwd
11274
11275 2001-12-20  Juergen Vigna  <jug@sad.it>
11276
11277         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11278         inside inset but undo_par was.
11279
11280 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11281
11282         * Thesaurus.C: always include <config.h> in sources.
11283
11284         * Painter.h:
11285         * lyxlookup.h:
11286         * box.h: do not include <config.h> in header files
11287
11288         * text.C (paintLastRow): remove unused variable
11289
11290         * text.C (transformChar):
11291         (insertChar):
11292         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11293
11294         * Painter.C (text):
11295         * font.C (width): rewrite to use uppercase() instead of
11296         islower/toupper.
11297
11298         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11299
11300 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11301
11302         * lyxfind.C: clean up of find failure position change
11303
11304 2001-12-20  Juergen Vigna  <jug@sad.it>
11305
11306         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11307
11308         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11309         (TeXRow): added to LaTeX a single tabular row.
11310         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11311         (Latex): simplified and finally good LT-h/f support.
11312         (various_functions): just small adaptions for LT-h/f support.
11313
11314         * tabular_funcs.[hC]: added and moved here all not classfunctions
11315         of LyXTabular.
11316
11317 2001-12-19  Juergen Vigna  <jug@sad.it>
11318
11319         * tabular.[Ch]: better support for longtabular options (not finished
11320         yet!)
11321
11322 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11323
11324         * text.C (paintLastRow): use the label font instead of the font of
11325         the last character to compute the size of *_BOX. This makes more
11326         sense and avoids a crash with empty paragraphs.
11327         Use Painter::rectangle to draw EMPTY_BOX.
11328
11329 2001-12-19  Juergen Vigna  <jug@sad.it>
11330
11331         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11332         the paragraphs if the replaced paragraph is not the first one!
11333         Tried to delete not used paragraphs but does not work yet so for
11334         now it's inside #ifdef's and by default off!
11335
11336 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11337
11338         * MenuBackend.C: include "lyx_main.h" instead of declaring
11339         lastfiles (actually was declared as LastFiles* instead of a
11340         scoped_ptr).
11341
11342 2001-12-17  Juergen Vigna  <jug@sad.it>
11343
11344         * tabular.C (AppendColumn): applied John's fix
11345
11346 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * BufferView.h:
11349         * BufferView.C:
11350         * BufferView_pimpl.h:
11351         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11352
11353         * Makefile.am:
11354         * box.h: new start of class for above
11355
11356         * lyxfunc.C: ignore space-only minibuffer dispatches.
11357           Show the command name when it doesn't exist
11358
11359         * minibuffer.C: don't add empty lines to the history
11360
11361         * minibuffer.C: add a space on dropdown completion
11362
11363 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11364
11365         * text.C: fix line above/below drawing in insets
11366
11367 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11368
11369         * lyxlength.C (LyXLength): Initialize private variables.
11370
11371 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11372
11373         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11374         when inserting error insets.
11375
11376 2001-12-13  Juergen Vigna  <jug@sad.it>
11377
11378         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11379         actually sometimes the before-paragraph.
11380         (setUndo): don't clear the redostack if we're not actually undoing!
11381
11382 2001-12-06  Juergen Vigna  <jug@sad.it>
11383
11384         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11385         and fixed redoing of main paragraph, so we can use it now ;)
11386
11387         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11388
11389 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11390
11391         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11392         Juergen's request
11393
11394 2001-12-13  André Pönitz <poenitz@gmx.net>
11395
11396         * undostack.[Ch]:
11397         * undo_func.C: minor cleanup
11398
11399 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11400
11401         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11402         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11403         font in urw-fonts package which is marked as -urw-fontspecific and
11404         does not work (incidentally, changing the encoding in the
11405         fonts.dir of this package to -adobe-fontspecific fixes the
11406         problem).
11407
11408         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11409         is a crash when undoing first paragraph (Juergen, please take a
11410         look). THis does not mean the undo fix is wrong, just that it
11411         uncovers problems.
11412
11413         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11414         the (Paragraph*) version when needed instead of duplicating the
11415         code.
11416
11417         * text.C (workWidth): use Inset::parOwner to find out where the
11418         inset has been inserted. This is a huge performance gain for large
11419         documents with lots of insets. If Inset::parOwner is not set, fall
11420         back on the brute force method
11421
11422         * paragraph_pimpl.C (insertInset):
11423         * paragraph.C (Paragraph):
11424         (cutIntoMinibuffer): set parOwner of insets when
11425         inserting/removing them
11426
11427         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11428
11429 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11430
11431         * commandtags.h:
11432         * LyXAction.C:
11433         * lyx_main.C:
11434         * lyxfunc.C:
11435         * mathed/formulabase.C:
11436         * mathed/math_cursor.[Ch]:
11437         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11438
11439
11440 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11441
11442         * lyxlength.[Ch] (operator!=): new function
11443
11444 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11445
11446         * text.C (workWidth): use Inset::parOwner to find out where the
11447         inset has been inserted. This is a huge performance gain for large
11448         documents with lots of insets. If Inset::parOwner is not set, fall
11449         back on the brute force method
11450
11451         * paragraph_pimpl.C (insertInset):
11452         * paragraph.C (Paragraph):
11453         (cutIntoMinibuffer): set parOwner of insets when
11454         inserting/removing them
11455
11456         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11457
11458 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11459
11460         * tabular-old.C (getTokenValue):
11461         * tabular.C (getTokenValue):
11462         (write_attribute): new versions for LyXLength
11463         (everywhere): adjust the use of widths
11464
11465         * tabular.h: change the type of widths from string to LyXLength
11466
11467 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11468
11469         * paragraph.C: fixed missing line number count when exporting
11470         Environments to LaTeX file
11471
11472         * buffer.C: added informational message for checking line numbers.
11473
11474 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11475
11476         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11477         paragraph, do the 'double space' part, but not the 'empty
11478         paragraph' one.
11479
11480         * text.C (workWidth): small optimization
11481         (getLengthMarkerHeight): use minimal size for negative lengths.
11482
11483 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11484
11485         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11486
11487         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11488
11489 2001-12-11  André Pönitz <poenitz@gmx.net>
11490
11491         * FontLoader.C:
11492         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11493
11494 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11495
11496         * text2.C: keep selection on a setFont()
11497
11498 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11499
11500         * lyx_cb.C: another bv->text misuse, from insert label
11501
11502 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11503
11504         * kbsequence.h:
11505         * kbsequence.C: re-instate nmodifier mask
11506
11507 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11508
11509         * lyx_main.h: make lyxGUI private.
11510
11511 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * lyxfind.C: place the cursor correctly on failed search
11514
11515 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11516
11517         * text.C (getLengthMarkerHeight): for small heights, the arrows
11518         are not always on top/bottom of the text
11519         (drawLengthMarker): smaller arrows; take the left margin in
11520         account; draw also vfills.
11521         (paintFirstRow):
11522         (paintLastRow): remove special code for vfill and standard spaces,
11523         since everything is handled in drawLengthMarker now.
11524
11525 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11526
11527         * buffer.C (insertErtContents): try to handle font and language
11528         interaction a bit better.g
11529
11530         * ColorHandler.C (updateColor): change the hash to cover the whole
11531         LColor enum, ws cleanup
11532         (getGCLinepars): ditto
11533         (getGCLinepars): only lookup in the linecache once.
11534
11535 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11536
11537         * iterators.C (operator++): Make the iterator more robust
11538
11539         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11540         (John's patch)
11541         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11542
11543 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11544
11545         * lyxtext.h:
11546         * text.C: better added space drawing
11547
11548 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * LyXView.C:
11551         * BufferView2.C: fix layout combo update on inset unlock
11552
11553 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11554
11555         * Makefile.am: don't compile unused files
11556
11557 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11558
11559         * lyxfunc.C:
11560         * commandtags.h:
11561         * LyXAction.C: remove old LFUN_LAYOUTNO
11562
11563 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11564
11565         * paragraph_pimpl.h:
11566         * paragraph_pimpl.C: isTextAt() doesn't need font param
11567
11568 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * lyxlex.h:
11571         * lyxlex.C: little cleanup
11572
11573 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11574
11575         * BufferView_pimpl.C: fix insertAscii for insets
11576
11577 2001-12-05  Juergen Vigna  <jug@sad.it>
11578
11579         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11580         set the right font on the "multi" paragraph paste!
11581
11582 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11583
11584         * trans_decl.h:
11585         * trans_mgr.[Ch]:
11586         * trans.[Ch]:
11587         * lyxgluelength.C:
11588         * lyxlength.C: remove out-commented code.
11589
11590         * BufferView_pimpl:
11591         * CutAndPaste.C:
11592         * DepTable.C:
11593         * buffer.C:
11594         * chset.C:
11595         * lastfiles.C:
11596         * lyxlex.C:
11597         * lyxlex_pimpl.C:
11598         * lyxserver.C:
11599         * screen.C:
11600         * tabular-old.C:
11601         * tabular.C:
11602         * text.C:
11603         * trans_mgr.C:
11604         * vc-backend.C: change "while(" to "while ("
11605
11606         * lyxlength.[Ch]: add zero function to check if length is zero or
11607         not
11608         * lyxgluelength.C: use it
11609
11610 2001-12-05  Allan Rae  <rae@lyx.org>
11611
11612         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11613         Works for 2.95.3, from what I understand of Garst's reports this should
11614         work for other g++ versions.  We're screwed if the abs(int) definition
11615         changed between bugfix releases of gcc.
11616
11617 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11618
11619         * text.C: fix chapter label offset !
11620
11621 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11622
11623         * lyxtext.h:
11624         * text.C: fix hfill at end of line, clean up
11625
11626 2001-12-04  Juergen Vigna  <jug@sad.it>
11627
11628         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11629         that we force an update of the inset and it's owners if neccessary.
11630
11631 2001-12-03  Juergen Vigna  <jug@sad.it>
11632
11633         * text.C (rowLast): simplified code
11634
11635 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11636
11637         * lyxfunc.C: fix show options on timeout
11638
11639 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * screen.C (topCursorVisible): scroll half a page when the cursor
11642         reached top of bottom of screen
11643
11644 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * minibuffer.C: deactivate on loss of focus
11647
11648 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11649
11650         * vspace.[Ch] (operator!=): add operator.
11651
11652 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11653
11654         * BufferView_pimpl.C: refuse to open an inset when
11655         there's a selection.
11656
11657 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * BufferView_pimpl.C: allow to click on RHS of full row insets
11660
11661 2001-11-30  Juergen Vigna  <jug@sad.it>
11662
11663         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11664         insets for undo reasons.
11665
11666 2001-11-28  André Pönitz <poenitz@gmx.net>
11667
11668         * vspace.[Ch]: cosmetical changes
11669
11670 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11671
11672         * LyXAction.h:
11673         * LyXAction.C:
11674         * lyxfunc.h:
11675         * lyxfunc.C:
11676         * kbmap.h:
11677         * kbmap.C:
11678         * lyxrc.C:
11679         * kbsequence.h:
11680         * kbsequence.C: part re-write of old kb code
11681
11682         * Painter.C:
11683         * WorkArea.C: remove Lgb_bug_find_hack
11684
11685 2001-11-30  José Matos <jamatos@fep.up.pt>
11686
11687         * buffer.C (makeDocBookFile): add a comment to point a hack.
11688         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11689         Fixed a double write of labels.
11690
11691 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11692
11693         * LaTeX.C:
11694         * LaTeX.h Fixed bug in LaTeX class where it would not
11695         re-run latex if no depfiles were changed, but the .dvi was removed.
11696
11697 2001-11-28  André Pönitz <poenitz@gmx.net>
11698
11699         * all the files from the change on 2001/11/26:
11700         use lyx::layout_type instead of LyXTextClass::size_type
11701         use lyx::textclass_type instead of LyXTextClassList::size_type
11702
11703 2001-11-29  Juergen Vigna  <jug@sad.it>
11704
11705         * text.C: added support for paragraph::isFreeSpacing()
11706
11707         * buffer.C: same as above
11708
11709         * paragraph.h: inserted isFreeSpacing() function to enable
11710         FreeSpacing inside InsetERT.
11711
11712         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11713         of the paragraph's in the cut/copy buffer to 0!
11714
11715         * text2.C (removeRow): remove the assert as it can!
11716
11717         * lyxtext.h: added helper function firstRow returning firstrow and
11718         made firstrow private again.
11719
11720         * BufferView2.C (lockInset): don't relock if we're already locked!
11721
11722         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11723         the only paragraph.
11724         (removeRow): added Assert::(firstrow)
11725
11726         * debug.C: forgot to add INSETTEXT here.
11727
11728 2001-11-28  Juergen Vigna  <jug@sad.it>
11729
11730         * sp_spell.C (initialize): changed error text to more general
11731         spellchecker command use (not only ispell!)
11732
11733         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11734
11735         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11736
11737 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * vspace.C: initialise lyxgluelength on failure
11740
11741 2001-11-28  Allan Rae  <rae@lyx.org>
11742
11743         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11744         declaration & definition that looks like a function declaration.
11745
11746 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11747
11748         * BufferView2.C (copy):
11749         (copyEnvironment): do not clear the selection when doing a copy.
11750
11751         * text.C (paintFirstRow): compilation fix
11752
11753 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11754
11755         * tabular.C (Latex): correct line count when writing latex.
11756
11757 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11758
11759         * paragraph_pimpl.h:
11760         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11761           bug a bit
11762
11763 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * text.C:
11766         * LColor.h:
11767         * LColor.C: change vfillline->added_space
11768
11769         * text.C: add markers and text for added space
11770
11771         * vspace.C: fix comment
11772
11773 2001-11-28  André Pönitz <poenitz@gmx.net>
11774
11775         * paragraph.C: whitespace changes
11776         * all the other files from the change on 2001/11/26:
11777         change *::pos_type into lyx::pos_type
11778
11779 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11780
11781         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11782         language of the document when inserting error insets.
11783
11784 2001-11-26  André Pönitz <poenitz@gmx.net>
11785
11786         * BufferView_pimpl.[Ch]:
11787         *       CutAndPaste.C:
11788         * buffer.[Ch]:
11789         * lyxcursor.[Ch]:
11790         * lyxfind.C:
11791         * lyxfunc.C:
11792         * lyxrow.[Ch]:
11793         * paragraph.[Ch]:
11794         * paragraph_pimpl.[Ch]:
11795         * sp_spell.C:
11796         * text.C:
11797         * text2.C: reduce header dependencies, introduce type for positions
11798
11799 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * <various>: change to use Alert.h
11802
11803 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11804
11805         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11806         when encountering an unknown token.
11807         (readLyXformat2): Show an error message if there were unknown tokens.
11808
11809 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11810
11811         * BufferView2.C:
11812         * BufferView_pimpl.C:
11813         * buffer.C:
11814         * paragraph.h:
11815         * text.C:
11816         * text2.C: use par->isInset()
11817
11818 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11819
11820         * paragraph_pimpl.h:
11821         * paragraph_pimpl.C: cleanup
11822
11823 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11824
11825         * text2.C (removeRow):
11826         * text.C (setHeightOfRow): remove useless (and costly) call to
11827         getRow.
11828
11829 2001-11-20  Allan Rae  <rae@lyx.org>
11830
11831         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11832         Now need Inset*::checkInsertChar() to return true for appropriate
11833         cases so that the characters in the minibuffer will actually be
11834         inserted.
11835
11836 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11837
11838         * text.C: change the order of the includes.
11839         (workWidth): initialize it at once.
11840         (workWidth): make maxw unsigned
11841         (setHeightOfRow): remove unused variable (inset)
11842         (selectSelectedWord): remove unused variable (inset)
11843         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11844
11845 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11846
11847         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11848         server is not running.
11849         (openConnection):
11850         (closeConnection): add debug info when server is disabled.
11851
11852         * ColorHandler.C (getGCForeground): send debug message to GUI
11853         channel.
11854
11855         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11856
11857         * kbmap.C (bind): modify because return conventions of
11858         kb_sequence::parse have changed.
11859
11860         * kbsequence.C (parse): only ignore spaces and not any stupid
11861         control character. This avoids tests like s[i] <= ' ', which are
11862         guaranteed to fail with 8bit characters and signed chars.
11863         Change return code to string::npos when there have been no error
11864         (0 was a bad idea when error is at first character)
11865
11866 2001-11-14  José Matos  <jamatos@fep.up.pt>
11867
11868         * buffer.h:
11869         * buffer.C (simpleDocBookOnePar): removed unused argument.
11870
11871 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11872
11873         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11874         insets which are part of a word. Paragraph::isLetter takes care of
11875         that now. Use Paragraph::isInset to identify insets.
11876         (selectSelectedWord): do not test for hyphenation break.
11877
11878         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11879         that protected spaces are considered as spaces.
11880
11881         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11882         Inset::isLetter.
11883
11884 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11885
11886         * lyxserver.h:
11887         * lyxserver.C: fix it. and small cleanup.
11888
11889 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * BufferView_pimpl.C: use inline helpers
11892
11893         * LaTeXFeatures.h:
11894         * LaTeXFeatures.C: fix typos
11895
11896         * Spacing.h:
11897         * Spacing.C: move spacing_string into class
11898
11899         * ToolbarDefaults.C: move stuff into namespace anon
11900
11901         * layout.h: update enum
11902
11903         * lyxfunc.C: use better debug
11904
11905         * minibuffer.h: fix typo
11906
11907         * debug.h:
11908         * debug.C:
11909         * WorkArea.C: add and use Debug::WORKAREA
11910
11911         * lyxtext.h:
11912         * text.C:
11913         * text2.C: code re-organisation, inline helpers
11914
11915 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11916
11917         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11918         std::vector.empty().
11919
11920 2001-11-09  Allan Rae  <rae@lyx.org>
11921
11922         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11923         '\n's after tables.  Tabular and ERT inset work now makes this no
11924         longer necessary.
11925
11926 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * minibuffer.h:
11929         * minibuffer.C: fix crash, improve drop-down completion
11930
11931 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11932
11933         * lyxserver.h:
11934         * lyxserver.C: invalidate fd's when doing endPipe()
11935
11936 2001-11-08  José Matos  <jamatos@fep.up.pt>
11937
11938         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11939         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11940
11941         * paragraph.h:
11942         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11943
11944 2001-11-07  José Matos  <jamatos@fep.up.pt>
11945
11946         * buffer.h:
11947         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11948         const qualifier.
11949
11950         * buffer.C (sgmlOpenTag):
11951         * buffer.C (sgmlCloseTag): removed debug info.
11952
11953         * buffer.h (sgmlOpenTag):
11954         * buffer.h (sgmlCloseTag): made public.
11955
11956 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11957
11958         * buffer.C (saveParamsAsDefaults):
11959         * lyx_cb.C (MenuLayoutSave): remove
11960
11961         * LyXAction.C (init):
11962         * commandtags.h:
11963         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11964
11965 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11966
11967         * buffer.C (setPaperStuff): removed from here...
11968
11969         * bufferparams.C (setPaperStuff): ... and moved there.
11970
11971 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11972
11973         * minibuffer.h:
11974         * minibuffer.C:
11975         * XFormsView.C: add support for drop-down completion
11976
11977 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11978
11979         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11980         commands.
11981
11982 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11983
11984         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11985         disabled.
11986
11987 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11988
11989         * lyx_main.C: change ref to known bugs
11990
11991 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11992
11993         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11994         to work around older babel problems.
11995
11996 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11997
11998         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11999
12000 2001-10-24  Juergen Vigna  <jug@sad.it>
12001
12002         * tabular-old.C (ReadOld): below variable changes reflected.
12003
12004         * tabular.[Ch]: added ltType struct for longtable header/footer
12005         defines and changed all instances where they are used. Added
12006         future support for double top/bottom rows.
12007
12008 2001-10-24  José Matos  <jamatos@fep.up.pt>
12009
12010         * buffer.h (docbookHandleCaption):
12011         * buffer.C (docbookHandleCaption): removed unused function.
12012         (makeDocBookFile): moved docbook supported version to v4.1.
12013
12014 2001-10-24  José Matos  <jamatos@fep.up.pt>
12015
12016         * tabular.h:
12017         * tabular.C (docbookRow): new function to export docbook code of a row.
12018         (DocBook): now honors the longtable flags.
12019
12020 2001-10-23  José Matos  <jamatos@fep.up.pt>
12021
12022         * LaTeXFeatures.h:
12023         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12024         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12025
12026         * buffer.C (makeLinuxDocFile):
12027         (makeDocBookFile): reworked the preamble, more clean, and with
12028         support for lyx defined entities. Changed the document declaration
12029         to be more XML friendly.
12030
12031         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12032         if we need to output XML that should be done with a filter.
12033
12034 2001-10-22  Juergen Vigna  <jug@sad.it>
12035
12036         * sp_pspell.h (class PSpell): add alive function needed in the
12037         controller to see if the spellchecker could be started.
12038
12039 2001-10-22  Juergen Vigna  <jug@sad.it>
12040
12041         * buffer.C (insertStringAsLines): modify the font for inserting
12042         chars in certain conditions by calling checkInsertChar(font).
12043
12044 2001-10-19  Juergen Vigna  <jug@sad.it>
12045
12046         * text.C (workWidth): use getRow instead of wrong algorithm.
12047         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12048
12049 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12050
12051         * lyxserver.h:
12052         * lyxserver.C:
12053         * lyx_main.h:
12054         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12055
12056 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12057
12058         * text.C (workWidth): do not search for the exact row when
12059         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12060         optimization for big documents.
12061
12062 2001-10-18  Juergen Vigna  <jug@sad.it>
12063
12064         * text.C (workWidth): new function with added Inset * parameter.
12065
12066 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12067
12068         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12069
12070         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12071         change return type of getColumnNearX.
12072
12073
12074         * text.C (changeRegionCase): use uppercase/lowercase instead of
12075         toupper/tolower.
12076         (leftMargin):
12077         (rightMargin): simplify code by factoring out the uses of
12078         textclasslist.
12079         (labelFill):
12080         (numberOfHfills):
12081         (setHeightOfRow):
12082         (appendParagraph): use Paragraph::size_type
12083
12084 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12085
12086         * vspace.C (asLatexString): add a missing break
12087
12088 2001-10-15  Herbert Voss  <voss@perce.de>
12089
12090         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12091
12092 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12093
12094         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12095         is not available.
12096
12097 2001-10-10  André Pönitz <poenitz@gmx.net>
12098
12099         * lyxfunc.C: removed greek_kb_flag.
12100
12101 2001-10-10  Herbert Voss  <voss@perce.de>
12102
12103         * lyx_main.C: delete global string help_lyxdir.
12104
12105 2001-10-09  Herbert Voss  <voss@perce.de>
12106
12107         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12108
12109         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12110
12111         * lyx_main.C: added global string help_lyxdir.
12112
12113         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12114
12115 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12116
12117         * lyxrc.C (set_font_norm_type): support iso8859-4
12118
12119 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12120
12121         * LaTeX.C (deplog): add another regex for MikTeX
12122
12123 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12124
12125         * lyxrc.C (set_font_norm_type): support iso8859-3
12126
12127 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12128
12129         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12130
12131         * LaTeXFeatures.C: remove special case of french and index
12132
12133         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12134         before \begin{document}). This solves several incompatibilities.
12135
12136 2001-10-03  Garst Reese  <reese@isn.net>
12137
12138         * lyx_cb.C: change CheckTex error msg.
12139
12140 2001-10-03  José Matos  <jamatos@fep.up.pt>
12141
12142         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12143
12144 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12145
12146         * .cvsignore: update
12147
12148         * lyx_main.C (commandLineVersionInfo): use new style version info.
12149
12150         * buffer.C (writeFile):
12151         (makeLaTeXFile):
12152         (makeLinuxDocFile):
12153         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12154
12155         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12156
12157         * version.h: update to use stuff in version.C
12158
12159         * version.C.in: new file. Contains version information determined
12160         at compile time. This is a merging of version.h and
12161         version_info.h.in.
12162
12163 2001-10-03  Juergen Vigna  <jug@sad.it>
12164
12165         * BufferView_pimpl.C (update): don't change "dirty" status in
12166         updateInset call.
12167
12168 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12169
12170         * WorkArea.C (c-tor): re-position version string slightly.
12171
12172 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12173
12174         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12175         revert to previous code.
12176
12177         WorkArea.[Ch]: (show, destroySplash): methods removed.
12178
12179         WorkArea.C: rework code so that it's an amalgam of the codes before and
12180         after the splash screen was moved to WorkArea.
12181
12182 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12183
12184         * lyxrc.C (read):
12185         * vspace.C (inPixels):
12186         (lyx_advance):
12187         * kbmap.C (bind):
12188         * buffer.C (insertStringAsLines):
12189         (asciiParagraph): fix types to be large enough
12190
12191         * lyxlex_pimpl.h: change member status from short to int
12192
12193         * layout.h: fix type of endlabeltype
12194
12195         * kbmap.C (bind):
12196         * kbsequence.C (parse): change return type to string::size_type
12197
12198         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12199         variable
12200
12201         * Bullet.C (bulletSize):
12202         (bulletEntry): do not use short ints as parameters
12203
12204         * BufferView2.C (insertLyXFile): change a char to an int.
12205
12206         * WorkArea.C (WorkArea): remove unneeded floats in computation
12207
12208 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12209
12210         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12211
12212         * paragraph.C (asString): Do not ignore newline/hfill chars when
12213         copying to the clipboard.
12214
12215 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12216
12217         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12218         after a multi-line inset.
12219
12220 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12221
12222         * paragraph.C (validate): Set NeedLyXFootnoteCode
12223
12224 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12225
12226         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12227         and decrease-error to decrease.
12228
12229 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12230
12231         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12232         it more readable (should be equivalent)
12233
12234 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12235
12236         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12237
12238 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12239
12240         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12241         of a cursor (row, etc.) after a character has been deleted
12242         (deleteEmptyParagraphMechanism): call the method above on _all_
12243         cursors held by the LyXText when a double space has been
12244         detected/deleted.
12245
12246 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12247
12248         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12249         pixmap.
12250         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12251
12252         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12253         background. Use greyOut() and the new show() methods to toggle between
12254         the foreground and background. Add code to remove the splash after
12255         its initial showing.
12256
12257         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12258         (create_forms): no longer call Dialogs::showSplash.
12259
12260 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12261
12262         * .cvsignore: add version_info.h
12263
12264 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12265
12266         * version_info.h.in: new file
12267
12268         * Makefile.am: add version_info.h.in
12269
12270         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12271         version_info.h instead of VERSION_INFO
12272
12273 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12274
12275         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12276         The ERT inset now returns string().
12277
12278 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12279
12280         * lyxtext.h, text.C (selectNextWord): renamed as
12281         selectNextWordToSpellcheck.
12282
12283         * text.C (selectNextWordToSpellcheck): Modified to not select
12284         words inside an ERT inset.
12285
12286 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12287
12288         * lyx_cb.C (MenuLayoutSave): change a bit the question
12289
12290         * sp_base.h: include <sys/types.h>
12291
12292 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12293
12294         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12295
12296 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12297
12298         * several files: fix typos in user-visible strings
12299
12300 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12301
12302         * text2.C (pasteSelection): do not set the selection, since it
12303         will be cleared later. Actually, the intent was to fix the way the
12304         selection was set, but I figured rmoving the code was just as good.
12305
12306 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12307
12308         * FontLoader.C (available): Check if font is available without
12309         loading the font.
12310
12311 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12312
12313         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12314
12315 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12316
12317         * lyxrc.[Ch]: added display_graphics variable and associated code.
12318
12319 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12320
12321         * bufferparams.C (hasClassDefaults): new method. Returns true if
12322         the buffer parameters correspond to known class defaults
12323
12324 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12325
12326         * XFormsView.C (show): set minimum size to the main window.
12327
12328 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12329
12330         * text2.C (copySelection):
12331         (cutSelection):
12332         * lyxfind.C (LyXReplace):
12333         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12334         LyXText::selectionAsString.
12335
12336         * paragraph.C (asString): add "label" argument to the second form
12337
12338         * text2.C (selectionAsString): add "label" argument and pass it to
12339         Paragraph::asString.
12340
12341 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12342
12343         * lyx_main.C (commandLineHelp): remove version information
12344
12345 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12346
12347         * lyx_main.C: add -version commandline option
12348
12349 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12350
12351         * paragraph.h: make the optional constructor arg required instead.
12352         some modifications to other files because of this.
12353
12354         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12355
12356         * lyxserver.C (C_LyXComm_callback): make it static
12357
12358         * lyx_main.C (error_handler): make it static
12359
12360         * lyx_gui.C (LyX_XErrHandler): make it static
12361
12362         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12363
12364         * WorkArea.C: make the extern "C" methods static.
12365
12366         * Makefile.am (lyx_LDADD): simplify
12367
12368 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12369
12370         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12371         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12372
12373         * LyXAction.C (init):
12374         * lyxfunc.C (dispatch): associated code removal.
12375
12376 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12377
12378         * lyxfont.h (isSymbolFont): shut off warning
12379
12380         * text.C (setHeightOfRow):
12381         (getVisibleRow): fix crash with empty paragraphs which have a
12382         bottom line
12383
12384 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12385
12386         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12387         code.
12388
12389 2001-09-04  José Matos  <jamatos@fep.up.pt>
12390         * buffer.C
12391         * buffer.h
12392         * tabular.C (docbook): rename docBook method to docbook.
12393
12394 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12395
12396         * Makefile.am: add dependencies to main.o.
12397
12398 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12399
12400         * FontLoader.C (available): Return false if !lyxrc.use_gui
12401
12402 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12403
12404         * FontInfo.C (query):
12405         * converter.C (view):
12406         * importer.C (Import):
12407         * exporter.C (Export): Can not -> cannot.
12408
12409 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12410
12411         * BufferView_pimpl.C: allow to create index inset even if
12412           string is empty
12413
12414 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12415
12416         * buffer.C (getLists): replace boost::tie code with an explicit pair
12417         as boost::tie can break some compilers.
12418
12419         * iterators.h: Added a std:: declaration to the return type of
12420         ParIterator::size.
12421
12422 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12423
12424         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12425           case.
12426
12427 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12428
12429         * iterators.[Ch]: New files. Provide paragraph iterators.
12430
12431         * buffer.C (changeLanguage): Use paragraph iterators.
12432         (isMultiLingual): ditto
12433
12434         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12435
12436 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12437
12438         * FontLoader.C: Support for cmr font.
12439
12440 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12441
12442         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12443         (available): New method.
12444
12445         * FontInfo.C (getFontname): Use scalable fonts even when
12446         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12447         found.
12448
12449 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12450
12451         * converter.C (Formats::view): reverted! Incorrect fix.
12452
12453 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12454
12455         * converter.C (Formats::view): only output the -paper option
12456         if the dvi viewer is xdvi, thereby fixing bug #233429.
12457
12458 2001-08-23  Herbert Voss  <voss@perce>
12459
12460         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12461
12462 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12463
12464         * Spacing.h (Spacing): Set space to Default on in the default
12465         constructor.
12466
12467 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12468
12469         * vc-backend.h (RCS::versionString): add RCS to version
12470         (CVS::versionString): add CVS to version
12471
12472         * vc-backend.C (scanMaster): do not add CVS to version.
12473         (scanMaster): do not add RCS to version
12474
12475         * lyxvc.C (versionString): new method
12476
12477         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12478
12479 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12480
12481         * Spacing.C (set): initialize fval
12482
12483 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12484
12485         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12486         " or \.
12487
12488 2001-08-16  Juergen Vigna  <jug@sad.it>
12489
12490         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12491
12492 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * BufferView_pimpl.C:
12495         * figureForm.C:
12496         * lyxtext.h:
12497         * text2.C: setParagraph takes linespacing now
12498
12499 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * LyxAction.C: add internal LFUN_CITATION_INSERT
12502
12503         * LyXView.C: actually apply fix
12504
12505         * bufferlist.C: fix open non-existent file
12506
12507         * lyxfind.C: fix indentation
12508
12509         * lyxfunc.C: remove unneeded assert, fix typo
12510
12511 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12512
12513         * MenuBackend.C: use "Floatname List"
12514
12515 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12516
12517         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12518         when converting LaTeX layout to insetERT.
12519         Generate a non-collapsed float when reading old float
12520
12521 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12522
12523         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12524         ERT insets.
12525
12526 2001-08-13  Juergen Vigna  <jug@sad.it>
12527
12528         * text.C (fill): return 0 instead of 20 as this seems to be the more
12529         correct value.
12530
12531 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12532
12533         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12534         lyxrc.font_norm.
12535
12536 2001-08-13  Juergen Vigna  <jug@sad.it>
12537
12538         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12539         casesensitive off.
12540         (SearchBackward): comment out the unlocking of the inset_owner this
12541         should not be needed!
12542
12543 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12544
12545         * Many files: Remove inherit_language, and add latex_language
12546
12547         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12548         collapsible insets.
12549
12550 2001-08-10  Juergen Vigna  <jug@sad.it>
12551
12552         * text.C (prepareToPrint): fixed hfill-width in draw!
12553
12554         * BufferView2.C (selectLastWord): save the selection cursor as this
12555         now is cleared in the function LyXText::clearSelection!
12556
12557 2001-08-08  Juergen Vigna  <jug@sad.it>
12558
12559         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12560         BACKSPACE type functions.
12561
12562         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12563         is only cutted from the document but not put in the cut-buffer, where
12564         still the old stuff should be.
12565
12566         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12567
12568         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12569
12570         * tabular.C (SetWidthOfCell): fixed special case where the width
12571         was not updated!
12572         (LeftLine): handle '|' in align_special.
12573         (RightLine): ditto
12574         (LeftAlreadyDrawed): ditto
12575         (SetWidthOfCell): ditto
12576
12577 2001-08-07  Juergen Vigna  <jug@sad.it>
12578
12579         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12580
12581 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12582
12583         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12584         * lyxlex.[hC]: ditto
12585
12586 2001-08-06  Juergen Vigna  <jug@sad.it>
12587
12588         * text.C (getVisibleRow): fix up row clearing a bit.
12589
12590 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12591
12592         * minibuffer.C: make sure the X server sees the changes in the input.
12593
12594 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12595
12596         * paragraph.C (getFont): split into...
12597         (getLabelFont): this
12598         (getLayoutFont): and this
12599         * paragraph_pimpl.C (realizeFont): calling this
12600
12601         * text2.C (getFont): split into...
12602         (getLayoutFont): this
12603         (getLabelFont): and this
12604         (realizeFont): all three calling this
12605
12606         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12607         files where used.
12608
12609 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12610
12611         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12612
12613 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12614
12615         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12616         layouts from the Quote inset insertion.
12617
12618 2001-08-03  Juergen Vigna  <jug@sad.it>
12619
12620         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12621
12622         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12623         only if status not is already CHANGED_IN_DRAW (second level).
12624
12625         * text.C (draw): don't set the need_break_row when inside an
12626         InsetText LyXText.
12627
12628 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12629
12630         * buffer.C (parseSingleLyXformat2Token): handle more latex
12631         conversion cases.
12632
12633         * bufferview_funcs.[hC]: change function names to
12634         begin with small char, adjust other files.
12635
12636 2001-08-02  André Pönitz <poenitz@gmx.net>
12637
12638         * lyxfunc.C:
12639         BufferView_pimpl.C: remove broken special code for math-greek
12640
12641 2001-08-02  Juergen Vigna  <jug@sad.it>
12642
12643         * BufferView_pimpl.C (update): redone this function so that we
12644         update the text again if there was a CHANGE_IN_DRAW.
12645
12646         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12647         (drawFromTo): added a new internal bool which is used by draw() and
12648         redraw() function.
12649         (general): some cursor drawing problems fixed.
12650
12651 2001-08-01  Juergen Vigna  <jug@sad.it>
12652
12653         * lyxfind.C (LyXFind): fixed
12654         (SearchForward): ditto
12655         (SearchBackward): ditto
12656
12657         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12658         spurius drawing of the cursor in the main area.
12659
12660         * text2.C (status): small fix which could lead to a segfault!
12661         (clearSelection): remove unneeded BufferView param.
12662
12663 2001-08-01  André Pönitz <poenitz@gmx.net>
12664
12665         * lyxfunc.C: small change due to changed mathed interface
12666
12667 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12668
12669         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12670
12671 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12672
12673         * lyxfunc.c: fail gracefully if file doesn't exist
12674
12675         * LyXSendto.C:
12676         * buffer.C:
12677         * lyxfunc.C:
12678         * BufferView_pimpl.C: IsDirWriteable() proto changed
12679
12680         * LyXView.C: fix updateWindowTitle() to store the last title
12681
12682 2001-07-31  Juergen Vigna  <jug@sad.it>
12683
12684         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12685         the font (wrong since using of Paragraph::highestFontInRange).
12686
12687         * paragraph.C (highestFontInRange): added a default_size parameter.
12688
12689         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12690         (setHeightOfRow): reformat
12691
12692 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12693
12694         * converter.[hC] + affected files: move to (inital-char)lowercase
12695         function names.
12696
12697         * ParagraphParameters.C (ParagraphParameters): remove commented code
12698
12699         * PainterBase.[Ch]: remove commented code
12700
12701         * LaTeXFeatures.h: add "bool floats" for float.sty
12702
12703         * LaTeXFeatures.C (LaTeXFeatures): init floats
12704         (require): handle float
12705         (getPackages): do it with floats
12706
12707 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * BufferView_pimpl.C (Dispatch): improve handling of
12710         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12711
12712         * commandtags.h: #include lyxfont.h here temporarily to avoid
12713         keybinding bug.
12714
12715         * bufferlist.h: include LString.h here.
12716
12717 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12718
12719         * text2.C (getStringToIndex): new method.
12720
12721 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12722
12723         * *: Reduced header file dependencies all over.
12724
12725 2001-07-30  Baruch Even  <baruch@lyx.org>
12726
12727         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12728
12729 2001-07-29  Baruch Even  <baruch@lyx.org>
12730
12731         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12732
12733 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12734
12735         * ParameterStruct.h (endif): add a default constructor to make
12736         sure that all variables is initialized.
12737
12738         * ParagraphParameters.C (ParagraphParameters): adjust
12739
12740 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12743         index; also, check that there is something to index, and that it
12744         does not span over several paragraphs.
12745         (doubleClick): use WHOLE_WORD_STRICT for double click.
12746
12747         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12748
12749         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12750         scheme.
12751
12752 2001-07-26  Baruch Even  <baruch@lyx.org>
12753
12754         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12755         an InsetFig figure, backwards compatible reading of old figure code.
12756
12757 2001-07-27  Juergen Vigna  <jug@sad.it>
12758
12759         * text2.C: font.realize function adaption.
12760
12761         * text.C (draw): add a warnings lyxerr text if needed.
12762
12763         * layout.C: font.realize function adaption.
12764
12765         * language.C: add inherit_language and implement it's handlings
12766
12767         * bufferview_funcs.C (StyleReset): remove language parameter from
12768         font creation (should be language_inherit now).
12769
12770         * bufferparams.C (writeFile): handle ignore_language.
12771
12772         * paragraph.C (getFontSettings): the language has to be resolved
12773         otherwise we have problems in LyXFont!
12774
12775         * lyxfont.C (lyxWriteChanges): added document_language parameter
12776         (update): removed unneeded language parameter
12777
12778         * paragraph.C (validate): fixed wrong output of color-package when
12779         using interface colors for certain fonts in certain environments,
12780         which should not seen as that on the final output.
12781
12782 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12783
12784         * BufferView_pimpl.C:
12785         * Thesaurus.h:
12786         * Thesaurus.C:
12787         * Makefile.am:
12788         * commandtags.h:
12789         * LyXAction.C: add thesaurus support
12790
12791         * lyxfind.h:
12792         * lyxfind.C: add "once" parameter, for thesaurus, to not
12793           move to the next match
12794
12795 2001-07-26  Juergen Vigna  <jug@sad.it>
12796
12797         * lyxfont.C (realize): honor ignore_language too!
12798         (resolved): ditto.
12799
12800         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12801
12802         * text.C (draw): one place more for ignore_language to not draw
12803         itself!
12804
12805 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12806
12807         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12808
12809 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12810
12811         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12812         the minipage conversion problem.
12813
12814 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12815
12816         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12817         insert an inset.
12818
12819 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12820
12821         * BufferView.h: don't forward declare WorkArea
12822
12823         * BufferView.C: don't include WorkArea.h
12824
12825 2001-07-25  André Pönitz <poenitz@gmx.net>
12826
12827         * commandtags.h:
12828         * LyXAction.C:
12829         * lyxfunc.C:  new LFUN 'math-space'
12830
12831         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12832
12833 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12834
12835         * text2.C (toggleInset): call open/close
12836
12837 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12838
12839         * lyxfunc.C (dispatch): add debug for the disabled case
12840
12841         * font.C (buttonText): make similar to rectText
12842
12843         * buffer.C (readInset): comment out parsing of insetlist and
12844         insttheorem
12845
12846         * PainterBase.C (rectText): small correction
12847
12848         * BufferView_pimpl.C: comment out insettheorem and insetlist
12849         * LyXAction.C: ditto
12850         * commandtags.h: ditto
12851
12852 2001-07-24  Juergen Vigna  <jug@sad.it>
12853
12854         * text.C (draw): honor the ignore_language.
12855
12856         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12857
12858 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12859
12860         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12861         char inset.
12862
12863 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12864
12865         * lyxtext.h: remove unused (and unimplemented) methods
12866
12867 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12868
12869         * text.C (getVisibleRow): honor background color
12870
12871         * PainterBase.h:
12872         * Painter.h: remove default color argument for fillRectangle
12873
12874         * text.C (backgroundColor): new method
12875
12876 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12877
12878         * text.C (getVisibleRow): adjust
12879
12880         * font.[Ch] (rectText): new method, metrics
12881         (buttonText): new method, metrics
12882
12883         * PainterBase.[hC]: make rectText and buttonText always draw and take
12884         fewer paramteres.
12885
12886 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12887
12888         * ToolbarDefaults.C (read):
12889         * MenuBackend.C (read): allow escaping in all strings
12890
12891         * BufferView_pimpl.C (insertAndEditInset): new method.
12892         (Dispatch): use insertAndEditInset whenever appropriate.
12893
12894         * BufferView_pimpl.C (insertNote): removed
12895
12896         * BufferView_pimpl.C (smartQuote): new method, moved from
12897         BufferView; if an insetquote cannot be inserted, insert a '"'
12898         character instead.
12899
12900         * BufferView2.C: remove insertCorrectQuote();
12901
12902         * lyxfunc.C (getStatus): Add support for all remaingin
12903         inset-insert lfuns.
12904
12905         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12906
12907         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12908         command (necessary to pass " as parameter of self-insert.
12909
12910         * text.C (selectWordWhenUnderCursor):
12911         (selectWord): add word_location parameter
12912         (selectWordWhenUnderCursor): same + remove special code for word
12913         boundary.
12914         (selectNextWord): use kind() to guess type of insetspecialchar,
12915         not latex().
12916
12917         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12918         (insertErtContents): create ert insets as collapsed.
12919         (readInset): better compatibility code for Info inset.
12920
12921 2001-07-20  Juergen Vigna  <jug@sad.it>
12922
12923         * lyxfunc.C (dispatch): use always LyXFind now!
12924
12925         * text2.C (init): add a reinit flag so that the LyXText can be
12926         reinited instead of deleted and reallocated (used in InsetText).
12927
12928         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12929
12930         * text.C: ditto
12931
12932         * text2.C: ditto
12933
12934 2001-07-18  Juergen Vigna  <jug@sad.it>
12935
12936         * text.C (selectNextWord): handle insets inside inset by calling
12937         always the bv->text functions so that we can go up the_locking_inset!
12938
12939         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12940         in strange locations when inside an inset!
12941
12942         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12943         handling to include insets.
12944
12945         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12946
12947 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12948
12949         * LyXAction.C (init):
12950         * commandtags.h:
12951         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12952         LIGATURE_BREAK, since the name is so stupid.
12953
12954 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12955
12956         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12957         InsetInfos.
12958
12959         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12960
12961         * sp_form.[Ch]: remove.
12962
12963         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12964
12965         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12966         InsetInfo.
12967
12968         * src/buffer.C (readInset): ditto.
12969
12970 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12971
12972         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12973         menuSeparator(), endOfSentenceDot(), ldots() and
12974         hyphenationPoint(), which are therefore removed.
12975         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12976
12977         * LyXAction.C (init):
12978         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12979
12980         * paragraph.C (getWord): removed.
12981
12982         * BufferView_pimpl.C (Dispatch): use last word or selection for
12983         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12984
12985         * lyx_main.C (queryUserLyXDir): do not ask before creating
12986         user_dir, except if it has been named explicitely.
12987
12988 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12989
12990         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12991         a document of zero size.
12992
12993 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12994
12995         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12996         approriately in the c-tor and in require().
12997         (getPackages): output the appropriate LaTeX for natbib support.
12998
12999         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13000         variables "use_natbib" and "use_numerical_citations" when reading the
13001         LyX file.
13002         (readInset): read the various natbib cite commands.
13003         (validate): white-space change.
13004
13005         * bufferparams.[Ch]: new variables "bool use_natbib" and
13006         "bool use_numerical_citations".
13007         (writeFile): output them in the LyX file.
13008
13009 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13010
13011         * lyxfunc.C (getStatus): add support for all the inset insertion
13012         commands.
13013
13014         * text2.C (insertInset):
13015         * paragraph.C (insetAllowed):
13016         * BufferView_pimpl.C (insertInset): update to take in account the
13017         renaming of insertInsetAllowed
13018
13019         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13020
13021         * text2.C (getInset): new method. returns inset at cursor position.
13022
13023         * BufferView_pimpl.C (Dispatch): changes because of this.
13024
13025         * LyXAction.C (init): rename open-stuff to inset-toggle.
13026
13027         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13028
13029         * text2.C (toggleInset): renamed from openStuff; use
13030         Inset::open().
13031
13032 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13033
13034         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13035
13036         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13037
13038 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13039
13040         * buffer.C (readLyXformat2): Add filename to the error dialog
13041
13042 2001-07-18  Juergen Vigna  <jug@sad.it>
13043
13044         * tabular.C (GetCellNumber): put an assert here instead of the check!
13045
13046 2001-07-17  Juergen Vigna  <jug@sad.it>
13047
13048         * BufferView_pimpl.C (toggleSelection): adapted too.
13049
13050         * text.C (selectNextWord): adapted for use with insets.
13051         (selectSelectedWord): ditto
13052
13053 2001-07-17  Juergen Vigna  <jug@sad.it>
13054
13055         * sp_spell.C (PSpell): fix initialitation order.
13056
13057 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13058
13059         * paragraph.C: spacing
13060
13061 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13062
13063         * sp_spell.C: repair language selection for pspell
13064
13065 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13066
13067         * lyxfunc.h: change more methods to begin with lower char.
13068
13069 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13070
13071         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13072         for unknown layouts.
13073
13074 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13075
13076         * buffer.C (readLyXformat2): Generate an error dialog if there are
13077         unknown layouts.
13078
13079 2001-07-16  Juergen Vigna  <jug@sad.it>
13080
13081         * sp_spell.C: always compile ISpell part.
13082
13083         * lyxrc.C: added use_pspell entry and it's handling.
13084
13085 2001-07-13  Juergen Vigna  <jug@sad.it>
13086
13087         * sp_spell.C: removed double includes.
13088
13089 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13090
13091         Consistent use of Lsstream.h:
13092         * Lsstream.h: added using std::stringstream for consistencies sake.
13093
13094         * buffer.C: removed using std::stringstream
13095
13096         * lyxfont.C (stateText):
13097         * paragraph.C (asString):
13098         * text.C (selectNextWord, selectSelectedWord):
13099         * text2.C (setCounter):
13100         * vspace.C (asString, asLatexString):
13101         std::ostringstream -> ostringstream.
13102
13103 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13104
13105         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13106         * commandtags.h: add LFUN_HELP_ABOUTLYX
13107         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13108
13109 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13110
13111         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13112         cursorToggle()
13113         * lyx_gui_misc.C: remove spellchecker
13114         * lyxfunc.C: showSpellchecker
13115         * sp_base.h: added
13116         * sp_ispell.h: added
13117         * sp_pspell.h: added
13118         * sp_spell.C: added
13119         * sp_form.[Ch]: removed
13120         * spellchecker.[Ch]: removed
13121
13122 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13123
13124         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13125         is set.
13126         (simpleTeXSpecialChars): Simply print the input character without
13127         any special translation if pass_thru is set.
13128
13129         * layout.h: Added bool pass_thru to layout class for being able to
13130         implement pass through of a paragraph for Literate Programming.
13131
13132         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13133         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13134         * layout.C (Read): add "passthru" to list of layout tags and add
13135         code to set the pass_thru boolean when it is read.
13136
13137 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13138
13139         * trans_decl.h: remove allowed from KmodInfo
13140
13141         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13142         remove allowed code
13143         (Load): adjust
13144
13145         * paragraph_pimpl.C (erase): use boost::prior
13146
13147         * Painter.C (text): use data() instead of c_str() when length is
13148         also provided.
13149         * WorkArea.C (putClipboard): ditto
13150         * font.h (width): ditto
13151
13152         * BufferView2.C: use it-> instead of (*it). for iterators
13153         * texrow.C: ditto
13154         * paragraph_pimpl.C: ditto
13155         * paragraph.C: ditto
13156         * minibuffer.C: ditto
13157         * language.C: ditto
13158         * kbmap.C: ditto
13159         * encoding.C: ditto
13160         * counters.C: ditto
13161         * converter.C: ditto
13162         * chset.C: ditto
13163         * Variables.C: ditto
13164         * TextCache.C: ditto
13165         * MenuBackend.C: ditto
13166         * LyXAction.C: ditto
13167         * LColor.C: ditto
13168         * FloatList.C: ditto
13169         * DepTable.C: ditto
13170         * ColorHandler.C (LyXColorHandler): ditto
13171
13172 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13173
13174         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13175
13176         * text2.C (openStuff): reintroduce this method (which had been
13177         nuked in NEW_INSETS frenzy).
13178
13179         * lyxfunc.C (Dispatch): when an action has not been handled, use
13180         its name in the error message, not its number.
13181
13182         * paragraph.C (inInset): change method name to begin with lowercase.
13183
13184         * undo_funcs.C:
13185         * text2.C: updates because of this.
13186
13187 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13188
13189         * ToolbarDefaults.C (add): add spaces in error message
13190
13191 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13194         (readLyXformat2): rename return_par to first_par, use lyxlex's
13195         pushToken and remove the manual push handling.
13196         (parseSingleLyXformat2Token): add another ert comp. variable:
13197         in_tabular, rename return_par to first_par. handle newlines better
13198
13199 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13200
13201         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13202
13203 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13204
13205         * text2.C (getParFromID): removed
13206
13207         * buffer.C (getParFromID): new method moved form lyxtext.
13208         * BufferView2.C (insertErrors): adjust
13209         (setCursorFromRow): adjust
13210         * BufferView_pimpl.C (restorePosition): adjust
13211         * lyxfunc.C (Dispatch): adjust
13212         * undo_funcs.C (textUndo): adjust
13213         (textRedo): adjust
13214         (textHandleUndo): adjust
13215         (textHandleUndo): adjust
13216
13217 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13218
13219         * buffer.C: up' the LYX_FORMAT
13220
13221         * lyxfont.h: turn NO_LATEX on as default
13222
13223         * buffer.C (insertErtContents): new methods of tex style compability.
13224         (parseSingleLyXformat2Token): use it several places.
13225         * tabular.C (OldFormatRead): and here
13226
13227 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13228
13229         * text2.C: remove some commented code.
13230         reindent file.
13231
13232         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13233         * trans.C: changes because of the above.
13234
13235 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13236
13237         * text2.C (setCounter): Fix counters bug with bibliography layout.
13238
13239 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13242         own member functions
13243         (simpleTeXSpecialChars): ditto
13244
13245 2001-07-06  Juergen Vigna  <jug@sad.it>
13246
13247         * a lot of files: changed the access to LyXText::status and the
13248         call of undo-functions.
13249
13250         * undo.[Ch]: added a inset_id to the undo informations.
13251
13252         * undo_funcs.[Ch]: added and moved here all undo functions.
13253
13254         * lyxtext.h: give the status enum a weight, made status_ a private
13255         variable and made accessor functions for it, removed the whole bunch
13256         of undo-functions as they are now in their own file, make some
13257         functions publically available. Added function ownerParagraph with
13258         int parameter.
13259
13260         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13261         made InInset() a const function, added getParFromID() function.
13262
13263         * buffer.[Ch]: added const version for inset_iterator functions,
13264         added getInsetFromID() function.
13265
13266         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13267         changed undo functions for new version.
13268
13269 2001-07-05  Juergen Vigna  <jug@sad.it>
13270
13271         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13272         unknow mechanism does not call the proper constructor but only this
13273         one also if I request the other!?
13274
13275 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13276
13277         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13278
13279         * text2.C (LyXText): use initialization lists.
13280
13281         * lyxtext.h (Selection): initialize set_ and mark_
13282         (init): remove method
13283
13284 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13285
13286         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13287
13288 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * screen.[Ch]: change method names to begin with lowercase
13291
13292         * BufferView_pimpl.C (updateScrollbar): simplify further and
13293         hopefully make it a bit faster.
13294
13295 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13296
13297         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13298         calling directly xforms functions.
13299
13300         * Painter.C (Painter):
13301         * lyx_cb.C (MenuWrite):
13302         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13303         fl_display.
13304
13305         * lyx_gui.C: remove bogus guiruntime extern declaration.
13306
13307 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13308
13309         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13310         in NEW_INSETS
13311         (redoDrawingOfParagraph): ditto
13312         (redoParagraphs): ditto
13313         (cutSelection): don't create a object for CutAndPaste use the
13314         static method directly
13315         (pasteSelection): ditto
13316
13317         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13318         LyXview (+ rename)
13319
13320 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13321
13322         * modifications to some other files because of this.
13323
13324         * Makefile.am (lyx_SOURCES): add XFormsView
13325
13326         * XFormsView.[Ch]: new files
13327
13328         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13329         the main window. Move the gui dependent stuff to XFormsView
13330
13331 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13332
13333         * tabular.C (GetCellInset): update cur_cell also in the row/col
13334         version of this function.
13335
13336         * lyxfunc.C: no need to include figure_form.h here.
13337
13338         * FontLoader.h:
13339         * lyxfunc.h:
13340         * lyxscreen.h:
13341         * text2.C:
13342         * lyxvc.C: no need to include forms.h here.
13343
13344 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13347
13348         * lyxfunc.C (Dispatch):
13349         * Spacing.C (set):
13350         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13351         constructor argument.
13352
13353 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13354
13355         * paragraph.C (Paragraph): dont't clear, and just set layout.
13356         (makeSameLayout): use params's copy contructor.
13357
13358         * ParagraphParameters.[Ch] (makeSame): delete method
13359
13360 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13361
13362         * Variables.[Ch]: fix indentation, rename set to isSet
13363
13364 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13365
13366         * lyxfunc.C (Dispatch): fix typo
13367
13368 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13369
13370         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13371         upper_bound.
13372
13373         * bufferlist.C: include assert.h for emergencyWrite().
13374
13375 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13376
13377         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13378           give up at last (bug #425202) !
13379
13380 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13381
13382         * lyx_gui_misc.C:
13383         * sp_form.h:
13384         * sp_form.C:
13385         * spellchecker.h:
13386         * spellchecker.C: strip spellchecker options and bring up
13387           preferences tab instead
13388
13389 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13390
13391         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13392         the istringstream constructor
13393
13394 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13395
13396         * paragraph.C (getLayout): fix return value
13397
13398         * paragraph.h: do not declare getLayout as inline.
13399
13400         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13401
13402 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13403
13404         * lyxcursor.h (operator<): new func
13405         (operator>): new func
13406         (operator>=): new func
13407         (operator<=): new func
13408
13409         * text.C (changeCase): use selection.start and selection.end
13410         (changeRegionCase): require from to be <= to. Require par to be a
13411         valid paragraph.
13412
13413         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13414
13415 2001-06-27  Juergen Vigna  <jug@sad.it>
13416
13417         * text.C (cursorLeftOneWord): changed to return the cursor and added
13418         overlay with BufferView * parameter which calls this one.
13419         (getWord): added
13420         (selectWord): use new getWord function.
13421         (changeCase): renamed from changeWordCase as and extended to work
13422         also on selections.
13423
13424         * lyxtext.h: added enum word_location
13425
13426         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13427         changeCase as this operates now also on selections.
13428
13429 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13430
13431         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13432
13433         * many files: send debug output to Debug::INFO instead of
13434         Debug::ANY.
13435
13436         * converter.C (View):
13437         (Convert):
13438         (Move): send debug output to Debug::FILES instead of console.
13439
13440 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13441
13442         * lyxfunc.C (getStatus): use func_status
13443
13444         * func_status.h: new header, describing the results of
13445         LyXFunc::getStatus;
13446
13447         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13448         LFUN_MATH_HALIGN.
13449
13450 2001-06-25  The LyX Project  <jug@sad.it>
13451
13452         * buffer.C (sgmlOpenTag):
13453         (sgmlCloseTag):
13454         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13455
13456 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13457
13458         * text2.C: remove some dead code
13459
13460         * tabular.C (GetCellInset): store the last cell checked (gotten)
13461
13462         * tabular.h: add the helper for the speedup
13463
13464         * lyxtext.h: remove some dead code
13465
13466 2001-06-26  The LyX Project  <Asger>
13467
13468         * paragraph.C: Change export to LaTeX of alignment to
13469         \begin{center} and family for better roundtrip work with reLyX.
13470
13471         * Tune the math drawing a bit.
13472
13473 2001-06-25  The LyX Project  <Asger>
13474
13475         * LColor.C (LColor): New color for math background. New color
13476         for buttons.
13477
13478 2001-06-25  The LyX Project  <jug@sad.it>
13479
13480         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13481
13482         * lyxfunc.C (Open):
13483         * bufferlist.C (newFile): do not restrict to files ending with
13484         .lyx
13485
13486         * BufferView_pimpl.C (MenuInsertLyXFile):
13487
13488 2001-06-24  The LyX Project  <jug@sad.it>
13489
13490         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13491         of compare_no_case
13492
13493 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13494
13495         * lyxtext.h: rename most methods to begin with a small char.
13496         Lots of changes because of this.
13497
13498         * paragraph.C (Paragraph): do not call fitToSize
13499         (erase): call Pimpl::erase
13500         (insertChar): call Pimpl::insertChar
13501         (insertInset): call Pipl::insertInset
13502         (breakParagraph): do not call fitToSize
13503         (breakParagraphConservative): do not call fitToSize
13504         (fitToSize): remove method
13505
13506         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13507
13508 2001-06-24  The LyX Project  <Asger>
13509
13510         * Fix Qt compilation^2
13511
13512 2001-06-24  The LyX Project  <jug@sad.it>
13513
13514         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13515         depthHook(getDepth()-1).
13516
13517         * paragraph.h:
13518         * ParagraphParameters.h:
13519         * ParameterStruct.h: change type of depth to unsigned int ==
13520         depth_type. Many adaptations to other files before of that.
13521
13522 2001-06-24  The LyX Project  <Asger>
13523
13524         * Fix Qt compilation.
13525
13526 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * paragraph.h: renamed several methods to begin with small letter.
13529         several changes to many parts of the code because of this.
13530
13531 2001-06-23  The LyX Project  <jug@sad.it>
13532
13533         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13534         rewritten to discard all double spaces when KeepEmpty is off
13535         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13536         to only handle newlines but not fiddle with spaces and friends.
13537
13538         * lyxfunc.C (MenuNew): when doing 'new from template', use
13539         template_path as default directory
13540
13541 2001-06-23  The LyX Project  <Asger>
13542
13543         * Clean-up of header file includes all over
13544         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13545
13546 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * paragraph.h: renamed from lyxparagraph.h
13549
13550 2001-06-23  Asger  <lyx@violet.home.sad.it>
13551
13552         * Buffer.h: Removed Buffer::resize
13553         * BufferList.h: Removed BufferList::resize
13554         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13555         the document lazily when we change the width, or the font settings.
13556
13557 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13558
13559         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13560
13561 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13562
13563         * buffer.h: remove out of date comment
13564
13565 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13566
13567         * lyxscreen.h:
13568         * screen.C: fix "theoretical" GC leak
13569
13570 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13571
13572         * LaTeX.C (scanAuxFile):
13573         (deplog): remove trailing \r when reading stream (useful under
13574         win32)
13575
13576 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13577
13578         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13579         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13580         and BufferView::theLockingInset(Inset*), so should use them and not
13581         access bv_->text->the_locking_inset directly.
13582
13583         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13584
13585 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13586
13587         * Makefile.am:
13588         * tex-defs.h: remove old unused file
13589
13590 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * BufferView_pimpl.C: fix typo, remove minibuffer message
13593           when buffer has loaded
13594
13595 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13596
13597         * lyxfunc.C (Dispatch): use stringstream
13598         (MenuNew): use stringstream
13599         (Open): use stringstream
13600
13601         * importer.C (Import): use stringstream
13602
13603         * bufferview_funcs.C (CurrentState): use stringstream
13604
13605         * LaTeX.C (run): use stringstream
13606
13607         * BufferView_pimpl.C (savePosition): use stringstream
13608         (restorePosition): use stringstream
13609         (MenuInsertLyXFile): use stringstream
13610
13611 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13612
13613         * BufferView.C:
13614         * Bullet.C:
13615         * ColorHandler.C:
13616         * FontInfo.C:
13617         * FontLoader.C:
13618         * LColor.C:
13619         * LaTeXFeatures.C:
13620         * Painter.C:
13621         * gettext.C:
13622         * lyx_gui_misc.C:
13623         * lyxserver.C:
13624         * vspace.C: removed // -*- C++ -*- as first line.
13625
13626         * lyxfind.h:
13627         * version.h: added // -*- C++ -*- as first line.
13628
13629 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13630
13631         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13632
13633         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13634         of string
13635
13636 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13637
13638         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13639         of floats.
13640
13641 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13642
13643         * gettext.C: include LString.h even when --disable-nls is on.
13644
13645 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13646
13647         * converter.h (Get): changed argument type from int to
13648         FormatList::size_type to avoid unnecessary conversion.
13649
13650         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13651         before using it.
13652
13653 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13654
13655         * gettext.h: include LString.h even when --disable-nls is on.
13656
13657 2001-06-07  Juergen Vigna  <jug@sad.it>
13658
13659         * text.C (BreakAgain): subst spaces with tabs.
13660
13661         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13662         (resizeInsetsLyXText): set force on resizeLyXText.
13663
13664 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13665
13666         * gettext.h (gettext_init):
13667         (locale_init): use a real definition instead of a macro
13668
13669 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13670
13671         * Bufferview_pimpl.C:
13672         * LColor.h:
13673         * LColor.C: further lcolor tidies
13674
13675 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13676
13677         * BufferView_pimpl.C (updateScrollbar): simplify.
13678
13679         * BufferView2.C: don't include insets/insetinfo.h, change
13680         prototype for insertInset and call the Pimpl version. let
13681         updateInset call Pimpl version.
13682
13683         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13684         gotoInset to BufferView::Pimpl
13685
13686 2001-06-01  Juergen Vigna  <jug@sad.it>
13687
13688         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13689         inside a LockingInset (is the update needed at all?).
13690
13691 2001-05-31  Juergen Vigna  <jug@sad.it>
13692
13693         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13694         here not the old one otherwise how should we compare it afterwards
13695         if it's the same!
13696
13697 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13698
13699         * lyxfont.C:
13700         * tabular.C:
13701         * tabular-old.C:
13702         * FontInfo.C: bring C functions into global namespace when
13703         necessary
13704
13705 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13706
13707         * LString.h: make sure config.h has been loaded before LString.h.
13708
13709         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13710         (one for each char read by EatLine!).
13711
13712         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13713         variables.
13714
13715 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13718         to the same as the par we break from
13719
13720 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13721
13722         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13723
13724         * MenuBackend.C (expand): also create menu entries for wide
13725         versions of the floats.
13726
13727         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13728
13729         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13730
13731         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13732         frontends/Makefile.am
13733
13734         * text2.C: adjust
13735         * text.C: adjust
13736
13737
13738         * tabular.C (getTokenValue): add std::
13739
13740         * tabular-old.C (getTokenValue): add std::
13741         (getTokenValue): ditto
13742         (getTokenValue): ditto
13743
13744         * screen.C (ToggleSelection): adjust
13745
13746         * lyxtext.h: put selection cursors inside a Selection struct.
13747
13748         * lyxfunc.C (moveCursorUpdate): adjust
13749
13750         * lyxfont.C (latexWriteStartChanges): add std::
13751
13752         * lyxfind.C: adjust
13753
13754         * font.h: delete with(char const *, LyXFont const &)
13755
13756         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13757
13758         * FontInfo.C (getFontname): add std::
13759
13760         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13761         (workAreaButtonPress): adjust
13762         (tripleClick): adjust
13763         (update): adjust
13764         (moveCursorUpdate): adjust
13765         (Dispatch): adjust
13766
13767         * BufferView2.C (gotoInset): adjust
13768
13769 2001-05-30  Juergen Vigna  <jug@sad.it>
13770
13771         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13772         to check pspell I add this as default as I now have new pspell
13773         libraries and they seem to use this.
13774
13775 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13776
13777         * text2.C (CutSelection): make the cursor valid before the call to
13778         ClearSelection.
13779
13780 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13781
13782         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13783         relied on 0 terminated strings and other horrors. Bug found due to
13784         the new assert in lyxstring!
13785
13786         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13787         KP_ keys.
13788
13789 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13790
13791         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13792         to latinkeys.bind.
13793
13794         * lyxfunc.C (processKeySym): change method of getting to the
13795         self-insert char.
13796
13797         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13798         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13799         * BufferView_pimpl.[Ch]: here as private methods.
13800
13801 2001-05-28  Juergen Vigna  <jug@sad.it>
13802
13803         * text.C (SetHeightOfRow): added the update() call again as it is
13804         needed to initialize inset dimensions!
13805
13806 2001-05-16  Juergen Vigna  <jug@sad.it>
13807
13808         * text2.C (SetCharFont): Add new function with BufferView * and
13809         bool toggleall parameters for setting insets internal fonts.
13810         (SetFont): Freeze the undo as we may change fonts in Insets and
13811         all this change should be inside only one Undo!
13812
13813         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13814         setting font's in insets as for them we have the SetFont function!
13815
13816 2001-05-15  Juergen Vigna  <jug@sad.it>
13817
13818         * text2.C (ClearSelection): to be sure we REALLY don't have any
13819         selection anymore!
13820
13821         * tabular.C (TeXCellPreamble): fixed the left border problem for
13822         multicolumn cells.
13823
13824 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13825
13826         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13827         dependancy file
13828
13829 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13830
13831         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13832         LFUN_BREAKPARAGRAPH.
13833
13834         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13835         help test to "internal only", similar for LFUN_INSERT_URL
13836
13837         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13838         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13839         auto_region_delete and deadkeys.
13840
13841 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13842
13843         * LColor.h:
13844         * LColor.C: remove some dead entries, tidy a little
13845
13846 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13847
13848         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13849         commented code.
13850         (Dispatch): implement LFUN_ESCAPE
13851
13852         * commandtags.h: add LFUN_ESCAPE
13853
13854         * LyXAction.C (init): add entry for LFUN_ESCAPE
13855
13856         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13857         Remove commented code.
13858         (insertNote): moved here
13859         (open_new_inset): moved here
13860
13861         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13862         BufferView_pimpl
13863
13864 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13865
13866         * kbmap.C (findbinding): clean it up and make it work correctly.
13867
13868         * lyx_main.C (init): do not pass argc and argv as parameters
13869
13870 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13871
13872         * buffer.C: fix path for OS/2 & Win32
13873
13874         * lyx_gui.C:
13875         * lyx_main:
13876         * lyx_main.C: Added os:: class.
13877
13878         * os2_defines.h: update
13879
13880 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13881
13882         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13883         better by trying again with reduced state.
13884
13885 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13886
13887         * lyxrc.C (read): print error about invalid key sequence only when
13888         debugging (because not all latinX keysyms are known to some X
13889         servers)
13890
13891         * kbsequence.C (getiso): add a few std:: qualifiers
13892         (getiso): comment out extra return statement.
13893
13894 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13895
13896         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13897         handling.
13898         (Dispatch): enhance the accent inset a bit. (not perfect)
13899
13900 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13901
13902         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13903
13904 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13905
13906         * bufferlist.C (emergencyWrite): fix assert() call
13907
13908 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13909
13910         * text.C (InsertChar): Added trivial patch to only send the "you
13911         can not do multiple spaces this way" message once during a
13912         session.
13913
13914 2001-05-08  Baruch Even  <baruch@lyx.org>
13915
13916         * Makefile.am: Changed order of libraries to get LyX to link properly
13917         with the gnome frontend.
13918
13919 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13920
13921         * LaTeXFeatures.h: add a std:: qualifier
13922
13923 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13924
13925         * paragraph.C (String): use stringstream
13926
13927 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13928
13929         * paragraph.C (writeFile): remove footflag arg
13930
13931         * buffer.C (makeLaTeXFile): use stringstream
13932         (latexParagraphs): remove footnot gurba
13933
13934         * LaTeXFeatures.C (getPackages): use stringstream
13935         (getMacros): likewise
13936         (getTClassPreamble): likewise
13937         (getFloatDefinitions): new method
13938
13939         * paragraph.C (writeFile): reindent
13940         (Erase): reindent
13941
13942         * WorkArea.h: revert the xpos + etc changes.
13943
13944         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13945
13946         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13947
13948         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13949         (pasteSelection): likewise
13950         * text2.C (CreateUndo): likewise
13951
13952 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13953
13954         * minibuffer.C (peek_event): temporarily reduce the functionality
13955         of the minibuffer (to allow args on lfuns)
13956
13957         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13958         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13959
13960         * buffer.C (readInset): add compability reading of old float
13961         lists, add reading of new style float list.
13962         (readInset): avoid reevaluation of inscmd.getCmdName()
13963         (getLists): reindent
13964
13965         * MenuBackend.C (MenuItem): implement parsing of
13966         md_floatlistinsert and md_floatinsert.
13967         (expand::LastFiles): move initalizaton of iterators out of loop,
13968         avoid reevaluation.
13969         (expand::Documents): introduce typdedef vector<string> Strings,
13970         and use it.
13971         (expand::ExportFormats): introduce typedef vector<Format const *>
13972         Formats, and use it.
13973         (expand): implement FloatListInsert and FloatInsert.
13974
13975         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13976         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13977         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13978
13979         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13980         handling.
13981         (Dispatch::LFUN_FLOAT_LIST): implement
13982
13983 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13984
13985         * LaTeX.C (run): Fix problem with --export code.
13986
13987 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13988
13989         * BufferView.[Ch] (workarea): removed.
13990         (getClipboard) new method; wrapper for workarea()->getClipboard()
13991
13992         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13993         bug.
13994
13995         * WorkArea.h (width, height, xpos, ypos): These methods all
13996         returned the dimensions of the work_area sub-area of WorkArea,
13997         resulting in a position error if the WorkArea were resized. Now
13998         return the dimensions of the entire WorkArea.
13999
14000         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14001
14002 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14003
14004         * LaTeX.C (deplog): correct the syntax of regex reg1
14005
14006 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14007
14008         * undo.C: remove !NEW_INSETS cruft
14009
14010 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * text2.C: remove !NEW_INSETS cruft
14013
14014         * text.C: remove !NEW_INSETS cruft
14015
14016         * tabular.C: remove !NEW_INSETS cruft
14017
14018         * spellchecker.C: remove !NEW_INSETS cruft
14019
14020         * lyxtext.h: remove !NEW_INSETS cruft
14021
14022         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14023
14024         * lyxfunc.C: remove !NEW_INSETS cruft
14025
14026         * lyxfind.C: remove !NEW_INSETS cruft
14027
14028         * lyx_cb.C: remove !NEW_INSETS cruft
14029
14030         * figureForm.C: remove  !NEW_INSETS cruft
14031
14032         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14033
14034         * buffer.[Ch]: remove !NEW_INSETS cruft
14035
14036         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14037
14038         * CutAndPaste.C: remove !NEW_INSETS cruft
14039
14040         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14041
14042         * BufferView2.C: remove !NEW_INSETS cruft
14043
14044         * BufferView.h: remove !NEW_INSETS cruft
14045
14046 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * Lsstream.h: include LString.h before the sstream headers to
14049         fix problem with gcc 2.95.3 and lyxstring
14050
14051 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14052
14053         * lyx_main.C: add using directives when needed for C functions
14054         declared in std:: namespace.
14055
14056 2001-04-27  Juergen Vigna  <jug@sad.it>
14057
14058         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14059         (SetHeightOfRow): comment out the update call should not be needed!
14060
14061 2001-04-13  Juergen Vigna  <jug@sad.it>
14062
14063         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14064         (LyXTabular): tried to minimize operator= operations (and realized
14065         hopfully Lars wish).
14066
14067 2001-04-27  Juergen Vigna  <jug@sad.it>
14068
14069         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14070
14071 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14072
14073         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14074
14075         * buffer.C (readInset): hack to make listof algorithm work
14076
14077         * BufferView_pimpl.C: hack to make listof algorithm work
14078
14079 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14080
14081         * LyXAction.C: removed all !NEW_INSETS cruft
14082         (init): moved lfun_item in method
14083
14084         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14085
14086 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14087
14088         * BufferView2.C (theLockingInset): white space.
14089
14090 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14091
14092         * minibuffer.C: include <iostream>
14093
14094         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14095
14096         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14097
14098         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14099
14100         * text.[Ch] (TransposeChars): new method
14101
14102 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14103
14104         * call message directly through LyXView instead of through LyXFunc
14105         * BufferView2.C: adjust
14106         * BufferView_pimpl.C: adjust
14107         * FontLoader.C: adjust
14108         * buffer.C: adjust
14109         * bufferview_funcs.C: adjust
14110         * converter.C: adjust
14111         * figureForm.C: adjust
14112         * importer.C: adjust
14113         * lyx_cb.C: adjust
14114         * lyx_gui_misc.C: adjust
14115         * lyxfunc.C: adjust
14116         * lyxvc.C: adjust
14117         * text2.C: adjust
14118         + more files in subdirs
14119
14120         * lyxparagraph.h (size): move up int file
14121         (GetLayout): ditto
14122
14123         * adjust all uses of Assert to lyx::Assert.
14124
14125         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14126         lyxfunctional in namespace lyx
14127         * layout.C (hasLayout): ditto
14128         (GetLayout): ditto
14129         (GetLayout): ditto
14130         (delete_layout): ditto
14131         (NumberOfClass): ditto
14132         * converter.C (GetFormat): ditto
14133         (GetNumber): ditto
14134         (Add): ditto
14135         (Delete): ditto
14136         (SetViewer): ditto
14137         * bufferlist.C (getFileNames): ditto
14138         (emergencyWriteAll): ditto
14139         (exists): ditto
14140         (getBuffer): ditto
14141         * MenuBackend.C (hasSubmenu): ditto
14142         (hasMenu): ditto
14143         (getMenu): ditto
14144         * BufferView_pimpl.C (getInsetByCode): ditto
14145
14146 2001-04-18  Juergen Vigna  <jug@sad.it>
14147
14148         * vspace.C (asLatexString): fixed the 100% problem.
14149
14150 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14151
14152         * lyxfunc.C (Dispatch):
14153         * minibuffer.C:
14154         * minibuffer.h: add a few std:: qualifiers
14155
14156 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14157
14158         * minibuffer.[Ch]: reimplement so that commands is initiated and
14159         run from lyxfunc, simplified som handling, and made the completion
14160         and history code for complete. wip.
14161
14162         * lyxfunc.C (processKeySym): call message
14163         (miniDispatch): new temporary method
14164         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14165         (LFUN_MESSAGE): implement
14166         (LFUN_MESSAGE_PUSH): implement
14167         (LFUN_MESSAGE_POP): implement
14168         (initMiniBuffer): the initial/defualt minibuffer message.
14169
14170         * lyxfont.[Ch]: inline some more getters
14171
14172         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14173
14174         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14175
14176         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14177         (AutoSave): use LFUN_MESSAGE
14178         (Reconfigure): ditto
14179
14180         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14181
14182         * figureForm.C: use LFUN_MESSAGE
14183
14184         * converter.C (runLaTeX): use LFUN_MESSAGE
14185
14186         * bufferview_funcs.C: use LFUN_MESSAGE
14187         (Melt): ditto
14188         (changeDepth): ditto
14189
14190         * bufferparams.h: use boost::
14191
14192         * bufferlist.h: inherit privately from noncopyable
14193
14194         * bufferlist.C (loadLyXFile): remove some commented code.
14195
14196         * buffer.C (runChktex): use LFUN_MESSAGE
14197
14198         * ShareContainer.h: inherit privately from noncopyable
14199
14200         * ParagraphParameters.[hC] (depth): inline it.
14201
14202         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14203         methods.
14204         (message): new method
14205         (messagePush): ditto
14206         (messagePop): ditto
14207         (show): init minibuffer
14208         (showState): direct call
14209
14210         * LaTeX.[Ch]: inherit privately from noncopyable
14211         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14212         instead of WriteStatus.
14213
14214         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14215
14216         * BufferView_pimpl.C (buffer): don't init minibuffer
14217         (workAreaButtonPress): use LFUN_MESSAGE
14218         (workAreaButtonRelease): ditto
14219         (savePosition): ditto
14220         (restorePosition): ditto
14221         (MenuInsertLyXFile): ditto
14222         (workAreaExpose): don't init minibuffer
14223         (update): remove commented code, simplify
14224
14225         * BufferView2.C (openStuff): use LFUN_MESSAGE
14226         (toggleFloat): ditto
14227         (menuUndo): ditto
14228         (menuRedo): ditto
14229         (copyEnvironment): ditto
14230         (pasteEnvironment): ditto
14231         (copy): ditto
14232         (cut): ditto
14233         (paste): ditto
14234         (gotoInset): ditto
14235         (updateInset): remove some commented code
14236
14237         * lastfiles.h: inherit privately from noncopyable
14238         * layout.h: ditto
14239         * lyx_gui.h: ditto
14240         * lyx_main.h: ditto
14241         * lyxlex.h: ditto
14242         * lyxlex_pimpl.h: ditto
14243
14244         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14245         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14246         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14247
14248         * LyXAction.h: inherit privately from noncopyable, add methods
14249         func_begin, func_end, returning iterators to the func map.
14250
14251         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14252         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14253         (func_begin): new method
14254         (func_end): new method
14255
14256         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14257         and not)
14258         (copySelection): ditto
14259         (pasteSelection): ditto
14260
14261         * BufferView.C: whitespace change
14262         * BufferView.h: inherit privately from noncopyable
14263
14264 2001-04-16  Allan Rae  <rae@lyx.org>
14265
14266         * tabular-old.C (l_getline):
14267         * spellchecker.C (sc_check_word):
14268         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14269         an unrecognised preprocessor directive.  So ensure they're wrapped.
14270
14271 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14272
14273         * src/exporter.C (Export): Give an error message when path to file
14274         contains spaces.
14275
14276 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14277
14278         * LaTeX.C (deplog): Always check that foundfile exists.
14279
14280 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14281
14282         * lyx_main.h:
14283         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14284
14285 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14286
14287         * tabular.[Ch] (getLabelList): implement new method
14288
14289         * minibuffer.h: comment ouf setTiimer
14290
14291         * minibuffer.C (ExecutingCB): constify res
14292         (peek_event): constify s
14293         (Set): constify ntext
14294         (Init): constify nicename
14295
14296         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14297
14298         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14299         (savePosition): use two params to Minibuffer::Set
14300         (restorePosition): ditto
14301
14302 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14303
14304         * lyx_main.C: include language.h
14305
14306         * Makefile.am (lyx_main.o): add language.h
14307
14308 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14309
14310         * exporter.C:
14311         * paragraph.C:
14312         * screen.C:
14313         * tabular.C:
14314         * CutAndPaste.C: include gettext.h
14315
14316         * lyxfont.h: remove old hack with ON and OFF.
14317
14318         * lyxparagraph.h:
14319         * lyxfont.h: do not include language.h...
14320
14321         * BufferView2.C:
14322         * LaTeXFeatures.C:
14323         * Painter.C:
14324         * bufferview_funcs.C:
14325         * font.C:
14326         * lyxfont.C:
14327         * text.C:
14328         * text2.C:
14329         * trans_mgr.C:
14330         * paragraph.C: ... but do it here instead
14331
14332 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14333
14334         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14335
14336         * tabular.C: small reformat
14337
14338         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14339         NEW_INSETS version
14340         (GetChar): ditto
14341         (BreakParagraph): ditto
14342         (SetOnlyLayout): ditto
14343         (SetLayout): ditto
14344
14345         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14346         with one arg less.
14347
14348         * lastfiles.C: removed most using decl, add std:: where needed
14349
14350         * buffer.C: ws changes
14351
14352         * MenuBackend.C (class compare_format): put into anon namespace
14353         (expand): constify label, names, action, action2
14354         (expand):
14355
14356         * text.C (SingleWidth): constify font
14357         (IsBoundary): constify rtl2
14358         (GetVisibleRow): constify ww
14359
14360         * LaTeX.C (deplog): constify logfile
14361
14362         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14363         start_x, end_x
14364         (workAreaExpose): constify widthChange, heightChange
14365
14366         * lyxrow.C (par): moved
14367         (height): moved
14368         (next): moved
14369         * lyxrow.h: as inlines here
14370
14371         * lyxfont.h (shape): moved from lyxfont.C
14372         (emph): moved from lyxfont.C
14373
14374         * lyxfont.C (LyXFont): use initialization list for all
14375         constructors
14376         (shape): move to lyxfont.h as inline
14377         (emph): move to lyxfont.h as inline
14378
14379
14380 2001-04-04  Juergen Vigna  <jug@sad.it>
14381
14382         * vspace.C: had to include stdio.h for use of sscanf
14383
14384 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14385
14386         * BufferView.h:
14387         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14388         independent of xforms.
14389
14390 2001-04-02  Juergen Vigna  <jug@sad.it>
14391
14392         * spellchecker.C: fixed namespace placing!
14393
14394 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14395
14396         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14397         the LyXParagraph * is 0.
14398
14399 2001-03-29  Juergen Vigna  <jug@sad.it>
14400
14401         * vspace.C: added support for %, c%, p%, l%.
14402         (stringFromUnit): added helper function.
14403         (asLatexString): changed to give right results for the %-values.
14404
14405         * buffer.C: convert the widthp in a width%.
14406
14407 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14408
14409         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14410         figureForm.[Ch].
14411
14412         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14413         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14414
14415         * lyx_cb.[Ch]: see above.
14416
14417         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14418         form1.[Ch].
14419
14420         * form1.[Ch]:
14421         * lyx.[Ch]: replaced by figure_form.[Ch].
14422
14423         * lyx_gui.C:
14424         * lyx_gui_misc.C:
14425         * lyxfunc.C: changed headers associated with above changes.
14426
14427 2001-03-27  Juergen Vigna  <jug@sad.it>
14428
14429         * BufferView_pimpl.C: set the temporary cursor right!
14430
14431 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14432
14433         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14434
14435 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14436
14437         * LString.h: removed "using std::getline"!
14438
14439         * BufferView_pimpl.C (Dispatch): changes due to changes in
14440         InsetInclude::Params.
14441
14442         * buffer.C (tag_name): removed redundant break statements as they were
14443         producing lots of warnings with my compiler.
14444
14445 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14446
14447         * LString.h: add "using std::getline" when using the real <string>.
14448
14449 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14450
14451         * buffer.C: removed bitset usage.
14452         PAR_TAG moved to an anonymous name space.
14453         (tag_name): new funtion, also in the anonymous namespace.
14454         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14455         (makeDocBookFile): clean code. Completed transition from string arrays
14456         to string vectors.
14457         (SimpleDocBookOnePar): code clean.
14458
14459 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14460
14461         * tabular.C: add some comments.
14462
14463 2001-03-22  Juergen Vigna  <jug@sad.it>
14464
14465         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14466         compatibility read a bit and fixed bug with minipage in different
14467         depth.
14468
14469 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14470
14471         * buffer.C (pop_tag): removed.
14472         (push_tag): removed.
14473         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14474         array replaced with vector. Added support for CDATA sections.
14475         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14476         at any nest level.
14477         (makeDocBookFile): XML conformant declaration of CDATA section,
14478         fixed bug related to <emphasis> in the first paragraph char.
14479         (sgmlOpenTag): exclude empty tags.
14480         (sgmlCloseTag): ditto.
14481
14482         * buffer.h (pop_tag): removed.
14483         (push_tag): removed.
14484
14485 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14486
14487         * language.h (Languages): added size_type and size().
14488
14489 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14490
14491         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14492         response on compability reading of minipages. One probliem is that
14493         the old usage of minipages was «flertydig»
14494
14495         * several files here and in subdirs: don't use static at file
14496         scope use anon namespaces instead.
14497
14498 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14499
14500         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14501         LaTeX output. This is necessary for Literate document
14502         processing.
14503
14504 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14505
14506         * buffer.C: insert hfill when needed.
14507
14508         * tabular.C (l_getline): use string::erase, small whitespace change.
14509
14510         * BufferView_pimpl.C: try the anon namespace.
14511         * WorkArea.C: ditto
14512
14513 2001-03-16  Juergen Vigna  <jug@sad.it>
14514
14515         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14516         otherwise it won't open options-dialogs.
14517
14518         * buffer.C: honor pextraWidth(p) on converting minipages.
14519
14520         * tabular.C (l_getline): changed the functions to strip trailing \r.
14521
14522 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14523
14524         * BufferView_pimpl.C:
14525         * minibuffer..C: added "using SigC::slot" declaration.
14526
14527 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14528
14529         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14530
14531         * text2.C: ditto
14532
14533         * text.C: ditto
14534
14535         * paragraph.C: ditto
14536
14537         * lyxtext.h: NO_PEXTRA
14538
14539         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14540
14541         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14542         * ParameterStruct.h: ditto
14543         * ParagraphParameters.h: ditto
14544         * lyxparagraph.h: ditto
14545
14546 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14547
14548         * buffer.C: add compability for minipage alignment.
14549         (latexParagraphs): remove unwanted pextra check.
14550
14551         * several files: remove CXX_WORKING_NAMESPACES
14552
14553         * buffer.C (pop_tag): tie is in namespace boost
14554
14555         * BufferView.h: noncopyable is in namespace boost
14556         * lyxlex.h: ditto
14557         * lyx_main.h: ditto
14558         * lyx_gui.h: ditto
14559         * layout.h: ditto
14560         * lastfiles.h: ditto
14561         * bufferlist.h: ditto
14562         * ShareContainer.h: ditto
14563         * LyXView.h: ditto
14564         * LyXAction.h: ditto
14565         * LaTeX.h: ditto
14566
14567 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14568
14569         * Merging changes from BRANCH_MVC back into HEAD.
14570
14571         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14572
14573 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14574
14575         * BufferView_pimpl.C: change from intl.C
14576
14577         * combox.h:
14578         * combox.C:
14579         * Makefile.am: move combox.*
14580
14581         * form1.h:
14582         * form1.C:
14583         * lyx_gui.C:
14584         * intl.h:
14585         * intl.C: remove dialog (covered by prefs)
14586
14587 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14588
14589         * lyxfunc.C (Dispatch): removed redundant break statement.
14590
14591 2001-03-14  Juergen Vigna  <jug@sad.it>
14592
14593         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14594
14595 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14596
14597         * buffer.C: add hack to fix compability reading of minipages.
14598
14599 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14600
14601         * buffer.C (getLists): Cleanup.
14602
14603 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14604
14605         * lyxfont.C (update): don't honor toggleall on font size.
14606
14607 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14608
14609         * bmtable.c:
14610         * bmtable.h:
14611         * Makefile.am: moved to frontends/xforms/
14612
14613         * lyx_gui_misc.C:
14614         * lyxfunc.C:
14615         * BufferView_pimpl.C: changes for moved mathpanel
14616
14617 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14618
14619         * gettext.h: fix gettext_init() in --disable-nls
14620
14621 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14622
14623         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14624
14625 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14626
14627         * lyx.C:
14628         * lyx.h: strip external form
14629
14630 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14631
14632         * BufferView_pimpl.C: add comment, destroySplash()
14633
14634 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14635
14636         * BufferView_pimpl.C:
14637         * LyXAction.C:
14638         * buffer.C:
14639         * commandtags.h:
14640         * lyxfunc.C: use re-worked insetinclude
14641
14642 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14643
14644         * buffer.C: add using std::stringstream.
14645
14646         * lyx_cb.C: readd using std::ios.
14647
14648         * buffer.C: add using std::map.
14649
14650         * BufferView_pimpl.C: add using std::vector.
14651
14652         * ShareContainer.h: add std:: to swap.
14653
14654         * buffer.h: add some typedefs
14655         * buffer.C (getLists): use them
14656         (getLists): renamed from getTocList.
14657         add a counter for the different float types and use it in the
14658         generated string.
14659         (getLists): use the same counter for the NEW_INSETS and the "non"
14660         NEW_INSETS
14661
14662         * lyx_cb.h: remove unused items, includes, using etc.
14663
14664         * ShareContainer.h: remove some commented code, add more comments
14665         and "documentation".
14666
14667 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14668
14669         * buffer.C (getTocList): make the list also when NEW_INSETS is
14670         defined.
14671
14672         * buffer.h: remove TocType
14673
14674         * buffer.C (getTocList): change to return a map<string,
14675         vector<TocItem> >, implement for dynamic number of list.
14676
14677         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14678         * text2.C (PasteSelection): adjust
14679         * CutAndPaste.C (pasteSelection): adjust
14680
14681         * FloatList.C (FloatList): update from the new_insets branch.
14682         * Floating.[Ch]: ditto
14683         * LaTeXFeatures.C: ditto
14684         * buffer.C: ditto
14685         * lyxlex_pimpl.C: ditto
14686
14687         * paragraph.C (Last): remove when NEW_INSETS is defined.
14688
14689         * other file: changes because of the above.
14690
14691 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14692
14693         * lyxparagraph.h: rename next to next_, previous to previous_,
14694         make them private for NEW_INSETS. Rename Next() to next(),
14695         Previous() to previous().
14696
14697         * other files: changes because of the above.
14698
14699 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14700
14701         * BufferView.h:
14702         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14703         problem.
14704
14705 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14706
14707         * main.C (main): pass lyx_localedir to gettext_init().
14708
14709         * gettext.h: remove locale_init and gettext_init macros
14710
14711         * gettext.C (locale_init): new function
14712         (gettext_init): new function
14713
14714         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14715         setlocale().
14716
14717 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14718
14719         * Moved credits to frontends:
14720         * credits.[Ch]: removed
14721         * credits_form.[Ch]: removed
14722         * lyx_gui_misc.C: remove credits stuff
14723         * Makefile.am:
14724
14725 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14726
14727         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14728
14729         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14730         unneeded destructor.
14731
14732         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14733         a standalone pointer again.
14734
14735         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14736
14737 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14738
14739         * Makefile.am:
14740         * filedlg.h:
14741         * filedlg.C:
14742         * LyXAction.C:
14743         * ToolbarDefaults.C:
14744         * bufferlist.C:
14745         * commandtags.h:
14746         * form1.C:
14747         * form1.h:
14748         * lyx_cb.C:
14749         * lyx_cb.h:
14750         * lyxfunc.h:
14751         * lyxfunc.C:
14752         * BufferView_pimpl.C: use new file dialog in GUII
14753
14754         * lyx_cb.h:
14755         * lyx_cb.C: remove LayoutsCB to Toolbar
14756
14757 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14758
14759         * ShareContainer.h (get): add std:: qualifier
14760
14761 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14762
14763         * ShareContainer.h: define a proper ShareContainer::value_type
14764         type (and use typename to please compaq cxx)
14765
14766 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14767
14768         * lyxparagraph.h: move serveral local vars to
14769         ParameterStruct/ParagraphParameters., use ShareContainer in
14770         FontTable., make vars in FontTable private and add getter and
14771         setter.
14772
14773         * paragraph.C: changes because of the above.
14774
14775         * lyxfont.h: remove copy constructor and copy assignment. (the
14776         default ones is ok), move number inside FontBits. move inlines to
14777         lyxfont.C
14778
14779         * lyxfont.C: add number to initializaton of statics, move several
14780         inlines here. constify several local vars. some whitespace
14781         cleanup. Dont hide outerscope variables.
14782
14783         * Spacing.h: add two new constructors to match the set methods.
14784
14785         * ShareContainer.h: new file, will perhaps be moved to support
14786
14787         * ParameterStruct.h: new file
14788
14789         * ParagraphParameters.h: new file
14790
14791         * ParagraphParameters.C: new file
14792
14793         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14794         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14795
14796         * BufferView_pimpl.C: ParagraphParameter changes.
14797         * buffer.C: Likewise.
14798         * bufferview_funcs.C: Likewise.
14799         * text.C: Likewise.
14800         * text2.C: Likewise.
14801
14802 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * lyxfind.C (LyXReplace): do not redefine default argument in
14805         implementation.
14806         (IsStringInText): ditto
14807         (SearchForward): ditto
14808         (SearchBackward): ditto
14809
14810 2001-03-06  Juergen Vigna  <jug@sad.it>
14811
14812         * lyxfind.C (IsStringInText): put parentes around expressions.
14813
14814 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14815
14816         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14817
14818 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14819
14820         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14821
14822         * stl_string_fwd.h: add comment
14823
14824         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14825
14826         * tabular.h:
14827         * tabular.C: remove unused DocBook methods
14828
14829         * intl.C:
14830         * language.C:
14831         * paragraph.C:
14832         * buffer.C:
14833         killed DO_USE_DEFAULT_LANGUAGE
14834
14835 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14836
14837         * lyx_gui.C: do not include language.h.
14838
14839         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14840         arguments in function implementation.
14841
14842 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14843
14844         * BufferView_pimpl.C: add <ctime>
14845
14846 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14847
14848         * BufferView_pimpl.C: add using std::find_if
14849
14850 2001-02-27  José Matos  <jamatos@fep.up.pt>
14851
14852         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14853         by OnlyPath.
14854
14855 2001-02-11  José Matos  <jamatos@fep.up.pt>
14856
14857         * buffer.C (makeDocBookFile): command styles now have a parameter as
14858         "title" by default.
14859
14860 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14861
14862         * layout_forms.[Ch]: removed
14863         * lyx_cb.[Ch]: out character
14864         * lyx_gui.C: out character
14865         * lyx_gui_misc.C: out character
14866         * bufferview_funcs.C: : out character,
14867         added toggleall as parameter in ToggleAndShow
14868
14869 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14870
14871         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14872
14873         * text2.C (SetCurrentFont): Disable number property at boundary.
14874
14875 2001-02-26  Juergen Vigna  <jug@sad.it>
14876
14877         * lyxfunc.C (getStatus): added a string argument override function so
14878         that this is correctly called from LyXFunc::Dispatch if it contains a
14879         do_not_use_argument which is used!
14880         (Dispatch): added check for "custom" export and call appropriate func.
14881
14882 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14883
14884         * lyxrc.C: Add language_command_local, language_use_babel and
14885         language_global_options.
14886
14887         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14888
14889         * buffer.C (makeLaTeXFile): Use language_use_babel and
14890         language_global_options.
14891
14892 2001-02-23  Juergen Vigna  <jug@sad.it>
14893
14894         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14895         which works with LyXText and putted it inside BufferView. Here now we
14896         only call for that part the BufferView::Dispatch() function.
14897
14898         * BufferView.C (Dispatch): added.
14899
14900         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14901         functions which needs to use a LyXText over from LyXFunc.
14902         (MenuInsertLyXFile): added
14903         (getInsetByCode): added
14904         (moveCursorUpdate): added
14905         (static TEXT): added
14906
14907 2001-02-22  Juergen Vigna  <jug@sad.it>
14908
14909         * BufferView_pimpl.C (update): call a status update to see if LyXText
14910         needs it.
14911
14912 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14913
14914         * vc-backend.C (revert): implement for CVS
14915         (getLog): implement for CVS
14916
14917 2001-02-20  Juergen Vigna  <jug@sad.it>
14918
14919         * text2.C (ClearSelection): added BufferView param for inset_owner call
14920
14921         * lyxfunc.C (TEXT): added this function and use it instead of
14922         directly owner->view()-text of getLyXText().
14923
14924 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14925
14926         * src/layout_forms.C: out preamble
14927         * src/layout_forms.h: out preamble
14928         * src/lyx_cb.C: out preamble
14929         * src/lyx_cb.h: out preamble
14930         * src/lyx_gui.C: out preamble
14931         * src/lyx_gui_misc.C: out preamble
14932         * src/lyxfunc.C: connect with guii preamble
14933
14934 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14935
14936         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14937
14938 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14939
14940         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14941         whether to run bibtex.
14942
14943 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14944
14945         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14946
14947 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14948
14949         * Makefile.am (lyx_SOURCES): removed bibforms.h
14950
14951         * vspace.h: doxygen
14952
14953         * text.C (GetVisibleRow): make several local vars const
14954
14955         * tabular.C: small cleanup.
14956
14957         * lyxserver.C (callback): use compare instead of strncmp
14958
14959         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14960         inlines to after class or to paragraph.C
14961
14962         * lyxfont.h: remove friend operator!=
14963
14964         * converter.h: move friend bool operator< to non friend and after
14965         class def.
14966
14967         * combox.h: small cleanup
14968
14969         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14970         to inlines after class def.
14971
14972         * buffer.C (pop_tag): use string operations instead of strcmp
14973
14974         * bmtable.c: doxygen, small cleanup
14975
14976         * LaTeX.h: remove friend operator==
14977
14978 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14979
14980         * screen.C:
14981         * lyxrc.[Ch]:
14982         * lyxfunc.C:
14983         * lyxfont.[Ch]:
14984         * lyx_cb.C:
14985         * intl.[Ch]:
14986         * commandtags.h:
14987         * buffer.C:
14988         * WorkArea.[Ch]:
14989         * LyXAction.C:
14990         * BufferView_pimpl.C:
14991         * BufferView.[Ch]: remove cruft
14992
14993 2001-02-14  Juergen Vigna  <jug@sad.it>
14994
14995         * lyxfunc.C: removed #if 0 unused code
14996
14997         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14998
14999         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15000
15001         * text2.C (SetSelection): added a BufferView * parameter
15002
15003 2001-02-13  Juergen Vigna  <jug@sad.it>
15004
15005         * lyxfunc.C (Dispatch): fixed protected blank problem.
15006         * BufferView2.C (protectedBlank): added LyxText * parameter.
15007
15008         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15009         (AppendColumn): same as above for column_info.
15010
15011         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15012         (moveCursorUpdate): use a LyXText param for support of InsetText.
15013
15014         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15015         (tripleClick): ditto
15016
15017         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15018
15019         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15020
15021         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15022
15023         * text2.C (SetSelection): set correct update status if inset_owner
15024         (ToggleFree): ditto
15025
15026 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15027
15028         * tabular.C: remove some commented code.
15029
15030 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15031
15032         * BufferView_pimpl.C: call hideSplash()
15033
15034         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15035
15036         * include_form.h:
15037         * bibforms.h: remove
15038
15039         * lyxfunc.C:
15040         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15041           add LFUN_CHILD_CREATE
15042
15043         * counters.h: fix tiny typo
15044
15045         * lyx_cb.C:
15046         * lyx.h:
15047         * lyx_gui.C:
15048         * lyx.C: move splash to frontends/xforms/
15049
15050         * lyx_gui_misc.C: move Include and Bibform to frontends
15051
15052         * lyxvc.h: clarify comment
15053
15054         * vspace.C: tiny housekeeping
15055
15056 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15057
15058         * text.C (PrepareToPrint): RTL Fix.
15059
15060         * paragraph.C (GetUChar): New method.
15061         (String):  Use GetUChar.
15062
15063         * buffer.C (asciiParagraph): Use GetUChar.
15064
15065 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15066
15067         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15068
15069 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15070
15071         * buffer.h:
15072         * buffer.C: rename to getLogName(), handle
15073           build log / latex log nicely
15074
15075 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15076
15077         * MenuBackend.C:
15078         * MenuBackend.h: remove support for reference menuitem type.
15079
15080 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15081
15082         * BufferView_pimpl.C: housekeeping
15083         * BufferView_pimpl.h:
15084         * LyXView.h:
15085         * Makefile.am:
15086         * Timeout.C:
15087         * Timeout.h:
15088         * minibuffer.h: move Timeout GUI-I
15089
15090 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15091
15092         * lyxrc.C (read): Update converters data-structures.
15093
15094 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15095
15096         * LaTeX.h (operator!=): add operator != for Aux_Info
15097
15098 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15099
15100         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15101
15102         * LaTeXLog.C: deleted, useful code moved to Buffer
15103
15104         * buffer.h:
15105         * buffer.C: new function getLatexLogName()
15106
15107         * lyx_gui_misc.C:
15108         * lyx_gui.C:
15109         * lyxvc.C:
15110         * lyxvc.h:
15111         * lyxfunc.C: use frontends for LaTeX and VC logs
15112
15113 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15114
15115         * LaTeX.h: yet another std:: that Allan forgot.
15116
15117         * Variables.C (set): renamed from isset(), because this clashes
15118         with some HP-UX macros (grr).
15119
15120 2001-02-06  Allan Rae  <rae@lyx.org>
15121
15122         * LaTeX.h: Another bug fix.  Missing std:: this time.
15123
15124 2001-02-04  Allan Rae  <rae@lyx.org>
15125
15126         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15127         floats problem. I've left it commented out because it's not quite
15128         correct.  It should also test that the current object is a table or
15129         figure inset.  But I haven't gotten around to figuring out how to do
15130         that.  I *think* it'll be something like: "table" == inset.type()
15131
15132         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15133         bool.
15134
15135 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15136
15137         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15138         all the citation/databases/styles in the auxilary file.
15139         (run): Rerun latex if there was a babel language error.
15140
15141 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15142
15143         * text.C (Backspace): Preserve the font when changing newline char
15144         with a space.
15145         (BreakParagraph): If the cursor is before a space, delete the space.
15146
15147         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15148
15149 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15150
15151         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15152         new argument (code).
15153         (ChangeCitationsIfUnique): New method.
15154
15155         * paragraph.C (GetPositionOfInset): Handle bibkey.
15156
15157 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15158
15159         * BufferView_pimpl.h: change type of Position::par_pos to
15160         LyXParagraph::size_type.
15161
15162 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15163
15164         * BufferView_pimpl.C (savePosition, restorePosition): Write
15165         messages to minibuffer.
15166
15167 2001-01-28  José Matos  <jamatos@fep.up.pt>
15168
15169         * buffer.C (makeDocBookFile): adds support for document language.
15170         A silly restriction on the name of LatexCommand types where removed.
15171         Added support for CDATA sections, allows to chars unescaped, used
15172         among others in code, to avoid escape < and >.
15173
15174 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15175
15176         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15177         saved positions instrad of a stack. Furthermore, a position is
15178         stored using paragraph id/paragraph position.
15179
15180         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15181         Remove LFUN_REF_BACK.
15182
15183 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15184
15185         * converter.C (dvipdfm_options): New method.
15186
15187 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15188
15189         * vspace.C (isValidLength): Fix for empty input string.
15190
15191 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15192
15193         * LyXAction.C (init): change description of LFUN_FIGURE to
15194         "Insert Graphics"
15195
15196 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15197
15198         * LaTeX.C: add using directive
15199
15200 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15201
15202         * MenuBackend.C (expand): Fix the sorting of the formats.
15203
15204 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15205
15206         * lyx_main.C: tiny error message fix
15207
15208 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15209
15210         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15211         calling fl_initialize(). This fixes the problem with ',' as
15212         decimal separator in text files.
15213
15214 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * trans.C (process): Fix the keymap bug.
15217
15218 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15219
15220         * LaTeX.C (scanAuxFiles): New method. Provides support for
15221         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15222         (scanLogFile) Scan for "run BibTeX" messages.
15223
15224         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15225         OT1 font encoding. Also, load the aecompl package if the ae
15226         package is loaded.
15227
15228         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15229
15230 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15231
15232         * texrow.C (increasePos): turn two error messages into debug
15233         messages.
15234
15235 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15236
15237         * LaTeX.C (scanAux): Handle the \@input macro.
15238         (runBibTeX): Use scanAux().
15239
15240         * language.C (latex_options_): New field.
15241
15242         * LaTeXFeatures.C (getMacros): Add language macros.
15243
15244         * buffer.C (makeLaTeXFile): Small fix.
15245
15246 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15247
15248         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15249
15250         * text2.C: add a using directive.
15251
15252 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15253
15254         * BufferView2.C:
15255         * lyx_gui_misc.h:
15256         * lyxfr1.C:
15257         * lyxfunc.C: kill LyXBell.
15258
15259 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15260
15261         * text.C (IsBoundary): Remove the error message
15262
15263         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15264
15265         * lyxrc.C (setDefaults): Correct initialization value for
15266         font_norm_type.
15267
15268 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15269
15270         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15271         gotoError().
15272
15273         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15274         and GotoNextNote().
15275
15276         * src/LyXAction.C: Added reference-next.
15277
15278         * text.C (InsertChar): Use contains instead of strchr.
15279
15280         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15281
15282 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15283
15284         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15285         alignment commands (when needed).
15286
15287         * text.C (InsertChar): Add ':' to number separator chars.