]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
980341cdc0bcbaa99926177dad45e40f0ae35b12
[lyx.git] / src / ChangeLog
1
2 2004-04-03  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * cursor.[Ch] (LCursor): remove cached_y_ and updatePos 
5         (getDim) remove outdated comment
6
7         * BufferView_pimpl.C (fitCursor): call redoParagraph on the outer
8         cursor paragraph to obtain good cursor y info
9         (workAreaDispatch): remove unneeded update call
10
11         * BufferView.C (setCursor): call redoParagraph, as some insets
12         could have been opened
13         (putSelectionAt): remove the double update and all that cleverness
14         (simplified and transfered to fitCursor where it belongs).
15
16 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
17
18         * text3.C (getStatus): add LFUN_BEGINNINGBUF
19
20 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
21
22         * lyxfind.C: add a couple of inTexted() tests + other small fixes
23         * BufferView_pimpl.[Ch] (getStatus)
24         * BufferView.[Ch] (getStatus): add
25         * lyxfunc.C (getStatus): move lfuns handled in
26         BufferView::dispatch to te function above 
27         * Cursor.C (setSelection): set selection() = true
28
29 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
30
31         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
32
33 2004-03-31  Angus Leeming  <leeming@lyx.org>
34
35         * lyxfunc.C (dispatch): Fall through to the generic
36         Dialogs::show("preamble").
37
38 2004-03-31  Angus Leeming  <leeming@lyx.org>
39
40         * lyxfunc.C (dispatch): Fall through to the generic
41         Dialogs::show("spellchecker").
42
43 2004-03-31  Angus Leeming  <leeming@lyx.org>
44
45         * lyxfunc.C (getStatus, dispatch): changed invocation of the
46         preferences dialog.
47
48 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
49
50         * BufferView.C
51         * cursor.[Ch]
52         * dociterator.[Ch]:
53         * insetiterator.[Ch]:
54         * lyxfind.C:
55         * lyxfunc.C:
56         * pariterator.[Ch]:
57         * text2.C:
58         * undo.[Ch]: s/DocumentIterator/DocIterator/g
59
60 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
61
62         * BufferView.C (setCursor, putSelectionAt): call edit to open the
63         insets where we are putting the cursor.
64
65 2004-03-31  Angus Leeming  <leeming@lyx.org>
66
67         * lfuns.h:
68         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
69
70         * lyxrc.[Ch] (read, write): overloaded member functions taking
71         a std::[io]stream arguments.
72
73         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
74
75 2004-03-31  Angus Leeming  <leeming@lyx.org>
76
77         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
78         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
79
80         * lyxtextclass.C (load): if the text class couldn't be loaded, then
81         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
82
83 2004-03-31  Angus Leeming  <leeming@lyx.org>
84
85         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
86         the LFUN_ALL_INSETS_TOGGLE code.
87
88 2004-03-30  Angus Leeming  <leeming@lyx.org>
89
90         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
91         has died. Fall through to the generic Dialogs::show("document").
92         
93 2004-03-30  Angus Leeming  <leeming@lyx.org>
94
95         * lfuns.h:
96         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
97         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
98
99         * lyxfunc.C (getStatus, dispatch): define the actions for these
100         lfuns. Little more than a cut and pste job from ControlDocument.C
101
102         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
103
104 2004-03-30  Angus Leeming  <leeming@lyx.org>
105
106         * lfuns.h:
107         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
108         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
109
110         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
111         open/closed state of ollapsable insets. Usage:
112
113         all-inset-toggle <state> <name>, where
114         <state> == "open" || "closed" || "toggle" and
115         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
116
117         * lyxtext.h, text2.C (toggleInset): removed.
118
119         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
120         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
121         now passes LFUN_INSET_TOGGLE to the found inset.
122
123         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
124         is now invoked as "all-insets-toggle toggle branch".
125
126 2004-03-30  Angus Leeming  <leeming@lyx.org>
127
128         * dociterator.C:
129         * insetiterator.C:
130         * pariterator.[Ch]: added/corrected header blurb.
131
132 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
133
134         * dociterator.[Ch]: add an inset_ member 
135         (backwardPos): implemented
136         (backwardPos, forwardPos): use inset_ when the stack is empty.
137         (doc_iterator_begin, doc_iterator_end): implemented
138         * pariterator.[Ch]: adjust, add begin, end
139         * insetiterator.[Ch]: adjust, add begin, end
140         * cursor.C: 
141         * document.C:
142         * BufferView.C:
143         * BufferView_pimpl.C:
144         * CutAndPaste.C: adjust
145
146 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
147
148         * buffer.C: increment file format to 232.
149         * LaTeXFeatures.C: add bibtopic package.
150         * bufferparams.[Ch]: param \use_bibtopic.
151         
152         * lyxrc.[Ch]: add lyxrc bibtex_command
153         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
154         
155         * buffer.C: increment file format to 231.
156
157 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
158
159         * dociterator.C: implement forwardPar
160         * iterators.[Ch]: remove, replaced by
161         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
162         * BufferView.C:
163         * BufferView_pimpl.C:
164         * CutAndPaste.C:
165         * buffer.C:
166         * bufferview_funcs.C:
167         * cursor.C:
168         * lyxfind.C
169         * lyxfunc.C
170         * paragraph_funcs.C
171         * toc.C:  
172         * Makefile.am: adjust
173
174 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
175
176         * CutAndPaste.C (pasteSelection): fix 2 crashes
177         (eraseSelection): fix a crash
178         * paragraph_funcs.C: remove a warning
179
180 2004-03-28  Angus Leeming  <leeming@lyx.org>
181
182         * lfuns.h:
183         * LyXAction.C (init): new LFUN_PRINT.
184
185         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
186
187 2004-03-27  Angus Leeming  <leeming@lyx.org>
188
189         * lfuns.h:
190         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
191
192         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
193
194 2004-03-27  Angus Leeming  <leeming@lyx.org>
195
196         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
197         insetlist always contains non-null pointers to insets.
198
199 2004-03-26  Angus Leeming  <leeming@lyx.org>
200
201         * src/BufferView_pimpl.C:
202         * src/CutAndPaste.C:
203         * src/buffer.C:
204         * src/iterators.C:
205         * src/output_plaintext.C:
206         * src/outputparams.h:
207         * src/paragraph_funcs.C:
208         * src/rowpainter.C:
209         * src/text.C:
210         * src/text2.C:
211         * src/frontends/controllers/ControlErrorList.C:
212         * src/frontends/gtk/FileDialogPrivate.C:
213         * src/frontends/gtk/GPainter.C:
214         * src/frontends/gtk/GToolbar.C:
215         * src/frontends/qt2/QRef.C:
216         * src/mathed/math_scriptinset.C: squash compiler warnings.
217
218 2004-03-26  Angus Leeming  <leeming@lyx.org>
219
220         * ispell.C (LaunchIspell::start):
221         * lyx_cb.C (AutoSaveBuffer::start):
222         invoke run(DontWait) rather than runNonBlocking().
223
224 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
225
226         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
227
228 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * kbsequence.C (print): adjust
231
232         * kbmap.C (printKeySym): rename and change signature
233         (printKey): use LyXKeySym::print()
234
235 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
236
237         * undo.C: add using std::advance to compile for stlport
238
239 2004-03-24  Angus Leeming  <leeming@lyx.org>
240
241         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
242         it leads to a crash when no buffer is present.
243
244 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
245             Martin Vermeer  <martin.vermeer@hut.fi>
246
247         * lyxfunc.C (dispatch): 
248         * bufferparams.C (readToken): use the new LColor::setColor 
249
250         * LColor.[Ch] (setColor): new version that takes two strings as
251         argument and creates a new color entry if necessary
252
253 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
254
255         * buffer.C (makeLaTeXFile): if the main latex file that is
256         processed is usually a subdocument of some master, then pretend
257         for a while that it is actually the master
258
259 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
260
261         * buffer.C (getLabelList):
262         (getBibkeyList): use getMasterBuffer()
263         (getMasterBuffer): new method. Returns the main document in the
264         case where one is using included documents.
265
266 2004-03-25  André Pönitz  <poenitz@gmx.net>
267
268         * Makefile.am:
269         * iterators.[Ch]:
270         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
271
272         * ParagraphList_fwd.h: change ParagraphList to a std::vector
273
274         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
275         text*.C over here. Rename namespace CutAndPaste to lyx::cap
276
277         * ParameterStruct.h: merge with ParagraphParameters
278
279         * lyxtext.h: remove LyXText::parOffset() and getPar()
280
281         * text3.C: Remove all 'manual' update calls. We do now one per user
282         interaction which is completely sufficient.
283
284         * Bidi.C:
285         * BufferView.[Ch]:
286         * BufferView_pimpl.C:
287         * FontIterator.[Ch]:
288         * MenuBackend.C:
289         * ParagraphParameters.[Ch]:
290         * buffer.C:
291         * buffer.h:
292         * bufferlist.C:
293         * cursor.[Ch]:
294         * cursor_slice.[Ch]:
295         * dociterator.[Ch]:
296         * errorlist.[Ch]:
297         * factory.C:
298         * lfuns.h:
299         * lyxfind.C:
300         * lyxfunc.C:
301         * output_docbook.[Ch]:
302         * output_latex.[Ch]:
303         * output_linuxdoc.[Ch]:
304         * output_plaintext.[Ch]:
305         * paragraph.[Ch]:
306         * paragraph_funcs.[Ch]:
307         * paragraph_pimpl.[Ch]:
308         * rowpainter.C:
309         * tabular.[Ch]:
310         * text.C:
311         * text2.C:
312         * toc.C:
313         * undo.[Ch]: adjust
314
315         * frontends/controllers/ControlDocument.C:
316         * frontends/controllers/ControlErrorList.C:
317         * frontends/controllers/ControlSpellchecker.C:
318         * insets/inset.C:
319         * insets/inset.h:
320         * insets/insetbase.h:
321         * insets/insetbibitem.C:
322         * insets/insetbox.C:
323         * insets/insetbranch.C:
324         * insets/insetcaption.C:
325         * insets/insetcharstyle.C:
326         * insets/insetcharstyle.h:
327         * insets/insetcollapsable.C:
328         * insets/insetcollapsable.h:
329         * insets/insetert.C:
330         * insets/insetfloat.C:
331         * insets/insetfoot.C:
332         * insets/insetmarginal.C:
333         * insets/insetnote.C:
334         * insets/insetoptarg.C:
335         * insets/insettabular.C:
336         * insets/insettext.C:
337         * insets/insettext.h:
338         * insets/insetwrap.C:
339         * mathed/math_mboxinset.C:
340         * mathed/math_nestinset.C:
341         * mathed/math_scriptinset.C:
342         * mathed/math_scriptinset.h:
343         * support/types.h:
344
345 2004-03-24  Angus Leeming  <leeming@lyx.org>
346
347         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
348         deal with any child processes that have finished but are waiting to
349         communicate this fact to the rest of LyX.
350
351 2004-03-24  Angus Leeming  <leeming@lyx.org>
352
353         64-bit compile fixes.
354
355         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
356         (c-tor): pass lyx::pos_types rather than ints.
357
358         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
359         lyx::pos_type.
360
361         * text.C (Delete): compile fix.
362         (getPar): ensure that function declaration is the same as that in
363         the header file.
364
365 2004-03-23  Angus Leeming  <leeming@lyx.org>
366
367         * ispell.C (LaunchIspell):
368         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
369         a boost::shred_ptr rather than a std::auto_ptr.
370
371 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * lyxfunc.C (getStatus): handle read-only buffers correctly;
374         handle LFUN_FILE_INSERT_*
375
376         * lyxrc.C (setDefaults, getDescription, output, read):
377         * lyxrc.h: remove ps_command
378
379 2004-03-22  Angus Leeming  <leeming@lyx.org>
380
381         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
382         Ensure that error_handler is processed once only and that all data
383         is saved before attempting to output any warning messages.
384
385         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
386
387 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
388
389         * tabular.C (TeXRow): crash fix (from Kayvan and André)
390
391 2004-03-19  André Pönitz  <poenitz@gmx.net>
392
393         * cursor.[Ch] (reset): take main text inset as argument
394
395         * BufferView: adjust
396         * BufferView_pimpl.C: adjust
397
398         * paragraph.[Ch]: fix completely broken operator=()
399
400 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
401
402         * LColor.C (getFromLyXName): make sure that the color name is used
403         as lowercase.
404
405 2004-03-17  Angus Leeming  <leeming@lyx.org>
406
407         * lfuns.h:
408         * LyXAction.C (init): remove LFUN_FORKS_KILL.
409
410         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
411         dialog and to kill a forked process.
412
413 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * text2.C (setCursorFromCoordinates): fix font problem
416
417 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
418
419         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
420         bogus "rebuild cursor" code
421
422 2004-03-11  André Pönitz  <poenitz@gmx.net>
423
424         * buffer.[Ch]: use InsetText instead of LyXText as container for
425         the main lyx text.
426
427         * dociterator.[Ch]: drop the BufferView * member which is not needed
428         anymore after the change to buffer.C
429
430         * paragraph_funcs.C:
431         * text.C:
432         * text2.C:
433         * BufferView.[Ch]:
434         * BufferView_pimpl.[Ch]:
435         * cursor.[Ch]:
436         * cursor_slice.[Ch]: adjust
437
438         * text3.C: fix bug in mathDispatch
439
440 2004-03-08  André Pönitz  <poenitz@gmx.net>
441
442         * undo.[Ch]: use 'StableDocumentIterator' as base for
443         the Undo struct.
444
445 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
446
447         * LaTeXFeatures.C:
448         * bufferparams.[Ch]: add jurabib support and param.
449
450         * LaTeX.C: add FIXME/comment.
451
452 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
453
454         * buffer.C: increment file format to 230.
455
456 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
457
458         * cursor.C (dispatch): avoid infinite loops
459
460 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
461
462         * rowpainter.C (paintSelection): fix x coordinates
463
464 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
465
466         * text.C (rowBreakPoint): fix breaking before displayed insets
467
468 2004-03-01  André Pönitz  <poenitz@gmx.net>
469
470         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
471
472         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
473
474         * Makefile.am:
475         * BufferView.C:
476         * BufferView_pimpl.C:
477         * buffer.C:
478         * lyxfind.C:
479         * lyxfunc.C:
480         * text.C:
481         * text2.C:
482         * text3.C: adjust
483
484 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
485
486         * lyxtext.h:
487         * text.C:
488         * text2.C:
489         * rowpainter.C:
490         * BufferView_pimpl.C: rename textwidth -> maxwidth,
491         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
492
493 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
494
495         * Bidi.[Ch] (computeTables): const correctness
496         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
497         fill_hfill, fill_label_hfill and x from Row
498         * lyxtext.h: prepareToPrint returns a RowMetrics
499         * rowPainter.C: adjust
500         * text.C (prepareToPrint): use width, not textWidth. adjust
501         (redoParagraphInternal, cursorX): adjust
502         * text2.C (getColumnNearX): adjust
503         (init): put a default value to the top LyXText::width
504
505 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
506
507         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
508
509 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
510
511         * lyxtext.h: add FontIterator class
512
513         * text.C (FontIterator, operator*, operator->, operator++): add
514         (rowBreakPoint, setRowWidth): adjust (fixing a
515         rebreaking bug)
516
517 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
518
519         * BufferView_pimpl.C (workAreaDispatch): allow also
520         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
521
522 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
523
524         * text.C (rowBreakPoint): fix a bug showing with very large insets
525
526 2004-02-25  André Pönitz  <poenitz@gmx.net>
527
528         * text3.C:
529         * cursor.[Ch]: move some mathed specific code to mathed
530
531 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
532
533         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
534         use_tempdir in preferences
535         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
536         tempfile creation
537         * lyx_main.C: ensure that tempdir is valid
538         * lyxlex.h: correct typo
539         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
540         * paragraph.[Ch] (isMultiLingual): make const
541         * cursor.[Ch] (openable): make const
542
543 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
544
545         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
546
547 2004-02-20  André Pönitz  <poenitz@gmx.net>
548
549         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
550
551         * cursor.[Ch]: prepare for localized getStatus()
552
553         * lyxtext.h:
554         * tabular.C:
555         * text.C:
556         * text2.C:
557         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
558
559 2004-02-20  André Pönitz  <poenitz@gmx.net>
560
561         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
562
563 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
564
565         * text2.C (setCursorFromCoordinates): switch to absolute coords
566         (cursorUp): adjust
567         (cursorDown): adjust
568         * text3.C (dispatch): adjust
569
570 2004-02-16  André Pönitz  <poenitz@gmx.net>
571
572         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
573           insets/ChangeLog)
574
575         * cursor_slice.[Ch]: remove unneeded acessor function
576
577         * lyxtext.h: rename rtl() to isRTL()
578
579         * rowpainter.C:
580         * tabular.C:
581         * text.C:
582         * text2.C:
583         * text3.C: adjust
584
585 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
586
587         * rowpainter.C (paintSelection): coord fix
588
589 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
590
591         * Spacing.C: compile fix
592
593 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
594
595         * cursor.C (dispatch): restore current_ before returning
596
597 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
598
599         * text2.C (cursorUp, cursorDown): fix coords
600         (moveUp): fix crash
601
602 2004-02-12  André Pönitz  <poenitz@gmx.net>
603
604         * lyxtext.h:
605         * text.C:
606         * text2.C:
607         * text3.C: add LCursor & parameter to most cursor movement functions
608           remove usage of LyXText::cursorRow() and cursorPar()
609
610         * cursor.[Ch]: add textRow() needed members
611
612         * BufferView.C:
613         * BufferView_pimpl.C:
614         * paragraph.[Ch]:
615         * BufferView.C:
616         * BufferView_pimpl.C: adjust
617
618 2004-02-11  André Pönitz  <poenitz@gmx.net>
619
620         * lyxfunc.C:
621         * BufferView.[Ch]:
622         * BufferView_pimpl.C: shift undo/redo handling
623
624         * cursor.[Ch]: fix mathed crash
625
626         * lyxfind.C:
627         * lyxtext.h: move selectionAsText to LCursor
628
629         * output_latex.C:
630         * paragraph.C:
631         * text.C:
632         * text2.C:
633         * text3.C: adjust
634
635         * rowpainter.C: fix excessive drawing
636
637 2004-02-06  André Pönitz  <poenitz@gmx.net>
638
639         * BufferView.[Ch]:
640         * BufferView_pimpl.[Ch]:
641         * text3.C: move some text specific LFUN handling
642
643 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
644
645         * text3.C (checkInsetHit): adjust coords
646         * text2.C (getColumnNearX): adjust coords
647         (edit): adjust coords
648         * text.C (getRowNearY): add two asserts
649
650 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
651
652         * converter.C:
653         * format.C: add using std::distance to compile on gcc 2.95/stlport
654
655 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
656
657         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
658
659 2004-02-04  André Pönitz  <poenitz@gmx.net>
660
661         * BufferView.[Ch] (insertInset):
662         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
663
664         * text2.C:
665         * text3.C: adjust
666
667 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
668
669         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
670         on the default clause of the switch
671         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
672         wasn't catched by LCursor::dispatch
673
674 2004-02-03  André Pönitz  <poenitz@gmx.net>
675
676         * BufferView.C:
677         * cursor.[Ch]: some additional asserts
678
679         * undo.[Ch]: remove LyXText dependency in interface
680
681         * lyxfunc.C: adjust
682
683         * lyxtext.h (firstPar, lastPar): remove dead functions
684
685         * text.C:
686         * text2.C:
687         * text3.C:
688         * paragraph.[Ch]: adjust
689
690 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
691
692         * lyxfind.C (find): fix argument order in call to ::find
693
694 2004-02-02  André Pönitz  <poenitz@gmx.net>
695
696         * cursor.[Ch]: remove direct access to anchor
697
698         * text.C: remove findText() hack
699
700 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
701
702         * iterators.[Ch] (lockPath): remove in favour of...
703         * BufferView.[Ch] (setCursor): this addition
704         * BufferView.C (putSelectionAt): adjust
705         * undo.C (performUndoOrRedo): adjust
706         * lyxfunc.C (dispatch): adjust
707
708 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
709
710         * iterators.C (lockPath): add a missing slice
711         * undo.C (performUndoOrRedo): remove redundant positioning code
712
713 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
714
715         * vc-backend.C (scanMaster): ";" -> ';'
716
717 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
718
719         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
720         std::binary_function
721
722         * lyxtextclass.C (compare_name): rename to...
723         (LayoutNamesEqual): ...this
724
725         * lyxlex_pimpl.C (compare_tags): inherit from
726         std::binary_function, put back into anon namespace
727
728         * lyxfind.C (MatchString): inherig from std::binary_function
729         (findChange): use empty() istead of !size()
730
731         * format.C (FormatNamesEqual): new functor
732         (getFormat): use it
733         (getNumber): use it
734         (add): use it
735         (erase): use it
736         (setViewer): use it
737
738         * converter.C (compare_Converter): rename to...
739         (ConverterEqual): ...this, and fixup a bit.
740         (getConverter): use it, and make function const
741         (getNumber): use it, and make function const
742         (add): use it
743         (erase): use it:
744
745         * bufferlist.C: add using boost::bind
746
747         * MenuBackend.C (MenuNamesEqual): new functor
748         (hasMenu): use it, and make function const
749         (hasSubmenu): use nested bind to get rid of compare_memfun.
750
751 2004-01-30  André Pönitz  <poenitz@gmx.net>
752
753         * BufferView_pimpl.C:
754         * cursor.C:
755         * cursor.h:
756         * cursor_slice.[Ch]:
757         * lyxfunc.C:
758         * lyxtext.h:
759         * paragraph_funcs.C:
760         * paragraph_funcs.h:
761         * rowpainter.C:
762         * text.C:
763         * text2.C:
764         * text3.C: move some of the edit(x,y) handling to the insets
765         some coordinate changes.
766
767 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
768
769         * text.C: add using statements for std::advance and std::distance
770
771         * paragraph.C: add using statement for std::distance
772
773         * lyxfind.C: add using statement for std::advance
774
775         * cursor.C (region): remove std:: from swap
776         (openable): use nucleus in stead of operator->
777
778         * BufferView.C: add using statements for std::distance and std::swap
779
780 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
781
782         * iterators.C: Remove the pimple, move the needed structures to
783         the header file. Create accessor for the positions stack.
784         (asPosIterator): remove function
785
786         * PosIterator.C (PosIterator): move constructors to top of file
787         (PosIterator): reimplement the constructor taking a ParIterator in
788         terms of setFrom.
789         (setFrom): new function
790         (operator!=): inline it
791
792 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
793
794         * lyxfind.C (replaceAll): use std::advance
795
796         * iterators.h: inherit from std::iterator.
797
798         * PosIterator.C (advance, distance): remove
799         * PosIterator.h: interit from std::iterator.
800
801 2004-01-26  André Pönitz  <poenitz@gmx.net>
802
803         * BufferView.[Ch]:
804         * BufferView_pimpl.[Ch]:
805         * InsetList.[Ch]:
806         * PosIterator.[Ch]:
807         * buffer.h:
808         * bufferview_funcs.C:
809         * cursor.[Ch]:
810         * cursor_slice.h:
811         * factory.[Ch]:
812         * iterators.[Ch]:
813         * lyxfind.C:
814         * lyxfunc.C:
815         * lyxtext.h:
816         * output_docbook.C:
817         * output_latex.C:
818         * output_linuxdoc.C:
819         * output_plaintext.C:
820         * paragraph.[Ch]:
821         * paragraph_funcs.[Ch]:
822         * paragraph_pimpl.[Ch]:
823         * rowpainter.C:
824         * tabular.C:
825         * tabular.h:
826         * text.C:
827         * text2.C:
828         * text3.C: more IU:  dumps most of the rest of the mathcursor
829     implementation into cursor.[Ch]; "globalize" a bit of it.
830
831 2004-01-25  Angus Leeming  <leeming@lyx.org>
832
833         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
834
835 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
836
837         * LaTeXFeatures.h: add nice_ and nice() const
838         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
839
840 2004-01-20  André Pönitz  <poenitz@gmx.net>
841
842         * BufferView.[Ch]:
843         * BufferView_pimpl.C:
844         * PosIterator.C:
845         * bufferview_funcs.C:
846         * cursor.[Ch]:
847         * cursor_slice.[Ch]:
848         * factory.C:
849         * iterators.C:
850         * lyx_cb.C:
851         * lyxfind.C:
852         * lyxfunc.C:
853         * lyxtext.h:
854         * rowpainter.C:
855         * text.C:
856         * text2.C:
857         * text3.C:
858         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
859           LCursor and mathcursor parts to LCursor and InsetBase.
860
861 2004-01-15  André Pönitz  <poenitz@gmx.net>
862
863         * cursor_slice.[Ch]: add a few covienience functions
864
865         * funcrequest.[Ch]: remove BufferView * member
866
867         * BufferView_pimpl.C:
868         * cursor.C:
869         * factory.[Ch]:
870         * lyxfind.[Ch]:
871         * lyxfunc.C:
872         * lyxtext.h:
873         * text3.C:
874         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
875
876 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
877
878         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
879         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
880
881 2004-01-13  André Pönitz  <poenitz@gmx.net>
882
883         * textcursor.[Ch]:
884         * lyxtext.h: hide cursor and selection anchor behind accessor function
885
886         * BufferView.C:
887         * BufferView_pimpl.[Ch]:
888         * PosIterator.C:
889         * bufferview_funcs.C:
890         * cursor.h:
891         * lyxfind.C:
892         * lyxfunc.C:
893         * text.C:
894         * text2.C:
895         * text3.C:
896         * undo.C: adjust
897
898         * cursor.h:
899         * cursor_slice.[Ch]: some integer type changes for inset unification
900
901         * lyxcursor.[hC]: remove, it's CursorSlice now.
902
903         * Makefile.am:
904         * BufferView_pimpl.[Ch]:
905         * bufferview_funcs.C:
906         * cursor_slice.C:
907         * lyxtext.h:
908         * text.C:
909         * text2.C:
910         * text3.C:
911         * textcursor.[Ch]: adjust
912
913 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
914
915         * text2.C (undoSpan): add and use
916         * text.C (breakParagraph): use undoSpan (fix bug 578)
917         * lyxtext.h: adjust
918
919 2004-01-08  Angus Leeming  <leeming@lyx.org>
920
921         * BufferView_pimpl.C (MenuInsertLyXFile):
922         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
923         * lyxfunc.C (menuNew, open, doImport):
924         FileFilterList change to the FileDialog open and save functions.
925
926 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
927
928         * ShareContainer.h: make isEqual and isUnique adaptable
929
930         * CutAndPaste.C: make resetOwnerAndChanges adaptable
931
932 2004-01-07  Angus Leeming  <leeming@lyx.org>
933
934         * LyXAction.C:
935         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
936
937         * BufferView_pimpl.C (dispatch): act on these LFUNs.
938
939         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
940         functions replacing find, replace and replaceAll.
941
942         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
943         LFUN_WORDFIND(FORWARD|BACKWARD).
944
945 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * text.C (breakParagraph): remove an outdated #warning
948
949 2004-01-07  André Pönitz  <poenitz@gmx.net>
950
951         * lyxfind.C: somewhat clearer logic
952
953         * text.C: prevent crash in cursorX on unitialized row cache
954
955 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
956
957         * lyxcursor.[Ch] (operator>): add
958         * textcursor.C (selStart, selEnd): use std::min and std::max
959
960 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
961
962         * Chktex.C: include boost/format.hpp
963
964 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
965
966         * InsetList.C: replace functor MathcIt with adaptable functor
967         InsetTablePosLess
968         (insetIterator): modify accordingly
969
970         * BranchList.h: move the BranchNamesEqual functor here from...
971         * BranchList.C: ... to here
972
973         * BranchList.C: new BranchListEqual fuctor, use it. Remove
974         SameName and match.
975         (add): replace a finding loop with std::find_if.
976
977 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
978
979         * output_docbook.C: moving LatexParam functionality into
980         .layout files
981
982 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
983
984         * buffer.C: increment format to 229.
985
986 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
987
988         * LaTeXFeatures.C:
989         * lyx_sty.[Ch]: remove minipageindent_def
990
991         * LyXAction.C:
992         * factory.C:
993         * lfuns.h:
994         * lyxfunc.C:
995         * text3.C: remove LFUN_INSET_MINIPAGE
996
997 2003-12-28  Angus Leeming  <leeming@lyx.org>
998
999         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1000
1001 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1002
1003         * text2.C (setParagraph): fix off-by-one crash
1004
1005 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1006
1007         * output_docbook.C: header stuff for AGU
1008
1009 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1010
1011         * text2.C (redoCursor): remove
1012         * text.C:
1013         * text3.C:
1014         * BufferView_pimpl.C: remove calls to redoCursor and
1015         setCursor(cursor.par(), cursor.pos()) all around
1016
1017 2003-12-15  Angus Leeming  <leeming@lyx.org>
1018
1019         * buffer.C: up the format to 228.
1020
1021 2003-12-15  André Pönitz  <poenitz@gmx.net>
1022
1023         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1024         slices
1025
1026         * Makefile.am:
1027
1028         * BufferView_pimpl.C:
1029         * cursor.[Ch]:
1030         * lyxcursor.[Ch]:
1031         * rowpainter.[Ch]:
1032         * lyxtext.h:
1033         * text.C:
1034         * text2.C:
1035         * text3.C: adjust
1036
1037 2003-12-15  Angus Leeming  <leeming@lyx.org>
1038
1039         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1040         than getFromGUIName to manipulate the color.
1041
1042 2003-12-14  Angus Leeming  <leeming@lyx.org>
1043
1044         * BranchList.[Ch]: minimize the API.
1045         (Branch::getBranch, getColor): now return a 'const &'.
1046         (Branch::setSelected) now returns a bool set to true if the
1047         selection status changes.
1048         (BranchList::clear, size, getColor, setColor, setSelected,
1049         allBranches, allSelected, separator): removed.
1050         (BranchList::find): new functions, returning the Branch with
1051         the given name.
1052         (BranchList::add, remove): return a bool indicating that
1053         the operation was successful.
1054
1055         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1056         new InsetBranch::isBranchSlected member function.
1057
1058         * LColor.[Ch]: mimimize the API.
1059         (fill): renamed as addColor and made private.
1060         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1061         versions of these functions taking a string arg have been removed.
1062
1063         * bufferparams.C (readToken):
1064         * lyxfunc.C (dispatch):
1065         * lyxrc.C (read): changes due to the altered BranchList and
1066         LColor APIs.
1067
1068         * factory.C (createInset, readInset): changes due to altered
1069         InsetBranch c-tor.
1070
1071 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1072
1073         * factory.C:
1074         * lyxfunc.C: remove insetminipage. "minipage-insert"
1075         now produces a frameless minipage box inset.
1076
1077 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1078
1079         * textcursor.[Ch] (selStart,selEnd): add new methods
1080         remove selection::start, end, use LyXCursor::operator<
1081         * lyxcursor.[Ch] (operator<): add
1082         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1083         * BufferView.[Ch] (unsetXSel): add
1084         * text2.C (clearSelection): use unsetXSel,adjust
1085         * text.C: adjust
1086         * text3.C: adjust
1087         * rowpainter.C: adjust
1088         * bufferview_funcs.C (put_selection_at): adjust
1089
1090 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1091
1092         * BufferView_pimpl.C: small coord. correction
1093
1094 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1095
1096         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1097         dragging over the splash screen.
1098
1099 2003-12-11  Angus Leeming  <leeming@lyx.org>
1100
1101         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1102         as it is now handled in LyXText::dispatch.
1103
1104         * text3.C (doInsertInset): remove a level of nesting.
1105
1106 2003-12-11  Angus Leeming  <leeming@lyx.org>
1107
1108         * factory.C (createInset): changes due to the changed interface to
1109         InsetCommandMailer::string2params.
1110
1111 2003-12-10  Angus Leeming  <leeming@lyx.org>
1112
1113         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1114         'dialog-show-new-inset <inset name>'
1115
1116 2003-12-10  Angus Leeming  <leeming@lyx.org>
1117
1118         * buffer.C: up the format to 227.
1119
1120         * factory.C: the box inset is now identified simply by 'Box'.
1121
1122 2003-12-10  Angus Leeming  <leeming@lyx.org>
1123
1124         * buffer.C: up the format to 226.
1125
1126         * factory.C: the note inset is now identified simply by 'Note'.
1127
1128 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1129
1130         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1131         when a pit is enough. Standarize a couple of loops.
1132
1133 2003-12-05  Angus Leeming  <leeming@lyx.org>
1134
1135         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1136         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1137         data to the re-worked "log" dialog.
1138
1139 2003-12-03  André Pönitz  <poenitz@gmx.net>
1140
1141         * PosIterator.C:
1142         * iterators.C:
1143         * lyxtext.h:
1144         * output_latex.C:
1145         * paragraph_funcs.C:
1146         * text.C:
1147         * text2.C: use Inset::getText instead of Inset::getParagraph
1148
1149 2003-12-03  André Pönitz  <poenitz@gmx.net>
1150
1151         * buffer.[Ch]:
1152         * lyxtext.h:
1153         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1154         InsetText::read() as LyXText::read()
1155
1156 2003-12-02  Angus Leeming  <leeming@lyx.org>
1157
1158         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1159         type. Add a comment in the implementation that the function uses
1160         the stream's bad() function rather than fail() as the std::streams
1161         would do.
1162
1163 2003-12-02  André Pönitz  <poenitz@gmx.net>
1164
1165         * lyxlex.[Ch]: make interface more similar to std::stream
1166
1167         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1168
1169 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1170
1171         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1172
1173 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1174
1175         * vspace.[Ch]: remove VSpace::NONE
1176
1177 2003-12-01  André Pönitz  <poenitz@gmx.net>
1178
1179         * buffer.[Ch]:
1180         * lyxtext.h: move ParagraphList member to LyXText
1181         rename LyXText::ownerParagraphs to LyXText::paragraph
1182
1183         * CutAndPaste.C:
1184         * bufferview_funcs.C:
1185         * iterators.[Ch]:
1186         * lyx_cb.C:
1187         * paragraph.C:
1188         * rowpainter.C:
1189         * tabular.C:
1190         * text.C:
1191         * text2.C:
1192         * text3.C: adjust
1193
1194         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1195
1196         * undo.C: fix cursor positioning
1197
1198 2003-12-01  John Levon  <levon@movementarian.org>
1199
1200         * BufferView_pimpl.C: fix a crash on exit with
1201         a buffer open
1202
1203 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1204
1205         * BranchList.C: fix setSelected() method.
1206
1207 2003-11-28  André Pönitz  <poenitz@gmx.net>
1208
1209         * ParagraphParameters.[Ch]:
1210         * ParameterStruct.h: remove space above/below from Paragraph to
1211          InsetVSpace
1212
1213         * BufferView_pimpl.C:
1214         * factory.C:
1215         * lyxfunc.C:
1216         * lyxtext.h:
1217         * output_latex.C:
1218         * paragraph.C:
1219         * paragraph_funcs.C:
1220         * rowpainter.[Ch]:
1221         * text.C:
1222         * text2.C:
1223         * text3.C: adjust
1224
1225 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1226
1227         * factory.C: Syntax change for CharStyles
1228
1229 2003-11-28  André Pönitz  <poenitz@gmx.net>
1230
1231         * BufferView.[Ch]:
1232         * BufferView.[Ch]:
1233         * buffer.[Ch]:
1234         * buffer.[Ch]: move LyXText member
1235
1236 2003-11-28  André Pönitz  <poenitz@gmx.net>
1237
1238         * BufferView.[Ch]: make LyXText * text a private member
1239
1240         * BufferView_pimpl.C:
1241         * cursor.C:
1242         * iterators.C:
1243         * lyx_cb.C:
1244         * lyxfind.C:
1245         * lyxtext.h:
1246         * rowpainter.[Ch]:
1247         * text.C:
1248         * text2.C:
1249         * undo.C: adjust
1250
1251         * output_plaintext.C: cleanup
1252
1253 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1254
1255         * buffer.C:
1256         * lyxtextclass.[Ch]: parametrize SGML document header
1257
1258 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1259
1260         * converter.[Ch]:
1261         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1262         getFlavor().
1263
1264 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1265
1266         * text2.C (setFont): rework using PosIterator (no more recursive)
1267         (setCharFont): no more needed
1268         (setLayout): no more selection cursors fiddling (done by redoCursor)
1269         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1270         destroy remaining ones)
1271
1272 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1273
1274         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1275         * lyxtext.h: ditto
1276         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1277         selection cursors
1278         * lyxfunc.C: adjust
1279         * text3.C: adjust + re-allow multi par depth changes
1280         * textcursor.C: simplify a bit
1281
1282 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1283
1284         * src/buffer.C:
1285         * src/lyxlayout.C:
1286         * src/lyxlayout.h:
1287         * src/lyxtext.h:
1288         * src/output_docbook.C:
1289         * src/output_latex.C:
1290         * src/paragraph.C:
1291         * src/paragraph.h:
1292         * src/sgml.C:
1293         * src/sgml.h:
1294         * src/text2.C: Introducing a number of tags parametrizing various
1295         XML formats that we may want to support
1296
1297 2003-11-25  André Pönitz  <poenitz@gmx.net>
1298
1299         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1300
1301         * lyxtext.h (leftMargin/rightMargin): simplify interface
1302
1303         * rowpainter.C:
1304         * text.C:
1305         * text2.C:
1306         * text3.C: adjust
1307
1308 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1309
1310         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1311         master file to any child files. Fixes bug 546.
1312
1313 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1314
1315         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1316
1317 2003-11-24  André Pönitz  <poenitz@gmx.net>
1318
1319         * rowpainter.C: simplification
1320
1321         * text2.C (updateCounters): remove call to redoParagraph on
1322         changed labels as this is far too expensive.
1323
1324 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1325
1326         * converter.C (convert): fix a crash: this function gets
1327         called with buffer == 0 from importer code.
1328
1329 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1330
1331         * text3.C (cursorPrevious): make sure that we do not compare
1332         iterators form different containers.
1333         (cursorNext): ditto
1334
1335         * rowpainter.C (paintSelection): make sure that we do not compare
1336         iterators from different containers.
1337
1338         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1339         iterators from different ParagraphList containers.
1340         [NEXT] ditto
1341
1342         * text2.C (LyXText): change order of initialization slightly
1343         (operator=): new function. copy all variables except cache_par_
1344         (moveUp): make sure that we do not compare iterators from
1345         different ParagraphList constainers.
1346         (moveDown): ditto
1347
1348         * text.C (firstPar): new function
1349         (lastPar): new function
1350         (endPar): new function
1351
1352         * lyxtext.h: move things around and group public functions, public
1353         variables, private functions, private variables
1354
1355 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1356
1357         * factory.C: change call to InsetERT constructor to avoid
1358         additional invocation of method status
1359         * text2.C (toggleInset): remove redundant update() call
1360         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1361         instead of a Bufferview pointer
1362
1363 2003-11-21  André Pönitz  <poenitz@gmx.net>
1364
1365         * rowpainter.C: simplification
1366
1367 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1368
1369         * text3.C (dispatch): make possible to extend a word/row selection
1370         with the mouse
1371
1372 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * lyxtext.h: x0_,y0_ -> xo_,yo_
1375         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1376         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1377         * rowpainter.C (paintRows): paint full paragraphs
1378
1379 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1380
1381         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1382         screen coordinates)
1383
1384 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1385
1386         * lyxtext.h: add x0_, y0_
1387         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1388         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1389
1390 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1391
1392         * text2.C (setCursorIntern): move the x_target update here *
1393         * text3.C: change some bv() to true/false in calls to
1394         cursorUp/Down/Right/Left
1395         * cursor.C: use helper function.
1396
1397 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1398
1399         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1400         * paragraph_funcs.[Ch]: correct comment
1401         * rowpainter.C: do not paint selections away from bv->cursor()
1402         Fix a long standing selection painting bug.
1403         * text3.C: generalize mouse-selection code to LyXTexts other that
1404         top one
1405         * textcursor.C: do not use y coords if we can use par offsets
1406
1407 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1408
1409         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1410         cursor position after e.g. inset insert)
1411
1412 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * lyxfind.C (replace): adjust to locking removal + some
1415         code simplification
1416
1417 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1418
1419         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1420         of the path
1421
1422 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1423
1424         * lyxlayout.[Ch]:
1425         * output_docbook.C: XML sanitation: new layout
1426         parameters InnerTag and CommandDepth
1427
1428 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1429
1430         * BufferView_pimpl.C:
1431         * factory.C:
1432         * text3.C: Fix the insertion and modification of button-style
1433         insets
1434
1435 2003-11-13  André Pönitz  <poenitz@gmx.net>
1436
1437         * InsetList.[Ch]: remove deleteLyXText
1438
1439         * paragraph.[Ch]: cache beginOfBody position
1440
1441         * Bidi.C:
1442         * text.C:
1443         * text2.C:
1444         * text3.C: remove superfluous update() calls
1445
1446         * vspace.C: cleanup
1447
1448 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1449
1450         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1451         * BufferView.C (fitLockedInsetCursor): remove
1452         * cursor.[Ch] (getDim): add
1453         * text.C (getRowNearY): add faster version
1454         * text3.C: remove some update calls
1455
1456 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1457
1458         * LaTeXFeatures.C:
1459         * LyXAction.C:
1460         * MenuBackend.C:
1461         * MenuBackend.h:
1462         * dispatchresult.h:
1463         * factory.C:
1464         * lfuns.h:
1465         * lyxfunc.C:
1466         * lyxtextclass.C:
1467         * lyxtextclass.h:
1468         * text3.C: The Character Style /XML short element patch.
1469
1470 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1471
1472         * text3.C:
1473         * factory.C: Small step to solving 'unable to insert some insets'
1474         problem
1475
1476 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1477
1478         * cursor.[Ch] (updatePos): new function for updating the y
1479         position of the tip inset
1480         * bufferview_funcs.C (put_selection_at):
1481         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1482
1483 2003-11-11  André Pönitz  <poenitz@gmx.net>
1484
1485         * text.C: remove big comment on invalid Paragraph pointers as it is
1486         not valid anymore
1487
1488 2003-11-11  André Pönitz  <poenitz@gmx.net>
1489
1490         * text_funcs.[Ch]: merge with ...
1491
1492         * text.C: ... this
1493
1494         * lyxtext.h:
1495         * text2.C:
1496         * text3.C: adjust
1497
1498         * Makefile.am: remove text_funcs.[Ch]
1499
1500 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1501
1502         * cursor.C (getPos): return absolute cached y coord
1503
1504         * BufferView_pimpl.C (fitCursor): new simplistic code
1505         (workAreaDispatch): add a fitCursor call
1506
1507 2003-11-10  André Pönitz  <poenitz@gmx.net>
1508
1509         * BufferView.[Ch]:
1510         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1511
1512 2003-11-10  André Pönitz  <poenitz@gmx.net>
1513
1514         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1515         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1516         indicate that the cursor needs to leave an inset
1517
1518         * lyxtext.h: remove inset locking
1519
1520         * cursor.[Ch]: re-implement functionality provided by inset locking
1521
1522         * BufferView.[Ch]:
1523         * BufferView_pimpl.[Ch]:
1524         * LyXAction.C:
1525         * bufferview_funcs.[Ch]:
1526         * factory.C:
1527         * funcrequest.[Ch]:
1528         * iterators.C:
1529         * lyx_cb.C:
1530         * lyxfind.C:
1531         * lyxfunc.C:
1532         * text.C:
1533         * text2.C:
1534         * text3.C:
1535         * undo.C: adjust
1536
1537 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1538
1539         * PosIterator.[Ch]: replace the stack with a vector, add inset
1540         accesor
1541         * iterators.[C]: adjust
1542
1543 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1544
1545         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1546         replaced
1547         * paragraph_funcs.C (readParToken): put the correct id in the
1548         error item, not the id of the top paragraph
1549
1550 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1551
1552         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1553         * bufferview_funcs.C (put_selection_at): use the above
1554
1555 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1556
1557         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1558
1559 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1560
1561         * output_linuxdoc.h:
1562         * output_plaintext.h:
1563         * output.h:
1564         * output_docbook.h: add #include statements
1565
1566 2003-11-05  José Matos  <jamatos@lyx.org>
1567
1568         * output_docbook.[Ch]:
1569         * output_latex.[Ch]:
1570         * output_linuxdoc.[Ch]:
1571         * output_plaintext.[Ch]: New files for output formats.
1572         * output.[Ch]: New file for helper functions.
1573
1574         * buffer.[Ch]:
1575         * paragraph_funcs.[Ch]: output functions moved to new files.
1576
1577         * outputparams.h: rename of latexrunparams.h
1578
1579         * LaTeX.[Ch]:
1580         * buffer.[Ch]:
1581         * bufferlist.[Ch]:
1582         * converter.[Ch]:
1583         * exporter.C:
1584         * paragraph.[Ch]:
1585         * paragraph_funcs.[Ch]:
1586         * paragraph_pimpl.[Ch]:
1587         * tabular.[Ch]: rename ascii to plaintext
1588         and LatexRunParams to OutputParams.
1589
1590 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1591
1592         * iterators.[Ch] (text): require bv argument
1593         * undo.C (recordUndo):
1594         * lyxfunc.C (dispatch):
1595         * bufferview_funcs.C (put_selection_at): adjust
1596
1597 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1598
1599         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1600
1601 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1602
1603         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1604         nestings
1605
1606 2003-11-04  André Pönitz  <poenitz@gmx.net>
1607
1608         * cursor.[Ch]: restructure
1609
1610         * BufferView.[Ch]:
1611         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1612
1613         * iterators.[Ch] (asCursor): remove
1614
1615         * lfuns.h: remove LFUN_INSET_EDIT
1616
1617         * lyxfunc.C:
1618         * tabular.C:
1619         * text.C:
1620         * text2.C:
1621         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1622
1623 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1624
1625         * lyxfind.[Ch]: complete overhaul
1626         * BufferView_pimpl.C:
1627         * lyxfunc.C: adjust
1628         * paragraph.[Ch] (insert): add
1629
1630 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1631
1632         * BufferView.[Ch]:
1633         * lyxtext.h:
1634         * text.C: remove dead spellcheck code
1635
1636 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1637
1638         * dispatchresult.h: add a val setter
1639
1640         * cursor.C (dispatch): use a tempvar for data_[i]
1641
1642 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1643
1644         * PosIterator.[Ch]: compile fix
1645
1646 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1647
1648         * text.C (cursorPar): deactivate the cursor cache
1649
1650 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1651
1652         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1653
1654 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1655
1656         * text3.C (dispatch): adjust for new DisptchResult semantics.
1657
1658         * lyxfunc.C (dispatch): handle update when return from
1659         Cursor::dispatch, adjust for new DispatchResult semantics.
1660
1661         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1662         DispatchResult(true) mean to not update. Add class functions for
1663         setting dispatched and update, as well as reading.
1664
1665         * cursor.C (dispatch): don't handle update here
1666
1667 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1668
1669         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1670         * trans_mgr.C: adjust
1671
1672         * paragraph_funcs.C (readParToken): exception safety
1673
1674         * lyxvc.h: store the vcs pointer in a scoped_ptr
1675         * lyxvc.C: adjust
1676
1677         * lyxsocket.C (serverCallback): exception safety
1678
1679         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1680
1681         * ispell.C (clone): make it return a auto_ptr
1682
1683         * factory.C (createInset): exception safety
1684         (readInset): exception safety
1685
1686         * bufferlist.C (newBuffer): exception safety
1687
1688         * Thesaurus.C (Thesaurus): use initialization for aik_
1689
1690         * MenuBackend.C (expandToc): exception safety.
1691
1692 2003-11-03  André Pönitz  <poenitz@gmx.net>
1693
1694         * buffer.C:
1695         * buffer.h:
1696         * bufferview_funcs.C: remove getInsetFromId()
1697
1698         * lyxcursor.[Ch]:
1699         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1700
1701         * lyxfunc.C:
1702         * text2.C:
1703         * text3.C: adjust
1704
1705 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1706
1707         * PosIterator.C (distance, advance): new
1708         * bufferview_funcs.[Ch] (put_selection_at): new
1709         * iterators.[Ch] (lockPath): new
1710
1711 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1712
1713         * iterators.[Ch] (asPosIterator): added
1714         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1715         * PosIterator.[Ch]: added
1716
1717 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1718
1719         * text3.C:
1720         * lyxfunc.C:
1721         * cursor.C (dispatch):
1722         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1723
1724         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1725         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1726         contructor, add a class function dispatched. Remove operator>=
1727
1728 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1729
1730         * debug.C: only use the default constructor for debugstream
1731         (lyxerr) here.
1732
1733         * main.C (main): include debug.h and setup the lyxerr streambuf
1734         here.
1735
1736 2003-10-31  José Matos  <jamatos@lyx.org>
1737
1738         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1739
1740         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1741         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1742         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1743         * paragraph_pimpl.C (simpleTeXSpecialC):
1744         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1745         add LatexRunParams argument.
1746
1747         * exporter.C (Export): change call accordingly.
1748
1749         * latexrunparams.h: add new member to take care of the other backends.
1750 2003-10-30  José Matos  <jamatos@lyx.org>
1751
1752         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1753         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1754         factorise code for paragraph output.
1755         * buffer.[Ch]:
1756         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1757         move functions.
1758
1759 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1760
1761         * text3.C (dispatch):
1762         * lyxfunc.C (dispatch):
1763         * cursor.C (dispatch):
1764         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1765
1766         * dispatchresult.h: make the dispatch_result_t ctor explicit
1767
1768 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1769
1770         * sgml.[Ch]:
1771         * buffer.C: small refactoring of docbook stuff
1772
1773 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1774
1775         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1776         meaning.
1777
1778 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1779
1780         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1781         operator dispatch_result_t, and operators for == != and >=
1782
1783         * cursor.C (dispatch): adjust for operator dispatch_result_t
1784         removal. comment out call to update
1785
1786         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1787
1788 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1789
1790         * text3.C:
1791         * text2.C:
1792         * text.C:
1793         * lyxtext.h:
1794         * lyxfunc.C:
1795         * cursor.C:
1796         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1797         (dispatch):
1798
1799         * dispatchresult.h: new file, DispatchResult broken out of
1800         insets/insetbase.h
1801
1802         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1803
1804 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1805
1806         * text.C (rowBreakPoint): put a hack inside #if 0
1807
1808 2003-10-28  André Pönitz  <poenitz@gmx.net>
1809
1810         * lyxtext.h:
1811         * metricsinfo.C:
1812         * paragraph_funcs.C:
1813         * rowpainter.C:
1814         * text.C:
1815         * text2.C: general cleanup (lots of small stuff)
1816
1817 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1818
1819         * text2.C (cursorEnd): simple fix to the "end key goes to one
1820         before the end on last row" bug
1821
1822 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1823
1824         * text.C (backspace): fix the "zombie characters"
1825
1826 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1827
1828         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1829
1830 2003-10-27  André Pönitz  <poenitz@gmx.net>
1831
1832         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1833
1834         * factory.C: handle new InsetPagebreak, InsetLine
1835
1836         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1837         and move handling into new InsetPagebreak, InsetLine
1838
1839         * BufferView_pimpl.C:
1840         * LyXAction.C:
1841         * ParagraphParameters.C:
1842         * ParameterStruct.h:
1843         * lyxfunc.C:
1844         * lyxtext.h:
1845         * paragraph.C:
1846         * paragraph.h:
1847         * paragraph_funcs.C:
1848         * paragraph_pimpl.C:
1849         * rowpainter.C:
1850         * text.C:
1851         * text2.C:
1852         * text3.C: adjust
1853
1854 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1855
1856         * text.C:
1857         * lyxrow_funcs.[Ch]:
1858         * Bidi.C:
1859         * paragraph.C:
1860         * lyxtext.h:
1861         * rowpainter.C:
1862         * text2.C:
1863         * text3.C: remove lastPos uses in favour of Row::endpos
1864
1865 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1866
1867         * undo.C (performUndoOrRedo): fix two crashes by setting a
1868         cursor by hand and reordering some calls. Use bv->lockInset instead
1869         of inset->edit because the latter loses cursor information
1870
1871 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1872
1873         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1874         by Martin
1875         (rowBreakPoint): fix width. change point to point + 1.
1876         Add a missing check.
1877
1878 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1879
1880         * MenuBackend.C:
1881         * lyxfunc.C: fix (at least partly) the problems
1882         with the Nav menu and headers inside branch insets
1883         reported by Kayvan
1884
1885 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1886
1887         * paragraph.C (getChar): add strong asserts
1888
1889         * lyxrow_funcs.C (lastPos): remove hideous hack
1890
1891         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1892         (fill): adjust to that (avoid an infinite loop)
1893
1894 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1895
1896         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1897
1898 2003-10-23  André Pönitz  <poenitz@gmx.net>
1899
1900         * RowList_fwd.h: change list<> to vector<> to gain speed
1901         after suggestion from Alfredo
1902
1903 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1904
1905         * lyxtext.h: move the bidi stuff from here...
1906         * text.C: and here
1907         * text2.C: and here
1908         * Bidi.[Ch]: ... to here
1909
1910 2003-10-23  André Pönitz  <poenitz@gmx.net>
1911
1912         * lyxtext.h:
1913         * text.C (isLastRow, isFirstRow): new functions
1914
1915         * paragraph.h: new width cache member
1916
1917         * rowpainter.C: replace RowList::iterator with Row & where possible
1918
1919         * lyxfunc.C: replace several view()->text with a single call
1920
1921         * toc.C: fix 'unused' warning
1922
1923 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1924
1925         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1926         when woring with stream::pos_type
1927         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1928
1929 2003-10-22  André Pönitz  <poenitz@gmx.net>
1930
1931         * lyxtext.h:
1932         * text.C: use Row & instead of RowList::iterator
1933
1934         * lyxrow.h: rename end() to endpos()
1935
1936         * rowpainter.C:
1937         * text.C:
1938         * text2.C: adjust
1939
1940 2003-10-22  Angus Leeming  <leeming@lyx.org>
1941
1942         * buffer.[Ch] (fully_loaded): new member function, returning true
1943         only when the file has been loaded fully.
1944         Used to prevent the premature generation of previews and by the
1945         citation inset to prevent computation of the natbib-style label.
1946
1947         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1948         templates are all set up.
1949
1950         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1951
1952 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1953
1954         * text.C: fixed an "oops" in the "is a bit silly"
1955         bug fix
1956
1957 2003-10-21  André Pönitz  <poenitz@gmx.net>
1958
1959         * FuncStatus.[Ch]: small stuff, whitespace
1960
1961         * lyxfont.[Ch]: operator<<() for debug reasons
1962
1963         * lyxfunc.C:
1964         * lyxrow_funcs.C:
1965         * lyxtext.h: whitespace, spelling
1966
1967         * paragraph.C: naming of variables
1968
1969         * text.C:
1970         * text2.C: small stuff
1971
1972
1973 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1974
1975         * text.C: (1) finish off the inset display() work;
1976         (2) fix the "is a bit silly" bug (accessing char
1977         past end of par).
1978
1979 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1980
1981         * text.C: re-introduce display() for insets, fixing the
1982         various bugs (stretch of line above, math inset
1983         positioning, ...)
1984
1985 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1986
1987         * text.C (rightMargin): remove spurious semicolon
1988
1989         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1990         1415)
1991
1992 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1993
1994         * text3.C: fix one crash due to wrong cursor def
1995
1996 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1997
1998         * vc-backend.C (scanMaster): make the regex static
1999
2000         * LaTeX.C (scanAuxFile): make the regexs static
2001
2002         * text3.C (doInsertInset, dispatch, dispatch):
2003         * text2.C (cursorUp, cursorDown):
2004         * text.C (selectNextWordToSpellcheck):
2005         * BufferView_pimpl.C (dispatch):
2006         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2007
2008 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2009
2010         * lyxsocket.C: include <cerrno>
2011
2012 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2013
2014         * lyxfunc.C (dispatch): remove textcache stuff
2015
2016         * bufferlist.C (release): remove textcache stuff
2017         (closeAll): ditto
2018
2019         * TextCache.C: delete file
2020         * TextCache.h: delete file
2021
2022         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2023
2024         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2025         delete of the bv_->text.
2026         (resizeCurrentBuffer): remove texcache stuff
2027         (workAreaResize): ditto
2028
2029 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2030
2031         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2032         action.
2033
2034 2003-10-16  André Pönitz  <poenitz@gmx.net>
2035
2036         * lyxrow.[Ch]:
2037         * paragraph.h:
2038         * rowpainter.C:
2039         * text.C:
2040         * text2.C:
2041         * text3.C: speed up by storing y positions per paragraph plus per-row
2042         offset instead of having a 'full' y position in the row.
2043
2044 2003-10-15  André Pönitz  <poenitz@gmx.net>
2045
2046         * iterators.[Ch]:
2047         * iterators.[Ch]:
2048         * undo.[Ch]: make undo aware of inner insets
2049
2050 2003-10-14  Angus Leeming  <leeming@lyx.org>
2051
2052         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2053         static member functions LyX::ref() and LyX::cref.
2054         (lastfiles): new accessor functions for the new lastfiles_ member var.
2055         (addLyXView, views_): add a new LyXView to the list of views_.
2056         (updateInset): loop over all LyXViews to call their own updateInset
2057         member function, returning a pointer to the Buffer owning the inset.
2058
2059         * BufferView_pimpl.C (loadLyXFile):
2060         * MenuBackend.C (expandLastfiles):
2061         * bufferlist.C (MenuWrite, QuitLyX):
2062         lastfiles is no longer a global variable.
2063         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2064
2065         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2066         static function. Access through LyX::cref().emergencyCleanup().
2067
2068 2003-10-14  André Pönitz  <poenitz@gmx.net>
2069
2070         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2071
2072         * undo.[Ch]: restoring part of 'undo in insets'
2073
2074         * Makefile.am:
2075         * undo_funcs.[Ch]: merge with undo.[Ch]
2076
2077         * tabular.C: small cleansing stuff
2078
2079 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2080
2081         * paragraph_funcs.C (readParToken): report unknown insets as error
2082         boxes. Use the outer paragraph as location (also for unknown
2083         tokens).
2084
2085         * factory.C (readInset): do not abort on reading an unknown inset.
2086         Eat it and return 0.
2087
2088 2003-10-13  Angus Leeming  <leeming@lyx.org>
2089
2090         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2091
2092         * lyxrc.C: displayTranslator is now a function,
2093         declared in GraphicsTypes.h.
2094
2095 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2096
2097         * format.C: new placeholder $$a to pass the socket address.
2098
2099         * bufferlist.[Ch]: new function getBufferFromTmp.
2100
2101         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2102           files in the temporary dir.
2103
2104 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2105
2106         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2107
2108         * Makefile.am: add lyxsocket.[Ch].
2109
2110         * lyx_main.C (error_handler): handle SIGPIPE.
2111
2112 2003-10-13  André Pönitz  <poenitz@gmx.net>
2113
2114         * BufferView_pimpl.C:
2115         * lyxtext.h:
2116         * text.C:
2117         * text2.C:
2118         * text3.C:
2119         * undo_funcs.[Ch]: use paroffset_type instead of
2120           ParagraphList::iterators to prevent multiple conversion
2121           (and get a more robust interface)
2122
2123 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2124
2125         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2126         * lyxtext.h: ditto
2127         * text3.C (dispatch): ditto
2128
2129 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2130
2131         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2132         move the onlyfile, use onlyfile instead of foundfile in a couple
2133         of places.
2134
2135         * DepTable.C (update): flush the error stream a bit more
2136
2137 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2138
2139         * lyxserver.C (callback): adjust
2140
2141         * lyxfunc.C (getStatus): add a missing brace in commented code
2142         (ensureBufferClean): reindent
2143         (dispatch): delete version taking a string
2144
2145 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2146
2147         * LaTeX.C (deplog): move found file handlig from here...
2148         (handleFoundFile): .. to new function here.
2149         (deplog): make sure to discover several files mentioned on the
2150         same log line.
2151
2152 2003-10-10  André Pönitz  <poenitz@gmx.net>
2153
2154         * lyxfunc.C:
2155         * lyxtext.h:
2156         * tabular.C:
2157         * text.C:
2158         * text2.C:
2159         * text3.C: fix some of the tabular crashes
2160
2161 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2162
2163         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2164
2165         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2166
2167 2003-10-09  André Pönitz  <poenitz@gmx.net>
2168
2169         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2170
2171         * BufferView.C:
2172         * BufferView_pimpl.C:
2173         * bufferview_funcs.C:
2174         * lyx_cb.C:
2175         * lyxcursor.C:
2176         * lyxfind.C:
2177         * lyxfunc.C:
2178         * lyxtext.h:
2179         * text.C:
2180         * text2.C:
2181         * text3.C:
2182         * text_funcs.[Ch]:
2183         * textcursor.[Ch]:
2184         * undo_funcs.C: adjust
2185
2186 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2187
2188         * text2.C (incrementItemDepth): new function, use a backtracking
2189         algorithm to discover the correct item depth.
2190         (resetEnumCounterIfNeeded): new function, use a backtracking
2191         algorithm to discover if counter reset is needed.
2192         (setCounter): use them. Simplify a bit. Add different labels for
2193         different item depths for itemize.
2194
2195         * paragraph.C (Paragraph): remove initialization of enumdepth
2196         (operator=): ditto
2197
2198         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2199         enumerate and itemize. Change the type of itemdepth to signed char.
2200
2201 2003-10-08  André Pönitz  <poenitz@gmx.net>
2202
2203         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2204           thing assignable.
2205         * text.C:
2206         * text2.C: adjust
2207
2208         * tabular.[Ch]: fix crash after 'row-insert'
2209
2210 2003-10-08  Angus Leeming  <leeming@lyx.org>
2211
2212         Fix doxygen warnings.
2213
2214         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2215         Remove CutAndPaste:: prefix from header file declaration.
2216
2217         * LColor.h (fill): remove LColor:: prefix from declaration.
2218
2219         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2220         use lyx::depth_type rather than Paragraph::depth_type so that
2221         header file and .C file match.
2222
2223         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2224
2225         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2226         * aspell.C: \file aspell_local.C -> \file aspell.C
2227         * gettext.C: \file gettext.C -> \file src/gettext.C
2228         * gettext.h: \file gettext.h -> \file src/gettext.h
2229         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2230         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2231         * text.C: \file text.C -> \file src/text.C
2232
2233         * toc.C: move comment so that doxygen is not confused.
2234
2235 2003-10-07  Angus Leeming  <leeming@lyx.org>
2236
2237         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2238
2239 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2240
2241         * aspell.C:
2242         * aspell_local.h: add forgotten std::string's.
2243
2244 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2245
2246         * LaTeXFeatures.C:
2247         * LyXAction.C:
2248         * factory.C:
2249         * lfuns.h:
2250         * lyxfunc.C:
2251         * text3.C: The Box patch. Fancybox support, minipage, parbox
2252
2253 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2254
2255         * CutAndPaste.h:
2256         * DepTable.h:
2257         * FloatList.h:
2258         * LaTeXFeatures.h:
2259         * ParagraphParameters.h:
2260         * TextCache.h:
2261         * Thesaurus.h:
2262         * bufferlist.h:
2263         * exporter.h:
2264         * importer.h:
2265         * lastfiles.h:
2266         * lyxfind.h:
2267         * lyxfont.h:
2268         * lyxlex.h:
2269         * lyxtextclasslist.h:
2270         * messages.h:
2271         * paragraph.h:
2272         * paragraph_pimpl.C:
2273         * textcursor.h: add <string> and other small fixes to make Lars'
2274         std::string patch compile with STLport.
2275
2276 2003-10-06  Angus Leeming  <leeming@lyx.org>
2277
2278         * LColor.h: Add missing #include <string>.
2279
2280 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2281
2282         * All most all file in all subdirs: Make <string> be the prefered
2283         way of getting to std::string, add using declarations.
2284
2285 2003-10-06  André Pönitz  <poenitz@gmx.net>
2286
2287         * metricsinfo.C: initialize LyXFont before changing attribute.
2288         (fixes the 'math in \emph is upright' bug)
2289
2290 2003-10-06  André Pönitz  <poenitz@gmx.net>
2291
2292         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2293
2294 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2295
2296         * graph.C:
2297         * paragraph_pimpl.C: Small fixes to build using STLport
2298
2299 2003-10-02  André Pönitz  <poenitz@gmx.net>
2300
2301         * lyxfunc.C:
2302         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2303
2304 2003-10-01  André Pönitz  <poenitz@gmx.net>
2305
2306         * factory.C: assert early
2307
2308 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2309
2310         * lyx_main.C: remove the global debug object
2311
2312         * debug.h: adjust for new debugstream
2313
2314         * debug.C: adjust for new debugstream and keep the global debug
2315         object here.
2316
2317 2003-09-22  Angus Leeming  <leeming@lyx.org>
2318
2319         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2320         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2321         an incomplete class LyXFont.
2322
2323 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2324
2325         * factory.C: bug fix in branches
2326
2327 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2328
2329         * lyxfunc.C (processKeySym): adjust
2330         (dispatch): adjust
2331         (dispatch): change arg name from ev to func, adjust
2332         (sendDispatchMessage): ditto
2333
2334         * lyx_main.C (defaultKeyBindings): adjust keybindings
2335         (deadKeyBindings): ditto
2336
2337         * kbsequence.C (addkey): return a FuncRequest
2338
2339         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2340
2341         * kbmap.C (bind): take a FuncRequest as arg, adjust
2342         (read): adjust
2343         (lookup): adjust
2344         (defkey): change to take a FuncRequest as arg, adjust
2345         (findbinding): take a FuncRequest as arg, adjust.
2346
2347         * funcrequest.h (operator=): added
2348
2349         * funcrequest.C (FuncRequest): default kb_action changed from
2350         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2351
2352         * buffer.C (dispatch): simplify
2353         (dispatch): adjust to take a FuncRequest as arg, adjust
2354
2355         * boost.C (assertion_failed): change assertion message slightly
2356
2357         * ToolbarBackend.C (read): simplify
2358
2359         * MenuBackend.C (binding): adjust call to findbinding, add a
2360         message if no binding is found.
2361         (read): simplify
2362         (expandToc): correct by adding a empty FuncRequest
2363
2364         * LyXAction.C: include <boost/assert.hpp>
2365         (isPseudoAction): delete function
2366         (LookupFunc): change name to...
2367         (lookupFunc): this. change return type to FuncRequest.
2368         (getActionName): take kb_action as arg, simplify
2369         (funcHasFlag): add an assert, simplify.
2370
2371 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2372
2373         * toc.C (action): return a FuncRequest, simplify
2374
2375         * lyxfunc.C (processKeySym): adjust
2376         (getStatus): delete version that takes an int.
2377         (getStatus): adjust
2378         (dispatch): delete version that takes action as int
2379         (dispatch): adjust
2380         (sendDispatchMessage): simplify and adjust
2381
2382         * funcrequest.C (getArg): take unsigned int as arg
2383
2384         * ToolbarBackend.C (read): adjust
2385         (add): delete version that takes func as a string.
2386         (getIton): take a FuncRequest as arg
2387
2388         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2389         action.
2390
2391         * MenuBackend.C (MenuItem): add a new construct that only takes a
2392         Kind, simplify the constructor use for submenus.
2393         (add): adjust
2394         (expandLastfiles): adjust
2395         (expandDocuments): adjust
2396         (expandFormats): adjust
2397         (expandFloatListInsert): adjust
2398         (expandFloatInsert): adjust
2399         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2400
2401         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2402         Remove class variables lyx_pseudo_map and lyx_arg_map
2403
2404         * LyXAction.C (searchActionArg): delete function
2405         (getPseudoAction): delete function
2406         (retrieveActionArg): delete function
2407         (LookupFunc): make it return kb_action, simplify.
2408         (getActionName): simplify
2409
2410         * factory.C (createInset): fix new bug
2411
2412 2003-09-19  Angus Leeming  <leeming@lyx.org>
2413
2414         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2415         masterFilename_ parameter in the include inset.
2416
2417         * factory.C (createInset): changes due to the changes to InsetInclude.
2418
2419 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2420
2421         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2422
2423 2003-09-18  Angus Leeming  <leeming@lyx.org>
2424
2425         * buffer.C:
2426         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2427         Inset::fillWithBibKeys.
2428         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2429
2430 2003-09-18  Angus Leeming  <leeming@lyx.org>
2431
2432         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2433         variables.
2434         (ctor): pass and store a 'Buffer const &'
2435         (buffer): new member function.
2436
2437         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2438         '*this' to the LaTeXFeatures ctor.
2439
2440 2003-09-18  Angus Leeming  <leeming@lyx.org>
2441
2442         * LColor.h:
2443         * lyxfont.C:
2444         * lyxfont.h:
2445         * lyxtext.h:
2446         * text.C: rename EnumLColor as LColor_color.
2447
2448 2003-09-18  Angus Leeming  <leeming@lyx.org>
2449
2450         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2451         remove #include "insets/insetbase.h" from cursor.h.
2452
2453 2003-09-18  Angus Leeming  <leeming@lyx.org>
2454
2455         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2456         InsetOld_code to remove #include "inset.h".
2457
2458         * iterators.C: add #include "insets/inset.h"
2459
2460 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2461
2462         * BufferView.C: remove more locking stuff that apparently doesn't
2463         do anything sensible.
2464
2465 2003-09-16  André Pönitz  <poenitz@gmx.net>
2466
2467         * paragraph.[Ch]:
2468         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2469           performance boost.
2470
2471 2003-09-16  Angus Leeming  <leeming@lyx.org>
2472
2473         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2474
2475         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2476         arg/return type.
2477
2478         * paragraph.h: remove #include "lyxfont.h". Forward declare
2479         LyXFont_size.
2480
2481 2003-09-16  Angus Leeming  <leeming@lyx.org>
2482
2483         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2484         of support/textutils.h.
2485         (isWord): move the contents of support/textutils.h's IsWordChar here.
2486
2487         * buffer.C:
2488         * lyxfind.C:
2489         * rowpainter.C:
2490         * text.C:
2491         * text2.C: add #include "paragraph.h".
2492
2493         * rowpainter.C:
2494         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2495
2496 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2497
2498         * main.C:
2499         * lyx_main.C:
2500         * lyx_cb.C:
2501         * buffer.C:
2502         * LaTeX.C: use namespace alias for lyx::support::os
2503
2504 2003-09-16  Angus Leeming  <leeming@lyx.org>
2505
2506         * bufferparams.C:
2507         * bufferview_funcs.C:
2508         * factory.C:
2509         * lyxfunc.C:
2510         * paragraph_pimpl.C:
2511         * rowpainter.C:
2512         * text.C: add #include "LColor.h".
2513
2514 2003-09-16  Angus Leeming  <leeming@lyx.org>
2515
2516         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2517         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2518         return LyXFont &.
2519         Store the FontBits::color variable as an int rather than as an
2520         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2521         file.
2522
2523         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2524         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2525         string calls together.
2526
2527         * lyxrc.C: add #include "LColor.h".
2528
2529 2003-09-15  Angus Leeming  <leeming@lyx.org>
2530
2531         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2532         a cow_ptr.
2533
2534 2003-09-15  Angus Leeming  <leeming@lyx.org>
2535
2536         * LColor.h: add an EnumLColor wrapper for LColor::color.
2537
2538         * lyxfont.[Ch] (color, setColor, realColor):
2539         * lyxtext.h, text.C (backgroundColor):
2540         pass EnumLColor args to/from the functions, rather than LColor::color
2541         ones.
2542
2543         * lyxfont.h:
2544         * lyxtext.h: forward declare EnumLColor.
2545
2546         * lyx_main.C: add #include "LColor.h".
2547
2548 2003-09-15  Angus Leeming  <leeming@lyx.org>
2549
2550         * .cvsignore: add lyx-gtk.
2551
2552 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2553
2554         * Chktex.C
2555         * LaTeX.C
2556         * LaTeXFeatures.C
2557         * ParagraphParameters.C
2558         * Spacing.C
2559         * buffer.C
2560         * bufferparams.C
2561         * bufferview_funcs.C
2562         * chset.C
2563         * counters.C
2564         * funcrequest.C
2565         * lyxfont.C
2566         * lyxgluelength.C
2567         * lyxlength.C
2568         * paragraph.C
2569         * paragraph_funcs.C
2570         * text3.C
2571         * vc-backend.C: remove usage of STRCONV
2572
2573 2003-09-15  Angus Leeming  <leeming@lyx.org>
2574
2575         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2576         explicitly define the color passed to the painter.
2577
2578 2003-09-15  Angus Leeming  <leeming@lyx.org>
2579
2580         * bufferparams.C (BufferParams): reorder member initializers to avoid
2581         compiler warning.
2582
2583 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2584
2585         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2586         * text.C (updateRowPositions): remove an unusual nop
2587
2588 2003-09-12  André Pönitz  <poenitz@gmx.net>
2589
2590         * BufferView_pimpl.C:
2591         * Bullet.C:
2592         * layout.h:
2593         * lyxfunc.C:
2594         * lyxlayout.[Ch]:
2595         * lyxtextclass.C:
2596         * rowpainter.C:
2597         * text.C:
2598         * text2.C:
2599         * Counters.[Ch]: finish the 'automatic counters' job
2600
2601 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2602
2603         * aspell.C: include <boost/assert.cpp> (compile fix)
2604
2605 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2606
2607         * boost.C (assertion_failed): use lyx::support::abort instead of
2608         assert.
2609
2610 2003-09-10  Angus Leeming  <leeming@lyx.org>
2611
2612         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2613         with their _fwd progeny.
2614
2615 2003-09-09  Angus Leeming  <leeming@lyx.org>
2616
2617         134 files throughtout the source tree: replace 'using namespace abc;'
2618         directives with the appropriate 'using abc::xyz;' declarations.
2619
2620 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2621
2622         * boost.C (emergencyCleanup): moved here from LAssert.c
2623         (assertion_failed): new function, called by BOOST_ASSERT
2624
2625         * several files: change Assert to BOOST_ASSERT
2626
2627 2003-09-09  Angus Leeming  <leeming@lyx.org>
2628
2629         * buffer.[Ch]: Add an Impl class and move Buffer's member
2630         variables into it. As a result move several header files out of
2631         buffer.h.
2632
2633         Add header files to lots of .C files all over the tree as a result.
2634
2635 2003-09-09  Angus Leeming  <leeming@lyx.org>
2636
2637         * buffer.[Ch]: make Buffer's member variables private. Add
2638         accessor functions.
2639
2640         Lots of changes all over the tree as a result.
2641
2642 2003-09-08  Angus Leeming  <leeming@lyx.org>
2643
2644         * graph.C: #include <config.h>.
2645
2646 2003-09-08  Angus Leeming  <leeming@lyx.org>
2647
2648         * BranchList.C:
2649         * BufferView.C:
2650         * BufferView_pimpl.C:
2651         * CutAndPaste.C:
2652         * DepTable.C:
2653         * LaTeX.C:
2654         * LaTeXFeatures.C:
2655         * LyXAction.C:
2656         * MenuBackend.C:
2657         * TextCache.C:
2658         * aspell.C:
2659         * buffer.C:
2660         * bufferlist.C:
2661         * changes.C:
2662         * chset.C:
2663         * converter.C:
2664         * counters.C:
2665         * debug.C:
2666         * graph.C:
2667         * ispell.C:
2668         * lyx_cb.C:
2669         * lyxfind.C:
2670         * lyxfunc.C:
2671         * lyxlex_pimpl.C:
2672         * lyxrc.C:
2673         * lyxrow.C:
2674         * paragraph.C:
2675         * rowpainter.C:
2676         * texrow.C:
2677         * text.C:
2678         * text2.C:
2679         * toc.C: remove redundant using directives.
2680
2681 2003-09-07  Angus Leeming  <leeming@lyx.org>
2682
2683         * LaTeXFeatures.h: remove #include "support/types.h".
2684         * ToolbarBackend.h: remove #include <algorithm>.
2685         * changes.h: remove #include <ctime>.
2686         * debug.h: remove #include <iosfwd>.
2687         * graph.h: remove #include "support/std_string.h".
2688         * lyx_main.h: remove #include <csignal>.
2689         * lyxlex_pimpl.h: remove #include <fstream>.
2690         * sgml.h: remove #include <algorithm>, <utility>.
2691         * toc.h: remove #include "support/std_ostream.h".
2692         Add #include <iosfwd>.
2693
2694 2003-09-07  Angus Leeming  <leeming@lyx.org>
2695
2696         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2697
2698         * converter.h: forward declare LatexRunParams.
2699         * encoding.h: remove #include "lyxrc.h".
2700         * lyxtext.h: remove #include "LColor.h".
2701         * lyxtextclass.h: remove #include "support/types.h".
2702         * trans.h: remove #include "tex-accent.h".
2703         * trans_mgr.h: remove #include "tex-accent.h".
2704         * insets/inset.h: remove #include "support/types.h", <vector>.
2705         * insets/insetcollapsable.h: remove #include "LColor.h".
2706         * insets/insetinclude.h: remove #include "dimension.h".
2707         * insets/insetlatexaccent.h: remove #include "dimension.h".
2708         * insets/insetoptarg.h:: remove #include "insettext.h".
2709         * insets/insettext.h: remove #include "dimension.h",
2710         <boost/shared_ptr.hpp>
2711
2712         * insets/renderers.h: add #include "dimension.h".
2713         * insets/updatableinset.h: add #include "support/types.h".
2714
2715         * many .C files: Associated changes.
2716
2717 2003-09-06  Angus Leeming  <leeming@lyx.org>
2718
2719         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2720         one, inside testInvariant.
2721
2722         * PrinterParams.C: new file.
2723         * PrinterParams.[Ch]: move the function bodies out of line.
2724
2725 2003-09-06  Angus Leeming  <leeming@lyx.org>
2726
2727         * ParagraphParameters.h: forward declare ParameterStruct rather than
2728         including its header file.
2729         (depth): moved out-of-line.
2730
2731 2003-09-06  Angus Leeming  <leeming@lyx.org>
2732
2733         * BufferView_pimpl.h:
2734         * kbmap.h:
2735         * kbsequence.h:
2736         * lyxfunc.h: forward declare LyXKeySym rather than
2737         #include "frontends/LyXKeySym.h".
2738
2739         * BufferView_pimpl.C:
2740         * kbmap.C:
2741         * kbsequence.C:
2742         * lyxfunc.C: associated changes.
2743
2744 2003-09-06  Angus Leeming  <leeming@lyx.org>
2745
2746         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2747         As a result, can remove the #include "insets/inset.h" from BufferView.h
2748
2749 2003-09-06  Angus Leeming  <leeming@lyx.org>
2750
2751         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2752         As a result, can remove the #include "insets/inset.h" from BufferView.h
2753
2754 2003-09-06  Angus Leeming  <leeming@lyx.org>
2755
2756         * buffer_funcs.C:
2757         * buffer.h:
2758         * bufferlist.C:
2759         * BufferView.C:
2760         * bufferview_funcs.C:
2761         * BufferView_pimpl.C:
2762         * CutAndPaste.C:
2763         * lyx_cb.C:
2764         * lyxfunc.C:
2765         * paragraph.h:
2766         * ParagraphParameters.C:
2767         * tabular.C:
2768         * text3.C:
2769         * toc.C:
2770         * undo_funcs.C:
2771         * frontends/controllers/ControlDocument.C:
2772         * insets/insetcaption.C: rearrange the #includes into some sort of
2773         coherent order.
2774
2775         * buffer.h: remove #includes ErrorList.h, undo.h
2776
2777 2003-09-06  Angus Leeming  <leeming@lyx.org>
2778
2779         * support/types.h: add a 'depth_type' typedef, used to store the
2780         nesting depth of a paragraph.
2781
2782         * paragraph.h:
2783         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2784         defining explicitly.
2785
2786         * buffer.h:
2787         * paragraph_funcs.h:
2788         * ParagraphParameters.h:
2789         * sgml.h: use lyx::depth_type rather than Paragraph or
2790         ParameterStruct's depth_type.
2791
2792         * buffer.h
2793         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2794
2795         * BufferView.C:
2796         * BufferView_pimpl.C:
2797         * CutAndPaste.C:
2798         * ParagraphParameters.C:
2799         * buffer_funcs.C:
2800         * bufferlist.C:
2801         * bufferview_funcs.C:
2802         * lyx_cb.C:
2803         * lyxfunc.C:
2804         * tabular.C:
2805         * text3.C:
2806         * toc.C:
2807         * undo_funcs.C:
2808         * frontends/LyXView.C:
2809         * frontends/controllers/ControlDocument.C:
2810         * frontends/controllers/ControlErrorList.C:
2811         * insets/insetbibitem.C:
2812         * insets/insetbranch.C:
2813         * insets/insetcaption.C:
2814         * insets/insetcollapsable.C:
2815         * insets/insetenv.C:
2816         * insets/insetert.C:
2817         * insets/insetfloat.C:
2818         * insets/insetfoot.C:
2819         * insets/insetfootlike.C:
2820         * insets/insetnewline.C:
2821         * insets/insetquotes.C:
2822         * insets/insettabular.C:
2823         * insets/insettext.C:
2824         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2825
2826         * frontends/controllers/ControlChanges.C: #include "changes.h".
2827
2828 2003-09-06  Angus Leeming  <leeming@lyx.org>
2829
2830         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2831         than #including paragraph.h.
2832
2833         * ParagraphList.h:
2834         * RowList.h: deleted. Superfluous.
2835
2836         * CutAndPaste.h:
2837         * iterators.h:
2838         * lyxcursor.h:
2839         * lyxtext.h:
2840         * text_funcs.h:
2841         * undo.h:
2842         * undo_funcs.h:
2843         * insets/inset.h:
2844         * insets/insettext.h: use ParagraphList_fwd.h rather than
2845         ParagraphList.h.
2846
2847         * paragraph.h: don't forward declare ParagraphList.
2848
2849         * buffer.h:
2850         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2851         rather than ParagraphList.h. paragraph.h is still needed for the
2852         Paragraph::depth_type parameters.
2853
2854         * textcursor.h: enable it to compile stand-alone in light of the
2855         above changes.
2856
2857         * bufferview_funcs.C:
2858         * iterators.C:
2859         * lyxfunc.C:
2860         * lyxrow_funcs.C:
2861         * paragraph.C:
2862         * rowpainter.C:
2863         * text.C:
2864         * text2.C:
2865         * text3.C:
2866         * text_funcs.C:
2867         * textcursor.C:
2868         * undo.C:
2869         * frontends/controllers/ControlParagraph.C:
2870         * frontends/controllers/ControlTabular.C:
2871         * insets/insetmarginal.C:
2872         * insets/insetminipage.C:
2873         * insets/insetnote.C:
2874         * insets/insetoptarg.C: add header files needed to compile again.
2875
2876 2003-09-06  Angus Leeming  <leeming@lyx.org>
2877
2878         * RowList_fwd.h: new file, forward-declaring Row rather than
2879         #including lyxrow.h.
2880
2881         * lyxrow_funcs.h:
2882         * lyxtext.h:
2883         * paragraph.h:
2884         * insets/insettext.h: use it instead of RowList.h
2885
2886         * bufferview_funcs.C:
2887         * lyxfunc.C:
2888         * lyxrow_funcs.C:
2889         * paragraph.C:
2890         * rowpainter.C:
2891         * text.C:
2892         * text2.C:
2893         * text3.C: #include "RowList.h".
2894
2895 2003-09-05  Angus Leeming  <leeming@lyx.org>
2896
2897         * factory.C (createInset):
2898         * vspace.C (c-tor): replace sscanf call with an istringstream.
2899         * ispell.C: re-add missing HP/UX headers.
2900         * lyxserver.C: re-add missing  os2 headers.
2901
2902 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2903
2904         * BranchList.C:
2905         * graph.C:
2906         * ispell.C:
2907         * lastfiles.C:
2908         * lyx_cb.C:
2909         * lyxserver.C:
2910         * texrow.C:
2911         * text3.C: re-add missing system headers, needed for 2.95.2.
2912
2913 2003-09-05  Angus Leeming  <leeming@lyx.org>
2914
2915         Changes most place everywhere due to the removal of using directives
2916         from support/std_sstream.h.
2917
2918 2003-09-05  Angus Leeming  <leeming@lyx.org>
2919
2920         Replace LString.h with support/std_string.h,
2921         Lsstream.h with support/std_sstream.h,
2922         support/LIstream.h with support/std_istream.h,
2923         support/LOstream.h with support/std_ostream.h.
2924
2925         Changes resulting throughout the tree.
2926
2927 2003-09-05  Angus Leeming  <leeming@lyx.org>
2928
2929         * sgml.h: ensure that the header file can be compiled stand-alone.
2930         * *.C: strip out redundant #includes. (320 in total.)
2931
2932 2003-09-04  Angus Leeming  <leeming@lyx.org>
2933
2934         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2935         here (from getPackages).
2936
2937         * debug.[Ch]: add a new EXTERNAL tag.
2938
2939 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2940
2941         * text2.C (cursorEnd): simplify
2942         (setCursor): adjust
2943         (getColumnNearX): adjust
2944
2945         * text.C (computeBidiTables): adjust
2946         (fill): adjust
2947
2948         * rowpainter.C (paintChars): adjust
2949         (paintSelection): adjust
2950         (paintChangeBar): adjust
2951         (paintText): adjust
2952
2953         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2954         lastPos instead.
2955         (numberOfSeparators): adjust
2956
2957 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2958
2959         * LyXAction.C:
2960         * box.[Ch]:
2961         * lfuns.h:
2962         * lyxfunc.C:
2963         * text3.C: Restricts the mouse click functionality
2964         of insets like bibtex, include, toc and floatlist to the visible
2965         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2966         up the dialogs. Cursor has to be in front of the inset (i.e.
2967         start of row) for this to function.
2968
2969 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2970
2971         * bufferview_funcs.C (currentState): output row information
2972
2973 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2974
2975         * bufferview_funcs.C (currentState): output paragraph position
2976
2977 2003-09-04  Angus Leeming  <leeming@lyx.org>
2978
2979         * FloatList.h: move out #include "Floating.h".
2980         * LaTeX.h: move out #include "DepTable.h".
2981         * LyXAction.h: move out #include "funcrequest.h".
2982         * buffer.h: move out #include "author.h", "iterators.h".
2983         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2984         * lyx_main.h: move out #include "errorlist.h".
2985         * lyxfunc.h: move out #include "FuncStatus.h".
2986         * lyxtext: move out #include "lyxcursor.h".
2987         * paragraph_pimpl.h: move out #include "counters.h".
2988
2989 2003-09-03  Angus Leeming  <leeming@lyx.org>
2990
2991         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2992         preamble_snippets list, enabling us to add snippets to the preamble
2993         only if the snippet was not there already.
2994
2995 2003-09-04  Angus Leeming  <leeming@lyx.org>
2996
2997         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2998
2999 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3000
3001         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3002         update
3003
3004 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3005
3006         * BranchList.C: point fix, earlier forgotten
3007
3008 2003-09-02  Angus Leeming  <leeming@lyx.org>
3009
3010         * box.C (contains): renamed from 'contained' after a fantastic
3011         amount of hot air.
3012
3013 2003-09-02  John Levon  <levon@movementarian.org>
3014
3015         * BufferView.C:
3016         * lyxcursor.h:
3017         * lyxcursor.C:
3018         * lyxfunc.C:
3019         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3020
3021 2003-09-02  John Levon  <levon@movementarian.org>
3022
3023         * text2.C: simplification of cursorEnd(), including partial
3024         fix for bug 1376
3025
3026 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3027
3028         * buffer.C (readFile): add a space
3029
3030 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3031
3032         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3033
3034 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3035
3036         * buffer.C (readFile): new function, take a filename and a
3037         ParagraphList::iterator
3038         (readFile): adjust
3039         (readFile): adjust, make it private. don't use setStream, make
3040         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3041         always contain the filename.
3042
3043         * BufferView.C (insertLyXFile): simplify and make it work for
3044         gzipped files.
3045
3046 2003-08-30  John Levon  <levon@movementarian.org>
3047
3048         * Makefile.am: fix dist (from Kayvan)
3049
3050 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3051
3052         * most files: change to use const Buffer refs
3053
3054 2003-08-27  André Pönitz  <poenitz@gmx.net>
3055
3056         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3057         on top of ownerPar().
3058
3059 2003-08-27  John Levon  <levon@movementarian.org>
3060
3061         * funcrequest.C: properly initialise POD members
3062
3063 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3064
3065         * lyxtext.h (top_y): move top_y from here
3066         * text.C:
3067         * text2.C:
3068         * text3.C:
3069         * BufferView.[Ch]:
3070         * BufferView_pimpl.[Ch]: to here
3071         * frontends/screen.C:
3072         * insets/insettabular.C:
3073         * insets/insettext.C: adjust
3074         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3075
3076 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3077
3078         * BufferView.[Ch]:
3079         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3080
3081 2003-08-26  André Pönitz  <poenitz@gmx.net>
3082
3083         * paragraph_func.[Ch] (outerPar): new function
3084
3085         * paragraph.C:
3086         * paragraph_funcs.C:
3087         * paragraph_funcs.h:
3088         * paragraph_pimpl.C:
3089         * text2.C: remove Inset::par_owner
3090
3091 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3092
3093         * lyxrow_funcs.C:
3094         * lyxtext.h:
3095         * text.C:
3096         * text2.C: eliminates the needFullRow/display() stuff
3097         altogether, putting the logic in metrics/draw in the insets.
3098
3099 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3100
3101         * text2.C (redoParagraphInternal, redoParagraphs):
3102         * text.C (redoParagraph): add a call to updateRowPositions at the
3103         end of each 'metrics-like' call. Remove all others.
3104         (getRow): remove the 'y-computing' version.
3105         (getRowNearY): do not compute nor return the real y. Solve the
3106         'y < 0' problem and simplify.
3107
3108 2003-08-22  Angus Leeming  <leeming@lyx.org>
3109
3110         * *.[Ch]: clean-up of licence and author blurbs.
3111         Also move config.h out of a few .h files and into a few .C files.
3112
3113 2003-08-22  André Pönitz  <poenitz@gmx.net>
3114
3115         * lyxrow.[Ch]: add x_ and *fill_ members
3116
3117         * lyxtext.h:
3118         * text.C:
3119         * rowpainter.C:
3120         * text2.C: adjust/remove prepareToPrint() calls
3121
3122 2003-08-22  André Pönitz  <poenitz@gmx.net>
3123
3124         * lyxrow.[Ch]: add  end_ member
3125
3126         * lyxrow_funcs.C: use LyXRow::end_
3127
3128         * lyxtext.h (singleWidth): add LyXFont parameter
3129
3130         * rowpainter.C:
3131         * text2.C: adjust LyXText::singleWidth() calls
3132
3133         * text.C (redoParagraph): simplify row breaking logic
3134
3135
3136 2003-08-19  André Pönitz  <poenitz@gmx.net>
3137
3138         * funcrequest.C: initialize button_ member
3139
3140         * text3.C:
3141         * rowpainter.[Ch]: interface consolidation
3142
3143 2003-08-18  André Pönitz  <poenitz@gmx.net>
3144
3145         * BufferView.C:
3146         * BufferView_pimpl.C:
3147         * lyxfind.C:
3148         * paragraph_funcs.C:
3149         * rowpainter.C:
3150         * text3.C: remove LyXScreen::draw() and fitCursor calls
3151
3152         * BranchList.h: remove spurious semicolons
3153
3154         * MenuBackend.C: fix branchlist related crash
3155
3156 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3157
3158         * BranchList.[Ch]:
3159         * InsetList.[Ch]:
3160         * LColor.[Ch]:
3161         * LyXAction.C:
3162         * Makefile.am:
3163         * MenuBackend.[Ch]:
3164         * bufferparams.[Ch]:
3165         * factory.C:
3166         * lfuns.h:
3167         * lyxfunc.C:
3168         * text3.C: implements the 'branch inset'
3169         idea. This allows the output of various versions of a document
3170         from a single source version, selectively outputing or suppressing
3171         output of parts of the text.
3172         This implementation contains a 'branch list editor' in a separate
3173         tab of the document settings dialog. Branches are user definable
3174         and have a "display colour" to distinguish them on-screen.
3175
3176         ColorHandler was somewhat cleaned up.
3177         (1) make possible a dynamically growing LColor list by allowing
3178         the graphic context cache to grow along (vector);
3179         (2) eliminate an IMHO unnecessary step in colour allocation.
3180
3181 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3182
3183         * BufferView_pimpl.C: compile fix
3184
3185 2003-08-15  André Pönitz  <poenitz@gmx.net>
3186
3187         * rowpainter.C: remove extra metrics calls
3188
3189         * lyxtext.h: merge the two constructors into a single one,
3190           pass reference to owner's par list
3191
3192         * BufferView_pimpl.C:
3193         * text.C:
3194         * text2.C: adjust
3195
3196 2003-08-15  André Pönitz  <poenitz@gmx.net>
3197
3198         * lyxrow_funcs.[Ch]:
3199         * lyxtext.h:
3200         * paragraph.h:
3201         * paragraph_funcs.C:
3202         * rowpainter.C:
3203         * text.C:
3204         * text2.C:
3205         * text3.C:
3206         * text_funcs.C: split LyXText::rowlist_ into individual
3207         Paragraph::rows_ chunks
3208
3209         * BufferView.[Ch]:
3210         * BufferView_pimpl.[Ch]:
3211         * lyxfind.C:
3212         * lyxtext.h:
3213         * text3.C: remove toggleSelection()
3214
3215 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3216
3217         * bufferlist.C: beautify two alerts (shorter text of buttons)
3218         * buffer.C: Remove redundant ' ' from message
3219         * tabular.h:
3220         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3221         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3222         rename VALIGN_CENTER to VALIGN_MIDDLE
3223
3224 2003-08-11  André Pönitz  <poenitz@gmx.net>
3225
3226         * lyxtext.h (getPar):
3227         * text.C: new function
3228
3229 2003-08-11  André Pönitz  <poenitz@gmx.net>
3230
3231         * Makefile.am:
3232         * tracer.[Ch]: remove unneeded files
3233
3234         * InsetList.[Ch]: remove resizeInsetsLyXText()
3235
3236         * lyxtext.h:
3237         * text.C:
3238         * text2.C:
3239         * text3.C: merge insertParagraphs() and appendParagraph()
3240         remove breakAgain(), update()
3241
3242         * BufferView_pimpl.[Ch]:
3243         * bufferview_funcs.[Ch]:
3244         * lyxfunc.C:
3245         * paragraph.[Ch]:
3246         * rowpainter.C:
3247         * tabular.C: adjust after text & InsetList changes.
3248
3249 2003-08-08  André Pönitz  <poenitz@gmx.net>
3250
3251         * text.C (insertChar, backspace): replace rowlist fiddling
3252         with rebreak of full par
3253
3254         * lyxtext.h:
3255         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3256         checkParagraph, updateInset): removed
3257
3258 2003-08-07  André Pönitz  <poenitz@gmx.net>
3259
3260         * paragraph.C:
3261         * text3.C: merge some LFUN handlers, remove dead code
3262
3263 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3264
3265         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3266
3267 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3268
3269         * text2.C (DEPM): fix part of bug 1255 and 1256
3270
3271 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3272
3273         * BufferView_pimpl.C (workAreaDispatch): change to use
3274         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3275         that are no mouse related.
3276
3277 2003-08-05  André Pönitz  <poenitz@gmx.net>
3278
3279         * BufferView.[Ch]:
3280         * BufferView_pimpl.[Ch]:
3281         * bufferview_funcs.C:
3282         * text2.C:
3283         * text3.C: rip out "deep update"
3284
3285         * textcursor.[Ch] (last_sel_cursor): remove unused member
3286
3287 2003-08-04  André Pönitz  <poenitz@gmx.net>
3288
3289         * BufferView.[Ch]:
3290         * BufferView_pimpl.[Ch]:
3291         * ParagraphParameters.C:
3292         * bufferview_funcs.C:
3293         * lyx_cb.C:
3294         * lyxfind.C:
3295         * lyxfunc.C:
3296         * text.C:
3297         * text2.C:
3298         * text3.C: replace "complicated" BufferView::update(...) calls with
3299         simpler ones.
3300
3301         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3302
3303 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3304
3305         * Makefile.am (lyx_SOURCES): add paper.h
3306
3307 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3308
3309         * Makefile.am: move things around so that both lyx-qt and
3310         lyx-xforms can be built (according to --with-frontend). Then lyx
3311         is a symbolic link to lyx-[firstfrontend]
3312
3313 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3314
3315         * Always use std::endl with lyxerr
3316
3317 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3318
3319         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3320
3321 2003-08-01  André Pönitz  <poenitz@gmx.net>
3322
3323         * BufferView.[Ch]:
3324         * BufferView_pimpl.[Ch]:
3325         * lyxfunc.C:
3326         * text3.C: merge BufferView::repaint() and BufferView::update()
3327
3328 2003-08-01  José Matos  <jamatos@lyx.org>
3329
3330         * buffer.[Ch]: file_format is no longer a buffer data element.
3331
3332 2003-08-01  André Pönitz  <poenitz@gmx.net>
3333
3334         * BufferView.C:
3335         * lyxtext.h:
3336         * text.C:
3337         * text2.C: make redoParagraph more independent of current cursor
3338
3339         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3340         * text.C:
3341         * text2.C: remove unneeded members
3342
3343 2003-07-30  André Pönitz  <poenitz@gmx.net>
3344
3345         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3346
3347         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3348           create a single function...
3349
3350         * paragraph_funcs.C (moveItem): ... here.
3351
3352         * text.C:
3353           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3354
3355 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3356
3357         * LColor.[Ch]: Add comment and greyedout logical colors.
3358
3359 2003-07-30  André Pönitz  <poenitz@gmx.net>
3360
3361         * tabular.C: don't use Assert too heavily. This crashes where it
3362           shouldn't
3363
3364 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3365
3366         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3367         is disabled (bug 1232)
3368
3369 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3370
3371         * factory.C: limited 'arg' scope
3372
3373 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3374
3375         * factory.C: fixed Note submenu issues
3376
3377 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3378
3379         * factory.C: submenu for Note/Comment/Greyedout
3380
3381 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3382
3383         * lyx_main.C (LyX):
3384         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3385
3386 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3387
3388         * LaTeXFeatures.C:
3389         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3390         greyedout. Patch provided by Jürgen Spitzmüller.
3391
3392 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3393
3394         * kbmap.C (read): fix error message when reading bind files
3395
3396 2003-07-29  Angus Leeming  <leeming@lyx.org>
3397
3398         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3399         certainly does not do what it purports to do. I am doing it, and
3400         us, a favour by killing it.
3401
3402 2003-07-28  José Matos  <jamatos@lyx.org>
3403
3404         * buffer.C (readBody, do_writeFile):
3405         * paragraph.C(readParagraph): \end_document replaces \the_end.
3406
3407 2003-07-29  André Pönitz  <poenitz@gmx.net>
3408
3409         * BufferView.[Ch]:
3410         * BufferView_pimpl.[Ch]:
3411         * lyxfunc.C:
3412         * text2.C:
3413         * text3.C:
3414         * textcursor.[Ch]: remove toggleToggle & Co
3415
3416 2003-07-28  José Matos  <jamatos@fep.up.pt>
3417
3418         * buffer.C (readParagraph):
3419         * params_func (readParToken, readParagraph):
3420         * paragraph.C (write): \layout -> \begin_layout.
3421
3422 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3423
3424         * lyxlex_pimpl.C (setFile): clean up slightly.
3425
3426         * bufferparams.h: add compressed var
3427
3428         * buffer_funcs.C (readFile): adjust for LyXLex change
3429         (newFile): ditto + simplify
3430
3431         * buffer.C (writeFile): handle writing of compressed files
3432
3433         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3434         Check if the file is compressed and set a bufferparm if so.
3435
3436         * Makefile.am (lyx_LDADD): remove explicit -lz
3437
3438 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3439
3440         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3441         makeDocBookFile): put the real LyX version in the first line of
3442         the file
3443
3444         * version.h:
3445         * version.C.in: remove lyx_docversion
3446
3447         * tabular.C (write_attribute): add a template-based version to
3448         write enums properly
3449
3450 2003-07-28  André Pönitz  <poenitz@gmx.net>
3451
3452         * lyxtext.h:
3453         * text.C:
3454         * text2.C:
3455         * text3.C: use doubles again for x-coordinates. They are needed.
3456
3457 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3458
3459         * messages.C (getLocaleDir): use lyx_localedir()
3460
3461         * lyxlex_pimpl.C (setFile): compress stuff
3462
3463         * buffer.C (writeFile): add some compression stuff
3464         (do_writeFile): new func, dont call expliti close... will this
3465         breake anything?
3466
3467         * Makefile.am (lyx_LDADD): add -lz
3468
3469 2003-07-28  José Matos  <jamatos@fep.up.pt>
3470
3471         * buffer.C: increment file format.
3472         * paragraph_funcs (readParagraph, readParToken):
3473         * paragraph.C (readParagraph): add \end_layout.
3474
3475 2003-07-27  Angus Leeming  <leeming@lyx.org>
3476
3477         * Makefile.am: remove special casing for configure-time setting of
3478         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3479
3480         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3481         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3482
3483 2003-07-26  André Pönitz  <poenitz@gmx.net>
3484
3485         * paragraph_func.[Ch]:
3486         * paragraph.C (realizeFont): inline it whereever it is used
3487
3488         * rowpainter.C:
3489         * text.C:
3490         * text2.C:
3491         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3492
3493
3494 2003-07-26  André Pönitz  <poenitz@gmx.net>
3495
3496         *       lyxtext.h:
3497         * text.C:
3498         * text2.C: get rid of LyXText::need_break_row
3499
3500 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3501
3502         * toc.[Ch]: put namespace toc inside namespace lyx
3503
3504         * MenuBackend.C (expandToc2): adjust for lyx::toc
3505         (expandToc): ditto
3506
3507         * lyxfunc.C (dispatch): adjust for lyx::find
3508
3509         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3510         lyx::find instead. Reorganize a bit.
3511         (LyXReplace): rename to replace
3512         (LyXFind): rename to find
3513
3514         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3515         (dispatch): ditto
3516
3517 2003-07-26  André Pönitz  <poenitz@gmx.net>
3518
3519         * text.C (setHeightOfRow): restrict scope of temporary variable
3520
3521         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3522           code (never has been used?)
3523
3524 2003-07-27  Asger Alstrup  <alstrup@local>
3525
3526         * text.C (fill): Optimise algorithm to exploit that we can reuse
3527         the LyXFont for many characters.
3528         (setHeightOfRow): Same thing.
3529         (rowBreakPoint): Same thing.
3530
3531 2003-07-26  Asger Alstrup  <alstrup@local>
3532
3533         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3534
3535         * text.C (singleWidth): Spurious font copying in hot-spot
3536         singleWidth avoided. Reorder tests for arabic for efficiency.
3537
3538         * text.C (fill): handle empty paragraphs better.
3539
3540 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3541
3542         * ispell.C:
3543         * encoding.h: add includes
3544
3545         * lyxrc.C: remove reading of bind files
3546
3547         * lyx_main.C (init): setup bindings and menus only if we have a
3548         gui.
3549
3550         * kbmap.C (read): new method. Do the actual reading of bind
3551         files.
3552
3553         * converter.C (dvipdfm_options):
3554         * bufferparams.C:
3555         * lyxrc.C (read):
3556         (output): adapt PAPER_* enums.
3557
3558         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3559
3560         * bufferparams.h: remove paper-related enums from there
3561
3562         * paper.h: New file. A trivial header file to hold paper-related
3563         enums. It should later expand to contain many paper-related
3564         horrors access.
3565
3566         * lyxrc.C: declare extern displayTranslator
3567
3568 2003-07-27  José Matos  <jamatos@fep.up.pt>
3569
3570         * tabular.[Ch] (linuxdoc): add support for tables and figures
3571         (linuxdoc).
3572
3573 2003-07-27  José Matos  <jamatos@fep.up.pt>
3574
3575         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3576         consistency in both functions.
3577         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3578
3579 2003-07-26  Asger Alstrup  <alstrup@local>
3580
3581         * rowpainter.C (paintRows): Change algorithm to work directly on
3582         the insets rather than asking every character in the document
3583         whether its an inset.
3584
3585 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3586
3587         * buffer.C (openFileWrite): factorize some code
3588
3589 2003-07-26  Angus Leeming  <leeming@lyx.org>
3590
3591         * lyx_cb.C:
3592         * lyx_main.[Ch]: replace occurances of system_tempdir with
3593         os::getTmpDir().
3594
3595 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3596
3597         * rename Inset to InsetOld
3598
3599 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3600
3601         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3602         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3603         which I think is a bit clearer. EDIT is gone, since it was
3604         premature optimisation, and broken for mathed anyway.
3605         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3606         with cursor positioning in insets as well (math insets still do not
3607         work, but that's a different story anyway.) It mysteriously
3608         crashes sometimes with undo in the first paragraph, but I'm fairly
3609         confident that this is a compiler bug.
3610
3611 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3612
3613         * paragraph.C (Paragraph): adjust for new clone return type
3614         (operator==): ditto
3615         (copyIntoMinibuffer): ditto
3616
3617 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3618
3619         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3620         by not having a special case, and always doing a full rebreak of
3621         the document after undo.
3622
3623 2003-07-23  Angus Leeming  <leeming@lyx.org>
3624
3625         * factory.C (createInset): InsetExternal::setParams now takes a
3626         Buffer const * arg.
3627
3628 2003-07-23  Angus Leeming  <leeming@lyx.org>
3629
3630         * factory.C (createInset): changed interface to the external and
3631         graphics mailers' string2params functions.
3632
3633 2003-07-23  Angus Leeming  <leeming@lyx.org>
3634
3635         * factory.C (createInset): pass a
3636         Buffer const * parameter to InsetExternalMailer's string2params.
3637
3638 2003-07-22  John Levon  <levon@movementarian.org>
3639
3640         * Thesaurus.h: include the right aiksaurus header
3641
3642 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3643
3644         * MenuBackend.C (expand): check menu shortcuts unconditionally
3645
3646 2003-07-21  Angus Leeming  <leeming@lyx.org>
3647
3648         * factory.C (createInset): pass a
3649         buffer_path parameter to InsetGraphicsMailer's string2params.
3650
3651 2003-07-21  Angus Leeming  <leeming@lyx.org>
3652
3653         * BufferView_pimpl.C (buffer):
3654         * buffer.C (d-tor):
3655         * lyx_main.C (LyX):
3656         * lyxfunc.C (dispatch):
3657         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3658         rather than the grfx shortcut.
3659
3660 2003-07-21  André Pönitz  <poenitz@gmx.net>
3661
3662         * rowpainter.C: remove unused variables
3663
3664         * tabular_funcs.C:
3665         * tabular_funcs.h: move to tabular.C
3666         * Makefile.am: adjust
3667
3668         * tabular.[Ch]: basic optical cleaning
3669
3670         * author.h: pass references, not values
3671
3672 2003-07-18  André Pönitz  <poenitz@gmx.net>
3673
3674         * lyxtext.h:
3675         * metricsinfo.C:
3676         * metricsinfo.h:
3677         * rowpainter.C:
3678         * text.C:
3679         * text2.C:
3680         * text3.C: two-phase drawing for InsetText and InsetTabular
3681         some float -> int changes.
3682
3683 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3684
3685         * lyx_main.C: fix the fix
3686
3687 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3688
3689         * lyx_main.C: fix a crash in batch mode if no files specified
3690         * converter.C: ws
3691
3692 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3693
3694         * format.[Ch] (papersize): moved to BufferParams
3695         * converter.[Ch] (dvips_options): moved to BufferParams
3696         (dvipdfm_options): moved to anon namespace
3697         * bufferparams.[Ch]: added above functions.
3698
3699 2003-07-17  André Pönitz  <poenitz@gmx.net>
3700
3701         * lyxtext.h:
3702         * rowpainter.C:
3703         * text2.C: don't call inset->update() anymore
3704
3705         * metricsinfo.[Ch]: add convenience constructor
3706
3707 2003-07-16  André Pönitz  <poenitz@gmx.net>
3708
3709         * lyxcursor.[Ch]:
3710         * lyxfunc.[Ch]:
3711         * text.C:
3712         * text2.C: replace the LyXCursor::irow_ member with
3713          on-demand computation of the value
3714
3715 2003-07-16  John Levon  <levon@movementarian.org>
3716
3717         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3718
3719 2003-07-15  André Pönitz  <poenitz@gmx.net>
3720
3721         * text.C:
3722         * text2.C: remove no more needed refresh_row
3723
3724 2003-07-15  André Pönitz  <poenitz@gmx.net>
3725
3726         * lyxtext.h:
3727         * rowpainter.C:
3728         * text2.C:
3729         * text3.C: refresh_status tristate -> need_update bool
3730
3731 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3732
3733         * lyxtext.h (init): remove reinit argument (act as if always true)
3734         * text2.C: adjust to that
3735
3736 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3737
3738         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3739         * text3.C: use it to delete selections in some cases
3740         (bugs 441, 673, 702, 954).
3741
3742 2003-07-14  André Pönitz  <poenitz@gmx.net>
3743
3744         * rowpainter.[Ch]: reduce interface
3745
3746 2003-07-14  André Pönitz  <poenitz@gmx.net>
3747
3748         * BufferView_pimpl.C:
3749         * text2.C: adjust after removing unused BufferView * argument
3750
3751 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3752
3753         * text2.C (init): fix a crash fired on resize
3754
3755 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3756
3757         * buffer.[Ch]: added new closing signal
3758         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3759         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3760         BufferView::Pimpl via the closing the signal
3761
3762 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3763
3764         * buffer.[Ch]: take out all bv-related from buffer
3765         * BufferView.C:
3766         * BufferView_pimpl.[Ch]: connect to new signals
3767         * CutAndPaste.C: removed useless asserts
3768         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3769         * lyxvc.[Ch]:
3770         * vc-backend.[Ch]:
3771         * lyxfunc.C: moved view-related funciontality from vc here
3772         * paragraph.C: removed outdated comments
3773         * text.C: ws
3774
3775 2003-07-10  André Pönitz  <poenitz@gmx.net>
3776
3777         * BufferView_pimpl.C:
3778         * tabular.h:
3779         * tabular_funcs.C:
3780         * text.C:
3781         * text2.C: remove InsetText::InnerCache, clean up consequences
3782
3783 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3784
3785         * ispell.C: fix two typos in error messages
3786
3787 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3788
3789         * Extend Note inset to other forms of annotation like Comment
3790         and Greyedout. Right button click gives dialog.
3791
3792         Files modified or added (+):
3793
3794         * insetnote.[Ch]
3795         * FormNote.[Ch]      +
3796         * ControlNote.[Ch]   +
3797         * form_note.fd       +
3798         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3799         frontends/controllers
3800         * xforms/Dialogs.C
3801         * factory.C
3802
3803 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3804
3805         * aspell.C: add missing namespace lyx::support
3806
3807 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3808
3809         * BufferView.[Ch] (newFile): Add
3810         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3811         * LaTeX.[Ch] (message): added this signal and use it
3812         * buffer.[Ch] (busy, message): added these signals and use them
3813         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3814         * converter.C:
3815         * exporter.C:
3816         * format.C:
3817         * importer.C: use buffer signals instead of direct bv calling
3818         * lyx_cb.[Ch] (ShowMessage): removed
3819         * lyx_main.C:
3820         * lyxfunc.C:
3821         * paragraph_funcs.C:
3822         * text2.C: use buffer signals
3823
3824 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3825
3826         * introduce namespace lyx::graphics
3827
3828 2003-07-02  André Pönitz  <poenitz@gmx.net>
3829
3830         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3831
3832 2003-07-01  André Pönitz  <poenitz@gmx.net>
3833
3834         * text.C:
3835         * text2.C:
3836         * text3.C:
3837         * text_funcs.[Ch]:
3838         * textcursor.h:
3839         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3840           text*.C to text_func.C
3841
3842 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3843
3844         * introduce namespace lyx::support
3845
3846 2003-06-30  André Pönitz  <poenitz@gmx.net>
3847
3848         * Chktex.C:
3849         * funcrequest.C:
3850         * lyxtext.h:
3851         * text.C: re-enable --with-included-string
3852
3853 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * textcursor.C: add <config.h>
3856
3857         * text.C (getWord): remove const from word_location arg
3858
3859         * lyxvc.C (getLogFile): fix const type order
3860
3861         * lyxtext.h: remove const from word_location arg, add arg name
3862
3863         * lyxlayout.h: currect type on labeltype.
3864
3865         * importer.C: correct \file
3866
3867         * converter.C (intToFormat): use std:: on ret val, ws changes
3868
3869         * bufferlist.h: correct \file
3870
3871         * buffer.C (makeLinuxDocFile): fix const type order
3872         (makeDocBookFile): ditto
3873         (fillWithBibKeys): use std:: on stdlib args.
3874
3875         * CutAndPaste.C: fix authors.
3876         (availableSelections): use std:: on return vector
3877
3878 2003-06-27  André Pönitz  <poenitz@gmx.net>
3879
3880         * BufferView_pimpl.C:
3881         * bufferview_funcs.C:
3882         * lyxcursor.C:
3883         * lyxcursor.h:
3884         * lyxfunc.C:
3885         * lyxtext.h:
3886         * rowpainter.C:
3887         * text.C:
3888         * text2.C:
3889         * text3.C: remove LyXCursor::row_ member
3890
3891         * lyxtext.h:
3892         * text.C: rename fullRebreak() to partialRebreak() and implement
3893           a fullRebreak() that really bereks fully
3894
3895         * textcursor.h: new struct for cursor-related data
3896
3897 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3898
3899         * lyx_main.C (LyX): get full path of document loaded on the
3900         command line
3901
3902 2003-06-26  André Pönitz  <poenitz@gmx.net>
3903
3904         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3905           remove unused/broken operator>,<,>=.
3906
3907         *       text.C: remove only use of broken operator<= in an Assert().
3908
3909 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3910
3911         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3912         moved errorlist_.clear to showErrorList
3913
3914 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3915
3916         * converter.C (scanLog, runLaTeX):
3917         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3918         move the bv->showErrorList call to the callers
3919         * lyxfunc.C: i.e. here...
3920         * text2.C: and here
3921         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3922         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3923         namespace, the second to...
3924         * buffer_funcs (BufferFormat, parseErrors): added
3925         * errorlist.C (ErrorList(TeXErrors const &)): removed
3926
3927 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3928
3929         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3930
3931 2003-06-24  "Garst R. Reese" <reese@isn.net>
3932
3933         * debug.C: fix typo
3934
3935 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3936
3937         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3938
3939         * version.C.in: change docversion to 1.4
3940
3941 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3942
3943         * buffer.C: fix a bug just introduced
3944
3945 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3946
3947         * buffer.[Ch]: added the parseError signal and use it, removed
3948         sgmlError
3949         * BufferView.[Ch] (addError): moved to ...
3950         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3951         to the Buffer::parseError signal to catch (guess what) parse errors
3952         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3953
3954 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3957         ability to create a buffer and to return an existing one from
3958         the list. Moved these functions to...
3959         * buffer_funcs.[Ch]: added
3960         * BufferView.[Ch] (loadLyXFile): added
3961         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3962         job removed from bufferlist::loadLyXFile.
3963         * buffer.C (setReadOnly): make it work without view
3964         (i.e added an if (users))
3965
3966 2003-06-19  Angus Leeming  <leeming@lyx.org>
3967
3968         * lfuns.h:
3969         * LyXAction.C (init):
3970         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3971         with LFUN_DIALOG_SHOW <name> <data>.
3972
3973 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3974
3975         * CutAndPaste.C (availableSelections): small compilation fix for
3976         ancient (gcc 2.9x) compilers
3977
3978 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3979
3980         * text3.C (cursorNext): add tmp var
3981
3982         * text2.C (updateCounters): for function calling out of for clause
3983         (replaceSelectionWithString): ditto
3984         (insertStringAsParagraphs): ditto
3985         (getColumnNearX): add tmp var
3986         (setCursorFromCoordinates): add tmp var
3987         (cursorDownParagraph): add tmp var
3988         (deleteEmptyParagraphMechanism): add tmp var
3989
3990         * text.C (insertChar): add tmp var
3991
3992         * rowpainter.C (paintDepthBar): add tmp var
3993
3994         * CutAndPaste.C (availableSelections): potentially check all
3995         paragraphs in a cut to fill the shown strings.
3996
3997 2003-06-18  André Pönitz  <poenitz@gmx.net>
3998
3999         * kbmap.[Ch]: use vector<> instead of list<>
4000
4001 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4002
4003         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4004         pasteSelection with index
4005
4006         * text2.C (pasteSelection): modify, call pasteSelection with index
4007
4008         * paragraph.C (asString): reimplement version with no interval to
4009         call the one with interval.
4010
4011         * lyxtext.h: add index arg to pasteSelection
4012
4013         * MenuBackend.C (MenuItem): handle PasteRecent
4014         (Menu::read::Menutags): add md_pasterecent
4015         (read): handle it
4016         (expandPasteRecent): new function
4017         (expand): use it
4018
4019         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4020
4021         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4022         the limited stack
4023         (availableSelections): new function
4024
4025 2003-06-17  Angus Leeming  <leeming@lyx.org>
4026
4027         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4028
4029 2003-06-17  Angus Leeming  <leeming@lyx.org>
4030
4031         * lfuns.h:
4032         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4033
4034         * lyxfunc.C (dispatch): invoke it.
4035
4036 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4037
4038         * iterators.C (operator++, ParPosition): reintroduce some
4039         const_cast for the benefit of older compilers.
4040
4041 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4042
4043         * text3.C (dispatch): do not modify clipboard when doing
4044         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4045         LFUN_DELETE_SKIP on a selection selection
4046
4047 2003-06-16  André Pönitz  <poenitz@gmx.net>
4048
4049         * BufferView.C:
4050         * buffer.C:
4051         * buffer.h:
4052         * paragraph.C:
4053         * tabular.[Ch]: IU of clone() and getLabelList();
4054
4055 2003-06-13  André Pönitz  <poenitz@gmx.net>
4056
4057         * tabular.h: compactification
4058
4059 2003-06-12  André Pönitz  <poenitz@gmx.net>
4060
4061         * tabular.C:
4062         * tabular.h:
4063         * tabular_funcs.h: some renaming plus whitespace
4064
4065 2003-06-12  André Pönitz  <poenitz@gmx.net>
4066
4067         * BufferView.C:
4068         * BufferView_pimpl.C:
4069         * CutAndPaste.C:
4070         * buffer.C:
4071         * iterators.[Ch]:
4072         * lyxfunc.C:
4073         * text.C:
4074         * toc.C: Return a Paragraph & for ParIterator::operator*()
4075
4076 2003-06-11  John Levon  <levon@movementarian.org>
4077
4078         * lyx_main.C:
4079         * ToolbarBackend.h:
4080         * ToolbarBackend.C: add "Toolbars" section and
4081         put the flags there
4082
4083 2003-06-10  Angus Leeming  <leeming@lyx.org>
4084
4085         * lfuns.h:
4086         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4087
4088         * lyxfunc.C (dispatch): invoke it.
4089
4090 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * main.C: protect <ios> with HAVE_IOS
4093         (main): protect sync_with_stdio with HAVE_IOS
4094
4095 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4096
4097         * text2.C (cutSelection): adjust
4098         (pasteSelection): adjust
4099
4100         * messages.C: handle get of empty string
4101
4102         * main.C (main): use sync_with_stdio(false)
4103
4104         * lyxfunc.C (dispatch): adjust
4105
4106         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4107         (WriteAs): remove unneeded BufferView arg.
4108
4109         * bufferparams.h: use correct types on papersize, papersize2 and
4110         paperpackage.
4111
4112         * bufferparams.C (readToken): adjust for type
4113         (writeLaTeX): add missing cases to switch.
4114
4115         * bufferlist.C (quitWriteBuffer): adjust
4116         (close): adjust
4117
4118         * buffer.C (asciiParagraph): remove some commented code.
4119
4120         * CutAndPaste.C: remove current_view extern variable.
4121         (cutSelection): add BufferParams arg.
4122         (eraseSelection): add BufferParams arg.
4123         (pasteSelection): add Buffer const & arg
4124
4125 2003-06-07  John Levon  <levon@movementarian.org>
4126
4127         * buffer.C:
4128         * paragraph_funcs.C:
4129         * paragraph_pimpl.C:
4130         * text.C:
4131         * text2.C:
4132         * paragraph.h:
4133         * paragraph.C: allow InsetERT to freely space lines,
4134         and some consolidation of code
4135
4136 2003-06-06  José Matos  <jamatos@fep.up.pt>
4137
4138         * buffer.C (makeDocBookFile): fix bug #821
4139
4140 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4141
4142         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4143
4144 2003-06-04  Angus Leeming  <leeming@lyx.org>
4145
4146         * buffer.C: bump format to 224.
4147
4148 2003-06-05  André Pönitz  <poenitz@gmx.net>
4149
4150         * text2.C (redoParagraphs): remove two const_cast<>
4151
4152 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4153
4154         * ParagraphList.h: remove last remnants of NO_STD_LIST
4155
4156 2003-06-03  Angus Leeming  <leeming@lyx.org>
4157
4158         * factory.C (createInset): small change to the way InsetExternal's params
4159         are set.
4160
4161 2003-06-04  André Pönitz  <poenitz@gmx.net>
4162
4163         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4164
4165         * paragraph_pimpl.h:
4166         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4167
4168         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4169
4170         * undo_funcs.C: make some simple cases of undo work again
4171
4172 2003-06-03  John Levon  <levon@movementarian.org>
4173
4174         * ispell.C: HPUX doesn't have sys/select.h
4175         (from Albert Chin)
4176
4177 2003-06-03  John Levon  <levon@movementarian.org>
4178
4179         * CutAndPaste.C: update tabular and include inset
4180         buffer references
4181
4182         * buffer.h:
4183         * paragraph.h:
4184         * paragraph.C: remove owningBuffer(), don't pass Buffer
4185         to clone()
4186
4187         * factory.C: insetGraphicsParams changed
4188
4189 2003-06-02  John Levon  <levon@movementarian.org>
4190
4191         * LyXAction.C:
4192         * factory.C:
4193         * lfuns.h:
4194         * lyxfunc.C:
4195         * text3.C: remove insetparent
4196
4197 2003-06-02  John Levon  <levon@movementarian.org>
4198
4199         * buffer.h:
4200         * buffer.C: fix inset_iterator.end(), move out of line
4201         (bug 1149)
4202
4203 2003-06-01  John Levon  <levon@movementarian.org>
4204
4205         * text3.C: use a proper cut/paste when doing inset
4206         insert (from Jürgen Spitzmüller)
4207
4208 2003-06-01  John Levon  <levon@movementarian.org>
4209
4210         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4211
4212 2003-05-30  André Pönitz  <poenitz@gmx.net>
4213
4214         * rowpainter.C: unify second drawing phase
4215
4216 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4217
4218         * trans_mgr.C: remove one case of current_view
4219
4220         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4221
4222         * paragraph_funcs.h: remove paragraph.h include
4223
4224         * paragraph.h: delete NO_STD_LIST stuff
4225
4226         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4227
4228         * buffer.h: remove paragraph.h include
4229
4230         * ParagraphList.C: delete file
4231
4232         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4233
4234         * toc.C (getTocList): adjust
4235
4236         * paragraph_pimpl.C (validate): adjust
4237
4238         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4239
4240         * paragraph.C (Paragraph): adjust
4241         (getPositionOfInset): use const_iterator, adjust
4242         (bibitem): use const_iterator, adjust
4243         (setInsetOwner): adjust
4244
4245         * iterators.C (operator++): adjust
4246
4247         * InsetList.[Ch]: Replace selfmade iterator with standard
4248         vector::iterator also introduce const_iterator. Remove getPos,
4249         getInset and setInset from InsetTable. Adjust accordingly.
4250
4251         * BufferView.C (lockInset): adjust
4252         (ChangeInsets): adjust
4253
4254         * tabular.[Ch]: delete commented same_id functions
4255
4256 2003-05-28  John Levon  <levon@movementarian.org>
4257
4258         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4259
4260 2003-05-28  André Pönitz  <poenitz@gmx.net>
4261
4262         * metricsinfo.[Ch]: remove 'fullredraw' member
4263
4264 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4265
4266         * lyxtextclass.C (operator): remove caching.
4267
4268 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * text3.C: adjust
4271
4272         * text2.C (cursorBottom): adjust
4273         (setCounter): use ParagraphList::find, adjust
4274
4275         * text.C (workWidth): use ParagraphList::find, adjust
4276
4277         * lyxcursor.C (LyXCursor): adjust
4278
4279         * buffer.C (inset_iterator): adjust
4280
4281         * ParagraphList.h: make iterator(value_type) private, make
4282         ParagraphList a friend of iterator.
4283
4284         * ParagraphList.C (find): new function
4285
4286         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4287
4288 2003-05-27  André Pönitz  <poenitz@gmx.net>
4289
4290         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4291
4292 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4293
4294         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4295
4296 2003-05-26  John Levon  <levon@movementarian.org>
4297
4298         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4299
4300 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * remove same_id from function signatures, adjust.
4303
4304 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4307
4308         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4309
4310         * paragraph.C (Paragraph): get rid of same_ids parameter
4311
4312         * ParagraphList.C (insert): adjust
4313         (push_back): adjust
4314
4315 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4316
4317         * paragraph_funcs.C (breakParagraph): adjust
4318         (breakParagraphConservative): adjust
4319
4320         * buffer.C (readParagraph): adjust
4321
4322         * ParagraphList.C (insert): take a reference instead of a pointer
4323         (insert): adjust
4324
4325         * paragraph.[Ch] (id): new function
4326
4327         * bufferlist.C (newFile): adjust
4328
4329         * ParagraphList.C (ParagraphList): adjust
4330         (assign): adjust
4331         (push_back): take a reference instead of a pointer.
4332
4333         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4334
4335         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4336         instead.
4337
4338         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4339         set else use old code.
4340
4341         * ParagraphList.C: remove all NO_NEXT code and only compile this
4342         code of NO_STD_LIST is set.
4343
4344 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4345
4346         * BufferView_pimpl.C:
4347         * TextCache.C:
4348         * TextCache.h:
4349         * bufferlist.C:
4350         * errorlist.h:
4351         * format.C:
4352         * format.h:
4353         * graph.C:
4354         * lyxfunc.C:
4355         * lyxrc.C:
4356         * graphics/GraphicsConverter.C:
4357         * graphics/PreviewLoader.C: header adjustment
4358
4359 2003-05-23  Angus Leeming  <leeming@lyx.org>
4360
4361         * LaTeXFeatures.[Ch] (useBabel): new method.
4362         * bufferparams.C (writeLaTeX): use it.
4363
4364 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4365
4366         * ParagraphList.h (set): remove unused function.
4367
4368 2003-05-23  André Pönitz  <poenitz@gmx.net>
4369
4370         * BufferView.C:
4371         * BufferView_pimpl.C:
4372         * buffer.C:
4373         * buffer.h:
4374         * lyxfunc.C:
4375         * undo_funcs.C: setUndo reworked
4376
4377         * iterators.[Ch]: add access to topmost ParagraphList
4378
4379         * lyxtext.[Ch] (workWidth): add a const
4380
4381 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4382
4383         * texrow.[Ch] (increasePos): remove function
4384         * exporter.C (export): removed unused var and outdated comment
4385
4386 2003-05-23  Angus Leeming  <leeming@lyx.org>
4387
4388         * latexrunparams.h: rename fragile as moving_arg.
4389         * paragraph.C (simpleTeXOnePar): ditto.
4390         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4391
4392 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4393
4394         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4395         (createUndo): ditto
4396         (textUndoOrRedo): comment out a currently unused var.
4397
4398         * paragraph.h (NO_NEXT): enable NO_NEXT
4399
4400         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4401
4402         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4403
4404         * exporter.C (Export): adjust for removeAutoInsets removal.
4405
4406         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4407
4408         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4409
4410         * BufferView.[Ch] (removeAutoInsets): delete function
4411
4412 2003-05-22  Angus Leeming  <leeming@lyx.org>
4413
4414         * latexrunparams.h: add a free_spacing variable.
4415
4416         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4417         to pass moving_arg, as the data is stored in runparams.fragile.
4418
4419         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4420         to Inset::latexOptional or to simpleTeXOnePar.
4421
4422         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4423         free_spacing arg to Inset::latexOptional.
4424
4425         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4426         free_spacing arg.
4427
4428 2003-05-22  Angus Leeming  <leeming@lyx.org>
4429
4430         * latexrunparams.h: add fragile and use_babel variables.
4431
4432         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4433         * buffer.C (makeLaTeXFile): store this returned value in
4434         runparams.use_babel, thus passing it to the inset::latex methods.
4435
4436         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4437         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4438
4439         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4440         longer has a fragile arg, as it is stored in runparams.fragile.
4441
4442         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4443         moving_arg parameter as the data is stored in runparams.fragile.
4444
4445         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4446         a fragile parameter as the data is stored in runparams.fragile.
4447
4448 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4449
4450         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4451
4452 2003-05-22  Angus Leeming  <leeming@lyx.org>
4453
4454         * latexrunparams.h: add a 'bool nice' which defaults to false.
4455
4456         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4457         now encapsulated within runparams.
4458
4459         * bufferlist.C (updateIncludedTeXfiles):
4460         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4461
4462 2003-05-22  Angus Leeming  <leeming@lyx.org>
4463
4464         * latexrunparams.h: new file containing struct LatexRunParams.
4465         * Makefile.am: add new file.
4466
4467         * LaTeX.[Ch] (c-tor, run):
4468         * buffer.[Ch] (makeLaTeXFile):
4469         * bufferlist.[Ch] (updateIncludedTeXfiles):
4470         * converter.C (convert, scanLog):
4471         * converter.[Ch] (runLaTeX):
4472         * exporter.C (Export):
4473         * paragraph.[Ch] (simpleTeXOnePar):
4474         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4475         * paragraph_funcs.[Ch] (latexParagraphs):
4476         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4477         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4478         pass around a LatexRunParams parameter.
4479
4480 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4481
4482         * paragraph.[Ch]: remove unused constructor
4483
4484         * ParagraphList.C (erase): new function, taking two iterators
4485
4486 2003-05-22  André Pönitz  <poenitz@gmx.net>
4487
4488         * undo_funcs.C: remove duplicated code
4489
4490         * iterator.[Ch]: operator=
4491
4492 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4493
4494         * tabular.C (SetMultiColumn): ws changes
4495
4496         * rowpainter.C (paintFirst): get rid of a ->previous
4497
4498         * lyx_cb.C (getPossibleLabel): parlist simplification
4499
4500         * BufferView.C (ChangeInsets): simplify slightly.
4501
4502 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4503
4504         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4505         * lfuns.h: new LFUN_SPACE
4506         * lyxfunc.C: protected space has a new lfun
4507         * paragraph_funcs.C: read new space insets
4508         * text3.C:
4509         * factory.C: handle new space insets
4510
4511 2003-05-22  André Pönitz  <poenitz@gmx.net>
4512
4513         * BufferView.C:
4514         * BufferView_pimpl.C:
4515         * buffer.[Ch]:
4516         * lyxfunc.C:
4517         * undo_funcs.C: return a ParIterator from getParFromID.
4518
4519         * iterators.[Ch]: add two const's
4520
4521 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4522
4523         * toc.C (getTocList): adjust
4524
4525         * iterators.[Ch]: rework for parlist
4526
4527         * buffer.C (par_iterator_begin): adjust
4528         (par_iterator_end): adjust
4529
4530         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4531
4532         * BufferView.C (removeAutoInsets): adjust
4533         (ChangeInsets): adjust
4534
4535 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4536
4537         * text.C (top_y): fix bug 1110
4538
4539 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4540
4541         * errorlist.[Ch]: added
4542         * buffer.C:
4543         * BufferView.[Ch]:
4544         * BufferView_pimpl.C:
4545         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4546         instead
4547
4548 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4549
4550         * Makefile.am: ensure that lyx is relinked upon changes to the
4551         various "convenience" libs.
4552
4553 2003-05-20  Angus Leeming  <leeming@lyx.org>
4554
4555         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4556         files are compiled in alphabetical order again.
4557
4558         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4559
4560 2003-05-19  Angus Leeming  <leeming@lyx.org>
4561
4562         * gettext.[Ch]: remove "char const * _(char const *)".
4563
4564 2003-05-19  André Pönitz  <poenitz@gmx.net>
4565
4566         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4567
4568         * Makefile.am:
4569         * BufferView.C:
4570         * DepTable.h:
4571         * LaTeXFeatures.C:
4572         * buffer.C:
4573         * lyxfont.C:
4574         * lyxlex.h:
4575         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4576
4577 2003-05-19  André Pönitz  <poenitz@gmx.net>
4578
4579         * buffer.C:
4580         * lyxlayout.[Ch]:
4581         * lyxtextclass.[Ch]:
4582         * paragraph.C:
4583         * paragraph_funcs.[Ch]:
4584         * text2.C:
4585         * text3.C: more insetenv work
4586
4587 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4588
4589         * ParagraphParameters.C (params2string): small bug fixed
4590
4591 2003-05-16  André Pönitz  <poenitz@gmx.net>
4592
4593         * debug.C:
4594         * bufferview_funcs.C: patch from Kornel Benko to prevent
4595           crash when _(...) is called twice in a statement
4596
4597 2003-05-16  André Pönitz  <poenitz@gmx.net>
4598
4599         * BufferView.C:
4600         * lyxfunc.C:
4601         * text.C:
4602         * text2.C:
4603         * text3.C:
4604         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4605
4606 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4607
4608         * lyx_main.C (init): remove spurious static_cast
4609
4610 2003-05-14  André Pönitz  <poenitz@gmx.net>
4611
4612         * BufferView.C: fix format string
4613
4614 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4615
4616         * BufferView.[Ch] (insertErrors): removed
4617         * BufferView.[Ch] (showErrorList): added
4618         * buffer.C (runChkTeX):
4619         * converter.C (scanLog): call showErrorList instead of inserterrors
4620
4621 2003-05-13  André Pönitz  <poenitz@gmx.net>
4622
4623         * BufferView_pimpl.C:
4624         * buffer.C:
4625         * bufferview_func.C:
4626         * MenuBackend.C:
4627         * lyxfunc.C:
4628         * lyxrc.C:
4629         * tex-accent.C:
4630         * text3.C:
4631         * toc.C:
4632         * tabular_funcs.h: tostr() from its own header
4633
4634         * ParagraphParameters.C:
4635         * ToolbarBackend.C:
4636         * bufferparams.C:
4637         * format.C:
4638         * lyxlex_pimpl.C:
4639         * text3.C: STRCONV()
4640
4641 2003-05-12  André Pönitz  <poenitz@gmx.net>
4642
4643         * BufferView.C:
4644         * BufferView_pimpl.C:
4645         * CutAndPaste.C:
4646         * LaTeX.C:
4647         * LaTeXFeatures.C:
4648         * ParagraphParameters.C:
4649         * buffer.C:
4650         * bufferlist.C:
4651         * bufferparams.C:
4652         * bufferview_funcs.C:
4653         * converter.C:
4654         * counters.C:
4655         * debug.C:
4656         * exporter.C:
4657         * format.C:
4658         * importer.C:
4659         * lyx_cb.C:
4660         * lyx_main.C:
4661         * lyxfont.C:
4662         * lyxfunc.C:
4663         * lyxvc.C:
4664         * paragraph.C:
4665         * paragraph_funcs.C:
4666         * tabular.C:
4667         * tabular_funcs.C:
4668         * text2.C:
4669         * text3.C:  boost::format -> bformat  all over the place
4670
4671
4672 2003-05-09  André Pönitz  <poenitz@gmx.net>
4673
4674         * LColor.[Ch]: Pimpl the #include <map> away
4675
4676 2003-05-09  John Levon  <levon@movementarian.org>
4677
4678         * bufferlist.C: never remove emergency saves
4679
4680 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4681
4682         * Makefile.am: better lib building
4683
4684 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4685
4686         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4687         instead.
4688         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4689         (simpleTeXSpecialChars): adjust
4690         (simpleTeXSpecialChars): adjust
4691         * paragraph.C (simpleTeXOnePar): adjust
4692         * buffer.C (makeLaTeXFile): adjust
4693
4694         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4695
4696         * text2.C (changeDepth): parlist cleanup
4697         (getColumnNearX): ditto
4698
4699         * rowpainter.C (getLabelFont): parlist cleanup
4700
4701         * bufferlist.C (newFile): parlist cleanup
4702
4703         * CutAndPaste.C (eraseSelection): parlist cleanup
4704
4705         * BufferView_pimpl.C (trackChanges): parlist cleanup
4706         (dispatch): ditto
4707
4708         * BufferView.C (lockInset): parlist cleanup.
4709         (ChangeInsets): ditto
4710
4711 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4712
4713         * CutAndPaste.h: Update file header.
4714
4715         * CutAndPaste.C: Update file header.
4716         Store the parts cut out of the Document in a limited_stack.
4717         (copySelection): adjust
4718         (pasteSelection): new function, takes the index in the limited stack.
4719         (nrOfParagraphs): adjust
4720         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4721         simplify error inset insertion.
4722         (checkPastePossible): adjust
4723
4724 2003-05-06  John Levon  <levon@movementarian.org>
4725
4726         * text2.C: don't cast wrap inset to float
4727
4728 2003-05-05  André Pönitz  <poenitz@gmx.net>
4729
4730         * iterator.C:
4731         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4732
4733         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4734           few naked Paragraph *.
4735
4736 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4737
4738         * bufferparams.C: Output warning if a document with missing
4739         TeX document class is loaded
4740         * exporter.C: Disable TeX exports if the document class is missing
4741         * lyxtextclass.C:
4742         * lyxtextclass.h:
4743         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4744         isTeXClassAvailable()
4745
4746 2003-05-03  John Levon  <levon@movementarian.org>
4747
4748         * BufferView.h:
4749         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4750         explicit cursor show/hide
4751
4752         * BufferView_pimpl.h:
4753         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4754         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4755
4756         * lyxfunc.C: hide cursor before dispatching.
4757
4758         * lyx_cb.C:
4759         * lyxfind.C:
4760         * text.C:
4761         * text3.C: remove explicit cursor hides
4762
4763 2003-05-02  André Pönitz  <poenitz@gmx.net>
4764
4765         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4766
4767         * undo_funcs.C:
4768         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4769           linked lists
4770
4771         * text2.C: tiny whitespace
4772
4773 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4774
4775         * undo_funcs.C: almost only ws changes.
4776
4777         * ParagraphList.C (splice): just return if pl is empty.
4778
4779 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * ParagraphList.C (splice): new function.
4782
4783         * CutAndPaste.C (pasteSelection): use it
4784
4785 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * CutAndPaste.C (pasteSelection): remove the last next and
4788         previous from this file.
4789
4790 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4791
4792         * CutAndPaste.C (pasteSelection): more clean up, user proper
4793         ParagraphList functions for pasteing.
4794
4795         * ParagraphList.C (insert): new function, three arg insert
4796
4797 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4798
4799         * ParagraphList.C (insert): new function, three arg insert
4800
4801         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4802         not on paragraphs.
4803
4804 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4805
4806         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4807
4808 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4809
4810         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4811
4812 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4813
4814         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4815         (copySelection): clean up a bit.
4816         (pasteSelection): use make_pair
4817
4818         * ParagraphList.C (ParagraphList): implement copy constructor
4819         (operator=): implement, base on copy constructor.
4820         (assign): new func
4821
4822         * paragraph.C (erase): return a bool
4823
4824         * paragraph_pimpl.C (erasePos): remove function, move contents...
4825         (erase): ... here. Return a bool.
4826         (erase): call erase instead of erasePos.
4827
4828 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4829
4830         * ParagraphList.h: define PitPosPair
4831         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4832         ParagraphList, fix a bug on pasting multiple pars
4833         * text2.C: change interface to C&P
4834
4835 2003-04-30  André Pönitz  <poenitz@gmx.net>
4836
4837         * undo_func.C: revert part of yesterday's patch 2
4838
4839 2003-04-30  John Levon  <levon@movementarian.org>
4840
4841         * LColor.C: s/tabular/table/
4842
4843 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4844
4845         * text3.C (dispatch): do not convert iterator -> pointer
4846         * undo_funcs.C (setCursorParUndo): ditto
4847         * text_funcs.C (transposeChars): ditto
4848
4849         * text2.C (setLayout): ws changes only
4850
4851         * text.C (breakParagraph): do not convert iterator -> pointer
4852         (insertChar): ditto
4853         (acceptChange): ditto
4854         (rejectChange): ditto
4855         (changeCase): ditto
4856         (Delete): ditto
4857         (backspace): ditto
4858
4859         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4860         pointer
4861
4862 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4863
4864         * text3.C (gotoInset): YABG (yet another bad getChar)
4865
4866 2003-04-29  André Pönitz  <poenitz@gmx.net>
4867
4868         * paragraph.h: make operator= private unimplemented as long as
4869           it is unusable
4870
4871         * ParagraphList.C: whitespace
4872
4873         * paragraph.[Ch]:
4874         * paragraph_pimpl.[Ch]:
4875         * paragraph_funcs.C:
4876         * CutAndPaste.C:
4877         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4878
4879         * text2.C:
4880           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4881
4882 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4883
4884         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4885         * paragraph.[Ch] (erase):
4886         * paragraph_pimpl.[Ch] (erase): change return type and value
4887         * text2.C (cutSelection): some rework
4888
4889 2003-04-28  John Levon  <levon@movementarian.org>
4890
4891         * bufferlist.C: changes for unsaved changes dialog
4892
4893 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * bufferlist.C (newFile): set language (messages_) for new
4896         documents also.
4897
4898         * buffer.C (readFile): ws changes only.
4899
4900 2003-04-28  André Pönitz  <poenitz@gmx.net>
4901
4902         * undo_funcs.C:
4903         * lyxfunc.C:
4904         * buffer.[Ch]:
4905         * BufferView_pimpl.C:
4906         * BufferView.C: getParFromID related ParagraphList::iterator changes
4907
4908 2003-04-28  André Pönitz  <poenitz@gmx.net>
4909
4910         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4911           Changes
4912
4913 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4914
4915         * messages.C: remove one more localedir class variable.
4916
4917 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4918
4919         * messages.C (getLocaleDir): singleton generation function
4920         (Pimpl): use it.
4921         (Messages): add a default constructor.
4922
4923         * main.C (main): do not setup localedir here, do not call
4924         gettext_init.
4925
4926         * gettext.C (_): use it.
4927         (gettext_init): delete funciton
4928
4929 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * gettext.C (getLyXMessages): new singleton generating function.
4932
4933         * buffer.C (updateDocLang): adjust
4934
4935         * Makefile.am (messages.o): add target
4936         (main.o): remove target
4937
4938 2003-04-27  John Levon  <levon@movementarian.org>
4939
4940         * bufferlist.C:
4941         * lyx_cb.C:
4942         * lyxfunc.C:
4943         * lyxvc.C: specify cancel button in Alert::prompt
4944
4945 2003-04-26  John Levon  <levon@movementarian.org>
4946
4947         * text3.C:
4948         * lyxfunc.C:
4949         * lfuns.h:
4950         * LyXAction.C: add LFUN_INSET_SETTINGS
4951
4952         * lyxfunc.C: don't enable tabular-feature when there's
4953         just any locking inset
4954
4955 2003-04-26  John Levon  <levon@movementarian.org>
4956
4957         * bufferlist.C: re-add Cancel to buffer close question
4958
4959         * lyxfunc.C: fix import UI a bit
4960
4961 2003-04-25  John Levon  <levon@movementarian.org>
4962
4963         * gettext.C: remove the broken asserts for now
4964
4965 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4966
4967         * messages.C: make case where setlocale cannot comply work better.
4968
4969         * buffer.C (updateDocLang): new function
4970         (changeLanguage): use it
4971         (readFile): use it
4972
4973         * text2.C (setCounter): use B_ a bit.
4974
4975         * lyxlayout.C (Read): be sure to trim the label strings.
4976
4977         * messages.C (Messages): fix typo in comment
4978
4979         * buffer.C (readFile): set message_ after file is loaded.
4980         (makeDocBookFile): remove double return
4981         (changeLanguage): reset message_ upon language change.
4982         (B_): new func, use this to get translated buffer strings.
4983
4984         * main.C: add myself and Jean Marc as authors.
4985
4986 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4987
4988         * messages.[hC]: pimplify Messages, and three different pimpls to be
4989         used in different circumstances.
4990
4991         * gettext.[Ch]: change for use with new message code.
4992
4993 2003-04-24 André Pönitz <poenitz@gmx.net>
4994
4995         * factory.C: support for eqref
4996
4997 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4998
4999         * messages.[Ch]: add missing char
5000
5001         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5002
5003         * messages.[Ch]: New files
5004
5005 2003-04-18  John Levon  <levon@movementarian.org>
5006
5007         * BufferView.h:
5008         * BufferView.C:
5009         * BufferView_pimpl.C:
5010         * lfuns.h:
5011         * LyXAction.C:
5012         * lyxtext.h:
5013         * text2.C: remove layout-copy/paste (bug 778)
5014
5015 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5016
5017         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5018
5019 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5022         if they succeed. Act accordingly.
5023
5024 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5025
5026         * text2.C (setCharFont): adjust
5027         (setCounter): adjust
5028         (insertStringAsLines): adjust
5029
5030         * text.C (leftMargin): adjust
5031         (setHeightOfRow): adjust
5032
5033         * rowpainter.C (paintFirst): adjust
5034         (paintLast): adjust
5035
5036         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5037         (outerHook): ditto
5038         (isFirstInSequence): ditto
5039         (getEndLabel): ditto
5040         (outerFont): adjust
5041
5042         * paragraph.C (getParLanguage): comment out some hard stuff.
5043
5044         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5045         (sgmlError): ditto
5046         (simpleDocBookOnePar): ditto
5047         (makeDocBookFile): use ParagraphList::iterator
5048
5049         * CutAndPaste.C (pasteSelection): adjust
5050
5051 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5052
5053         * text2.C (getFont): adjust
5054         (getLayoutFont): adjust
5055         (getLabelFont): adjust
5056
5057         * paragraph_funcs.C (TeXOnePar): adjust
5058
5059         * buffer.C (simpleLinuxDocOnePar): adjust
5060         (simpleDocBookOnePar): adjust
5061
5062         * CutAndPaste.C (pasteSelection): adjust
5063
5064         * BufferView.C (getEncoding): adjust
5065
5066         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5067
5068 2003-04-16  John Levon  <levon@movementarian.org>
5069
5070         * lyxfind.C: use parlist stuff for search/changes
5071
5072 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5075
5076         * text2.C (deleteEmptyParagraphMechanism): adjust
5077
5078         * text2.[Ch] (ownerParagraph): delete func (both of them
5079
5080 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5081
5082         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5083
5084 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5085
5086         * ParagraphList.C: prepare for NO_NEXT
5087
5088 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5089
5090         * text2.C (getFont): adjust
5091         (getLayoutFont): adjust
5092         (getLabelFont): adjust
5093
5094         * paragraph.C (getFont): adjust
5095         (getLabelFont): adjust
5096         (getLayoutFont): adjust
5097
5098         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5099
5100 2003-04-15  John Levon  <levon@movementarian.org>
5101
5102         From Angus Leeming
5103
5104         * lyx_main.C: handle Include in .ui files
5105
5106 2003-04-15  John Levon  <levon@movementarian.org>
5107
5108         * MenuBackend.C: make the doc files length shorter
5109
5110         * ToolbarBackend.h:
5111         * ToolbarBackend.C: handle toolbar placement flags,
5112         Minibuffer
5113
5114 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5117         adjust
5118
5119         * paragraph_funcs.C (TeXOnePar): adjust
5120
5121         * paragraph.C (getLabelFont): add outerfont arg, adjust
5122         (getLayoutFont): ditto
5123         (simpleTeXOnePar): adjust
5124
5125         * paragraph_pimpl.C (realizeFont): delete func
5126
5127 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5128
5129         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5130         row argument, constify cur argument.
5131
5132 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5133
5134         * text2.C (getFont): adjust
5135         (getLayoutFont): adjust
5136         (getLabelFont): adjust
5137
5138         * paragraph_funcs.C (TeXOnePar): adjust
5139         (outerFont): new func...
5140         (realizeFont): ...moved out from here, changed this to facilitate
5141         transition
5142
5143         * paragraph.C (getFont): take outerfont as arg, adjust
5144         (simpleTeXOnePar): add outerfont arg, adjust
5145
5146         * buffer.C (simpleLinuxDocOnePar): adjust
5147         (simpleDocBookOnePar): adjust
5148
5149         * CutAndPaste.C (pasteSelection): adjust
5150
5151         * BufferView.C (getEncoding): adjust
5152
5153 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * text2.C (setCharFont): adjust
5156         (setCounter): adjust
5157
5158         * text.C (leftMargin): adjust
5159         (setHeightOfRow): adjust
5160
5161         * rowpainter.C (paintFirst): adjust
5162         (paintLast): adjust
5163
5164         * paragraph_pimpl.C (realizeFont): adjust
5165
5166         * paragraph.C (isFirstInSequence): move from here...
5167         * paragraph_funcs.C (isFirstInSequence): ...to here
5168
5169         * paragraph.C (outerHook): move from here...
5170         * paragraph_funcs.C (outerHook): ...to here
5171
5172         * paragraph.C (depthHook): move from here...
5173         * paragraph_funcs.C (depthHook): ...to here
5174
5175         * paragraph.C (getEndLabel): move from here...
5176         * paragraph_funcs.C (getEndLabel): ...to here
5177
5178         * text2.C (realizeFont): move from here...
5179         * paragraph_funcs.C (realizeFont): ...to here
5180
5181 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5184
5185 2003-04-14  Angus Leeming  <leeming@lyx.org>
5186
5187         * LColor.[Ch]: scrap LColor mathcursor.
5188
5189 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5190
5191         * lyxlex.[Ch] (text): delete function
5192         * trans.C (Load): adjust
5193         * paragraph_funcs.C (readParToken): adjust
5194
5195 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5196
5197         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5198         vector<char> instead of a char[].
5199
5200         * lyxlex_pimpl.C (getString): adjust
5201         (next): adjust
5202         (lex): use getString
5203         (eatLine): adjust
5204         (nextToken): adjust
5205
5206         * lyxlex.C (text): use pimpl_->getString()
5207         (getBool): ditto
5208         (findToken): ditto
5209
5210 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5211
5212         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5213         (makeFontEntriesLayoutSpecific): temp var for par.size()
5214         (setLayout): temp var for ownerParagraphs().end()
5215         (fullRebreak): temp var for rows().end()
5216         (selectionAsString): temp var for boost::next(startpit), realize
5217         that the while really is a regular for loop.
5218         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5219         setCursor in one place.
5220         (setParagraph): temp vr for ownerParagraphs().end()
5221         (updateCounters): make the while loop a for loop
5222         (cutSelection): temp var for ownerParagraphs().end()
5223         (updateInset): make the do {} while() a regular for loop
5224         (getCursorX): use temp vars
5225         (setCurrentFont): use temp vars
5226         (getColumnNearX): use temp vars
5227
5228 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5229
5230         * text.C (transformChar): use temp var for getChar
5231         (computeBidiTables): use temp var for row->par()
5232         (fill): move temp vars for row->par() and pit->layout() earlier in
5233         the function.
5234         (labelFill): use temp var for row->par()
5235         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5236         asc and desc, realize that pit never changes and that firstpit is
5237         just a duplicate and not needed. Exchange rit->par() with pit in a
5238         lot of places.
5239         (breakAgain): use a temp var for boost::next(rit)
5240         (breakAgainOneRow): ditto
5241         (breakParagraph): use a temp var for rows().begin()
5242         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5243         (cursorRightOneWord): use temp var for cursor.par() and
5244         cursor.pos(), remove usage of tmpcursor.
5245         (cursorLeftOneWord): use temp var for cursor.par() and
5246         cursor.pos() only set cur at end of function.
5247
5248 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5249
5250         * text.C, text2.C: exchange all usage of Paragraph::next with
5251         boost::next(ParagraphList::iterator)
5252
5253         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5254
5255         * text2.C (cursorTop): simplify implementation
5256         (cursorBottom): ditto
5257         (setParagraph): use ParagraphList::iterator
5258         (setCurrentFont): adjust
5259         (getColumnNearX): adjust
5260         (cursorRight): adjust
5261         (cursorLeft): remove usage of Paragraph::previous
5262         (cursorUpParagraph): ditto
5263         (deleteEmptyParagraphMechanism): slight cleanup
5264
5265         * text.C (isBoundary): take a Paragraph const & instead of a
5266         pointer as arg.
5267         (addressBreakPoint): ditto
5268         (leftMargin): remove usage of Paragraph::previous.
5269         (setHeightOfRow): ditto
5270         (cursorLeftOneWord): ditto
5271         (selectNextWordToSpellcheck): ditto
5272         (Delete): ditto
5273         (backspace): ditto
5274         (breakParagraph): remove one usage of Paragraph::next
5275         (redoParagraph): ditto
5276         (acceptChange): ditto
5277         (insertChar): adjust
5278         (rowBreakPoint): adjust
5279
5280         * bufferview_funcs.C (toggleAndShow): adjust
5281
5282 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5283
5284         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5285         methods to access it.
5286         * lyxtext.h:
5287         * text.C: Added updateRowPositions to compute all row positions.
5288         Make top_y and getRowNearY() to use the cached y position
5289
5290 2003-04-11  John Levon  <levon@movementarian.org>
5291
5292         * text.C (rowBreakPoint): reintroduce the labelEnd
5293         checks, code copied from the row fill stuff. Deep voodoo.
5294
5295         * text.C (fill): add a comment and debugging for the
5296         next poor soul.
5297
5298 2003-04-11  John Levon  <levon@movementarian.org>
5299
5300         * text.C: make sure fullrow insets get wrapped to the next line,
5301         even when they're in a manual label
5302
5303 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5304
5305         * text2.C (insertParagraph): make it take ParagraphList::iterator
5306         as arg.
5307         (setLayout): make it return ParagraphList::iterator
5308         (redoParagraphs): ditto
5309         (setCounter): ditto
5310         (checkParagraph): ditto
5311
5312         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5313
5314         * text2.C: adjust several funcs.
5315         (realizeFont): take a ParagraphList::iterator as arg.
5316         (getLayoutFont): ditto
5317         (getLabelFont): ditto
5318         (setCharFont): ditto
5319
5320         * text.C: adjust several funcs.
5321
5322 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5323
5324         * text.C (selectNextWordToSpellcheck): don't accidentally
5325         skip insets
5326
5327 2003-04-10  John Levon  <levon@movementarian.org>
5328
5329         * ToolbarBackend.C (getIcon): special handling for
5330         LFUN_MATH_DELIM
5331
5332 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5333
5334         * text2.C (cursorRight): a getChar assert fixed
5335
5336 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * text2.C (getFont): change to take a ParagraphList::iterator
5339         instead of Paragraph*
5340         Adjust several functions.
5341
5342         * text.C (transformChar): change to take a ParagraphList::iterator
5343         instead of Paragraph*
5344         (singleWidth): ditto
5345         Adjust several functions.
5346
5347         * rowpainter.C: adjust several functions
5348         * rowpainter.h:store a ParagraphList::iterator and not a
5349         Paragraph&.
5350
5351
5352 2003-04-09  John Levon  <levon@movementarian.org>
5353
5354         * lyxfunc.C:
5355         * lfuns.h:
5356         * LyXAction.h:
5357         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5358         and the "help" bits as well
5359
5360 2003-04-09  John Levon  <levon@movementarian.org>
5361
5362         * ToolbarBackend.h:
5363         * ToolbarBackend.C: allow multiple toolbars
5364
5365 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5366
5367         * undo_funcs.C (setCursorParUndo): adjust
5368
5369         * text_funcs.C (transposeChars): adjust
5370
5371         * text3.C (gotoNextInset): adjust
5372         (dispatch): adjust
5373
5374         * text2.C (setLayout): adjust
5375         (changeDepth): adjust
5376         (setFont): adjust
5377         (redoParagraphs): adjust
5378         (selectionAsString): adjust
5379         (setParagraph): adjust
5380         (insertInset): adjust
5381         (cutSelection): adjust
5382         (copySelection): adjust
5383         (pasteSelection): adjust
5384         (insertStringAsLines): adjust
5385         (updateInset): adjust
5386         (setCursor): change to take a ParagraphList::iterator parameter
5387         (setCursorIntern): change to take a ParagraphList::iterator parameter
5388         (setCurrentFont): adjust
5389         (cursorLeft): adjust
5390         (cursorRight): adjust
5391         (deleteEmptyParagraphMechanism): adjust
5392
5393         * text.C (breakParagraph): adjust
5394         (insertChar): adjust
5395         (acceptChange): adjust
5396         (rejectChange): adjust
5397         (selectNextWordToSpellcheck): adjust
5398         (changeCase): adjust
5399         (Delete): adjust
5400         (backspace): adjust
5401
5402         * lyxfind.C (SearchForward): adjust
5403         (SearchBackward): adjust
5404         (nextChange): adjust
5405
5406         * lyxcursor.C (par): adjust
5407
5408         * lyxcursor.h: store a ParagraphList::iterator instead of a
5409         Paragraph*
5410
5411         * lyx_cb.C (getPossibleLabel): adjust
5412
5413         * bufferview_funcs.C (toggleAndShow): adjust
5414
5415         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5416         (dispatch): adjust
5417
5418         * BufferView.C (removeAutoInsets): adjust
5419         (lockedInsetStoreUndo): adjust
5420
5421 2003-04-09  John Levon  <levon@movementarian.org>
5422
5423         * ToolbarBackend.C: try icon without argument
5424         if with argument fails
5425
5426 2003-04-08  John Levon  <levon@movementarian.org>
5427
5428         * ToolbarBackend.h:
5429         * ToolbarBackend.C: add getIcon(), handle tooltip,
5430         and change from "Icon" to "Item".
5431
5432 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5433
5434         * BufferView.C (lockInset): another bad getchar crunched
5435
5436 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5437
5438         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5439         again)
5440
5441 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5442
5443         * lyxfind.C (searchForward, searchBackwards): bug 782
5444
5445 2003-04-07  John Levon  <levon@movementarian.org>
5446
5447         * paragraph.C: remove dead comment
5448
5449         * text.C: remove troublesome depth-fiddling code
5450         in leftMargin() and rightMargin() (bug 1017)
5451
5452         * text.C: fix breaking of rows in nested lists
5453         (bug 1004)
5454
5455         * text2.C (updateCounters): fix up depth values
5456         (bug 1013)
5457
5458 2003-04-07  John Levon  <levon@movementarian.org>
5459
5460         * BufferView_pimpl.C: clear message when doc finishes resizing,
5461         and after a mouse event
5462
5463         * lyxfunc.C: clear message after exiting inset
5464
5465 2003-04-07  John Levon  <levon@movementarian.org>
5466
5467         * bufferview_funcs.C: show math status not outside
5468         status in the statusbar
5469
5470 2003-04-07  John Levon  <levon@movementarian.org>
5471
5472         * lyxfunc.C: note status changed after a depth change
5473
5474 2003-04-04  Angus Leeming  <leeming@lyx.org>
5475
5476         * LaTeX.h: move AuxInfo operator==, != out of line.
5477         Remove LaTeX virtual destructor; nothing derives from it.
5478         Move operator()() out of public area and rename it startscript().
5479         Change protected for private.
5480
5481 2003-04-04  Angus Leeming  <leeming@lyx.org>
5482
5483         * lyxfunc.C:
5484         * text2.C: remove unneeded #includes.
5485
5486 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5487
5488         * text2.C (dEPM): fix the heigth of the next row
5489
5490 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5491
5492         * text.C: squashed an invalid getChar requester + some ws changes
5493
5494 2003-04-03  John Levon  <levon@movementarian.org>
5495
5496         * bufferview_funcs.h:
5497         * bufferview_funcs.C:
5498         * lyxfunc.C:
5499         * lyxtext.h:
5500         * text2.C: make getStatus work for the env depth lfuns
5501
5502 2003-04-03  John Levon  <levon@movementarian.org>
5503
5504         * bufferview_funcs.h:
5505         * bufferview_funcs.C:
5506         * lyxfunc.C:
5507         * lyxtext.h:
5508         * text2.C: parlistize decDepth(), by merging it with incDepth()
5509
5510 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5511
5512         * lyxrow.h: store a ParagraphList::iterator instead of a
5513         Paragraph* and adjust other class functions to suit.
5514
5515         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5516         above.
5517
5518 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5519
5520         * text2.C (setCursor): do not anchor to cursor row for the time being
5521
5522 2003-04-02  John Levon  <levon@movementarian.org>
5523
5524         * LyXAction.C:
5525         * lfuns.h:
5526         * lyx_main.C:
5527         * lyxtext.h:
5528         * text.C:
5529         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5530
5531 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5532
5533         * paragraph.h: make ParagraphList and ParagraphList::iterator
5534         friends of Paragraph.
5535
5536         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5537
5538         * ParagraphList.C: Use the private next_ and previous_ from
5539         Paragraph.
5540
5541 2003-04-01  John Levon  <levon@movementarian.org>
5542
5543         * ToolbarBackend.h:
5544         * ToolbarBackend.C:
5545         * Makefile.am: rename, remove defaults gunk
5546
5547         * MenuBackend.h:
5548         * MenuBackend.C: remove defaults gunk
5549
5550         * Languages.h:
5551         * Languages.C: remove defaults gunk
5552
5553         * lyx_main.h:
5554         * lyx_main.C: error out if files couldn't be found.
5555
5556 2003-04-02  John Levon  <levon@movementarian.org>
5557
5558         * text2.C: make incDepth() use parlist
5559
5560 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5561
5562         * undo_funcs.C (firstUndoParagraph): adjust
5563
5564         * text3.C (gotoInset): adjust
5565         (dispatch): adjust, and rewrite loop.
5566
5567         * text2.C (init): adjust, and rewrite loop.
5568         (redoParagraphs): adjust
5569         (updateInset): adjust, and rewrite loop.
5570         (deleteEmptyParagraphMechanism): adjust
5571
5572         * tabular.C (LyXTabular): adjust
5573         (SetMultiColumn): adjust
5574         (TeXRow): adjust
5575
5576         * lyxtext.[Ch] (ownerParagraph): delete function
5577         (ownerParagraphs): new function returns a ParagraphList.
5578
5579         * BufferView.C (removeAutoInsets): adjust
5580         (insertErrors): adjust
5581         (setCursorFromRow): adjust
5582
5583 2003-04-01  Angus Leeming  <leeming@lyx.org>
5584
5585         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5586         in the frontends.
5587
5588 2003-04-02  John Levon  <levon@movementarian.org>
5589
5590         * lyxtext.h:
5591         * text.C:
5592         * Makefile.am:
5593         * text_funcs.h:
5594         * text_funcs.C: make transposeChars a free function
5595
5596         * lyxrow_funcs.C: remove wrong comment
5597
5598 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5599
5600         * lyxtext.h: adjust
5601         * rowpainter.C: adjust
5602         * text.C: adjust
5603         * text2.C: adjust
5604         * text3.C: adjust
5605
5606         * lyxrow_funcs. [Ch]: new files
5607
5608         * lyxrow.[Ch]: remove next and previous pointers
5609         (next,previous): remove accessor functions
5610         (isParEnd): move to lyxrow_funcs
5611         (lastPos): move to lyxrow_funcs
5612         (nextRowIsAllInset): move to lyxrow_funcs
5613         (lastPrintablePos): move to lyxrow_funcs
5614         (numberOfSeparators): move to lyxrow_funcs
5615         (numberOfHfills): move to lyxrow_funcs
5616         (numberOfLabelHfills): move to lyxrow_funcs
5617         (hfillExpansion): move to lyxrow_funcs
5618
5619         * lyxfunc.C: adjust
5620
5621         * bufferview_funcs.C (toggleAndShow): adjust
5622
5623         * RowList.h: Remove class RowList from file leave just a
5624         std::list<Row>.
5625
5626         * RowList.C: delete file
5627
5628         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5629         and lyxrow_funcs.h
5630
5631 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * text3.C (cursorPrevious): adjust
5634         (cursorNext): adjust
5635         (dispatch): adjust
5636
5637         * text2.C (redoHeightOfParagraph): adjust
5638         (redoDrawingOfParagraph): adjust
5639         (setCursor): adjust
5640
5641         * text.C (breakParagraph): adjust
5642         (insertChar): adjust
5643         (backspace): adjust
5644
5645         * rowpainter.C (RowPainter): adjust
5646         (leftMargin): simplify and adjust
5647         (most rowpainter functions): adjust.
5648
5649         * rowpainter.h: store the row as RowList::iterator not as Row*
5650
5651         * lyxcursor.C (row): taka RowList::iterator as arg
5652         (irow): ditto
5653
5654         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5655         of Row*.
5656
5657 2003-04-01  Angus Leeming  <leeming@lyx.org>
5658
5659         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5660         stuff like bool Bool.
5661
5662 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5663
5664         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5665         rewrite a loop
5666
5667 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5668
5669         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5670         RowList::iterator.
5671
5672         * lyxtext.h (rows): drop one version and leve a const variant that
5673         returns a RowList::iterator.
5674
5675 2003-03-31  Angus Leeming  <leeming@lyx.org>
5676
5677         * text.C (fill): ensure that the signature is the same as that in the
5678         header file.
5679
5680 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5681
5682         * text2.C (redoParagraphs): adjust
5683         (updateCounters): adjust
5684         (checkParagraph): adjust
5685         (getColumnNearX): adjust and reformat a bit.
5686
5687         * text.C (top_y): adjust
5688         (workWidth): adjust
5689         (leftMargin): adjust
5690         (prepareToPrint): adjust
5691         (getRow): adjust
5692         (getRowNearY): adjust
5693
5694         * lyxtext.h: make rowlist_ mutable.
5695
5696         * RowList.h: add const_iterator
5697         * RowList.C: adjust for RowList::const_iterator.
5698
5699         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5700         adjust.
5701
5702 2003-03-31  John Levon  <levon@movementarian.org>
5703
5704         * lyxrc.h:
5705         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5706
5707         * lyx_main.C: set default fonts from using lyx_gui funcs
5708
5709         * exporter.C: pdf_mode moved from lyxrc
5710
5711         * lyx_cb.C:
5712         * lyxfunc.C: changes from above
5713
5714 2003-03-31  John Levon  <levon@movementarian.org>
5715
5716         * lyx_main.C: fix to the last fix
5717
5718 2003-03-31  John Levon  <levon@movementarian.org>
5719
5720         * bufferlist.C: "Load original" -> "Load Original"
5721
5722         * converter.C:
5723         * exporter.C:
5724         * importer.C:
5725         * lyx_main.C:
5726         * format.C: more Alert cleanups
5727
5728 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * text2.C (removeParagraph): make it take a RowList::iterator as
5731         arg, adjust.
5732         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5733         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5734
5735         * text.C (anchor_row): make it take a RowList::iterator as arg,
5736         adjust.
5737         (computeBidiTables): make it take a const reference to Row instead
5738         of Row pointer, adjust.
5739         (leftMargin): make it take a RowList::iterator as arg, adjust.
5740         (rowBreakPoint): adjust
5741         (breakAgainOneRow): make it take a RowList::iterator as arg,
5742         adjust.
5743         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5744
5745         * bufferview_funcs.C (toggleAndShow): adjust
5746
5747 2003-03-30  John Levon  <levon@movementarian.org>
5748
5749         * Makefile.am:
5750         * BoostFormat.h:
5751         * boost-inst.C: moved to support
5752
5753         * several files: changes as a result
5754
5755 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5756
5757         * text2.C (LyXText): adjust.
5758         (init): adjust
5759         (removeRow): make it take a RowList::iterator as arg, adjust.
5760         (fullRebreak): adjust
5761         (deleteEmptyParagraphMechanism): adjust
5762         (clearPaint): adjust
5763         (postPaint): adjust
5764
5765         * text.C (top_y): adjust
5766         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5767         (breakAgain): make it take a RowList::iterator as arg, adjust.
5768         (breakParagraph): adjust
5769         (insertChar): adjust
5770         (backspace): adjust
5771
5772         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5773         need_break_row, and refresh_row.
5774
5775         * text3.C (dispatch): adjust
5776
5777         * text2.C (checkParagraph): adjust
5778         (setCursor): adjust
5779         (setCursorFromCoordinates): adjust
5780
5781         * text.C (top_y): adjust
5782         (workWidth): adjust
5783         (getRow): make it return a RowList::iterator, adjust
5784         (getRowNearY): make it return a RowList::iterator, adjust
5785
5786         * text2.C (init): adjust
5787         (insertRow): remove function
5788         (insertParagraph): adjust
5789         (redoParagraphs): adjust
5790         (fullRebreak): adjust
5791         (updateCounters): adjust
5792
5793         * text.C (top_y): rewrite to use RowList iterators.
5794         (top_y): adjust
5795         (setHeightOfRow): rewrite to sue RowList iterators.
5796         (appendParagraph): adjust
5797         (breakAgain): adjust
5798         (breakAgainOneRow): adjust
5799         (breakParagraph): adjust
5800         (getRow): adjust
5801         (getRowNearY): adjust, and remove commented code.
5802
5803         * lyxtext.h (firstRow): delete function
5804         (lastRow): delete function
5805         (rows): new function (const and non-const versions.)
5806         (insertRow): delete function
5807
5808         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5809
5810 2003-03-29  John Levon  <levon@movementarian.org>
5811
5812         * BufferView_pimpl.C: always update scrollbar top
5813         because pasting text when we're anchored could mean we
5814         miss an update altogether
5815
5816 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * text2.C (init): use rowlist_.end() and not 0.
5819         (insertRow): change to take a RowList::iterator as arg, adjust
5820         for this.
5821         (insertParagraph): change to take a RowList::iterator as arg,
5822         adjust for this.
5823         (redoParagraphs): remove some debug msgs.
5824
5825         * text.C (appendParagraph): change to take a RowList::iterator
5826         arg, adjust for this.
5827         (breakAgain): add an assert
5828         (breakAgainOneRow): ditto
5829
5830 2003-03-29  John Levon  <levon@movementarian.org>
5831
5832         * text2.C: do not clear selection after inc/decDepth
5833         (bug 550)
5834
5835 2003-03-29  John Levon  <levon@movementarian.org>
5836
5837         * BufferView.C:
5838         * buffer.C: fix broken strerrors according to Lars
5839
5840 2003-03-29  John Levon  <levon@movementarian.org>
5841
5842         * converters.C: more Alert cleanups
5843
5844 2003-03-29  John Levon  <levon@movementarian.org>
5845
5846         * bufferview_funcs.C: remove pointless Alert
5847
5848         * buffer.C: fix confusing error message when
5849         a template is chmoded 000
5850
5851 2003-03-29  John Levon  <levon@movementarian.org>
5852
5853         * BufferView.C:
5854         * BufferView.h:
5855         * BufferView_pimpl.C: Alert fixes
5856
5857         * Makefile.am:
5858         * tabular.C:
5859         * tabular-old.C: remove unused table compat reading
5860
5861 2003-03-29  John Levon  <levon@movementarian.org>
5862
5863         * BufferView.C:
5864         * buffer.C:
5865         * lyx_cb.h:
5866         * lyx_cb.C: more Alert cleanups
5867
5868         * lyxfunc.C: don't allow chktex if not latex document
5869
5870 2003-03-29  John Levon  <levon@movementarian.org>
5871
5872         * lyx_cb.C:
5873         * BufferView.C:
5874         * buffer.C: warnings pushed down from support/,
5875         kill err_alert
5876
5877 2003-03-29  John Levon  <levon@movementarian.org>
5878
5879         * lyxfunc.C: safety check for C-r (revert)
5880
5881 2003-03-29  John Levon  <levon@movementarian.org>
5882
5883         * bufferlist.h:
5884         * bufferlist.C: several UI fixes using Alert::prompt.
5885         Fix the pointless looping quit code. Fix stupid revert
5886         behaviour (bug 938)
5887
5888         * lyxvc.h:
5889         * lyxvc.C:
5890         * lyx_cb.C: use Alert::prompt
5891
5892         * lyx_main.C: remove a silly question
5893
5894         * lyxfunc.C: remove a couple of silly questions,
5895         use Alert::prompt
5896
5897 2003-03-28  John Levon  <levon@movementarian.org>
5898
5899         * text2.C: fix bug 974 (End on empty par)
5900
5901 2003-03-28  John Levon  <levon@movementarian.org>
5902
5903         * BufferView_pimpl.C:
5904         * LyXAction.C:
5905         * lfuns.h: remove do-nothing math greek lfuns
5906
5907 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5908
5909         * lyxgluelength.h (isValidGlueLength): add default arg on
5910         parameter 2. Remove default arg from friend in class.
5911
5912         * lyxlength.h (isValidLength): add default arg on parameter 2.
5913         Remove default arg from friend in class.
5914
5915         * text2.C (LyXText): adjust, initialize refresh_row.
5916         (init): adjust
5917         (removeRow): adjust
5918         (insertRow): adjust
5919         (insertParagraph): adjst
5920         (redoParagraphs): adjust
5921         (fullRebreak): adjust
5922         (updateCounters): adjust
5923         (deleteEmptyParagraphMechanism): first attempt at fixing a
5924         crashing bug.
5925
5926         * text.C (top_y): adjust
5927         (setHeightOfRow): adjust
5928         (getRow): adjust
5929         (getRowNearY): adjust
5930
5931         * lyxtext.h: include RowList.h
5932         (~LyXText): not needed anymore, deleted.
5933         (firstRow): modify for RowList
5934         (lastRow): new function
5935         Delete firstrow and lastrow class variables, add a Rowlist
5936         rowlist_ class variable.
5937
5938         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5939         paragraph is empty.
5940
5941         * RowList.C (insert): fix case where it == begin().
5942
5943 2003-03-26  Angus Leeming  <leeming@lyx.org>
5944
5945         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5946         the thesaurus dialog.
5947
5948 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5951
5952         * RowList.[Ch]: new files
5953
5954         * ParagraphList.C (erase): handle the case where it == begin
5955         correctly.
5956
5957 2003-03-25  John Levon  <levon@movementarian.org>
5958
5959         * Makefile.am:
5960         * aspell_local.h:
5961         * aspell.C: add new aspell support
5962
5963         * lyxrc.h:
5964         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5965         have it accessible.
5966
5967 2003-03-25  Angus Leeming  <leeming@lyx.org>
5968
5969         * lfuns.h:
5970         * LyXAction.C (init): new LFUN_INSET_INSERT.
5971
5972         * BufferView_pimpl.C (dispatch): split out part of the
5973         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5974
5975         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5976         LFUN_INSET_APPLY.
5977
5978 2003-03-25  Angus Leeming  <leeming@lyx.org>
5979
5980         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5981
5982 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5983
5984         * text2.C:
5985         * text3.C: remove useless row->height(0)
5986
5987 2003-03-25  John Levon  <levon@movementarian.org>
5988
5989         * lyxtext.h:
5990         * text2.C:
5991         * text3.C: rename the refreshing stuff to better names
5992
5993 2003-03-24  John Levon  <levon@movementarian.org>
5994
5995         * BufferView_pimpl.h:
5996         * BufferView_pimpl.C: update layout choice on a mouse
5997         press/release
5998
5999 2003-03-23  John Levon  <levon@movementarian.org>
6000
6001         * Makefile.am: fix commandtags.h reference
6002
6003 2003-03-22  John Levon  <levon@movementarian.org>
6004
6005         * BufferView_pimpl.C:
6006         * lyxtext.h:
6007         * rowpainter.C:
6008         * rowpainter.h:
6009         * text.C:
6010         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6011
6012 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6013
6014         * lyxtext.h:
6015         * text.C: take the rtl methods out of line
6016
6017 2003-03-21 André Pönitz <poenitz@gmx.net>
6018
6019         * metricsinfo.[Ch]: new files containing structures to be passed around
6020         during the two-phase-drawing...
6021
6022 2003-03-21 André Pönitz <poenitz@gmx.net>
6023
6024         * lyxtextclass.C: read 'environment' tag.
6025
6026 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6027
6028         * text2.C (removeRow): fix bug 964
6029
6030 2003-03-20  John Levon  <levon@movementarian.org>
6031
6032         * rowpainter.C:
6033         * text.C:
6034         * text2.C: paint cleanups. Inset::update() dropped font
6035         parameter
6036
6037 2003-03-19  John Levon  <levon@movementarian.org>
6038
6039         * lyxfunc.C: only fitcursor/markDirty if available()
6040
6041 2003-03-19  John Levon  <levon@movementarian.org>
6042
6043         * commandtags.h: rename to ...
6044
6045         * lfuns.h: ... this, and renumber / cleanup
6046
6047 2003-03-19  John Levon  <levon@movementarian.org>
6048
6049         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6050         fit the cursor after an lfun
6051
6052         * BufferView.h:
6053         * BufferView.C:
6054         * BufferView_pimpl.h:
6055         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6056
6057         * LyXAction.C: layout-character should have ReadOnly
6058
6059         * ParagraphParameters.C:
6060         * buffer.C:
6061         * bufferview_funcs.C:
6062         * lyx_cb.C:
6063         * lyxfind.C:
6064         * lyxtext.h:
6065         * text.C:
6066         * text2.C:
6067         * text3.C:
6068         * undo_funcs.C: changes from above
6069
6070 2003-03-18  John Levon  <levon@movementarian.org>
6071
6072         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6073         remove it from update()
6074
6075         * lyxfunc.C: update layout choice after an lfun
6076
6077         * text3.C: remove extra updateLayoutChoice()s
6078
6079 2003-03-18  John Levon  <levon@movementarian.org>
6080
6081         * text.C: top_y change means full repaint, fix
6082         a drawing bug with cursor movement
6083
6084 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6085
6086         * lyxtext.h:
6087         * text.C:
6088         * text2.C: anchor row on setCursor
6089
6090 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6091
6092         * lyxtext.h: remove almost all mutable keywords
6093         * text.C:
6094         * text2.C:
6095         * text3.C: remove const keywords accordingly
6096
6097 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6100         anon namespace
6101         (TeXEnvironment): ditto
6102         (TeXOnePar): ditto
6103
6104 2003-03-17  John Levon  <levon@movementarian.org>
6105
6106         * text.C (rowBreakPoint): remove attempt to fix displayed
6107         math insets inside a manual label
6108
6109 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * lyxtext.h: remove BufferView* as first arg from almost all class
6112         functions.
6113         * other files: adjust.
6114
6115 2003-03-17  John Levon  <levon@movementarian.org>
6116
6117         * lyxtext.h:
6118         * undo_funcs.C:
6119         * text2.C: more paint cleanups
6120
6121         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6122
6123         * rowpainter.h:
6124         * rowpainter.C: remove "smart" background painting code
6125
6126 2003-03-16  John Levon  <levon@movementarian.org>
6127
6128         * lyxtext.h:
6129         * text.C:
6130         * text2.C:
6131         * text3.C: add helper functions for setting refresh_row/y
6132
6133 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6134
6135         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6136         newline inset which *can* get inserted in the pass_thru layouts.
6137         This is primarily for literate documents.
6138
6139 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6140
6141         * buffer.C: increment LYX_FORMAT to 223
6142
6143 2003-03-14 André Pönitz <poenitz@gmx.net>
6144
6145         * textclass.h: prepare for environment handling, ws changes
6146         * lyxlayout.C: read latexheader and latexfooter tags
6147
6148 2003-03-14  John Levon  <levon@movementarian.org>
6149
6150         * text2.C: rewrite ::status() a bit
6151
6152 2003-03-13  John Levon  <levon@movementarian.org>
6153
6154         * lyxtext.h: add some docs
6155
6156 2003-03-13  John Levon  <levon@movementarian.org>
6157
6158         * lyxtext.h:
6159         * text.C:
6160         * text2.C:
6161         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6162
6163 2003-03-13  John Levon  <levon@movementarian.org>
6164
6165         * text3.C: fix appendix redrawing
6166
6167 2003-03-13  John Levon  <levon@movementarian.org>
6168
6169         * text.C (setHeightOfRow):
6170         * rowpainter.h:
6171         * rowpainter.C: make appendix mark have the text
6172           "Appendix" so the user knows what it is
6173
6174         * LColor.h:
6175         * LColor.C: s/appendixline/appendix/ from above
6176
6177 2003-03-13  John Levon  <levon@movementarian.org>
6178
6179         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6180
6181         * text.C: fix a getChar(pos) bug properly
6182
6183 2003-03-13  Angus Leeming  <leeming@lyx.org>
6184
6185         * commandtags.h:
6186         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6187         Probably only temporary. Let's see how things pan out.
6188
6189         * BufferView.C (unlockInset):
6190         * BufferView_pimpl.C (fitCursor):
6191         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6192
6193         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6194         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6195
6196         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6197         new functions that convert ParagraphParameters to and from a string.
6198
6199         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6200         BufferView::Pimpl's dispatch.
6201         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6202
6203 2003-03-13 André Pönitz <poenitz@gmx.net>
6204
6205         * lyxfunc.C:
6206         * text3.C:
6207         * factory.C: make it aware of InsetEnv
6208
6209 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6210
6211         * text2.C (setCursor): never ask for one past last
6212         (setCursor): add some debugging messages.
6213
6214         * text.C (singleWidth): never ask for one past last
6215         (singleWidth): ditto
6216         (leftMargin): ditto
6217         (rightMargin): ditto
6218         (rowBreakPoint): ditto
6219         (setHeightOfRow): ditto
6220         (prepareToPrint): ditto
6221
6222         * rowpainter.C (paintBackground): never ask for one past last
6223         (paintText): never ask for one past last
6224
6225         * paragraph_pimpl.C (getChar): make the assert stricter, never
6226         allow the one past last pos to be taken
6227
6228         * paragraph.C (getChar): ws changes only
6229
6230         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6231         (numberOfSeparators): ditto
6232         (numberOfHfills): ditto
6233
6234 2003-03-12  John Levon  <levon@movementarian.org>
6235
6236         * author.h:
6237         * author.C:
6238         * bufferparams.h:
6239         * bufferparams.C:
6240         * paragraph_funcs.C: fix per-buffer authorlists
6241
6242 2003-03-12  John Levon  <levon@movementarian.org>
6243
6244         * text.C: fix newline in right address
6245
6246 2003-03-12  Angus Leeming  <leeming@lyx.org>
6247
6248         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6249         duplicate those in LyXFunc::dispatch.
6250
6251         * commandtags.h:
6252         * LyXAction.C:
6253         * ToolbarDefaults.C:
6254         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6255         Add LFUN_FONTFREE_UPDATE.
6256
6257         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6258         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6259
6260         * bufferview_func.[Ch]: several new functions to facilliate
6261         transfer of data to and from the character dialog.
6262
6263 2003-03-12  John Levon  <levon@movementarian.org>
6264
6265         * buffer.C:
6266         * paragraph.h:
6267         * paragraph.C:
6268         * paragraph_funcs.C:
6269         * paragraph_pimpl.C:
6270         * sgml.C:
6271         * tabular.C:
6272         * text.C:
6273         * text3.C: remove META_NEWLINE in favour of an inset
6274
6275         * rowpainter.h:
6276         * rowpainter.C: remove paintNewline (done by inset)
6277
6278 2003-03-12  John Levon  <levon@movementarian.org>
6279
6280         * paragraph_pimpl.C: complain about bad getChar()s
6281         for a while at least
6282
6283 2003-03-12  John Levon  <levon@movementarian.org>
6284
6285         * buffer.h:
6286         * buffer.C: move paragraph read into a separate function,
6287         a little renaming to reflect that.
6288
6289         * bufferparams.h:
6290         * bufferparams.C: remove the author_ids map, not necessary now
6291
6292         * factory.h:
6293         * factory.C: moved Buffer::readInset to here
6294
6295         * paragraph_funcs.h:
6296         * paragraph_funcs.C: readParagraph free function moved from
6297         buffer.C
6298
6299         * tabular.C: name change
6300
6301 2003-03-12  John Levon  <levon@movementarian.org>
6302
6303         * buffer.C:
6304         * ParagraphParameters.C: move par params input to
6305         a read() method
6306
6307         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6308         behave like a normal read from the stream wrt reading
6309         a line vs. a \\token
6310
6311 2003-03-12  John Levon  <levon@movementarian.org>
6312
6313         * paragraph.C:
6314         * ParagraphParameters.h:
6315         * ParagraphParameters.C: move output code to a
6316         ::write() method
6317
6318 2003-03-12  John Levon  <levon@movementarian.org>
6319
6320         * BufferView.C (insertLyXFile):
6321         * buffer.h:
6322         * buffer.C:
6323         * tabular.C: use a parlist iterator for creating the
6324           document.
6325
6326 2003-03-12  John Levon  <levon@movementarian.org>
6327
6328         * buffer.C: make current_change static local not
6329           static file-scope
6330
6331 2003-03-12  John Levon  <levon@movementarian.org>
6332
6333         * buffer.C: fix insertStringAsLines for change tracking
6334
6335 2003-03-12  John Levon  <levon@movementarian.org>
6336
6337         * BufferView.C:
6338         * tabular.C:
6339         * buffer.h:
6340         * buffer.C:
6341         * bufferparams.h:
6342         * bufferparams.C: move author list into params. Rename some
6343           functions. Move the header reading into a separate token
6344           loop. Move the header token reading into BufferParams.
6345
6346 2003-03-12  John Levon  <levon@movementarian.org>
6347
6348         * changes.C: put debug inside lyxerr.debugging() checks
6349
6350 2003-03-11 André Pönitz <poenitz@gmx.net>
6351
6352         * factory.C: make it aware of InsetHFill
6353
6354 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6355
6356         * buffer.C (latexParagraphs): move function from here...
6357         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6358         args.
6359
6360 2003-03-10  Angus Leeming  <leeming@lyx.org>
6361
6362         * LyXAction.C (init): fix bug in poplating array with multiple entries
6363         with the same LFUN (spotted by JMarc).
6364
6365 2003-03-10  John Levon  <levon@movementarian.org>
6366
6367         * text.C:
6368         * text2.C: move getColumnNearX() near its
6369         only call site
6370
6371 2003-03-10  John Levon  <levon@movementarian.org>
6372
6373         * text.C: fix break before a minipage
6374
6375 2003-03-10  John Levon  <levon@movementarian.org>
6376
6377         * text.C: fix the last commit
6378
6379 2003-03-09  John Levon  <levon@movementarian.org>
6380
6381         * lyxtext.h:
6382         * text.C:
6383         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6384         bug 365 (don't break before insets unless needed). Don't
6385         return a value > last under any circumstances.
6386
6387 2003-03-09  Angus Leeming  <leeming@lyx.org>
6388
6389         * BufferView_pimpl.C (trackChanges, dispatch): call
6390         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6391
6392 2003-03-09  Angus Leeming  <leeming@lyx.org>
6393
6394         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6395         than Dialogs::showAboutlyx().
6396
6397 2003-03-09  Angus Leeming  <leeming@lyx.org>
6398
6399         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6400         than Dialogs::showTabularCreate().
6401
6402 2003-03-09  John Levon  <levon@movementarian.org>
6403
6404         * lyxtext.h:
6405         * text.C:
6406         * text2.C: 3rd arg to nextBreakPoint was always the same.
6407           Use references.
6408
6409 2003-03-08  John Levon  <levon@movementarian.org>
6410
6411         * lyxrow.C:
6412         * paragraph.C:
6413         * paragraph.h:
6414         * rowpainter.C:
6415         * text.C:
6416         * text2.C: Remove the "main" bit from the "main body"
6417           notion.
6418
6419 2003-03-08  John Levon  <levon@movementarian.org>
6420
6421         * text.C (leftMargin): The left margin of an empty
6422         manual label paragraph should not include the label width
6423         string length.
6424
6425         * text.C (prepareToPrint): don't attempt to measure hfills
6426         for empty manual label paragraphs - the answer should be 0
6427
6428 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6429
6430         * CutAndPaste.C: remove commented code and reindent.
6431
6432 2003-03-08  John Levon  <levon@movementarian.org>
6433
6434         * lyxfunc.h:
6435         * lyxfunc.C: move reloadBuffer()
6436
6437         * BufferView.h:
6438         * BufferView.C: to here
6439
6440         * lyxvc.C: add comment
6441
6442         * vc-backend.h:
6443         * vc-backend.C: call bv->reload() to avoid
6444           getStatus() check on MENURELOAD
6445
6446 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6447
6448         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6449         to an old format .dep file.
6450
6451 2003-03-07  Angus Leeming  <leeming@lyx.org>
6452
6453         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6454         when the LFUN_MOUSE_RELEASE should have been handled by
6455         inset->localDispatch.
6456
6457 2003-03-07  Angus Leeming  <leeming@lyx.org>
6458
6459         * BufferView_pimpl.C (dispatch):
6460         * LyXAction.C (init):
6461         * ToolbarDefaults.C (init):
6462         * commandtags.h:
6463         * lyxfunc.C (getStatus):
6464         remove LFUN_INSET_GRAPHICS.
6465
6466         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6467
6468 2003-03-07  Angus Leeming  <leeming@lyx.org>
6469
6470         * commandtags.h:
6471         * LyXAction.C (init):
6472         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6473
6474         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6475
6476         * commandtags.h:
6477         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6478
6479         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6480         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6481
6482 2003-03-07  Angus Leeming  <leeming@lyx.org>
6483
6484         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6485         remove "ert".
6486
6487 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6488
6489         * ParagraphList.C (front): new function
6490         (back): implement
6491
6492 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6493
6494         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6495         and top_row_offset_. removed var first_y.
6496         * text.C (top_y):
6497         * text2.C (LyXText, removeRow):
6498         * text3.C:
6499         * BufferView_pimpl.C:
6500         use these methods instead of using first_y
6501
6502 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6503
6504         * text2.C (pasteSelection): adjust for checkPastePossible
6505
6506         * CutAndPaste.C: remove Paragraph * buf and replace with
6507         ParagraphList paragraphs.
6508         (DeleteBuffer): delete
6509         (cutSelection): change the tc type to textclass_type
6510         (copySelection): change the tc type to textclass_type
6511         (copySelection): adjust for ParagraphList
6512         (pasteSelection): change the tc type to textclass_type
6513         (pasteSelection): adjust for Paragraphlist
6514         (nrOfParagraphs): simplify for ParagraphList
6515         (checkPastePossible): simplify for ParagraphList
6516         (checkPastePossible): remove unused arg
6517
6518         * ParagraphList.C (insert): handle the case where there are no
6519         paragraphs yet.
6520
6521         * CutAndPaste.h: make CutAndPaste a namespace.
6522
6523         * text3.C (dispatch): adjust
6524
6525         * text.C (breakParagraph): add a ParagraphList as arg
6526
6527         * paragraph_funcs.C (breakParagraph): change to take a
6528         BufferParams and a ParagraphList as args.
6529         (breakParagraphConservative): ditto
6530         (mergeParagraph): ditto
6531         (TeXDeeper): add a ParagraphList arg
6532         (TeXEnvironment): ditto
6533         (TeXOnePar): ditto
6534
6535         * buffer.C (readLyXformat2): adjust
6536         (insertStringAsLines): adjust
6537         (latexParagraphs): adjust
6538
6539         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6540         (cutSelection): adjust
6541         (pasteSelection): adjust
6542
6543         * BufferView_pimpl.C (insertInset): adjust
6544
6545 2003-03-05  Angus Leeming  <leeming@lyx.org>
6546
6547         * commandtags.h:
6548         * LyXAction.C (init):
6549         * BufferView_pimpl.C (dispatch):
6550         * lyxfunc.C (getStatus):
6551         remove LFUN_CHILD_INSERT.
6552
6553         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6554
6555 2003-03-05  Angus Leeming  <leeming@lyx.org>
6556
6557         * commandtags.h:
6558         * LyXAction.C (init):
6559         * src/factory.C (createInset):
6560         * lyxfunc.C (getStatus):
6561         * text3.C (dispatch):
6562         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6563
6564         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6565
6566 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6567
6568         * ParagraphList.C (insert): handle insert right before end()
6569         (erase): fix cases where it can be first or last paragraph.
6570
6571 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6572
6573         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6574         Paragraph::next and Paragraph::previous
6575         (TeXOnePar): ditto
6576
6577         * text.C (breakParagraph): adjust
6578
6579         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6580         BufferParams& as arg.
6581         (breakParagraph): use ParagraphList::insert
6582         (breakParagraphConservative): take a Buffer* instead of a
6583         BufferParams& as arg.
6584         (breakParagraphConservative): use ParagraphList::insert.
6585
6586         * buffer.C (insertStringAsLines): un-const it
6587         (insertStringAsLines): adjust
6588
6589         * ParagraphList.C (insert): new function
6590
6591         * CutAndPaste.C (pasteSelection): adjust
6592
6593         * text.C (backspace): adjust
6594
6595         * tabular.C (SetMultiColumn): adjust
6596
6597         * CutAndPaste.C (cutSelection): adjust
6598         (pasteSelection): adjust
6599
6600         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6601         Buffer const * as arg
6602
6603         * ParagraphList.C (erase): new function
6604         * paragraph_funcs.C (mergeParagraph): use it
6605         (mergeParagraph): make it take a Buffer* instead of a
6606         BufferParams* as arg
6607
6608         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6609         as arg
6610         (breakParagraphConservative): ditto
6611
6612         * paragraph.h: remove the breakParagraph friend
6613
6614         * paragraph.C (eraseIntern): new function
6615         (setChange): new function
6616
6617         * paragraph_funcs.C (mergeParagraph): make it take a
6618         ParagraphList::iterator instead of a Paragraph *, adjust
6619         accordingly.
6620
6621         * paragraph.h: move an #endif so that the change tracking stuff
6622         also works in the NO_NEXT case.
6623
6624 2003-03-04  Angus Leeming  <leeming@lyx.org>
6625
6626         * commandtags.h:
6627         * LyXAction.C: new LFUN_INSET_MODIFY.
6628
6629         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6630         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6631
6632 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6633
6634         * several files: ws changes only
6635
6636         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6637         (TeXEnvironment): ditto
6638         (TeXDeeper): ditto
6639
6640         * buffer.C (makeLaTeXFile): adjust
6641         (latexParagraphs): make it take ParagraphList::iterator as args
6642
6643 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6644
6645         * buffer.C (latexParagraphs): adjust
6646
6647         * paragraph.C (TeXOnePar): move function...
6648         (optArgInset): move function...
6649         (TeXEnvironment): move function...
6650         * paragraph_pimpl.C (TeXDeeper): move function...
6651         * paragraph_funcs.C: ...here
6652
6653         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6654
6655 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * buffer.C (readInset): remove compability code for old Figure and
6658         InsetInfo insets
6659
6660 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6661
6662         * buffer.C: ws changes
6663         (readInset):
6664
6665         * BufferView_pimpl.C: ditto
6666         * author.C: ditto
6667         * buffer.h: ditto
6668         * bufferlist.h: ditto
6669         * changes.h: ditto
6670         * lyxfunc.C: ditto
6671
6672 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6673
6674         * converter.[Ch]: split into itself +
6675         * graph.[Ch]
6676         * format.[Ch]
6677         * Makefile.am: += graph.[Ch] + format.[Ch]
6678         * MenuBackend.C
6679         * buffer.C
6680         * exporter.C
6681         * importer.C
6682         * lyx_main.C
6683         * lyxfunc.C
6684         * lyxrc.C: added #include "format.h"
6685
6686 2003-02-27  Angus Leeming  <leeming@lyx.org>
6687
6688         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6689           a label.
6690
6691         * factory.C (createInset): add "label" to the factory.
6692
6693         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6694           string and do no more.
6695
6696 2003-02-27  Angus Leeming  <leeming@lyx.org>
6697
6698         * commandtags.h:
6699         * LyXAction.C (init):
6700         * factory.C (createInset):
6701         * BufferView_pimpl.C (dispatch):
6702           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6703
6704         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6705
6706         * lyxfunc.C (dispatch):
6707         * text3.C (dispatch): pass name to params2string.
6708
6709 2003-02-26  Angus Leeming  <leeming@lyx.org>
6710
6711         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6712           blocks together.
6713           Rearrange the ~includes. Strip out the unnecessary ones.
6714
6715         * factory.C (createInset): reformat.
6716           create new insets for the various LFUN_XYZ_APPLY lfuns.
6717
6718 2003-02-26  John Levon  <levon@movementarian.org>
6719
6720         * lyxrow.h:
6721         * lyxrow.C: add isParStart,isParEnd helpers
6722
6723         * paragraph.h: make isInserted/DeletedText take refs
6724
6725         * paragraph_funcs.h:
6726         * paragraph_funcs.C: remove #if 0'd code
6727
6728         * lyxtext.h:
6729         * text3.C:
6730         * text2.C:
6731         * text.C: use lyxrow helpers above.
6732           Move draw and paint routines to RowPainter.
6733           Make several methods use refs not pointers.
6734           Make backgroundColor() const.
6735           Add markChangeInDraw(), isInInset().
6736           Merge changeRegionCase into changeCase.
6737           Make workWidth() shouldn't-happen code into an Assert.
6738
6739         * rowpainter.h:
6740         * rowpainter.C: new class for painting a row.
6741
6742         * vspace.h:
6743         * vspace.C: make inPixels take a ref
6744
6745 2003-02-26  Angus Leeming  <leeming@lyx.org>
6746
6747         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6748         LFUN_REF_APPLY.
6749
6750 2003-02-25  John Levon  <levon@movementarian.org>
6751
6752         * ispell.C: give the forked command a more accurate name
6753
6754 2003-02-22  John Levon  <levon@movementarian.org>
6755
6756         * toc.h:
6757         * toc.C: make TocItem store an id not a Paragraph *
6758           (bug #913)
6759
6760 2003-02-21  Angus Leeming  <leeming@lyx.org>
6761
6762         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6763           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6764           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6765           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6766           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6767           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6768
6769         * BufferView_pimpl.C (dispatch):
6770         * LyXAction.C (init):
6771         * factory.C (createInset):
6772         * lyxfunc.C (getStatus, dispatch):
6773         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6774
6775 2003-02-21  Angus Leeming  <leeming@lyx.org>
6776
6777         * BufferView_pimpl.C (MenuInsertLyXFile):
6778         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6779         * lyxfunc.C (menuNew, open, doImport):
6780           no longer pass a LyXView & to fileDlg.
6781
6782 2003-02-21  Angus Leeming  <leeming@lyx.org>
6783
6784         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6785         * LyXAction.C: change, BIBKEY to BIBITEM.
6786         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6787         Change InsetBibKey to InsetBibitem.
6788         Change BIBKEY_CODE to BIBITEM_CODE.
6789         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6790         * factory.C: replace insetbib.h with insetbibitem.h.
6791         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6792         * paragraph.C: replace insetbib.h with insetbibitem.h.
6793         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6794         Change bibkey() to bibitem().
6795         * text.C: remove insetbib.h.
6796         * text2.C: replace insetbib.h with insetbibitem.h.
6797         change bibkey() to bibitem().
6798         * text3.C: remove insetbib.h.
6799         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6800
6801 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6802
6803         * lyxrc.C (output): enclose user email in quotes (in case there are
6804         several words)
6805
6806 2003-02-18  John Levon  <levon@movementarian.org>
6807
6808         * buffer.h: add std::
6809
6810 2003-02-17  John Levon  <levon@movementarian.org>
6811
6812         * SpellBase.h:
6813         * ispell.h:
6814         * ispell.C:
6815         * pspell.h:
6816         * pspell.C: reworking. Especially in ispell, a large
6817           number of clean ups and bug fixes.
6818
6819         * lyxfunc.C: fix revert to behave sensibly
6820
6821 2003-02-17 André Pönitz <poenitz@gmx.net>
6822
6823         * LyXAction.C:
6824         * commandtags.h: new LFUN_INSERT_BIBKEY
6825
6826         * layout.h:
6827         * lyxlayout.C:
6828         * buffer.C:
6829         * factory.C:
6830         * text.C:
6831         * text2.C:
6832         * text3.C:
6833         * paragraph.[Ch]:
6834         * paragraph_func.C: remove special bibkey handling
6835
6836 2003-02-17  John Levon  <levon@movementarian.org>
6837
6838         * text.C (Delete): fix case where delete at the end of
6839           the very first paragraph would not merge the pars
6840
6841 2003-02-17  John Levon  <levon@movementarian.org>
6842
6843         * lyxrow.C: fix lastPrintablePos()
6844
6845 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6846
6847         * bufferparams.C (writeLaTeX): add a std:here
6848
6849         * buffer.C: and remove a using directive there
6850
6851 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6852
6853         * buffer.C (makeLaTeXFile): move the code that generates the
6854           preamble...
6855
6856         * bufferparams.C (writeLaTeX): ... in this new method
6857
6858         * LaTeXFeatures.C (getEncodingSet): make const
6859           (getLanguages): make const
6860
6861         * MenuBackend.C (binding): returns the binding associated to this
6862           action
6863           (add): sets the status of each item by calling getStatus. Adds
6864           some intelligence.
6865           (read): add support for OptSubMenu
6866           (expand): remove extra separator at the end of expanded menu
6867
6868 2003-02-15  John Levon  <levon@movementarian.org>
6869
6870         * BufferView.C:
6871         * BufferView_pimpl.C:
6872         * bufferlist.h:
6873         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6874           inset code that had no actual effect. Remove unneeded status
6875           code.
6876
6877 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6878
6879         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6880           in preamble
6881
6882 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6883
6884         * text.C (drawLengthMarker): also draw an arrow marker for
6885           symbolic lengths (medskip...)
6886
6887 2003-02-14  John Levon  <levon@movementarian.org>
6888
6889         * tabular.h:
6890         * tabular.C: better method names
6891
6892 2003-02-14  John Levon  <levon@movementarian.org>
6893
6894         * BufferView_pimpl.C:
6895         * bufferlist.C:
6896         * buffer.C:
6897         * converter.C:
6898         * lyx_cb.C:
6899         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6900           it's a more accurate name. Remove some pointless uses.
6901
6902 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6903
6904         * text2.C (LyXText): change order of initilizers to shut off
6905           warnings
6906
6907 2003-02-14  John Levon  <levon@movementarian.org>
6908
6909         * buffer.C: use ParIterator for getParFromID()
6910
6911         * paragraph.h:
6912         * paragraph.C:
6913         * paragraph_pimpl.h:
6914         * paragraph_pimpl.C: remove unused getParFromID()
6915
6916 2003-02-14  John Levon  <levon@movementarian.org>
6917
6918         * buffer.C: remove some very old #if 0'd parse code
6919
6920 2003-02-13  John Levon  <levon@movementarian.org>
6921
6922         * text.h:
6923         * text.C:
6924         * text2.C: move hfillExpansion(), numberOfSeparators(),
6925           rowLast(), rowLastPrintable(), numberofHfills(),
6926           numberOfLabelHfills() ...
6927
6928         * lyxrow.h:
6929         * lyxrow.C: ... to member functions here.
6930
6931         * paragraph.h:
6932         * paragraph.C:
6933         * lyxtext.h:
6934         * text.C: remove LyXText::beginningOfMainBody(), and call
6935           p->beginningOfMainBody() directly. Move the check for
6936           LABEL_MANUAL into the latter.
6937
6938         * text.h:
6939         * text.C:
6940         * text2.C:
6941         * vspace.C:
6942         * BufferView.h:
6943         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6944
6945         * text.h:
6946         * text.C:
6947         * text2.C:
6948         * text3.C:
6949         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6950           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6951
6952 2003-02-13  John Levon  <levon@movementarian.org>
6953
6954         * CutAndPaste.C: remove debug
6955
6956 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6957
6958         * paragraph.C (asString): remove two unused variables
6959
6960         * lyxtextclass.C (readTitleType):
6961           (Read):
6962           (LyXTextClass): handle new members titletype_ and titlename_
6963
6964         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6965
6966 2003-02-09  John Levon  <levon@movementarian.org>
6967
6968         * buffer.h:
6969         * buffer.C: replace hand-coded list with a map for the dep clean
6970
6971 2003-02-08  John Levon  <levon@movementarian.org>
6972
6973         * LaTeX.C: consolidate code into showRunMessage() helper
6974
6975 2003-02-08  John Levon  <levon@movementarian.org>
6976
6977         * lyxfind.C:
6978         * lyxtext.h:
6979         * text2.C:
6980         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6981           and pass the size in explicitly
6982
6983         * BufferView_pimpl.h:
6984         * BufferView_pimpl.C:
6985         * BufferView.h:
6986         * BufferView.C: add getCurrentChange()
6987
6988         * BufferView_pimpl.h:
6989         * BufferView_pimpl.C: handle change lfuns
6990
6991         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6992           for changes. Mark pasted paragraphs as new.
6993
6994         * support/lyxtime.h:
6995         * support/lyxtime.C:
6996         * DepTable.C: abstract time_t as lyx::time_type
6997
6998         * LColor.h:
6999         * LColor.C: add colours for new text, deleted text, changebars
7000
7001         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7002           package use "usenames" option.
7003
7004         * commandtags.h:
7005         * lyxfunc.C:
7006         * LyXAction.C: add change lfuns
7007
7008         * Makefile.am:
7009         * author.h:
7010         * author.C: author handling
7011
7012         * buffer.h:
7013         * buffer.C: add a per-buffer author list, with first entry as
7014           current author. Handle new .lyx tokens for change tracking. Output
7015           author list to .lyx file. Output dvipost stuff to .tex preamble.
7016           Bump lyx format to 222.
7017
7018         * bufferlist.h:
7019         * bufferlist.C: add setCurrentAuthor() to reset current author details
7020           in all buffers.
7021
7022         * bufferparams.h:
7023         * bufferparams.C: add param for tracking
7024
7025         * bufferview_funcs.C: output change info in minibuffer
7026
7027         * Makefile.am:
7028         * changes.h:
7029         * changes.C: add change-tracking structure
7030
7031         * debug.h:
7032         * debug.C: add CHANGES debug flag
7033
7034         * lyxfind.h:
7035         * lyxfind.C: add code for finding the next change piece
7036
7037         * lyxrc.h:
7038         * lyxrc.C: add user_name and user_email
7039
7040         * lyxrow.h:
7041         * lyxrow.C: add a metric for the top of the text line
7042
7043         * lyxtext.h:
7044         * text.C: implement accept/rejectChange()
7045
7046         * lyxtext.h:
7047         * text.C: paint changebars. Paint new/deleted text in the chosen
7048         colours. Strike through deleted text.
7049
7050         * paragraph.h:
7051         * paragraph.C:
7052         * paragraph_pimpl.h:
7053         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7054           in the current change to the insert functions. Rework erase to
7055           mark text as deleted, adding an eraseIntern() and a range-based
7056           erase(). Implement per-paragraph change lookup and
7057           accept/reject.
7058
7059         * paragraph_funcs.C: Fixup paste for change tracking.
7060
7061         * tabular.C: mark added row/columns as new.
7062
7063         * text.C: fix rowLast() to never return -1. Don't allow
7064           spellchecking of deleted text. Track transpose changes. Don't
7065           allow paragraph break or merge where appropriate.
7066
7067         * text2.C: leave cursor at end of selection after a cut.
7068
7069 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7070
7071         * text.C (getLengthMarkerHeight):
7072         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7073         visible on screen too.
7074
7075 2003-02-07  John Levon  <levon@movementarian.org>
7076
7077         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7078
7079 2003-02-05  Angus Leeming  <leeming@lyx.org>
7080
7081         * lyxserver.C (read_ready): revert my patch of 11 September last year
7082         as it sends PC cpu through the roof. Presumably this means that
7083         the lyxserver will no longer run on an Alpha...
7084
7085 2003-01-30  Angus Leeming  <leeming@lyx.org>
7086
7087         * factory.C (createInset): create an InsetCommandParam of type "index"
7088         and use it to 'do the right thing'.
7089
7090         * text2.C (getStringToIndex): ensure that cursor position is always
7091         reset to the reset_cursor position.
7092
7093 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7094
7095         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7096         disabled.
7097
7098 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7099
7100         * bufferview.C:
7101         * lyxcb.C:
7102         * lyxfunc.C: Output messages with identical spelling, punctuation,
7103         and spaces
7104
7105 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7106
7107         * MenuBackend.C (expandFormats): List only viewable export formats
7108         in "View" menu
7109
7110         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7111         message
7112
7113         * lyxfunc.C (getStatus): Make sure that formats other than
7114         "fax" can also be disabled
7115
7116 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7117
7118         * text3.C (dispatch): put the lfuns that insert insets in 3
7119         groups, and call doInsertInset with appropriate arguments.
7120         (doInsertInset): new function, that creates an inset and inserts
7121         it according to some boolean parameters.
7122
7123 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7124
7125         * buffer.C (readFile): remember to pass on 'par' when calling
7126         readFile recursively.
7127
7128 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7129
7130         * MenuBackend.C (expandFormats): add "..." to import formats.
7131
7132 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7133
7134         * paragraph.C (asString): Remove XForms RTL hacks.
7135
7136 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7137         * buffer.C: fix typo
7138
7139 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7140
7141         * Makefile.am (LIBS): delete var
7142         (lyx_LDADD): add @LIBS@ here instead.
7143
7144 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7145
7146         * Clarify the meaning of "wheel mouse jump"
7147
7148 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7149
7150         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7151         tabular in a float
7152
7153 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7154
7155         * importer.C (Loaders): do not preallocate 3 elements in the
7156         vector, since one ends up with 6 elements otherwise
7157
7158 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7159
7160         * DepTable.C (write): write the file name as last element of the
7161         .dep file (because it may contain spaces)
7162         (read): read info in the right order
7163
7164 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7165
7166         * paragraph_pimpl.C (simpleTeXBlanks):
7167         (simpleTeXSpecialChars):
7168         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7169
7170         * tabular.C (latex): add some missing case statements. Reindent.
7171
7172         * MenuBackend.C (expandToc): remove unused variable.
7173
7174 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7175
7176         * LColor.C:
7177         * LaTeX.C:
7178         * LyXAction.C:
7179         * MenuBackend.C:
7180         * buffer.C:
7181         * exporter.C:
7182         * lyxfunc.C:
7183         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7184         and the like.
7185
7186 2003-01-05  John Levon  <levon@movementarian.org>
7187
7188         * BufferView.h:
7189         * BufferView.C: add getEncoding()
7190
7191         * kbsequence.h:
7192         * kbsequence.C: do not store last keypress
7193
7194         * lyxfunc.h:
7195         * lyxfunc.C: store last keypress here instead. Pass encoding
7196           to getISOEncoded()
7197
7198 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7199
7200         * lyx_main.C (init): remove annoying error message when following
7201         symbolic links (bug #780)
7202
7203 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7204
7205         * text.C (insertChar):
7206         * lyxrc.C (getDescription): remove extra spaces
7207
7208 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7209
7210         * lyxrc.C (getDescription): remove extra spaces
7211
7212 2002-12-20  John Levon  <levon@movementarian.org>
7213
7214         * text3.C: hack fix for page up/down across tall rows
7215
7216 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7217
7218         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7219         not been invoked
7220
7221 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7222
7223         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7224         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7225         thesaurus is not compiled in
7226
7227 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7228
7229         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7230
7231 2002-12-16  Angus Leeming  <leeming@lyx.org>
7232
7233         * lyxrc.[Ch]:
7234         * lyx_main.C (init): remove override_x_deadkeys stuff.
7235
7236 2002-12-12  John Levon  <levon@movementarian.org>
7237
7238         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7239           insert. Only remove shift modifier under strict
7240           circumstances.
7241
7242 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7243
7244         * MenuBackend.C (expandToc): fix crash.
7245
7246 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7247
7248         * MenuBackend.C (expandToc): gettext on float names.
7249
7250 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7251
7252         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7253         implement bool empty() [bug 490]
7254
7255 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7256
7257         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7258
7259 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * several files: ws changes
7262
7263 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7264
7265         * text2.C (setCounter): clean up a bit, use boost.format.
7266         (updateCounters): initialize par upon declaration.
7267
7268         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7269         if the layout exists. We do not just store the layout any more.
7270         (SwitchLayoutsBetweenClasses): use boost.format
7271
7272 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7273
7274         * converter.C (convert): if from and to files are the same, use a
7275         temporary files as intermediary
7276
7277 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7278
7279         * commandtags.h:
7280         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7281
7282 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7283
7284         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7285
7286 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * tabular.C (asciiPrintCell): use string(size, char) instead of
7289         explicit loop.
7290
7291         * sgml.C (openTag): fix order of arguments to string constructor
7292         (closeTag): ditto
7293
7294         * lyxfunc.C (dispatch): use boost.format
7295
7296         * lots of files: change "c" -> 'c'
7297
7298 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7299
7300         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7301
7302 2002-11-25  Angus Leeming  <leeming@lyx.org>
7303
7304         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7305
7306         * lyx_main.C (init): compile fix.
7307
7308 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * lyx_cb.C (start): boost.formatify
7311         do not include <iostream>
7312
7313         * lengthcommon.C: ws only
7314
7315         * boost-inst.C,BoostFormat.h: add more explict instantations
7316
7317 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7318
7319         * lots of files: handle USE_BOOST_FORMAT
7320
7321 2002-11-21  John Levon  <levon@movementarian.org>
7322
7323         * pspell.C: fix compile
7324
7325 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7326
7327         * lyxfunc.C (dispatch): use boost::format
7328         (open): ditto
7329         (doImport): ditto
7330
7331         * lyxfont.C (stateText): use boost::format
7332
7333         * lyx_main.C (LyX): use boost::format
7334         (init): ditto
7335         (queryUserLyXDir): ditto
7336         (readRcFile): ditto
7337         (parse_dbg): ditto
7338         (typedef boost::function): use the recommened syntax.
7339
7340         * importer.C (Import): use boost::format
7341
7342         * debug.C (showLevel): use boost::format
7343
7344         * converter.C (view): use boost::format
7345         (convert): ditto
7346         (move): ditto
7347         (scanLog): ditto
7348
7349         * bufferview_funcs.C (currentState): use boost::format
7350
7351         * bufferlist.C (emergencyWrite): use boost::format
7352
7353         * buffer.C (readLyXformat2): use boost::format
7354         (parseSingleLyXformat2Token): ditto
7355
7356         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7357
7358         * LaTeX.C (run): use boost::format
7359
7360         * Chktex.C (scanLogFile): use boost::format
7361
7362         * BufferView_pimpl.C (savePosition): use boost::format
7363         (restorePosition): ditto
7364         (MenuInsertLyXFile): ditto
7365
7366         * BoostFormat.h: help file for explicit instation.
7367
7368 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7369
7370         * tabular.C (latex): Support for block alignment in fixed width
7371         columns.
7372
7373 2002-11-17  John Levon  <levon@movementarian.org>
7374
7375         * BufferView_pimpl.C:
7376         * lyx_cb.C:
7377         * lyxfunc.C: split filedialog into open/save
7378
7379 2002-11-08  Juergen Vigna  <jug@sad.it>
7380
7381         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7382         by my last patch (hopefully).
7383
7384 2002-11-08  John Levon  <levon@movementarian.org>
7385
7386         * iterators.h:
7387         * iterators.C:
7388         * buffer.h:
7389         * buffer.C:
7390         * paragraph.h:
7391         * paragraph.C:
7392         * toc.h:
7393         * toc.C: ParConstIterator, and use it (from Lars)
7394
7395 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7396
7397         * lyxtextclass.[Ch]: revise and add doxygen comments
7398
7399 2002-11-07  John Levon  <levon@movementarian.org>
7400
7401         * text.C: fix progress value for spellchecker
7402
7403         * toc.C: fix navigate menu for insetwrap inside minipage
7404
7405         * paragraph_funcs.C: added FIXME for suspect code
7406
7407 2002-11-07  John Levon  <levon@movementarian.org>
7408
7409         * BufferView_pimpl.C: fix redrawing of insets
7410           on buffer switch
7411
7412 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7413
7414         * text2.C (updateCounters): fix bug 668
7415
7416 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7417
7418         * text3.C (dispatch): Do not make the buffer dirty when moving the
7419         cursor.
7420
7421 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7422
7423         * vc-backend.C: STRCONV
7424         (scanMaster): ditto
7425
7426         * text2.C (setCounter): STRCONV
7427
7428         * paragraph.C (asString): STRCONV
7429
7430         * lyxlength.C (asString): STRCONV
7431         (asLatexString): ditto
7432
7433         * lyxgluelength.C (asString): STRCONV
7434         (asLatexString): ditto
7435
7436         * lyxfunc.C (dispatch): STRCONV
7437         (open): ditto
7438
7439         * lyxfont.C (stateText): STRCONV
7440
7441         * importer.C (Import): STRCONV
7442
7443         * counters.C (labelItem): STRCONV
7444         (numberLabel): ditto
7445         (numberLabel): remove unused ostringstream o
7446
7447         * chset.C: STRCONV
7448         (loadFile): ditto
7449
7450         * bufferview_funcs.C (currentState): STRCONV
7451
7452         * buffer.C (readFile): STRCONV
7453         (asciiParagraph): ditto
7454         (makeLaTeXFile): ditto
7455
7456         * Spacing.C (writeEnvirBegin): STRCONV
7457
7458         * LaTeXFeatures.C (getLanguages): STRCONV
7459         (getPackages): ditto
7460         (getMacros): ditto
7461         (getBabelOptions): ditto
7462         (getTClassPreamble): ditto
7463         (getLyXSGMLEntities): ditto
7464         (getIncludedFiles): ditto
7465
7466         * LaTeX.C: STRCONV
7467         (run): ditto
7468         (scanAuxFile): ditto
7469         (deplog): ditto
7470
7471         * LString.h: add the STRCONV macros
7472
7473         * BufferView_pimpl.C (savePosition): STRCONV
7474         (restorePosition): ditto
7475         (MenuInsertLyXFile): ditto
7476
7477         * vc-backend.C (scanMaster): change from submatch[...] to
7478         submatch.str(...)
7479
7480         * funcrequest.C: include config.h
7481
7482         * factory.C: include config.h
7483
7484         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7485
7486         * box.C: include config.h
7487
7488         * LaTeX.C (scanAuxFile): change from submatch[...] to
7489         submatch.str(...)
7490         (deplog): ditto
7491
7492 2002-10-25  Angus Leeming  <leeming@lyx.org>
7493
7494         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7495
7496         * ispell.[Ch] (setError): new method.
7497         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7498         Use setError() insetead of goto END.
7499
7500         * lyx_cb.C (AutoSave): move out child process into new class
7501         AutoSaveBuffer.
7502
7503 2002-10-30  John Levon  <levon@movementarian.org>
7504
7505         * text3.C: make start appendix undoable
7506
7507 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7508
7509         * lyxlength.C (inPixels): Fix returned value.
7510
7511         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7512         environment.
7513
7514 2002-10-24  Angus Leeming  <leeming@lyx.org>
7515
7516         * lyxgluelength.h: no need to forward declare BufferParams
7517         or BufferView, so don't.
7518
7519 2002-10-21  John Levon  <levon@movementarian.org>
7520
7521         * BufferView.C: menuUndo ->undo, redo
7522
7523         * BufferView.h: document, remove dead, make some methods private
7524
7525         * paragraph_funcs.h:
7526         * paragraph_funcs.C:
7527         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7528
7529         * buffer.h:
7530         * buffer.C:
7531         * sgml.h:
7532         * sgml.C: move sgml open/close tag into sgml.C
7533
7534         * bufferview_funcs.h: unused prototype
7535
7536         * lyxfunc.h:
7537         * lyxfunc.C: remove unused
7538
7539         * lyxtext.h:
7540         * text.C: remove unused
7541
7542 2002-10-21  John Levon  <levon@movementarian.org>
7543
7544         * BufferView.h:
7545         * BufferView.C:
7546         * BufferView_pimpl.h:
7547         * BufferView_pimpl.C: fix mouse wheel handling based on
7548           patch from Darren Freeman
7549
7550 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7551
7552         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7553
7554 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7555
7556         * lyxlength.C (inPixels): Fix hanfling of negative length.
7557         Fix LyXLength::MU case.
7558
7559 2002-10-16  John Levon  <levon@movementarian.org>
7560
7561         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7562
7563 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7564
7565         * converter.C (view): add support for $$i (file name) and $$p
7566         (file path) for the viewer command. If $$i is not specified, then
7567         it is appended to the command (for compatibility with old syntax)
7568
7569 2002-10-14  Juergen Vigna  <jug@sad.it>
7570
7571         * undo_funcs.C (textHandleUndo): alter the order in which the
7572         new undopar is added to the LyXText, as we have to set first
7573         the right prev/next and then add it as otherwise the rebuild of
7574         LyXText is not correct. Also reset the cursor to the right paragraph,
7575         with this IMO we could remove the hack in "redoParagraphs()".
7576
7577 2002-10-09  Angus Leeming  <leeming@lyx.org>
7578
7579         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7580         to turn off an optimisation if a new inset is to be inserted.
7581
7582 2002-10-11 André Pönitz <poenitz@gmx.net>
7583
7584         * lyxtext.h: make some functions public to allow access
7585         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7586
7587 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7588
7589         * text3.C (dispatch): when changing layout, avoid an infinite loop
7590         [bug #652]
7591
7592 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7593
7594         * lyxrc.C (read): treat a viewer or converter command of "none" as
7595         if it were empty.
7596
7597         * MenuBackend.C (expandFormats): for an update, also allow the
7598         formats that are not viewable
7599
7600         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7601         script if it is newer than the lyxrc.defaults in user directory
7602
7603 2002-10-07 André Pönitz <poenitz@gmx.net>
7604
7605         * text.C: Vitaly Lipatov's small i18n fix
7606
7607 2002-09-25  Angus Leeming  <leeming@lyx.org>
7608
7609         * ispell.h: doxygen fix.
7610
7611 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7612
7613         * buffer.h (readFile): Add a new argument to the method, to allow
7614         reading of old-format templates.
7615
7616 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7617
7618         * toc.C (getTocList): Get TOC from InsetWrap.
7619
7620 2002-09-16  John Levon  <levon@movementarian.org>
7621
7622         * lyxfunc.C: check tabular for cut/copy too
7623
7624 2002-09-12  John Levon  <levon@movementarian.org>
7625
7626         * LyXAction.C: tidy
7627
7628         * factory.h:
7629         * factory.C: add header
7630
7631         * paragraph_funcs.h:
7632         * paragraph_funcs.C: cleanup
7633
7634 2002-09-11  John Levon  <levon@movementarian.org>
7635
7636         * PrinterParams.h: odd/even default to true
7637
7638 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7639
7640         * PrinterParams.h: update printer parameters for new xforms dialog
7641
7642 2002-09-11  Angus Leeming  <leeming@lyx.org>
7643
7644         * lyxserver.C (read_ready): re-write to make it more transparent
7645         and to make it work in coherent fashion under Tru64 Unix.
7646
7647 2002-09-11  André Pönitz <poenitz@gmx.net>
7648
7649         * commandtags.h:
7650         * LyXAction.C:
7651         * text3.C: implement LFUN_WORDSEL
7652
7653 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7654
7655         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7656         make floatlist_ a boost::shared_ptr<FloatList>
7657
7658         * lyxtextclass.C: include FloatList.h
7659         (LyXTextClass): initialize floatlist_
7660         (TextClassTags): add TC_NOFLOAT
7661         (Read): match "nofloat" to TC_NOFLOAT and use it.
7662         (readFloat): modify call to floatlist_
7663         (floats): ditto
7664         (floats): ditto
7665
7666         * FloatList.[Ch] (FloatList): remove commented out float
7667         initialization.
7668         (erase): new function
7669
7670 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7671
7672         * MenuBackend.C (expandToc): fix crash when there is no document
7673         open
7674
7675 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7676
7677         * many files: Add insetwrap.
7678
7679 2002-09-09  John Levon  <levon@movementarian.org>
7680
7681         * text2.C: remove confusing and awkward depth wraparound
7682
7683 2002-09-09  John Levon  <levon@movementarian.org>
7684
7685         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7686
7687         * buffer.h:
7688         * buffer.C: remove getIncludeonlyList()
7689
7690         * paragraph.C:
7691         * lyxfunc.C: remove headers
7692
7693 2002-09-09  Juergen Vigna  <jug@sad.it>
7694
7695         * text.C (getColumnNearX): fix form Michael this is most
7696         probably a cut&paste bug.
7697
7698 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7699
7700         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7701
7702         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7703         references, ws changes.
7704
7705         * text2.C (init): update counters after init
7706         (insertParagraph): no need to set counter on idividual paragraphs.
7707         (setCounter): access the counters object in the textclass object
7708         on in the buffer object.
7709         (updateCounters): ditto
7710
7711         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7712         shared_ptr<Counters> to avoid loading counters.h in all
7713         compilation units.
7714         (LyXTextClass): initialize ctrs_
7715         (TextClassTags): add TC_COUNTER, and ...
7716         (Read): use it here.
7717         (CounterTags): new tags
7718         (readCounter): new function
7719         (counters): new funtion
7720         (defaultLayoutName): return a const reference
7721
7722         * counters.C (Counters): remove contructor
7723         (newCounter): remove a couple of unneeded statements.
7724         (newCounter): simplify a bit.
7725         (numberLabel): some small formatting changes.
7726
7727         * buffer.[Ch]: remove all traces of counters, move the Counters
7728         object to the LyXTextClass.
7729
7730 2002-09-06  Alain Castera  <castera@in2p3.fr>
7731
7732         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7733         package to set the horizontal alignment on fixed width columns.
7734
7735         * lyx_sty.C:
7736         * lyx_sty.h: added tabularnewline macro def.
7737
7738         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7739
7740 2002-09-06  John Levon  <levon@movementarian.org>
7741
7742         * LyXAction.C: tooltips for sub/superscript
7743
7744         * MenuBackend.C: a bit more verbose
7745
7746         * lyxfunc.C: tiny clean
7747
7748         * undo_funcs.C: document undo_frozen
7749
7750 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * counters.C (Counters): add missing algorithm counter.
7753
7754         * text2.C (setCounter): lookup the counter with layouts latexname
7755         instead of by section number.
7756         (setCounter): use a hackish way to lookup the correct enum
7757         counter.
7758         a float name->type change
7759         reset enum couners with counter name directly instead of depth value.
7760
7761         * counters.C (Counters): remove the push_backs, change to use the
7762         float type not the float name.
7763         (labelItem): remove unused string, float name->type change
7764
7765         * counters.h: don't include vector, loose the enums and sects vectors
7766
7767 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7768
7769         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7770         (Read): add float->TC_FLOAT to textclassTags
7771         (Read): and handle it in the switch
7772         (readFloat): new function
7773
7774         * FloatList.C (FloatList): comment out the hardcoded float
7775         definitions.
7776
7777         * lyxlayout.h: ws change.
7778
7779 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7780
7781         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7782
7783 2002-09-03  Angus Leeming  <leeming@lyx.org>
7784
7785         * BufferView_pimpl.h: qualified name is not allowed in member
7786         declaration: WorkArea & Pimpl::workarea() const;
7787
7788         * factory.C: added using std::endl directive.
7789
7790         * text3.C: added using std::find and std::vector directives.
7791
7792 2002-08-29  André Pönitz <poenitz@gmx.net>
7793
7794         * lyxtext.h:
7795         * text2.C: remove unused member number_of_rows
7796
7797         * Makefile.am:
7798         * BufferView2.C: remove file, move contents to...
7799         * BufferView.C: ... here
7800
7801         * BufferView_pimpl.C:
7802         * factory.C: move more inset creation to factory
7803
7804         * vspace.C: avoid direct usage of LyXText, ws changes
7805
7806         * BufferView.[Ch]:
7807                 don't provide direct access to WorkArea, use two simple
7808                 acessors haveSelction() and workHeight() instead
7809
7810
7811 2002-08-29  John Levon  <levon@movementarian.org>
7812
7813         * BufferView_pimpl.C (dispatch): do not continue when
7814           no buffer
7815
7816 2002-08-28  André Pönitz <poenitz@gmx.net>
7817
7818         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7819
7820         * BufferView.h:
7821         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7822
7823 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7824
7825         * buffer.C: increment LYX_FORMAT to 221
7826
7827         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7828         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7829
7830         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7831
7832         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7833
7834 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7835
7836         * factory.C (createInset): use LyXTextClass::floats
7837
7838         * MenuBackend.C (expandFloatListInsert):
7839         (expandFloatInsert):
7840         (expandToc):
7841
7842         * text2.C (setCounter):
7843
7844         * LaTeXFeatures.C (useFloat):
7845         (getFloatDefinitions):
7846
7847         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7848
7849         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7850         floatlist_, with accessor floats().
7851
7852         * FloatList.h: remove global FloatList
7853
7854 2002-08-26  André Pönitz <poenitz@gmx.net>
7855
7856         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7857
7858         * BufferView.h:
7859         * BufferView2.C:
7860         * BufferView_pimpl.C:
7861         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7862
7863 2002-08-25  John Levon  <levon@movementarian.org>
7864
7865         * LyXAction.C: fix margin note description
7866
7867 2002-08-24  John Levon  <levon@movementarian.org>
7868
7869         * buffer.C:
7870         * bufferlist.C:
7871         * bufferview_funcs.C:
7872         * lyxfont.C:
7873         * undo_funcs.C: cleanups
7874
7875         * lyxfunc.C: disable CUT/COPY when no selection
7876
7877 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7878
7879         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7880         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7881
7882         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7883         Add backward compatibility to "mono", "gray" and "no".
7884
7885 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7886
7887         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7888         (and file_format >= 200).
7889
7890 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7891
7892         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7893
7894 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7895
7896         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7897
7898 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7899
7900         * BufferView_pimpl.C:
7901         * LyXAction.C:
7902         * buffer.C:
7903         * commandtags.h:
7904         * lyxfunc.C:
7905         * paragraph.[Ch]:
7906         * text2.C:
7907         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7908         inset and code to make it  work with the paragraph code. The inset
7909         can be anywhere in the paragraph, but will only do the expected
7910         thing in LaTeX if the layout file contains the parameter line
7911                         OptionalArgs    1
7912         (or more generally, a nonzero value) for that layout.
7913
7914 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7915
7916         * paragraph.h: remove the declaration of undefined counters class
7917         function.
7918
7919 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7920
7921         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7922         Dr. Richard Hawkins.
7923
7924 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7925
7926         * paragraph_funcs.h: remove some unneeded includes
7927
7928         * text.C (backspace): pasteParagraph now in global scipe
7929
7930         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7931         (pasteSelection): ditto
7932
7933         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7934         * paragraph_funcs.C (pasteParagraph): ... here
7935
7936 2002-08-20  André Pönitz <poenitz@gmx.net>
7937
7938         * commandtags.h: new LFUNs for swapping/copying table row/colums
7939
7940         * LyXAction.C:
7941         * lyxfunc.C: support for new lfuns
7942
7943 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7944
7945         * tabular.C:
7946         * buffer.[Ch]: remove NO_COMPABILITY stuff
7947
7948 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7949
7950         * boost.C (throw_exception): new file, with helper function for
7951         boost compiled without exceptions.
7952
7953         * paragraph.h:
7954         * lyxlength.C:
7955         * buffer.C:
7956         * ParameterStruct.h:
7957         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7958
7959         * bufferlist.C (emergencyWriteAll): use boost bind
7960
7961         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7962
7963         * text.C: include paragraph_funcs.h
7964         (breakParagraph): breakParagraph is now in global scope
7965
7966         * paragraph_funcs.[Ch]: new files
7967
7968         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7969         global scope
7970
7971         * buffer.C: include paragraph_funcs.h
7972         (insertStringAsLines): breakParagraph is now in global scope
7973
7974         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7975         paragraph_funcs.C
7976
7977         * CutAndPaste.C: include paragraph_funcs.h
7978         (cutSelection): breakParagraphConservative is now in global scope
7979         (pasteSelection): ditto
7980
7981         * buffer.h: declare oprator== and operator!= for
7982         Buffer::inset_iterator
7983
7984         * bufferlist.C (emergencyWrite): don't use fmt(...)
7985
7986         * text3.C: add using std::endl
7987
7988         * BufferView.C (moveCursorUpdate): remove default arg
7989
7990 2002-08-20  André Pönitz <poenitz@gmx.net>
7991
7992         * buffer.[Ch]: move inline functions to .C
7993
7994         * BufferView2.C:
7995         * BufferView_pimpl.C:
7996         * text.C:
7997         * buffer.[Ch]: use improved inset_iterator
7998
7999         * buffer.C:
8000         * paragraph.[Ch]: write one paragraph at a time
8001
8002 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8003
8004         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8005         style if style is not specified.
8006
8007 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8008
8009         * text2.C (setCounter): when searching for right label for a
8010         caption, make sure to recurse to parent insets (so that a caption
8011         in a minipage in a figure float works) (bug #568)
8012
8013 2002-08-20  André Pönitz <poenitz@gmx.net>
8014
8015         * text3.C: new file for LyXText::dispatch() and helpers
8016
8017         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8018
8019         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8020
8021 2002-08-19  André Pönitz <poenitz@gmx.net>
8022
8023         * lyxtext.h:
8024         * text.C: new LyXText::dispatch()
8025
8026         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8027
8028 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8029
8030         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8031
8032         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8033         Hebrew text.
8034
8035 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8036
8037         * Makefile.am: use $(variables) instead of @substitutions@
8038
8039 2002-08-15  André Pönitz <poenitz@gmx.net>
8040
8041         * lyxfunc.C:
8042         * BufferView_pimpl.C: streamlining mathed <-> outer world
8043         interaction
8044
8045         * commandtags.h:
8046         * LyXAction.C: remove unused LFUN_MATH
8047
8048 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8049
8050         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8051
8052 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8053
8054         * paragraph.C (Paragraph): reformat a bit
8055         (cutIntoMinibuffer): use builtin InsetList function instad of
8056         doing it manually.
8057         (getInset): ditto
8058
8059         * buffer.C: include boost/bind.hpp, add using std::for_each
8060         (writeFileAscii): use ParagraphList iterators
8061         (validate): use for_each for validate traversal of paragraphs
8062         (getBibkeyList): use ParagraphList iterators
8063         (resizeInsets): use for_each to resizeInsetsLyXText for all
8064         paragraphs.
8065         (getParFromID): use ParagraphList iterators
8066
8067         * BufferView2.C (lockInset): use paragraph list and iterators
8068
8069 2002-08-14  John Levon  <levon@movementarian.org>
8070
8071         * lyxserver.C: remove spurious xforms include
8072
8073 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8074
8075         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8076
8077 2002-08-13  André Pönitz <poenitz@gmx.net>
8078
8079         * LyXAction.[Ch]:
8080         * lyxfunc.C: further cleaning
8081
8082 2002-08-13  André Pönitz <poenitz@gmx.net>
8083
8084         * funcrequest.h: new constructor
8085
8086         * funcrequest.C: move stuff here from .h
8087
8088         * Makefile.am:
8089         * BufferView_pimpl.C:
8090         * LyXAction.C:
8091         * toc.C:
8092         * lyxfunc.C: subsequent changes
8093
8094         * lyxfunc.h: new view() member function
8095
8096         * lyxfunc.C: subsequent changes
8097
8098 2002-08-13  Angus Leeming  <leeming@lyx.org>
8099
8100         * BufferView2.C:
8101         * BufferView_pimpl.C:
8102         * buffer.C:
8103         * converter.C:
8104         * importer.C:
8105         * lyxfunc.C:
8106         * lyxvc.C:
8107         * toc.C:
8108         * vc-backend.C:
8109         changes due to the changed LyXView interface that now returns references
8110         to member variables not pointers.
8111
8112 2002-08-13  Angus Leeming  <leeming@lyx.org>
8113
8114         * WordLangTuple (word, lang_code): return references to strings,
8115         not strings.
8116
8117         * BufferView.h:
8118         * SpellBase.h:
8119         * lyxtext.h: forward-declare WordLangTuple.
8120
8121         * BufferView2.C:
8122         * ispell.C:
8123         * pspell.C:
8124         * text.C: #include "WordLangTuple.h".
8125
8126         * lyxtext.h:
8127         * text.C: (selectNextWordToSpellcheck): constify return type.
8128
8129 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8130
8131         * buffer.C:
8132         * buffer.h:
8133         * lyxtext.h:
8134         * paragraph.C:
8135         * paragraph_pimpl.h:
8136         * text.C:
8137         * text2.C:
8138         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8139         suggested by Angus.
8140         Made updateCounter always count from start of buffer, and removed
8141         second argument (par).
8142         Reverted floats number display to '#'. Perhaps I'll try again when the
8143         code base is sanitized a bit.
8144
8145 2002-08-12  Angus Leeming  <leeming@lyx.org>
8146
8147         * buffer.[Ch] (getLabelList): constify.
8148
8149 2002-08-07  André Pönitz <poenitz@gmx.net>
8150
8151         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8152
8153         * funcrequest.h: extension to keep mouse (x,y) position
8154
8155 2002-08-12  Juergen Vigna  <jug@sad.it>
8156
8157         * BufferView2.C (insertErrors): forbid undo when inserting error
8158         insets.
8159
8160         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8161
8162 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8163
8164         * ParagraphList.[Ch]: new files
8165
8166         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8167
8168         * BufferView2.C (lockInset): ParagraphList changes
8169         * toc.C: ditto
8170         * text2.C: ditto
8171         * bufferlist.C: ditto
8172         * buffer.h: ditto
8173         * buffer.C: ditto
8174
8175 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8176
8177         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8178         unused class variable counter_,
8179
8180         * paragraph.[Ch] (getFirstCounter): delete unused function
8181
8182         * counters.C: include LAssert.h
8183         (reset): add a new function with no arg, change other version to
8184         not have def. arg and to not allow empty arg.
8185
8186         * text2.C (setCounter): remove empty arg from call to Counters::reset
8187
8188 2002-08-11  John Levon  <levon@movementarian.org>
8189
8190         * Makefile.am: add WordLangTuple.h
8191
8192 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8193
8194         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8195         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8196
8197         * insets/insettext.C: InsetList changes
8198
8199         * graphics/GraphicsSupport.C (operator()): InsetList changes
8200
8201         * toc.C (getTocList): InsetList changes
8202
8203         * paragraph_pimpl.[Ch]: InsetList changes
8204
8205         * paragraph.[Ch]: InsetList changes
8206
8207         * buffer.C (inset_iterator): InsetList changes
8208         (setParagraph): ditto
8209         * buffer.h (inset_iterator): ditto
8210         * iterators.C (operator++): ditto
8211         * iterators.h: ditto
8212
8213         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8214
8215         * InsetList.[Ch]: new files, most InsetList handling moved out of
8216         paragraph.C.
8217
8218         * BufferView2.C (removeAutoInsets): InsetList changes
8219         (lockInset): ditto
8220         (ChangeInsets): ditto
8221
8222 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8223
8224         * paragraph_pimpl.h (empty): new function
8225
8226         * paragraph.[Ch] (empty): new function
8227
8228         * other files: use the new Paragraph::empty function
8229
8230 2002-08-09  John Levon  <levon@movementarian.org>
8231
8232         * lyxtext.h: remove unused refresh_height
8233
8234 2002-08-09  John Levon  <levon@movementarian.org>
8235
8236         * Makefile.am:
8237         * sgml.h:
8238         * sgml.C:
8239         * buffer.C:
8240         * paragraph.h:
8241         * paragraph.C: move sgml char escaping out of paragraph
8242
8243         * paragraph.h:
8244         * paragraph.C: remove id setter
8245
8246         * buffer.C:
8247         * paragraph.C:
8248         * paragraph_pimpl.C: remove dead tex_code_break_column
8249
8250         * bufferview_funcs.C: small cleanup
8251
8252         * lyxfunc.C: remove dead proto
8253
8254         * lyxtext.h: make some stuff private. Remove some dead stuff.
8255
8256         * lyxgluelength.C: make as[LyX]String() readable
8257
8258 2002-08-08  John Levon  <levon@movementarian.org>
8259
8260         * LyXAction.h:
8261         * LyXAction.C:
8262         * MenuBackend.C:
8263         * ToolbarDefaults.C:
8264         * lyxfunc.C:
8265         * lyxrc.C:
8266         * toc.C: lyxaction cleanup
8267
8268 2002-08-08  John Levon  <levon@movementarian.org>
8269
8270         * BufferView2.C: small cleanup
8271
8272         * lyxfind.h:
8273         * lyxfind.C: move unnecessary header into the .C
8274
8275 2002-08-08  John Levon  <levon@movementarian.org>
8276
8277         * funcrequest.h: just tedious nonsense
8278
8279         * lyx_main.h:
8280         * lyx_main.C: cleanups
8281
8282         * buffer.C:
8283         * vspace.C: remove dead header lyx_main.h
8284
8285 2002-08-07  Angus Leeming  <leeming@lyx.org>
8286
8287         * Paragraph.[Ch]:
8288         * paragraph_pimpl.h:
8289         Forward declare class Counters in paragraph.h by moving the ctrs member
8290         variable into Paragraph::Pimpl.
8291         (counters): new method, returning a reference to pimpl_->ctrs.
8292
8293         * text2.C: ensuing changes.
8294
8295 2002-08-07  John Levon  <levon@movementarian.org>
8296
8297         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8298
8299         * BufferView_pimpl.C: announce X selection on double/triple
8300           click
8301
8302         * lyx_main.C: use correct bool in batch dispatch
8303
8304         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8305
8306 2002-08-07  André Pönitz <poenitz@gmx.net>
8307
8308         * funcrequest.h: new class to wrap a kb_action and its argument
8309
8310         * BufferView.[Ch]:
8311         * BufferView_pimpl[Ch]:
8312         * LaTeX.C:
8313         * LyXAction.[Ch]:
8314         * lyxfunc.[Ch]:
8315         * lyxrc.C: subsequent changes
8316
8317
8318 2002-08-07  John Levon  <levon@movementarian.org>
8319
8320         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8321           document options change.
8322
8323 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8324
8325         * counters.[Ch]
8326         * text2.C
8327         * paragraph.[Ch]
8328         * makefile.am: move counters functionality over from
8329         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8330
8331 2002-08-06  John Levon  <levon@movementarian.org>
8332
8333         * WordLangTuple.h: new file for word + language code tuple
8334
8335         * SpellBase.h:
8336         * pspell.h:
8337         * pspell.C:
8338         * ispell.h:
8339         * ispell.C:
8340         * lyxtext.h:
8341         * text.C:
8342         * text2.C:
8343         * BufferView.h:
8344         * BufferView2.C: use WordLangTuple
8345
8346         * layout.h:
8347         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8348
8349 2002-08-06  John Levon  <levon@movementarian.org>
8350
8351         * lyx_main.C: fix cmdline batch handling
8352
8353 2002-08-06  André Pönitz <poenitz@gmx.net>
8354
8355         * lyxrc.C: set default for show_banner to true
8356
8357 2002-08-06  John Levon  <levon@movementarian.org>
8358
8359         * pspell.C: fix a crash, and allow new aspell to work
8360
8361 2002-08-06  John Levon  <levon@movementarian.org>
8362
8363         * lyxfunc.C:
8364         * kbmap.C: small cleanup
8365
8366         * vspace.h:
8367         * vspace.C: add const
8368
8369 2002-08-05  John Levon  <levon@movementarian.org>
8370
8371         * LyXAction.C: back to tabular-insert
8372
8373 2002-08-04  John Levon  <levon@movementarian.org>
8374
8375         * BufferView.h:
8376         * BufferView.C: cosmetic change
8377
8378         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8379
8380         * bufferlist.C:
8381         * buffer.h:
8382         * buffer.C:
8383         * lyxcb.h:
8384         * lyxcb.C:
8385         * lyxserver.C:
8386         * lyxvc.C:
8387         * vc-backend.C:
8388         * BufferView2.C: purge all "Lyx" not "LyX" strings
8389
8390         * lyxcursor.h:
8391         * lyxcursor.C: attempt to add some documentation
8392
8393         * lyxfunc.C:
8394         * commandtags.h:
8395         * LyXAction.C:
8396         * ToolbarDefaults.C:
8397         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8398           merge with LFUN_TABULAR_INSERT
8399
8400         * Makefile.am:
8401         * SpellBase.h:
8402         * ispell.h:
8403         * ispell.C:
8404         * pspell.h:
8405         * pspell.C: split up i/pspell implementations into separate
8406           files, many cleanups
8407
8408         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8409
8410         * text2.C: some cleanup
8411
8412         * lyxfunc.C: don't check for isp_command == "none" any more, it
8413           didn't make any sense
8414
8415 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8416
8417         * counters.[Ch]
8418         * text2.C
8419         * paragraph.[Ch]
8420         * makefile.am: move counters functionality over
8421         from text2.C/paragraph.[Ch] to counters.[Ch], and
8422         make proper C++.
8423 2002-08-02  John Levon  <levon@movementarian.org>
8424
8425         * buffer.C: s/lyxconvert/lyx2lyx/
8426
8427 2002-08-02  Angus Leeming  <leeming@lyx.org>
8428
8429         * lyxlex.C: revert John's change as it breaks reading of the user
8430         preamble.
8431
8432 2002-08-02  Angus Leeming  <leeming@lyx.org>
8433
8434         * importer.C (Import):
8435         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8436         changes due to LyXView::view() now returning a boost::shared_ptr.
8437
8438 2002-08-02  John Levon  <levon@movementarian.org>
8439
8440         * lyxlex.C: small cleanup
8441
8442 2002-08-02  John Levon  <levon@movementarian.org>
8443
8444         * text2.C (status): small cleanup, no logic change
8445
8446 2002-08-01  John Levon  <levon@movementarian.org>
8447
8448         * buffer.h:
8449         * buffer.C (writeFile): don't output alerts, caller
8450           handles this
8451
8452         * bufferlist.C:
8453         * lyx_cb.C: from above
8454
8455         * lyxfunc.C: allow to open non-existent files
8456
8457 2002-07-31  John Levon  <levon@movementarian.org>
8458
8459         * lyxserver.C: don't let incidental errors get
8460           in the way (errno)
8461
8462 2002-07-30  John Levon  <levon@movementarian.org>
8463
8464         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8465
8466 2002-07-30  John Levon  <levon@movementarian.org>
8467
8468         * lyxserver.h:
8469         * lyxserver.C: remove I/O callback too
8470
8471 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8472
8473         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8474         log.
8475
8476 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8477
8478         * many files: strip,frontStrip -> trim,ltrim,rtrim
8479
8480 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8481
8482         * PrinterParams.h: remove extern containsOnly, and include
8483         support/lstrings.h instead.
8484
8485         * LaTeX.C (scanAuxFile): modify because of strip changes
8486         (deplog): ditto
8487         * buffer.C (makeLaTeXFile): ditto
8488         * bufferparams.C (writeFile): ditt
8489         * lyxfont.C (stateText): ditto
8490         * lyxserver.C (read_ready): ditto
8491         * vc-backend.C (scanMaster): ditto
8492
8493         * BufferView_pimpl.h: ws changes
8494
8495         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8496
8497 2002-07-26  André Pönitz <poenitz@gmx.net>
8498
8499         * kb_sequence.C: remove unnedred usings
8500
8501 2002-07-26  Juergen Vigna  <jug@sad.it>
8502
8503         * lyxfind.C (LyXReplace): we have to check better if the returned
8504         text is not of theLockingInset()->getLockingInset().
8505
8506 2002-07-25  Juergen Vigna  <jug@sad.it>
8507
8508         * lyxfind.C (LyXReplace): don't replace if we don't get the
8509         right LyXText.
8510
8511         * undo_funcs.C (createUndo): remove debugging code.
8512
8513 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8514
8515         * buffer.C (parseSingleLyXformat2Token): Use default placement
8516         when reading old floats.
8517
8518         * FloatList.C (FloatList): Change the default placement of figure
8519         and tables to "tbp".
8520
8521 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8522
8523         * MenuBackend.C: using std::max
8524
8525 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8526
8527         * MenuBackend.C (expandToc):
8528         (expandToc2): code moved from xforms menu frontend. It is now
8529         generic and TOCs are transparent to menu frontends.
8530
8531 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8532
8533         * toc.C (getTocList): protect against buf=0
8534
8535         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8536         Menu as first parameter. Now, this calls itself recursively to
8537         expand a whole tree (this will be useful for TOC handling)
8538         (expandFloatInsert): remove 'wide' version of floats
8539
8540         * MenuBackend.h (submenuname): returns the name of the submenu.
8541         (submenu): returns the submenu itself, provided it has been
8542         created by MenuBackend::expand
8543
8544 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8545
8546         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8547         insets which have noFontChange == true. (bug #172)
8548
8549 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8550
8551         * BufferView_pimpl.C: add connection objects and use them...
8552         (Pimpl): here.
8553
8554 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8555
8556         * MenuBackend.C (expandLastfiles):
8557         (expandDocuments):
8558         (expandFormats):
8559         (expandFloatListInsert):
8560         (expandFloatInsert):
8561         (expand): split expand in parts
8562
8563 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8564
8565         * lyx_gui.C: use lyx_gui::exit()
8566
8567 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8568
8569         * LyXAction.C: show the failing pseudo action
8570
8571 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8572
8573         * buffer.C (readFile): Run the lyxconvert script in order to read
8574         old files.
8575
8576 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8577
8578         * LyXAction.C:
8579         * commandtags.h:
8580         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8581
8582 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8583
8584         * LyXAction.C:
8585         * commandtags.h:
8586         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8587
8588 2002-07-22  Herbert Voss  <voss@lyx.org>
8589
8590         * lengthcommon.C:
8591         * lyxlength.[Ch]: add support for the vertical lengths
8592
8593 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8594
8595         * toc.[Ch]: std:: fixes
8596
8597 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8598
8599         * lyxrc.C: do not include lyx_main.h
8600
8601         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8602         for layouts
8603
8604         * lyxrc.C:
8605         * encoding.C:
8606         * bufferlist.C:
8607         * BufferView2.C: include "lyxlex.h"
8608
8609         * tabular.h:
8610         * bufferparams.h: do not #include "lyxlex.h"
8611
8612         * lyxtextclasslist.C (Add): remove method
8613         (classlist): renamed to classlist_
8614
8615         * paragraph_pimpl.C:
8616         * paragraph.C:
8617         * text2.C:
8618         * CutAndPaste.C:
8619         * bufferview_funcs.C:
8620         * bufferlist.C:
8621         * text.C:
8622         * LaTeXFeatures.C:
8623         * buffer.C:
8624         * toc.C (getTocList): use BufferParams::getLyXTextClass
8625
8626         * toc.C (getTocList): use InsetFloat::addToToc
8627
8628         * toc.[Ch]: new files, containing helper functions to handle table
8629         of contents
8630
8631         * lyxfunc.C (dispatch): no need to remove spaces around command
8632         given as a string
8633         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8634         first command of the sequence; it is not very clever, but I do not
8635         have a better idea, actually
8636
8637         * LyXAction.C (LookupFunc): make sure to remove space at the
8638         beginning and end of the command
8639
8640 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8641
8642         * MenuBackend.C (getMenubar): new method: return the menubar of
8643         this menu set
8644         (read): treat differently reading of menu and menubar (in
8645         particular, the menubar has no name now)
8646         (Menu::menubar): remove
8647
8648         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8649         saving is finished
8650
8651 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8652
8653         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8654         a bibitem inset in a RTL paragraph.
8655
8656 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8657
8658         * paragraph_pimpl.C: constify
8659
8660         * BufferView_pimpl.C:
8661         * LaTeX.C:
8662         * lyxfunc.C: fix dispatch in a nicer way
8663
8664 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8665
8666         * lyxfunc.C (dispatch):
8667         * BufferView_pimpl.C:
8668         * BufferView_pimpl.h:
8669         * BufferView.C:
8670         * BufferView.h: rename Dispatch() to dispatch()
8671
8672         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8673
8674         * lyxlayout.C (Read): honor DependsOn tag
8675
8676         * lyxlayout.[Ch] (depends_on): new method
8677
8678         * version.C.in: update lyx_docversion
8679
8680         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8681
8682         * paragraph.C (validate): remove from here...
8683         * paragraph_pimpl.C (validate): ... and move here
8684         (isTextAt): make it const
8685
8686         * buffer.C (getLists): ws cleanup
8687
8688 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8689
8690         * language.C (read): Use iso8859-1 encoding in latex_lang
8691         (this prevents LyX from crashing when using iso10646-1 encoding).
8692
8693 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8694
8695         * text2.C (toggleInset): if cursor is inside an inset, close the
8696         inset and leave cursor _after_ it
8697
8698 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8699
8700         * lyxfunc.C: move minibuffer completion handling out of here
8701
8702 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8703
8704         * BufferView_pimpl.C:
8705         * LaTeX.C: fix dispatch calls
8706
8707 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8708
8709         * text.C (drawChars): Fix Arabic text rendering.
8710
8711 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8712
8713         * LyXAction.C:
8714         * commandtags.h:
8715         * lyxfunc.C: remove message-push/pop
8716
8717         * lyxserver.C:
8718         * lyxfunc.h:
8719         * lyxfunc.C: rationalise some code by removing verboseDispatch
8720           in favour of a bool argument to dispatch()
8721
8722 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8723
8724         * lyx_main.C (init): make sure to read symlinks as absolute paths
8725
8726 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8727
8728         * lyxfunc.h:
8729         * lyxfunc.C: no need for commandshortcut to be a member
8730
8731 2002-07-15  André Pönitz <poenitz@gmx.net>
8732
8733         * converter.C: add support for $$s (scripts from lib/scripts dir)
8734         * lyx_main.C: white space
8735
8736 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8737
8738         * bufferlist.C:
8739         * lyxrc.h:
8740         * lyxrc.C: remove second exit confirmation
8741
8742 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8743
8744         * BufferView.h:
8745         * BufferView.C:
8746         * BufferView2.C:
8747         * BufferView_pimpl.h:
8748         * BufferView_pimpl.C:
8749         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8750
8751 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8752
8753         * MenuBackend.C (expand): add numeric shortcuts to document menu
8754
8755         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8756
8757 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8758
8759         * lyxfont.C (setLyXFamily):
8760         (setLyXSeries):
8761         (setLyXShape):
8762         (setLyXSize):
8763         (setLyXMisc):
8764         (lyxRead):
8765         * debug.C (value):
8766         * buffer.C (asciiParagraph): use ascii_lowercase
8767
8768 2002-07-15  Mike Fabian  <mfabian@suse.de>
8769
8770         * lyxlex_pimpl.C (search_kw):
8771         * lyxlex.C (getLongString):
8772         * converter.h (operator<):
8773         * converter.C (operator<):
8774         * buffer.C (parseSingleLyXformat2Token):
8775         (asciiParagraph):
8776         * ToolbarDefaults.C (read):
8777         * MenuBackend.C (checkShortcuts):
8778         (read):
8779         * LColor.C (getFromGUIName):
8780         (getFromLyXName): use the compare_ascii_no_case instead of
8781         compare_no_case, because in turkish, 'i' is not the lowercase
8782         version of 'I', and thus turkish locale breaks parsing of tags.
8783
8784 2002-07-16  Angus Leeming  <leeming@lyx.org>
8785
8786         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8787         now takes a Buffer const & argument.
8788
8789 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8790
8791         * BufferView.C (resize): check there's a buffer to resize
8792
8793 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8794
8795         * lyxfunc.C: remove dead code
8796
8797         * lyxserver.h:
8798         * lyxserver.C: use lyx_guii::set_read_callback
8799
8800 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8801
8802         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8803         an inset in a RTL paragraph.
8804
8805 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8806
8807         * lyxfunc.C: repaint after a font size update
8808
8809 2002-07-15  André Pönitz <poenitz@gmx.net>
8810
8811         * lyxlength.C: inBP should be able to return negative values
8812
8813 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8814
8815         * lyxfunc.C: use lyx_gui::update_fonts()
8816
8817 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8818
8819         * lyxfunc.C: use lyx_gui::update_color()
8820
8821 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8822
8823         * bufferlist.C:
8824         * lyxfunc.h:
8825         * lyxfunc.C:
8826         * lyxrc.h:
8827         * lyxrc.C: remove file->new asks for name option, and let
8828           buffer-new take an argument
8829
8830 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8831
8832         * BufferView_pimpl.C: remove unneeded extra repaint()
8833
8834 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8835
8836         * LyXAction.C: allow command-sequence with NoBuffer
8837
8838         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8839
8840 2002-07-10  Angus Leeming  <leeming@lyx.org>
8841
8842         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8843
8844 2002-07-09  Angus Leeming  <leeming@lyx.org>
8845
8846         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8847
8848 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8849
8850         * lengthcommon.h: whitespace
8851
8852         * lyxfunc.C: update scrollbar after goto paragraph
8853
8854         * lyxtext.h: factor out page break drawing, and fix it so
8855           page break/added space paints as selected nicely
8856
8857 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8858
8859         * BufferView_pimpl.C: add FIXMEs, clean up a little
8860
8861 2002-07-09  André Pönitz <poenitz@gmx.net>
8862
8863         * lyxfont.[Ch]: support for wasy symbols
8864
8865 2002-07-08  André Pönitz <poenitz@gmx.net>
8866
8867         * BufferView_pimpl.C: apply John's patch for #93.
8868
8869 2002-07-05  Angus Leeming  <leeming@lyx.org>
8870
8871         * BufferView_pimpl.C (buffer): generate previews if desired.
8872
8873         * LColor.h: add "preview" to the color enum.
8874
8875         * LColor.C (LColor): add a corresponding entry to the items array.
8876
8877         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8878         with this buffer.
8879
8880 2002-07-05  Angus Leeming  <leeming@lyx.org>
8881
8882         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8883         The body of the code is now in the method that is passed an ostream &
8884         rather than a file name.
8885         Pass an additional only_preamble parameter, useful for the forthcoming
8886         preview stuff.
8887
8888 2002-07-03  André Pönitz <poenitz@gmx.net>
8889
8890         * lyxfunc.C: simplify getStatus() a bit for math stuff
8891
8892 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8893
8894         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8895
8896 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8897
8898         * text.C (changeRegionCase): do not change case of all the
8899         document when region ends at paragraph end (bug #461)
8900
8901 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8902
8903         * paragraph.C (startTeXParParams):
8904         (endTeXParParams): add \protect when necessary
8905
8906 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * BufferView_pimpl.C (workAreaExpose): remove warning
8909
8910 2002-06-27  Angus Leeming  <leeming@lyx.org>
8911
8912         * Makefile.am: add lyxlayout_ptr_fwd.h.
8913
8914 2002-06-26  André Pönitz <poenitz@gmx.net>
8915
8916         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8917
8918 2002-06-25  Angus Leeming  <leeming@lyx.org>
8919
8920         * lyxfunc.C (dispatch): Comment out the call to
8921         grfx::GCache::changeDisplay. The method no longer exists now that the
8922         pixmap generation part of the graphics loader has been moved into
8923         InsetGraphics.
8924
8925 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8926
8927         * text2.C: layout as layout
8928
8929         * text.C: layout as layout
8930
8931         * tabular.C (OldFormatRead): layout as layout
8932
8933         * paragraph_pimpl.C (TeXDeeper): layout as layout
8934         (realizeFont): layout as layout
8935
8936         * paragraph.C (writeFile): layout as layout
8937         (validate): layout as layout
8938         (getFont): layout as layout
8939         (getLabelFont): layout as layout
8940         (getLayoutFont): layout as layout
8941         (breakParagraph): layout as layout
8942         (stripLeadingSpaces): layout as layout
8943         (getEndLabel): layout as layout
8944         (getMaxDepthAfter): layout as layout
8945         (applyLayout): layout as layout
8946         (TeXOnePar): layout as layout
8947         (simpleTeXOnePar): layout as layout
8948         (TeXEnvironment): layout as layout
8949         (layout): layout as layout
8950         (layout): layout as layout
8951
8952         * lyxtextclass.C (compare_name): new functor to work with
8953         shared_ptr, layout as layout
8954         (Read): layout as layout
8955         (hasLayout): layout as layout
8956         (operator): layout as layout
8957         (delete_layout): layout as layout
8958         (defaultLayout): layout as layout
8959
8960         * lyxlayout_ptr_fwd.h: new file
8961
8962         * lyxlayout.C (Read): layout as layout
8963
8964         * lyx_cb.C (MenuInsertLabel): layout as layout
8965
8966         * bufferlist.C (newFile): layout as layout
8967
8968         * buffer.C (readLyXformat2): layout as layout
8969         (parseSingleLyXformat2Token): layout as layout
8970         (insertStringAsLines): layout as layout
8971         (asciiParagraph): layout as layout
8972         (latexParagraphs): layout as layout
8973         (makeLinuxDocFile): layout as layout
8974         (simpleLinuxDocOnePar): layout as layout
8975         (makeDocBookFile): layout as layout
8976         (simpleDocBookOnePar): layout as layout
8977         (getLists): layout as layout
8978
8979         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8980
8981         * CutAndPaste.C (cutSelection): layout as layout
8982         (pasteSelection): layout as layout
8983         (SwitchLayoutsBetweenClasses): layout as layout
8984
8985         * BufferView_pimpl.C (Dispatch): layout as layout
8986         (smartQuote): layout as layout
8987
8988         * BufferView2.C (unlockInset): layout as layout
8989
8990 2002-06-24  André Pönitz <poenitz@gmx.net>
8991
8992         * lyxfunc.C: fix #487
8993
8994 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8995
8996         * lyxrc.h:
8997         * lyxrc.C:
8998         * lyxfunc.C: remove display_shortcuts, show_banner
8999
9000 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * Buffer_pimpl.C: oops, update on resize
9003
9004 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9005
9006         * buffer.C:
9007         * converter.C:
9008         * exporter.C:
9009         * lyxfunc.C:
9010         * BufferView.h:
9011         * BufferView.C: use repaint()
9012
9013         * BufferView_pimpl.h:
9014         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9015           as it's a clearer description. Remove superfluous
9016           redraws.
9017
9018 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9019
9020         * text.C: fix bug 488. Not ideal, but getting
9021           getWord() to work properly for the insets that
9022           matter is more difficult ...
9023
9024 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9025
9026         * BufferView_pimpl.C:
9027         * LyXAction.C:
9028         * commandtags.h:
9029         * lyxfunc.C: remove the six million index lyxfuncs to just
9030           one, and DTRT (bug 458)
9031
9032 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9033
9034         * BufferView.h:
9035         * BufferView.C:
9036         * BufferView_pimpl.h:
9037         * BufferView_pimpl.C: clean up resize() stuff,
9038           and unnecessary updateScreen()s
9039
9040 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9041
9042         * BufferView.h:
9043         * BufferView.C:
9044         * BufferView_pimpl.h:
9045         * BufferView_pimpl.C:
9046         * lyxfind.h:
9047         * lyxfind.C:
9048         * minibuffer.C: remove focus management of workarea,
9049           not needed. Use screen's greyOut()
9050
9051 2002-06-17  Herbert Voss  <voss@lyx.org>
9052
9053         * converter.C: (convert) do not post a message, when converting
9054         fails, let the calling function decide what to do in this case
9055
9056 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9057
9058         * lyxfunc.C: tidy up a little
9059
9060 2002-06-16    <alstrup@diku.dk>
9061
9062         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9063         Got rid of FORMS_H_LOCATION include. Now we are
9064         GUII.
9065
9066 2002-06-15  LyX Development team  <lyx@rilke>
9067
9068         * buffer.[Ch] (sgmlOpenTag):
9069         (sgmlCloseTag): Added support for avoiding pernicious mixed
9070         content. Return number of lines written.
9071
9072         (makeLinuxDocFile):
9073         (makeDocBookFile): Fixed calls to sgml*Tag.
9074         Simple white space clean.
9075
9076         (simpleDocBookOnePar): Simple white space clean.
9077
9078         * tabular.[Ch] (docBook): Renamed to docbook and got another
9079         argument to related with the pernicious mixed content.
9080
9081         (docbookRow): Fixed calls for docbook inset method.
9082
9083 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9084
9085         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9086         so it's X11 independent.
9087
9088         * kb*.[Ch]: ditto.
9089
9090         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9091
9092 2002-06-15  Lyx Development team  <lyx@electronia>
9093
9094         * intl.h: Renamed getTrans to getTransManager.
9095
9096 2002-06-14  Angus Leeming  <leeming@lyx.org>
9097
9098         * Makefile.am: nuke forgotten stl_string_fwd.h.
9099
9100 2002-06-12  Angus Leeming  <leeming@lyx.org>
9101
9102         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9103
9104 2002-06-13  Angus Leeming  <leeming@lyx.org>
9105
9106         * LaTeX.C:
9107         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9108
9109 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9110
9111         * kbmap.C (getiso): add support for cyrillic and greek
9112
9113 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * BufferView.h:
9116         * BufferView.C:
9117         * BufferView_pimpl.h:
9118         * BufferView_pimpl.C: move bogus scrolling logic
9119           to xforms
9120
9121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9122
9123         * lyxfunc.C:
9124         * BufferView_pimpl.C: view->resize() change
9125
9126 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9127
9128         * BufferView_pimpl.C: topCursorVisible
9129           prototype change
9130
9131 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9132
9133         * Makefile.am:
9134         * lyx_gui.h:
9135         * lyx_gui.C: move to frontends/
9136
9137         * main.C:
9138         * lyx_main.h:
9139         * lyx_main.C: changes from above
9140
9141 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9142
9143         * intl.C:
9144         * intl.h:
9145         * kbmap.C:
9146         * kbsequence.C:
9147         * lyx_cb.C:
9148         * lyx_main.C: minor tidy
9149
9150 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9151
9152         * BufferView_pimpl.h:
9153         * BufferView_pimpl.C:
9154         * BufferView.h:
9155         * BufferView.C: make painter() const,
9156           remove dead code
9157
9158         * BufferView2.C: use screen() accessor
9159
9160         * lyx_main.h:
9161         * lyx_main.C: some minor cleanup
9162
9163 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9164
9165         * BufferView_pimpl.h:
9166         * BufferView_pimpl.C: remove enter/leaveView,
9167           use workHeight()
9168
9169 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9170
9171         * BufferView.h:
9172         * BufferView.C:
9173         * BufferView2.C:
9174         * BufferView_pimpl.h:
9175         * BufferView_pimpl.C: only construct screen once,
9176           rename
9177
9178         * lyxrc.C: remove pointless comment
9179
9180 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9181
9182         * BufferView.h:
9183         * BufferView.C: remove active() and belowMouse()
9184
9185         * BufferView_pimpl.h:
9186         * BufferView_pimpl.C: use workarea() not workarea_,
9187           and make it use a scoped_ptr instead
9188
9189 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9190
9191         * lyx_gui.C: add debug message on BadWindow
9192
9193 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9194
9195         * sp_spell.C: fdopen is not part of the C++ standard.
9196
9197         * paragraph.C (InsetIterator): use >= instead of ==
9198
9199 2002-06-07  Angus Leeming  <leeming@lyx.org>
9200
9201         Fixes needed to compile with Compaq cxx 6.5.
9202         * BufferView_pimpl.C:
9203         * DepTable.C:
9204         * buffer.C:
9205         * converter.C:
9206         * encoding.C:
9207         * lyx_gui.C:
9208         * lyx_main.C:
9209         * lyxtextclasslist.C:
9210         * minibuffer.C:
9211         * sp_spell.C:
9212         * tabular_funcs.C:
9213         * vc-backend.C:
9214         all c-library variables have been moved into namespace std. Wrap
9215         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9216
9217         * lyxlength.C:
9218         * tabular-old.C:
9219         * tabular.C:
9220         Add a using std::abs declaration.
9221
9222         * kbmap.h (modifier_pair):
9223         * paragraph.h (InsetTable, InsetList):
9224         * lyxfont.h (FontBits):
9225         type definition made public.
9226
9227         * bufferlist.C (emergencyWriteAll): the compiler complains that
9228         there is more than one possible lyx::class_fun template to choose from.
9229         I re-named the void specialisation as lyx::void_class_fun.
9230
9231         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9232
9233         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9234         the compiler is is unable to find tostr in write_attribute.
9235
9236 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9237
9238         * buffer.C (sgmlError): hide #warning
9239
9240 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9241
9242         * xtl/*: get rid of xtl, which is not in use anyway
9243
9244         * LyXAction.C (init):
9245         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9246         were unimplemented xtl experimentation
9247
9248 2002-06-04  André Pönitz <poenitz@gmx.net>
9249
9250         * lyxfunc.C: disable array operation on simple formulae
9251
9252 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9253
9254         * converter.C: constify a bit
9255
9256 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9257
9258         * lyx_gui.C: check xforms version correctly
9259
9260 2002-04-30  Herbert Voss  <voss@lyx.org>
9261
9262         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9263         "keep" option
9264
9265 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9266
9267         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9268           attempt to register it with a VCS)
9269
9270 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9271
9272         * lyx_main.C (init): honor variables LYX_DIR_13x and
9273         LYX_USERDIR_13x
9274
9275 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9276
9277         * buffer.h:
9278         * buffer.C:
9279         * lyx_main.C: fix a crash on bad command line,
9280           and give a useful exit status on error
9281
9282         * lyxfunc.C (doImport): allow -i lyx to work
9283
9284 2002-03-30  André Pönitz <poenitz@gmx.net>
9285
9286         * lyxfunc.C: mathed font changes
9287
9288 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9289
9290         * LaTeX.C:
9291         * importer.h:
9292         * importer.C:
9293         * lyx_sty.h:
9294         * lyx_sty.C:
9295         * lyxlex.C:
9296         * lyxrow.h:
9297         * lyxtext.h:
9298         * paragraph.h:
9299         * paragraph.C:
9300         * texrow.h:
9301         * texrow.C:
9302         * text.C:
9303         * trans_mgr.h: srcdocs, and some minor cleanups
9304
9305 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9306
9307         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9308         call getFont all the time)
9309
9310 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9311
9312         * switch from SigC signals to boost::signals
9313
9314 2002-05-29  André Pönitz <poenitz@gmx.net>
9315
9316         * paragraph_pimpl.C (getChar): don't call size() too often...
9317
9318 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9319
9320         * paragraph_pimpl.C (insertChar): do not try to update tables when
9321         appending (pos == size())
9322
9323         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9324         in order to reduce drastically the number of comparisons needed to
9325         parse a large document
9326
9327 2002-05-29  André Pönitz <poenitz@gmx.net>
9328
9329         * text.C:
9330         * text2.C:
9331         * lyxtextclass.C:
9332         * sp_pspell.h:
9333         * textclasslist.[Ch]:
9334         * sp_ispell.h: whitespace change
9335
9336 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9337
9338         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9339         lyxaction directly now.
9340
9341 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9342
9343         * trans.C:
9344         * lyxfont.C:
9345         * lyxvc.C: remove unused headers
9346
9347 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9348
9349         * Makefile.am:
9350         * buffer.h:
9351         * undostack.h:
9352         * undostack.C:
9353         * undo_funcs.h:
9354         * undo_funcs.C: some cleanups. Use shared_ptr
9355           and a template for the undo stacks.
9356
9357 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9358
9359         * BufferView_pimpl.h:
9360         * BufferView_pimpl.C:
9361         * kbmap.h:
9362         * kbmap.C:
9363         * kbsequence.h:
9364         * kbsequence.C:
9365         * lyxfunc.h:
9366         * lyxfunc.C:
9367         * text2.C: use key_state/mouse_state
9368
9369 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9370
9371         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9372         and LSubstring
9373
9374         * chset.C: change include order
9375         (loadFile): use boost regex and get rid of LRegex and LSubstring
9376
9377         * Makefile.am (BOOST_LIBS): new variable
9378         (lyx_LDADD): use it
9379
9380         * LaTeX.C: change include order.
9381         (scanAuxFile): use boost regex and get rid of LRegex and
9382         LSubstring
9383         (deplog): ditto
9384
9385 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9386
9387         * ColorHandler.h:
9388         * ColorHandler.C:
9389         * FontInfo.h:
9390         * FontInfo.C: moved to frontends/xforms/
9391
9392         * FontLoader.h:
9393         * FontLoader.C: moved into frontends for GUIIzation
9394
9395         * Makefile.am:
9396         * lyx_gui.C:
9397         * lyxfont.C:
9398         * lyxfunc.C: changes from above
9399
9400 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9401
9402         * LColor.C: remove spurious X include
9403
9404         * BufferView_pimpl.C:
9405         * Makefile.am:
9406         * font.h:
9407         * font.C:
9408         * text.C:
9409         * text2.C: move font metrics to frontends/
9410
9411 2002-05-24  Juergen Vigna  <jug@sad.it>
9412
9413         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9414         setting the undo_cursor.
9415
9416         * ParagraphParameters.h: include local includes first.
9417
9418 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9419
9420         * BufferView_pimpl.C:
9421         * BufferView_pimpl.h:
9422         * Makefile.am:
9423         * WorkArea.h:
9424         * WorkArea.C:
9425         * screen.C: move WorkArea into frontends/
9426
9427         * lyxscreen.h:
9428         * screen.C:
9429         * text.C:
9430         * BufferView.C:
9431         * BufferView2.C: move LyXScreen into frontends/
9432
9433         * lyxlookup.h:
9434         * lyxlookup.C:
9435         * lyx_gui.C: move lyxlookup into frontends/xforms/
9436
9437 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9438
9439         * BufferView2.C:
9440         * BufferView_pimpl.C:
9441         * FontLoader.C:
9442         * LyXView.h:
9443         * LyXView.C:
9444         * Makefile.am:
9445         * WorkArea.C:
9446         * XFormsView.h:
9447         * XFormsView.C:
9448         * buffer.C:
9449         * bufferlist.C:
9450         * bufferview_funcs.C:
9451         * converter.C:
9452         * importer.C:
9453         * lyx_cb.C:
9454         * lyx_gui.C:
9455         * lyx_main.C:
9456         * lyx_find.C:
9457         * lyxfunc.C:
9458         * lyxvc.C:
9459         * minibuffer.C:
9460         * text.C:
9461         * text2.C:
9462         * trans.C:
9463         * vc-backend.C: move LyX/XFormsView into frontends/
9464
9465 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9466
9467         * Makefile.am:
9468         * PainterBase.C:
9469         * PainterBase.h:
9470         * Painter.C:
9471         * Painter.h:
9472         * WorkArea.C:
9473         * WorkArea.h:
9474         * screen.C:
9475         * tabular.C:
9476         * text.C:
9477         * text2.C: move Painter to frontends/
9478
9479 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9480
9481         * buffer.C: comment out some some code that depend upon lyx_format
9482         < 220
9483
9484         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9485         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9486
9487         * buffer.h (NO_COMPABILITY): turn off compability
9488
9489         * ColorHandler.C: include scoped_array.hpp
9490
9491         * font.C: Use more specific smart_ptr header.
9492         * Painter.C: ditto
9493         * gettext.C: ditto
9494         * ShareContainer.h: ditto
9495         * lyx_main.h: ditto
9496         * kbmap.h: ditto
9497         * FontInfo.h: ditto
9498         * BufferView_pimpl.h: ditto
9499         * ColorHandler.h: ditto
9500
9501         * kbmap.C (defkey): change call to shared_ptr::reset
9502
9503 2002-05-21  Juergen Vigna  <jug@sad.it>
9504
9505         * buffer.C (insertErtContents): fix to insert ert asis if it is
9506         non empty. Skip it completely if it contains only whitespaces.
9507
9508 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9509
9510         * BufferView_pimpl.C:
9511         * BufferView2.C: clear selection on paste (bug 393)
9512
9513 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9514
9515         * DepTable.C: include ctime
9516
9517 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9518
9519         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9520
9521 2002-05-14  Juergen Vigna  <jug@sad.it>
9522
9523         * text.C (breakParagraph): fixed function to honor the keepempty
9524         layout in the right maner and also to permit the right breaking
9525         algorithm on empty or non empyt keepempty paragraphs.
9526
9527         * paragraph.C (breakParagraph): we have to check also if the par
9528         is really empty (!size()) for isempty otherwise we do the wrong
9529         paragraph break.
9530
9531 2002-05-10  Juergen Vigna  <jug@sad.it>
9532
9533         * buffer.[Ch] : The following are only changes to the ert
9534         compatibility read reading old LaTeX layout and font stuff and
9535         convert it to ERTInsets.
9536
9537         * buffer.h: added isErtInset().
9538
9539         * buffer.C (struct ErtComp): add a fromlayout bool to check
9540         if we're inside a LaTeX layout.
9541         (isErtInset): new helper function.
9542         (insertErtContents): look for other ert insets before this one
9543         and insert the contents there, so that we don't have subsequent
9544         ERT insets with nothing between them. This way we create only one
9545         inset with multiple paragraphs. Also check if we don't insert only
9546         spaces ' ' as they are ignored anyway afterwards in the .tex file
9547         so if we have only spaces we will ignore this latex part in the
9548         new file.
9549         (parseSingleLyXformat2Token \\layout): better compatibility when
9550         reading layout-latex stuff.
9551         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9552         language tag.
9553         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9554         stuff after reading the inset only get the information back from
9555         the stack.
9556
9557 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9558
9559         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9560
9561         * LaTeXFeatures.C (getBabelOptions): New method.
9562
9563 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9564
9565         * BufferView_pimpl.C (Dispatch): work around missing argument for
9566         'layout'
9567
9568 2002-05-08  Juergen Vigna  <jug@sad.it>
9569
9570         * text.C (leftMargin): handle paragraph leftindent.
9571
9572         * paragraph.C (writeFile): write the new \\leftindent tag.
9573         (validate): handle leftindent code.
9574         (TeXEnvironment): handle paragraphleftindent code again.
9575
9576         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9577
9578         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9579         for paragrap_extra indent code and new token \\leftindent.
9580         (latexParagraphs): handle the leftindent as environment.
9581
9582         * ParameterStruct.h: added leftindent support.
9583
9584         * ParagraphParameters.C (leftIndent): added support functions for
9585         the paragraph left indent.
9586
9587         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9588         more appropriate.
9589
9590 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9591
9592         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9593         inside insetERT.
9594
9595         * text.C (computeBidiTables): No bidi in insetERT.
9596
9597         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9598         in RTL documents.
9599
9600 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9601
9602         * version.C.in: pre 5
9603
9604 2002-05-02  José Matos  <jamatos@fep.up.pt>
9605         * buffer.C (makeDocBookFile): white space changes, add newline to
9606         command styles.
9607         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9608
9609         * tabular.C (docBook): fix typo.
9610
9611 2002-05-03  Juergen Vigna  <jug@sad.it>
9612
9613         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9614         change in LyXText as we can not be sure it was not freed.
9615         (drawOneRow): remove unused code.
9616
9617         * text.C (drawInset): redo the calculation of the need_break_row as
9618         it could have a row which was already freed.
9619         (draw): look at the return value of drawInset and return false if
9620         it also returned false.
9621         (paintRowText): look at the return value of draw and return false if
9622         it also returned false.
9623
9624         * lyxtext.h: added bool return type to drawInset() and draw() so that
9625         if we have a change in the row so that the rowbreak has to be redone
9626         we abort drawing as it will be called again.
9627
9628 2002-05-02  Juergen Vigna  <jug@sad.it>
9629
9630         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9631         a change in the maintext also if we're inside an inset.
9632         (Dispatch): set the cursor again after a break line and after the
9633         screen has been updated as it could be we're in a different row.
9634
9635         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9636         to set the cursor behind the pargraph with > size().
9637         (setCursor): check also for the same paragraph when checking where
9638         to put the cursor if we have a NFR inset.
9639
9640         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9641         parts of layout read further up as it still was in the wrong
9642         position.
9643
9644 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9645
9646         * screen.C (drawFromTo): change sine fullRebreak always return
9647         true.
9648
9649         * buffer.C (parseSingleLyXformat2Token): reindent some
9650
9651         * BufferView_pimpl.C (update): change since fullRebreak always
9652         return true.
9653         (Dispatch): git rid of the last hardcoded "Standard"s.
9654
9655 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9656
9657         * text2.[Ch] (fullRebreak): make it return void now that we always
9658         returned true.
9659
9660 2002-04-30  Juergen Vigna  <jug@sad.it>
9661
9662         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9663         ert compatibility check for "latex" layout.
9664
9665 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9666
9667         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9668         minipages: use col% instead of p%, and also use the current font.
9669         (makeLaTeXFile): Fix use babel condition.
9670         (parseSingleLyXformat2Token): Correct font when reading old floats.
9671
9672 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9673
9674         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9675         inserting list of floats.
9676
9677 2002-04-25  Herbert Voss  <voss@lyx.org>
9678
9679         * MenuBackend.C (expand): don't add the graphics extensions to the
9680         export menu
9681
9682 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9683
9684         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9685         non-existing layout, do not complain if it was the default layout
9686         of the original class (bug #342)
9687
9688 2002-04-24  Juergen Vigna  <jug@sad.it>
9689
9690         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9691         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9692
9693 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9694
9695         * buffer.C (getBibkeyList): If using \bibliography, return the
9696         option field with the reference itself. Enables us to provide natbib
9697         support when using \bibliography.
9698
9699 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9700
9701         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9702
9703         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9704         natbib is provided by the LaTeX class.
9705
9706 2002-04-23  Juergen Vigna  <jug@sad.it>
9707
9708         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9709         Wakeup functions.
9710
9711         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9712
9713 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9716
9717         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9718         ensuremath around textordmasculine, textordfeminine and
9719         textdegree.
9720
9721 2002-04-19  Juergen Vigna  <jug@sad.it>
9722
9723         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9724         reinitializing the buffer otherwise row-dimensions may be wrong.
9725         (update): reset also the selection cursors if they do exits otherwise
9726         their x/y positions may be wrong.
9727
9728         * text2.C (cursorDown): don't enter the inset if we came from a row
9729         above and are one row over the inset.
9730
9731         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9732         really leaving an inset.
9733
9734 2002-04-18  Juergen Vigna  <jug@sad.it>
9735
9736         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9737         of the selected paragraph does not have the selected layout also if
9738         the last one had!
9739
9740         * text2.C (setLayout): fixed bug which did not change last selected
9741         paragraph.
9742
9743         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9744         changed the read and substituted \\end_float with \\end_inset!
9745
9746         * BufferView_pimpl.C (cursorPrevious):
9747         (cursorNext): fixed to make it work with rows heigher than the work
9748         area without moving the cursor only the draw of the row.
9749         (workAreaMotionNotify): fix jumping over high rows.
9750
9751 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9752
9753         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9754         Ressler.
9755
9756 2002-04-16  Juergen Vigna  <jug@sad.it>
9757
9758         * text2.C (setCursor): set also the irow().
9759         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9760         (cursorUp):
9761         (cursorDown): support for locking an inset if the x_fix value goes
9762         inside it. That way I can transverse insets too with cursor up/down.
9763
9764         * lyxrow.h: added irow helper function same as other (i) functions.
9765
9766         * BufferView_pimpl.C (cursorPrevious):
9767         (cursorNext): fixed for insets!
9768
9769 2002-04-15  Juergen Vigna  <jug@sad.it>
9770
9771         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9772         position otherwise it is wrong in some cases.
9773
9774         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9775         inside the inset before the call.
9776
9777 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9778
9779         * buffer.[Ch] (getBibkeyList): make it const.
9780
9781 2002-04-12  Juergen Vigna  <jug@sad.it>
9782
9783         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9784
9785         * text2.C (getCursorX): new helper function
9786         (setCursor): compute also ix_
9787         (setCursorFromCoordinates): set also ix.
9788
9789         * lyxcursor.h: added ix_ and helper functions.
9790
9791         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9792
9793         * buffer.C (insertStringAsLines): dont break paragraph if the this
9794         paragraph is inside an inset which does not permit it!
9795
9796         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9797         also with no chars on this paragraph.
9798         (paintRowText): only paint stuff if it's inside the workarea!
9799
9800         * paragraph.C (breakParagraph): honor keepempty flag and break the
9801         paragraph always below not above.
9802
9803         * BufferView2.C (unlockInset): update the paragraph layout on inset
9804         unlock as we changed paragraph in such a case.
9805
9806         * lyxfind.C (LyXFind): clear the former selection if not found!
9807
9808         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9809         again called in insertChar().
9810
9811         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9812         an inset which uses the whole row!
9813         (rightMargin): ditto.
9814         (insertChar): force a rebreak if we inserted an inset!
9815
9816 2002-03-28  Herbert Voss  <voss@lyx.org>
9817
9818         * lyxlength.[Ch]: add inBP() to get the right PS-point
9819         units (BigPoint). With inPixels we have rounding errors
9820
9821 2002-04-11  Juergen Vigna  <jug@sad.it>
9822
9823         * text2.C (setCursorFromCoordinates): set iy to the right value.
9824         (setCursor): add check if row->previous exists!
9825
9826         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9827         an old float_type as this was the case in the old code!
9828
9829         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9830
9831         * BufferView2.C (showLockedInsetCursor): use iy
9832         (fitLockedInsetCursor): ditto
9833
9834         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9835         locked insets as there we have the right value now.
9836
9837         * lyxcursor.C: added iy_ variable and iy functions to set to the
9838         baseline of cursor-y of the locked inset.
9839
9840         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9841         (setCursor): fixed for insets which need a full row.
9842
9843         * text.C (rowLastPrintable): don't ignore the last space when before
9844         an inset which needs a full row.
9845         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9846         as last character of a row when before a inset which needs a full row.
9847
9848 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9849
9850         * version.C.in: update date
9851
9852         * text2.C (fullRebreak): try to always return true and see what
9853         happens...
9854
9855 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9856
9857         * MenuBackend.C (expand): use Floating::listName
9858
9859         * FloatList.C (FloatList): add listName argument to the built-in
9860         floats
9861
9862         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9863         text associated with the float.
9864
9865 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9866
9867         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9868
9869 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9870
9871         * ShareContainer.h: add a couple of missing typenames.
9872
9873 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9874
9875         * lyxrc.C (getDescription): use _() correctly rather than N_().
9876
9877 2002-03-28  Herbert Voss  <voss@lyx.org>
9878
9879         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9880         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9881
9882 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9883
9884         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9885         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9886
9887 2002-03-29  Juergen Vigna  <jug@sad.it>
9888
9889         * lyxfunc.C (dispatch): add a missing fitCursor call.
9890
9891         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9892         it was scrolled by a cursor move, so return the bool status.
9893
9894         * BufferView.C (fitCursor): return the bool flag also to the outside
9895         world as this is needed.
9896
9897         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9898
9899         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9900         call the edit() as it is not needed (and wrong) IMO.
9901         (workAreaButtonPress): set the screen_first variable before evt.
9902         unlock the inset as this may change screen_first and then we have
9903         a wrong y position for the click!
9904
9905 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9906
9907         * MenuBackend.C (expand): another translation that I missed
9908
9909 2002-03-28  Juergen Vigna  <jug@sad.it>
9910
9911         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9912
9913         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9914
9915 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9916
9917         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9918
9919         * MenuBackend.C (expand): fix export/view/update when there is no
9920         document open.
9921
9922 2002-03-27  Herbert Voss  <voss@lyx.org>
9923
9924         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9925         and text%
9926
9927 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9928
9929         * bufferview_funcs.C (currentState): only show paragraph number
9930         for is DEVEL_VERSION is set.
9931
9932         * lyxfunc.C (dispatch): put warning in INFO channel
9933
9934         * MenuBackend.C (expand): translate the name of floats
9935
9936         * FloatList.C (FloatList): mark the float names for translation
9937
9938         * converter.C (convert): use LibScriptSearch
9939
9940 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9941
9942         * MenuBackend.C (defaults): fix default menu (we might as well get
9943         rid of it...)
9944
9945 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9946
9947         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9948         directory.
9949
9950 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9951
9952         * lyxvc.C: reorder includes.
9953
9954 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9955
9956         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9957           properly
9958
9959 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9960
9961         * CutAndPaste.C: change layouts earlier on paste
9962           to avoid crashing when calling getFont()
9963
9964 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9965
9966         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9967         irritating #error.
9968
9969 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9970
9971         * WorkArea.C: remove 'Pending' debug message.
9972
9973         * most files: ws cleanup
9974
9975         * buffer.[Ch]: ws changes
9976
9977         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9978
9979 2002-03-21  Juergen Vigna  <jug@sad.it>
9980
9981         * tabular.C (SetMultiColumn): collapse also the contents of the
9982         cells and set the last border right. Added a Buffer const * param.
9983
9984 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9985
9986         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9987         linking or not.
9988
9989 2002-03-19  Juergen Vigna  <jug@sad.it>
9990
9991         * text2.C (clearSelection): reset also xsel_cache.
9992
9993         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9994         where it needs to be called (John tells us to do so too :)
9995         (selectionLost): reset sel_cache.
9996
9997         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9998
9999 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10000
10001         * text2.C (setCursorIntern): put debuging code in INSETS channel
10002
10003 2002-03-19  André Pönitz <poenitz@gmx.net>
10004
10005         * lyxfunc.C: tiny whitespace change
10006
10007 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10008
10009         * ToolbarDefaults.C (init):
10010         * LyXAction.C (init):
10011         * commandtags.h:
10012         * BufferView_pimpl.C (Dispatch):
10013         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10014
10015 2002-03-19  Allan Rae  <rae@lyx.org>
10016
10017         * exporter.C (Export): removeAutoInsets before doing anything else.
10018         While I've just introduced a dependency on BufferView this really is
10019         the best place to clean the buffer otherwise you need to cleanup in
10020         a dozen places before calling export or cleanup in a dozen functions
10021         that export calls.
10022
10023         * converter.C (runLaTeX):
10024         (scanLog): Better handling of removeAutoInsets and screen updates.
10025
10026         * lyxfunc.C (dispatch): small whitespace changes
10027
10028 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10029
10030         * WorkArea.C (C_WorkAreaEvent): return a value.
10031         (event_cb): return 1 if we handled the event, 0 otherwise.
10032
10033         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10034
10035 2002-03-18  Juergen Vigna  <jug@sad.it>
10036
10037         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10038         (GetAdditionalWidth): ditto.
10039         (RightLine): ditto.
10040         (LeftLine): ditto.
10041
10042         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10043         inset if we're there actually (probably not used right now but this
10044         is the direction to go for unifying code).
10045         (paste): disable code to clear the selection.
10046
10047         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10048         inside an InsetText and move the check further up as it is in the
10049         wrong place.
10050
10051         * text2.C (pasteSelection): set a selection over the pasted text.
10052
10053 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10054
10055         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10056         and libgraphics to build on Cygwin.
10057
10058 2002-03-15  Juergen Vigna  <jug@sad.it>
10059
10060         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10061         inserting an Inset into the paragraph. I know this is not the best
10062         fix but we already use current_view in CutAndPaste so we will remove
10063         all of it's using at the same time.
10064
10065         * buffer.C (sgmlError): deactivated function till it is rewritten in
10066         the right mode, now it can create problems.
10067
10068         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10069         before accessing it.
10070
10071 2002-03-14  Juergen Vigna  <jug@sad.it>
10072
10073         * undo_funcs.C (textHandleUndo): do the right thing when updating
10074         the inset after the undo/redo.
10075
10076         * text2.C (setCursor): just some testcode for #44 not ready yet.
10077
10078         * undo_funcs.C (textHandleUndo): set the next() and previous()
10079         pointers of the paragraph to 0 before deleting otherwise we have
10080         problems with the Paragraph::[destructor].
10081
10082         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10083         on a paragraph insertion.
10084
10085 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10086
10087         * buffer.C (asciiParagraph): use += operator for char append to
10088         string.
10089
10090         * paragraph.C (getFontSettings): compare >= not just >
10091         (highestFontInRange): ditto
10092         (setFont): ditto
10093
10094 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10095
10096         * paragraph.C: change several algorithm to be more appripriate for
10097         the problem domain. This is lookip in FontList and in the InsetList.
10098
10099 2002-03-13  André Pönitz <poenitz@gmx.net>
10100
10101         * commandtags.h:
10102         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10103
10104 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10105
10106         * commandtags.h:
10107         * LyXAction.C:
10108         * lyxfunc.C:
10109         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10110
10111 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10112
10113         * Painter.C (display): anon helper function, adjust code for this
10114         change.
10115         (pixmap): remove function.
10116
10117         * Painter.h: remove private display variable.
10118
10119         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10120
10121 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10122
10123         * WorkArea.[Ch]: remove figinset_canvas cruft.
10124
10125 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10126
10127         * lyxtextclass.C (operator): add one item cache optimization.
10128
10129         * bufferlist.h: doxy changes
10130
10131         * bufferlist.C: ws changes
10132
10133         * DepTable.[Ch] (ext_exist): place const in the right spot.
10134
10135         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10136         call resizeInsets.
10137         (workAreaExpose): call resizeInsets when the with BufferView changes.
10138         (Dispatch): adjust for protectedBlank removal
10139         (specialChar): call updateInset if the insert went ok.
10140
10141         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10142         specialChar instead.
10143
10144         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10145
10146         * BufferView.h: doxy change
10147
10148         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10149
10150         * lyxtextclass.C (operator[]): remove non-const version
10151         (defaultLayout): remove non-const version
10152
10153 2002-03-12  Juergen Vigna  <jug@sad.it>
10154
10155         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10156         did resize the LyXText too.
10157
10158         * buffer.C (readLyXformat2): set layout information on newly allocated
10159         paragraphs.
10160
10161         * tabular.C (OldFormatRead): set layout information on the paragraph.
10162
10163 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10164
10165         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10166
10167 2002-03-11  Juergen Vigna  <jug@sad.it>
10168
10169         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10170         plainly wrong.
10171         (resizeCurrentBuffer): force also the insets to resize themselfes.
10172         (moveCursorUpdate): fixed up for InsetText.
10173
10174 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10175
10176         * commandtags.h:
10177         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10178         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10179         value of Dialogs::tooltipsEnabled().
10180         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10181
10182 2002-03-08  Juergen Vigna  <jug@sad.it>
10183
10184         * BufferView_pimpl.C (updateInset): update inset inside inset also
10185         if it isn't inside theLockingInset().
10186
10187 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10188
10189         * buffer.C (asciiParagraph): redo some of the word and line length
10190         handling.
10191         (getLists): look for Caption instead of caption.
10192
10193 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10194
10195         * buffer.C (Buffer): initialize niceFile to true
10196         (makeLaTeXFile):
10197         (makeLinuxDocFile):
10198         (makeDocBookFile): make sure niceFile is true on exit
10199
10200 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10201
10202         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10203
10204 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10205
10206         * LyXSendto.C: remove.
10207         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10208         * lyx_gui.C: remove now-redundant comment.
10209         * ColorHandler.h: remove forward declaration of class WorkArea.
10210         * lyxfunc.C: remove #include "WorkArea.h".
10211
10212 2002-03-07  Juergen Vigna  <jug@sad.it>
10213
10214         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10215         got moved away with the DEPM and also set the inset_owner always
10216         right which before could have been omitted.
10217
10218 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10219
10220         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10221         wanted layout is not found.
10222
10223 2002-03-07  Juergen Vigna  <jug@sad.it>
10224
10225         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10226
10227 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10228
10229         * paragraph.C (breakParagraph): use default layout not layout of
10230         prev paragraph.
10231         (Paragraph): clear ParagraphParameters.
10232
10233 2002-03-06  Juergen Vigna  <jug@sad.it>
10234
10235         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10236         otherwise it would not be a valid lenght. Fixed a special case in
10237         the minipage compatibility read where we end the document with a
10238         minipage.
10239
10240         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10241         was set as it could be 0 for InsetTexts first entry.
10242
10243 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10244
10245         * paragraph.C (writeFile): if layout is empty write out
10246         defaultLayoutName().
10247
10248         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10249         file without named layout we set layout to defaultLayoutName().
10250
10251 2002-03-06  Juergen Vigna  <jug@sad.it>
10252
10253         * CutAndPaste.C (copySelection): set layout for new paragraph.
10254
10255         * text.C (prepareToPrint): leave ERT inset left aligned
10256         (leftMargin): don't indent paragraphs inside ERT insets
10257
10258 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10259
10260         * paragraph.C (breakParagraph): dont call clear do the work manually
10261
10262         * paragraph.[Ch] (clear): remove function
10263
10264 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10265
10266         * paragraph.C (Paragraph): dont call clear, the work has already
10267         been done.
10268
10269         * lyxtextclass.C (operator): assert if n is empty
10270
10271         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10272         work manually instead.
10273
10274 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10275
10276         * BufferView_pimpl.C: protect selectionLost against text == 0
10277
10278 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10279
10280         * text.C (breakParagraph): fix a setting layout to '0' problem.
10281
10282 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10283
10284         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10285         final location of file, for the included files, and graphics.
10286
10287 2002-03-05  Juergen Vigna  <jug@sad.it>
10288
10289         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10290
10291 2002-03-04  Juergen Vigna  <jug@sad.it>
10292
10293         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10294
10295         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10296         last column of multicolumn cells.
10297         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10298
10299 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10300
10301         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10302         file if it doesn't go to a temporary file.
10303
10304         * buffer.C (sgmlOpenTag):
10305         (sgmlCloseTag):  remove extra newline insertion.
10306
10307 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10308
10309         * text.C (getRowNearY): comment out debug msg
10310
10311 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10312
10313         * text2.C: first -> first_y
10314
10315         * text.C (getRowNearY): add some attemts at a possible
10316         optimization, not working.
10317
10318         * tabular.[Ch]: add BufferParams to several function so that newly
10319         created paragraph can be initialized to he default layotu for the
10320         buffers textclass.
10321
10322         * tabular-old.C (ReadOld): add buf->params to call of Init
10323
10324         * screen.C: rename text->first to text->first_y
10325
10326         * paragraph.C (breakParagraph): always set layout in the broken
10327         paragraph
10328
10329         * lyxtextclass.C (Read): remove lowercase
10330         (hasLayout): ditto
10331         (operator): ditto
10332         (delete_layout): ditto
10333
10334         * lyxtext.h: rename first -> first_y
10335
10336         * lyxlayout.C (Read): remove lowercase
10337         (name): ditto
10338         (setName): ditto
10339         (obsoleted_by): ditto
10340
10341         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10342
10343         * buffer.C (insertErtContents): add params are to InsetERT
10344         (parseSingleLyXformat2Token): add code to check if a paragraphs
10345         layout really exist.
10346         (parseSingleLyXformat2Token): add params to several inset
10347         constructors
10348         (asciiParagraph): remove lowercase, do the layout comparisons with
10349         no_case
10350
10351         * BufferView_pimpl.C (cursorNext): first -> first_y
10352         (resizeCurrentBuffer): first -> first_y
10353         (updateScrollbar): first -> first_y
10354         (scrollCB): first -> first_y
10355         (workAreaMotionNotify): first -> first_y
10356         (workAreaButtonPress): first -> first_y
10357         (checkInsetHit): first -> first_y
10358         (cursorPrevious): first -> first_y
10359         (cursorNext): first -> first_y
10360         (Dispatch): add buffer_->params to severl inset contructors
10361
10362 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10363
10364         * lyxlayout.C (Read): remove some debug info that I forgot.
10365
10366         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10367         clean up the code slightly.
10368         (makeLinuxDocFile): ditto
10369         (makeDocBookFile): ditto
10370
10371         * text2.C: layout as string
10372
10373         * text.C: layout as string
10374
10375         * paragraph_pimpl.C: layout as string
10376
10377         * paragraph.[Ch]: layout as string
10378
10379         * lyxtextclasslist.[Ch]: layout as string
10380
10381         * lyxtextclass.[Ch]: layout as string
10382
10383         * lyxtext.h: layout as string
10384
10385         * lyxlayout.[Ch]: layout as string
10386
10387         * lyx_cb.C: layout as string
10388
10389         * bufferview_funcs.C: layout as string
10390
10391         * bufferparams.C: layout as string
10392
10393         * buffer.C: layout as string
10394
10395         * LyXView.[Ch]: layout as string
10396
10397         * LaTeXFeatures.[Ch]: layout as string
10398
10399         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10400
10401         * BufferView_pimpl.C: change current_layout to string, remove
10402         lyx::layout_type.
10403         (Dispatch):
10404         (smartQuote):
10405         (insertInset):
10406         (workAreaButtonRelease): layout as string
10407
10408         * BufferView2.C (unlockInset): adjust
10409
10410         * vspace.C (asLatexCommand): use an explict temp variable.
10411
10412 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10413
10414         * Makefile.am: use FRONTEND_*
10415
10416 2002-03-01  Juergen Vigna  <jug@sad.it>
10417
10418         * tabular.C (SetWidthOfMulticolCell): changed to something better
10419         I hope but still work in progress.
10420         (recalculateMulticolumnsOfColumn): renamed function from
10421         recalculateMulticolCells as it is more appropriate now.
10422         (SetWidthOfCell): calculate multicols better.
10423
10424 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10425
10426         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10427
10428         * lyxfunc.C (processKeySym): print sequence also if it is
10429         `deleted' (complete)
10430
10431         * kbsequence.C (print): print sequence even if it is deleted
10432         (complete would be a better word, actually).
10433
10434         * lyxfunc.C (dispatch): print complete options after a prefix key
10435
10436         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10437
10438 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10439
10440         * text2.C (setCharFont): eliminate setCharFont code duplication.
10441
10442 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10443
10444         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10445         LFUN_TABULAR_FEATURE (bug #177)
10446
10447 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10448
10449         * Makefile.am: remove figure.h
10450
10451 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10452
10453         * Bufferview_pimpl.C:
10454         * CutAndPasteC:
10455         * LaTeX.C:
10456         * LyXSendto.C:
10457         * buffer.C:
10458         * bufferlist.C:
10459         * converter.C:
10460         * language.C:
10461         * lyxfunc.C:
10462         * lyxvc.C:
10463         * paragraph.C:
10464         * text.C:
10465         * text2.C: remove #include "lyx_gui_misc.h".
10466
10467         * LaTeX.C: added #include <cstdio>
10468
10469 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10470
10471         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10472         that the paragraph following this one can have.
10473
10474         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10475
10476         * vspace.C (asLatexCommand): fix bogus gcc warning
10477
10478         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10479
10480 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10481
10482         * text2.C (setLayout): get rid of redundant code
10483
10484 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10485
10486         * text2.C (incDepth): make sure depth cannot be increased beyond
10487         reasonable values.
10488
10489 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10490
10491         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10492         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10493
10494         * PainterBase.h (image):
10495         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10496         a LyXImage const *.
10497
10498 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10499
10500         * BufferView.C:
10501         * BufferView.h:
10502         * BufferView_pimpl.C:
10503         * BufferView_pimpl.h:
10504         * LaTeXFeatures.C:
10505         * LyXAction.C:
10506         * LyXView.C:
10507         * Makefile.am:
10508         * UpdateList.h:
10509         * UpdateList.C:
10510         * buffer.C:
10511         * figure.h:
10512         * figureForm.C:
10513         * figureForm.h:
10514         * figure_form.C:
10515         * figure_form.h:
10516         * lyx_cb.C:
10517         * lyx_gui.C:
10518         * lyx_gui_misc.C:
10519         * lyxfunc.C:
10520         * sp_base.h:
10521         * sp_ispell.h:
10522         * sp_pspell.h:
10523         * sp_spell.C: remove fig inset, and the crap house of
10524           cards that follows it
10525
10526 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * Makefile.am:
10529         * lyxserver.C:
10530         * os2_defines.h:
10531         * os2_errortable.h:
10532         * nt_defines.h: move .h into support/
10533
10534         * vms_defines.h: remove
10535
10536         * WorkArea.C: add space in debug output
10537
10538         * text2.C:
10539         * paragraph.C:
10540         * buffer.C: add WITH_WARNINGS
10541
10542         * vc-backend.h:
10543         * vc-backend.C:
10544         * bufferlist.C: s/retrive/retrieve/, add docs
10545
10546         * vspace.h:
10547         * vspace.C:
10548         * kbmap.h:
10549         * lyxlength.h:
10550         * lyxgluelength.h:
10551         * length_common.h:
10552         * chset.h:
10553         * chset.C: add docs
10554
10555         * lyxgui.C: add ID to X error handler
10556
10557         * lyxtestclass.c: fix typo
10558
10559 2002-02-26  Juergen Vigna  <jug@sad.it>
10560
10561         * tabular_funcs.C (write_attribute): changed so that some default
10562         attributes are not written at all.
10563         (getTokenValue): set default values before trying to read the
10564         value so we have the return value always set as default if we don't
10565         find the token we search for.
10566
10567         * tabular.C (Write): write bools as bools not as strings!
10568
10569 2002-02-22  Juergen Vigna  <jug@sad.it>
10570
10571         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10572         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10573
10574         * text.C (leftMargin): don't add an indent for paragraphs inside
10575         tabular cells (fix #208).
10576
10577 2002-02-21  José Matos  <jamatos@fep.up.pt>
10578
10579         * tabular.C (docBook): fixed support for long tables.
10580
10581 2002-02-20  Juergen Vigna  <jug@sad.it>
10582
10583         * text2.C (getFont): get the drawing font of the Inset if this
10584         paragraph is inside an inset (only important for InsetERT for now).
10585
10586         * buffer.C (insertErtContents): use new lanugage params in ERT
10587         constructor.
10588
10589         * CutAndPaste.C: commenting out seemingly uneeded code.
10590
10591 2002-02-19  Allan Rae  <rae@lyx.org>
10592
10593         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10594         Iterators might be simple to use but they also get invalidated.
10595         (removeAutoInsets): renamed saved cursor tracking variables and added
10596         some comments to clarify what everything does.
10597
10598 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10599
10600         * Chktex.C:
10601         * LaTeX.C:
10602         * LyXSendto.C:
10603         * converter.C:
10604         * lyx_cb.C:
10605         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10606         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10607
10608         * lyxfunc.C:
10609         * vc-backend.h: remove #include "support/syscall.h"
10610
10611         * LaTeX.C:
10612         * LyXSendto.C:
10613         * converter.C: rearrange #includes in Lars' approved fashion.
10614
10615         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10616         forward declare class Timeout in the header file.
10617
10618         * XFormsView.C: changes due to the above.
10619
10620         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10621         similar to LyXView.
10622
10623         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10624         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10625
10626 2002-02-18  José Matos  <jamatos@fep.up.pt>
10627
10628         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10629         insets contents.
10630
10631 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10632
10633         * a lot of small ws changes
10634         * add a lot of using std::XXX
10635         * use std construcs some places where approp.
10636         * use some exisint stuff from lyxfunctional where approp.
10637         * Make file changes to use partial linking (lets test this now...)
10638
10639 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10640
10641         * Chktex.C:
10642         * buffer.C:
10643         remove #include "support/syscontr.h" as it's redundant. Always has been.
10644
10645         * Chktex.C:
10646         * LaTeX.C:
10647         * LyXSendto.C:
10648         * converter.C:
10649         * lyx_cb.C:
10650         * vc-backend.C:
10651         change Systemcalls::System to Systemcalls::Wait and
10652         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10653         No change of functionality, just reflects the stripped down Systemcalls
10654         class.
10655
10656 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10657
10658         * debug.[Ch]: add a GRAPHICS type to the enum.
10659
10660 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10663
10664         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10665         there is an inset.
10666
10667 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10668
10669         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10670         match the changes below.
10671
10672         * text2.C (toggleInset): if there is not editable inset at cursor
10673         position, try to see if cursor is _inside_ a collapsable inset
10674         and close it.
10675
10676 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10677
10678         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10679         document menu has a nice checkbox
10680
10681 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10682
10683         * lyxlength.C (asLatexString): change PW to output as percent of
10684         \textwidth.
10685
10686         * lengthcommon.C: change '%' to 't%'
10687
10688         * lyxfunc.C (dispatch): a few comments from Martin
10689
10690 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * WorkArea.h:
10693         * WorkArea.C:
10694         * BufferView_pimpl.h:
10695         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10696           the X selection.
10697
10698 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10699
10700         * vspace.C (inPixels): fix compiler warning
10701
10702 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10703
10704         * lyxfunc.C (getStatus): fix status message for disabled commands.
10705
10706 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10707
10708         * BufferView_pimpl.C: fix crash on close buffer
10709         during selection (#227)
10710
10711 2002-01-27  Herbert Voss  <voss@lyx.org>
10712
10713         * buffer.C: link old Figure to new graphic inset
10714
10715 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10716
10717         * FontLoader.C (getFontinfo): Change the latex font names in order
10718         to match the names of type1inst.
10719
10720 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10721
10722         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10723
10724         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10725         (extchanged): ditto
10726         (ext_exist): ditto
10727         (remove_files_with_extension): ditto
10728         (remove_file): ditto
10729         (write): ditto
10730
10731         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10732         document is smaller than the work area height. Do not initialize
10733         static variables to 0.
10734
10735 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10736
10737         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10738
10739         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10740         LFUN_LAYOUT_PARAGRAPHS.
10741
10742         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10743         tabular. It is possible to provide a possible cell, which will
10744         typically be the actcell from the corresponding insettabular
10745
10746         * lyxfunc.C (getStatus): small cleanup; disable
10747         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10748         true
10749
10750 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10751
10752         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10753
10754         * paragraph.C (startTeXParParams):
10755         (endTeXParParams): new methods. The LaTeX code to
10756         start/end paragraph formatting
10757         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10758         empty (fixes bug #200)
10759
10760         * vspace.C (inPixels): adapt to the change below
10761         (inPixels): [later] more cleanups (remove unused variables)
10762
10763         * lyxlength.C (inPixels): change to use a width and a height as
10764         parameter.
10765
10766 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10767
10768         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10769         Replaced with \paperwidth
10770
10771         * DepTable.C (insert): add std:: qualifier
10772
10773 2002-01-18  Allan Rae  <rae@lyx.org>
10774
10775         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10776         updated also?
10777
10778         * text.C (drawInset): Turned out I didn't know enough about how
10779         rebreaking worked.  This fixes most of the redraw problems.  I see
10780         an occasional cursor trail when a line is broken now and the cursor
10781         placement can seem out by a few pixels also after a rebreak.
10782
10783 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10784
10785         * buffer.C (parseSingleLyXformat2Token): update because minipage
10786         width is now a LyXLength
10787
10788         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10789
10790         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10791         math insets
10792
10793 2002-01-17  Juergen Vigna  <jug@sad.it>
10794
10795         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10796
10797         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10798         is set correctly and the inset is updated correctly.
10799
10800 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10801
10802         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10803         the beginning of the loop.
10804
10805 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10806
10807         * lyxrc.C: improve help for use_scalable_fonts
10808
10809 2002-01-17  Allan Rae  <rae@lyx.org>
10810
10811         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10812
10813 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10814
10815         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10816         make sure to set their inset_owner to the right value (bug #171)
10817
10818 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10819
10820         * DepTable.h
10821         * DepTable.C: Implement mtime checking to reduce time spent doing
10822         CRCs.
10823
10824 2002-01-16  Juergen Vigna  <jug@sad.it>
10825
10826         * tabular.C (GetAdditionalHeight): one of error fixed.
10827
10828         * lyxrc.C (output): small fix in writing use_pspell.
10829
10830 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10831
10832         * sp_base.h: #include LString.h
10833
10834 2002-01-16  Allan Rae  <rae@lyx.org>
10835
10836         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10837         Can someone check this please?
10838
10839         * text.C (drawInset): It was possible that p.row would be removed by
10840         breakAgainOneRow upsetting a few other settings.  There may be another
10841         small tweak possible by setting need_break_row = 0 when p.row has been
10842         removed but I don't know enough about the logic here.
10843
10844 2002-01-15  Allan Rae  <rae@lyx.org>
10845
10846         * text.C (insertChar): removed conditional truism.
10847
10848         * BufferView2.C (removeAutoInsets): More tweaks.
10849         cur_par_prev could be a stray pointer.  Check for trailing empty line
10850         in case last line was cur_par and only had an error inset on it.
10851
10852 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10853
10854         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10855         absolute
10856
10857         * vc-backend.C (most methods):
10858         * exporter.C (Export):
10859         * converter.C (convert):
10860         (runLaTeX):
10861         * LyXSendto.C (SendtoApplyCB):
10862         * lyxfunc.C (dispatch):
10863         (menuNew):
10864         (open):
10865         (doImport):
10866         * lyx_cb.C (AutoSave):
10867         (InsertAsciiFile):
10868         * BufferView_pimpl.C (MenuInsertLyXFile):
10869         * buffer.C (runChktex): use Buffer::filePath().
10870
10871         * buffer.h: rename filename to filename_; rename filepath to
10872         filepath_ and make it private
10873         (filePath): new method
10874
10875         * buffer.C (writeFile): use fileName()
10876         (getLatexName):
10877
10878         * lyx_main.C (init): fix starting  of LyX when the binary is a
10879         link from so,ewhere else.
10880
10881         * minibuffer.C: include <cctype> for isprint
10882
10883 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10884
10885         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10886         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10887         name clash with InsetCollapsable's width function.
10888
10889 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10890
10891         * lastfiles.C: include <iterator>
10892
10893 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10894
10895         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10896         std::count.
10897
10898         * buffer.C (makeLaTeXFile): ditto.
10899         Also make loop operation more transparent.
10900
10901 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10902
10903         * ToolbarDefaults.C: remove trailing comma closing namespace.
10904
10905         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10906
10907         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10908         as in WorkArea.
10909
10910         * trans.C (Load): comment out unused variable, allowed.
10911
10912 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10913
10914         * minibuffer.[Ch] (append_char): new method to recieve input from the
10915         drop-down completion browser. If a key was pressed, then recieve this
10916         char and append it to the existing string.
10917         (peek_event): modify the positioning data passed to the completion
10918         browser so that it can be placed above the minibuffer rather than below.
10919 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10920
10921         * LyXAction.C (init): alloe error-next for readonly documents.
10922
10923         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10924         count.
10925
10926 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10927
10928         * bufferlist.C (readFile): create the buffer _after_ checking that
10929         the file exists.
10930
10931         * lyxfunc.C (verboseDispatch): fix handling of arguments
10932
10933         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10934
10935         * lyxrc.C: use string::erase() instead of initializing to "".
10936
10937
10938 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10939
10940         * BufferView_pimpl.h:
10941         * BufferView_pimpl.C:
10942         * WorkArea.h:
10943         * WorkArea.C:
10944         * text2.C: tell X when we have made a selection for copying
10945
10946 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10947
10948         * BufferView_pimpl.C (MenuInsertLyXFile):
10949         * lyxfunc.C (menuNew):
10950         (open):
10951         (doImport): add shortcuts to directory buttons
10952
10953         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10954         open a float)
10955
10956         * lyxfunc.C (setStatusMessage):
10957         (getStatusMessage): new methods
10958         (getStatus):use setStatusMessage instead of setErrorMessage
10959         (dispatch): when function is disabled, set error message here
10960         [instead of in getStatus previously]
10961
10962         * BufferView_pimpl.C (workAreaButtonRelease): update
10963         toolbar/menubar here too.
10964
10965 2002-01-13  Allan Rae  <rae@lyx.org>
10966
10967         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10968         Now seems indestructible.  Remaining task is to audit all other
10969         code affected by deleteEmptyParagraphMechanism.  One small quirk
10970         left is that an empty document with an error in the preamble can
10971         be made to report an error but no error box appears.  I don't know
10972         where it goes.
10973         (removeAutoInsets): Improved comments.
10974
10975 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10976
10977         * Thesaurus.h:
10978         * Thesaurus.C: update for Aiksaurus 0.14
10979
10980 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10981
10982         * text2.C (firstParagraph): removed member function, all uses
10983         replaces with ownerParagraph
10984         (redoParagraphs): here
10985         (updateInset): here
10986         (toggleAppendix): here
10987         * BufferView2.C (insertErrors): here
10988         (setCursorFromRow): here
10989
10990 2002-01-13  Allan Rae  <rae@lyx.org>
10991
10992         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10993         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10994         There is still a way to segfault this although you may have to do this
10995         multiple times: Have an InsetERT with an unknown command in it.
10996         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10997         <down-arrow>, <Enter> again, View->DVI, BANG!
10998
10999         * text2.C (setCursor):
11000         (deleteEmptyParagraphMechanism):
11001         * lyxtext.h (setCursor):
11002         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11003         Making use of the return value may help fix other bugs.
11004
11005 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11006
11007         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11008
11009         * LyXView.C (updateMenubar): call MenuBar::update here
11010         (updateToolbar): but not here
11011         (showState): do not update toolbar/menubar
11012
11013         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11014         should need to care about that.
11015
11016         * lyxfunc.C (verboseDispatch): simplify a bit
11017         (getStatus): have a version which takes a pseudoaction, and
11018         another which requires a (kb_action,string).
11019
11020         * LyXAction.C (retrieveActionArg): make it work also when action
11021         is not a pseudo-action.
11022         (getActionName): simplify a bit
11023         (helpText):
11024
11025 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11026
11027         * lyxfunc.C (verboseDispatch): new families of methods with
11028         several ways to specify a command and a bool to indicate whether
11029         the command name and shortcut should be displayed in minibuffer
11030         (eventually, we could extend that to a finer bitmask like
11031         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11032         (dispatch): the pristine dispatch command which just, well,
11033         dispatchs! Note it still sets its result to minibuffer; I'm not
11034         sure we want that.
11035
11036         * lyxfunc.h: remove setHintMessage
11037
11038         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11039
11040 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11041
11042         * BufferView_pimpl.C (specialChar): delete new inset if we have
11043         not been able to insert it.
11044
11045         * kbmap.C: revert to using int instead of kb_action, since all we
11046         are dealing with is pseudo-actions.
11047
11048         * LyXAction.C (searchActionArg): change to return int instead of
11049         kb_action, since the result is a pseudoaction.
11050
11051 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11052
11053         * buffer.C (insertErtContents): Fix (partially) the font bug.
11054
11055 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11056
11057         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11058         as the other one is broken on my machine!
11059
11060 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11061
11062         * commandtags.h:
11063         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11064
11065 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11066
11067         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11068         reflect their actual use. Provide compatibility code for older lyxrc
11069         files.
11070
11071         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11072         FL_NORMAL_STYLE.
11073         change names of popup font variables in line with the changes to lyxrc.C
11074
11075 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11076
11077         * buffer.C (asciiParagraph): avoid outputing a word twice after
11078         an inset.
11079
11080         * lyxrc.C (getDescription): document that document_path and
11081         template_path can be empty.
11082
11083 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11084
11085         * LaTeXFeatures.C (getMacros):
11086         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11087
11088         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11089
11090         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11091         getPackages.
11092         (getPackages): rename feature "floats" to "float". Use an array to
11093         iterate over 'simple' features (i.e. just a \usepackage). Add
11094         handling of "amsmath" (renamed from "amsstyle").
11095
11096 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11097
11098         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11099         features list.
11100
11101 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11102
11103         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11104         FuncStaus::FuncStatus & FuncStaus::some_method().
11105
11106 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11107
11108         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11109         of the func_satus stuff. Edited and massaged in various ways by
11110         JMarc.
11111
11112         * lyxfunc.C (getStatus): use FuncStatus
11113
11114 2002-01-08  Juergen Vigna  <jug@sad.it>
11115
11116         * text.C (nextBreakPoint): use function Inset::isChar().
11117
11118         * paragraph.C (TeXOnePar): use function
11119         Inset::forceDefaultParagraphs.
11120
11121         * buffer.C (latexParagraphs): use function
11122         Inset::forceDefaultParagraphs.
11123
11124 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11125
11126         * lyx_gui.C (init): set the style of the menu popups to
11127         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11128
11129 2002-01-07  Juergen Vigna  <jug@sad.it>
11130
11131         * text.C (setHeightOfRow): small fix
11132         (prepareToPrint): don't look at alignment if we don't have the place
11133         for doing it.
11134
11135 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11136
11137         * box.C: New file. Move the Box methods and functions out of box.h,
11138         following Lars' suggestion.
11139
11140 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11141
11142         * box.h: #include "support/LOstream.h", needed for inlined function.
11143
11144         * lyxtextclass.C:
11145         * lyxtextclasslist.C: added some using std declarations.
11146
11147 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11148
11149         * box.h: make signed dimensions to allow insets wider than
11150           the screen (bug #162)
11151
11152         * BufferView_pimpl.C: add some insetHit debug
11153
11154 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11155
11156         * vc-backend.C: add FIXME
11157
11158 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * lyxfunc.C (getStatus): enable code for showing math font status
11161         in toolbar/menu.
11162
11163 2002-01-07  Juergen Vigna  <jug@sad.it>
11164
11165         * text.C (nextBreakPoint): removed debug output not needed anymore.
11166
11167 2002-01-06  Juergen Vigna  <jug@sad.it>
11168
11169         * text.C (nextBreakPoint): fixed up this function we had this bug
11170         since ever but now hopefully we break row better.
11171         (insertChar): we have to check if an inset is the next char as it
11172         could now happen that a large inset is causing a break.
11173
11174 2002-01-05  Juergen Vigna  <jug@sad.it>
11175
11176         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11177         if it doesn't like to be drawed.
11178
11179 2002-01-04  Juergen Vigna  <jug@sad.it>
11180
11181         * BufferView2.C (lockInset): forgot to set a cursor.
11182
11183         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11184
11185 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11186
11187         * FormMathsPanel.C:
11188         * FormMathsPanel.h
11189         * MathsSymbols.C:
11190         * form_maths_panel.C:
11191         * form_maths_panel.h:
11192         * form_maths_panel.fd: implemented sub- and super- buttons in math
11193         panel.
11194
11195         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11196         (or ^ space) to be used as in TeX (req'd by André).
11197
11198         * lyxfunc.C: Allow ^ and _ again to be used both as
11199         super/subscript (mathed) and as themselves (in text).
11200
11201 2002-01-03  Allan Rae  <rae@lyx.org>
11202
11203         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11204         "LyX" or the filename of the current buffer if it has one.  This is a
11205         modified form of John Levon's patch.
11206
11207         * XFormsView.C (setWindowTitle): also set icon title.
11208
11209         * LyXView.h (setWindowTitle): signature changed.
11210         * XFormsView.h (setWindowTitle): ditto.
11211
11212 2002-01-02  Juergen Vigna  <jug@sad.it>
11213
11214         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11215
11216 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11217
11218         * screen.C (topCursorVisible): introduce a temp var for
11219         text->cursor.row(), handle the case where this row is null. (kindo
11220         hachish)
11221
11222         * text2.C (setCursor): add a couple of asserts.
11223
11224         * paragraph.h (inset_iterator): add -> operator
11225
11226         * paragraph.[Ch] (autoDeleteInsets): remove member function
11227
11228         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11229         cursor pos correctly and handle inset deletion by itself.
11230         (insertErrors): move iterator declaration out of for expression
11231
11232         * lyxtextclass.C: add <algorithm>
11233
11234         * Makefile.am: added the new files to sources, removed layout.C
11235
11236         * layout.C: removed file
11237
11238         * layout.h: remove LYX_DUMMY_LAYOUT
11239
11240         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11241         layout.
11242
11243         * lyxlayout.[Ch]:
11244         * lyxtextclass.[Ch]:
11245         * lyxtextclasslist.[Ch]: new files
11246
11247         * include order changes to a lot of files, also changes because of
11248         the six new files.
11249
11250 2001-12-27  Juergen Vigna  <jug@sad.it>
11251
11252         * buffer.C (asciiParagraph): more fixes.
11253
11254         * tabular.C (ascii): make ascii export support export of only the
11255         data separated by a column-delimiter.
11256         (ascii): better support for ascii export.
11257
11258         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11259
11260 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11261
11262         * tabular_funcs.C: use a "using std::getline" instead of the
11263         previous fix from Angus (necessary for cxx + lyxstring)
11264
11265 2001-12-24  Juergen Vigna  <jug@sad.it>
11266
11267         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11268
11269         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11270         problems. First check a minipage also if we have some ert-contents
11271         (not only on par->size(), second set the right depth of the paragraph
11272         on the relink to the root-paragraph-list!
11273
11274         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11275         which then did not anymore update the main paragraphs on undo/redo!
11276
11277 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11278
11279         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11280         code. Support all font-changing funcs (even those which are not in
11281         menu currently). Support for reporting font settings in
11282         mathed (disabled until Andre provides a function on mathed's side).
11283
11284         * func_status.h (toggle): small helper function to set toggle
11285         state on a flag.
11286
11287 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11288
11289         * tabular_funcs.C: getline -> std::getline
11290
11291 2001-12-21  Juergen Vigna  <jug@sad.it>
11292
11293         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11294         accessed and could be 0 (I couldn't generate this but it seems
11295         Michael could!).
11296
11297 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11298
11299         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11300         * tabular_funcs.h: here and include iosfwd
11301
11302 2001-12-20  Juergen Vigna  <jug@sad.it>
11303
11304         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11305         inside inset but undo_par was.
11306
11307 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11308
11309         * Thesaurus.C: always include <config.h> in sources.
11310
11311         * Painter.h:
11312         * lyxlookup.h:
11313         * box.h: do not include <config.h> in header files
11314
11315         * text.C (paintLastRow): remove unused variable
11316
11317         * text.C (transformChar):
11318         (insertChar):
11319         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11320
11321         * Painter.C (text):
11322         * font.C (width): rewrite to use uppercase() instead of
11323         islower/toupper.
11324
11325         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11326
11327 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11328
11329         * lyxfind.C: clean up of find failure position change
11330
11331 2001-12-20  Juergen Vigna  <jug@sad.it>
11332
11333         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11334
11335         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11336         (TeXRow): added to LaTeX a single tabular row.
11337         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11338         (Latex): simplified and finally good LT-h/f support.
11339         (various_functions): just small adaptions for LT-h/f support.
11340
11341         * tabular_funcs.[hC]: added and moved here all not classfunctions
11342         of LyXTabular.
11343
11344 2001-12-19  Juergen Vigna  <jug@sad.it>
11345
11346         * tabular.[Ch]: better support for longtabular options (not finished
11347         yet!)
11348
11349 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11350
11351         * text.C (paintLastRow): use the label font instead of the font of
11352         the last character to compute the size of *_BOX. This makes more
11353         sense and avoids a crash with empty paragraphs.
11354         Use Painter::rectangle to draw EMPTY_BOX.
11355
11356 2001-12-19  Juergen Vigna  <jug@sad.it>
11357
11358         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11359         the paragraphs if the replaced paragraph is not the first one!
11360         Tried to delete not used paragraphs but does not work yet so for
11361         now it's inside #ifdef's and by default off!
11362
11363 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11364
11365         * MenuBackend.C: include "lyx_main.h" instead of declaring
11366         lastfiles (actually was declared as LastFiles* instead of a
11367         scoped_ptr).
11368
11369 2001-12-17  Juergen Vigna  <jug@sad.it>
11370
11371         * tabular.C (AppendColumn): applied John's fix
11372
11373 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11374
11375         * BufferView.h:
11376         * BufferView.C:
11377         * BufferView_pimpl.h:
11378         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11379
11380         * Makefile.am:
11381         * box.h: new start of class for above
11382
11383         * lyxfunc.C: ignore space-only minibuffer dispatches.
11384           Show the command name when it doesn't exist
11385
11386         * minibuffer.C: don't add empty lines to the history
11387
11388         * minibuffer.C: add a space on dropdown completion
11389
11390 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11391
11392         * text.C: fix line above/below drawing in insets
11393
11394 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11395
11396         * lyxlength.C (LyXLength): Initialize private variables.
11397
11398 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11399
11400         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11401         when inserting error insets.
11402
11403 2001-12-13  Juergen Vigna  <jug@sad.it>
11404
11405         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11406         actually sometimes the before-paragraph.
11407         (setUndo): don't clear the redostack if we're not actually undoing!
11408
11409 2001-12-06  Juergen Vigna  <jug@sad.it>
11410
11411         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11412         and fixed redoing of main paragraph, so we can use it now ;)
11413
11414         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11415
11416 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11417
11418         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11419         Juergen's request
11420
11421 2001-12-13  André Pönitz <poenitz@gmx.net>
11422
11423         * undostack.[Ch]:
11424         * undo_func.C: minor cleanup
11425
11426 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11427
11428         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11429         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11430         font in urw-fonts package which is marked as -urw-fontspecific and
11431         does not work (incidentally, changing the encoding in the
11432         fonts.dir of this package to -adobe-fontspecific fixes the
11433         problem).
11434
11435         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11436         is a crash when undoing first paragraph (Juergen, please take a
11437         look). THis does not mean the undo fix is wrong, just that it
11438         uncovers problems.
11439
11440         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11441         the (Paragraph*) version when needed instead of duplicating the
11442         code.
11443
11444         * text.C (workWidth): use Inset::parOwner to find out where the
11445         inset has been inserted. This is a huge performance gain for large
11446         documents with lots of insets. If Inset::parOwner is not set, fall
11447         back on the brute force method
11448
11449         * paragraph_pimpl.C (insertInset):
11450         * paragraph.C (Paragraph):
11451         (cutIntoMinibuffer): set parOwner of insets when
11452         inserting/removing them
11453
11454         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11455
11456 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11457
11458         * commandtags.h:
11459         * LyXAction.C:
11460         * lyx_main.C:
11461         * lyxfunc.C:
11462         * mathed/formulabase.C:
11463         * mathed/math_cursor.[Ch]:
11464         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11465
11466
11467 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11468
11469         * lyxlength.[Ch] (operator!=): new function
11470
11471 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11472
11473         * text.C (workWidth): use Inset::parOwner to find out where the
11474         inset has been inserted. This is a huge performance gain for large
11475         documents with lots of insets. If Inset::parOwner is not set, fall
11476         back on the brute force method
11477
11478         * paragraph_pimpl.C (insertInset):
11479         * paragraph.C (Paragraph):
11480         (cutIntoMinibuffer): set parOwner of insets when
11481         inserting/removing them
11482
11483         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11484
11485 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11486
11487         * tabular-old.C (getTokenValue):
11488         * tabular.C (getTokenValue):
11489         (write_attribute): new versions for LyXLength
11490         (everywhere): adjust the use of widths
11491
11492         * tabular.h: change the type of widths from string to LyXLength
11493
11494 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11495
11496         * paragraph.C: fixed missing line number count when exporting
11497         Environments to LaTeX file
11498
11499         * buffer.C: added informational message for checking line numbers.
11500
11501 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11502
11503         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11504         paragraph, do the 'double space' part, but not the 'empty
11505         paragraph' one.
11506
11507         * text.C (workWidth): small optimization
11508         (getLengthMarkerHeight): use minimal size for negative lengths.
11509
11510 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11511
11512         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11513
11514         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11515
11516 2001-12-11  André Pönitz <poenitz@gmx.net>
11517
11518         * FontLoader.C:
11519         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11520
11521 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11522
11523         * text2.C: keep selection on a setFont()
11524
11525 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11526
11527         * lyx_cb.C: another bv->text misuse, from insert label
11528
11529 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11530
11531         * kbsequence.h:
11532         * kbsequence.C: re-instate nmodifier mask
11533
11534 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11535
11536         * lyx_main.h: make lyxGUI private.
11537
11538 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * lyxfind.C: place the cursor correctly on failed search
11541
11542 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11543
11544         * text.C (getLengthMarkerHeight): for small heights, the arrows
11545         are not always on top/bottom of the text
11546         (drawLengthMarker): smaller arrows; take the left margin in
11547         account; draw also vfills.
11548         (paintFirstRow):
11549         (paintLastRow): remove special code for vfill and standard spaces,
11550         since everything is handled in drawLengthMarker now.
11551
11552 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11553
11554         * buffer.C (insertErtContents): try to handle font and language
11555         interaction a bit better.g
11556
11557         * ColorHandler.C (updateColor): change the hash to cover the whole
11558         LColor enum, ws cleanup
11559         (getGCLinepars): ditto
11560         (getGCLinepars): only lookup in the linecache once.
11561
11562 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11563
11564         * iterators.C (operator++): Make the iterator more robust
11565
11566         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11567         (John's patch)
11568         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11569
11570 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * lyxtext.h:
11573         * text.C: better added space drawing
11574
11575 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * LyXView.C:
11578         * BufferView2.C: fix layout combo update on inset unlock
11579
11580 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * Makefile.am: don't compile unused files
11583
11584 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * lyxfunc.C:
11587         * commandtags.h:
11588         * LyXAction.C: remove old LFUN_LAYOUTNO
11589
11590 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11591
11592         * paragraph_pimpl.h:
11593         * paragraph_pimpl.C: isTextAt() doesn't need font param
11594
11595 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11596
11597         * lyxlex.h:
11598         * lyxlex.C: little cleanup
11599
11600 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * BufferView_pimpl.C: fix insertAscii for insets
11603
11604 2001-12-05  Juergen Vigna  <jug@sad.it>
11605
11606         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11607         set the right font on the "multi" paragraph paste!
11608
11609 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11610
11611         * trans_decl.h:
11612         * trans_mgr.[Ch]:
11613         * trans.[Ch]:
11614         * lyxgluelength.C:
11615         * lyxlength.C: remove out-commented code.
11616
11617         * BufferView_pimpl:
11618         * CutAndPaste.C:
11619         * DepTable.C:
11620         * buffer.C:
11621         * chset.C:
11622         * lastfiles.C:
11623         * lyxlex.C:
11624         * lyxlex_pimpl.C:
11625         * lyxserver.C:
11626         * screen.C:
11627         * tabular-old.C:
11628         * tabular.C:
11629         * text.C:
11630         * trans_mgr.C:
11631         * vc-backend.C: change "while(" to "while ("
11632
11633         * lyxlength.[Ch]: add zero function to check if length is zero or
11634         not
11635         * lyxgluelength.C: use it
11636
11637 2001-12-05  Allan Rae  <rae@lyx.org>
11638
11639         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11640         Works for 2.95.3, from what I understand of Garst's reports this should
11641         work for other g++ versions.  We're screwed if the abs(int) definition
11642         changed between bugfix releases of gcc.
11643
11644 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * text.C: fix chapter label offset !
11647
11648 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * lyxtext.h:
11651         * text.C: fix hfill at end of line, clean up
11652
11653 2001-12-04  Juergen Vigna  <jug@sad.it>
11654
11655         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11656         that we force an update of the inset and it's owners if neccessary.
11657
11658 2001-12-03  Juergen Vigna  <jug@sad.it>
11659
11660         * text.C (rowLast): simplified code
11661
11662 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11663
11664         * lyxfunc.C: fix show options on timeout
11665
11666 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11667
11668         * screen.C (topCursorVisible): scroll half a page when the cursor
11669         reached top of bottom of screen
11670
11671 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11672
11673         * minibuffer.C: deactivate on loss of focus
11674
11675 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11676
11677         * vspace.[Ch] (operator!=): add operator.
11678
11679 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11680
11681         * BufferView_pimpl.C: refuse to open an inset when
11682         there's a selection.
11683
11684 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * BufferView_pimpl.C: allow to click on RHS of full row insets
11687
11688 2001-11-30  Juergen Vigna  <jug@sad.it>
11689
11690         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11691         insets for undo reasons.
11692
11693 2001-11-28  André Pönitz <poenitz@gmx.net>
11694
11695         * vspace.[Ch]: cosmetical changes
11696
11697 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * LyXAction.h:
11700         * LyXAction.C:
11701         * lyxfunc.h:
11702         * lyxfunc.C:
11703         * kbmap.h:
11704         * kbmap.C:
11705         * lyxrc.C:
11706         * kbsequence.h:
11707         * kbsequence.C: part re-write of old kb code
11708
11709         * Painter.C:
11710         * WorkArea.C: remove Lgb_bug_find_hack
11711
11712 2001-11-30  José Matos <jamatos@fep.up.pt>
11713
11714         * buffer.C (makeDocBookFile): add a comment to point a hack.
11715         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11716         Fixed a double write of labels.
11717
11718 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11719
11720         * LaTeX.C:
11721         * LaTeX.h Fixed bug in LaTeX class where it would not
11722         re-run latex if no depfiles were changed, but the .dvi was removed.
11723
11724 2001-11-28  André Pönitz <poenitz@gmx.net>
11725
11726         * all the files from the change on 2001/11/26:
11727         use lyx::layout_type instead of LyXTextClass::size_type
11728         use lyx::textclass_type instead of LyXTextClassList::size_type
11729
11730 2001-11-29  Juergen Vigna  <jug@sad.it>
11731
11732         * text.C: added support for paragraph::isFreeSpacing()
11733
11734         * buffer.C: same as above
11735
11736         * paragraph.h: inserted isFreeSpacing() function to enable
11737         FreeSpacing inside InsetERT.
11738
11739         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11740         of the paragraph's in the cut/copy buffer to 0!
11741
11742         * text2.C (removeRow): remove the assert as it can!
11743
11744         * lyxtext.h: added helper function firstRow returning firstrow and
11745         made firstrow private again.
11746
11747         * BufferView2.C (lockInset): don't relock if we're already locked!
11748
11749         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11750         the only paragraph.
11751         (removeRow): added Assert::(firstrow)
11752
11753         * debug.C: forgot to add INSETTEXT here.
11754
11755 2001-11-28  Juergen Vigna  <jug@sad.it>
11756
11757         * sp_spell.C (initialize): changed error text to more general
11758         spellchecker command use (not only ispell!)
11759
11760         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11761
11762         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11763
11764 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * vspace.C: initialise lyxgluelength on failure
11767
11768 2001-11-28  Allan Rae  <rae@lyx.org>
11769
11770         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11771         declaration & definition that looks like a function declaration.
11772
11773 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11774
11775         * BufferView2.C (copy):
11776         (copyEnvironment): do not clear the selection when doing a copy.
11777
11778         * text.C (paintFirstRow): compilation fix
11779
11780 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11781
11782         * tabular.C (Latex): correct line count when writing latex.
11783
11784 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11785
11786         * paragraph_pimpl.h:
11787         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11788           bug a bit
11789
11790 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11791
11792         * text.C:
11793         * LColor.h:
11794         * LColor.C: change vfillline->added_space
11795
11796         * text.C: add markers and text for added space
11797
11798         * vspace.C: fix comment
11799
11800 2001-11-28  André Pönitz <poenitz@gmx.net>
11801
11802         * paragraph.C: whitespace changes
11803         * all the other files from the change on 2001/11/26:
11804         change *::pos_type into lyx::pos_type
11805
11806 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11807
11808         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11809         language of the document when inserting error insets.
11810
11811 2001-11-26  André Pönitz <poenitz@gmx.net>
11812
11813         * BufferView_pimpl.[Ch]:
11814         *       CutAndPaste.C:
11815         * buffer.[Ch]:
11816         * lyxcursor.[Ch]:
11817         * lyxfind.C:
11818         * lyxfunc.C:
11819         * lyxrow.[Ch]:
11820         * paragraph.[Ch]:
11821         * paragraph_pimpl.[Ch]:
11822         * sp_spell.C:
11823         * text.C:
11824         * text2.C: reduce header dependencies, introduce type for positions
11825
11826 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * <various>: change to use Alert.h
11829
11830 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11831
11832         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11833         when encountering an unknown token.
11834         (readLyXformat2): Show an error message if there were unknown tokens.
11835
11836 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * BufferView2.C:
11839         * BufferView_pimpl.C:
11840         * buffer.C:
11841         * paragraph.h:
11842         * text.C:
11843         * text2.C: use par->isInset()
11844
11845 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * paragraph_pimpl.h:
11848         * paragraph_pimpl.C: cleanup
11849
11850 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11851
11852         * text2.C (removeRow):
11853         * text.C (setHeightOfRow): remove useless (and costly) call to
11854         getRow.
11855
11856 2001-11-20  Allan Rae  <rae@lyx.org>
11857
11858         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11859         Now need Inset*::checkInsertChar() to return true for appropriate
11860         cases so that the characters in the minibuffer will actually be
11861         inserted.
11862
11863 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11864
11865         * text.C: change the order of the includes.
11866         (workWidth): initialize it at once.
11867         (workWidth): make maxw unsigned
11868         (setHeightOfRow): remove unused variable (inset)
11869         (selectSelectedWord): remove unused variable (inset)
11870         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11871
11872 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11873
11874         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11875         server is not running.
11876         (openConnection):
11877         (closeConnection): add debug info when server is disabled.
11878
11879         * ColorHandler.C (getGCForeground): send debug message to GUI
11880         channel.
11881
11882         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11883
11884         * kbmap.C (bind): modify because return conventions of
11885         kb_sequence::parse have changed.
11886
11887         * kbsequence.C (parse): only ignore spaces and not any stupid
11888         control character. This avoids tests like s[i] <= ' ', which are
11889         guaranteed to fail with 8bit characters and signed chars.
11890         Change return code to string::npos when there have been no error
11891         (0 was a bad idea when error is at first character)
11892
11893 2001-11-14  José Matos  <jamatos@fep.up.pt>
11894
11895         * buffer.h:
11896         * buffer.C (simpleDocBookOnePar): removed unused argument.
11897
11898 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11899
11900         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11901         insets which are part of a word. Paragraph::isLetter takes care of
11902         that now. Use Paragraph::isInset to identify insets.
11903         (selectSelectedWord): do not test for hyphenation break.
11904
11905         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11906         that protected spaces are considered as spaces.
11907
11908         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11909         Inset::isLetter.
11910
11911 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11912
11913         * lyxserver.h:
11914         * lyxserver.C: fix it. and small cleanup.
11915
11916 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * BufferView_pimpl.C: use inline helpers
11919
11920         * LaTeXFeatures.h:
11921         * LaTeXFeatures.C: fix typos
11922
11923         * Spacing.h:
11924         * Spacing.C: move spacing_string into class
11925
11926         * ToolbarDefaults.C: move stuff into namespace anon
11927
11928         * layout.h: update enum
11929
11930         * lyxfunc.C: use better debug
11931
11932         * minibuffer.h: fix typo
11933
11934         * debug.h:
11935         * debug.C:
11936         * WorkArea.C: add and use Debug::WORKAREA
11937
11938         * lyxtext.h:
11939         * text.C:
11940         * text2.C: code re-organisation, inline helpers
11941
11942 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11943
11944         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11945         std::vector.empty().
11946
11947 2001-11-09  Allan Rae  <rae@lyx.org>
11948
11949         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11950         '\n's after tables.  Tabular and ERT inset work now makes this no
11951         longer necessary.
11952
11953 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * minibuffer.h:
11956         * minibuffer.C: fix crash, improve drop-down completion
11957
11958 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11959
11960         * lyxserver.h:
11961         * lyxserver.C: invalidate fd's when doing endPipe()
11962
11963 2001-11-08  José Matos  <jamatos@fep.up.pt>
11964
11965         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11966         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11967
11968         * paragraph.h:
11969         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11970
11971 2001-11-07  José Matos  <jamatos@fep.up.pt>
11972
11973         * buffer.h:
11974         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11975         const qualifier.
11976
11977         * buffer.C (sgmlOpenTag):
11978         * buffer.C (sgmlCloseTag): removed debug info.
11979
11980         * buffer.h (sgmlOpenTag):
11981         * buffer.h (sgmlCloseTag): made public.
11982
11983 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11984
11985         * buffer.C (saveParamsAsDefaults):
11986         * lyx_cb.C (MenuLayoutSave): remove
11987
11988         * LyXAction.C (init):
11989         * commandtags.h:
11990         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11991
11992 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11993
11994         * buffer.C (setPaperStuff): removed from here...
11995
11996         * bufferparams.C (setPaperStuff): ... and moved there.
11997
11998 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11999
12000         * minibuffer.h:
12001         * minibuffer.C:
12002         * XFormsView.C: add support for drop-down completion
12003
12004 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12005
12006         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12007         commands.
12008
12009 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12010
12011         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12012         disabled.
12013
12014 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12015
12016         * lyx_main.C: change ref to known bugs
12017
12018 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12019
12020         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12021         to work around older babel problems.
12022
12023 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12024
12025         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12026
12027 2001-10-24  Juergen Vigna  <jug@sad.it>
12028
12029         * tabular-old.C (ReadOld): below variable changes reflected.
12030
12031         * tabular.[Ch]: added ltType struct for longtable header/footer
12032         defines and changed all instances where they are used. Added
12033         future support for double top/bottom rows.
12034
12035 2001-10-24  José Matos  <jamatos@fep.up.pt>
12036
12037         * buffer.h (docbookHandleCaption):
12038         * buffer.C (docbookHandleCaption): removed unused function.
12039         (makeDocBookFile): moved docbook supported version to v4.1.
12040
12041 2001-10-24  José Matos  <jamatos@fep.up.pt>
12042
12043         * tabular.h:
12044         * tabular.C (docbookRow): new function to export docbook code of a row.
12045         (DocBook): now honors the longtable flags.
12046
12047 2001-10-23  José Matos  <jamatos@fep.up.pt>
12048
12049         * LaTeXFeatures.h:
12050         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12051         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12052
12053         * buffer.C (makeLinuxDocFile):
12054         (makeDocBookFile): reworked the preamble, more clean, and with
12055         support for lyx defined entities. Changed the document declaration
12056         to be more XML friendly.
12057
12058         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12059         if we need to output XML that should be done with a filter.
12060
12061 2001-10-22  Juergen Vigna  <jug@sad.it>
12062
12063         * sp_pspell.h (class PSpell): add alive function needed in the
12064         controller to see if the spellchecker could be started.
12065
12066 2001-10-22  Juergen Vigna  <jug@sad.it>
12067
12068         * buffer.C (insertStringAsLines): modify the font for inserting
12069         chars in certain conditions by calling checkInsertChar(font).
12070
12071 2001-10-19  Juergen Vigna  <jug@sad.it>
12072
12073         * text.C (workWidth): use getRow instead of wrong algorithm.
12074         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12075
12076 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12077
12078         * lyxserver.h:
12079         * lyxserver.C:
12080         * lyx_main.h:
12081         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12082
12083 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12084
12085         * text.C (workWidth): do not search for the exact row when
12086         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12087         optimization for big documents.
12088
12089 2001-10-18  Juergen Vigna  <jug@sad.it>
12090
12091         * text.C (workWidth): new function with added Inset * parameter.
12092
12093 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12096
12097         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12098         change return type of getColumnNearX.
12099
12100
12101         * text.C (changeRegionCase): use uppercase/lowercase instead of
12102         toupper/tolower.
12103         (leftMargin):
12104         (rightMargin): simplify code by factoring out the uses of
12105         textclasslist.
12106         (labelFill):
12107         (numberOfHfills):
12108         (setHeightOfRow):
12109         (appendParagraph): use Paragraph::size_type
12110
12111 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12112
12113         * vspace.C (asLatexString): add a missing break
12114
12115 2001-10-15  Herbert Voss  <voss@perce.de>
12116
12117         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12118
12119 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12120
12121         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12122         is not available.
12123
12124 2001-10-10  André Pönitz <poenitz@gmx.net>
12125
12126         * lyxfunc.C: removed greek_kb_flag.
12127
12128 2001-10-10  Herbert Voss  <voss@perce.de>
12129
12130         * lyx_main.C: delete global string help_lyxdir.
12131
12132 2001-10-09  Herbert Voss  <voss@perce.de>
12133
12134         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12135
12136         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12137
12138         * lyx_main.C: added global string help_lyxdir.
12139
12140         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12141
12142 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12143
12144         * lyxrc.C (set_font_norm_type): support iso8859-4
12145
12146 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12147
12148         * LaTeX.C (deplog): add another regex for MikTeX
12149
12150 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12151
12152         * lyxrc.C (set_font_norm_type): support iso8859-3
12153
12154 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12155
12156         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12157
12158         * LaTeXFeatures.C: remove special case of french and index
12159
12160         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12161         before \begin{document}). This solves several incompatibilities.
12162
12163 2001-10-03  Garst Reese  <reese@isn.net>
12164
12165         * lyx_cb.C: change CheckTex error msg.
12166
12167 2001-10-03  José Matos  <jamatos@fep.up.pt>
12168
12169         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12170
12171 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12172
12173         * .cvsignore: update
12174
12175         * lyx_main.C (commandLineVersionInfo): use new style version info.
12176
12177         * buffer.C (writeFile):
12178         (makeLaTeXFile):
12179         (makeLinuxDocFile):
12180         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12181
12182         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12183
12184         * version.h: update to use stuff in version.C
12185
12186         * version.C.in: new file. Contains version information determined
12187         at compile time. This is a merging of version.h and
12188         version_info.h.in.
12189
12190 2001-10-03  Juergen Vigna  <jug@sad.it>
12191
12192         * BufferView_pimpl.C (update): don't change "dirty" status in
12193         updateInset call.
12194
12195 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12196
12197         * WorkArea.C (c-tor): re-position version string slightly.
12198
12199 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12200
12201         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12202         revert to previous code.
12203
12204         WorkArea.[Ch]: (show, destroySplash): methods removed.
12205
12206         WorkArea.C: rework code so that it's an amalgam of the codes before and
12207         after the splash screen was moved to WorkArea.
12208
12209 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12210
12211         * lyxrc.C (read):
12212         * vspace.C (inPixels):
12213         (lyx_advance):
12214         * kbmap.C (bind):
12215         * buffer.C (insertStringAsLines):
12216         (asciiParagraph): fix types to be large enough
12217
12218         * lyxlex_pimpl.h: change member status from short to int
12219
12220         * layout.h: fix type of endlabeltype
12221
12222         * kbmap.C (bind):
12223         * kbsequence.C (parse): change return type to string::size_type
12224
12225         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12226         variable
12227
12228         * Bullet.C (bulletSize):
12229         (bulletEntry): do not use short ints as parameters
12230
12231         * BufferView2.C (insertLyXFile): change a char to an int.
12232
12233         * WorkArea.C (WorkArea): remove unneeded floats in computation
12234
12235 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12236
12237         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12238
12239         * paragraph.C (asString): Do not ignore newline/hfill chars when
12240         copying to the clipboard.
12241
12242 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12243
12244         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12245         after a multi-line inset.
12246
12247 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12248
12249         * paragraph.C (validate): Set NeedLyXFootnoteCode
12250
12251 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12252
12253         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12254         and decrease-error to decrease.
12255
12256 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12257
12258         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12259         it more readable (should be equivalent)
12260
12261 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12262
12263         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12264
12265 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12266
12267         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12268         of a cursor (row, etc.) after a character has been deleted
12269         (deleteEmptyParagraphMechanism): call the method above on _all_
12270         cursors held by the LyXText when a double space has been
12271         detected/deleted.
12272
12273 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12274
12275         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12276         pixmap.
12277         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12278
12279         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12280         background. Use greyOut() and the new show() methods to toggle between
12281         the foreground and background. Add code to remove the splash after
12282         its initial showing.
12283
12284         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12285         (create_forms): no longer call Dialogs::showSplash.
12286
12287 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12288
12289         * .cvsignore: add version_info.h
12290
12291 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12292
12293         * version_info.h.in: new file
12294
12295         * Makefile.am: add version_info.h.in
12296
12297         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12298         version_info.h instead of VERSION_INFO
12299
12300 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12301
12302         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12303         The ERT inset now returns string().
12304
12305 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12306
12307         * lyxtext.h, text.C (selectNextWord): renamed as
12308         selectNextWordToSpellcheck.
12309
12310         * text.C (selectNextWordToSpellcheck): Modified to not select
12311         words inside an ERT inset.
12312
12313 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12314
12315         * lyx_cb.C (MenuLayoutSave): change a bit the question
12316
12317         * sp_base.h: include <sys/types.h>
12318
12319 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12320
12321         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12322
12323 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12324
12325         * several files: fix typos in user-visible strings
12326
12327 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12328
12329         * text2.C (pasteSelection): do not set the selection, since it
12330         will be cleared later. Actually, the intent was to fix the way the
12331         selection was set, but I figured rmoving the code was just as good.
12332
12333 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12334
12335         * FontLoader.C (available): Check if font is available without
12336         loading the font.
12337
12338 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12339
12340         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12341
12342 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12343
12344         * lyxrc.[Ch]: added display_graphics variable and associated code.
12345
12346 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12347
12348         * bufferparams.C (hasClassDefaults): new method. Returns true if
12349         the buffer parameters correspond to known class defaults
12350
12351 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12352
12353         * XFormsView.C (show): set minimum size to the main window.
12354
12355 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12356
12357         * text2.C (copySelection):
12358         (cutSelection):
12359         * lyxfind.C (LyXReplace):
12360         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12361         LyXText::selectionAsString.
12362
12363         * paragraph.C (asString): add "label" argument to the second form
12364
12365         * text2.C (selectionAsString): add "label" argument and pass it to
12366         Paragraph::asString.
12367
12368 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12369
12370         * lyx_main.C (commandLineHelp): remove version information
12371
12372 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12373
12374         * lyx_main.C: add -version commandline option
12375
12376 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12377
12378         * paragraph.h: make the optional constructor arg required instead.
12379         some modifications to other files because of this.
12380
12381         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12382
12383         * lyxserver.C (C_LyXComm_callback): make it static
12384
12385         * lyx_main.C (error_handler): make it static
12386
12387         * lyx_gui.C (LyX_XErrHandler): make it static
12388
12389         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12390
12391         * WorkArea.C: make the extern "C" methods static.
12392
12393         * Makefile.am (lyx_LDADD): simplify
12394
12395 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12396
12397         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12398         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12399
12400         * LyXAction.C (init):
12401         * lyxfunc.C (dispatch): associated code removal.
12402
12403 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12404
12405         * lyxfont.h (isSymbolFont): shut off warning
12406
12407         * text.C (setHeightOfRow):
12408         (getVisibleRow): fix crash with empty paragraphs which have a
12409         bottom line
12410
12411 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12412
12413         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12414         code.
12415
12416 2001-09-04  José Matos  <jamatos@fep.up.pt>
12417         * buffer.C
12418         * buffer.h
12419         * tabular.C (docbook): rename docBook method to docbook.
12420
12421 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12422
12423         * Makefile.am: add dependencies to main.o.
12424
12425 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12426
12427         * FontLoader.C (available): Return false if !lyxrc.use_gui
12428
12429 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12430
12431         * FontInfo.C (query):
12432         * converter.C (view):
12433         * importer.C (Import):
12434         * exporter.C (Export): Can not -> cannot.
12435
12436 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12437
12438         * BufferView_pimpl.C: allow to create index inset even if
12439           string is empty
12440
12441 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12442
12443         * buffer.C (getLists): replace boost::tie code with an explicit pair
12444         as boost::tie can break some compilers.
12445
12446         * iterators.h: Added a std:: declaration to the return type of
12447         ParIterator::size.
12448
12449 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12450
12451         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12452           case.
12453
12454 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12455
12456         * iterators.[Ch]: New files. Provide paragraph iterators.
12457
12458         * buffer.C (changeLanguage): Use paragraph iterators.
12459         (isMultiLingual): ditto
12460
12461         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12462
12463 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12464
12465         * FontLoader.C: Support for cmr font.
12466
12467 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12468
12469         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12470         (available): New method.
12471
12472         * FontInfo.C (getFontname): Use scalable fonts even when
12473         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12474         found.
12475
12476 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12477
12478         * converter.C (Formats::view): reverted! Incorrect fix.
12479
12480 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12481
12482         * converter.C (Formats::view): only output the -paper option
12483         if the dvi viewer is xdvi, thereby fixing bug #233429.
12484
12485 2001-08-23  Herbert Voss  <voss@perce>
12486
12487         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12488
12489 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12490
12491         * Spacing.h (Spacing): Set space to Default on in the default
12492         constructor.
12493
12494 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12495
12496         * vc-backend.h (RCS::versionString): add RCS to version
12497         (CVS::versionString): add CVS to version
12498
12499         * vc-backend.C (scanMaster): do not add CVS to version.
12500         (scanMaster): do not add RCS to version
12501
12502         * lyxvc.C (versionString): new method
12503
12504         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12505
12506 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * Spacing.C (set): initialize fval
12509
12510 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12511
12512         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12513         " or \.
12514
12515 2001-08-16  Juergen Vigna  <jug@sad.it>
12516
12517         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12518
12519 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12520
12521         * BufferView_pimpl.C:
12522         * figureForm.C:
12523         * lyxtext.h:
12524         * text2.C: setParagraph takes linespacing now
12525
12526 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12527
12528         * LyxAction.C: add internal LFUN_CITATION_INSERT
12529
12530         * LyXView.C: actually apply fix
12531
12532         * bufferlist.C: fix open non-existent file
12533
12534         * lyxfind.C: fix indentation
12535
12536         * lyxfunc.C: remove unneeded assert, fix typo
12537
12538 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12539
12540         * MenuBackend.C: use "Floatname List"
12541
12542 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12543
12544         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12545         when converting LaTeX layout to insetERT.
12546         Generate a non-collapsed float when reading old float
12547
12548 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12549
12550         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12551         ERT insets.
12552
12553 2001-08-13  Juergen Vigna  <jug@sad.it>
12554
12555         * text.C (fill): return 0 instead of 20 as this seems to be the more
12556         correct value.
12557
12558 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12559
12560         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12561         lyxrc.font_norm.
12562
12563 2001-08-13  Juergen Vigna  <jug@sad.it>
12564
12565         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12566         casesensitive off.
12567         (SearchBackward): comment out the unlocking of the inset_owner this
12568         should not be needed!
12569
12570 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12571
12572         * Many files: Remove inherit_language, and add latex_language
12573
12574         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12575         collapsible insets.
12576
12577 2001-08-10  Juergen Vigna  <jug@sad.it>
12578
12579         * text.C (prepareToPrint): fixed hfill-width in draw!
12580
12581         * BufferView2.C (selectLastWord): save the selection cursor as this
12582         now is cleared in the function LyXText::clearSelection!
12583
12584 2001-08-08  Juergen Vigna  <jug@sad.it>
12585
12586         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12587         BACKSPACE type functions.
12588
12589         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12590         is only cutted from the document but not put in the cut-buffer, where
12591         still the old stuff should be.
12592
12593         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12594
12595         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12596
12597         * tabular.C (SetWidthOfCell): fixed special case where the width
12598         was not updated!
12599         (LeftLine): handle '|' in align_special.
12600         (RightLine): ditto
12601         (LeftAlreadyDrawed): ditto
12602         (SetWidthOfCell): ditto
12603
12604 2001-08-07  Juergen Vigna  <jug@sad.it>
12605
12606         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12607
12608 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12609
12610         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12611         * lyxlex.[hC]: ditto
12612
12613 2001-08-06  Juergen Vigna  <jug@sad.it>
12614
12615         * text.C (getVisibleRow): fix up row clearing a bit.
12616
12617 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12618
12619         * minibuffer.C: make sure the X server sees the changes in the input.
12620
12621 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12622
12623         * paragraph.C (getFont): split into...
12624         (getLabelFont): this
12625         (getLayoutFont): and this
12626         * paragraph_pimpl.C (realizeFont): calling this
12627
12628         * text2.C (getFont): split into...
12629         (getLayoutFont): this
12630         (getLabelFont): and this
12631         (realizeFont): all three calling this
12632
12633         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12634         files where used.
12635
12636 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12637
12638         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12639
12640 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12641
12642         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12643         layouts from the Quote inset insertion.
12644
12645 2001-08-03  Juergen Vigna  <jug@sad.it>
12646
12647         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12648
12649         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12650         only if status not is already CHANGED_IN_DRAW (second level).
12651
12652         * text.C (draw): don't set the need_break_row when inside an
12653         InsetText LyXText.
12654
12655 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12656
12657         * buffer.C (parseSingleLyXformat2Token): handle more latex
12658         conversion cases.
12659
12660         * bufferview_funcs.[hC]: change function names to
12661         begin with small char, adjust other files.
12662
12663 2001-08-02  André Pönitz <poenitz@gmx.net>
12664
12665         * lyxfunc.C:
12666         BufferView_pimpl.C: remove broken special code for math-greek
12667
12668 2001-08-02  Juergen Vigna  <jug@sad.it>
12669
12670         * BufferView_pimpl.C (update): redone this function so that we
12671         update the text again if there was a CHANGE_IN_DRAW.
12672
12673         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12674         (drawFromTo): added a new internal bool which is used by draw() and
12675         redraw() function.
12676         (general): some cursor drawing problems fixed.
12677
12678 2001-08-01  Juergen Vigna  <jug@sad.it>
12679
12680         * lyxfind.C (LyXFind): fixed
12681         (SearchForward): ditto
12682         (SearchBackward): ditto
12683
12684         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12685         spurius drawing of the cursor in the main area.
12686
12687         * text2.C (status): small fix which could lead to a segfault!
12688         (clearSelection): remove unneeded BufferView param.
12689
12690 2001-08-01  André Pönitz <poenitz@gmx.net>
12691
12692         * lyxfunc.C: small change due to changed mathed interface
12693
12694 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12695
12696         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12697
12698 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12699
12700         * lyxfunc.c: fail gracefully if file doesn't exist
12701
12702         * LyXSendto.C:
12703         * buffer.C:
12704         * lyxfunc.C:
12705         * BufferView_pimpl.C: IsDirWriteable() proto changed
12706
12707         * LyXView.C: fix updateWindowTitle() to store the last title
12708
12709 2001-07-31  Juergen Vigna  <jug@sad.it>
12710
12711         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12712         the font (wrong since using of Paragraph::highestFontInRange).
12713
12714         * paragraph.C (highestFontInRange): added a default_size parameter.
12715
12716         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12717         (setHeightOfRow): reformat
12718
12719 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12720
12721         * converter.[hC] + affected files: move to (inital-char)lowercase
12722         function names.
12723
12724         * ParagraphParameters.C (ParagraphParameters): remove commented code
12725
12726         * PainterBase.[Ch]: remove commented code
12727
12728         * LaTeXFeatures.h: add "bool floats" for float.sty
12729
12730         * LaTeXFeatures.C (LaTeXFeatures): init floats
12731         (require): handle float
12732         (getPackages): do it with floats
12733
12734 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12735
12736         * BufferView_pimpl.C (Dispatch): improve handling of
12737         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12738
12739         * commandtags.h: #include lyxfont.h here temporarily to avoid
12740         keybinding bug.
12741
12742         * bufferlist.h: include LString.h here.
12743
12744 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12745
12746         * text2.C (getStringToIndex): new method.
12747
12748 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12749
12750         * *: Reduced header file dependencies all over.
12751
12752 2001-07-30  Baruch Even  <baruch@lyx.org>
12753
12754         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12755
12756 2001-07-29  Baruch Even  <baruch@lyx.org>
12757
12758         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12759
12760 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12761
12762         * ParameterStruct.h (endif): add a default constructor to make
12763         sure that all variables is initialized.
12764
12765         * ParagraphParameters.C (ParagraphParameters): adjust
12766
12767 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12768
12769         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12770         index; also, check that there is something to index, and that it
12771         does not span over several paragraphs.
12772         (doubleClick): use WHOLE_WORD_STRICT for double click.
12773
12774         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12775
12776         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12777         scheme.
12778
12779 2001-07-26  Baruch Even  <baruch@lyx.org>
12780
12781         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12782         an InsetFig figure, backwards compatible reading of old figure code.
12783
12784 2001-07-27  Juergen Vigna  <jug@sad.it>
12785
12786         * text2.C: font.realize function adaption.
12787
12788         * text.C (draw): add a warnings lyxerr text if needed.
12789
12790         * layout.C: font.realize function adaption.
12791
12792         * language.C: add inherit_language and implement it's handlings
12793
12794         * bufferview_funcs.C (StyleReset): remove language parameter from
12795         font creation (should be language_inherit now).
12796
12797         * bufferparams.C (writeFile): handle ignore_language.
12798
12799         * paragraph.C (getFontSettings): the language has to be resolved
12800         otherwise we have problems in LyXFont!
12801
12802         * lyxfont.C (lyxWriteChanges): added document_language parameter
12803         (update): removed unneeded language parameter
12804
12805         * paragraph.C (validate): fixed wrong output of color-package when
12806         using interface colors for certain fonts in certain environments,
12807         which should not seen as that on the final output.
12808
12809 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12810
12811         * BufferView_pimpl.C:
12812         * Thesaurus.h:
12813         * Thesaurus.C:
12814         * Makefile.am:
12815         * commandtags.h:
12816         * LyXAction.C: add thesaurus support
12817
12818         * lyxfind.h:
12819         * lyxfind.C: add "once" parameter, for thesaurus, to not
12820           move to the next match
12821
12822 2001-07-26  Juergen Vigna  <jug@sad.it>
12823
12824         * lyxfont.C (realize): honor ignore_language too!
12825         (resolved): ditto.
12826
12827         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12828
12829         * text.C (draw): one place more for ignore_language to not draw
12830         itself!
12831
12832 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12833
12834         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12835
12836 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12837
12838         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12839         the minipage conversion problem.
12840
12841 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12844         insert an inset.
12845
12846 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12847
12848         * BufferView.h: don't forward declare WorkArea
12849
12850         * BufferView.C: don't include WorkArea.h
12851
12852 2001-07-25  André Pönitz <poenitz@gmx.net>
12853
12854         * commandtags.h:
12855         * LyXAction.C:
12856         * lyxfunc.C:  new LFUN 'math-space'
12857
12858         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12859
12860 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12861
12862         * text2.C (toggleInset): call open/close
12863
12864 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12865
12866         * lyxfunc.C (dispatch): add debug for the disabled case
12867
12868         * font.C (buttonText): make similar to rectText
12869
12870         * buffer.C (readInset): comment out parsing of insetlist and
12871         insttheorem
12872
12873         * PainterBase.C (rectText): small correction
12874
12875         * BufferView_pimpl.C: comment out insettheorem and insetlist
12876         * LyXAction.C: ditto
12877         * commandtags.h: ditto
12878
12879 2001-07-24  Juergen Vigna  <jug@sad.it>
12880
12881         * text.C (draw): honor the ignore_language.
12882
12883         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12884
12885 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12886
12887         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12888         char inset.
12889
12890 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12891
12892         * lyxtext.h: remove unused (and unimplemented) methods
12893
12894 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12895
12896         * text.C (getVisibleRow): honor background color
12897
12898         * PainterBase.h:
12899         * Painter.h: remove default color argument for fillRectangle
12900
12901         * text.C (backgroundColor): new method
12902
12903 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12904
12905         * text.C (getVisibleRow): adjust
12906
12907         * font.[Ch] (rectText): new method, metrics
12908         (buttonText): new method, metrics
12909
12910         * PainterBase.[hC]: make rectText and buttonText always draw and take
12911         fewer paramteres.
12912
12913 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12914
12915         * ToolbarDefaults.C (read):
12916         * MenuBackend.C (read): allow escaping in all strings
12917
12918         * BufferView_pimpl.C (insertAndEditInset): new method.
12919         (Dispatch): use insertAndEditInset whenever appropriate.
12920
12921         * BufferView_pimpl.C (insertNote): removed
12922
12923         * BufferView_pimpl.C (smartQuote): new method, moved from
12924         BufferView; if an insetquote cannot be inserted, insert a '"'
12925         character instead.
12926
12927         * BufferView2.C: remove insertCorrectQuote();
12928
12929         * lyxfunc.C (getStatus): Add support for all remaingin
12930         inset-insert lfuns.
12931
12932         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12933
12934         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12935         command (necessary to pass " as parameter of self-insert.
12936
12937         * text.C (selectWordWhenUnderCursor):
12938         (selectWord): add word_location parameter
12939         (selectWordWhenUnderCursor): same + remove special code for word
12940         boundary.
12941         (selectNextWord): use kind() to guess type of insetspecialchar,
12942         not latex().
12943
12944         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12945         (insertErtContents): create ert insets as collapsed.
12946         (readInset): better compatibility code for Info inset.
12947
12948 2001-07-20  Juergen Vigna  <jug@sad.it>
12949
12950         * lyxfunc.C (dispatch): use always LyXFind now!
12951
12952         * text2.C (init): add a reinit flag so that the LyXText can be
12953         reinited instead of deleted and reallocated (used in InsetText).
12954
12955         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12956
12957         * text.C: ditto
12958
12959         * text2.C: ditto
12960
12961 2001-07-18  Juergen Vigna  <jug@sad.it>
12962
12963         * text.C (selectNextWord): handle insets inside inset by calling
12964         always the bv->text functions so that we can go up the_locking_inset!
12965
12966         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12967         in strange locations when inside an inset!
12968
12969         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12970         handling to include insets.
12971
12972         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12973
12974 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12975
12976         * LyXAction.C (init):
12977         * commandtags.h:
12978         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12979         LIGATURE_BREAK, since the name is so stupid.
12980
12981 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12982
12983         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12984         InsetInfos.
12985
12986         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12987
12988         * sp_form.[Ch]: remove.
12989
12990         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12991
12992         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12993         InsetInfo.
12994
12995         * src/buffer.C (readInset): ditto.
12996
12997 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12998
12999         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13000         menuSeparator(), endOfSentenceDot(), ldots() and
13001         hyphenationPoint(), which are therefore removed.
13002         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13003
13004         * LyXAction.C (init):
13005         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13006
13007         * paragraph.C (getWord): removed.
13008
13009         * BufferView_pimpl.C (Dispatch): use last word or selection for
13010         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13011
13012         * lyx_main.C (queryUserLyXDir): do not ask before creating
13013         user_dir, except if it has been named explicitely.
13014
13015 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13016
13017         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13018         a document of zero size.
13019
13020 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13021
13022         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13023         approriately in the c-tor and in require().
13024         (getPackages): output the appropriate LaTeX for natbib support.
13025
13026         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13027         variables "use_natbib" and "use_numerical_citations" when reading the
13028         LyX file.
13029         (readInset): read the various natbib cite commands.
13030         (validate): white-space change.
13031
13032         * bufferparams.[Ch]: new variables "bool use_natbib" and
13033         "bool use_numerical_citations".
13034         (writeFile): output them in the LyX file.
13035
13036 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13037
13038         * lyxfunc.C (getStatus): add support for all the inset insertion
13039         commands.
13040
13041         * text2.C (insertInset):
13042         * paragraph.C (insetAllowed):
13043         * BufferView_pimpl.C (insertInset): update to take in account the
13044         renaming of insertInsetAllowed
13045
13046         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13047
13048         * text2.C (getInset): new method. returns inset at cursor position.
13049
13050         * BufferView_pimpl.C (Dispatch): changes because of this.
13051
13052         * LyXAction.C (init): rename open-stuff to inset-toggle.
13053
13054         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13055
13056         * text2.C (toggleInset): renamed from openStuff; use
13057         Inset::open().
13058
13059 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13060
13061         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13062
13063         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13064
13065 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13066
13067         * buffer.C (readLyXformat2): Add filename to the error dialog
13068
13069 2001-07-18  Juergen Vigna  <jug@sad.it>
13070
13071         * tabular.C (GetCellNumber): put an assert here instead of the check!
13072
13073 2001-07-17  Juergen Vigna  <jug@sad.it>
13074
13075         * BufferView_pimpl.C (toggleSelection): adapted too.
13076
13077         * text.C (selectNextWord): adapted for use with insets.
13078         (selectSelectedWord): ditto
13079
13080 2001-07-17  Juergen Vigna  <jug@sad.it>
13081
13082         * sp_spell.C (PSpell): fix initialitation order.
13083
13084 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13085
13086         * paragraph.C: spacing
13087
13088 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13089
13090         * sp_spell.C: repair language selection for pspell
13091
13092 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13093
13094         * lyxfunc.h: change more methods to begin with lower char.
13095
13096 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13097
13098         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13099         for unknown layouts.
13100
13101 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13102
13103         * buffer.C (readLyXformat2): Generate an error dialog if there are
13104         unknown layouts.
13105
13106 2001-07-16  Juergen Vigna  <jug@sad.it>
13107
13108         * sp_spell.C: always compile ISpell part.
13109
13110         * lyxrc.C: added use_pspell entry and it's handling.
13111
13112 2001-07-13  Juergen Vigna  <jug@sad.it>
13113
13114         * sp_spell.C: removed double includes.
13115
13116 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13117
13118         Consistent use of Lsstream.h:
13119         * Lsstream.h: added using std::stringstream for consistencies sake.
13120
13121         * buffer.C: removed using std::stringstream
13122
13123         * lyxfont.C (stateText):
13124         * paragraph.C (asString):
13125         * text.C (selectNextWord, selectSelectedWord):
13126         * text2.C (setCounter):
13127         * vspace.C (asString, asLatexString):
13128         std::ostringstream -> ostringstream.
13129
13130 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13131
13132         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13133         * commandtags.h: add LFUN_HELP_ABOUTLYX
13134         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13135
13136 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13137
13138         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13139         cursorToggle()
13140         * lyx_gui_misc.C: remove spellchecker
13141         * lyxfunc.C: showSpellchecker
13142         * sp_base.h: added
13143         * sp_ispell.h: added
13144         * sp_pspell.h: added
13145         * sp_spell.C: added
13146         * sp_form.[Ch]: removed
13147         * spellchecker.[Ch]: removed
13148
13149 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13150
13151         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13152         is set.
13153         (simpleTeXSpecialChars): Simply print the input character without
13154         any special translation if pass_thru is set.
13155
13156         * layout.h: Added bool pass_thru to layout class for being able to
13157         implement pass through of a paragraph for Literate Programming.
13158
13159         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13160         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13161         * layout.C (Read): add "passthru" to list of layout tags and add
13162         code to set the pass_thru boolean when it is read.
13163
13164 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * trans_decl.h: remove allowed from KmodInfo
13167
13168         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13169         remove allowed code
13170         (Load): adjust
13171
13172         * paragraph_pimpl.C (erase): use boost::prior
13173
13174         * Painter.C (text): use data() instead of c_str() when length is
13175         also provided.
13176         * WorkArea.C (putClipboard): ditto
13177         * font.h (width): ditto
13178
13179         * BufferView2.C: use it-> instead of (*it). for iterators
13180         * texrow.C: ditto
13181         * paragraph_pimpl.C: ditto
13182         * paragraph.C: ditto
13183         * minibuffer.C: ditto
13184         * language.C: ditto
13185         * kbmap.C: ditto
13186         * encoding.C: ditto
13187         * counters.C: ditto
13188         * converter.C: ditto
13189         * chset.C: ditto
13190         * Variables.C: ditto
13191         * TextCache.C: ditto
13192         * MenuBackend.C: ditto
13193         * LyXAction.C: ditto
13194         * LColor.C: ditto
13195         * FloatList.C: ditto
13196         * DepTable.C: ditto
13197         * ColorHandler.C (LyXColorHandler): ditto
13198
13199 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13200
13201         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13202
13203         * text2.C (openStuff): reintroduce this method (which had been
13204         nuked in NEW_INSETS frenzy).
13205
13206         * lyxfunc.C (Dispatch): when an action has not been handled, use
13207         its name in the error message, not its number.
13208
13209         * paragraph.C (inInset): change method name to begin with lowercase.
13210
13211         * undo_funcs.C:
13212         * text2.C: updates because of this.
13213
13214 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13215
13216         * ToolbarDefaults.C (add): add spaces in error message
13217
13218 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13219
13220         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13221         (readLyXformat2): rename return_par to first_par, use lyxlex's
13222         pushToken and remove the manual push handling.
13223         (parseSingleLyXformat2Token): add another ert comp. variable:
13224         in_tabular, rename return_par to first_par. handle newlines better
13225
13226 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13227
13228         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13229
13230 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13231
13232         * text2.C (getParFromID): removed
13233
13234         * buffer.C (getParFromID): new method moved form lyxtext.
13235         * BufferView2.C (insertErrors): adjust
13236         (setCursorFromRow): adjust
13237         * BufferView_pimpl.C (restorePosition): adjust
13238         * lyxfunc.C (Dispatch): adjust
13239         * undo_funcs.C (textUndo): adjust
13240         (textRedo): adjust
13241         (textHandleUndo): adjust
13242         (textHandleUndo): adjust
13243
13244 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * buffer.C: up' the LYX_FORMAT
13247
13248         * lyxfont.h: turn NO_LATEX on as default
13249
13250         * buffer.C (insertErtContents): new methods of tex style compability.
13251         (parseSingleLyXformat2Token): use it several places.
13252         * tabular.C (OldFormatRead): and here
13253
13254 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13255
13256         * text2.C: remove some commented code.
13257         reindent file.
13258
13259         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13260         * trans.C: changes because of the above.
13261
13262 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13263
13264         * text2.C (setCounter): Fix counters bug with bibliography layout.
13265
13266 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13267
13268         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13269         own member functions
13270         (simpleTeXSpecialChars): ditto
13271
13272 2001-07-06  Juergen Vigna  <jug@sad.it>
13273
13274         * a lot of files: changed the access to LyXText::status and the
13275         call of undo-functions.
13276
13277         * undo.[Ch]: added a inset_id to the undo informations.
13278
13279         * undo_funcs.[Ch]: added and moved here all undo functions.
13280
13281         * lyxtext.h: give the status enum a weight, made status_ a private
13282         variable and made accessor functions for it, removed the whole bunch
13283         of undo-functions as they are now in their own file, make some
13284         functions publically available. Added function ownerParagraph with
13285         int parameter.
13286
13287         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13288         made InInset() a const function, added getParFromID() function.
13289
13290         * buffer.[Ch]: added const version for inset_iterator functions,
13291         added getInsetFromID() function.
13292
13293         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13294         changed undo functions for new version.
13295
13296 2001-07-05  Juergen Vigna  <jug@sad.it>
13297
13298         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13299         unknow mechanism does not call the proper constructor but only this
13300         one also if I request the other!?
13301
13302 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13303
13304         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13305
13306         * text2.C (LyXText): use initialization lists.
13307
13308         * lyxtext.h (Selection): initialize set_ and mark_
13309         (init): remove method
13310
13311 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13312
13313         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13314
13315 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13316
13317         * screen.[Ch]: change method names to begin with lowercase
13318
13319         * BufferView_pimpl.C (updateScrollbar): simplify further and
13320         hopefully make it a bit faster.
13321
13322 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13323
13324         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13325         calling directly xforms functions.
13326
13327         * Painter.C (Painter):
13328         * lyx_cb.C (MenuWrite):
13329         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13330         fl_display.
13331
13332         * lyx_gui.C: remove bogus guiruntime extern declaration.
13333
13334 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13335
13336         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13337         in NEW_INSETS
13338         (redoDrawingOfParagraph): ditto
13339         (redoParagraphs): ditto
13340         (cutSelection): don't create a object for CutAndPaste use the
13341         static method directly
13342         (pasteSelection): ditto
13343
13344         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13345         LyXview (+ rename)
13346
13347 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * modifications to some other files because of this.
13350
13351         * Makefile.am (lyx_SOURCES): add XFormsView
13352
13353         * XFormsView.[Ch]: new files
13354
13355         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13356         the main window. Move the gui dependent stuff to XFormsView
13357
13358 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13359
13360         * tabular.C (GetCellInset): update cur_cell also in the row/col
13361         version of this function.
13362
13363         * lyxfunc.C: no need to include figure_form.h here.
13364
13365         * FontLoader.h:
13366         * lyxfunc.h:
13367         * lyxscreen.h:
13368         * text2.C:
13369         * lyxvc.C: no need to include forms.h here.
13370
13371 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13372
13373         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13374
13375         * lyxfunc.C (Dispatch):
13376         * Spacing.C (set):
13377         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13378         constructor argument.
13379
13380 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13381
13382         * paragraph.C (Paragraph): dont't clear, and just set layout.
13383         (makeSameLayout): use params's copy contructor.
13384
13385         * ParagraphParameters.[Ch] (makeSame): delete method
13386
13387 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13388
13389         * Variables.[Ch]: fix indentation, rename set to isSet
13390
13391 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13392
13393         * lyxfunc.C (Dispatch): fix typo
13394
13395 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13396
13397         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13398         upper_bound.
13399
13400         * bufferlist.C: include assert.h for emergencyWrite().
13401
13402 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13403
13404         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13405           give up at last (bug #425202) !
13406
13407 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13408
13409         * lyx_gui_misc.C:
13410         * sp_form.h:
13411         * sp_form.C:
13412         * spellchecker.h:
13413         * spellchecker.C: strip spellchecker options and bring up
13414           preferences tab instead
13415
13416 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13417
13418         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13419         the istringstream constructor
13420
13421 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13422
13423         * paragraph.C (getLayout): fix return value
13424
13425         * paragraph.h: do not declare getLayout as inline.
13426
13427         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13428
13429 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13430
13431         * lyxcursor.h (operator<): new func
13432         (operator>): new func
13433         (operator>=): new func
13434         (operator<=): new func
13435
13436         * text.C (changeCase): use selection.start and selection.end
13437         (changeRegionCase): require from to be <= to. Require par to be a
13438         valid paragraph.
13439
13440         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13441
13442 2001-06-27  Juergen Vigna  <jug@sad.it>
13443
13444         * text.C (cursorLeftOneWord): changed to return the cursor and added
13445         overlay with BufferView * parameter which calls this one.
13446         (getWord): added
13447         (selectWord): use new getWord function.
13448         (changeCase): renamed from changeWordCase as and extended to work
13449         also on selections.
13450
13451         * lyxtext.h: added enum word_location
13452
13453         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13454         changeCase as this operates now also on selections.
13455
13456 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13457
13458         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13459
13460         * many files: send debug output to Debug::INFO instead of
13461         Debug::ANY.
13462
13463         * converter.C (View):
13464         (Convert):
13465         (Move): send debug output to Debug::FILES instead of console.
13466
13467 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13468
13469         * lyxfunc.C (getStatus): use func_status
13470
13471         * func_status.h: new header, describing the results of
13472         LyXFunc::getStatus;
13473
13474         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13475         LFUN_MATH_HALIGN.
13476
13477 2001-06-25  The LyX Project  <jug@sad.it>
13478
13479         * buffer.C (sgmlOpenTag):
13480         (sgmlCloseTag):
13481         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13482
13483 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13484
13485         * text2.C: remove some dead code
13486
13487         * tabular.C (GetCellInset): store the last cell checked (gotten)
13488
13489         * tabular.h: add the helper for the speedup
13490
13491         * lyxtext.h: remove some dead code
13492
13493 2001-06-26  The LyX Project  <Asger>
13494
13495         * paragraph.C: Change export to LaTeX of alignment to
13496         \begin{center} and family for better roundtrip work with reLyX.
13497
13498         * Tune the math drawing a bit.
13499
13500 2001-06-25  The LyX Project  <Asger>
13501
13502         * LColor.C (LColor): New color for math background. New color
13503         for buttons.
13504
13505 2001-06-25  The LyX Project  <jug@sad.it>
13506
13507         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13508
13509         * lyxfunc.C (Open):
13510         * bufferlist.C (newFile): do not restrict to files ending with
13511         .lyx
13512
13513         * BufferView_pimpl.C (MenuInsertLyXFile):
13514
13515 2001-06-24  The LyX Project  <jug@sad.it>
13516
13517         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13518         of compare_no_case
13519
13520 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * lyxtext.h: rename most methods to begin with a small char.
13523         Lots of changes because of this.
13524
13525         * paragraph.C (Paragraph): do not call fitToSize
13526         (erase): call Pimpl::erase
13527         (insertChar): call Pimpl::insertChar
13528         (insertInset): call Pipl::insertInset
13529         (breakParagraph): do not call fitToSize
13530         (breakParagraphConservative): do not call fitToSize
13531         (fitToSize): remove method
13532
13533         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13534
13535 2001-06-24  The LyX Project  <Asger>
13536
13537         * Fix Qt compilation^2
13538
13539 2001-06-24  The LyX Project  <jug@sad.it>
13540
13541         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13542         depthHook(getDepth()-1).
13543
13544         * paragraph.h:
13545         * ParagraphParameters.h:
13546         * ParameterStruct.h: change type of depth to unsigned int ==
13547         depth_type. Many adaptations to other files before of that.
13548
13549 2001-06-24  The LyX Project  <Asger>
13550
13551         * Fix Qt compilation.
13552
13553 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13554
13555         * paragraph.h: renamed several methods to begin with small letter.
13556         several changes to many parts of the code because of this.
13557
13558 2001-06-23  The LyX Project  <jug@sad.it>
13559
13560         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13561         rewritten to discard all double spaces when KeepEmpty is off
13562         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13563         to only handle newlines but not fiddle with spaces and friends.
13564
13565         * lyxfunc.C (MenuNew): when doing 'new from template', use
13566         template_path as default directory
13567
13568 2001-06-23  The LyX Project  <Asger>
13569
13570         * Clean-up of header file includes all over
13571         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13572
13573 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13574
13575         * paragraph.h: renamed from lyxparagraph.h
13576
13577 2001-06-23  Asger  <lyx@violet.home.sad.it>
13578
13579         * Buffer.h: Removed Buffer::resize
13580         * BufferList.h: Removed BufferList::resize
13581         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13582         the document lazily when we change the width, or the font settings.
13583
13584 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13585
13586         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13587
13588 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13589
13590         * buffer.h: remove out of date comment
13591
13592 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13593
13594         * lyxscreen.h:
13595         * screen.C: fix "theoretical" GC leak
13596
13597 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13598
13599         * LaTeX.C (scanAuxFile):
13600         (deplog): remove trailing \r when reading stream (useful under
13601         win32)
13602
13603 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13604
13605         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13606         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13607         and BufferView::theLockingInset(Inset*), so should use them and not
13608         access bv_->text->the_locking_inset directly.
13609
13610         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13611
13612 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13613
13614         * Makefile.am:
13615         * tex-defs.h: remove old unused file
13616
13617 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13618
13619         * BufferView_pimpl.C: fix typo, remove minibuffer message
13620           when buffer has loaded
13621
13622 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13623
13624         * lyxfunc.C (Dispatch): use stringstream
13625         (MenuNew): use stringstream
13626         (Open): use stringstream
13627
13628         * importer.C (Import): use stringstream
13629
13630         * bufferview_funcs.C (CurrentState): use stringstream
13631
13632         * LaTeX.C (run): use stringstream
13633
13634         * BufferView_pimpl.C (savePosition): use stringstream
13635         (restorePosition): use stringstream
13636         (MenuInsertLyXFile): use stringstream
13637
13638 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13639
13640         * BufferView.C:
13641         * Bullet.C:
13642         * ColorHandler.C:
13643         * FontInfo.C:
13644         * FontLoader.C:
13645         * LColor.C:
13646         * LaTeXFeatures.C:
13647         * Painter.C:
13648         * gettext.C:
13649         * lyx_gui_misc.C:
13650         * lyxserver.C:
13651         * vspace.C: removed // -*- C++ -*- as first line.
13652
13653         * lyxfind.h:
13654         * version.h: added // -*- C++ -*- as first line.
13655
13656 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13657
13658         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13659
13660         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13661         of string
13662
13663 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13664
13665         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13666         of floats.
13667
13668 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13669
13670         * gettext.C: include LString.h even when --disable-nls is on.
13671
13672 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13673
13674         * converter.h (Get): changed argument type from int to
13675         FormatList::size_type to avoid unnecessary conversion.
13676
13677         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13678         before using it.
13679
13680 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13681
13682         * gettext.h: include LString.h even when --disable-nls is on.
13683
13684 2001-06-07  Juergen Vigna  <jug@sad.it>
13685
13686         * text.C (BreakAgain): subst spaces with tabs.
13687
13688         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13689         (resizeInsetsLyXText): set force on resizeLyXText.
13690
13691 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13692
13693         * gettext.h (gettext_init):
13694         (locale_init): use a real definition instead of a macro
13695
13696 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13697
13698         * Bufferview_pimpl.C:
13699         * LColor.h:
13700         * LColor.C: further lcolor tidies
13701
13702 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13703
13704         * BufferView_pimpl.C (updateScrollbar): simplify.
13705
13706         * BufferView2.C: don't include insets/insetinfo.h, change
13707         prototype for insertInset and call the Pimpl version. let
13708         updateInset call Pimpl version.
13709
13710         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13711         gotoInset to BufferView::Pimpl
13712
13713 2001-06-01  Juergen Vigna  <jug@sad.it>
13714
13715         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13716         inside a LockingInset (is the update needed at all?).
13717
13718 2001-05-31  Juergen Vigna  <jug@sad.it>
13719
13720         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13721         here not the old one otherwise how should we compare it afterwards
13722         if it's the same!
13723
13724 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13725
13726         * lyxfont.C:
13727         * tabular.C:
13728         * tabular-old.C:
13729         * FontInfo.C: bring C functions into global namespace when
13730         necessary
13731
13732 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13733
13734         * LString.h: make sure config.h has been loaded before LString.h.
13735
13736         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13737         (one for each char read by EatLine!).
13738
13739         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13740         variables.
13741
13742 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13743
13744         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13745         to the same as the par we break from
13746
13747 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13748
13749         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13750
13751         * MenuBackend.C (expand): also create menu entries for wide
13752         versions of the floats.
13753
13754         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13755
13756         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13757
13758         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13759         frontends/Makefile.am
13760
13761         * text2.C: adjust
13762         * text.C: adjust
13763
13764
13765         * tabular.C (getTokenValue): add std::
13766
13767         * tabular-old.C (getTokenValue): add std::
13768         (getTokenValue): ditto
13769         (getTokenValue): ditto
13770
13771         * screen.C (ToggleSelection): adjust
13772
13773         * lyxtext.h: put selection cursors inside a Selection struct.
13774
13775         * lyxfunc.C (moveCursorUpdate): adjust
13776
13777         * lyxfont.C (latexWriteStartChanges): add std::
13778
13779         * lyxfind.C: adjust
13780
13781         * font.h: delete with(char const *, LyXFont const &)
13782
13783         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13784
13785         * FontInfo.C (getFontname): add std::
13786
13787         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13788         (workAreaButtonPress): adjust
13789         (tripleClick): adjust
13790         (update): adjust
13791         (moveCursorUpdate): adjust
13792         (Dispatch): adjust
13793
13794         * BufferView2.C (gotoInset): adjust
13795
13796 2001-05-30  Juergen Vigna  <jug@sad.it>
13797
13798         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13799         to check pspell I add this as default as I now have new pspell
13800         libraries and they seem to use this.
13801
13802 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13803
13804         * text2.C (CutSelection): make the cursor valid before the call to
13805         ClearSelection.
13806
13807 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13808
13809         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13810         relied on 0 terminated strings and other horrors. Bug found due to
13811         the new assert in lyxstring!
13812
13813         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13814         KP_ keys.
13815
13816 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13817
13818         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13819         to latinkeys.bind.
13820
13821         * lyxfunc.C (processKeySym): change method of getting to the
13822         self-insert char.
13823
13824         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13825         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13826         * BufferView_pimpl.[Ch]: here as private methods.
13827
13828 2001-05-28  Juergen Vigna  <jug@sad.it>
13829
13830         * text.C (SetHeightOfRow): added the update() call again as it is
13831         needed to initialize inset dimensions!
13832
13833 2001-05-16  Juergen Vigna  <jug@sad.it>
13834
13835         * text2.C (SetCharFont): Add new function with BufferView * and
13836         bool toggleall parameters for setting insets internal fonts.
13837         (SetFont): Freeze the undo as we may change fonts in Insets and
13838         all this change should be inside only one Undo!
13839
13840         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13841         setting font's in insets as for them we have the SetFont function!
13842
13843 2001-05-15  Juergen Vigna  <jug@sad.it>
13844
13845         * text2.C (ClearSelection): to be sure we REALLY don't have any
13846         selection anymore!
13847
13848         * tabular.C (TeXCellPreamble): fixed the left border problem for
13849         multicolumn cells.
13850
13851 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13852
13853         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13854         dependancy file
13855
13856 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13857
13858         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13859         LFUN_BREAKPARAGRAPH.
13860
13861         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13862         help test to "internal only", similar for LFUN_INSERT_URL
13863
13864         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13865         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13866         auto_region_delete and deadkeys.
13867
13868 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13869
13870         * LColor.h:
13871         * LColor.C: remove some dead entries, tidy a little
13872
13873 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13874
13875         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13876         commented code.
13877         (Dispatch): implement LFUN_ESCAPE
13878
13879         * commandtags.h: add LFUN_ESCAPE
13880
13881         * LyXAction.C (init): add entry for LFUN_ESCAPE
13882
13883         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13884         Remove commented code.
13885         (insertNote): moved here
13886         (open_new_inset): moved here
13887
13888         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13889         BufferView_pimpl
13890
13891 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13892
13893         * kbmap.C (findbinding): clean it up and make it work correctly.
13894
13895         * lyx_main.C (init): do not pass argc and argv as parameters
13896
13897 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13898
13899         * buffer.C: fix path for OS/2 & Win32
13900
13901         * lyx_gui.C:
13902         * lyx_main:
13903         * lyx_main.C: Added os:: class.
13904
13905         * os2_defines.h: update
13906
13907 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13908
13909         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13910         better by trying again with reduced state.
13911
13912 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13913
13914         * lyxrc.C (read): print error about invalid key sequence only when
13915         debugging (because not all latinX keysyms are known to some X
13916         servers)
13917
13918         * kbsequence.C (getiso): add a few std:: qualifiers
13919         (getiso): comment out extra return statement.
13920
13921 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13922
13923         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13924         handling.
13925         (Dispatch): enhance the accent inset a bit. (not perfect)
13926
13927 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13928
13929         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13930
13931 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13932
13933         * bufferlist.C (emergencyWrite): fix assert() call
13934
13935 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13936
13937         * text.C (InsertChar): Added trivial patch to only send the "you
13938         can not do multiple spaces this way" message once during a
13939         session.
13940
13941 2001-05-08  Baruch Even  <baruch@lyx.org>
13942
13943         * Makefile.am: Changed order of libraries to get LyX to link properly
13944         with the gnome frontend.
13945
13946 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13947
13948         * LaTeXFeatures.h: add a std:: qualifier
13949
13950 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13951
13952         * paragraph.C (String): use stringstream
13953
13954 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13955
13956         * paragraph.C (writeFile): remove footflag arg
13957
13958         * buffer.C (makeLaTeXFile): use stringstream
13959         (latexParagraphs): remove footnot gurba
13960
13961         * LaTeXFeatures.C (getPackages): use stringstream
13962         (getMacros): likewise
13963         (getTClassPreamble): likewise
13964         (getFloatDefinitions): new method
13965
13966         * paragraph.C (writeFile): reindent
13967         (Erase): reindent
13968
13969         * WorkArea.h: revert the xpos + etc changes.
13970
13971         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13972
13973         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13974
13975         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13976         (pasteSelection): likewise
13977         * text2.C (CreateUndo): likewise
13978
13979 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13980
13981         * minibuffer.C (peek_event): temporarily reduce the functionality
13982         of the minibuffer (to allow args on lfuns)
13983
13984         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13985         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13986
13987         * buffer.C (readInset): add compability reading of old float
13988         lists, add reading of new style float list.
13989         (readInset): avoid reevaluation of inscmd.getCmdName()
13990         (getLists): reindent
13991
13992         * MenuBackend.C (MenuItem): implement parsing of
13993         md_floatlistinsert and md_floatinsert.
13994         (expand::LastFiles): move initalizaton of iterators out of loop,
13995         avoid reevaluation.
13996         (expand::Documents): introduce typdedef vector<string> Strings,
13997         and use it.
13998         (expand::ExportFormats): introduce typedef vector<Format const *>
13999         Formats, and use it.
14000         (expand): implement FloatListInsert and FloatInsert.
14001
14002         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14003         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14004         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14005
14006         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14007         handling.
14008         (Dispatch::LFUN_FLOAT_LIST): implement
14009
14010 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14011
14012         * LaTeX.C (run): Fix problem with --export code.
14013
14014 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14015
14016         * BufferView.[Ch] (workarea): removed.
14017         (getClipboard) new method; wrapper for workarea()->getClipboard()
14018
14019         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14020         bug.
14021
14022         * WorkArea.h (width, height, xpos, ypos): These methods all
14023         returned the dimensions of the work_area sub-area of WorkArea,
14024         resulting in a position error if the WorkArea were resized. Now
14025         return the dimensions of the entire WorkArea.
14026
14027         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14028
14029 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14030
14031         * LaTeX.C (deplog): correct the syntax of regex reg1
14032
14033 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14034
14035         * undo.C: remove !NEW_INSETS cruft
14036
14037 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14038
14039         * text2.C: remove !NEW_INSETS cruft
14040
14041         * text.C: remove !NEW_INSETS cruft
14042
14043         * tabular.C: remove !NEW_INSETS cruft
14044
14045         * spellchecker.C: remove !NEW_INSETS cruft
14046
14047         * lyxtext.h: remove !NEW_INSETS cruft
14048
14049         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14050
14051         * lyxfunc.C: remove !NEW_INSETS cruft
14052
14053         * lyxfind.C: remove !NEW_INSETS cruft
14054
14055         * lyx_cb.C: remove !NEW_INSETS cruft
14056
14057         * figureForm.C: remove  !NEW_INSETS cruft
14058
14059         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14060
14061         * buffer.[Ch]: remove !NEW_INSETS cruft
14062
14063         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14064
14065         * CutAndPaste.C: remove !NEW_INSETS cruft
14066
14067         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14068
14069         * BufferView2.C: remove !NEW_INSETS cruft
14070
14071         * BufferView.h: remove !NEW_INSETS cruft
14072
14073 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14074
14075         * Lsstream.h: include LString.h before the sstream headers to
14076         fix problem with gcc 2.95.3 and lyxstring
14077
14078 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14079
14080         * lyx_main.C: add using directives when needed for C functions
14081         declared in std:: namespace.
14082
14083 2001-04-27  Juergen Vigna  <jug@sad.it>
14084
14085         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14086         (SetHeightOfRow): comment out the update call should not be needed!
14087
14088 2001-04-13  Juergen Vigna  <jug@sad.it>
14089
14090         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14091         (LyXTabular): tried to minimize operator= operations (and realized
14092         hopfully Lars wish).
14093
14094 2001-04-27  Juergen Vigna  <jug@sad.it>
14095
14096         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14097
14098 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14099
14100         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14101
14102         * buffer.C (readInset): hack to make listof algorithm work
14103
14104         * BufferView_pimpl.C: hack to make listof algorithm work
14105
14106 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14107
14108         * LyXAction.C: removed all !NEW_INSETS cruft
14109         (init): moved lfun_item in method
14110
14111         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14112
14113 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14114
14115         * BufferView2.C (theLockingInset): white space.
14116
14117 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14118
14119         * minibuffer.C: include <iostream>
14120
14121         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14122
14123         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14124
14125         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14126
14127         * text.[Ch] (TransposeChars): new method
14128
14129 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14130
14131         * call message directly through LyXView instead of through LyXFunc
14132         * BufferView2.C: adjust
14133         * BufferView_pimpl.C: adjust
14134         * FontLoader.C: adjust
14135         * buffer.C: adjust
14136         * bufferview_funcs.C: adjust
14137         * converter.C: adjust
14138         * figureForm.C: adjust
14139         * importer.C: adjust
14140         * lyx_cb.C: adjust
14141         * lyx_gui_misc.C: adjust
14142         * lyxfunc.C: adjust
14143         * lyxvc.C: adjust
14144         * text2.C: adjust
14145         + more files in subdirs
14146
14147         * lyxparagraph.h (size): move up int file
14148         (GetLayout): ditto
14149
14150         * adjust all uses of Assert to lyx::Assert.
14151
14152         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14153         lyxfunctional in namespace lyx
14154         * layout.C (hasLayout): ditto
14155         (GetLayout): ditto
14156         (GetLayout): ditto
14157         (delete_layout): ditto
14158         (NumberOfClass): ditto
14159         * converter.C (GetFormat): ditto
14160         (GetNumber): ditto
14161         (Add): ditto
14162         (Delete): ditto
14163         (SetViewer): ditto
14164         * bufferlist.C (getFileNames): ditto
14165         (emergencyWriteAll): ditto
14166         (exists): ditto
14167         (getBuffer): ditto
14168         * MenuBackend.C (hasSubmenu): ditto
14169         (hasMenu): ditto
14170         (getMenu): ditto
14171         * BufferView_pimpl.C (getInsetByCode): ditto
14172
14173 2001-04-18  Juergen Vigna  <jug@sad.it>
14174
14175         * vspace.C (asLatexString): fixed the 100% problem.
14176
14177 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14178
14179         * lyxfunc.C (Dispatch):
14180         * minibuffer.C:
14181         * minibuffer.h: add a few std:: qualifiers
14182
14183 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14184
14185         * minibuffer.[Ch]: reimplement so that commands is initiated and
14186         run from lyxfunc, simplified som handling, and made the completion
14187         and history code for complete. wip.
14188
14189         * lyxfunc.C (processKeySym): call message
14190         (miniDispatch): new temporary method
14191         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14192         (LFUN_MESSAGE): implement
14193         (LFUN_MESSAGE_PUSH): implement
14194         (LFUN_MESSAGE_POP): implement
14195         (initMiniBuffer): the initial/defualt minibuffer message.
14196
14197         * lyxfont.[Ch]: inline some more getters
14198
14199         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14200
14201         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14202
14203         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14204         (AutoSave): use LFUN_MESSAGE
14205         (Reconfigure): ditto
14206
14207         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14208
14209         * figureForm.C: use LFUN_MESSAGE
14210
14211         * converter.C (runLaTeX): use LFUN_MESSAGE
14212
14213         * bufferview_funcs.C: use LFUN_MESSAGE
14214         (Melt): ditto
14215         (changeDepth): ditto
14216
14217         * bufferparams.h: use boost::
14218
14219         * bufferlist.h: inherit privately from noncopyable
14220
14221         * bufferlist.C (loadLyXFile): remove some commented code.
14222
14223         * buffer.C (runChktex): use LFUN_MESSAGE
14224
14225         * ShareContainer.h: inherit privately from noncopyable
14226
14227         * ParagraphParameters.[hC] (depth): inline it.
14228
14229         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14230         methods.
14231         (message): new method
14232         (messagePush): ditto
14233         (messagePop): ditto
14234         (show): init minibuffer
14235         (showState): direct call
14236
14237         * LaTeX.[Ch]: inherit privately from noncopyable
14238         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14239         instead of WriteStatus.
14240
14241         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14242
14243         * BufferView_pimpl.C (buffer): don't init minibuffer
14244         (workAreaButtonPress): use LFUN_MESSAGE
14245         (workAreaButtonRelease): ditto
14246         (savePosition): ditto
14247         (restorePosition): ditto
14248         (MenuInsertLyXFile): ditto
14249         (workAreaExpose): don't init minibuffer
14250         (update): remove commented code, simplify
14251
14252         * BufferView2.C (openStuff): use LFUN_MESSAGE
14253         (toggleFloat): ditto
14254         (menuUndo): ditto
14255         (menuRedo): ditto
14256         (copyEnvironment): ditto
14257         (pasteEnvironment): ditto
14258         (copy): ditto
14259         (cut): ditto
14260         (paste): ditto
14261         (gotoInset): ditto
14262         (updateInset): remove some commented code
14263
14264         * lastfiles.h: inherit privately from noncopyable
14265         * layout.h: ditto
14266         * lyx_gui.h: ditto
14267         * lyx_main.h: ditto
14268         * lyxlex.h: ditto
14269         * lyxlex_pimpl.h: ditto
14270
14271         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14272         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14273         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14274
14275         * LyXAction.h: inherit privately from noncopyable, add methods
14276         func_begin, func_end, returning iterators to the func map.
14277
14278         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14279         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14280         (func_begin): new method
14281         (func_end): new method
14282
14283         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14284         and not)
14285         (copySelection): ditto
14286         (pasteSelection): ditto
14287
14288         * BufferView.C: whitespace change
14289         * BufferView.h: inherit privately from noncopyable
14290
14291 2001-04-16  Allan Rae  <rae@lyx.org>
14292
14293         * tabular-old.C (l_getline):
14294         * spellchecker.C (sc_check_word):
14295         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14296         an unrecognised preprocessor directive.  So ensure they're wrapped.
14297
14298 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14299
14300         * src/exporter.C (Export): Give an error message when path to file
14301         contains spaces.
14302
14303 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14304
14305         * LaTeX.C (deplog): Always check that foundfile exists.
14306
14307 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14308
14309         * lyx_main.h:
14310         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14311
14312 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14313
14314         * tabular.[Ch] (getLabelList): implement new method
14315
14316         * minibuffer.h: comment ouf setTiimer
14317
14318         * minibuffer.C (ExecutingCB): constify res
14319         (peek_event): constify s
14320         (Set): constify ntext
14321         (Init): constify nicename
14322
14323         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14324
14325         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14326         (savePosition): use two params to Minibuffer::Set
14327         (restorePosition): ditto
14328
14329 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * lyx_main.C: include language.h
14332
14333         * Makefile.am (lyx_main.o): add language.h
14334
14335 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14336
14337         * exporter.C:
14338         * paragraph.C:
14339         * screen.C:
14340         * tabular.C:
14341         * CutAndPaste.C: include gettext.h
14342
14343         * lyxfont.h: remove old hack with ON and OFF.
14344
14345         * lyxparagraph.h:
14346         * lyxfont.h: do not include language.h...
14347
14348         * BufferView2.C:
14349         * LaTeXFeatures.C:
14350         * Painter.C:
14351         * bufferview_funcs.C:
14352         * font.C:
14353         * lyxfont.C:
14354         * text.C:
14355         * text2.C:
14356         * trans_mgr.C:
14357         * paragraph.C: ... but do it here instead
14358
14359 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14360
14361         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14362
14363         * tabular.C: small reformat
14364
14365         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14366         NEW_INSETS version
14367         (GetChar): ditto
14368         (BreakParagraph): ditto
14369         (SetOnlyLayout): ditto
14370         (SetLayout): ditto
14371
14372         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14373         with one arg less.
14374
14375         * lastfiles.C: removed most using decl, add std:: where needed
14376
14377         * buffer.C: ws changes
14378
14379         * MenuBackend.C (class compare_format): put into anon namespace
14380         (expand): constify label, names, action, action2
14381         (expand):
14382
14383         * text.C (SingleWidth): constify font
14384         (IsBoundary): constify rtl2
14385         (GetVisibleRow): constify ww
14386
14387         * LaTeX.C (deplog): constify logfile
14388
14389         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14390         start_x, end_x
14391         (workAreaExpose): constify widthChange, heightChange
14392
14393         * lyxrow.C (par): moved
14394         (height): moved
14395         (next): moved
14396         * lyxrow.h: as inlines here
14397
14398         * lyxfont.h (shape): moved from lyxfont.C
14399         (emph): moved from lyxfont.C
14400
14401         * lyxfont.C (LyXFont): use initialization list for all
14402         constructors
14403         (shape): move to lyxfont.h as inline
14404         (emph): move to lyxfont.h as inline
14405
14406
14407 2001-04-04  Juergen Vigna  <jug@sad.it>
14408
14409         * vspace.C: had to include stdio.h for use of sscanf
14410
14411 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14412
14413         * BufferView.h:
14414         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14415         independent of xforms.
14416
14417 2001-04-02  Juergen Vigna  <jug@sad.it>
14418
14419         * spellchecker.C: fixed namespace placing!
14420
14421 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14422
14423         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14424         the LyXParagraph * is 0.
14425
14426 2001-03-29  Juergen Vigna  <jug@sad.it>
14427
14428         * vspace.C: added support for %, c%, p%, l%.
14429         (stringFromUnit): added helper function.
14430         (asLatexString): changed to give right results for the %-values.
14431
14432         * buffer.C: convert the widthp in a width%.
14433
14434 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14435
14436         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14437         figureForm.[Ch].
14438
14439         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14440         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14441
14442         * lyx_cb.[Ch]: see above.
14443
14444         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14445         form1.[Ch].
14446
14447         * form1.[Ch]:
14448         * lyx.[Ch]: replaced by figure_form.[Ch].
14449
14450         * lyx_gui.C:
14451         * lyx_gui_misc.C:
14452         * lyxfunc.C: changed headers associated with above changes.
14453
14454 2001-03-27  Juergen Vigna  <jug@sad.it>
14455
14456         * BufferView_pimpl.C: set the temporary cursor right!
14457
14458 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14459
14460         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14461
14462 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14463
14464         * LString.h: removed "using std::getline"!
14465
14466         * BufferView_pimpl.C (Dispatch): changes due to changes in
14467         InsetInclude::Params.
14468
14469         * buffer.C (tag_name): removed redundant break statements as they were
14470         producing lots of warnings with my compiler.
14471
14472 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14473
14474         * LString.h: add "using std::getline" when using the real <string>.
14475
14476 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14477
14478         * buffer.C: removed bitset usage.
14479         PAR_TAG moved to an anonymous name space.
14480         (tag_name): new funtion, also in the anonymous namespace.
14481         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14482         (makeDocBookFile): clean code. Completed transition from string arrays
14483         to string vectors.
14484         (SimpleDocBookOnePar): code clean.
14485
14486 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14487
14488         * tabular.C: add some comments.
14489
14490 2001-03-22  Juergen Vigna  <jug@sad.it>
14491
14492         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14493         compatibility read a bit and fixed bug with minipage in different
14494         depth.
14495
14496 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14497
14498         * buffer.C (pop_tag): removed.
14499         (push_tag): removed.
14500         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14501         array replaced with vector. Added support for CDATA sections.
14502         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14503         at any nest level.
14504         (makeDocBookFile): XML conformant declaration of CDATA section,
14505         fixed bug related to <emphasis> in the first paragraph char.
14506         (sgmlOpenTag): exclude empty tags.
14507         (sgmlCloseTag): ditto.
14508
14509         * buffer.h (pop_tag): removed.
14510         (push_tag): removed.
14511
14512 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14513
14514         * language.h (Languages): added size_type and size().
14515
14516 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14517
14518         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14519         response on compability reading of minipages. One probliem is that
14520         the old usage of minipages was «flertydig»
14521
14522         * several files here and in subdirs: don't use static at file
14523         scope use anon namespaces instead.
14524
14525 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14526
14527         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14528         LaTeX output. This is necessary for Literate document
14529         processing.
14530
14531 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14532
14533         * buffer.C: insert hfill when needed.
14534
14535         * tabular.C (l_getline): use string::erase, small whitespace change.
14536
14537         * BufferView_pimpl.C: try the anon namespace.
14538         * WorkArea.C: ditto
14539
14540 2001-03-16  Juergen Vigna  <jug@sad.it>
14541
14542         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14543         otherwise it won't open options-dialogs.
14544
14545         * buffer.C: honor pextraWidth(p) on converting minipages.
14546
14547         * tabular.C (l_getline): changed the functions to strip trailing \r.
14548
14549 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14550
14551         * BufferView_pimpl.C:
14552         * minibuffer..C: added "using SigC::slot" declaration.
14553
14554 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14555
14556         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14557
14558         * text2.C: ditto
14559
14560         * text.C: ditto
14561
14562         * paragraph.C: ditto
14563
14564         * lyxtext.h: NO_PEXTRA
14565
14566         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14567
14568         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14569         * ParameterStruct.h: ditto
14570         * ParagraphParameters.h: ditto
14571         * lyxparagraph.h: ditto
14572
14573 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14574
14575         * buffer.C: add compability for minipage alignment.
14576         (latexParagraphs): remove unwanted pextra check.
14577
14578         * several files: remove CXX_WORKING_NAMESPACES
14579
14580         * buffer.C (pop_tag): tie is in namespace boost
14581
14582         * BufferView.h: noncopyable is in namespace boost
14583         * lyxlex.h: ditto
14584         * lyx_main.h: ditto
14585         * lyx_gui.h: ditto
14586         * layout.h: ditto
14587         * lastfiles.h: ditto
14588         * bufferlist.h: ditto
14589         * ShareContainer.h: ditto
14590         * LyXView.h: ditto
14591         * LyXAction.h: ditto
14592         * LaTeX.h: ditto
14593
14594 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14595
14596         * Merging changes from BRANCH_MVC back into HEAD.
14597
14598         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14599
14600 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14601
14602         * BufferView_pimpl.C: change from intl.C
14603
14604         * combox.h:
14605         * combox.C:
14606         * Makefile.am: move combox.*
14607
14608         * form1.h:
14609         * form1.C:
14610         * lyx_gui.C:
14611         * intl.h:
14612         * intl.C: remove dialog (covered by prefs)
14613
14614 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14615
14616         * lyxfunc.C (Dispatch): removed redundant break statement.
14617
14618 2001-03-14  Juergen Vigna  <jug@sad.it>
14619
14620         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14621
14622 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14623
14624         * buffer.C: add hack to fix compability reading of minipages.
14625
14626 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14627
14628         * buffer.C (getLists): Cleanup.
14629
14630 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14631
14632         * lyxfont.C (update): don't honor toggleall on font size.
14633
14634 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14635
14636         * bmtable.c:
14637         * bmtable.h:
14638         * Makefile.am: moved to frontends/xforms/
14639
14640         * lyx_gui_misc.C:
14641         * lyxfunc.C:
14642         * BufferView_pimpl.C: changes for moved mathpanel
14643
14644 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14645
14646         * gettext.h: fix gettext_init() in --disable-nls
14647
14648 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14649
14650         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14651
14652 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14653
14654         * lyx.C:
14655         * lyx.h: strip external form
14656
14657 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14658
14659         * BufferView_pimpl.C: add comment, destroySplash()
14660
14661 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14662
14663         * BufferView_pimpl.C:
14664         * LyXAction.C:
14665         * buffer.C:
14666         * commandtags.h:
14667         * lyxfunc.C: use re-worked insetinclude
14668
14669 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14670
14671         * buffer.C: add using std::stringstream.
14672
14673         * lyx_cb.C: readd using std::ios.
14674
14675         * buffer.C: add using std::map.
14676
14677         * BufferView_pimpl.C: add using std::vector.
14678
14679         * ShareContainer.h: add std:: to swap.
14680
14681         * buffer.h: add some typedefs
14682         * buffer.C (getLists): use them
14683         (getLists): renamed from getTocList.
14684         add a counter for the different float types and use it in the
14685         generated string.
14686         (getLists): use the same counter for the NEW_INSETS and the "non"
14687         NEW_INSETS
14688
14689         * lyx_cb.h: remove unused items, includes, using etc.
14690
14691         * ShareContainer.h: remove some commented code, add more comments
14692         and "documentation".
14693
14694 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14695
14696         * buffer.C (getTocList): make the list also when NEW_INSETS is
14697         defined.
14698
14699         * buffer.h: remove TocType
14700
14701         * buffer.C (getTocList): change to return a map<string,
14702         vector<TocItem> >, implement for dynamic number of list.
14703
14704         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14705         * text2.C (PasteSelection): adjust
14706         * CutAndPaste.C (pasteSelection): adjust
14707
14708         * FloatList.C (FloatList): update from the new_insets branch.
14709         * Floating.[Ch]: ditto
14710         * LaTeXFeatures.C: ditto
14711         * buffer.C: ditto
14712         * lyxlex_pimpl.C: ditto
14713
14714         * paragraph.C (Last): remove when NEW_INSETS is defined.
14715
14716         * other file: changes because of the above.
14717
14718 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14719
14720         * lyxparagraph.h: rename next to next_, previous to previous_,
14721         make them private for NEW_INSETS. Rename Next() to next(),
14722         Previous() to previous().
14723
14724         * other files: changes because of the above.
14725
14726 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14727
14728         * BufferView.h:
14729         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14730         problem.
14731
14732 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14733
14734         * main.C (main): pass lyx_localedir to gettext_init().
14735
14736         * gettext.h: remove locale_init and gettext_init macros
14737
14738         * gettext.C (locale_init): new function
14739         (gettext_init): new function
14740
14741         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14742         setlocale().
14743
14744 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14745
14746         * Moved credits to frontends:
14747         * credits.[Ch]: removed
14748         * credits_form.[Ch]: removed
14749         * lyx_gui_misc.C: remove credits stuff
14750         * Makefile.am:
14751
14752 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14753
14754         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14755
14756         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14757         unneeded destructor.
14758
14759         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14760         a standalone pointer again.
14761
14762         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14763
14764 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14765
14766         * Makefile.am:
14767         * filedlg.h:
14768         * filedlg.C:
14769         * LyXAction.C:
14770         * ToolbarDefaults.C:
14771         * bufferlist.C:
14772         * commandtags.h:
14773         * form1.C:
14774         * form1.h:
14775         * lyx_cb.C:
14776         * lyx_cb.h:
14777         * lyxfunc.h:
14778         * lyxfunc.C:
14779         * BufferView_pimpl.C: use new file dialog in GUII
14780
14781         * lyx_cb.h:
14782         * lyx_cb.C: remove LayoutsCB to Toolbar
14783
14784 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * ShareContainer.h (get): add std:: qualifier
14787
14788 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * ShareContainer.h: define a proper ShareContainer::value_type
14791         type (and use typename to please compaq cxx)
14792
14793 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14794
14795         * lyxparagraph.h: move serveral local vars to
14796         ParameterStruct/ParagraphParameters., use ShareContainer in
14797         FontTable., make vars in FontTable private and add getter and
14798         setter.
14799
14800         * paragraph.C: changes because of the above.
14801
14802         * lyxfont.h: remove copy constructor and copy assignment. (the
14803         default ones is ok), move number inside FontBits. move inlines to
14804         lyxfont.C
14805
14806         * lyxfont.C: add number to initializaton of statics, move several
14807         inlines here. constify several local vars. some whitespace
14808         cleanup. Dont hide outerscope variables.
14809
14810         * Spacing.h: add two new constructors to match the set methods.
14811
14812         * ShareContainer.h: new file, will perhaps be moved to support
14813
14814         * ParameterStruct.h: new file
14815
14816         * ParagraphParameters.h: new file
14817
14818         * ParagraphParameters.C: new file
14819
14820         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14821         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14822
14823         * BufferView_pimpl.C: ParagraphParameter changes.
14824         * buffer.C: Likewise.
14825         * bufferview_funcs.C: Likewise.
14826         * text.C: Likewise.
14827         * text2.C: Likewise.
14828
14829 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14830
14831         * lyxfind.C (LyXReplace): do not redefine default argument in
14832         implementation.
14833         (IsStringInText): ditto
14834         (SearchForward): ditto
14835         (SearchBackward): ditto
14836
14837 2001-03-06  Juergen Vigna  <jug@sad.it>
14838
14839         * lyxfind.C (IsStringInText): put parentes around expressions.
14840
14841 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14842
14843         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14844
14845 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14846
14847         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14848
14849         * stl_string_fwd.h: add comment
14850
14851         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14852
14853         * tabular.h:
14854         * tabular.C: remove unused DocBook methods
14855
14856         * intl.C:
14857         * language.C:
14858         * paragraph.C:
14859         * buffer.C:
14860         killed DO_USE_DEFAULT_LANGUAGE
14861
14862 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14863
14864         * lyx_gui.C: do not include language.h.
14865
14866         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14867         arguments in function implementation.
14868
14869 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14870
14871         * BufferView_pimpl.C: add <ctime>
14872
14873 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14874
14875         * BufferView_pimpl.C: add using std::find_if
14876
14877 2001-02-27  José Matos  <jamatos@fep.up.pt>
14878
14879         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14880         by OnlyPath.
14881
14882 2001-02-11  José Matos  <jamatos@fep.up.pt>
14883
14884         * buffer.C (makeDocBookFile): command styles now have a parameter as
14885         "title" by default.
14886
14887 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14888
14889         * layout_forms.[Ch]: removed
14890         * lyx_cb.[Ch]: out character
14891         * lyx_gui.C: out character
14892         * lyx_gui_misc.C: out character
14893         * bufferview_funcs.C: : out character,
14894         added toggleall as parameter in ToggleAndShow
14895
14896 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14897
14898         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14899
14900         * text2.C (SetCurrentFont): Disable number property at boundary.
14901
14902 2001-02-26  Juergen Vigna  <jug@sad.it>
14903
14904         * lyxfunc.C (getStatus): added a string argument override function so
14905         that this is correctly called from LyXFunc::Dispatch if it contains a
14906         do_not_use_argument which is used!
14907         (Dispatch): added check for "custom" export and call appropriate func.
14908
14909 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14910
14911         * lyxrc.C: Add language_command_local, language_use_babel and
14912         language_global_options.
14913
14914         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14915
14916         * buffer.C (makeLaTeXFile): Use language_use_babel and
14917         language_global_options.
14918
14919 2001-02-23  Juergen Vigna  <jug@sad.it>
14920
14921         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14922         which works with LyXText and putted it inside BufferView. Here now we
14923         only call for that part the BufferView::Dispatch() function.
14924
14925         * BufferView.C (Dispatch): added.
14926
14927         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14928         functions which needs to use a LyXText over from LyXFunc.
14929         (MenuInsertLyXFile): added
14930         (getInsetByCode): added
14931         (moveCursorUpdate): added
14932         (static TEXT): added
14933
14934 2001-02-22  Juergen Vigna  <jug@sad.it>
14935
14936         * BufferView_pimpl.C (update): call a status update to see if LyXText
14937         needs it.
14938
14939 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14940
14941         * vc-backend.C (revert): implement for CVS
14942         (getLog): implement for CVS
14943
14944 2001-02-20  Juergen Vigna  <jug@sad.it>
14945
14946         * text2.C (ClearSelection): added BufferView param for inset_owner call
14947
14948         * lyxfunc.C (TEXT): added this function and use it instead of
14949         directly owner->view()-text of getLyXText().
14950
14951 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14952
14953         * src/layout_forms.C: out preamble
14954         * src/layout_forms.h: out preamble
14955         * src/lyx_cb.C: out preamble
14956         * src/lyx_cb.h: out preamble
14957         * src/lyx_gui.C: out preamble
14958         * src/lyx_gui_misc.C: out preamble
14959         * src/lyxfunc.C: connect with guii preamble
14960
14961 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14962
14963         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14964
14965 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14966
14967         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14968         whether to run bibtex.
14969
14970 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14971
14972         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14973
14974 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14975
14976         * Makefile.am (lyx_SOURCES): removed bibforms.h
14977
14978         * vspace.h: doxygen
14979
14980         * text.C (GetVisibleRow): make several local vars const
14981
14982         * tabular.C: small cleanup.
14983
14984         * lyxserver.C (callback): use compare instead of strncmp
14985
14986         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14987         inlines to after class or to paragraph.C
14988
14989         * lyxfont.h: remove friend operator!=
14990
14991         * converter.h: move friend bool operator< to non friend and after
14992         class def.
14993
14994         * combox.h: small cleanup
14995
14996         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14997         to inlines after class def.
14998
14999         * buffer.C (pop_tag): use string operations instead of strcmp
15000
15001         * bmtable.c: doxygen, small cleanup
15002
15003         * LaTeX.h: remove friend operator==
15004
15005 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15006
15007         * screen.C:
15008         * lyxrc.[Ch]:
15009         * lyxfunc.C:
15010         * lyxfont.[Ch]:
15011         * lyx_cb.C:
15012         * intl.[Ch]:
15013         * commandtags.h:
15014         * buffer.C:
15015         * WorkArea.[Ch]:
15016         * LyXAction.C:
15017         * BufferView_pimpl.C:
15018         * BufferView.[Ch]: remove cruft
15019
15020 2001-02-14  Juergen Vigna  <jug@sad.it>
15021
15022         * lyxfunc.C: removed #if 0 unused code
15023
15024         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15025
15026         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15027
15028         * text2.C (SetSelection): added a BufferView * parameter
15029
15030 2001-02-13  Juergen Vigna  <jug@sad.it>
15031
15032         * lyxfunc.C (Dispatch): fixed protected blank problem.
15033         * BufferView2.C (protectedBlank): added LyxText * parameter.
15034
15035         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15036         (AppendColumn): same as above for column_info.
15037
15038         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15039         (moveCursorUpdate): use a LyXText param for support of InsetText.
15040
15041         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15042         (tripleClick): ditto
15043
15044         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15045
15046         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15047
15048         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15049
15050         * text2.C (SetSelection): set correct update status if inset_owner
15051         (ToggleFree): ditto
15052
15053 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15054
15055         * tabular.C: remove some commented code.
15056
15057 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15058
15059         * BufferView_pimpl.C: call hideSplash()
15060
15061         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15062
15063         * include_form.h:
15064         * bibforms.h: remove
15065
15066         * lyxfunc.C:
15067         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15068           add LFUN_CHILD_CREATE
15069
15070         * counters.h: fix tiny typo
15071
15072         * lyx_cb.C:
15073         * lyx.h:
15074         * lyx_gui.C:
15075         * lyx.C: move splash to frontends/xforms/
15076
15077         * lyx_gui_misc.C: move Include and Bibform to frontends
15078
15079         * lyxvc.h: clarify comment
15080
15081         * vspace.C: tiny housekeeping
15082
15083 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15084
15085         * text.C (PrepareToPrint): RTL Fix.
15086
15087         * paragraph.C (GetUChar): New method.
15088         (String):  Use GetUChar.
15089
15090         * buffer.C (asciiParagraph): Use GetUChar.
15091
15092 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15093
15094         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15095
15096 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15097
15098         * buffer.h:
15099         * buffer.C: rename to getLogName(), handle
15100           build log / latex log nicely
15101
15102 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15103
15104         * MenuBackend.C:
15105         * MenuBackend.h: remove support for reference menuitem type.
15106
15107 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15108
15109         * BufferView_pimpl.C: housekeeping
15110         * BufferView_pimpl.h:
15111         * LyXView.h:
15112         * Makefile.am:
15113         * Timeout.C:
15114         * Timeout.h:
15115         * minibuffer.h: move Timeout GUI-I
15116
15117 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15118
15119         * lyxrc.C (read): Update converters data-structures.
15120
15121 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15122
15123         * LaTeX.h (operator!=): add operator != for Aux_Info
15124
15125 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15126
15127         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15128
15129         * LaTeXLog.C: deleted, useful code moved to Buffer
15130
15131         * buffer.h:
15132         * buffer.C: new function getLatexLogName()
15133
15134         * lyx_gui_misc.C:
15135         * lyx_gui.C:
15136         * lyxvc.C:
15137         * lyxvc.h:
15138         * lyxfunc.C: use frontends for LaTeX and VC logs
15139
15140 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15141
15142         * LaTeX.h: yet another std:: that Allan forgot.
15143
15144         * Variables.C (set): renamed from isset(), because this clashes
15145         with some HP-UX macros (grr).
15146
15147 2001-02-06  Allan Rae  <rae@lyx.org>
15148
15149         * LaTeX.h: Another bug fix.  Missing std:: this time.
15150
15151 2001-02-04  Allan Rae  <rae@lyx.org>
15152
15153         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15154         floats problem. I've left it commented out because it's not quite
15155         correct.  It should also test that the current object is a table or
15156         figure inset.  But I haven't gotten around to figuring out how to do
15157         that.  I *think* it'll be something like: "table" == inset.type()
15158
15159         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15160         bool.
15161
15162 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15163
15164         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15165         all the citation/databases/styles in the auxilary file.
15166         (run): Rerun latex if there was a babel language error.
15167
15168 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15169
15170         * text.C (Backspace): Preserve the font when changing newline char
15171         with a space.
15172         (BreakParagraph): If the cursor is before a space, delete the space.
15173
15174         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15175
15176 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15177
15178         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15179         new argument (code).
15180         (ChangeCitationsIfUnique): New method.
15181
15182         * paragraph.C (GetPositionOfInset): Handle bibkey.
15183
15184 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15185
15186         * BufferView_pimpl.h: change type of Position::par_pos to
15187         LyXParagraph::size_type.
15188
15189 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15190
15191         * BufferView_pimpl.C (savePosition, restorePosition): Write
15192         messages to minibuffer.
15193
15194 2001-01-28  José Matos  <jamatos@fep.up.pt>
15195
15196         * buffer.C (makeDocBookFile): adds support for document language.
15197         A silly restriction on the name of LatexCommand types where removed.
15198         Added support for CDATA sections, allows to chars unescaped, used
15199         among others in code, to avoid escape < and >.
15200
15201 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15202
15203         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15204         saved positions instrad of a stack. Furthermore, a position is
15205         stored using paragraph id/paragraph position.
15206
15207         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15208         Remove LFUN_REF_BACK.
15209
15210 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15211
15212         * converter.C (dvipdfm_options): New method.
15213
15214 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * vspace.C (isValidLength): Fix for empty input string.
15217
15218 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15219
15220         * LyXAction.C (init): change description of LFUN_FIGURE to
15221         "Insert Graphics"
15222
15223 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15224
15225         * LaTeX.C: add using directive
15226
15227 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15228
15229         * MenuBackend.C (expand): Fix the sorting of the formats.
15230
15231 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15232
15233         * lyx_main.C: tiny error message fix
15234
15235 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15236
15237         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15238         calling fl_initialize(). This fixes the problem with ',' as
15239         decimal separator in text files.
15240
15241 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15242
15243         * trans.C (process): Fix the keymap bug.
15244
15245 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15246
15247         * LaTeX.C (scanAuxFiles): New method. Provides support for
15248         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15249         (scanLogFile) Scan for "run BibTeX" messages.
15250
15251         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15252         OT1 font encoding. Also, load the aecompl package if the ae
15253         package is loaded.
15254
15255         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15256
15257 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15258
15259         * texrow.C (increasePos): turn two error messages into debug
15260         messages.
15261
15262 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15263
15264         * LaTeX.C (scanAux): Handle the \@input macro.
15265         (runBibTeX): Use scanAux().
15266
15267         * language.C (latex_options_): New field.
15268
15269         * LaTeXFeatures.C (getMacros): Add language macros.
15270
15271         * buffer.C (makeLaTeXFile): Small fix.
15272
15273 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15274
15275         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15276
15277         * text2.C: add a using directive.
15278
15279 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15280
15281         * BufferView2.C:
15282         * lyx_gui_misc.h:
15283         * lyxfr1.C:
15284         * lyxfunc.C: kill LyXBell.
15285
15286 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15287
15288         * text.C (IsBoundary): Remove the error message
15289
15290         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15291
15292         * lyxrc.C (setDefaults): Correct initialization value for
15293         font_norm_type.
15294
15295 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15296
15297         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15298         gotoError().
15299
15300         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15301         and GotoNextNote().
15302
15303         * src/LyXAction.C: Added reference-next.
15304
15305         * text.C (InsertChar): Use contains instead of strchr.
15306
15307         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15308
15309 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15310
15311         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15312         alignment commands (when needed).
15313
15314         * text.C (InsertChar): Add ':' to number separator chars.