]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Rename getOutOfInset as leaveInset.
[lyx.git] / src / ChangeLog
1 2004-03-31  Angus Leeming  <leeming@lyx.org>
2
3         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
4         the LFUN_ALL_INSETS_TOGGLE code.
5
6 2004-03-30  Angus Leeming  <leeming@lyx.org>
7
8         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
9         has died. Fall through to the generic Dialogs::show("document").
10         
11 2004-03-30  Angus Leeming  <leeming@lyx.org>
12
13         * lfuns.h:
14         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
15         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
16
17         * lyxfunc.C (getStatus, dispatch): define the actions for these
18         lfuns. Little more than a cut and pste job from ControlDocument.C
19
20         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
21
22 2004-03-30  Angus Leeming  <leeming@lyx.org>
23
24         * lfuns.h:
25         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
26         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
27
28         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
29         open/closed state of ollapsable insets. Usage:
30
31         all-inset-toggle <state> <name>, where
32         <state> == "open" || "closed" || "toggle" and
33         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
34
35         * lyxtext.h, text2.C (toggleInset): removed.
36
37         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
38         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
39         now passes LFUN_INSET_TOGGLE to the found inset.
40
41         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
42         is now invoked as "all-insets-toggle toggle branch".
43
44 2004-03-30  Angus Leeming  <leeming@lyx.org>
45
46         * dociterator.C:
47         * insetiterator.C:
48         * pariterator.[Ch]: added/corrected header blurb.
49
50 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
51
52         * dociterator.[Ch]: add an inset_ member 
53         (backwardPos): implemented
54         (backwardPos, forwardPos): use inset_ when the stack is empty.
55         (doc_iterator_begin, doc_iterator_end): implemented
56         * pariterator.[Ch]: adjust, add begin, end
57         * insetiterator.[Ch]: adjust, add begin, end
58         * cursor.C: 
59         * document.C:
60         * BufferView.C:
61         * BufferView_pimpl.C:
62         * CutAndPaste.C: adjust
63
64 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
65
66         * buffer.C: increment file format to 232.
67         * LaTeXFeatures.C: add bibtopic package.
68         * bufferparams.[Ch]: param \use_bibtopic.
69         
70         * lyxrc.[Ch]: add lyxrc bibtex_command
71         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
72         
73         * buffer.C: increment file format to 231.
74
75 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
76
77         * dociterator.C: implement forwardPar
78         * iterators.[Ch]: remove, replaced by
79         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
80         * BufferView.C:
81         * BufferView_pimpl.C:
82         * CutAndPaste.C:
83         * buffer.C:
84         * bufferview_funcs.C:
85         * cursor.C:
86         * lyxfind.C
87         * lyxfunc.C
88         * paragraph_funcs.C
89         * toc.C:  
90         * Makefile.am: adjust
91
92 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
93
94         * CutAndPaste.C (pasteSelection): fix 2 crashes
95         (eraseSelection): fix a crash
96         * paragraph_funcs.C: remove a warning
97
98 2004-03-28  Angus Leeming  <leeming@lyx.org>
99
100         * lfuns.h:
101         * LyXAction.C (init): new LFUN_PRINT.
102
103         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
104
105 2004-03-27  Angus Leeming  <leeming@lyx.org>
106
107         * lfuns.h:
108         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
109
110         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
111
112 2004-03-27  Angus Leeming  <leeming@lyx.org>
113
114         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
115         insetlist always contains non-null pointers to insets.
116
117 2004-03-26  Angus Leeming  <leeming@lyx.org>
118
119         * src/BufferView_pimpl.C:
120         * src/CutAndPaste.C:
121         * src/buffer.C:
122         * src/iterators.C:
123         * src/output_plaintext.C:
124         * src/outputparams.h:
125         * src/paragraph_funcs.C:
126         * src/rowpainter.C:
127         * src/text.C:
128         * src/text2.C:
129         * src/frontends/controllers/ControlErrorList.C:
130         * src/frontends/gtk/FileDialogPrivate.C:
131         * src/frontends/gtk/GPainter.C:
132         * src/frontends/gtk/GToolbar.C:
133         * src/frontends/qt2/QRef.C:
134         * src/mathed/math_scriptinset.C: squash compiler warnings.
135
136 2004-03-26  Angus Leeming  <leeming@lyx.org>
137
138         * ispell.C (LaunchIspell::start):
139         * lyx_cb.C (AutoSaveBuffer::start):
140         invoke run(DontWait) rather than runNonBlocking().
141
142 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
143
144         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs 
145
146 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
147
148         * kbsequence.C (print): adjust
149
150         * kbmap.C (printKeySym): rename and change signature
151         (printKey): use LyXKeySym::print()
152
153 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
154
155         * undo.C: add using std::advance to compile for stlport
156
157 2004-03-24  Angus Leeming  <leeming@lyx.org>
158
159         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
160         it leads to a crash when no buffer is present.
161
162 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
163             Martin Vermeer  <martin.vermeer@hut.fi>
164
165         * lyxfunc.C (dispatch): 
166         * bufferparams.C (readToken): use the new LColor::setColor 
167
168         * LColor.[Ch] (setColor): new version that takes two strings as
169         argument and creates a new color entry if necessary
170
171 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
172
173         * buffer.C (makeLaTeXFile): if the main latex file that is
174         processed is usually a subdocument of some master, then pretend
175         for a while that it is actually the master
176
177 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
178
179         * buffer.C (getLabelList):
180         (getBibkeyList): use getMasterBuffer()
181         (getMasterBuffer): new method. Returns the main document in the
182         case where one is using included documents.
183
184 2004-03-25  André Pönitz  <poenitz@gmx.net>
185
186         * Makefile.am:
187         * iterators.[Ch]:
188         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
189
190         * ParagraphList_fwd.h: change ParagraphList to a std::vector
191
192         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
193         text*.C over here. Rename namespace CutAndPaste to lyx::cap
194
195         * ParameterStruct.h: merge with ParagraphParameters
196
197         * lyxtext.h: remove LyXText::parOffset() and getPar()
198
199         * text3.C: Remove all 'manual' update calls. We do now one per user
200         interaction which is completely sufficient.
201
202         * Bidi.C:
203         * BufferView.[Ch]:
204         * BufferView_pimpl.C:
205         * FontIterator.[Ch]:
206         * MenuBackend.C:
207         * ParagraphParameters.[Ch]:
208         * buffer.C:
209         * buffer.h:
210         * bufferlist.C:
211         * cursor.[Ch]:
212         * cursor_slice.[Ch]:
213         * dociterator.[Ch]:
214         * errorlist.[Ch]:
215         * factory.C:
216         * lfuns.h:
217         * lyxfind.C:
218         * lyxfunc.C:
219         * output_docbook.[Ch]:
220         * output_latex.[Ch]:
221         * output_linuxdoc.[Ch]:
222         * output_plaintext.[Ch]:
223         * paragraph.[Ch]:
224         * paragraph_funcs.[Ch]:
225         * paragraph_pimpl.[Ch]:
226         * rowpainter.C:
227         * tabular.[Ch]:
228         * text.C:
229         * text2.C:
230         * toc.C:
231         * undo.[Ch]: adjust
232
233         * frontends/controllers/ControlDocument.C:
234         * frontends/controllers/ControlErrorList.C:
235         * frontends/controllers/ControlSpellchecker.C:
236         * insets/inset.C:
237         * insets/inset.h:
238         * insets/insetbase.h:
239         * insets/insetbibitem.C:
240         * insets/insetbox.C:
241         * insets/insetbranch.C:
242         * insets/insetcaption.C:
243         * insets/insetcharstyle.C:
244         * insets/insetcharstyle.h:
245         * insets/insetcollapsable.C:
246         * insets/insetcollapsable.h:
247         * insets/insetert.C:
248         * insets/insetfloat.C:
249         * insets/insetfoot.C:
250         * insets/insetmarginal.C:
251         * insets/insetnote.C:
252         * insets/insetoptarg.C:
253         * insets/insettabular.C:
254         * insets/insettext.C:
255         * insets/insettext.h:
256         * insets/insetwrap.C:
257         * mathed/math_mboxinset.C:
258         * mathed/math_nestinset.C:
259         * mathed/math_scriptinset.C:
260         * mathed/math_scriptinset.h:
261         * support/types.h:
262
263 2004-03-24  Angus Leeming  <leeming@lyx.org>
264
265         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
266         deal with any child processes that have finished but are waiting to
267         communicate this fact to the rest of LyX.
268
269 2004-03-24  Angus Leeming  <leeming@lyx.org>
270
271         64-bit compile fixes.
272
273         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
274         (c-tor): pass lyx::pos_types rather than ints.
275
276         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
277         lyx::pos_type.
278
279         * text.C (Delete): compile fix.
280         (getPar): ensure that function declaration is the same as that in
281         the header file.
282
283 2004-03-23  Angus Leeming  <leeming@lyx.org>
284
285         * ispell.C (LaunchIspell):
286         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
287         a boost::shred_ptr rather than a std::auto_ptr.
288
289 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
290
291         * lyxfunc.C (getStatus): handle read-only buffers correctly;
292         handle LFUN_FILE_INSERT_*
293
294         * lyxrc.C (setDefaults, getDescription, output, read):
295         * lyxrc.h: remove ps_command
296
297 2004-03-22  Angus Leeming  <leeming@lyx.org>
298
299         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
300         Ensure that error_handler is processed once only and that all data
301         is saved before attempting to output any warning messages.
302
303         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
304
305 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
306
307         * tabular.C (TeXRow): crash fix (from Kayvan and André)
308
309 2004-03-19  André Pönitz  <poenitz@gmx.net>
310
311         * cursor.[Ch] (reset): take main text inset as argument
312
313         * BufferView: adjust
314         * BufferView_pimpl.C: adjust
315
316         * paragraph.[Ch]: fix completely broken operator=()
317
318 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
319
320         * LColor.C (getFromLyXName): make sure that the color name is used
321         as lowercase.
322
323 2004-03-17  Angus Leeming  <leeming@lyx.org>
324
325         * lfuns.h:
326         * LyXAction.C (init): remove LFUN_FORKS_KILL.
327
328         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
329         dialog and to kill a forked process.
330
331 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
332
333         * text2.C (setCursorFromCoordinates): fix font problem
334
335 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
336
337         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
338         bogus "rebuild cursor" code
339
340 2004-03-11  André Pönitz  <poenitz@gmx.net>
341
342         * buffer.[Ch]: use InsetText instead of LyXText as container for
343         the main lyx text.
344
345         * dociterator.[Ch]: drop the BufferView * member which is not needed
346         anymore after the change to buffer.C
347
348         * paragraph_funcs.C:
349         * text.C:
350         * text2.C:
351         * BufferView.[Ch]:
352         * BufferView_pimpl.[Ch]:
353         * cursor.[Ch]:
354         * cursor_slice.[Ch]: adjust
355
356         * text3.C: fix bug in mathDispatch
357
358 2004-03-08  André Pönitz  <poenitz@gmx.net>
359
360         * undo.[Ch]: use 'StableDocumentIterator' as base for
361         the Undo struct.
362
363 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
364
365         * LaTeXFeatures.C:
366         * bufferparams.[Ch]: add jurabib support and param.
367
368         * LaTeX.C: add FIXME/comment.
369
370 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
371
372         * buffer.C: increment file format to 230.
373
374 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
375
376         * cursor.C (dispatch): avoid infinite loops
377
378 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
379
380         * rowpainter.C (paintSelection): fix x coordinates
381
382 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
383
384         * text.C (rowBreakPoint): fix breaking before displayed insets
385
386 2004-03-01  André Pönitz  <poenitz@gmx.net>
387
388         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
389
390         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
391
392         * Makefile.am:
393         * BufferView.C:
394         * BufferView_pimpl.C:
395         * buffer.C:
396         * lyxfind.C:
397         * lyxfunc.C:
398         * text.C:
399         * text2.C:
400         * text3.C: adjust
401
402 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
403
404         * lyxtext.h:
405         * text.C:
406         * text2.C:
407         * rowpainter.C:
408         * BufferView_pimpl.C: rename textwidth -> maxwidth,
409         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
410
411 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
412
413         * Bidi.[Ch] (computeTables): const correctness
414         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
415         fill_hfill, fill_label_hfill and x from Row
416         * lyxtext.h: prepareToPrint returns a RowMetrics
417         * rowPainter.C: adjust
418         * text.C (prepareToPrint): use width, not textWidth. adjust
419         (redoParagraphInternal, cursorX): adjust
420         * text2.C (getColumnNearX): adjust
421         (init): put a default value to the top LyXText::width
422
423 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
424
425         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
426
427 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
428
429         * lyxtext.h: add FontIterator class
430
431         * text.C (FontIterator, operator*, operator->, operator++): add
432         (rowBreakPoint, setRowWidth): adjust (fixing a
433         rebreaking bug)
434
435 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * BufferView_pimpl.C (workAreaDispatch): allow also
438         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
439
440 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
441
442         * text.C (rowBreakPoint): fix a bug showing with very large insets
443
444 2004-02-25  André Pönitz  <poenitz@gmx.net>
445
446         * text3.C:
447         * cursor.[Ch]: move some mathed specific code to mathed
448
449 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
450
451         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
452         use_tempdir in preferences
453         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
454         tempfile creation
455         * lyx_main.C: ensure that tempdir is valid
456         * lyxlex.h: correct typo
457         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
458         * paragraph.[Ch] (isMultiLingual): make const
459         * cursor.[Ch] (openable): make const
460
461 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
462
463         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
464
465 2004-02-20  André Pönitz  <poenitz@gmx.net>
466
467         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
468
469         * cursor.[Ch]: prepare for localized getStatus()
470
471         * lyxtext.h:
472         * tabular.C:
473         * text.C:
474         * text2.C:
475         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
476
477 2004-02-20  André Pönitz  <poenitz@gmx.net>
478
479         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
480
481 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
482
483         * text2.C (setCursorFromCoordinates): switch to absolute coords
484         (cursorUp): adjust
485         (cursorDown): adjust
486         * text3.C (dispatch): adjust
487
488 2004-02-16  André Pönitz  <poenitz@gmx.net>
489
490         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
491           insets/ChangeLog)
492
493         * cursor_slice.[Ch]: remove unneeded acessor function
494
495         * lyxtext.h: rename rtl() to isRTL()
496
497         * rowpainter.C:
498         * tabular.C:
499         * text.C:
500         * text2.C:
501         * text3.C: adjust
502
503 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
504
505         * rowpainter.C (paintSelection): coord fix
506
507 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
508
509         * Spacing.C: compile fix
510
511 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
512
513         * cursor.C (dispatch): restore current_ before returning
514
515 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
516
517         * text2.C (cursorUp, cursorDown): fix coords
518         (moveUp): fix crash
519
520 2004-02-12  André Pönitz  <poenitz@gmx.net>
521
522         * lyxtext.h:
523         * text.C:
524         * text2.C:
525         * text3.C: add LCursor & parameter to most cursor movement functions
526           remove usage of LyXText::cursorRow() and cursorPar()
527
528         * cursor.[Ch]: add textRow() needed members
529
530         * BufferView.C:
531         * BufferView_pimpl.C:
532         * paragraph.[Ch]:
533         * BufferView.C:
534         * BufferView_pimpl.C: adjust
535
536 2004-02-11  André Pönitz  <poenitz@gmx.net>
537
538         * lyxfunc.C:
539         * BufferView.[Ch]:
540         * BufferView_pimpl.C: shift undo/redo handling
541
542         * cursor.[Ch]: fix mathed crash
543
544         * lyxfind.C:
545         * lyxtext.h: move selectionAsText to LCursor
546
547         * output_latex.C:
548         * paragraph.C:
549         * text.C:
550         * text2.C:
551         * text3.C: adjust
552
553         * rowpainter.C: fix excessive drawing
554
555 2004-02-06  André Pönitz  <poenitz@gmx.net>
556
557         * BufferView.[Ch]:
558         * BufferView_pimpl.[Ch]:
559         * text3.C: move some text specific LFUN handling
560
561 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
562
563         * text3.C (checkInsetHit): adjust coords
564         * text2.C (getColumnNearX): adjust coords
565         (edit): adjust coords
566         * text.C (getRowNearY): add two asserts
567
568 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
569
570         * converter.C:
571         * format.C: add using std::distance to compile on gcc 2.95/stlport
572
573 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
574
575         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
576
577 2004-02-04  André Pönitz  <poenitz@gmx.net>
578
579         * BufferView.[Ch] (insertInset):
580         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
581
582         * text2.C:
583         * text3.C: adjust
584
585 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
586
587         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
588         on the default clause of the switch
589         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
590         wasn't catched by LCursor::dispatch
591
592 2004-02-03  André Pönitz  <poenitz@gmx.net>
593
594         * BufferView.C:
595         * cursor.[Ch]: some additional asserts
596
597         * undo.[Ch]: remove LyXText dependency in interface
598
599         * lyxfunc.C: adjust
600
601         * lyxtext.h (firstPar, lastPar): remove dead functions
602
603         * text.C:
604         * text2.C:
605         * text3.C:
606         * paragraph.[Ch]: adjust
607
608 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
609
610         * lyxfind.C (find): fix argument order in call to ::find
611
612 2004-02-02  André Pönitz  <poenitz@gmx.net>
613
614         * cursor.[Ch]: remove direct access to anchor
615
616         * text.C: remove findText() hack
617
618 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
619
620         * iterators.[Ch] (lockPath): remove in favour of...
621         * BufferView.[Ch] (setCursor): this addition
622         * BufferView.C (putSelectionAt): adjust
623         * undo.C (performUndoOrRedo): adjust
624         * lyxfunc.C (dispatch): adjust
625
626 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
627
628         * iterators.C (lockPath): add a missing slice
629         * undo.C (performUndoOrRedo): remove redundant positioning code
630
631 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
632
633         * vc-backend.C (scanMaster): ";" -> ';'
634
635 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
636
637         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
638         std::binary_function
639
640         * lyxtextclass.C (compare_name): rename to...
641         (LayoutNamesEqual): ...this
642
643         * lyxlex_pimpl.C (compare_tags): inherit from
644         std::binary_function, put back into anon namespace
645
646         * lyxfind.C (MatchString): inherig from std::binary_function
647         (findChange): use empty() istead of !size()
648
649         * format.C (FormatNamesEqual): new functor
650         (getFormat): use it
651         (getNumber): use it
652         (add): use it
653         (erase): use it
654         (setViewer): use it
655
656         * converter.C (compare_Converter): rename to...
657         (ConverterEqual): ...this, and fixup a bit.
658         (getConverter): use it, and make function const
659         (getNumber): use it, and make function const
660         (add): use it
661         (erase): use it:
662
663         * bufferlist.C: add using boost::bind
664
665         * MenuBackend.C (MenuNamesEqual): new functor
666         (hasMenu): use it, and make function const
667         (hasSubmenu): use nested bind to get rid of compare_memfun.
668
669 2004-01-30  André Pönitz  <poenitz@gmx.net>
670
671         * BufferView_pimpl.C:
672         * cursor.C:
673         * cursor.h:
674         * cursor_slice.[Ch]:
675         * lyxfunc.C:
676         * lyxtext.h:
677         * paragraph_funcs.C:
678         * paragraph_funcs.h:
679         * rowpainter.C:
680         * text.C:
681         * text2.C:
682         * text3.C: move some of the edit(x,y) handling to the insets
683         some coordinate changes.
684
685 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
686
687         * text.C: add using statements for std::advance and std::distance
688
689         * paragraph.C: add using statement for std::distance
690
691         * lyxfind.C: add using statement for std::advance
692
693         * cursor.C (region): remove std:: from swap
694         (openable): use nucleus in stead of operator->
695
696         * BufferView.C: add using statements for std::distance and std::swap
697
698 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
699
700         * iterators.C: Remove the pimple, move the needed structures to
701         the header file. Create accessor for the positions stack.
702         (asPosIterator): remove function
703
704         * PosIterator.C (PosIterator): move constructors to top of file
705         (PosIterator): reimplement the constructor taking a ParIterator in
706         terms of setFrom.
707         (setFrom): new function
708         (operator!=): inline it
709
710 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
711
712         * lyxfind.C (replaceAll): use std::advance
713
714         * iterators.h: inherit from std::iterator.
715
716         * PosIterator.C (advance, distance): remove
717         * PosIterator.h: interit from std::iterator.
718
719 2004-01-26  André Pönitz  <poenitz@gmx.net>
720
721         * BufferView.[Ch]:
722         * BufferView_pimpl.[Ch]:
723         * InsetList.[Ch]:
724         * PosIterator.[Ch]:
725         * buffer.h:
726         * bufferview_funcs.C:
727         * cursor.[Ch]:
728         * cursor_slice.h:
729         * factory.[Ch]:
730         * iterators.[Ch]:
731         * lyxfind.C:
732         * lyxfunc.C:
733         * lyxtext.h:
734         * output_docbook.C:
735         * output_latex.C:
736         * output_linuxdoc.C:
737         * output_plaintext.C:
738         * paragraph.[Ch]:
739         * paragraph_funcs.[Ch]:
740         * paragraph_pimpl.[Ch]:
741         * rowpainter.C:
742         * tabular.C:
743         * tabular.h:
744         * text.C:
745         * text2.C:
746         * text3.C: more IU:  dumps most of the rest of the mathcursor
747     implementation into cursor.[Ch]; "globalize" a bit of it.
748
749 2004-01-25  Angus Leeming  <leeming@lyx.org>
750
751         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
752
753 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
754
755         * LaTeXFeatures.h: add nice_ and nice() const
756         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
757
758 2004-01-20  André Pönitz  <poenitz@gmx.net>
759
760         * BufferView.[Ch]:
761         * BufferView_pimpl.C:
762         * PosIterator.C:
763         * bufferview_funcs.C:
764         * cursor.[Ch]:
765         * cursor_slice.[Ch]:
766         * factory.C:
767         * iterators.C:
768         * lyx_cb.C:
769         * lyxfind.C:
770         * lyxfunc.C:
771         * lyxtext.h:
772         * rowpainter.C:
773         * text.C:
774         * text2.C:
775         * text3.C:
776         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
777           LCursor and mathcursor parts to LCursor and InsetBase.
778
779 2004-01-15  André Pönitz  <poenitz@gmx.net>
780
781         * cursor_slice.[Ch]: add a few covienience functions
782
783         * funcrequest.[Ch]: remove BufferView * member
784
785         * BufferView_pimpl.C:
786         * cursor.C:
787         * factory.[Ch]:
788         * lyxfind.[Ch]:
789         * lyxfunc.C:
790         * lyxtext.h:
791         * text3.C:
792         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
793
794 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
795
796         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
797         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
798
799 2004-01-13  André Pönitz  <poenitz@gmx.net>
800
801         * textcursor.[Ch]:
802         * lyxtext.h: hide cursor and selection anchor behind accessor function
803
804         * BufferView.C:
805         * BufferView_pimpl.[Ch]:
806         * PosIterator.C:
807         * bufferview_funcs.C:
808         * cursor.h:
809         * lyxfind.C:
810         * lyxfunc.C:
811         * text.C:
812         * text2.C:
813         * text3.C:
814         * undo.C: adjust
815
816         * cursor.h:
817         * cursor_slice.[Ch]: some integer type changes for inset unification
818
819         * lyxcursor.[hC]: remove, it's CursorSlice now.
820
821         * Makefile.am:
822         * BufferView_pimpl.[Ch]:
823         * bufferview_funcs.C:
824         * cursor_slice.C:
825         * lyxtext.h:
826         * text.C:
827         * text2.C:
828         * text3.C:
829         * textcursor.[Ch]: adjust
830
831 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
832
833         * text2.C (undoSpan): add and use
834         * text.C (breakParagraph): use undoSpan (fix bug 578)
835         * lyxtext.h: adjust
836
837 2004-01-08  Angus Leeming  <leeming@lyx.org>
838
839         * BufferView_pimpl.C (MenuInsertLyXFile):
840         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
841         * lyxfunc.C (menuNew, open, doImport):
842         FileFilterList change to the FileDialog open and save functions.
843
844 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
845
846         * ShareContainer.h: make isEqual and isUnique adaptable
847
848         * CutAndPaste.C: make resetOwnerAndChanges adaptable
849
850 2004-01-07  Angus Leeming  <leeming@lyx.org>
851
852         * LyXAction.C:
853         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
854
855         * BufferView_pimpl.C (dispatch): act on these LFUNs.
856
857         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
858         functions replacing find, replace and replaceAll.
859
860         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
861         LFUN_WORDFIND(FORWARD|BACKWARD).
862
863 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
864
865         * text.C (breakParagraph): remove an outdated #warning
866
867 2004-01-07  André Pönitz  <poenitz@gmx.net>
868
869         * lyxfind.C: somewhat clearer logic
870
871         * text.C: prevent crash in cursorX on unitialized row cache
872
873 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
874
875         * lyxcursor.[Ch] (operator>): add
876         * textcursor.C (selStart, selEnd): use std::min and std::max
877
878 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
879
880         * Chktex.C: include boost/format.hpp
881
882 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
883
884         * InsetList.C: replace functor MathcIt with adaptable functor
885         InsetTablePosLess
886         (insetIterator): modify accordingly
887
888         * BranchList.h: move the BranchNamesEqual functor here from...
889         * BranchList.C: ... to here
890
891         * BranchList.C: new BranchListEqual fuctor, use it. Remove
892         SameName and match.
893         (add): replace a finding loop with std::find_if.
894
895 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
896
897         * output_docbook.C: moving LatexParam functionality into
898         .layout files
899
900 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
901
902         * buffer.C: increment format to 229.
903
904 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
905
906         * LaTeXFeatures.C:
907         * lyx_sty.[Ch]: remove minipageindent_def
908
909         * LyXAction.C:
910         * factory.C:
911         * lfuns.h:
912         * lyxfunc.C:
913         * text3.C: remove LFUN_INSET_MINIPAGE
914
915 2003-12-28  Angus Leeming  <leeming@lyx.org>
916
917         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
918
919 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
920
921         * text2.C (setParagraph): fix off-by-one crash
922
923 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
924
925         * output_docbook.C: header stuff for AGU
926
927 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
928
929         * text2.C (redoCursor): remove
930         * text.C:
931         * text3.C:
932         * BufferView_pimpl.C: remove calls to redoCursor and
933         setCursor(cursor.par(), cursor.pos()) all around
934
935 2003-12-15  Angus Leeming  <leeming@lyx.org>
936
937         * buffer.C: up the format to 228.
938
939 2003-12-15  André Pönitz  <poenitz@gmx.net>
940
941         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
942         slices
943
944         * Makefile.am:
945
946         * BufferView_pimpl.C:
947         * cursor.[Ch]:
948         * lyxcursor.[Ch]:
949         * rowpainter.[Ch]:
950         * lyxtext.h:
951         * text.C:
952         * text2.C:
953         * text3.C: adjust
954
955 2003-12-15  Angus Leeming  <leeming@lyx.org>
956
957         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
958         than getFromGUIName to manipulate the color.
959
960 2003-12-14  Angus Leeming  <leeming@lyx.org>
961
962         * BranchList.[Ch]: minimize the API.
963         (Branch::getBranch, getColor): now return a 'const &'.
964         (Branch::setSelected) now returns a bool set to true if the
965         selection status changes.
966         (BranchList::clear, size, getColor, setColor, setSelected,
967         allBranches, allSelected, separator): removed.
968         (BranchList::find): new functions, returning the Branch with
969         the given name.
970         (BranchList::add, remove): return a bool indicating that
971         the operation was successful.
972
973         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
974         new InsetBranch::isBranchSlected member function.
975
976         * LColor.[Ch]: mimimize the API.
977         (fill): renamed as addColor and made private.
978         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
979         versions of these functions taking a string arg have been removed.
980
981         * bufferparams.C (readToken):
982         * lyxfunc.C (dispatch):
983         * lyxrc.C (read): changes due to the altered BranchList and
984         LColor APIs.
985
986         * factory.C (createInset, readInset): changes due to altered
987         InsetBranch c-tor.
988
989 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
990
991         * factory.C:
992         * lyxfunc.C: remove insetminipage. "minipage-insert"
993         now produces a frameless minipage box inset.
994
995 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
996
997         * textcursor.[Ch] (selStart,selEnd): add new methods
998         remove selection::start, end, use LyXCursor::operator<
999         * lyxcursor.[Ch] (operator<): add
1000         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1001         * BufferView.[Ch] (unsetXSel): add
1002         * text2.C (clearSelection): use unsetXSel,adjust
1003         * text.C: adjust
1004         * text3.C: adjust
1005         * rowpainter.C: adjust
1006         * bufferview_funcs.C (put_selection_at): adjust
1007
1008 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1009
1010         * BufferView_pimpl.C: small coord. correction
1011
1012 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1013
1014         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1015         dragging over the splash screen.
1016
1017 2003-12-11  Angus Leeming  <leeming@lyx.org>
1018
1019         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1020         as it is now handled in LyXText::dispatch.
1021
1022         * text3.C (doInsertInset): remove a level of nesting.
1023
1024 2003-12-11  Angus Leeming  <leeming@lyx.org>
1025
1026         * factory.C (createInset): changes due to the changed interface to
1027         InsetCommandMailer::string2params.
1028
1029 2003-12-10  Angus Leeming  <leeming@lyx.org>
1030
1031         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1032         'dialog-show-new-inset <inset name>'
1033
1034 2003-12-10  Angus Leeming  <leeming@lyx.org>
1035
1036         * buffer.C: up the format to 227.
1037
1038         * factory.C: the box inset is now identified simply by 'Box'.
1039
1040 2003-12-10  Angus Leeming  <leeming@lyx.org>
1041
1042         * buffer.C: up the format to 226.
1043
1044         * factory.C: the note inset is now identified simply by 'Note'.
1045
1046 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
1047
1048         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1049         when a pit is enough. Standarize a couple of loops.
1050
1051 2003-12-05  Angus Leeming  <leeming@lyx.org>
1052
1053         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1054         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1055         data to the re-worked "log" dialog.
1056
1057 2003-12-03  André Pönitz  <poenitz@gmx.net>
1058
1059         * PosIterator.C:
1060         * iterators.C:
1061         * lyxtext.h:
1062         * output_latex.C:
1063         * paragraph_funcs.C:
1064         * text.C:
1065         * text2.C: use Inset::getText instead of Inset::getParagraph
1066
1067 2003-12-03  André Pönitz  <poenitz@gmx.net>
1068
1069         * buffer.[Ch]:
1070         * lyxtext.h:
1071         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1072         InsetText::read() as LyXText::read()
1073
1074 2003-12-02  Angus Leeming  <leeming@lyx.org>
1075
1076         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1077         type. Add a comment in the implementation that the function uses
1078         the stream's bad() function rather than fail() as the std::streams
1079         would do.
1080
1081 2003-12-02  André Pönitz  <poenitz@gmx.net>
1082
1083         * lyxlex.[Ch]: make interface more similar to std::stream
1084
1085         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1086
1087 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
1088
1089         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
1090
1091 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
1092
1093         * vspace.[Ch]: remove VSpace::NONE
1094
1095 2003-12-01  André Pönitz  <poenitz@gmx.net>
1096
1097         * buffer.[Ch]:
1098         * lyxtext.h: move ParagraphList member to LyXText
1099         rename LyXText::ownerParagraphs to LyXText::paragraph
1100
1101         * CutAndPaste.C:
1102         * bufferview_funcs.C:
1103         * iterators.[Ch]:
1104         * lyx_cb.C:
1105         * paragraph.C:
1106         * rowpainter.C:
1107         * tabular.C:
1108         * text.C:
1109         * text2.C:
1110         * text3.C: adjust
1111
1112         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
1113
1114         * undo.C: fix cursor positioning
1115
1116 2003-12-01  John Levon  <levon@movementarian.org>
1117
1118         * BufferView_pimpl.C: fix a crash on exit with
1119         a buffer open
1120
1121 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
1122
1123         * BranchList.C: fix setSelected() method.
1124
1125 2003-11-28  André Pönitz  <poenitz@gmx.net>
1126
1127         * ParagraphParameters.[Ch]:
1128         * ParameterStruct.h: remove space above/below from Paragraph to
1129          InsetVSpace
1130
1131         * BufferView_pimpl.C:
1132         * factory.C:
1133         * lyxfunc.C:
1134         * lyxtext.h:
1135         * output_latex.C:
1136         * paragraph.C:
1137         * paragraph_funcs.C:
1138         * rowpainter.[Ch]:
1139         * text.C:
1140         * text2.C:
1141         * text3.C: adjust
1142
1143 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
1144
1145         * factory.C: Syntax change for CharStyles
1146
1147 2003-11-28  André Pönitz  <poenitz@gmx.net>
1148
1149         * BufferView.[Ch]:
1150         * BufferView.[Ch]:
1151         * buffer.[Ch]:
1152         * buffer.[Ch]: move LyXText member
1153
1154 2003-11-28  André Pönitz  <poenitz@gmx.net>
1155
1156         * BufferView.[Ch]: make LyXText * text a private member
1157
1158         * BufferView_pimpl.C:
1159         * cursor.C:
1160         * iterators.C:
1161         * lyx_cb.C:
1162         * lyxfind.C:
1163         * lyxtext.h:
1164         * rowpainter.[Ch]:
1165         * text.C:
1166         * text2.C:
1167         * undo.C: adjust
1168
1169         * output_plaintext.C: cleanup
1170
1171 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * buffer.C:
1174         * lyxtextclass.[Ch]: parametrize SGML document header
1175
1176 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
1177
1178         * converter.[Ch]:
1179         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
1180         getFlavor().
1181
1182 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
1183
1184         * text2.C (setFont): rework using PosIterator (no more recursive)
1185         (setCharFont): no more needed
1186         (setLayout): no more selection cursors fiddling (done by redoCursor)
1187         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
1188         destroy remaining ones)
1189
1190 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
1191
1192         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
1193         * lyxtext.h: ditto
1194         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
1195         selection cursors
1196         * lyxfunc.C: adjust
1197         * text3.C: adjust + re-allow multi par depth changes
1198         * textcursor.C: simplify a bit
1199
1200 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
1201
1202         * src/buffer.C:
1203         * src/lyxlayout.C:
1204         * src/lyxlayout.h:
1205         * src/lyxtext.h:
1206         * src/output_docbook.C:
1207         * src/output_latex.C:
1208         * src/paragraph.C:
1209         * src/paragraph.h:
1210         * src/sgml.C:
1211         * src/sgml.h:
1212         * src/text2.C: Introducing a number of tags parametrizing various
1213         XML formats that we may want to support
1214
1215 2003-11-25  André Pönitz  <poenitz@gmx.net>
1216
1217         * InsetList.[Ch] (begein, end): inline as suggested by profiler
1218
1219         * lyxtext.h (leftMargin/rightMargin): simplify interface
1220
1221         * rowpainter.C:
1222         * text.C:
1223         * text2.C:
1224         * text3.C: adjust
1225
1226 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1227
1228         * lyxfunc.C (dispatch): propogate the bibtex databases from the
1229         master file to any child files. Fixes bug 546.
1230
1231 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1232
1233         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
1234
1235 2003-11-24  André Pönitz  <poenitz@gmx.net>
1236
1237         * rowpainter.C: simplification
1238
1239         * text2.C (updateCounters): remove call to redoParagraph on
1240         changed labels as this is far too expensive.
1241
1242 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1243
1244         * converter.C (convert): fix a crash: this function gets
1245         called with buffer == 0 from importer code.
1246
1247 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1248
1249         * text3.C (cursorPrevious): make sure that we do not compare
1250         iterators form different containers.
1251         (cursorNext): ditto
1252
1253         * rowpainter.C (paintSelection): make sure that we do not compare
1254         iterators from different containers.
1255
1256         * text3.C (dispatch): [PRIOR] make sure that we do not compare
1257         iterators from different ParagraphList containers.
1258         [NEXT] ditto
1259
1260         * text2.C (LyXText): change order of initialization slightly
1261         (operator=): new function. copy all variables except cache_par_
1262         (moveUp): make sure that we do not compare iterators from
1263         different ParagraphList constainers.
1264         (moveDown): ditto
1265
1266         * text.C (firstPar): new function
1267         (lastPar): new function
1268         (endPar): new function
1269
1270         * lyxtext.h: move things around and group public functions, public
1271         variables, private functions, private variables
1272
1273 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
1274
1275         * factory.C: change call to InsetERT constructor to avoid
1276         additional invocation of method status
1277         * text2.C (toggleInset): remove redundant update() call
1278         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
1279         instead of a Bufferview pointer
1280
1281 2003-11-21  André Pönitz  <poenitz@gmx.net>
1282
1283         * rowpainter.C: simplification
1284
1285 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1286
1287         * text3.C (dispatch): make possible to extend a word/row selection
1288         with the mouse
1289
1290 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
1291
1292         * lyxtext.h: x0_,y0_ -> xo_,yo_
1293         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
1294         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
1295         * rowpainter.C (paintRows): paint full paragraphs
1296
1297 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1298
1299         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
1300         screen coordinates)
1301
1302 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
1303
1304         * lyxtext.h: add x0_, y0_
1305         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
1306         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
1307
1308 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
1309
1310         * text2.C (setCursorIntern): move the x_target update here *
1311         * text3.C: change some bv() to true/false in calls to
1312         cursorUp/Down/Right/Left
1313         * cursor.C: use helper function.
1314
1315 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1316
1317         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
1318         * paragraph_funcs.[Ch]: correct comment
1319         * rowpainter.C: do not paint selections away from bv->cursor()
1320         Fix a long standing selection painting bug.
1321         * text3.C: generalize mouse-selection code to LyXTexts other that
1322         top one
1323         * textcursor.C: do not use y coords if we can use par offsets
1324
1325 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
1328         cursor position after e.g. inset insert)
1329
1330 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
1331
1332         * lyxfind.C (replace): adjust to locking removal + some
1333         code simplification
1334
1335 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
1336
1337         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
1338         of the path
1339
1340 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
1341
1342         * lyxlayout.[Ch]:
1343         * output_docbook.C: XML sanitation: new layout
1344         parameters InnerTag and CommandDepth
1345
1346 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
1347
1348         * BufferView_pimpl.C:
1349         * factory.C:
1350         * text3.C: Fix the insertion and modification of button-style
1351         insets
1352
1353 2003-11-13  André Pönitz  <poenitz@gmx.net>
1354
1355         * InsetList.[Ch]: remove deleteLyXText
1356
1357         * paragraph.[Ch]: cache beginOfBody position
1358
1359         * Bidi.C:
1360         * text.C:
1361         * text2.C:
1362         * text3.C: remove superfluous update() calls
1363
1364         * vspace.C: cleanup
1365
1366 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
1367
1368         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
1369         * BufferView.C (fitLockedInsetCursor): remove
1370         * cursor.[Ch] (getDim): add
1371         * text.C (getRowNearY): add faster version
1372         * text3.C: remove some update calls
1373
1374 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
1375
1376         * LaTeXFeatures.C:
1377         * LyXAction.C:
1378         * MenuBackend.C:
1379         * MenuBackend.h:
1380         * dispatchresult.h:
1381         * factory.C:
1382         * lfuns.h:
1383         * lyxfunc.C:
1384         * lyxtextclass.C:
1385         * lyxtextclass.h:
1386         * text3.C: The Character Style /XML short element patch.
1387
1388 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
1389
1390         * text3.C:
1391         * factory.C: Small step to solving 'unable to insert some insets'
1392         problem
1393
1394 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1395
1396         * cursor.[Ch] (updatePos): new function for updating the y
1397         position of the tip inset
1398         * bufferview_funcs.C (put_selection_at):
1399         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
1400
1401 2003-11-11  André Pönitz  <poenitz@gmx.net>
1402
1403         * text.C: remove big comment on invalid Paragraph pointers as it is
1404         not valid anymore
1405
1406 2003-11-11  André Pönitz  <poenitz@gmx.net>
1407
1408         * text_funcs.[Ch]: merge with ...
1409
1410         * text.C: ... this
1411
1412         * lyxtext.h:
1413         * text2.C:
1414         * text3.C: adjust
1415
1416         * Makefile.am: remove text_funcs.[Ch]
1417
1418 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
1419
1420         * cursor.C (getPos): return absolute cached y coord
1421
1422         * BufferView_pimpl.C (fitCursor): new simplistic code
1423         (workAreaDispatch): add a fitCursor call
1424
1425 2003-11-10  André Pönitz  <poenitz@gmx.net>
1426
1427         * BufferView.[Ch]:
1428         * BufferView_pimpl.[Ch]: merge update() and updateInset()
1429
1430 2003-11-10  André Pönitz  <poenitz@gmx.net>
1431
1432         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
1433         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
1434         indicate that the cursor needs to leave an inset
1435
1436         * lyxtext.h: remove inset locking
1437
1438         * cursor.[Ch]: re-implement functionality provided by inset locking
1439
1440         * BufferView.[Ch]:
1441         * BufferView_pimpl.[Ch]:
1442         * LyXAction.C:
1443         * bufferview_funcs.[Ch]:
1444         * factory.C:
1445         * funcrequest.[Ch]:
1446         * iterators.C:
1447         * lyx_cb.C:
1448         * lyxfind.C:
1449         * lyxfunc.C:
1450         * text.C:
1451         * text2.C:
1452         * text3.C:
1453         * undo.C: adjust
1454
1455 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
1456
1457         * PosIterator.[Ch]: replace the stack with a vector, add inset
1458         accesor
1459         * iterators.[C]: adjust
1460
1461 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1462
1463         * lyxfind.C (replaceAll): mark the buffer dirty if something was
1464         replaced
1465         * paragraph_funcs.C (readParToken): put the correct id in the
1466         error item, not the id of the top paragraph
1467
1468 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
1469
1470         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
1471         * bufferview_funcs.C (put_selection_at): use the above
1472
1473 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1474
1475         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
1476
1477 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1478
1479         * output_linuxdoc.h:
1480         * output_plaintext.h:
1481         * output.h:
1482         * output_docbook.h: add #include statements
1483
1484 2003-11-05  José Matos  <jamatos@lyx.org>
1485
1486         * output_docbook.[Ch]:
1487         * output_latex.[Ch]:
1488         * output_linuxdoc.[Ch]:
1489         * output_plaintext.[Ch]: New files for output formats.
1490         * output.[Ch]: New file for helper functions.
1491
1492         * buffer.[Ch]:
1493         * paragraph_funcs.[Ch]: output functions moved to new files.
1494
1495         * outputparams.h: rename of latexrunparams.h
1496
1497         * LaTeX.[Ch]:
1498         * buffer.[Ch]:
1499         * bufferlist.[Ch]:
1500         * converter.[Ch]:
1501         * exporter.C:
1502         * paragraph.[Ch]:
1503         * paragraph_funcs.[Ch]:
1504         * paragraph_pimpl.[Ch]:
1505         * tabular.[Ch]: rename ascii to plaintext
1506         and LatexRunParams to OutputParams.
1507
1508 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1509
1510         * iterators.[Ch] (text): require bv argument
1511         * undo.C (recordUndo):
1512         * lyxfunc.C (dispatch):
1513         * bufferview_funcs.C (put_selection_at): adjust
1514
1515 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
1516
1517         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
1518
1519 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
1520
1521         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
1522         nestings
1523
1524 2003-11-04  André Pönitz  <poenitz@gmx.net>
1525
1526         * cursor.[Ch]: restructure
1527
1528         * BufferView.[Ch]:
1529         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
1530
1531         * iterators.[Ch] (asCursor): remove
1532
1533         * lfuns.h: remove LFUN_INSET_EDIT
1534
1535         * lyxfunc.C:
1536         * tabular.C:
1537         * text.C:
1538         * text2.C:
1539         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
1540
1541 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1542
1543         * lyxfind.[Ch]: complete overhaul
1544         * BufferView_pimpl.C:
1545         * lyxfunc.C: adjust
1546         * paragraph.[Ch] (insert): add
1547
1548 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1549
1550         * BufferView.[Ch]:
1551         * lyxtext.h:
1552         * text.C: remove dead spellcheck code
1553
1554 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1555
1556         * dispatchresult.h: add a val setter
1557
1558         * cursor.C (dispatch): use a tempvar for data_[i]
1559
1560 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1561
1562         * PosIterator.[Ch]: compile fix
1563
1564 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
1565
1566         * text.C (cursorPar): deactivate the cursor cache
1567
1568 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1569
1570         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
1571
1572 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1573
1574         * text3.C (dispatch): adjust for new DisptchResult semantics.
1575
1576         * lyxfunc.C (dispatch): handle update when return from
1577         Cursor::dispatch, adjust for new DispatchResult semantics.
1578
1579         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
1580         DispatchResult(true) mean to not update. Add class functions for
1581         setting dispatched and update, as well as reading.
1582
1583         * cursor.C (dispatch): don't handle update here
1584
1585 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1586
1587         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
1588         * trans_mgr.C: adjust
1589
1590         * paragraph_funcs.C (readParToken): exception safety
1591
1592         * lyxvc.h: store the vcs pointer in a scoped_ptr
1593         * lyxvc.C: adjust
1594
1595         * lyxsocket.C (serverCallback): exception safety
1596
1597         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
1598
1599         * ispell.C (clone): make it return a auto_ptr
1600
1601         * factory.C (createInset): exception safety
1602         (readInset): exception safety
1603
1604         * bufferlist.C (newBuffer): exception safety
1605
1606         * Thesaurus.C (Thesaurus): use initialization for aik_
1607
1608         * MenuBackend.C (expandToc): exception safety.
1609
1610 2003-11-03  André Pönitz  <poenitz@gmx.net>
1611
1612         * buffer.C:
1613         * buffer.h:
1614         * bufferview_funcs.C: remove getInsetFromId()
1615
1616         * lyxcursor.[Ch]:
1617         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
1618
1619         * lyxfunc.C:
1620         * text2.C:
1621         * text3.C: adjust
1622
1623 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
1624
1625         * PosIterator.C (distance, advance): new
1626         * bufferview_funcs.[Ch] (put_selection_at): new
1627         * iterators.[Ch] (lockPath): new
1628
1629 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
1630
1631         * iterators.[Ch] (asPosIterator): added
1632         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
1633         * PosIterator.[Ch]: added
1634
1635 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1636
1637         * text3.C:
1638         * lyxfunc.C:
1639         * cursor.C (dispatch):
1640         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
1641
1642         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
1643         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
1644         contructor, add a class function dispatched. Remove operator>=
1645
1646 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1647
1648         * debug.C: only use the default constructor for debugstream
1649         (lyxerr) here.
1650
1651         * main.C (main): include debug.h and setup the lyxerr streambuf
1652         here.
1653
1654 2003-10-31  José Matos  <jamatos@lyx.org>
1655
1656         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
1657
1658         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
1659         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
1660         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1661         * paragraph_pimpl.C (simpleTeXSpecialC):
1662         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
1663         add LatexRunParams argument.
1664
1665         * exporter.C (Export): change call accordingly.
1666
1667         * latexrunparams.h: add new member to take care of the other backends.
1668 2003-10-30  José Matos  <jamatos@lyx.org>
1669
1670         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1671         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
1672         factorise code for paragraph output.
1673         * buffer.[Ch]:
1674         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
1675         move functions.
1676
1677 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1678
1679         * text3.C (dispatch):
1680         * lyxfunc.C (dispatch):
1681         * cursor.C (dispatch):
1682         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
1683
1684         * dispatchresult.h: make the dispatch_result_t ctor explicit
1685
1686 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
1687
1688         * sgml.[Ch]:
1689         * buffer.C: small refactoring of docbook stuff
1690
1691 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1692
1693         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
1694         meaning.
1695
1696 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1697
1698         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
1699         operator dispatch_result_t, and operators for == != and >=
1700
1701         * cursor.C (dispatch): adjust for operator dispatch_result_t
1702         removal. comment out call to update
1703
1704         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
1705
1706 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1707
1708         * text3.C:
1709         * text2.C:
1710         * text.C:
1711         * lyxtext.h:
1712         * lyxfunc.C:
1713         * cursor.C:
1714         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
1715         (dispatch):
1716
1717         * dispatchresult.h: new file, DispatchResult broken out of
1718         insets/insetbase.h
1719
1720         * Makefile.am (lyx_SOURCES): add dispatchresult.h
1721
1722 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1723
1724         * text.C (rowBreakPoint): put a hack inside #if 0
1725
1726 2003-10-28  André Pönitz  <poenitz@gmx.net>
1727
1728         * lyxtext.h:
1729         * metricsinfo.C:
1730         * paragraph_funcs.C:
1731         * rowpainter.C:
1732         * text.C:
1733         * text2.C: general cleanup (lots of small stuff)
1734
1735 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
1736
1737         * text2.C (cursorEnd): simple fix to the "end key goes to one
1738         before the end on last row" bug
1739
1740 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1741
1742         * text.C (backspace): fix the "zombie characters"
1743
1744 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1745
1746         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
1747
1748 2003-10-27  André Pönitz  <poenitz@gmx.net>
1749
1750         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
1751
1752         * factory.C: handle new InsetPagebreak, InsetLine
1753
1754         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
1755         and move handling into new InsetPagebreak, InsetLine
1756
1757         * BufferView_pimpl.C:
1758         * LyXAction.C:
1759         * ParagraphParameters.C:
1760         * ParameterStruct.h:
1761         * lyxfunc.C:
1762         * lyxtext.h:
1763         * paragraph.C:
1764         * paragraph.h:
1765         * paragraph_funcs.C:
1766         * paragraph_pimpl.C:
1767         * rowpainter.C:
1768         * text.C:
1769         * text2.C:
1770         * text3.C: adjust
1771
1772 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1773
1774         * text.C:
1775         * lyxrow_funcs.[Ch]:
1776         * Bidi.C:
1777         * paragraph.C:
1778         * lyxtext.h:
1779         * rowpainter.C:
1780         * text2.C:
1781         * text3.C: remove lastPos uses in favour of Row::endpos
1782
1783 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
1784
1785         * undo.C (performUndoOrRedo): fix two crashes by setting a
1786         cursor by hand and reordering some calls. Use bv->lockInset instead
1787         of inset->edit because the latter loses cursor information
1788
1789 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
1790
1791         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
1792         by Martin
1793         (rowBreakPoint): fix width. change point to point + 1.
1794         Add a missing check.
1795
1796 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
1797
1798         * MenuBackend.C:
1799         * lyxfunc.C: fix (at least partly) the problems
1800         with the Nav menu and headers inside branch insets
1801         reported by Kayvan
1802
1803 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
1804
1805         * paragraph.C (getChar): add strong asserts
1806
1807         * lyxrow_funcs.C (lastPos): remove hideous hack
1808
1809         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
1810         (fill): adjust to that (avoid an infinite loop)
1811
1812 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1813
1814         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
1815
1816 2003-10-23  André Pönitz  <poenitz@gmx.net>
1817
1818         * RowList_fwd.h: change list<> to vector<> to gain speed
1819         after suggestion from Alfredo
1820
1821 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
1822
1823         * lyxtext.h: move the bidi stuff from here...
1824         * text.C: and here
1825         * text2.C: and here
1826         * Bidi.[Ch]: ... to here
1827
1828 2003-10-23  André Pönitz  <poenitz@gmx.net>
1829
1830         * lyxtext.h:
1831         * text.C (isLastRow, isFirstRow): new functions
1832
1833         * paragraph.h: new width cache member
1834
1835         * rowpainter.C: replace RowList::iterator with Row & where possible
1836
1837         * lyxfunc.C: replace several view()->text with a single call
1838
1839         * toc.C: fix 'unused' warning
1840
1841 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1842
1843         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
1844         when woring with stream::pos_type
1845         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
1846
1847 2003-10-22  André Pönitz  <poenitz@gmx.net>
1848
1849         * lyxtext.h:
1850         * text.C: use Row & instead of RowList::iterator
1851
1852         * lyxrow.h: rename end() to endpos()
1853
1854         * rowpainter.C:
1855         * text.C:
1856         * text2.C: adjust
1857
1858 2003-10-22  Angus Leeming  <leeming@lyx.org>
1859
1860         * buffer.[Ch] (fully_loaded): new member function, returning true
1861         only when the file has been loaded fully.
1862         Used to prevent the premature generation of previews and by the
1863         citation inset to prevent computation of the natbib-style label.
1864
1865         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
1866         templates are all set up.
1867
1868         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
1869
1870 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
1871
1872         * text.C: fixed an "oops" in the "is a bit silly"
1873         bug fix
1874
1875 2003-10-21  André Pönitz  <poenitz@gmx.net>
1876
1877         * FuncStatus.[Ch]: small stuff, whitespace
1878
1879         * lyxfont.[Ch]: operator<<() for debug reasons
1880
1881         * lyxfunc.C:
1882         * lyxrow_funcs.C:
1883         * lyxtext.h: whitespace, spelling
1884
1885         * paragraph.C: naming of variables
1886
1887         * text.C:
1888         * text2.C: small stuff
1889
1890
1891 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
1892
1893         * text.C: (1) finish off the inset display() work;
1894         (2) fix the "is a bit silly" bug (accessing char
1895         past end of par).
1896
1897 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
1898
1899         * text.C: re-introduce display() for insets, fixing the
1900         various bugs (stretch of line above, math inset
1901         positioning, ...)
1902
1903 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1904
1905         * text.C (rightMargin): remove spurious semicolon
1906
1907         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
1908         1415)
1909
1910 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
1911
1912         * text3.C: fix one crash due to wrong cursor def
1913
1914 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1915
1916         * vc-backend.C (scanMaster): make the regex static
1917
1918         * LaTeX.C (scanAuxFile): make the regexs static
1919
1920         * text3.C (doInsertInset, dispatch, dispatch):
1921         * text2.C (cursorUp, cursorDown):
1922         * text.C (selectNextWordToSpellcheck):
1923         * BufferView_pimpl.C (dispatch):
1924         * lyxfunc.C (dispatch):  localDispatch -> dispatch
1925
1926 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1927
1928         * lyxsocket.C: include <cerrno>
1929
1930 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1931
1932         * lyxfunc.C (dispatch): remove textcache stuff
1933
1934         * bufferlist.C (release): remove textcache stuff
1935         (closeAll): ditto
1936
1937         * TextCache.C: delete file
1938         * TextCache.h: delete file
1939
1940         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
1941
1942         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
1943         delete of the bv_->text.
1944         (resizeCurrentBuffer): remove texcache stuff
1945         (workAreaResize): ditto
1946
1947 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1948
1949         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
1950         action.
1951
1952 2003-10-16  André Pönitz  <poenitz@gmx.net>
1953
1954         * lyxrow.[Ch]:
1955         * paragraph.h:
1956         * rowpainter.C:
1957         * text.C:
1958         * text2.C:
1959         * text3.C: speed up by storing y positions per paragraph plus per-row
1960         offset instead of having a 'full' y position in the row.
1961
1962 2003-10-15  André Pönitz  <poenitz@gmx.net>
1963
1964         * iterators.[Ch]:
1965         * iterators.[Ch]:
1966         * undo.[Ch]: make undo aware of inner insets
1967
1968 2003-10-14  Angus Leeming  <leeming@lyx.org>
1969
1970         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
1971         static member functions LyX::ref() and LyX::cref.
1972         (lastfiles): new accessor functions for the new lastfiles_ member var.
1973         (addLyXView, views_): add a new LyXView to the list of views_.
1974         (updateInset): loop over all LyXViews to call their own updateInset
1975         member function, returning a pointer to the Buffer owning the inset.
1976
1977         * BufferView_pimpl.C (loadLyXFile):
1978         * MenuBackend.C (expandLastfiles):
1979         * bufferlist.C (MenuWrite, QuitLyX):
1980         lastfiles is no longer a global variable.
1981         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
1982
1983         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
1984         static function. Access through LyX::cref().emergencyCleanup().
1985
1986 2003-10-14  André Pönitz  <poenitz@gmx.net>
1987
1988         * iterators.[Ch]: new direct access to innermost LyXText and Inset
1989
1990         * undo.[Ch]: restoring part of 'undo in insets'
1991
1992         * Makefile.am:
1993         * undo_funcs.[Ch]: merge with undo.[Ch]
1994
1995         * tabular.C: small cleansing stuff
1996
1997 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
1998
1999         * paragraph_funcs.C (readParToken): report unknown insets as error
2000         boxes. Use the outer paragraph as location (also for unknown
2001         tokens).
2002
2003         * factory.C (readInset): do not abort on reading an unknown inset.
2004         Eat it and return 0.
2005
2006 2003-10-13  Angus Leeming  <leeming@lyx.org>
2007
2008         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2009
2010         * lyxrc.C: displayTranslator is now a function,
2011         declared in GraphicsTypes.h.
2012
2013 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2014
2015         * format.C: new placeholder $$a to pass the socket address.
2016
2017         * bufferlist.[Ch]: new function getBufferFromTmp.
2018
2019         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2020           files in the temporary dir.
2021
2022 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2023
2024         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2025
2026         * Makefile.am: add lyxsocket.[Ch].
2027
2028         * lyx_main.C (error_handler): handle SIGPIPE.
2029
2030 2003-10-13  André Pönitz  <poenitz@gmx.net>
2031
2032         * BufferView_pimpl.C:
2033         * lyxtext.h:
2034         * text.C:
2035         * text2.C:
2036         * text3.C:
2037         * undo_funcs.[Ch]: use paroffset_type instead of
2038           ParagraphList::iterators to prevent multiple conversion
2039           (and get a more robust interface)
2040
2041 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2042
2043         * lyxfunc.C (dispatch): RESULT -> dispatch_result
2044         * lyxtext.h: ditto
2045         * text3.C (dispatch): ditto
2046
2047 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2048
2049         * LaTeX.C (handleFoundFile): move the static to smaller scope,
2050         move the onlyfile, use onlyfile instead of foundfile in a couple
2051         of places.
2052
2053         * DepTable.C (update): flush the error stream a bit more
2054
2055 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2056
2057         * lyxserver.C (callback): adjust
2058
2059         * lyxfunc.C (getStatus): add a missing brace in commented code
2060         (ensureBufferClean): reindent
2061         (dispatch): delete version taking a string
2062
2063 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2064
2065         * LaTeX.C (deplog): move found file handlig from here...
2066         (handleFoundFile): .. to new function here.
2067         (deplog): make sure to discover several files mentioned on the
2068         same log line.
2069
2070 2003-10-10  André Pönitz  <poenitz@gmx.net>
2071
2072         * lyxfunc.C:
2073         * lyxtext.h:
2074         * tabular.C:
2075         * text.C:
2076         * text2.C:
2077         * text3.C: fix some of the tabular crashes
2078
2079 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2080
2081         * MenuBackend.C (binding): put debug message into Debug::KBMAP
2082
2083         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2084
2085 2003-10-09  André Pönitz  <poenitz@gmx.net>
2086
2087         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
2088
2089         * BufferView.C:
2090         * BufferView_pimpl.C:
2091         * bufferview_funcs.C:
2092         * lyx_cb.C:
2093         * lyxcursor.C:
2094         * lyxfind.C:
2095         * lyxfunc.C:
2096         * lyxtext.h:
2097         * text.C:
2098         * text2.C:
2099         * text3.C:
2100         * text_funcs.[Ch]:
2101         * textcursor.[Ch]:
2102         * undo_funcs.C: adjust
2103
2104 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2105
2106         * text2.C (incrementItemDepth): new function, use a backtracking
2107         algorithm to discover the correct item depth.
2108         (resetEnumCounterIfNeeded): new function, use a backtracking
2109         algorithm to discover if counter reset is needed.
2110         (setCounter): use them. Simplify a bit. Add different labels for
2111         different item depths for itemize.
2112
2113         * paragraph.C (Paragraph): remove initialization of enumdepth
2114         (operator=): ditto
2115
2116         * paragraph.h: get rid of enumdepth, and use itemdepth both for
2117         enumerate and itemize. Change the type of itemdepth to signed char.
2118
2119 2003-10-08  André Pönitz  <poenitz@gmx.net>
2120
2121         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
2122           thing assignable.
2123         * text.C:
2124         * text2.C: adjust
2125
2126         * tabular.[Ch]: fix crash after 'row-insert'
2127
2128 2003-10-08  Angus Leeming  <leeming@lyx.org>
2129
2130         Fix doxygen warnings.
2131
2132         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
2133         Remove CutAndPaste:: prefix from header file declaration.
2134
2135         * LColor.h (fill): remove LColor:: prefix from declaration.
2136
2137         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
2138         use lyx::depth_type rather than Paragraph::depth_type so that
2139         header file and .C file match.
2140
2141         * converter.h (intToFormat): remove Converters:: prefix from declaration.
2142
2143         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
2144         * aspell.C: \file aspell_local.C -> \file aspell.C
2145         * gettext.C: \file gettext.C -> \file src/gettext.C
2146         * gettext.h: \file gettext.h -> \file src/gettext.h
2147         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
2148         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
2149         * text.C: \file text.C -> \file src/text.C
2150
2151         * toc.C: move comment so that doxygen is not confused.
2152
2153 2003-10-07  Angus Leeming  <leeming@lyx.org>
2154
2155         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
2156
2157 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2158
2159         * aspell.C:
2160         * aspell_local.h: add forgotten std::string's.
2161
2162 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2163
2164         * LaTeXFeatures.C:
2165         * LyXAction.C:
2166         * factory.C:
2167         * lfuns.h:
2168         * lyxfunc.C:
2169         * text3.C: The Box patch. Fancybox support, minipage, parbox
2170
2171 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
2172
2173         * CutAndPaste.h:
2174         * DepTable.h:
2175         * FloatList.h:
2176         * LaTeXFeatures.h:
2177         * ParagraphParameters.h:
2178         * TextCache.h:
2179         * Thesaurus.h:
2180         * bufferlist.h:
2181         * exporter.h:
2182         * importer.h:
2183         * lastfiles.h:
2184         * lyxfind.h:
2185         * lyxfont.h:
2186         * lyxlex.h:
2187         * lyxtextclasslist.h:
2188         * messages.h:
2189         * paragraph.h:
2190         * paragraph_pimpl.C:
2191         * textcursor.h: add <string> and other small fixes to make Lars'
2192         std::string patch compile with STLport.
2193
2194 2003-10-06  Angus Leeming  <leeming@lyx.org>
2195
2196         * LColor.h: Add missing #include <string>.
2197
2198 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2199
2200         * All most all file in all subdirs: Make <string> be the prefered
2201         way of getting to std::string, add using declarations.
2202
2203 2003-10-06  André Pönitz  <poenitz@gmx.net>
2204
2205         * metricsinfo.C: initialize LyXFont before changing attribute.
2206         (fixes the 'math in \emph is upright' bug)
2207
2208 2003-10-06  André Pönitz  <poenitz@gmx.net>
2209
2210         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
2211
2212 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
2213
2214         * graph.C:
2215         * paragraph_pimpl.C: Small fixes to build using STLport
2216
2217 2003-10-02  André Pönitz  <poenitz@gmx.net>
2218
2219         * lyxfunc.C:
2220         * text3.C: move handling of LFUN_DEPTH *; fix #1360
2221
2222 2003-10-01  André Pönitz  <poenitz@gmx.net>
2223
2224         * factory.C: assert early
2225
2226 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2227
2228         * lyx_main.C: remove the global debug object
2229
2230         * debug.h: adjust for new debugstream
2231
2232         * debug.C: adjust for new debugstream and keep the global debug
2233         object here.
2234
2235 2003-09-22  Angus Leeming  <leeming@lyx.org>
2236
2237         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
2238         of g++ which otherwise complain that the scoped_ptr destructor can't delete
2239         an incomplete class LyXFont.
2240
2241 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
2242
2243         * factory.C: bug fix in branches
2244
2245 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2246
2247         * lyxfunc.C (processKeySym): adjust
2248         (dispatch): adjust
2249         (dispatch): change arg name from ev to func, adjust
2250         (sendDispatchMessage): ditto
2251
2252         * lyx_main.C (defaultKeyBindings): adjust keybindings
2253         (deadKeyBindings): ditto
2254
2255         * kbsequence.C (addkey): return a FuncRequest
2256
2257         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
2258
2259         * kbmap.C (bind): take a FuncRequest as arg, adjust
2260         (read): adjust
2261         (lookup): adjust
2262         (defkey): change to take a FuncRequest as arg, adjust
2263         (findbinding): take a FuncRequest as arg, adjust.
2264
2265         * funcrequest.h (operator=): added
2266
2267         * funcrequest.C (FuncRequest): default kb_action changed from
2268         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
2269
2270         * buffer.C (dispatch): simplify
2271         (dispatch): adjust to take a FuncRequest as arg, adjust
2272
2273         * boost.C (assertion_failed): change assertion message slightly
2274
2275         * ToolbarBackend.C (read): simplify
2276
2277         * MenuBackend.C (binding): adjust call to findbinding, add a
2278         message if no binding is found.
2279         (read): simplify
2280         (expandToc): correct by adding a empty FuncRequest
2281
2282         * LyXAction.C: include <boost/assert.hpp>
2283         (isPseudoAction): delete function
2284         (LookupFunc): change name to...
2285         (lookupFunc): this. change return type to FuncRequest.
2286         (getActionName): take kb_action as arg, simplify
2287         (funcHasFlag): add an assert, simplify.
2288
2289 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2290
2291         * toc.C (action): return a FuncRequest, simplify
2292
2293         * lyxfunc.C (processKeySym): adjust
2294         (getStatus): delete version that takes an int.
2295         (getStatus): adjust
2296         (dispatch): delete version that takes action as int
2297         (dispatch): adjust
2298         (sendDispatchMessage): simplify and adjust
2299
2300         * funcrequest.C (getArg): take unsigned int as arg
2301
2302         * ToolbarBackend.C (read): adjust
2303         (add): delete version that takes func as a string.
2304         (getIton): take a FuncRequest as arg
2305
2306         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
2307         action.
2308
2309         * MenuBackend.C (MenuItem): add a new construct that only takes a
2310         Kind, simplify the constructor use for submenus.
2311         (add): adjust
2312         (expandLastfiles): adjust
2313         (expandDocuments): adjust
2314         (expandFormats): adjust
2315         (expandFloatListInsert): adjust
2316         (expandFloatInsert): adjust
2317         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
2318
2319         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
2320         Remove class variables lyx_pseudo_map and lyx_arg_map
2321
2322         * LyXAction.C (searchActionArg): delete function
2323         (getPseudoAction): delete function
2324         (retrieveActionArg): delete function
2325         (LookupFunc): make it return kb_action, simplify.
2326         (getActionName): simplify
2327
2328         * factory.C (createInset): fix new bug
2329
2330 2003-09-19  Angus Leeming  <leeming@lyx.org>
2331
2332         * CutAndPaste.C (pasteSelection): remove fudge used to set the
2333         masterFilename_ parameter in the include inset.
2334
2335         * factory.C (createInset): changes due to the changes to InsetInclude.
2336
2337 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2338
2339         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
2340
2341 2003-09-18  Angus Leeming  <leeming@lyx.org>
2342
2343         * buffer.C:
2344         * BufferView.C: pass the buffer when calling Inset::getLabelList,
2345         Inset::fillWithBibKeys.
2346         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
2347
2348 2003-09-18  Angus Leeming  <leeming@lyx.org>
2349
2350         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
2351         variables.
2352         (ctor): pass and store a 'Buffer const &'
2353         (buffer): new member function.
2354
2355         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
2356         '*this' to the LaTeXFeatures ctor.
2357
2358 2003-09-18  Angus Leeming  <leeming@lyx.org>
2359
2360         * LColor.h:
2361         * lyxfont.C:
2362         * lyxfont.h:
2363         * lyxtext.h:
2364         * text.C: rename EnumLColor as LColor_color.
2365
2366 2003-09-18  Angus Leeming  <leeming@lyx.org>
2367
2368         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
2369         remove #include "insets/insetbase.h" from cursor.h.
2370
2371 2003-09-18  Angus Leeming  <leeming@lyx.org>
2372
2373         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
2374         InsetOld_code to remove #include "inset.h".
2375
2376         * iterators.C: add #include "insets/inset.h"
2377
2378 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
2379
2380         * BufferView.C: remove more locking stuff that apparently doesn't
2381         do anything sensible.
2382
2383 2003-09-16  André Pönitz  <poenitz@gmx.net>
2384
2385         * paragraph.[Ch]:
2386         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
2387           performance boost.
2388
2389 2003-09-16  Angus Leeming  <leeming@lyx.org>
2390
2391         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
2392
2393         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
2394         arg/return type.
2395
2396         * paragraph.h: remove #include "lyxfont.h". Forward declare
2397         LyXFont_size.
2398
2399 2003-09-16  Angus Leeming  <leeming@lyx.org>
2400
2401         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
2402         of support/textutils.h.
2403         (isWord): move the contents of support/textutils.h's IsWordChar here.
2404
2405         * buffer.C:
2406         * lyxfind.C:
2407         * rowpainter.C:
2408         * text.C:
2409         * text2.C: add #include "paragraph.h".
2410
2411         * rowpainter.C:
2412         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
2413
2414 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2415
2416         * main.C:
2417         * lyx_main.C:
2418         * lyx_cb.C:
2419         * buffer.C:
2420         * LaTeX.C: use namespace alias for lyx::support::os
2421
2422 2003-09-16  Angus Leeming  <leeming@lyx.org>
2423
2424         * bufferparams.C:
2425         * bufferview_funcs.C:
2426         * factory.C:
2427         * lyxfunc.C:
2428         * paragraph_pimpl.C:
2429         * rowpainter.C:
2430         * text.C: add #include "LColor.h".
2431
2432 2003-09-16  Angus Leeming  <leeming@lyx.org>
2433
2434         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
2435         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
2436         return LyXFont &.
2437         Store the FontBits::color variable as an int rather than as an
2438         LColor::colorso that we can move LColor.h out of the lyxfont.h header
2439         file.
2440
2441         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
2442         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
2443         string calls together.
2444
2445         * lyxrc.C: add #include "LColor.h".
2446
2447 2003-09-15  Angus Leeming  <leeming@lyx.org>
2448
2449         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
2450         a cow_ptr.
2451
2452 2003-09-15  Angus Leeming  <leeming@lyx.org>
2453
2454         * LColor.h: add an EnumLColor wrapper for LColor::color.
2455
2456         * lyxfont.[Ch] (color, setColor, realColor):
2457         * lyxtext.h, text.C (backgroundColor):
2458         pass EnumLColor args to/from the functions, rather than LColor::color
2459         ones.
2460
2461         * lyxfont.h:
2462         * lyxtext.h: forward declare EnumLColor.
2463
2464         * lyx_main.C: add #include "LColor.h".
2465
2466 2003-09-15  Angus Leeming  <leeming@lyx.org>
2467
2468         * .cvsignore: add lyx-gtk.
2469
2470 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2471
2472         * Chktex.C
2473         * LaTeX.C
2474         * LaTeXFeatures.C
2475         * ParagraphParameters.C
2476         * Spacing.C
2477         * buffer.C
2478         * bufferparams.C
2479         * bufferview_funcs.C
2480         * chset.C
2481         * counters.C
2482         * funcrequest.C
2483         * lyxfont.C
2484         * lyxgluelength.C
2485         * lyxlength.C
2486         * paragraph.C
2487         * paragraph_funcs.C
2488         * text3.C
2489         * vc-backend.C: remove usage of STRCONV
2490
2491 2003-09-15  Angus Leeming  <leeming@lyx.org>
2492
2493         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
2494         explicitly define the color passed to the painter.
2495
2496 2003-09-15  Angus Leeming  <leeming@lyx.org>
2497
2498         * bufferparams.C (BufferParams): reorder member initializers to avoid
2499         compiler warning.
2500
2501 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
2502
2503         * CutAndPaste.C (pasteSelection): remove an outdated #warning
2504         * text.C (updateRowPositions): remove an unusual nop
2505
2506 2003-09-12  André Pönitz  <poenitz@gmx.net>
2507
2508         * BufferView_pimpl.C:
2509         * Bullet.C:
2510         * layout.h:
2511         * lyxfunc.C:
2512         * lyxlayout.[Ch]:
2513         * lyxtextclass.C:
2514         * rowpainter.C:
2515         * text.C:
2516         * text2.C:
2517         * Counters.[Ch]: finish the 'automatic counters' job
2518
2519 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2520
2521         * aspell.C: include <boost/assert.cpp> (compile fix)
2522
2523 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
2524
2525         * boost.C (assertion_failed): use lyx::support::abort instead of
2526         assert.
2527
2528 2003-09-10  Angus Leeming  <leeming@lyx.org>
2529
2530         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
2531         with their _fwd progeny.
2532
2533 2003-09-09  Angus Leeming  <leeming@lyx.org>
2534
2535         134 files throughtout the source tree: replace 'using namespace abc;'
2536         directives with the appropriate 'using abc::xyz;' declarations.
2537
2538 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
2539
2540         * boost.C (emergencyCleanup): moved here from LAssert.c
2541         (assertion_failed): new function, called by BOOST_ASSERT
2542
2543         * several files: change Assert to BOOST_ASSERT
2544
2545 2003-09-09  Angus Leeming  <leeming@lyx.org>
2546
2547         * buffer.[Ch]: Add an Impl class and move Buffer's member
2548         variables into it. As a result move several header files out of
2549         buffer.h.
2550
2551         Add header files to lots of .C files all over the tree as a result.
2552
2553 2003-09-09  Angus Leeming  <leeming@lyx.org>
2554
2555         * buffer.[Ch]: make Buffer's member variables private. Add
2556         accessor functions.
2557
2558         Lots of changes all over the tree as a result.
2559
2560 2003-09-08  Angus Leeming  <leeming@lyx.org>
2561
2562         * graph.C: #include <config.h>.
2563
2564 2003-09-08  Angus Leeming  <leeming@lyx.org>
2565
2566         * BranchList.C:
2567         * BufferView.C:
2568         * BufferView_pimpl.C:
2569         * CutAndPaste.C:
2570         * DepTable.C:
2571         * LaTeX.C:
2572         * LaTeXFeatures.C:
2573         * LyXAction.C:
2574         * MenuBackend.C:
2575         * TextCache.C:
2576         * aspell.C:
2577         * buffer.C:
2578         * bufferlist.C:
2579         * changes.C:
2580         * chset.C:
2581         * converter.C:
2582         * counters.C:
2583         * debug.C:
2584         * graph.C:
2585         * ispell.C:
2586         * lyx_cb.C:
2587         * lyxfind.C:
2588         * lyxfunc.C:
2589         * lyxlex_pimpl.C:
2590         * lyxrc.C:
2591         * lyxrow.C:
2592         * paragraph.C:
2593         * rowpainter.C:
2594         * texrow.C:
2595         * text.C:
2596         * text2.C:
2597         * toc.C: remove redundant using directives.
2598
2599 2003-09-07  Angus Leeming  <leeming@lyx.org>
2600
2601         * LaTeXFeatures.h: remove #include "support/types.h".
2602         * ToolbarBackend.h: remove #include <algorithm>.
2603         * changes.h: remove #include <ctime>.
2604         * debug.h: remove #include <iosfwd>.
2605         * graph.h: remove #include "support/std_string.h".
2606         * lyx_main.h: remove #include <csignal>.
2607         * lyxlex_pimpl.h: remove #include <fstream>.
2608         * sgml.h: remove #include <algorithm>, <utility>.
2609         * toc.h: remove #include "support/std_ostream.h".
2610         Add #include <iosfwd>.
2611
2612 2003-09-07  Angus Leeming  <leeming@lyx.org>
2613
2614         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
2615
2616         * converter.h: forward declare LatexRunParams.
2617         * encoding.h: remove #include "lyxrc.h".
2618         * lyxtext.h: remove #include "LColor.h".
2619         * lyxtextclass.h: remove #include "support/types.h".
2620         * trans.h: remove #include "tex-accent.h".
2621         * trans_mgr.h: remove #include "tex-accent.h".
2622         * insets/inset.h: remove #include "support/types.h", <vector>.
2623         * insets/insetcollapsable.h: remove #include "LColor.h".
2624         * insets/insetinclude.h: remove #include "dimension.h".
2625         * insets/insetlatexaccent.h: remove #include "dimension.h".
2626         * insets/insetoptarg.h:: remove #include "insettext.h".
2627         * insets/insettext.h: remove #include "dimension.h",
2628         <boost/shared_ptr.hpp>
2629
2630         * insets/renderers.h: add #include "dimension.h".
2631         * insets/updatableinset.h: add #include "support/types.h".
2632
2633         * many .C files: Associated changes.
2634
2635 2003-09-06  Angus Leeming  <leeming@lyx.org>
2636
2637         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
2638         one, inside testInvariant.
2639
2640         * PrinterParams.C: new file.
2641         * PrinterParams.[Ch]: move the function bodies out of line.
2642
2643 2003-09-06  Angus Leeming  <leeming@lyx.org>
2644
2645         * ParagraphParameters.h: forward declare ParameterStruct rather than
2646         including its header file.
2647         (depth): moved out-of-line.
2648
2649 2003-09-06  Angus Leeming  <leeming@lyx.org>
2650
2651         * BufferView_pimpl.h:
2652         * kbmap.h:
2653         * kbsequence.h:
2654         * lyxfunc.h: forward declare LyXKeySym rather than
2655         #include "frontends/LyXKeySym.h".
2656
2657         * BufferView_pimpl.C:
2658         * kbmap.C:
2659         * kbsequence.C:
2660         * lyxfunc.C: associated changes.
2661
2662 2003-09-06  Angus Leeming  <leeming@lyx.org>
2663
2664         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2665         As a result, can remove the #include "insets/inset.h" from BufferView.h
2666
2667 2003-09-06  Angus Leeming  <leeming@lyx.org>
2668
2669         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
2670         As a result, can remove the #include "insets/inset.h" from BufferView.h
2671
2672 2003-09-06  Angus Leeming  <leeming@lyx.org>
2673
2674         * buffer_funcs.C:
2675         * buffer.h:
2676         * bufferlist.C:
2677         * BufferView.C:
2678         * bufferview_funcs.C:
2679         * BufferView_pimpl.C:
2680         * CutAndPaste.C:
2681         * lyx_cb.C:
2682         * lyxfunc.C:
2683         * paragraph.h:
2684         * ParagraphParameters.C:
2685         * tabular.C:
2686         * text3.C:
2687         * toc.C:
2688         * undo_funcs.C:
2689         * frontends/controllers/ControlDocument.C:
2690         * insets/insetcaption.C: rearrange the #includes into some sort of
2691         coherent order.
2692
2693         * buffer.h: remove #includes ErrorList.h, undo.h
2694
2695 2003-09-06  Angus Leeming  <leeming@lyx.org>
2696
2697         * support/types.h: add a 'depth_type' typedef, used to store the
2698         nesting depth of a paragraph.
2699
2700         * paragraph.h:
2701         * ParameterStruct.h: use this lyx::depth_type typedef rather than
2702         defining explicitly.
2703
2704         * buffer.h:
2705         * paragraph_funcs.h:
2706         * ParagraphParameters.h:
2707         * sgml.h: use lyx::depth_type rather than Paragraph or
2708         ParameterStruct's depth_type.
2709
2710         * buffer.h
2711         * paragraph_funcs.h: no need to #include paragraph.h anymore.
2712
2713         * BufferView.C:
2714         * BufferView_pimpl.C:
2715         * CutAndPaste.C:
2716         * ParagraphParameters.C:
2717         * buffer_funcs.C:
2718         * bufferlist.C:
2719         * bufferview_funcs.C:
2720         * lyx_cb.C:
2721         * lyxfunc.C:
2722         * tabular.C:
2723         * text3.C:
2724         * toc.C:
2725         * undo_funcs.C:
2726         * frontends/LyXView.C:
2727         * frontends/controllers/ControlDocument.C:
2728         * frontends/controllers/ControlErrorList.C:
2729         * insets/insetbibitem.C:
2730         * insets/insetbranch.C:
2731         * insets/insetcaption.C:
2732         * insets/insetcollapsable.C:
2733         * insets/insetenv.C:
2734         * insets/insetert.C:
2735         * insets/insetfloat.C:
2736         * insets/insetfoot.C:
2737         * insets/insetfootlike.C:
2738         * insets/insetnewline.C:
2739         * insets/insetquotes.C:
2740         * insets/insettabular.C:
2741         * insets/insettext.C:
2742         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
2743
2744         * frontends/controllers/ControlChanges.C: #include "changes.h".
2745
2746 2003-09-06  Angus Leeming  <leeming@lyx.org>
2747
2748         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
2749         than #including paragraph.h.
2750
2751         * ParagraphList.h:
2752         * RowList.h: deleted. Superfluous.
2753
2754         * CutAndPaste.h:
2755         * iterators.h:
2756         * lyxcursor.h:
2757         * lyxtext.h:
2758         * text_funcs.h:
2759         * undo.h:
2760         * undo_funcs.h:
2761         * insets/inset.h:
2762         * insets/insettext.h: use ParagraphList_fwd.h rather than
2763         ParagraphList.h.
2764
2765         * paragraph.h: don't forward declare ParagraphList.
2766
2767         * buffer.h:
2768         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
2769         rather than ParagraphList.h. paragraph.h is still needed for the
2770         Paragraph::depth_type parameters.
2771
2772         * textcursor.h: enable it to compile stand-alone in light of the
2773         above changes.
2774
2775         * bufferview_funcs.C:
2776         * iterators.C:
2777         * lyxfunc.C:
2778         * lyxrow_funcs.C:
2779         * paragraph.C:
2780         * rowpainter.C:
2781         * text.C:
2782         * text2.C:
2783         * text3.C:
2784         * text_funcs.C:
2785         * textcursor.C:
2786         * undo.C:
2787         * frontends/controllers/ControlParagraph.C:
2788         * frontends/controllers/ControlTabular.C:
2789         * insets/insetmarginal.C:
2790         * insets/insetminipage.C:
2791         * insets/insetnote.C:
2792         * insets/insetoptarg.C: add header files needed to compile again.
2793
2794 2003-09-06  Angus Leeming  <leeming@lyx.org>
2795
2796         * RowList_fwd.h: new file, forward-declaring Row rather than
2797         #including lyxrow.h.
2798
2799         * lyxrow_funcs.h:
2800         * lyxtext.h:
2801         * paragraph.h:
2802         * insets/insettext.h: use it instead of RowList.h
2803
2804         * bufferview_funcs.C:
2805         * lyxfunc.C:
2806         * lyxrow_funcs.C:
2807         * paragraph.C:
2808         * rowpainter.C:
2809         * text.C:
2810         * text2.C:
2811         * text3.C: #include "RowList.h".
2812
2813 2003-09-05  Angus Leeming  <leeming@lyx.org>
2814
2815         * factory.C (createInset):
2816         * vspace.C (c-tor): replace sscanf call with an istringstream.
2817         * ispell.C: re-add missing HP/UX headers.
2818         * lyxserver.C: re-add missing  os2 headers.
2819
2820 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
2821
2822         * BranchList.C:
2823         * graph.C:
2824         * ispell.C:
2825         * lastfiles.C:
2826         * lyx_cb.C:
2827         * lyxserver.C:
2828         * texrow.C:
2829         * text3.C: re-add missing system headers, needed for 2.95.2.
2830
2831 2003-09-05  Angus Leeming  <leeming@lyx.org>
2832
2833         Changes most place everywhere due to the removal of using directives
2834         from support/std_sstream.h.
2835
2836 2003-09-05  Angus Leeming  <leeming@lyx.org>
2837
2838         Replace LString.h with support/std_string.h,
2839         Lsstream.h with support/std_sstream.h,
2840         support/LIstream.h with support/std_istream.h,
2841         support/LOstream.h with support/std_ostream.h.
2842
2843         Changes resulting throughout the tree.
2844
2845 2003-09-05  Angus Leeming  <leeming@lyx.org>
2846
2847         * sgml.h: ensure that the header file can be compiled stand-alone.
2848         * *.C: strip out redundant #includes. (320 in total.)
2849
2850 2003-09-04  Angus Leeming  <leeming@lyx.org>
2851
2852         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
2853         here (from getPackages).
2854
2855         * debug.[Ch]: add a new EXTERNAL tag.
2856
2857 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2858
2859         * text2.C (cursorEnd): simplify
2860         (setCursor): adjust
2861         (getColumnNearX): adjust
2862
2863         * text.C (computeBidiTables): adjust
2864         (fill): adjust
2865
2866         * rowpainter.C (paintChars): adjust
2867         (paintSelection): adjust
2868         (paintChangeBar): adjust
2869         (paintText): adjust
2870
2871         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
2872         lastPos instead.
2873         (numberOfSeparators): adjust
2874
2875 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2876
2877         * LyXAction.C:
2878         * box.[Ch]:
2879         * lfuns.h:
2880         * lyxfunc.C:
2881         * text3.C: Restricts the mouse click functionality
2882         of insets like bibtex, include, toc and floatlist to the visible
2883         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
2884         up the dialogs. Cursor has to be in front of the inset (i.e.
2885         start of row) for this to function.
2886
2887 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2888
2889         * bufferview_funcs.C (currentState): output row information
2890
2891 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2892
2893         * bufferview_funcs.C (currentState): output paragraph position
2894
2895 2003-09-04  Angus Leeming  <leeming@lyx.org>
2896
2897         * FloatList.h: move out #include "Floating.h".
2898         * LaTeX.h: move out #include "DepTable.h".
2899         * LyXAction.h: move out #include "funcrequest.h".
2900         * buffer.h: move out #include "author.h", "iterators.h".
2901         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
2902         * lyx_main.h: move out #include "errorlist.h".
2903         * lyxfunc.h: move out #include "FuncStatus.h".
2904         * lyxtext: move out #include "lyxcursor.h".
2905         * paragraph_pimpl.h: move out #include "counters.h".
2906
2907 2003-09-03  Angus Leeming  <leeming@lyx.org>
2908
2909         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
2910         preamble_snippets list, enabling us to add snippets to the preamble
2911         only if the snippet was not there already.
2912
2913 2003-09-04  Angus Leeming  <leeming@lyx.org>
2914
2915         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
2916
2917 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2918
2919         * lyxfunc.C (dispatch): if fitCursor did something be sure to
2920         update
2921
2922 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
2923
2924         * BranchList.C: point fix, earlier forgotten
2925
2926 2003-09-02  Angus Leeming  <leeming@lyx.org>
2927
2928         * box.C (contains): renamed from 'contained' after a fantastic
2929         amount of hot air.
2930
2931 2003-09-02  John Levon  <levon@movementarian.org>
2932
2933         * BufferView.C:
2934         * lyxcursor.h:
2935         * lyxcursor.C:
2936         * lyxfunc.C:
2937         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
2938
2939 2003-09-02  John Levon  <levon@movementarian.org>
2940
2941         * text2.C: simplification of cursorEnd(), including partial
2942         fix for bug 1376
2943
2944 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * buffer.C (readFile): add a space
2947
2948 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
2949
2950         * BufferView_pimpl.C (update): remove bogus fitCursor() call
2951
2952 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2953
2954         * buffer.C (readFile): new function, take a filename and a
2955         ParagraphList::iterator
2956         (readFile): adjust
2957         (readFile): adjust, make it private. don't use setStream, make
2958         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
2959         always contain the filename.
2960
2961         * BufferView.C (insertLyXFile): simplify and make it work for
2962         gzipped files.
2963
2964 2003-08-30  John Levon  <levon@movementarian.org>
2965
2966         * Makefile.am: fix dist (from Kayvan)
2967
2968 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2969
2970         * most files: change to use const Buffer refs
2971
2972 2003-08-27  André Pönitz  <poenitz@gmx.net>
2973
2974         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
2975         on top of ownerPar().
2976
2977 2003-08-27  John Levon  <levon@movementarian.org>
2978
2979         * funcrequest.C: properly initialise POD members
2980
2981 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2982
2983         * lyxtext.h (top_y): move top_y from here
2984         * text.C:
2985         * text2.C:
2986         * text3.C:
2987         * BufferView.[Ch]:
2988         * BufferView_pimpl.[Ch]: to here
2989         * frontends/screen.C:
2990         * insets/insettabular.C:
2991         * insets/insettext.C: adjust
2992         * rowpainter.[Ch] (paintRows): remove LyXText & argument
2993
2994 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
2995
2996         * BufferView.[Ch]:
2997         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
2998
2999 2003-08-26  André Pönitz  <poenitz@gmx.net>
3000
3001         * paragraph_func.[Ch] (outerPar): new function
3002
3003         * paragraph.C:
3004         * paragraph_funcs.C:
3005         * paragraph_funcs.h:
3006         * paragraph_pimpl.C:
3007         * text2.C: remove Inset::par_owner
3008
3009 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3010
3011         * lyxrow_funcs.C:
3012         * lyxtext.h:
3013         * text.C:
3014         * text2.C: eliminates the needFullRow/display() stuff
3015         altogether, putting the logic in metrics/draw in the insets.
3016
3017 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3018
3019         * text2.C (redoParagraphInternal, redoParagraphs):
3020         * text.C (redoParagraph): add a call to updateRowPositions at the
3021         end of each 'metrics-like' call. Remove all others.
3022         (getRow): remove the 'y-computing' version.
3023         (getRowNearY): do not compute nor return the real y. Solve the
3024         'y < 0' problem and simplify.
3025
3026 2003-08-22  Angus Leeming  <leeming@lyx.org>
3027
3028         * *.[Ch]: clean-up of licence and author blurbs.
3029         Also move config.h out of a few .h files and into a few .C files.
3030
3031 2003-08-22  André Pönitz  <poenitz@gmx.net>
3032
3033         * lyxrow.[Ch]: add x_ and *fill_ members
3034
3035         * lyxtext.h:
3036         * text.C:
3037         * rowpainter.C:
3038         * text2.C: adjust/remove prepareToPrint() calls
3039
3040 2003-08-22  André Pönitz  <poenitz@gmx.net>
3041
3042         * lyxrow.[Ch]: add  end_ member
3043
3044         * lyxrow_funcs.C: use LyXRow::end_
3045
3046         * lyxtext.h (singleWidth): add LyXFont parameter
3047
3048         * rowpainter.C:
3049         * text2.C: adjust LyXText::singleWidth() calls
3050
3051         * text.C (redoParagraph): simplify row breaking logic
3052
3053
3054 2003-08-19  André Pönitz  <poenitz@gmx.net>
3055
3056         * funcrequest.C: initialize button_ member
3057
3058         * text3.C:
3059         * rowpainter.[Ch]: interface consolidation
3060
3061 2003-08-18  André Pönitz  <poenitz@gmx.net>
3062
3063         * BufferView.C:
3064         * BufferView_pimpl.C:
3065         * lyxfind.C:
3066         * paragraph_funcs.C:
3067         * rowpainter.C:
3068         * text3.C: remove LyXScreen::draw() and fitCursor calls
3069
3070         * BranchList.h: remove spurious semicolons
3071
3072         * MenuBackend.C: fix branchlist related crash
3073
3074 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
3075
3076         * BranchList.[Ch]:
3077         * InsetList.[Ch]:
3078         * LColor.[Ch]:
3079         * LyXAction.C:
3080         * Makefile.am:
3081         * MenuBackend.[Ch]:
3082         * bufferparams.[Ch]:
3083         * factory.C:
3084         * lfuns.h:
3085         * lyxfunc.C:
3086         * text3.C: implements the 'branch inset'
3087         idea. This allows the output of various versions of a document
3088         from a single source version, selectively outputing or suppressing
3089         output of parts of the text.
3090         This implementation contains a 'branch list editor' in a separate
3091         tab of the document settings dialog. Branches are user definable
3092         and have a "display colour" to distinguish them on-screen.
3093
3094         ColorHandler was somewhat cleaned up.
3095         (1) make possible a dynamically growing LColor list by allowing
3096         the graphic context cache to grow along (vector);
3097         (2) eliminate an IMHO unnecessary step in colour allocation.
3098
3099 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
3100
3101         * BufferView_pimpl.C: compile fix
3102
3103 2003-08-15  André Pönitz  <poenitz@gmx.net>
3104
3105         * rowpainter.C: remove extra metrics calls
3106
3107         * lyxtext.h: merge the two constructors into a single one,
3108           pass reference to owner's par list
3109
3110         * BufferView_pimpl.C:
3111         * text.C:
3112         * text2.C: adjust
3113
3114 2003-08-15  André Pönitz  <poenitz@gmx.net>
3115
3116         * lyxrow_funcs.[Ch]:
3117         * lyxtext.h:
3118         * paragraph.h:
3119         * paragraph_funcs.C:
3120         * rowpainter.C:
3121         * text.C:
3122         * text2.C:
3123         * text3.C:
3124         * text_funcs.C: split LyXText::rowlist_ into individual
3125         Paragraph::rows_ chunks
3126
3127         * BufferView.[Ch]:
3128         * BufferView_pimpl.[Ch]:
3129         * lyxfind.C:
3130         * lyxtext.h:
3131         * text3.C: remove toggleSelection()
3132
3133 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
3134
3135         * bufferlist.C: beautify two alerts (shorter text of buttons)
3136         * buffer.C: Remove redundant ' ' from message
3137         * tabular.h:
3138         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
3139         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
3140         rename VALIGN_CENTER to VALIGN_MIDDLE
3141
3142 2003-08-11  André Pönitz  <poenitz@gmx.net>
3143
3144         * lyxtext.h (getPar):
3145         * text.C: new function
3146
3147 2003-08-11  André Pönitz  <poenitz@gmx.net>
3148
3149         * Makefile.am:
3150         * tracer.[Ch]: remove unneeded files
3151
3152         * InsetList.[Ch]: remove resizeInsetsLyXText()
3153
3154         * lyxtext.h:
3155         * text.C:
3156         * text2.C:
3157         * text3.C: merge insertParagraphs() and appendParagraph()
3158         remove breakAgain(), update()
3159
3160         * BufferView_pimpl.[Ch]:
3161         * bufferview_funcs.[Ch]:
3162         * lyxfunc.C:
3163         * paragraph.[Ch]:
3164         * rowpainter.C:
3165         * tabular.C: adjust after text & InsetList changes.
3166
3167 2003-08-08  André Pönitz  <poenitz@gmx.net>
3168
3169         * text.C (insertChar, backspace): replace rowlist fiddling
3170         with rebreak of full par
3171
3172         * lyxtext.h:
3173         * text.C (breakAgainOneRow, redoHeightOfParagraph,
3174         checkParagraph, updateInset): removed
3175
3176 2003-08-07  André Pönitz  <poenitz@gmx.net>
3177
3178         * paragraph.C:
3179         * text3.C: merge some LFUN handlers, remove dead code
3180
3181 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3182
3183         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
3184
3185 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * text2.C (DEPM): fix part of bug 1255 and 1256
3188
3189 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3190
3191         * BufferView_pimpl.C (workAreaDispatch): change to use
3192         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
3193         that are no mouse related.
3194
3195 2003-08-05  André Pönitz  <poenitz@gmx.net>
3196
3197         * BufferView.[Ch]:
3198         * BufferView_pimpl.[Ch]:
3199         * bufferview_funcs.C:
3200         * text2.C:
3201         * text3.C: rip out "deep update"
3202
3203         * textcursor.[Ch] (last_sel_cursor): remove unused member
3204
3205 2003-08-04  André Pönitz  <poenitz@gmx.net>
3206
3207         * BufferView.[Ch]:
3208         * BufferView_pimpl.[Ch]:
3209         * ParagraphParameters.C:
3210         * bufferview_funcs.C:
3211         * lyx_cb.C:
3212         * lyxfind.C:
3213         * lyxfunc.C:
3214         * text.C:
3215         * text2.C:
3216         * text3.C: replace "complicated" BufferView::update(...) calls with
3217         simpler ones.
3218
3219         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
3220
3221 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
3222
3223         * Makefile.am (lyx_SOURCES): add paper.h
3224
3225 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3226
3227         * Makefile.am: move things around so that both lyx-qt and
3228         lyx-xforms can be built (according to --with-frontend). Then lyx
3229         is a symbolic link to lyx-[firstfrontend]
3230
3231 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
3232
3233         * Always use std::endl with lyxerr
3234
3235 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
3236
3237         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
3238
3239 2003-08-01  André Pönitz  <poenitz@gmx.net>
3240
3241         * BufferView.[Ch]:
3242         * BufferView_pimpl.[Ch]:
3243         * lyxfunc.C:
3244         * text3.C: merge BufferView::repaint() and BufferView::update()
3245
3246 2003-08-01  José Matos  <jamatos@lyx.org>
3247
3248         * buffer.[Ch]: file_format is no longer a buffer data element.
3249
3250 2003-08-01  André Pönitz  <poenitz@gmx.net>
3251
3252         * BufferView.C:
3253         * lyxtext.h:
3254         * text.C:
3255         * text2.C: make redoParagraph more independent of current cursor
3256
3257         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
3258         * text.C:
3259         * text2.C: remove unneeded members
3260
3261 2003-07-30  André Pönitz  <poenitz@gmx.net>
3262
3263         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
3264
3265         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
3266           create a single function...
3267
3268         * paragraph_funcs.C (moveItem): ... here.
3269
3270         * text.C:
3271           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
3272
3273 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
3274
3275         * LColor.[Ch]: Add comment and greyedout logical colors.
3276
3277 2003-07-30  André Pönitz  <poenitz@gmx.net>
3278
3279         * tabular.C: don't use Assert too heavily. This crashes where it
3280           shouldn't
3281
3282 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
3283
3284         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
3285         is disabled (bug 1232)
3286
3287 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3288
3289         * factory.C: limited 'arg' scope
3290
3291 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3292
3293         * factory.C: fixed Note submenu issues
3294
3295 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
3296
3297         * factory.C: submenu for Note/Comment/Greyedout
3298
3299 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
3300
3301         * lyx_main.C (LyX):
3302         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
3303
3304 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
3305
3306         * LaTeXFeatures.C:
3307         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
3308         greyedout. Patch provided by Jürgen Spitzmüller.
3309
3310 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3311
3312         * kbmap.C (read): fix error message when reading bind files
3313
3314 2003-07-29  Angus Leeming  <leeming@lyx.org>
3315
3316         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
3317         certainly does not do what it purports to do. I am doing it, and
3318         us, a favour by killing it.
3319
3320 2003-07-28  José Matos  <jamatos@lyx.org>
3321
3322         * buffer.C (readBody, do_writeFile):
3323         * paragraph.C(readParagraph): \end_document replaces \the_end.
3324
3325 2003-07-29  André Pönitz  <poenitz@gmx.net>
3326
3327         * BufferView.[Ch]:
3328         * BufferView_pimpl.[Ch]:
3329         * lyxfunc.C:
3330         * text2.C:
3331         * text3.C:
3332         * textcursor.[Ch]: remove toggleToggle & Co
3333
3334 2003-07-28  José Matos  <jamatos@fep.up.pt>
3335
3336         * buffer.C (readParagraph):
3337         * params_func (readParToken, readParagraph):
3338         * paragraph.C (write): \layout -> \begin_layout.
3339
3340 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3341
3342         * lyxlex_pimpl.C (setFile): clean up slightly.
3343
3344         * bufferparams.h: add compressed var
3345
3346         * buffer_funcs.C (readFile): adjust for LyXLex change
3347         (newFile): ditto + simplify
3348
3349         * buffer.C (writeFile): handle writing of compressed files
3350
3351         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
3352         Check if the file is compressed and set a bufferparm if so.
3353
3354         * Makefile.am (lyx_LDADD): remove explicit -lz
3355
3356 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3357
3358         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
3359         makeDocBookFile): put the real LyX version in the first line of
3360         the file
3361
3362         * version.h:
3363         * version.C.in: remove lyx_docversion
3364
3365         * tabular.C (write_attribute): add a template-based version to
3366         write enums properly
3367
3368 2003-07-28  André Pönitz  <poenitz@gmx.net>
3369
3370         * lyxtext.h:
3371         * text.C:
3372         * text2.C:
3373         * text3.C: use doubles again for x-coordinates. They are needed.
3374
3375 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * messages.C (getLocaleDir): use lyx_localedir()
3378
3379         * lyxlex_pimpl.C (setFile): compress stuff
3380
3381         * buffer.C (writeFile): add some compression stuff
3382         (do_writeFile): new func, dont call expliti close... will this
3383         breake anything?
3384
3385         * Makefile.am (lyx_LDADD): add -lz
3386
3387 2003-07-28  José Matos  <jamatos@fep.up.pt>
3388
3389         * buffer.C: increment file format.
3390         * paragraph_funcs (readParagraph, readParToken):
3391         * paragraph.C (readParagraph): add \end_layout.
3392
3393 2003-07-27  Angus Leeming  <leeming@lyx.org>
3394
3395         * Makefile.am: remove special casing for configure-time setting of
3396         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
3397
3398         * lyx_main.C (init): remove all Jean-Marc's magic setting of
3399         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
3400
3401 2003-07-26  André Pönitz  <poenitz@gmx.net>
3402
3403         * paragraph_func.[Ch]:
3404         * paragraph.C (realizeFont): inline it whereever it is used
3405
3406         * rowpainter.C:
3407         * text.C:
3408         * text2.C:
3409         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
3410
3411
3412 2003-07-26  André Pönitz  <poenitz@gmx.net>
3413
3414         *       lyxtext.h:
3415         * text.C:
3416         * text2.C: get rid of LyXText::need_break_row
3417
3418 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3419
3420         * toc.[Ch]: put namespace toc inside namespace lyx
3421
3422         * MenuBackend.C (expandToc2): adjust for lyx::toc
3423         (expandToc): ditto
3424
3425         * lyxfunc.C (dispatch): adjust for lyx::find
3426
3427         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
3428         lyx::find instead. Reorganize a bit.
3429         (LyXReplace): rename to replace
3430         (LyXFind): rename to find
3431
3432         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
3433         (dispatch): ditto
3434
3435 2003-07-26  André Pönitz  <poenitz@gmx.net>
3436
3437         * text.C (setHeightOfRow): restrict scope of temporary variable
3438
3439         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
3440           code (never has been used?)
3441
3442 2003-07-27  Asger Alstrup  <alstrup@local>
3443
3444         * text.C (fill): Optimise algorithm to exploit that we can reuse
3445         the LyXFont for many characters.
3446         (setHeightOfRow): Same thing.
3447         (rowBreakPoint): Same thing.
3448
3449 2003-07-26  Asger Alstrup  <alstrup@local>
3450
3451         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
3452
3453         * text.C (singleWidth): Spurious font copying in hot-spot
3454         singleWidth avoided. Reorder tests for arabic for efficiency.
3455
3456         * text.C (fill): handle empty paragraphs better.
3457
3458 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3459
3460         * ispell.C:
3461         * encoding.h: add includes
3462
3463         * lyxrc.C: remove reading of bind files
3464
3465         * lyx_main.C (init): setup bindings and menus only if we have a
3466         gui.
3467
3468         * kbmap.C (read): new method. Do the actual reading of bind
3469         files.
3470
3471         * converter.C (dvipdfm_options):
3472         * bufferparams.C:
3473         * lyxrc.C (read):
3474         (output): adapt PAPER_* enums.
3475
3476         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
3477
3478         * bufferparams.h: remove paper-related enums from there
3479
3480         * paper.h: New file. A trivial header file to hold paper-related
3481         enums. It should later expand to contain many paper-related
3482         horrors access.
3483
3484         * lyxrc.C: declare extern displayTranslator
3485
3486 2003-07-27  José Matos  <jamatos@fep.up.pt>
3487
3488         * tabular.[Ch] (linuxdoc): add support for tables and figures
3489         (linuxdoc).
3490
3491 2003-07-27  José Matos  <jamatos@fep.up.pt>
3492
3493         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
3494         consistency in both functions.
3495         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
3496
3497 2003-07-26  Asger Alstrup  <alstrup@local>
3498
3499         * rowpainter.C (paintRows): Change algorithm to work directly on
3500         the insets rather than asking every character in the document
3501         whether its an inset.
3502
3503 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
3504
3505         * buffer.C (openFileWrite): factorize some code
3506
3507 2003-07-26  Angus Leeming  <leeming@lyx.org>
3508
3509         * lyx_cb.C:
3510         * lyx_main.[Ch]: replace occurances of system_tempdir with
3511         os::getTmpDir().
3512
3513 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3514
3515         * rename Inset to InsetOld
3516
3517 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
3518
3519         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
3520         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
3521         which I think is a bit clearer. EDIT is gone, since it was
3522         premature optimisation, and broken for mathed anyway.
3523         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
3524         with cursor positioning in insets as well (math insets still do not
3525         work, but that's a different story anyway.) It mysteriously
3526         crashes sometimes with undo in the first paragraph, but I'm fairly
3527         confident that this is a compiler bug.
3528
3529 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3530
3531         * paragraph.C (Paragraph): adjust for new clone return type
3532         (operator==): ditto
3533         (copyIntoMinibuffer): ditto
3534
3535 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
3536
3537         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
3538         by not having a special case, and always doing a full rebreak of
3539         the document after undo.
3540
3541 2003-07-23  Angus Leeming  <leeming@lyx.org>
3542
3543         * factory.C (createInset): InsetExternal::setParams now takes a
3544         Buffer const * arg.
3545
3546 2003-07-23  Angus Leeming  <leeming@lyx.org>
3547
3548         * factory.C (createInset): changed interface to the external and
3549         graphics mailers' string2params functions.
3550
3551 2003-07-23  Angus Leeming  <leeming@lyx.org>
3552
3553         * factory.C (createInset): pass a
3554         Buffer const * parameter to InsetExternalMailer's string2params.
3555
3556 2003-07-22  John Levon  <levon@movementarian.org>
3557
3558         * Thesaurus.h: include the right aiksaurus header
3559
3560 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3561
3562         * MenuBackend.C (expand): check menu shortcuts unconditionally
3563
3564 2003-07-21  Angus Leeming  <leeming@lyx.org>
3565
3566         * factory.C (createInset): pass a
3567         buffer_path parameter to InsetGraphicsMailer's string2params.
3568
3569 2003-07-21  Angus Leeming  <leeming@lyx.org>
3570
3571         * BufferView_pimpl.C (buffer):
3572         * buffer.C (d-tor):
3573         * lyx_main.C (LyX):
3574         * lyxfunc.C (dispatch):
3575         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
3576         rather than the grfx shortcut.
3577
3578 2003-07-21  André Pönitz  <poenitz@gmx.net>
3579
3580         * rowpainter.C: remove unused variables
3581
3582         * tabular_funcs.C:
3583         * tabular_funcs.h: move to tabular.C
3584         * Makefile.am: adjust
3585
3586         * tabular.[Ch]: basic optical cleaning
3587
3588         * author.h: pass references, not values
3589
3590 2003-07-18  André Pönitz  <poenitz@gmx.net>
3591
3592         * lyxtext.h:
3593         * metricsinfo.C:
3594         * metricsinfo.h:
3595         * rowpainter.C:
3596         * text.C:
3597         * text2.C:
3598         * text3.C: two-phase drawing for InsetText and InsetTabular
3599         some float -> int changes.
3600
3601 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3602
3603         * lyx_main.C: fix the fix
3604
3605 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
3606
3607         * lyx_main.C: fix a crash in batch mode if no files specified
3608         * converter.C: ws
3609
3610 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
3611
3612         * format.[Ch] (papersize): moved to BufferParams
3613         * converter.[Ch] (dvips_options): moved to BufferParams
3614         (dvipdfm_options): moved to anon namespace
3615         * bufferparams.[Ch]: added above functions.
3616
3617 2003-07-17  André Pönitz  <poenitz@gmx.net>
3618
3619         * lyxtext.h:
3620         * rowpainter.C:
3621         * text2.C: don't call inset->update() anymore
3622
3623         * metricsinfo.[Ch]: add convenience constructor
3624
3625 2003-07-16  André Pönitz  <poenitz@gmx.net>
3626
3627         * lyxcursor.[Ch]:
3628         * lyxfunc.[Ch]:
3629         * text.C:
3630         * text2.C: replace the LyXCursor::irow_ member with
3631          on-demand computation of the value
3632
3633 2003-07-16  John Levon  <levon@movementarian.org>
3634
3635         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
3636
3637 2003-07-15  André Pönitz  <poenitz@gmx.net>
3638
3639         * text.C:
3640         * text2.C: remove no more needed refresh_row
3641
3642 2003-07-15  André Pönitz  <poenitz@gmx.net>
3643
3644         * lyxtext.h:
3645         * rowpainter.C:
3646         * text2.C:
3647         * text3.C: refresh_status tristate -> need_update bool
3648
3649 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
3650
3651         * lyxtext.h (init): remove reinit argument (act as if always true)
3652         * text2.C: adjust to that
3653
3654 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3655
3656         * bufferview_funcs.[Ch]: introduce function replaceSelection()
3657         * text3.C: use it to delete selections in some cases
3658         (bugs 441, 673, 702, 954).
3659
3660 2003-07-14  André Pönitz  <poenitz@gmx.net>
3661
3662         * rowpainter.[Ch]: reduce interface
3663
3664 2003-07-14  André Pönitz  <poenitz@gmx.net>
3665
3666         * BufferView_pimpl.C:
3667         * text2.C: adjust after removing unused BufferView * argument
3668
3669 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
3670
3671         * text2.C (init): fix a crash fired on resize
3672
3673 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
3674
3675         * buffer.[Ch]: added new closing signal
3676         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
3677         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
3678         BufferView::Pimpl via the closing the signal
3679
3680 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
3681
3682         * buffer.[Ch]: take out all bv-related from buffer
3683         * BufferView.C:
3684         * BufferView_pimpl.[Ch]: connect to new signals
3685         * CutAndPaste.C: removed useless asserts
3686         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
3687         * lyxvc.[Ch]:
3688         * vc-backend.[Ch]:
3689         * lyxfunc.C: moved view-related funciontality from vc here
3690         * paragraph.C: removed outdated comments
3691         * text.C: ws
3692
3693 2003-07-10  André Pönitz  <poenitz@gmx.net>
3694
3695         * BufferView_pimpl.C:
3696         * tabular.h:
3697         * tabular_funcs.C:
3698         * text.C:
3699         * text2.C: remove InsetText::InnerCache, clean up consequences
3700
3701 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
3702
3703         * ispell.C: fix two typos in error messages
3704
3705 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
3706
3707         * Extend Note inset to other forms of annotation like Comment
3708         and Greyedout. Right button click gives dialog.
3709
3710         Files modified or added (+):
3711
3712         * insetnote.[Ch]
3713         * FormNote.[Ch]      +
3714         * ControlNote.[Ch]   +
3715         * form_note.fd       +
3716         * Makefile.am in frontends/xforms, frontends/xforms/forms,
3717         frontends/controllers
3718         * xforms/Dialogs.C
3719         * factory.C
3720
3721 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3722
3723         * aspell.C: add missing namespace lyx::support
3724
3725 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
3726
3727         * BufferView.[Ch] (newFile): Add
3728         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
3729         * LaTeX.[Ch] (message): added this signal and use it
3730         * buffer.[Ch] (busy, message): added these signals and use them
3731         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
3732         * converter.C:
3733         * exporter.C:
3734         * format.C:
3735         * importer.C: use buffer signals instead of direct bv calling
3736         * lyx_cb.[Ch] (ShowMessage): removed
3737         * lyx_main.C:
3738         * lyxfunc.C:
3739         * paragraph_funcs.C:
3740         * text2.C: use buffer signals
3741
3742 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3743
3744         * introduce namespace lyx::graphics
3745
3746 2003-07-02  André Pönitz  <poenitz@gmx.net>
3747
3748         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
3749
3750 2003-07-01  André Pönitz  <poenitz@gmx.net>
3751
3752         * text.C:
3753         * text2.C:
3754         * text3.C:
3755         * text_funcs.[Ch]:
3756         * textcursor.h:
3757         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
3758           text*.C to text_func.C
3759
3760 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * introduce namespace lyx::support
3763
3764 2003-06-30  André Pönitz  <poenitz@gmx.net>
3765
3766         * Chktex.C:
3767         * funcrequest.C:
3768         * lyxtext.h:
3769         * text.C: re-enable --with-included-string
3770
3771 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * textcursor.C: add <config.h>
3774
3775         * text.C (getWord): remove const from word_location arg
3776
3777         * lyxvc.C (getLogFile): fix const type order
3778
3779         * lyxtext.h: remove const from word_location arg, add arg name
3780
3781         * lyxlayout.h: currect type on labeltype.
3782
3783         * importer.C: correct \file
3784
3785         * converter.C (intToFormat): use std:: on ret val, ws changes
3786
3787         * bufferlist.h: correct \file
3788
3789         * buffer.C (makeLinuxDocFile): fix const type order
3790         (makeDocBookFile): ditto
3791         (fillWithBibKeys): use std:: on stdlib args.
3792
3793         * CutAndPaste.C: fix authors.
3794         (availableSelections): use std:: on return vector
3795
3796 2003-06-27  André Pönitz  <poenitz@gmx.net>
3797
3798         * BufferView_pimpl.C:
3799         * bufferview_funcs.C:
3800         * lyxcursor.C:
3801         * lyxcursor.h:
3802         * lyxfunc.C:
3803         * lyxtext.h:
3804         * rowpainter.C:
3805         * text.C:
3806         * text2.C:
3807         * text3.C: remove LyXCursor::row_ member
3808
3809         * lyxtext.h:
3810         * text.C: rename fullRebreak() to partialRebreak() and implement
3811           a fullRebreak() that really bereks fully
3812
3813         * textcursor.h: new struct for cursor-related data
3814
3815 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
3816
3817         * lyx_main.C (LyX): get full path of document loaded on the
3818         command line
3819
3820 2003-06-26  André Pönitz  <poenitz@gmx.net>
3821
3822         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
3823           remove unused/broken operator>,<,>=.
3824
3825         *       text.C: remove only use of broken operator<= in an Assert().
3826
3827 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3828
3829         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
3830         moved errorlist_.clear to showErrorList
3831
3832 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
3833
3834         * converter.C (scanLog, runLaTeX):
3835         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
3836         move the bv->showErrorList call to the callers
3837         * lyxfunc.C: i.e. here...
3838         * text2.C: and here
3839         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
3840         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
3841         namespace, the second to...
3842         * buffer_funcs (BufferFormat, parseErrors): added
3843         * errorlist.C (ErrorList(TeXErrors const &)): removed
3844
3845 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3846
3847         * ToolbarBackend.C (getIcon): complain when icon cannot be found
3848
3849 2003-06-24  "Garst R. Reese" <reese@isn.net>
3850
3851         * debug.C: fix typo
3852
3853 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3854
3855         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
3856
3857         * version.C.in: change docversion to 1.4
3858
3859 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
3860
3861         * buffer.C: fix a bug just introduced
3862
3863 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
3864
3865         * buffer.[Ch]: added the parseError signal and use it, removed
3866         sgmlError
3867         * BufferView.[Ch] (addError): moved to ...
3868         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
3869         to the Buffer::parseError signal to catch (guess what) parse errors
3870         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
3871
3872 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
3873
3874         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
3875         ability to create a buffer and to return an existing one from
3876         the list. Moved these functions to...
3877         * buffer_funcs.[Ch]: added
3878         * BufferView.[Ch] (loadLyXFile): added
3879         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
3880         job removed from bufferlist::loadLyXFile.
3881         * buffer.C (setReadOnly): make it work without view
3882         (i.e added an if (users))
3883
3884 2003-06-19  Angus Leeming  <leeming@lyx.org>
3885
3886         * lfuns.h:
3887         * LyXAction.C (init):
3888         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
3889         with LFUN_DIALOG_SHOW <name> <data>.
3890
3891 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3892
3893         * CutAndPaste.C (availableSelections): small compilation fix for
3894         ancient (gcc 2.9x) compilers
3895
3896 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
3897
3898         * text3.C (cursorNext): add tmp var
3899
3900         * text2.C (updateCounters): for function calling out of for clause
3901         (replaceSelectionWithString): ditto
3902         (insertStringAsParagraphs): ditto
3903         (getColumnNearX): add tmp var
3904         (setCursorFromCoordinates): add tmp var
3905         (cursorDownParagraph): add tmp var
3906         (deleteEmptyParagraphMechanism): add tmp var
3907
3908         * text.C (insertChar): add tmp var
3909
3910         * rowpainter.C (paintDepthBar): add tmp var
3911
3912         * CutAndPaste.C (availableSelections): potentially check all
3913         paragraphs in a cut to fill the shown strings.
3914
3915 2003-06-18  André Pönitz  <poenitz@gmx.net>
3916
3917         * kbmap.[Ch]: use vector<> instead of list<>
3918
3919 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
3920
3921         * text3.C (dispatch): handle arg to LFUN_PASTE, call
3922         pasteSelection with index
3923
3924         * text2.C (pasteSelection): modify, call pasteSelection with index
3925
3926         * paragraph.C (asString): reimplement version with no interval to
3927         call the one with interval.
3928
3929         * lyxtext.h: add index arg to pasteSelection
3930
3931         * MenuBackend.C (MenuItem): handle PasteRecent
3932         (Menu::read::Menutags): add md_pasterecent
3933         (read): handle it
3934         (expandPasteRecent): new function
3935         (expand): use it
3936
3937         * MenuBackend.h: add PasteRecent to MenuItem::Kind
3938
3939         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
3940         the limited stack
3941         (availableSelections): new function
3942
3943 2003-06-17  Angus Leeming  <leeming@lyx.org>
3944
3945         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
3946
3947 2003-06-17  Angus Leeming  <leeming@lyx.org>
3948
3949         * lfuns.h:
3950         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
3951
3952         * lyxfunc.C (dispatch): invoke it.
3953
3954 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3955
3956         * iterators.C (operator++, ParPosition): reintroduce some
3957         const_cast for the benefit of older compilers.
3958
3959 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3960
3961         * text3.C (dispatch): do not modify clipboard when doing
3962         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
3963         LFUN_DELETE_SKIP on a selection selection
3964
3965 2003-06-16  André Pönitz  <poenitz@gmx.net>
3966
3967         * BufferView.C:
3968         * buffer.C:
3969         * buffer.h:
3970         * paragraph.C:
3971         * tabular.[Ch]: IU of clone() and getLabelList();
3972
3973 2003-06-13  André Pönitz  <poenitz@gmx.net>
3974
3975         * tabular.h: compactification
3976
3977 2003-06-12  André Pönitz  <poenitz@gmx.net>
3978
3979         * tabular.C:
3980         * tabular.h:
3981         * tabular_funcs.h: some renaming plus whitespace
3982
3983 2003-06-12  André Pönitz  <poenitz@gmx.net>
3984
3985         * BufferView.C:
3986         * BufferView_pimpl.C:
3987         * CutAndPaste.C:
3988         * buffer.C:
3989         * iterators.[Ch]:
3990         * lyxfunc.C:
3991         * text.C:
3992         * toc.C: Return a Paragraph & for ParIterator::operator*()
3993
3994 2003-06-11  John Levon  <levon@movementarian.org>
3995
3996         * lyx_main.C:
3997         * ToolbarBackend.h:
3998         * ToolbarBackend.C: add "Toolbars" section and
3999         put the flags there
4000
4001 2003-06-10  Angus Leeming  <leeming@lyx.org>
4002
4003         * lfuns.h:
4004         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4005
4006         * lyxfunc.C (dispatch): invoke it.
4007
4008 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * main.C: protect <ios> with HAVE_IOS
4011         (main): protect sync_with_stdio with HAVE_IOS
4012
4013 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4014
4015         * text2.C (cutSelection): adjust
4016         (pasteSelection): adjust
4017
4018         * messages.C: handle get of empty string
4019
4020         * main.C (main): use sync_with_stdio(false)
4021
4022         * lyxfunc.C (dispatch): adjust
4023
4024         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4025         (WriteAs): remove unneeded BufferView arg.
4026
4027         * bufferparams.h: use correct types on papersize, papersize2 and
4028         paperpackage.
4029
4030         * bufferparams.C (readToken): adjust for type
4031         (writeLaTeX): add missing cases to switch.
4032
4033         * bufferlist.C (quitWriteBuffer): adjust
4034         (close): adjust
4035
4036         * buffer.C (asciiParagraph): remove some commented code.
4037
4038         * CutAndPaste.C: remove current_view extern variable.
4039         (cutSelection): add BufferParams arg.
4040         (eraseSelection): add BufferParams arg.
4041         (pasteSelection): add Buffer const & arg
4042
4043 2003-06-07  John Levon  <levon@movementarian.org>
4044
4045         * buffer.C:
4046         * paragraph_funcs.C:
4047         * paragraph_pimpl.C:
4048         * text.C:
4049         * text2.C:
4050         * paragraph.h:
4051         * paragraph.C: allow InsetERT to freely space lines,
4052         and some consolidation of code
4053
4054 2003-06-06  José Matos  <jamatos@fep.up.pt>
4055
4056         * buffer.C (makeDocBookFile): fix bug #821
4057
4058 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
4059
4060         * BufferView_pimpl.C (dispatch): use Dialogs::visible
4061
4062 2003-06-04  Angus Leeming  <leeming@lyx.org>
4063
4064         * buffer.C: bump format to 224.
4065
4066 2003-06-05  André Pönitz  <poenitz@gmx.net>
4067
4068         * text2.C (redoParagraphs): remove two const_cast<>
4069
4070 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4071
4072         * ParagraphList.h: remove last remnants of NO_STD_LIST
4073
4074 2003-06-03  Angus Leeming  <leeming@lyx.org>
4075
4076         * factory.C (createInset): small change to the way InsetExternal's params
4077         are set.
4078
4079 2003-06-04  André Pönitz  <poenitz@gmx.net>
4080
4081         * buffer.h: use Undo directly instead of shared_ptr<Undo>
4082
4083         * paragraph_pimpl.h:
4084         * paragraph.[Ch]: some Inset -> UpdatableInset changes
4085
4086         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4087
4088         * undo_funcs.C: make some simple cases of undo work again
4089
4090 2003-06-03  John Levon  <levon@movementarian.org>
4091
4092         * ispell.C: HPUX doesn't have sys/select.h
4093         (from Albert Chin)
4094
4095 2003-06-03  John Levon  <levon@movementarian.org>
4096
4097         * CutAndPaste.C: update tabular and include inset
4098         buffer references
4099
4100         * buffer.h:
4101         * paragraph.h:
4102         * paragraph.C: remove owningBuffer(), don't pass Buffer
4103         to clone()
4104
4105         * factory.C: insetGraphicsParams changed
4106
4107 2003-06-02  John Levon  <levon@movementarian.org>
4108
4109         * LyXAction.C:
4110         * factory.C:
4111         * lfuns.h:
4112         * lyxfunc.C:
4113         * text3.C: remove insetparent
4114
4115 2003-06-02  John Levon  <levon@movementarian.org>
4116
4117         * buffer.h:
4118         * buffer.C: fix inset_iterator.end(), move out of line
4119         (bug 1149)
4120
4121 2003-06-01  John Levon  <levon@movementarian.org>
4122
4123         * text3.C: use a proper cut/paste when doing inset
4124         insert (from Jürgen Spitzmüller)
4125
4126 2003-06-01  John Levon  <levon@movementarian.org>
4127
4128         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
4129
4130 2003-05-30  André Pönitz  <poenitz@gmx.net>
4131
4132         * rowpainter.C: unify second drawing phase
4133
4134 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4135
4136         * trans_mgr.C: remove one case of current_view
4137
4138         * text2.C (cursorBottom): delete NO_STD_LIST stuff
4139
4140         * paragraph_funcs.h: remove paragraph.h include
4141
4142         * paragraph.h: delete NO_STD_LIST stuff
4143
4144         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
4145
4146         * buffer.h: remove paragraph.h include
4147
4148         * ParagraphList.C: delete file
4149
4150         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
4151
4152         * toc.C (getTocList): adjust
4153
4154         * paragraph_pimpl.C (validate): adjust
4155
4156         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
4157
4158         * paragraph.C (Paragraph): adjust
4159         (getPositionOfInset): use const_iterator, adjust
4160         (bibitem): use const_iterator, adjust
4161         (setInsetOwner): adjust
4162
4163         * iterators.C (operator++): adjust
4164
4165         * InsetList.[Ch]: Replace selfmade iterator with standard
4166         vector::iterator also introduce const_iterator. Remove getPos,
4167         getInset and setInset from InsetTable. Adjust accordingly.
4168
4169         * BufferView.C (lockInset): adjust
4170         (ChangeInsets): adjust
4171
4172         * tabular.[Ch]: delete commented same_id functions
4173
4174 2003-05-28  John Levon  <levon@movementarian.org>
4175
4176         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
4177
4178 2003-05-28  André Pönitz  <poenitz@gmx.net>
4179
4180         * metricsinfo.[Ch]: remove 'fullredraw' member
4181
4182 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
4183
4184         * lyxtextclass.C (operator): remove caching.
4185
4186 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4187
4188         * text3.C: adjust
4189
4190         * text2.C (cursorBottom): adjust
4191         (setCounter): use ParagraphList::find, adjust
4192
4193         * text.C (workWidth): use ParagraphList::find, adjust
4194
4195         * lyxcursor.C (LyXCursor): adjust
4196
4197         * buffer.C (inset_iterator): adjust
4198
4199         * ParagraphList.h: make iterator(value_type) private, make
4200         ParagraphList a friend of iterator.
4201
4202         * ParagraphList.C (find): new function
4203
4204         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4205
4206 2003-05-27  André Pönitz  <poenitz@gmx.net>
4207
4208         * dimension.[Ch]: a -> asc, d -> des, w -> wid
4209
4210 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4211
4212         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
4213
4214 2003-05-26  John Levon  <levon@movementarian.org>
4215
4216         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
4217
4218 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4219
4220         * remove same_id from function signatures, adjust.
4221
4222 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * undo_funcs.C (createUndo): use the id functions directly, adjust.
4225
4226         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
4227
4228         * paragraph.C (Paragraph): get rid of same_ids parameter
4229
4230         * ParagraphList.C (insert): adjust
4231         (push_back): adjust
4232
4233 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4234
4235         * paragraph_funcs.C (breakParagraph): adjust
4236         (breakParagraphConservative): adjust
4237
4238         * buffer.C (readParagraph): adjust
4239
4240         * ParagraphList.C (insert): take a reference instead of a pointer
4241         (insert): adjust
4242
4243         * paragraph.[Ch] (id): new function
4244
4245         * bufferlist.C (newFile): adjust
4246
4247         * ParagraphList.C (ParagraphList): adjust
4248         (assign): adjust
4249         (push_back): take a reference instead of a pointer.
4250
4251         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
4252
4253         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
4254         instead.
4255
4256         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
4257         set else use old code.
4258
4259         * ParagraphList.C: remove all NO_NEXT code and only compile this
4260         code of NO_STD_LIST is set.
4261
4262 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * BufferView_pimpl.C:
4265         * TextCache.C:
4266         * TextCache.h:
4267         * bufferlist.C:
4268         * errorlist.h:
4269         * format.C:
4270         * format.h:
4271         * graph.C:
4272         * lyxfunc.C:
4273         * lyxrc.C:
4274         * graphics/GraphicsConverter.C:
4275         * graphics/PreviewLoader.C: header adjustment
4276
4277 2003-05-23  Angus Leeming  <leeming@lyx.org>
4278
4279         * LaTeXFeatures.[Ch] (useBabel): new method.
4280         * bufferparams.C (writeLaTeX): use it.
4281
4282 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * ParagraphList.h (set): remove unused function.
4285
4286 2003-05-23  André Pönitz  <poenitz@gmx.net>
4287
4288         * BufferView.C:
4289         * BufferView_pimpl.C:
4290         * buffer.C:
4291         * buffer.h:
4292         * lyxfunc.C:
4293         * undo_funcs.C: setUndo reworked
4294
4295         * iterators.[Ch]: add access to topmost ParagraphList
4296
4297         * lyxtext.[Ch] (workWidth): add a const
4298
4299 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
4300
4301         * texrow.[Ch] (increasePos): remove function
4302         * exporter.C (export): removed unused var and outdated comment
4303
4304 2003-05-23  Angus Leeming  <leeming@lyx.org>
4305
4306         * latexrunparams.h: rename fragile as moving_arg.
4307         * paragraph.C (simpleTeXOnePar): ditto.
4308         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
4309
4310 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4311
4312         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
4313         (createUndo): ditto
4314         (textUndoOrRedo): comment out a currently unused var.
4315
4316         * paragraph.h (NO_NEXT): enable NO_NEXT
4317
4318         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
4319
4320         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
4321
4322         * exporter.C (Export): adjust for removeAutoInsets removal.
4323
4324         * buffer.C (runChktex): adjust for removeAutoInsets removal.
4325
4326         * LyXAction.C (init): remove LFUN_REMOVEERRORS
4327
4328         * BufferView.[Ch] (removeAutoInsets): delete function
4329
4330 2003-05-22  Angus Leeming  <leeming@lyx.org>
4331
4332         * latexrunparams.h: add a free_spacing variable.
4333
4334         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
4335         to pass moving_arg, as the data is stored in runparams.fragile.
4336
4337         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
4338         to Inset::latexOptional or to simpleTeXOnePar.
4339
4340         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
4341         free_spacing arg to Inset::latexOptional.
4342
4343         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4344         free_spacing arg.
4345
4346 2003-05-22  Angus Leeming  <leeming@lyx.org>
4347
4348         * latexrunparams.h: add fragile and use_babel variables.
4349
4350         * bufferparams.[Ch] (writeLaTeX): return use_babel.
4351         * buffer.C (makeLaTeXFile): store this returned value in
4352         runparams.use_babel, thus passing it to the inset::latex methods.
4353
4354         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
4355         simpleTeXSpecialChars as it is now stored in runparams.fragile.
4356
4357         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
4358         longer has a fragile arg, as it is stored in runparams.fragile.
4359
4360         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
4361         moving_arg parameter as the data is stored in runparams.fragile.
4362
4363         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
4364         a fragile parameter as the data is stored in runparams.fragile.
4365
4366 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4367
4368         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
4369
4370 2003-05-22  Angus Leeming  <leeming@lyx.org>
4371
4372         * latexrunparams.h: add a 'bool nice' which defaults to false.
4373
4374         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
4375         now encapsulated within runparams.
4376
4377         * bufferlist.C (updateIncludedTeXfiles):
4378         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
4379
4380 2003-05-22  Angus Leeming  <leeming@lyx.org>
4381
4382         * latexrunparams.h: new file containing struct LatexRunParams.
4383         * Makefile.am: add new file.
4384
4385         * LaTeX.[Ch] (c-tor, run):
4386         * buffer.[Ch] (makeLaTeXFile):
4387         * bufferlist.[Ch] (updateIncludedTeXfiles):
4388         * converter.C (convert, scanLog):
4389         * converter.[Ch] (runLaTeX):
4390         * exporter.C (Export):
4391         * paragraph.[Ch] (simpleTeXOnePar):
4392         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
4393         * paragraph_funcs.[Ch] (latexParagraphs):
4394         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
4395         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
4396         pass around a LatexRunParams parameter.
4397
4398 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4399
4400         * paragraph.[Ch]: remove unused constructor
4401
4402         * ParagraphList.C (erase): new function, taking two iterators
4403
4404 2003-05-22  André Pönitz  <poenitz@gmx.net>
4405
4406         * undo_funcs.C: remove duplicated code
4407
4408         * iterator.[Ch]: operator=
4409
4410 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4411
4412         * tabular.C (SetMultiColumn): ws changes
4413
4414         * rowpainter.C (paintFirst): get rid of a ->previous
4415
4416         * lyx_cb.C (getPossibleLabel): parlist simplification
4417
4418         * BufferView.C (ChangeInsets): simplify slightly.
4419
4420 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4421
4422         * LyXAction.C: new lfun space-insert, kill protected-space-insert
4423         * lfuns.h: new LFUN_SPACE
4424         * lyxfunc.C: protected space has a new lfun
4425         * paragraph_funcs.C: read new space insets
4426         * text3.C:
4427         * factory.C: handle new space insets
4428
4429 2003-05-22  André Pönitz  <poenitz@gmx.net>
4430
4431         * BufferView.C:
4432         * BufferView_pimpl.C:
4433         * buffer.[Ch]:
4434         * lyxfunc.C:
4435         * undo_funcs.C: return a ParIterator from getParFromID.
4436
4437         * iterators.[Ch]: add two const's
4438
4439 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4440
4441         * toc.C (getTocList): adjust
4442
4443         * iterators.[Ch]: rework for parlist
4444
4445         * buffer.C (par_iterator_begin): adjust
4446         (par_iterator_end): adjust
4447
4448         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
4449
4450         * BufferView.C (removeAutoInsets): adjust
4451         (ChangeInsets): adjust
4452
4453 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
4454
4455         * text.C (top_y): fix bug 1110
4456
4457 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
4458
4459         * errorlist.[Ch]: added
4460         * buffer.C:
4461         * BufferView.[Ch]:
4462         * BufferView_pimpl.C:
4463         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
4464         instead
4465
4466 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4467
4468         * Makefile.am: ensure that lyx is relinked upon changes to the
4469         various "convenience" libs.
4470
4471 2003-05-20  Angus Leeming  <leeming@lyx.org>
4472
4473         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
4474         files are compiled in alphabetical order again.
4475
4476         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
4477
4478 2003-05-19  Angus Leeming  <leeming@lyx.org>
4479
4480         * gettext.[Ch]: remove "char const * _(char const *)".
4481
4482 2003-05-19  André Pönitz  <poenitz@gmx.net>
4483
4484         * dimension.[Ch]: promote from mathed/dimension.[Ch]
4485
4486         * Makefile.am:
4487         * BufferView.C:
4488         * DepTable.h:
4489         * LaTeXFeatures.C:
4490         * buffer.C:
4491         * lyxfont.C:
4492         * lyxlex.h:
4493         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
4494
4495 2003-05-19  André Pönitz  <poenitz@gmx.net>
4496
4497         * buffer.C:
4498         * lyxlayout.[Ch]:
4499         * lyxtextclass.[Ch]:
4500         * paragraph.C:
4501         * paragraph_funcs.[Ch]:
4502         * text2.C:
4503         * text3.C: more insetenv work
4504
4505 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
4506
4507         * ParagraphParameters.C (params2string): small bug fixed
4508
4509 2003-05-16  André Pönitz  <poenitz@gmx.net>
4510
4511         * debug.C:
4512         * bufferview_funcs.C: patch from Kornel Benko to prevent
4513           crash when _(...) is called twice in a statement
4514
4515 2003-05-16  André Pönitz  <poenitz@gmx.net>
4516
4517         * BufferView.C:
4518         * lyxfunc.C:
4519         * text.C:
4520         * text2.C:
4521         * text3.C:
4522         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
4523
4524 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
4525
4526         * lyx_main.C (init): remove spurious static_cast
4527
4528 2003-05-14  André Pönitz  <poenitz@gmx.net>
4529
4530         * BufferView.C: fix format string
4531
4532 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
4533
4534         * BufferView.[Ch] (insertErrors): removed
4535         * BufferView.[Ch] (showErrorList): added
4536         * buffer.C (runChkTeX):
4537         * converter.C (scanLog): call showErrorList instead of inserterrors
4538
4539 2003-05-13  André Pönitz  <poenitz@gmx.net>
4540
4541         * BufferView_pimpl.C:
4542         * buffer.C:
4543         * bufferview_func.C:
4544         * MenuBackend.C:
4545         * lyxfunc.C:
4546         * lyxrc.C:
4547         * tex-accent.C:
4548         * text3.C:
4549         * toc.C:
4550         * tabular_funcs.h: tostr() from its own header
4551
4552         * ParagraphParameters.C:
4553         * ToolbarBackend.C:
4554         * bufferparams.C:
4555         * format.C:
4556         * lyxlex_pimpl.C:
4557         * text3.C: STRCONV()
4558
4559 2003-05-12  André Pönitz  <poenitz@gmx.net>
4560
4561         * BufferView.C:
4562         * BufferView_pimpl.C:
4563         * CutAndPaste.C:
4564         * LaTeX.C:
4565         * LaTeXFeatures.C:
4566         * ParagraphParameters.C:
4567         * buffer.C:
4568         * bufferlist.C:
4569         * bufferparams.C:
4570         * bufferview_funcs.C:
4571         * converter.C:
4572         * counters.C:
4573         * debug.C:
4574         * exporter.C:
4575         * format.C:
4576         * importer.C:
4577         * lyx_cb.C:
4578         * lyx_main.C:
4579         * lyxfont.C:
4580         * lyxfunc.C:
4581         * lyxvc.C:
4582         * paragraph.C:
4583         * paragraph_funcs.C:
4584         * tabular.C:
4585         * tabular_funcs.C:
4586         * text2.C:
4587         * text3.C:  boost::format -> bformat  all over the place
4588
4589
4590 2003-05-09  André Pönitz  <poenitz@gmx.net>
4591
4592         * LColor.[Ch]: Pimpl the #include <map> away
4593
4594 2003-05-09  John Levon  <levon@movementarian.org>
4595
4596         * bufferlist.C: never remove emergency saves
4597
4598 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4599
4600         * Makefile.am: better lib building
4601
4602 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * texrow.[Ch]: remove dependency on Paragraph and just store a id
4605         instead.
4606         * paragraph_pimpl.C (simpleTeXBlanks): adjust
4607         (simpleTeXSpecialChars): adjust
4608         (simpleTeXSpecialChars): adjust
4609         * paragraph.C (simpleTeXOnePar): adjust
4610         * buffer.C (makeLaTeXFile): adjust
4611
4612         * Makefile.am (BOOST_LIBS): allow boost as system lib.
4613
4614         * text2.C (changeDepth): parlist cleanup
4615         (getColumnNearX): ditto
4616
4617         * rowpainter.C (getLabelFont): parlist cleanup
4618
4619         * bufferlist.C (newFile): parlist cleanup
4620
4621         * CutAndPaste.C (eraseSelection): parlist cleanup
4622
4623         * BufferView_pimpl.C (trackChanges): parlist cleanup
4624         (dispatch): ditto
4625
4626         * BufferView.C (lockInset): parlist cleanup.
4627         (ChangeInsets): ditto
4628
4629 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4630
4631         * CutAndPaste.h: Update file header.
4632
4633         * CutAndPaste.C: Update file header.
4634         Store the parts cut out of the Document in a limited_stack.
4635         (copySelection): adjust
4636         (pasteSelection): new function, takes the index in the limited stack.
4637         (nrOfParagraphs): adjust
4638         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
4639         simplify error inset insertion.
4640         (checkPastePossible): adjust
4641
4642 2003-05-06  John Levon  <levon@movementarian.org>
4643
4644         * text2.C: don't cast wrap inset to float
4645
4646 2003-05-05  André Pönitz  <poenitz@gmx.net>
4647
4648         * iterator.C:
4649         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
4650
4651         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
4652           few naked Paragraph *.
4653
4654 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
4655
4656         * bufferparams.C: Output warning if a document with missing
4657         TeX document class is loaded
4658         * exporter.C: Disable TeX exports if the document class is missing
4659         * lyxtextclass.C:
4660         * lyxtextclass.h:
4661         * lyxtextclasslist.C: Handle new textclass.lst format; new method
4662         isTeXClassAvailable()
4663
4664 2003-05-03  John Levon  <levon@movementarian.org>
4665
4666         * BufferView.h:
4667         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
4668         explicit cursor show/hide
4669
4670         * BufferView_pimpl.h:
4671         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
4672         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
4673
4674         * lyxfunc.C: hide cursor before dispatching.
4675
4676         * lyx_cb.C:
4677         * lyxfind.C:
4678         * text.C:
4679         * text3.C: remove explicit cursor hides
4680
4681 2003-05-02  André Pönitz  <poenitz@gmx.net>
4682
4683         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
4684
4685         * undo_funcs.C:
4686         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
4687           linked lists
4688
4689         * text2.C: tiny whitespace
4690
4691 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4692
4693         * undo_funcs.C: almost only ws changes.
4694
4695         * ParagraphList.C (splice): just return if pl is empty.
4696
4697 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4698
4699         * ParagraphList.C (splice): new function.
4700
4701         * CutAndPaste.C (pasteSelection): use it
4702
4703 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4704
4705         * CutAndPaste.C (pasteSelection): remove the last next and
4706         previous from this file.
4707
4708 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4709
4710         * CutAndPaste.C (pasteSelection): more clean up, user proper
4711         ParagraphList functions for pasteing.
4712
4713         * ParagraphList.C (insert): new function, three arg insert
4714
4715 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4716
4717         * ParagraphList.C (insert): new function, three arg insert
4718
4719         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
4720         not on paragraphs.
4721
4722 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4723
4724         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
4725
4726 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * CutAndPaste.C (pasteSelection): remove some unneeded code.
4729
4730 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4731
4732         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
4733         (copySelection): clean up a bit.
4734         (pasteSelection): use make_pair
4735
4736         * ParagraphList.C (ParagraphList): implement copy constructor
4737         (operator=): implement, base on copy constructor.
4738         (assign): new func
4739
4740         * paragraph.C (erase): return a bool
4741
4742         * paragraph_pimpl.C (erasePos): remove function, move contents...
4743         (erase): ... here. Return a bool.
4744         (erase): call erase instead of erasePos.
4745
4746 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
4747
4748         * ParagraphList.h: define PitPosPair
4749         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
4750         ParagraphList, fix a bug on pasting multiple pars
4751         * text2.C: change interface to C&P
4752
4753 2003-04-30  André Pönitz  <poenitz@gmx.net>
4754
4755         * undo_func.C: revert part of yesterday's patch 2
4756
4757 2003-04-30  John Levon  <levon@movementarian.org>
4758
4759         * LColor.C: s/tabular/table/
4760
4761 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * text3.C (dispatch): do not convert iterator -> pointer
4764         * undo_funcs.C (setCursorParUndo): ditto
4765         * text_funcs.C (transposeChars): ditto
4766
4767         * text2.C (setLayout): ws changes only
4768
4769         * text.C (breakParagraph): do not convert iterator -> pointer
4770         (insertChar): ditto
4771         (acceptChange): ditto
4772         (rejectChange): ditto
4773         (changeCase): ditto
4774         (Delete): ditto
4775         (backspace): ditto
4776
4777         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
4778         pointer
4779
4780 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4781
4782         * text3.C (gotoInset): YABG (yet another bad getChar)
4783
4784 2003-04-29  André Pönitz  <poenitz@gmx.net>
4785
4786         * paragraph.h: make operator= private unimplemented as long as
4787           it is unusable
4788
4789         * ParagraphList.C: whitespace
4790
4791         * paragraph.[Ch]:
4792         * paragraph_pimpl.[Ch]:
4793         * paragraph_funcs.C:
4794         * CutAndPaste.C:
4795         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
4796
4797         * text2.C:
4798           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
4799
4800 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
4801
4802         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
4803         * paragraph.[Ch] (erase):
4804         * paragraph_pimpl.[Ch] (erase): change return type and value
4805         * text2.C (cutSelection): some rework
4806
4807 2003-04-28  John Levon  <levon@movementarian.org>
4808
4809         * bufferlist.C: changes for unsaved changes dialog
4810
4811 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4812
4813         * bufferlist.C (newFile): set language (messages_) for new
4814         documents also.
4815
4816         * buffer.C (readFile): ws changes only.
4817
4818 2003-04-28  André Pönitz  <poenitz@gmx.net>
4819
4820         * undo_funcs.C:
4821         * lyxfunc.C:
4822         * buffer.[Ch]:
4823         * BufferView_pimpl.C:
4824         * BufferView.C: getParFromID related ParagraphList::iterator changes
4825
4826 2003-04-28  André Pönitz  <poenitz@gmx.net>
4827
4828         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
4829           Changes
4830
4831 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4832
4833         * messages.C: remove one more localedir class variable.
4834
4835 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4836
4837         * messages.C (getLocaleDir): singleton generation function
4838         (Pimpl): use it.
4839         (Messages): add a default constructor.
4840
4841         * main.C (main): do not setup localedir here, do not call
4842         gettext_init.
4843
4844         * gettext.C (_): use it.
4845         (gettext_init): delete funciton
4846
4847 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4848
4849         * gettext.C (getLyXMessages): new singleton generating function.
4850
4851         * buffer.C (updateDocLang): adjust
4852
4853         * Makefile.am (messages.o): add target
4854         (main.o): remove target
4855
4856 2003-04-27  John Levon  <levon@movementarian.org>
4857
4858         * bufferlist.C:
4859         * lyx_cb.C:
4860         * lyxfunc.C:
4861         * lyxvc.C: specify cancel button in Alert::prompt
4862
4863 2003-04-26  John Levon  <levon@movementarian.org>
4864
4865         * text3.C:
4866         * lyxfunc.C:
4867         * lfuns.h:
4868         * LyXAction.C: add LFUN_INSET_SETTINGS
4869
4870         * lyxfunc.C: don't enable tabular-feature when there's
4871         just any locking inset
4872
4873 2003-04-26  John Levon  <levon@movementarian.org>
4874
4875         * bufferlist.C: re-add Cancel to buffer close question
4876
4877         * lyxfunc.C: fix import UI a bit
4878
4879 2003-04-25  John Levon  <levon@movementarian.org>
4880
4881         * gettext.C: remove the broken asserts for now
4882
4883 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * messages.C: make case where setlocale cannot comply work better.
4886
4887         * buffer.C (updateDocLang): new function
4888         (changeLanguage): use it
4889         (readFile): use it
4890
4891         * text2.C (setCounter): use B_ a bit.
4892
4893         * lyxlayout.C (Read): be sure to trim the label strings.
4894
4895         * messages.C (Messages): fix typo in comment
4896
4897         * buffer.C (readFile): set message_ after file is loaded.
4898         (makeDocBookFile): remove double return
4899         (changeLanguage): reset message_ upon language change.
4900         (B_): new func, use this to get translated buffer strings.
4901
4902         * main.C: add myself and Jean Marc as authors.
4903
4904 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * messages.[hC]: pimplify Messages, and three different pimpls to be
4907         used in different circumstances.
4908
4909         * gettext.[Ch]: change for use with new message code.
4910
4911 2003-04-24 André Pönitz <poenitz@gmx.net>
4912
4913         * factory.C: support for eqref
4914
4915 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4916
4917         * messages.[Ch]: add missing char
4918
4919         * Makefile.am (lyx_SOURCES): add messages.[Ch]
4920
4921         * messages.[Ch]: New files
4922
4923 2003-04-18  John Levon  <levon@movementarian.org>
4924
4925         * BufferView.h:
4926         * BufferView.C:
4927         * BufferView_pimpl.C:
4928         * lfuns.h:
4929         * LyXAction.C:
4930         * lyxtext.h:
4931         * text2.C: remove layout-copy/paste (bug 778)
4932
4933 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4934
4935         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
4936
4937 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
4938
4939         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
4940         if they succeed. Act accordingly.
4941
4942 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4943
4944         * text2.C (setCharFont): adjust
4945         (setCounter): adjust
4946         (insertStringAsLines): adjust
4947
4948         * text.C (leftMargin): adjust
4949         (setHeightOfRow): adjust
4950
4951         * rowpainter.C (paintFirst): adjust
4952         (paintLast): adjust
4953
4954         * paragraph_funcs.C (depthHook): ParagraphList::iterators
4955         (outerHook): ditto
4956         (isFirstInSequence): ditto
4957         (getEndLabel): ditto
4958         (outerFont): adjust
4959
4960         * paragraph.C (getParLanguage): comment out some hard stuff.
4961
4962         * buffer.C (insertStringAsLines): take a ParagraphList as arg
4963         (sgmlError): ditto
4964         (simpleDocBookOnePar): ditto
4965         (makeDocBookFile): use ParagraphList::iterator
4966
4967         * CutAndPaste.C (pasteSelection): adjust
4968
4969 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4970
4971         * text2.C (getFont): adjust
4972         (getLayoutFont): adjust
4973         (getLabelFont): adjust
4974
4975         * paragraph_funcs.C (TeXOnePar): adjust
4976
4977         * buffer.C (simpleLinuxDocOnePar): adjust
4978         (simpleDocBookOnePar): adjust
4979
4980         * CutAndPaste.C (pasteSelection): adjust
4981
4982         * BufferView.C (getEncoding): adjust
4983
4984         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
4985
4986 2003-04-16  John Levon  <levon@movementarian.org>
4987
4988         * lyxfind.C: use parlist stuff for search/changes
4989
4990 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4991
4992         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
4993
4994         * text2.C (deleteEmptyParagraphMechanism): adjust
4995
4996         * text2.[Ch] (ownerParagraph): delete func (both of them
4997
4998 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5001
5002 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5003
5004         * ParagraphList.C: prepare for NO_NEXT
5005
5006 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * text2.C (getFont): adjust
5009         (getLayoutFont): adjust
5010         (getLabelFont): adjust
5011
5012         * paragraph.C (getFont): adjust
5013         (getLabelFont): adjust
5014         (getLayoutFont): adjust
5015
5016         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5017
5018 2003-04-15  John Levon  <levon@movementarian.org>
5019
5020         From Angus Leeming
5021
5022         * lyx_main.C: handle Include in .ui files
5023
5024 2003-04-15  John Levon  <levon@movementarian.org>
5025
5026         * MenuBackend.C: make the doc files length shorter
5027
5028         * ToolbarBackend.h:
5029         * ToolbarBackend.C: handle toolbar placement flags,
5030         Minibuffer
5031
5032 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5035         adjust
5036
5037         * paragraph_funcs.C (TeXOnePar): adjust
5038
5039         * paragraph.C (getLabelFont): add outerfont arg, adjust
5040         (getLayoutFont): ditto
5041         (simpleTeXOnePar): adjust
5042
5043         * paragraph_pimpl.C (realizeFont): delete func
5044
5045 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
5046
5047         * text2.C (beforeFullRowInset): added a bad getchar check, removed
5048         row argument, constify cur argument.
5049
5050 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5051
5052         * text2.C (getFont): adjust
5053         (getLayoutFont): adjust
5054         (getLabelFont): adjust
5055
5056         * paragraph_funcs.C (TeXOnePar): adjust
5057         (outerFont): new func...
5058         (realizeFont): ...moved out from here, changed this to facilitate
5059         transition
5060
5061         * paragraph.C (getFont): take outerfont as arg, adjust
5062         (simpleTeXOnePar): add outerfont arg, adjust
5063
5064         * buffer.C (simpleLinuxDocOnePar): adjust
5065         (simpleDocBookOnePar): adjust
5066
5067         * CutAndPaste.C (pasteSelection): adjust
5068
5069         * BufferView.C (getEncoding): adjust
5070
5071 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5072
5073         * text2.C (setCharFont): adjust
5074         (setCounter): adjust
5075
5076         * text.C (leftMargin): adjust
5077         (setHeightOfRow): adjust
5078
5079         * rowpainter.C (paintFirst): adjust
5080         (paintLast): adjust
5081
5082         * paragraph_pimpl.C (realizeFont): adjust
5083
5084         * paragraph.C (isFirstInSequence): move from here...
5085         * paragraph_funcs.C (isFirstInSequence): ...to here
5086
5087         * paragraph.C (outerHook): move from here...
5088         * paragraph_funcs.C (outerHook): ...to here
5089
5090         * paragraph.C (depthHook): move from here...
5091         * paragraph_funcs.C (depthHook): ...to here
5092
5093         * paragraph.C (getEndLabel): move from here...
5094         * paragraph_funcs.C (getEndLabel): ...to here
5095
5096         * text2.C (realizeFont): move from here...
5097         * paragraph_funcs.C (realizeFont): ...to here
5098
5099 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5100
5101         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
5102
5103 2003-04-14  Angus Leeming  <leeming@lyx.org>
5104
5105         * LColor.[Ch]: scrap LColor mathcursor.
5106
5107 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5108
5109         * lyxlex.[Ch] (text): delete function
5110         * trans.C (Load): adjust
5111         * paragraph_funcs.C (readParToken): adjust
5112
5113 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5114
5115         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
5116         vector<char> instead of a char[].
5117
5118         * lyxlex_pimpl.C (getString): adjust
5119         (next): adjust
5120         (lex): use getString
5121         (eatLine): adjust
5122         (nextToken): adjust
5123
5124         * lyxlex.C (text): use pimpl_->getString()
5125         (getBool): ditto
5126         (findToken): ditto
5127
5128 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
5129
5130         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
5131         (makeFontEntriesLayoutSpecific): temp var for par.size()
5132         (setLayout): temp var for ownerParagraphs().end()
5133         (fullRebreak): temp var for rows().end()
5134         (selectionAsString): temp var for boost::next(startpit), realize
5135         that the while really is a regular for loop.
5136         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
5137         setCursor in one place.
5138         (setParagraph): temp vr for ownerParagraphs().end()
5139         (updateCounters): make the while loop a for loop
5140         (cutSelection): temp var for ownerParagraphs().end()
5141         (updateInset): make the do {} while() a regular for loop
5142         (getCursorX): use temp vars
5143         (setCurrentFont): use temp vars
5144         (getColumnNearX): use temp vars
5145
5146 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5147
5148         * text.C (transformChar): use temp var for getChar
5149         (computeBidiTables): use temp var for row->par()
5150         (fill): move temp vars for row->par() and pit->layout() earlier in
5151         the function.
5152         (labelFill): use temp var for row->par()
5153         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
5154         asc and desc, realize that pit never changes and that firstpit is
5155         just a duplicate and not needed. Exchange rit->par() with pit in a
5156         lot of places.
5157         (breakAgain): use a temp var for boost::next(rit)
5158         (breakAgainOneRow): ditto
5159         (breakParagraph): use a temp var for rows().begin()
5160         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
5161         (cursorRightOneWord): use temp var for cursor.par() and
5162         cursor.pos(), remove usage of tmpcursor.
5163         (cursorLeftOneWord): use temp var for cursor.par() and
5164         cursor.pos() only set cur at end of function.
5165
5166 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5167
5168         * text.C, text2.C: exchange all usage of Paragraph::next with
5169         boost::next(ParagraphList::iterator)
5170
5171         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
5172
5173         * text2.C (cursorTop): simplify implementation
5174         (cursorBottom): ditto
5175         (setParagraph): use ParagraphList::iterator
5176         (setCurrentFont): adjust
5177         (getColumnNearX): adjust
5178         (cursorRight): adjust
5179         (cursorLeft): remove usage of Paragraph::previous
5180         (cursorUpParagraph): ditto
5181         (deleteEmptyParagraphMechanism): slight cleanup
5182
5183         * text.C (isBoundary): take a Paragraph const & instead of a
5184         pointer as arg.
5185         (addressBreakPoint): ditto
5186         (leftMargin): remove usage of Paragraph::previous.
5187         (setHeightOfRow): ditto
5188         (cursorLeftOneWord): ditto
5189         (selectNextWordToSpellcheck): ditto
5190         (Delete): ditto
5191         (backspace): ditto
5192         (breakParagraph): remove one usage of Paragraph::next
5193         (redoParagraph): ditto
5194         (acceptChange): ditto
5195         (insertChar): adjust
5196         (rowBreakPoint): adjust
5197
5198         * bufferview_funcs.C (toggleAndShow): adjust
5199
5200 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
5201
5202         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
5203         methods to access it.
5204         * lyxtext.h:
5205         * text.C: Added updateRowPositions to compute all row positions.
5206         Make top_y and getRowNearY() to use the cached y position
5207
5208 2003-04-11  John Levon  <levon@movementarian.org>
5209
5210         * text.C (rowBreakPoint): reintroduce the labelEnd
5211         checks, code copied from the row fill stuff. Deep voodoo.
5212
5213         * text.C (fill): add a comment and debugging for the
5214         next poor soul.
5215
5216 2003-04-11  John Levon  <levon@movementarian.org>
5217
5218         * text.C: make sure fullrow insets get wrapped to the next line,
5219         even when they're in a manual label
5220
5221 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * text2.C (insertParagraph): make it take ParagraphList::iterator
5224         as arg.
5225         (setLayout): make it return ParagraphList::iterator
5226         (redoParagraphs): ditto
5227         (setCounter): ditto
5228         (checkParagraph): ditto
5229
5230         * text.C (getRow): make getrow take ParagraphList::iterator as arg
5231
5232         * text2.C: adjust several funcs.
5233         (realizeFont): take a ParagraphList::iterator as arg.
5234         (getLayoutFont): ditto
5235         (getLabelFont): ditto
5236         (setCharFont): ditto
5237
5238         * text.C: adjust several funcs.
5239
5240 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5241
5242         * text.C (selectNextWordToSpellcheck): don't accidentally
5243         skip insets
5244
5245 2003-04-10  John Levon  <levon@movementarian.org>
5246
5247         * ToolbarBackend.C (getIcon): special handling for
5248         LFUN_MATH_DELIM
5249
5250 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
5251
5252         * text2.C (cursorRight): a getChar assert fixed
5253
5254 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5255
5256         * text2.C (getFont): change to take a ParagraphList::iterator
5257         instead of Paragraph*
5258         Adjust several functions.
5259
5260         * text.C (transformChar): change to take a ParagraphList::iterator
5261         instead of Paragraph*
5262         (singleWidth): ditto
5263         Adjust several functions.
5264
5265         * rowpainter.C: adjust several functions
5266         * rowpainter.h:store a ParagraphList::iterator and not a
5267         Paragraph&.
5268
5269
5270 2003-04-09  John Levon  <levon@movementarian.org>
5271
5272         * lyxfunc.C:
5273         * lfuns.h:
5274         * LyXAction.h:
5275         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
5276         and the "help" bits as well
5277
5278 2003-04-09  John Levon  <levon@movementarian.org>
5279
5280         * ToolbarBackend.h:
5281         * ToolbarBackend.C: allow multiple toolbars
5282
5283 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5284
5285         * undo_funcs.C (setCursorParUndo): adjust
5286
5287         * text_funcs.C (transposeChars): adjust
5288
5289         * text3.C (gotoNextInset): adjust
5290         (dispatch): adjust
5291
5292         * text2.C (setLayout): adjust
5293         (changeDepth): adjust
5294         (setFont): adjust
5295         (redoParagraphs): adjust
5296         (selectionAsString): adjust
5297         (setParagraph): adjust
5298         (insertInset): adjust
5299         (cutSelection): adjust
5300         (copySelection): adjust
5301         (pasteSelection): adjust
5302         (insertStringAsLines): adjust
5303         (updateInset): adjust
5304         (setCursor): change to take a ParagraphList::iterator parameter
5305         (setCursorIntern): change to take a ParagraphList::iterator parameter
5306         (setCurrentFont): adjust
5307         (cursorLeft): adjust
5308         (cursorRight): adjust
5309         (deleteEmptyParagraphMechanism): adjust
5310
5311         * text.C (breakParagraph): adjust
5312         (insertChar): adjust
5313         (acceptChange): adjust
5314         (rejectChange): adjust
5315         (selectNextWordToSpellcheck): adjust
5316         (changeCase): adjust
5317         (Delete): adjust
5318         (backspace): adjust
5319
5320         * lyxfind.C (SearchForward): adjust
5321         (SearchBackward): adjust
5322         (nextChange): adjust
5323
5324         * lyxcursor.C (par): adjust
5325
5326         * lyxcursor.h: store a ParagraphList::iterator instead of a
5327         Paragraph*
5328
5329         * lyx_cb.C (getPossibleLabel): adjust
5330
5331         * bufferview_funcs.C (toggleAndShow): adjust
5332
5333         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5334         (dispatch): adjust
5335
5336         * BufferView.C (removeAutoInsets): adjust
5337         (lockedInsetStoreUndo): adjust
5338
5339 2003-04-09  John Levon  <levon@movementarian.org>
5340
5341         * ToolbarBackend.C: try icon without argument
5342         if with argument fails
5343
5344 2003-04-08  John Levon  <levon@movementarian.org>
5345
5346         * ToolbarBackend.h:
5347         * ToolbarBackend.C: add getIcon(), handle tooltip,
5348         and change from "Icon" to "Item".
5349
5350 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5351
5352         * BufferView.C (lockInset): another bad getchar crunched
5353
5354 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
5355
5356         * text2.C (changeDepth): do not setUndo on test_only (make undo work
5357         again)
5358
5359 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
5360
5361         * lyxfind.C (searchForward, searchBackwards): bug 782
5362
5363 2003-04-07  John Levon  <levon@movementarian.org>
5364
5365         * paragraph.C: remove dead comment
5366
5367         * text.C: remove troublesome depth-fiddling code
5368         in leftMargin() and rightMargin() (bug 1017)
5369
5370         * text.C: fix breaking of rows in nested lists
5371         (bug 1004)
5372
5373         * text2.C (updateCounters): fix up depth values
5374         (bug 1013)
5375
5376 2003-04-07  John Levon  <levon@movementarian.org>
5377
5378         * BufferView_pimpl.C: clear message when doc finishes resizing,
5379         and after a mouse event
5380
5381         * lyxfunc.C: clear message after exiting inset
5382
5383 2003-04-07  John Levon  <levon@movementarian.org>
5384
5385         * bufferview_funcs.C: show math status not outside
5386         status in the statusbar
5387
5388 2003-04-07  John Levon  <levon@movementarian.org>
5389
5390         * lyxfunc.C: note status changed after a depth change
5391
5392 2003-04-04  Angus Leeming  <leeming@lyx.org>
5393
5394         * LaTeX.h: move AuxInfo operator==, != out of line.
5395         Remove LaTeX virtual destructor; nothing derives from it.
5396         Move operator()() out of public area and rename it startscript().
5397         Change protected for private.
5398
5399 2003-04-04  Angus Leeming  <leeming@lyx.org>
5400
5401         * lyxfunc.C:
5402         * text2.C: remove unneeded #includes.
5403
5404 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5405
5406         * text2.C (dEPM): fix the heigth of the next row
5407
5408 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
5409
5410         * text.C: squashed an invalid getChar requester + some ws changes
5411
5412 2003-04-03  John Levon  <levon@movementarian.org>
5413
5414         * bufferview_funcs.h:
5415         * bufferview_funcs.C:
5416         * lyxfunc.C:
5417         * lyxtext.h:
5418         * text2.C: make getStatus work for the env depth lfuns
5419
5420 2003-04-03  John Levon  <levon@movementarian.org>
5421
5422         * bufferview_funcs.h:
5423         * bufferview_funcs.C:
5424         * lyxfunc.C:
5425         * lyxtext.h:
5426         * text2.C: parlistize decDepth(), by merging it with incDepth()
5427
5428 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5429
5430         * lyxrow.h: store a ParagraphList::iterator instead of a
5431         Paragraph* and adjust other class functions to suit.
5432
5433         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
5434         above.
5435
5436 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5437
5438         * text2.C (setCursor): do not anchor to cursor row for the time being
5439
5440 2003-04-02  John Levon  <levon@movementarian.org>
5441
5442         * LyXAction.C:
5443         * lfuns.h:
5444         * lyx_main.C:
5445         * lyxtext.h:
5446         * text.C:
5447         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
5448
5449 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * paragraph.h: make ParagraphList and ParagraphList::iterator
5452         friends of Paragraph.
5453
5454         * buffer.C (makeLinuxDocFile): move towards ParagraphList
5455
5456         * ParagraphList.C: Use the private next_ and previous_ from
5457         Paragraph.
5458
5459 2003-04-01  John Levon  <levon@movementarian.org>
5460
5461         * ToolbarBackend.h:
5462         * ToolbarBackend.C:
5463         * Makefile.am: rename, remove defaults gunk
5464
5465         * MenuBackend.h:
5466         * MenuBackend.C: remove defaults gunk
5467
5468         * Languages.h:
5469         * Languages.C: remove defaults gunk
5470
5471         * lyx_main.h:
5472         * lyx_main.C: error out if files couldn't be found.
5473
5474 2003-04-02  John Levon  <levon@movementarian.org>
5475
5476         * text2.C: make incDepth() use parlist
5477
5478 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5479
5480         * undo_funcs.C (firstUndoParagraph): adjust
5481
5482         * text3.C (gotoInset): adjust
5483         (dispatch): adjust, and rewrite loop.
5484
5485         * text2.C (init): adjust, and rewrite loop.
5486         (redoParagraphs): adjust
5487         (updateInset): adjust, and rewrite loop.
5488         (deleteEmptyParagraphMechanism): adjust
5489
5490         * tabular.C (LyXTabular): adjust
5491         (SetMultiColumn): adjust
5492         (TeXRow): adjust
5493
5494         * lyxtext.[Ch] (ownerParagraph): delete function
5495         (ownerParagraphs): new function returns a ParagraphList.
5496
5497         * BufferView.C (removeAutoInsets): adjust
5498         (insertErrors): adjust
5499         (setCursorFromRow): adjust
5500
5501 2003-04-01  Angus Leeming  <leeming@lyx.org>
5502
5503         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
5504         in the frontends.
5505
5506 2003-04-02  John Levon  <levon@movementarian.org>
5507
5508         * lyxtext.h:
5509         * text.C:
5510         * Makefile.am:
5511         * text_funcs.h:
5512         * text_funcs.C: make transposeChars a free function
5513
5514         * lyxrow_funcs.C: remove wrong comment
5515
5516 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5517
5518         * lyxtext.h: adjust
5519         * rowpainter.C: adjust
5520         * text.C: adjust
5521         * text2.C: adjust
5522         * text3.C: adjust
5523
5524         * lyxrow_funcs. [Ch]: new files
5525
5526         * lyxrow.[Ch]: remove next and previous pointers
5527         (next,previous): remove accessor functions
5528         (isParEnd): move to lyxrow_funcs
5529         (lastPos): move to lyxrow_funcs
5530         (nextRowIsAllInset): move to lyxrow_funcs
5531         (lastPrintablePos): move to lyxrow_funcs
5532         (numberOfSeparators): move to lyxrow_funcs
5533         (numberOfHfills): move to lyxrow_funcs
5534         (numberOfLabelHfills): move to lyxrow_funcs
5535         (hfillExpansion): move to lyxrow_funcs
5536
5537         * lyxfunc.C: adjust
5538
5539         * bufferview_funcs.C (toggleAndShow): adjust
5540
5541         * RowList.h: Remove class RowList from file leave just a
5542         std::list<Row>.
5543
5544         * RowList.C: delete file
5545
5546         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
5547         and lyxrow_funcs.h
5548
5549 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5550
5551         * text3.C (cursorPrevious): adjust
5552         (cursorNext): adjust
5553         (dispatch): adjust
5554
5555         * text2.C (redoHeightOfParagraph): adjust
5556         (redoDrawingOfParagraph): adjust
5557         (setCursor): adjust
5558
5559         * text.C (breakParagraph): adjust
5560         (insertChar): adjust
5561         (backspace): adjust
5562
5563         * rowpainter.C (RowPainter): adjust
5564         (leftMargin): simplify and adjust
5565         (most rowpainter functions): adjust.
5566
5567         * rowpainter.h: store the row as RowList::iterator not as Row*
5568
5569         * lyxcursor.C (row): taka RowList::iterator as arg
5570         (irow): ditto
5571
5572         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
5573         of Row*.
5574
5575 2003-04-01  Angus Leeming  <leeming@lyx.org>
5576
5577         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
5578         stuff like bool Bool.
5579
5580 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
5581
5582         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
5583         rewrite a loop
5584
5585 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5586
5587         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
5588         RowList::iterator.
5589
5590         * lyxtext.h (rows): drop one version and leve a const variant that
5591         returns a RowList::iterator.
5592
5593 2003-03-31  Angus Leeming  <leeming@lyx.org>
5594
5595         * text.C (fill): ensure that the signature is the same as that in the
5596         header file.
5597
5598 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
5599
5600         * text2.C (redoParagraphs): adjust
5601         (updateCounters): adjust
5602         (checkParagraph): adjust
5603         (getColumnNearX): adjust and reformat a bit.
5604
5605         * text.C (top_y): adjust
5606         (workWidth): adjust
5607         (leftMargin): adjust
5608         (prepareToPrint): adjust
5609         (getRow): adjust
5610         (getRowNearY): adjust
5611
5612         * lyxtext.h: make rowlist_ mutable.
5613
5614         * RowList.h: add const_iterator
5615         * RowList.C: adjust for RowList::const_iterator.
5616
5617         * text2.C (getCursorX): make it take a RowList::iterator as arg,
5618         adjust.
5619
5620 2003-03-31  John Levon  <levon@movementarian.org>
5621
5622         * lyxrc.h:
5623         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
5624
5625         * lyx_main.C: set default fonts from using lyx_gui funcs
5626
5627         * exporter.C: pdf_mode moved from lyxrc
5628
5629         * lyx_cb.C:
5630         * lyxfunc.C: changes from above
5631
5632 2003-03-31  John Levon  <levon@movementarian.org>
5633
5634         * lyx_main.C: fix to the last fix
5635
5636 2003-03-31  John Levon  <levon@movementarian.org>
5637
5638         * bufferlist.C: "Load original" -> "Load Original"
5639
5640         * converter.C:
5641         * exporter.C:
5642         * importer.C:
5643         * lyx_main.C:
5644         * format.C: more Alert cleanups
5645
5646 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5647
5648         * text2.C (removeParagraph): make it take a RowList::iterator as
5649         arg, adjust.
5650         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
5651         (postRowPaint): make it take a RowList::iterator as arg, adjust.
5652
5653         * text.C (anchor_row): make it take a RowList::iterator as arg,
5654         adjust.
5655         (computeBidiTables): make it take a const reference to Row instead
5656         of Row pointer, adjust.
5657         (leftMargin): make it take a RowList::iterator as arg, adjust.
5658         (rowBreakPoint): adjust
5659         (breakAgainOneRow): make it take a RowList::iterator as arg,
5660         adjust.
5661         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
5662
5663         * bufferview_funcs.C (toggleAndShow): adjust
5664
5665 2003-03-30  John Levon  <levon@movementarian.org>
5666
5667         * Makefile.am:
5668         * BoostFormat.h:
5669         * boost-inst.C: moved to support
5670
5671         * several files: changes as a result
5672
5673 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5674
5675         * text2.C (LyXText): adjust.
5676         (init): adjust
5677         (removeRow): make it take a RowList::iterator as arg, adjust.
5678         (fullRebreak): adjust
5679         (deleteEmptyParagraphMechanism): adjust
5680         (clearPaint): adjust
5681         (postPaint): adjust
5682
5683         * text.C (top_y): adjust
5684         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
5685         (breakAgain): make it take a RowList::iterator as arg, adjust.
5686         (breakParagraph): adjust
5687         (insertChar): adjust
5688         (backspace): adjust
5689
5690         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
5691         need_break_row, and refresh_row.
5692
5693         * text3.C (dispatch): adjust
5694
5695         * text2.C (checkParagraph): adjust
5696         (setCursor): adjust
5697         (setCursorFromCoordinates): adjust
5698
5699         * text.C (top_y): adjust
5700         (workWidth): adjust
5701         (getRow): make it return a RowList::iterator, adjust
5702         (getRowNearY): make it return a RowList::iterator, adjust
5703
5704         * text2.C (init): adjust
5705         (insertRow): remove function
5706         (insertParagraph): adjust
5707         (redoParagraphs): adjust
5708         (fullRebreak): adjust
5709         (updateCounters): adjust
5710
5711         * text.C (top_y): rewrite to use RowList iterators.
5712         (top_y): adjust
5713         (setHeightOfRow): rewrite to sue RowList iterators.
5714         (appendParagraph): adjust
5715         (breakAgain): adjust
5716         (breakAgainOneRow): adjust
5717         (breakParagraph): adjust
5718         (getRow): adjust
5719         (getRowNearY): adjust, and remove commented code.
5720
5721         * lyxtext.h (firstRow): delete function
5722         (lastRow): delete function
5723         (rows): new function (const and non-const versions.)
5724         (insertRow): delete function
5725
5726         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
5727
5728 2003-03-29  John Levon  <levon@movementarian.org>
5729
5730         * BufferView_pimpl.C: always update scrollbar top
5731         because pasting text when we're anchored could mean we
5732         miss an update altogether
5733
5734 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5735
5736         * text2.C (init): use rowlist_.end() and not 0.
5737         (insertRow): change to take a RowList::iterator as arg, adjust
5738         for this.
5739         (insertParagraph): change to take a RowList::iterator as arg,
5740         adjust for this.
5741         (redoParagraphs): remove some debug msgs.
5742
5743         * text.C (appendParagraph): change to take a RowList::iterator
5744         arg, adjust for this.
5745         (breakAgain): add an assert
5746         (breakAgainOneRow): ditto
5747
5748 2003-03-29  John Levon  <levon@movementarian.org>
5749
5750         * text2.C: do not clear selection after inc/decDepth
5751         (bug 550)
5752
5753 2003-03-29  John Levon  <levon@movementarian.org>
5754
5755         * BufferView.C:
5756         * buffer.C: fix broken strerrors according to Lars
5757
5758 2003-03-29  John Levon  <levon@movementarian.org>
5759
5760         * converters.C: more Alert cleanups
5761
5762 2003-03-29  John Levon  <levon@movementarian.org>
5763
5764         * bufferview_funcs.C: remove pointless Alert
5765
5766         * buffer.C: fix confusing error message when
5767         a template is chmoded 000
5768
5769 2003-03-29  John Levon  <levon@movementarian.org>
5770
5771         * BufferView.C:
5772         * BufferView.h:
5773         * BufferView_pimpl.C: Alert fixes
5774
5775         * Makefile.am:
5776         * tabular.C:
5777         * tabular-old.C: remove unused table compat reading
5778
5779 2003-03-29  John Levon  <levon@movementarian.org>
5780
5781         * BufferView.C:
5782         * buffer.C:
5783         * lyx_cb.h:
5784         * lyx_cb.C: more Alert cleanups
5785
5786         * lyxfunc.C: don't allow chktex if not latex document
5787
5788 2003-03-29  John Levon  <levon@movementarian.org>
5789
5790         * lyx_cb.C:
5791         * BufferView.C:
5792         * buffer.C: warnings pushed down from support/,
5793         kill err_alert
5794
5795 2003-03-29  John Levon  <levon@movementarian.org>
5796
5797         * lyxfunc.C: safety check for C-r (revert)
5798
5799 2003-03-29  John Levon  <levon@movementarian.org>
5800
5801         * bufferlist.h:
5802         * bufferlist.C: several UI fixes using Alert::prompt.
5803         Fix the pointless looping quit code. Fix stupid revert
5804         behaviour (bug 938)
5805
5806         * lyxvc.h:
5807         * lyxvc.C:
5808         * lyx_cb.C: use Alert::prompt
5809
5810         * lyx_main.C: remove a silly question
5811
5812         * lyxfunc.C: remove a couple of silly questions,
5813         use Alert::prompt
5814
5815 2003-03-28  John Levon  <levon@movementarian.org>
5816
5817         * text2.C: fix bug 974 (End on empty par)
5818
5819 2003-03-28  John Levon  <levon@movementarian.org>
5820
5821         * BufferView_pimpl.C:
5822         * LyXAction.C:
5823         * lfuns.h: remove do-nothing math greek lfuns
5824
5825 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5826
5827         * lyxgluelength.h (isValidGlueLength): add default arg on
5828         parameter 2. Remove default arg from friend in class.
5829
5830         * lyxlength.h (isValidLength): add default arg on parameter 2.
5831         Remove default arg from friend in class.
5832
5833         * text2.C (LyXText): adjust, initialize refresh_row.
5834         (init): adjust
5835         (removeRow): adjust
5836         (insertRow): adjust
5837         (insertParagraph): adjst
5838         (redoParagraphs): adjust
5839         (fullRebreak): adjust
5840         (updateCounters): adjust
5841         (deleteEmptyParagraphMechanism): first attempt at fixing a
5842         crashing bug.
5843
5844         * text.C (top_y): adjust
5845         (setHeightOfRow): adjust
5846         (getRow): adjust
5847         (getRowNearY): adjust
5848
5849         * lyxtext.h: include RowList.h
5850         (~LyXText): not needed anymore, deleted.
5851         (firstRow): modify for RowList
5852         (lastRow): new function
5853         Delete firstrow and lastrow class variables, add a Rowlist
5854         rowlist_ class variable.
5855
5856         * lyxrow.C (lastPos): use empty() and not !size() to check if a
5857         paragraph is empty.
5858
5859         * RowList.C (insert): fix case where it == begin().
5860
5861 2003-03-26  Angus Leeming  <leeming@lyx.org>
5862
5863         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
5864         the thesaurus dialog.
5865
5866 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5867
5868         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
5869
5870         * RowList.[Ch]: new files
5871
5872         * ParagraphList.C (erase): handle the case where it == begin
5873         correctly.
5874
5875 2003-03-25  John Levon  <levon@movementarian.org>
5876
5877         * Makefile.am:
5878         * aspell_local.h:
5879         * aspell.C: add new aspell support
5880
5881         * lyxrc.h:
5882         * lyxrc.C: Make use_pspell be use_spell_lib. Always
5883         have it accessible.
5884
5885 2003-03-25  Angus Leeming  <leeming@lyx.org>
5886
5887         * lfuns.h:
5888         * LyXAction.C (init): new LFUN_INSET_INSERT.
5889
5890         * BufferView_pimpl.C (dispatch): split out part of the
5891         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
5892
5893         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
5894         LFUN_INSET_APPLY.
5895
5896 2003-03-25  Angus Leeming  <leeming@lyx.org>
5897
5898         * lyxfunc.C (dispatch): changes to the Dialogs interface.
5899
5900 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
5901
5902         * text2.C:
5903         * text3.C: remove useless row->height(0)
5904
5905 2003-03-25  John Levon  <levon@movementarian.org>
5906
5907         * lyxtext.h:
5908         * text2.C:
5909         * text3.C: rename the refreshing stuff to better names
5910
5911 2003-03-24  John Levon  <levon@movementarian.org>
5912
5913         * BufferView_pimpl.h:
5914         * BufferView_pimpl.C: update layout choice on a mouse
5915         press/release
5916
5917 2003-03-23  John Levon  <levon@movementarian.org>
5918
5919         * Makefile.am: fix commandtags.h reference
5920
5921 2003-03-22  John Levon  <levon@movementarian.org>
5922
5923         * BufferView_pimpl.C:
5924         * lyxtext.h:
5925         * rowpainter.C:
5926         * rowpainter.h:
5927         * text.C:
5928         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
5929
5930 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
5931
5932         * lyxtext.h:
5933         * text.C: take the rtl methods out of line
5934
5935 2003-03-21 André Pönitz <poenitz@gmx.net>
5936
5937         * metricsinfo.[Ch]: new files containing structures to be passed around
5938         during the two-phase-drawing...
5939
5940 2003-03-21 André Pönitz <poenitz@gmx.net>
5941
5942         * lyxtextclass.C: read 'environment' tag.
5943
5944 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
5945
5946         * text2.C (removeRow): fix bug 964
5947
5948 2003-03-20  John Levon  <levon@movementarian.org>
5949
5950         * rowpainter.C:
5951         * text.C:
5952         * text2.C: paint cleanups. Inset::update() dropped font
5953         parameter
5954
5955 2003-03-19  John Levon  <levon@movementarian.org>
5956
5957         * lyxfunc.C: only fitcursor/markDirty if available()
5958
5959 2003-03-19  John Levon  <levon@movementarian.org>
5960
5961         * commandtags.h: rename to ...
5962
5963         * lfuns.h: ... this, and renumber / cleanup
5964
5965 2003-03-19  John Levon  <levon@movementarian.org>
5966
5967         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
5968         fit the cursor after an lfun
5969
5970         * BufferView.h:
5971         * BufferView.C:
5972         * BufferView_pimpl.h:
5973         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
5974
5975         * LyXAction.C: layout-character should have ReadOnly
5976
5977         * ParagraphParameters.C:
5978         * buffer.C:
5979         * bufferview_funcs.C:
5980         * lyx_cb.C:
5981         * lyxfind.C:
5982         * lyxtext.h:
5983         * text.C:
5984         * text2.C:
5985         * text3.C:
5986         * undo_funcs.C: changes from above
5987
5988 2003-03-18  John Levon  <levon@movementarian.org>
5989
5990         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
5991         remove it from update()
5992
5993         * lyxfunc.C: update layout choice after an lfun
5994
5995         * text3.C: remove extra updateLayoutChoice()s
5996
5997 2003-03-18  John Levon  <levon@movementarian.org>
5998
5999         * text.C: top_y change means full repaint, fix
6000         a drawing bug with cursor movement
6001
6002 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6003
6004         * lyxtext.h:
6005         * text.C:
6006         * text2.C: anchor row on setCursor
6007
6008 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6009
6010         * lyxtext.h: remove almost all mutable keywords
6011         * text.C:
6012         * text2.C:
6013         * text3.C: remove const keywords accordingly
6014
6015 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6018         anon namespace
6019         (TeXEnvironment): ditto
6020         (TeXOnePar): ditto
6021
6022 2003-03-17  John Levon  <levon@movementarian.org>
6023
6024         * text.C (rowBreakPoint): remove attempt to fix displayed
6025         math insets inside a manual label
6026
6027 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6028
6029         * lyxtext.h: remove BufferView* as first arg from almost all class
6030         functions.
6031         * other files: adjust.
6032
6033 2003-03-17  John Levon  <levon@movementarian.org>
6034
6035         * lyxtext.h:
6036         * undo_funcs.C:
6037         * text2.C: more paint cleanups
6038
6039         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6040
6041         * rowpainter.h:
6042         * rowpainter.C: remove "smart" background painting code
6043
6044 2003-03-16  John Levon  <levon@movementarian.org>
6045
6046         * lyxtext.h:
6047         * text.C:
6048         * text2.C:
6049         * text3.C: add helper functions for setting refresh_row/y
6050
6051 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
6052
6053         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6054         newline inset which *can* get inserted in the pass_thru layouts.
6055         This is primarily for literate documents.
6056
6057 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
6058
6059         * buffer.C: increment LYX_FORMAT to 223
6060
6061 2003-03-14 André Pönitz <poenitz@gmx.net>
6062
6063         * textclass.h: prepare for environment handling, ws changes
6064         * lyxlayout.C: read latexheader and latexfooter tags
6065
6066 2003-03-14  John Levon  <levon@movementarian.org>
6067
6068         * text2.C: rewrite ::status() a bit
6069
6070 2003-03-13  John Levon  <levon@movementarian.org>
6071
6072         * lyxtext.h: add some docs
6073
6074 2003-03-13  John Levon  <levon@movementarian.org>
6075
6076         * lyxtext.h:
6077         * text.C:
6078         * text2.C:
6079         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6080
6081 2003-03-13  John Levon  <levon@movementarian.org>
6082
6083         * text3.C: fix appendix redrawing
6084
6085 2003-03-13  John Levon  <levon@movementarian.org>
6086
6087         * text.C (setHeightOfRow):
6088         * rowpainter.h:
6089         * rowpainter.C: make appendix mark have the text
6090           "Appendix" so the user knows what it is
6091
6092         * LColor.h:
6093         * LColor.C: s/appendixline/appendix/ from above
6094
6095 2003-03-13  John Levon  <levon@movementarian.org>
6096
6097         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
6098
6099         * text.C: fix a getChar(pos) bug properly
6100
6101 2003-03-13  Angus Leeming  <leeming@lyx.org>
6102
6103         * commandtags.h:
6104         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
6105         Probably only temporary. Let's see how things pan out.
6106
6107         * BufferView.C (unlockInset):
6108         * BufferView_pimpl.C (fitCursor):
6109         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
6110
6111         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
6112         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
6113
6114         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
6115         new functions that convert ParagraphParameters to and from a string.
6116
6117         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
6118         BufferView::Pimpl's dispatch.
6119         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
6120
6121 2003-03-13 André Pönitz <poenitz@gmx.net>
6122
6123         * lyxfunc.C:
6124         * text3.C:
6125         * factory.C: make it aware of InsetEnv
6126
6127 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * text2.C (setCursor): never ask for one past last
6130         (setCursor): add some debugging messages.
6131
6132         * text.C (singleWidth): never ask for one past last
6133         (singleWidth): ditto
6134         (leftMargin): ditto
6135         (rightMargin): ditto
6136         (rowBreakPoint): ditto
6137         (setHeightOfRow): ditto
6138         (prepareToPrint): ditto
6139
6140         * rowpainter.C (paintBackground): never ask for one past last
6141         (paintText): never ask for one past last
6142
6143         * paragraph_pimpl.C (getChar): make the assert stricter, never
6144         allow the one past last pos to be taken
6145
6146         * paragraph.C (getChar): ws changes only
6147
6148         * lyxrow.C (nextRowIsAllInset): never ask for one past last
6149         (numberOfSeparators): ditto
6150         (numberOfHfills): ditto
6151
6152 2003-03-12  John Levon  <levon@movementarian.org>
6153
6154         * author.h:
6155         * author.C:
6156         * bufferparams.h:
6157         * bufferparams.C:
6158         * paragraph_funcs.C: fix per-buffer authorlists
6159
6160 2003-03-12  John Levon  <levon@movementarian.org>
6161
6162         * text.C: fix newline in right address
6163
6164 2003-03-12  Angus Leeming  <leeming@lyx.org>
6165
6166         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
6167         duplicate those in LyXFunc::dispatch.
6168
6169         * commandtags.h:
6170         * LyXAction.C:
6171         * ToolbarDefaults.C:
6172         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
6173         Add LFUN_FONTFREE_UPDATE.
6174
6175         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
6176         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
6177
6178         * bufferview_func.[Ch]: several new functions to facilliate
6179         transfer of data to and from the character dialog.
6180
6181 2003-03-12  John Levon  <levon@movementarian.org>
6182
6183         * buffer.C:
6184         * paragraph.h:
6185         * paragraph.C:
6186         * paragraph_funcs.C:
6187         * paragraph_pimpl.C:
6188         * sgml.C:
6189         * tabular.C:
6190         * text.C:
6191         * text3.C: remove META_NEWLINE in favour of an inset
6192
6193         * rowpainter.h:
6194         * rowpainter.C: remove paintNewline (done by inset)
6195
6196 2003-03-12  John Levon  <levon@movementarian.org>
6197
6198         * paragraph_pimpl.C: complain about bad getChar()s
6199         for a while at least
6200
6201 2003-03-12  John Levon  <levon@movementarian.org>
6202
6203         * buffer.h:
6204         * buffer.C: move paragraph read into a separate function,
6205         a little renaming to reflect that.
6206
6207         * bufferparams.h:
6208         * bufferparams.C: remove the author_ids map, not necessary now
6209
6210         * factory.h:
6211         * factory.C: moved Buffer::readInset to here
6212
6213         * paragraph_funcs.h:
6214         * paragraph_funcs.C: readParagraph free function moved from
6215         buffer.C
6216
6217         * tabular.C: name change
6218
6219 2003-03-12  John Levon  <levon@movementarian.org>
6220
6221         * buffer.C:
6222         * ParagraphParameters.C: move par params input to
6223         a read() method
6224
6225         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
6226         behave like a normal read from the stream wrt reading
6227         a line vs. a \\token
6228
6229 2003-03-12  John Levon  <levon@movementarian.org>
6230
6231         * paragraph.C:
6232         * ParagraphParameters.h:
6233         * ParagraphParameters.C: move output code to a
6234         ::write() method
6235
6236 2003-03-12  John Levon  <levon@movementarian.org>
6237
6238         * BufferView.C (insertLyXFile):
6239         * buffer.h:
6240         * buffer.C:
6241         * tabular.C: use a parlist iterator for creating the
6242           document.
6243
6244 2003-03-12  John Levon  <levon@movementarian.org>
6245
6246         * buffer.C: make current_change static local not
6247           static file-scope
6248
6249 2003-03-12  John Levon  <levon@movementarian.org>
6250
6251         * buffer.C: fix insertStringAsLines for change tracking
6252
6253 2003-03-12  John Levon  <levon@movementarian.org>
6254
6255         * BufferView.C:
6256         * tabular.C:
6257         * buffer.h:
6258         * buffer.C:
6259         * bufferparams.h:
6260         * bufferparams.C: move author list into params. Rename some
6261           functions. Move the header reading into a separate token
6262           loop. Move the header token reading into BufferParams.
6263
6264 2003-03-12  John Levon  <levon@movementarian.org>
6265
6266         * changes.C: put debug inside lyxerr.debugging() checks
6267
6268 2003-03-11 André Pönitz <poenitz@gmx.net>
6269
6270         * factory.C: make it aware of InsetHFill
6271
6272 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6273
6274         * buffer.C (latexParagraphs): move function from here...
6275         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
6276         args.
6277
6278 2003-03-10  Angus Leeming  <leeming@lyx.org>
6279
6280         * LyXAction.C (init): fix bug in poplating array with multiple entries
6281         with the same LFUN (spotted by JMarc).
6282
6283 2003-03-10  John Levon  <levon@movementarian.org>
6284
6285         * text.C:
6286         * text2.C: move getColumnNearX() near its
6287         only call site
6288
6289 2003-03-10  John Levon  <levon@movementarian.org>
6290
6291         * text.C: fix break before a minipage
6292
6293 2003-03-10  John Levon  <levon@movementarian.org>
6294
6295         * text.C: fix the last commit
6296
6297 2003-03-09  John Levon  <levon@movementarian.org>
6298
6299         * lyxtext.h:
6300         * text.C:
6301         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
6302         bug 365 (don't break before insets unless needed). Don't
6303         return a value > last under any circumstances.
6304
6305 2003-03-09  Angus Leeming  <leeming@lyx.org>
6306
6307         * BufferView_pimpl.C (trackChanges, dispatch): call
6308         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
6309
6310 2003-03-09  Angus Leeming  <leeming@lyx.org>
6311
6312         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
6313         than Dialogs::showAboutlyx().
6314
6315 2003-03-09  Angus Leeming  <leeming@lyx.org>
6316
6317         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
6318         than Dialogs::showTabularCreate().
6319
6320 2003-03-09  John Levon  <levon@movementarian.org>
6321
6322         * lyxtext.h:
6323         * text.C:
6324         * text2.C: 3rd arg to nextBreakPoint was always the same.
6325           Use references.
6326
6327 2003-03-08  John Levon  <levon@movementarian.org>
6328
6329         * lyxrow.C:
6330         * paragraph.C:
6331         * paragraph.h:
6332         * rowpainter.C:
6333         * text.C:
6334         * text2.C: Remove the "main" bit from the "main body"
6335           notion.
6336
6337 2003-03-08  John Levon  <levon@movementarian.org>
6338
6339         * text.C (leftMargin): The left margin of an empty
6340         manual label paragraph should not include the label width
6341         string length.
6342
6343         * text.C (prepareToPrint): don't attempt to measure hfills
6344         for empty manual label paragraphs - the answer should be 0
6345
6346 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * CutAndPaste.C: remove commented code and reindent.
6349
6350 2003-03-08  John Levon  <levon@movementarian.org>
6351
6352         * lyxfunc.h:
6353         * lyxfunc.C: move reloadBuffer()
6354
6355         * BufferView.h:
6356         * BufferView.C: to here
6357
6358         * lyxvc.C: add comment
6359
6360         * vc-backend.h:
6361         * vc-backend.C: call bv->reload() to avoid
6362           getStatus() check on MENURELOAD
6363
6364 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
6365
6366         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
6367         to an old format .dep file.
6368
6369 2003-03-07  Angus Leeming  <leeming@lyx.org>
6370
6371         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
6372         when the LFUN_MOUSE_RELEASE should have been handled by
6373         inset->localDispatch.
6374
6375 2003-03-07  Angus Leeming  <leeming@lyx.org>
6376
6377         * BufferView_pimpl.C (dispatch):
6378         * LyXAction.C (init):
6379         * ToolbarDefaults.C (init):
6380         * commandtags.h:
6381         * lyxfunc.C (getStatus):
6382         remove LFUN_INSET_GRAPHICS.
6383
6384         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
6385
6386 2003-03-07  Angus Leeming  <leeming@lyx.org>
6387
6388         * commandtags.h:
6389         * LyXAction.C (init):
6390         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
6391
6392         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
6393
6394         * commandtags.h:
6395         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
6396
6397         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
6398         localDispatch method LFUN_INSET_DIALOG_UPDATE.
6399
6400 2003-03-07  Angus Leeming  <leeming@lyx.org>
6401
6402         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
6403         remove "ert".
6404
6405 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * ParagraphList.C (front): new function
6408         (back): implement
6409
6410 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
6411
6412         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
6413         and top_row_offset_. removed var first_y.
6414         * text.C (top_y):
6415         * text2.C (LyXText, removeRow):
6416         * text3.C:
6417         * BufferView_pimpl.C:
6418         use these methods instead of using first_y
6419
6420 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6421
6422         * text2.C (pasteSelection): adjust for checkPastePossible
6423
6424         * CutAndPaste.C: remove Paragraph * buf and replace with
6425         ParagraphList paragraphs.
6426         (DeleteBuffer): delete
6427         (cutSelection): change the tc type to textclass_type
6428         (copySelection): change the tc type to textclass_type
6429         (copySelection): adjust for ParagraphList
6430         (pasteSelection): change the tc type to textclass_type
6431         (pasteSelection): adjust for Paragraphlist
6432         (nrOfParagraphs): simplify for ParagraphList
6433         (checkPastePossible): simplify for ParagraphList
6434         (checkPastePossible): remove unused arg
6435
6436         * ParagraphList.C (insert): handle the case where there are no
6437         paragraphs yet.
6438
6439         * CutAndPaste.h: make CutAndPaste a namespace.
6440
6441         * text3.C (dispatch): adjust
6442
6443         * text.C (breakParagraph): add a ParagraphList as arg
6444
6445         * paragraph_funcs.C (breakParagraph): change to take a
6446         BufferParams and a ParagraphList as args.
6447         (breakParagraphConservative): ditto
6448         (mergeParagraph): ditto
6449         (TeXDeeper): add a ParagraphList arg
6450         (TeXEnvironment): ditto
6451         (TeXOnePar): ditto
6452
6453         * buffer.C (readLyXformat2): adjust
6454         (insertStringAsLines): adjust
6455         (latexParagraphs): adjust
6456
6457         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
6458         (cutSelection): adjust
6459         (pasteSelection): adjust
6460
6461         * BufferView_pimpl.C (insertInset): adjust
6462
6463 2003-03-05  Angus Leeming  <leeming@lyx.org>
6464
6465         * commandtags.h:
6466         * LyXAction.C (init):
6467         * BufferView_pimpl.C (dispatch):
6468         * lyxfunc.C (getStatus):
6469         remove LFUN_CHILD_INSERT.
6470
6471         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
6472
6473 2003-03-05  Angus Leeming  <leeming@lyx.org>
6474
6475         * commandtags.h:
6476         * LyXAction.C (init):
6477         * src/factory.C (createInset):
6478         * lyxfunc.C (getStatus):
6479         * text3.C (dispatch):
6480         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
6481
6482         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
6483
6484 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * ParagraphList.C (insert): handle insert right before end()
6487         (erase): fix cases where it can be first or last paragraph.
6488
6489 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * paragraph_funcs.C (TeXEnvironment): remove all usage of
6492         Paragraph::next and Paragraph::previous
6493         (TeXOnePar): ditto
6494
6495         * text.C (breakParagraph): adjust
6496
6497         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
6498         BufferParams& as arg.
6499         (breakParagraph): use ParagraphList::insert
6500         (breakParagraphConservative): take a Buffer* instead of a
6501         BufferParams& as arg.
6502         (breakParagraphConservative): use ParagraphList::insert.
6503
6504         * buffer.C (insertStringAsLines): un-const it
6505         (insertStringAsLines): adjust
6506
6507         * ParagraphList.C (insert): new function
6508
6509         * CutAndPaste.C (pasteSelection): adjust
6510
6511         * text.C (backspace): adjust
6512
6513         * tabular.C (SetMultiColumn): adjust
6514
6515         * CutAndPaste.C (cutSelection): adjust
6516         (pasteSelection): adjust
6517
6518         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
6519         Buffer const * as arg
6520
6521         * ParagraphList.C (erase): new function
6522         * paragraph_funcs.C (mergeParagraph): use it
6523         (mergeParagraph): make it take a Buffer* instead of a
6524         BufferParams* as arg
6525
6526         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
6527         as arg
6528         (breakParagraphConservative): ditto
6529
6530         * paragraph.h: remove the breakParagraph friend
6531
6532         * paragraph.C (eraseIntern): new function
6533         (setChange): new function
6534
6535         * paragraph_funcs.C (mergeParagraph): make it take a
6536         ParagraphList::iterator instead of a Paragraph *, adjust
6537         accordingly.
6538
6539         * paragraph.h: move an #endif so that the change tracking stuff
6540         also works in the NO_NEXT case.
6541
6542 2003-03-04  Angus Leeming  <leeming@lyx.org>
6543
6544         * commandtags.h:
6545         * LyXAction.C: new LFUN_INSET_MODIFY.
6546
6547         * BufferView_pimpl.C (dispatch): if an inset is found to be open
6548         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
6549
6550 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6551
6552         * several files: ws changes only
6553
6554         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6555         (TeXEnvironment): ditto
6556         (TeXDeeper): ditto
6557
6558         * buffer.C (makeLaTeXFile): adjust
6559         (latexParagraphs): make it take ParagraphList::iterator as args
6560
6561 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6562
6563         * buffer.C (latexParagraphs): adjust
6564
6565         * paragraph.C (TeXOnePar): move function...
6566         (optArgInset): move function...
6567         (TeXEnvironment): move function...
6568         * paragraph_pimpl.C (TeXDeeper): move function...
6569         * paragraph_funcs.C: ...here
6570
6571         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
6572
6573 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6574
6575         * buffer.C (readInset): remove compability code for old Figure and
6576         InsetInfo insets
6577
6578 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6579
6580         * buffer.C: ws changes
6581         (readInset):
6582
6583         * BufferView_pimpl.C: ditto
6584         * author.C: ditto
6585         * buffer.h: ditto
6586         * bufferlist.h: ditto
6587         * changes.h: ditto
6588         * lyxfunc.C: ditto
6589
6590 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
6591
6592         * converter.[Ch]: split into itself +
6593         * graph.[Ch]
6594         * format.[Ch]
6595         * Makefile.am: += graph.[Ch] + format.[Ch]
6596         * MenuBackend.C
6597         * buffer.C
6598         * exporter.C
6599         * importer.C
6600         * lyx_main.C
6601         * lyxfunc.C
6602         * lyxrc.C: added #include "format.h"
6603
6604 2003-02-27  Angus Leeming  <leeming@lyx.org>
6605
6606         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
6607           a label.
6608
6609         * factory.C (createInset): add "label" to the factory.
6610
6611         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
6612           string and do no more.
6613
6614 2003-02-27  Angus Leeming  <leeming@lyx.org>
6615
6616         * commandtags.h:
6617         * LyXAction.C (init):
6618         * factory.C (createInset):
6619         * BufferView_pimpl.C (dispatch):
6620           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
6621
6622         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
6623
6624         * lyxfunc.C (dispatch):
6625         * text3.C (dispatch): pass name to params2string.
6626
6627 2003-02-26  Angus Leeming  <leeming@lyx.org>
6628
6629         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
6630           blocks together.
6631           Rearrange the ~includes. Strip out the unnecessary ones.
6632
6633         * factory.C (createInset): reformat.
6634           create new insets for the various LFUN_XYZ_APPLY lfuns.
6635
6636 2003-02-26  John Levon  <levon@movementarian.org>
6637
6638         * lyxrow.h:
6639         * lyxrow.C: add isParStart,isParEnd helpers
6640
6641         * paragraph.h: make isInserted/DeletedText take refs
6642
6643         * paragraph_funcs.h:
6644         * paragraph_funcs.C: remove #if 0'd code
6645
6646         * lyxtext.h:
6647         * text3.C:
6648         * text2.C:
6649         * text.C: use lyxrow helpers above.
6650           Move draw and paint routines to RowPainter.
6651           Make several methods use refs not pointers.
6652           Make backgroundColor() const.
6653           Add markChangeInDraw(), isInInset().
6654           Merge changeRegionCase into changeCase.
6655           Make workWidth() shouldn't-happen code into an Assert.
6656
6657         * rowpainter.h:
6658         * rowpainter.C: new class for painting a row.
6659
6660         * vspace.h:
6661         * vspace.C: make inPixels take a ref
6662
6663 2003-02-26  Angus Leeming  <leeming@lyx.org>
6664
6665         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
6666         LFUN_REF_APPLY.
6667
6668 2003-02-25  John Levon  <levon@movementarian.org>
6669
6670         * ispell.C: give the forked command a more accurate name
6671
6672 2003-02-22  John Levon  <levon@movementarian.org>
6673
6674         * toc.h:
6675         * toc.C: make TocItem store an id not a Paragraph *
6676           (bug #913)
6677
6678 2003-02-21  Angus Leeming  <leeming@lyx.org>
6679
6680         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
6681           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
6682           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
6683           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
6684           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
6685           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
6686
6687         * BufferView_pimpl.C (dispatch):
6688         * LyXAction.C (init):
6689         * factory.C (createInset):
6690         * lyxfunc.C (getStatus, dispatch):
6691         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
6692
6693 2003-02-21  Angus Leeming  <leeming@lyx.org>
6694
6695         * BufferView_pimpl.C (MenuInsertLyXFile):
6696         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
6697         * lyxfunc.C (menuNew, open, doImport):
6698           no longer pass a LyXView & to fileDlg.
6699
6700 2003-02-21  Angus Leeming  <leeming@lyx.org>
6701
6702         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
6703         * LyXAction.C: change, BIBKEY to BIBITEM.
6704         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
6705         Change InsetBibKey to InsetBibitem.
6706         Change BIBKEY_CODE to BIBITEM_CODE.
6707         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6708         * factory.C: replace insetbib.h with insetbibitem.h.
6709         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6710         * paragraph.C: replace insetbib.h with insetbibitem.h.
6711         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
6712         Change bibkey() to bibitem().
6713         * text.C: remove insetbib.h.
6714         * text2.C: replace insetbib.h with insetbibitem.h.
6715         change bibkey() to bibitem().
6716         * text3.C: remove insetbib.h.
6717         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
6718
6719 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6720
6721         * lyxrc.C (output): enclose user email in quotes (in case there are
6722         several words)
6723
6724 2003-02-18  John Levon  <levon@movementarian.org>
6725
6726         * buffer.h: add std::
6727
6728 2003-02-17  John Levon  <levon@movementarian.org>
6729
6730         * SpellBase.h:
6731         * ispell.h:
6732         * ispell.C:
6733         * pspell.h:
6734         * pspell.C: reworking. Especially in ispell, a large
6735           number of clean ups and bug fixes.
6736
6737         * lyxfunc.C: fix revert to behave sensibly
6738
6739 2003-02-17 André Pönitz <poenitz@gmx.net>
6740
6741         * LyXAction.C:
6742         * commandtags.h: new LFUN_INSERT_BIBKEY
6743
6744         * layout.h:
6745         * lyxlayout.C:
6746         * buffer.C:
6747         * factory.C:
6748         * text.C:
6749         * text2.C:
6750         * text3.C:
6751         * paragraph.[Ch]:
6752         * paragraph_func.C: remove special bibkey handling
6753
6754 2003-02-17  John Levon  <levon@movementarian.org>
6755
6756         * text.C (Delete): fix case where delete at the end of
6757           the very first paragraph would not merge the pars
6758
6759 2003-02-17  John Levon  <levon@movementarian.org>
6760
6761         * lyxrow.C: fix lastPrintablePos()
6762
6763 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6764
6765         * bufferparams.C (writeLaTeX): add a std:here
6766
6767         * buffer.C: and remove a using directive there
6768
6769 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6770
6771         * buffer.C (makeLaTeXFile): move the code that generates the
6772           preamble...
6773
6774         * bufferparams.C (writeLaTeX): ... in this new method
6775
6776         * LaTeXFeatures.C (getEncodingSet): make const
6777           (getLanguages): make const
6778
6779         * MenuBackend.C (binding): returns the binding associated to this
6780           action
6781           (add): sets the status of each item by calling getStatus. Adds
6782           some intelligence.
6783           (read): add support for OptSubMenu
6784           (expand): remove extra separator at the end of expanded menu
6785
6786 2003-02-15  John Levon  <levon@movementarian.org>
6787
6788         * BufferView.C:
6789         * BufferView_pimpl.C:
6790         * bufferlist.h:
6791         * bufferlist.C: remove pointless BufferStorage bloat. Remove
6792           inset code that had no actual effect. Remove unneeded status
6793           code.
6794
6795 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6796
6797         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
6798           in preamble
6799
6800 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
6801
6802         * text.C (drawLengthMarker): also draw an arrow marker for
6803           symbolic lengths (medskip...)
6804
6805 2003-02-14  John Levon  <levon@movementarian.org>
6806
6807         * tabular.h:
6808         * tabular.C: better method names
6809
6810 2003-02-14  John Levon  <levon@movementarian.org>
6811
6812         * BufferView_pimpl.C:
6813         * bufferlist.C:
6814         * buffer.C:
6815         * converter.C:
6816         * lyx_cb.C:
6817         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
6818           it's a more accurate name. Remove some pointless uses.
6819
6820 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6821
6822         * text2.C (LyXText): change order of initilizers to shut off
6823           warnings
6824
6825 2003-02-14  John Levon  <levon@movementarian.org>
6826
6827         * buffer.C: use ParIterator for getParFromID()
6828
6829         * paragraph.h:
6830         * paragraph.C:
6831         * paragraph_pimpl.h:
6832         * paragraph_pimpl.C: remove unused getParFromID()
6833
6834 2003-02-14  John Levon  <levon@movementarian.org>
6835
6836         * buffer.C: remove some very old #if 0'd parse code
6837
6838 2003-02-13  John Levon  <levon@movementarian.org>
6839
6840         * text.h:
6841         * text.C:
6842         * text2.C: move hfillExpansion(), numberOfSeparators(),
6843           rowLast(), rowLastPrintable(), numberofHfills(),
6844           numberOfLabelHfills() ...
6845
6846         * lyxrow.h:
6847         * lyxrow.C: ... to member functions here.
6848
6849         * paragraph.h:
6850         * paragraph.C:
6851         * lyxtext.h:
6852         * text.C: remove LyXText::beginningOfMainBody(), and call
6853           p->beginningOfMainBody() directly. Move the check for
6854           LABEL_MANUAL into the latter.
6855
6856         * text.h:
6857         * text.C:
6858         * text2.C:
6859         * vspace.C:
6860         * BufferView.h:
6861         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
6862
6863         * text.h:
6864         * text.C:
6865         * text2.C:
6866         * text3.C:
6867         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
6868           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
6869
6870 2003-02-13  John Levon  <levon@movementarian.org>
6871
6872         * CutAndPaste.C: remove debug
6873
6874 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6875
6876         * paragraph.C (asString): remove two unused variables
6877
6878         * lyxtextclass.C (readTitleType):
6879           (Read):
6880           (LyXTextClass): handle new members titletype_ and titlename_
6881
6882         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
6883
6884 2003-02-09  John Levon  <levon@movementarian.org>
6885
6886         * buffer.h:
6887         * buffer.C: replace hand-coded list with a map for the dep clean
6888
6889 2003-02-08  John Levon  <levon@movementarian.org>
6890
6891         * LaTeX.C: consolidate code into showRunMessage() helper
6892
6893 2003-02-08  John Levon  <levon@movementarian.org>
6894
6895         * lyxfind.C:
6896         * lyxtext.h:
6897         * text2.C:
6898         * BufferView.C: change setSelectionOverString() to setSelectionRange()
6899           and pass the size in explicitly
6900
6901         * BufferView_pimpl.h:
6902         * BufferView_pimpl.C:
6903         * BufferView.h:
6904         * BufferView.C: add getCurrentChange()
6905
6906         * BufferView_pimpl.h:
6907         * BufferView_pimpl.C: handle change lfuns
6908
6909         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
6910           for changes. Mark pasted paragraphs as new.
6911
6912         * support/lyxtime.h:
6913         * support/lyxtime.C:
6914         * DepTable.C: abstract time_t as lyx::time_type
6915
6916         * LColor.h:
6917         * LColor.C: add colours for new text, deleted text, changebars
6918
6919         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
6920           package use "usenames" option.
6921
6922         * commandtags.h:
6923         * lyxfunc.C:
6924         * LyXAction.C: add change lfuns
6925
6926         * Makefile.am:
6927         * author.h:
6928         * author.C: author handling
6929
6930         * buffer.h:
6931         * buffer.C: add a per-buffer author list, with first entry as
6932           current author. Handle new .lyx tokens for change tracking. Output
6933           author list to .lyx file. Output dvipost stuff to .tex preamble.
6934           Bump lyx format to 222.
6935
6936         * bufferlist.h:
6937         * bufferlist.C: add setCurrentAuthor() to reset current author details
6938           in all buffers.
6939
6940         * bufferparams.h:
6941         * bufferparams.C: add param for tracking
6942
6943         * bufferview_funcs.C: output change info in minibuffer
6944
6945         * Makefile.am:
6946         * changes.h:
6947         * changes.C: add change-tracking structure
6948
6949         * debug.h:
6950         * debug.C: add CHANGES debug flag
6951
6952         * lyxfind.h:
6953         * lyxfind.C: add code for finding the next change piece
6954
6955         * lyxrc.h:
6956         * lyxrc.C: add user_name and user_email
6957
6958         * lyxrow.h:
6959         * lyxrow.C: add a metric for the top of the text line
6960
6961         * lyxtext.h:
6962         * text.C: implement accept/rejectChange()
6963
6964         * lyxtext.h:
6965         * text.C: paint changebars. Paint new/deleted text in the chosen
6966         colours. Strike through deleted text.
6967
6968         * paragraph.h:
6969         * paragraph.C:
6970         * paragraph_pimpl.h:
6971         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
6972           in the current change to the insert functions. Rework erase to
6973           mark text as deleted, adding an eraseIntern() and a range-based
6974           erase(). Implement per-paragraph change lookup and
6975           accept/reject.
6976
6977         * paragraph_funcs.C: Fixup paste for change tracking.
6978
6979         * tabular.C: mark added row/columns as new.
6980
6981         * text.C: fix rowLast() to never return -1. Don't allow
6982           spellchecking of deleted text. Track transpose changes. Don't
6983           allow paragraph break or merge where appropriate.
6984
6985         * text2.C: leave cursor at end of selection after a cut.
6986
6987 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6988
6989         * text.C (getLengthMarkerHeight):
6990         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
6991         visible on screen too.
6992
6993 2003-02-07  John Levon  <levon@movementarian.org>
6994
6995         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
6996
6997 2003-02-05  Angus Leeming  <leeming@lyx.org>
6998
6999         * lyxserver.C (read_ready): revert my patch of 11 September last year
7000         as it sends PC cpu through the roof. Presumably this means that
7001         the lyxserver will no longer run on an Alpha...
7002
7003 2003-01-30  Angus Leeming  <leeming@lyx.org>
7004
7005         * factory.C (createInset): create an InsetCommandParam of type "index"
7006         and use it to 'do the right thing'.
7007
7008         * text2.C (getStringToIndex): ensure that cursor position is always
7009         reset to the reset_cursor position.
7010
7011 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7012
7013         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7014         disabled.
7015
7016 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7017
7018         * bufferview.C:
7019         * lyxcb.C:
7020         * lyxfunc.C: Output messages with identical spelling, punctuation,
7021         and spaces
7022
7023 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
7024
7025         * MenuBackend.C (expandFormats): List only viewable export formats
7026         in "View" menu
7027
7028         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7029         message
7030
7031         * lyxfunc.C (getStatus): Make sure that formats other than
7032         "fax" can also be disabled
7033
7034 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7035
7036         * text3.C (dispatch): put the lfuns that insert insets in 3
7037         groups, and call doInsertInset with appropriate arguments.
7038         (doInsertInset): new function, that creates an inset and inserts
7039         it according to some boolean parameters.
7040
7041 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7042
7043         * buffer.C (readFile): remember to pass on 'par' when calling
7044         readFile recursively.
7045
7046 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7047
7048         * MenuBackend.C (expandFormats): add "..." to import formats.
7049
7050 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
7051
7052         * paragraph.C (asString): Remove XForms RTL hacks.
7053
7054 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
7055         * buffer.C: fix typo
7056
7057 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * Makefile.am (LIBS): delete var
7060         (lyx_LDADD): add @LIBS@ here instead.
7061
7062 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
7063
7064         * Clarify the meaning of "wheel mouse jump"
7065
7066 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7067
7068         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7069         tabular in a float
7070
7071 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7072
7073         * importer.C (Loaders): do not preallocate 3 elements in the
7074         vector, since one ends up with 6 elements otherwise
7075
7076 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7077
7078         * DepTable.C (write): write the file name as last element of the
7079         .dep file (because it may contain spaces)
7080         (read): read info in the right order
7081
7082 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7083
7084         * paragraph_pimpl.C (simpleTeXBlanks):
7085         (simpleTeXSpecialChars):
7086         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7087
7088         * tabular.C (latex): add some missing case statements. Reindent.
7089
7090         * MenuBackend.C (expandToc): remove unused variable.
7091
7092 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
7093
7094         * LColor.C:
7095         * LaTeX.C:
7096         * LyXAction.C:
7097         * MenuBackend.C:
7098         * buffer.C:
7099         * exporter.C:
7100         * lyxfunc.C:
7101         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
7102         and the like.
7103
7104 2003-01-05  John Levon  <levon@movementarian.org>
7105
7106         * BufferView.h:
7107         * BufferView.C: add getEncoding()
7108
7109         * kbsequence.h:
7110         * kbsequence.C: do not store last keypress
7111
7112         * lyxfunc.h:
7113         * lyxfunc.C: store last keypress here instead. Pass encoding
7114           to getISOEncoded()
7115
7116 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7117
7118         * lyx_main.C (init): remove annoying error message when following
7119         symbolic links (bug #780)
7120
7121 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7122
7123         * text.C (insertChar):
7124         * lyxrc.C (getDescription): remove extra spaces
7125
7126 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7127
7128         * lyxrc.C (getDescription): remove extra spaces
7129
7130 2002-12-20  John Levon  <levon@movementarian.org>
7131
7132         * text3.C: hack fix for page up/down across tall rows
7133
7134 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7135
7136         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
7137         not been invoked
7138
7139 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7140
7141         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
7142         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
7143         thesaurus is not compiled in
7144
7145 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
7146
7147         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
7148
7149 2002-12-16  Angus Leeming  <leeming@lyx.org>
7150
7151         * lyxrc.[Ch]:
7152         * lyx_main.C (init): remove override_x_deadkeys stuff.
7153
7154 2002-12-12  John Levon  <levon@movementarian.org>
7155
7156         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
7157           insert. Only remove shift modifier under strict
7158           circumstances.
7159
7160 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7161
7162         * MenuBackend.C (expandToc): fix crash.
7163
7164 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7165
7166         * MenuBackend.C (expandToc): gettext on float names.
7167
7168 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7169
7170         * lyxlength.[Ch]: set default unit to UNIT_NONE,
7171         implement bool empty() [bug 490]
7172
7173 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7174
7175         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
7176
7177 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * several files: ws changes
7180
7181 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7182
7183         * text2.C (setCounter): clean up a bit, use boost.format.
7184         (updateCounters): initialize par upon declaration.
7185
7186         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
7187         if the layout exists. We do not just store the layout any more.
7188         (SwitchLayoutsBetweenClasses): use boost.format
7189
7190 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7191
7192         * converter.C (convert): if from and to files are the same, use a
7193         temporary files as intermediary
7194
7195 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7196
7197         * commandtags.h:
7198         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
7199
7200 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7201
7202         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
7203
7204 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7205
7206         * tabular.C (asciiPrintCell): use string(size, char) instead of
7207         explicit loop.
7208
7209         * sgml.C (openTag): fix order of arguments to string constructor
7210         (closeTag): ditto
7211
7212         * lyxfunc.C (dispatch): use boost.format
7213
7214         * lots of files: change "c" -> 'c'
7215
7216 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7217
7218         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
7219
7220 2002-11-25  Angus Leeming  <leeming@lyx.org>
7221
7222         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
7223
7224         * lyx_main.C (init): compile fix.
7225
7226 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7227
7228         * lyx_cb.C (start): boost.formatify
7229         do not include <iostream>
7230
7231         * lengthcommon.C: ws only
7232
7233         * boost-inst.C,BoostFormat.h: add more explict instantations
7234
7235 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7236
7237         * lots of files: handle USE_BOOST_FORMAT
7238
7239 2002-11-21  John Levon  <levon@movementarian.org>
7240
7241         * pspell.C: fix compile
7242
7243 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7244
7245         * lyxfunc.C (dispatch): use boost::format
7246         (open): ditto
7247         (doImport): ditto
7248
7249         * lyxfont.C (stateText): use boost::format
7250
7251         * lyx_main.C (LyX): use boost::format
7252         (init): ditto
7253         (queryUserLyXDir): ditto
7254         (readRcFile): ditto
7255         (parse_dbg): ditto
7256         (typedef boost::function): use the recommened syntax.
7257
7258         * importer.C (Import): use boost::format
7259
7260         * debug.C (showLevel): use boost::format
7261
7262         * converter.C (view): use boost::format
7263         (convert): ditto
7264         (move): ditto
7265         (scanLog): ditto
7266
7267         * bufferview_funcs.C (currentState): use boost::format
7268
7269         * bufferlist.C (emergencyWrite): use boost::format
7270
7271         * buffer.C (readLyXformat2): use boost::format
7272         (parseSingleLyXformat2Token): ditto
7273
7274         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
7275
7276         * LaTeX.C (run): use boost::format
7277
7278         * Chktex.C (scanLogFile): use boost::format
7279
7280         * BufferView_pimpl.C (savePosition): use boost::format
7281         (restorePosition): ditto
7282         (MenuInsertLyXFile): ditto
7283
7284         * BoostFormat.h: help file for explicit instation.
7285
7286 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
7287
7288         * tabular.C (latex): Support for block alignment in fixed width
7289         columns.
7290
7291 2002-11-17  John Levon  <levon@movementarian.org>
7292
7293         * BufferView_pimpl.C:
7294         * lyx_cb.C:
7295         * lyxfunc.C: split filedialog into open/save
7296
7297 2002-11-08  Juergen Vigna  <jug@sad.it>
7298
7299         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
7300         by my last patch (hopefully).
7301
7302 2002-11-08  John Levon  <levon@movementarian.org>
7303
7304         * iterators.h:
7305         * iterators.C:
7306         * buffer.h:
7307         * buffer.C:
7308         * paragraph.h:
7309         * paragraph.C:
7310         * toc.h:
7311         * toc.C: ParConstIterator, and use it (from Lars)
7312
7313 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
7314
7315         * lyxtextclass.[Ch]: revise and add doxygen comments
7316
7317 2002-11-07  John Levon  <levon@movementarian.org>
7318
7319         * text.C: fix progress value for spellchecker
7320
7321         * toc.C: fix navigate menu for insetwrap inside minipage
7322
7323         * paragraph_funcs.C: added FIXME for suspect code
7324
7325 2002-11-07  John Levon  <levon@movementarian.org>
7326
7327         * BufferView_pimpl.C: fix redrawing of insets
7328           on buffer switch
7329
7330 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7331
7332         * text2.C (updateCounters): fix bug 668
7333
7334 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
7335
7336         * text3.C (dispatch): Do not make the buffer dirty when moving the
7337         cursor.
7338
7339 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7340
7341         * vc-backend.C: STRCONV
7342         (scanMaster): ditto
7343
7344         * text2.C (setCounter): STRCONV
7345
7346         * paragraph.C (asString): STRCONV
7347
7348         * lyxlength.C (asString): STRCONV
7349         (asLatexString): ditto
7350
7351         * lyxgluelength.C (asString): STRCONV
7352         (asLatexString): ditto
7353
7354         * lyxfunc.C (dispatch): STRCONV
7355         (open): ditto
7356
7357         * lyxfont.C (stateText): STRCONV
7358
7359         * importer.C (Import): STRCONV
7360
7361         * counters.C (labelItem): STRCONV
7362         (numberLabel): ditto
7363         (numberLabel): remove unused ostringstream o
7364
7365         * chset.C: STRCONV
7366         (loadFile): ditto
7367
7368         * bufferview_funcs.C (currentState): STRCONV
7369
7370         * buffer.C (readFile): STRCONV
7371         (asciiParagraph): ditto
7372         (makeLaTeXFile): ditto
7373
7374         * Spacing.C (writeEnvirBegin): STRCONV
7375
7376         * LaTeXFeatures.C (getLanguages): STRCONV
7377         (getPackages): ditto
7378         (getMacros): ditto
7379         (getBabelOptions): ditto
7380         (getTClassPreamble): ditto
7381         (getLyXSGMLEntities): ditto
7382         (getIncludedFiles): ditto
7383
7384         * LaTeX.C: STRCONV
7385         (run): ditto
7386         (scanAuxFile): ditto
7387         (deplog): ditto
7388
7389         * LString.h: add the STRCONV macros
7390
7391         * BufferView_pimpl.C (savePosition): STRCONV
7392         (restorePosition): ditto
7393         (MenuInsertLyXFile): ditto
7394
7395         * vc-backend.C (scanMaster): change from submatch[...] to
7396         submatch.str(...)
7397
7398         * funcrequest.C: include config.h
7399
7400         * factory.C: include config.h
7401
7402         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
7403
7404         * box.C: include config.h
7405
7406         * LaTeX.C (scanAuxFile): change from submatch[...] to
7407         submatch.str(...)
7408         (deplog): ditto
7409
7410 2002-10-25  Angus Leeming  <leeming@lyx.org>
7411
7412         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
7413
7414         * ispell.[Ch] (setError): new method.
7415         * ispell.C (c-tor): move out child process into new class LaunchIspell.
7416         Use setError() insetead of goto END.
7417
7418         * lyx_cb.C (AutoSave): move out child process into new class
7419         AutoSaveBuffer.
7420
7421 2002-10-30  John Levon  <levon@movementarian.org>
7422
7423         * text3.C: make start appendix undoable
7424
7425 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
7426
7427         * lyxlength.C (inPixels): Fix returned value.
7428
7429         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
7430         environment.
7431
7432 2002-10-24  Angus Leeming  <leeming@lyx.org>
7433
7434         * lyxgluelength.h: no need to forward declare BufferParams
7435         or BufferView, so don't.
7436
7437 2002-10-21  John Levon  <levon@movementarian.org>
7438
7439         * BufferView.C: menuUndo ->undo, redo
7440
7441         * BufferView.h: document, remove dead, make some methods private
7442
7443         * paragraph_funcs.h:
7444         * paragraph_funcs.C:
7445         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
7446
7447         * buffer.h:
7448         * buffer.C:
7449         * sgml.h:
7450         * sgml.C: move sgml open/close tag into sgml.C
7451
7452         * bufferview_funcs.h: unused prototype
7453
7454         * lyxfunc.h:
7455         * lyxfunc.C: remove unused
7456
7457         * lyxtext.h:
7458         * text.C: remove unused
7459
7460 2002-10-21  John Levon  <levon@movementarian.org>
7461
7462         * BufferView.h:
7463         * BufferView.C:
7464         * BufferView_pimpl.h:
7465         * BufferView_pimpl.C: fix mouse wheel handling based on
7466           patch from Darren Freeman
7467
7468 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
7469
7470         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
7471
7472 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
7473
7474         * lyxlength.C (inPixels): Fix hanfling of negative length.
7475         Fix LyXLength::MU case.
7476
7477 2002-10-16  John Levon  <levon@movementarian.org>
7478
7479         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
7480
7481 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7482
7483         * converter.C (view): add support for $$i (file name) and $$p
7484         (file path) for the viewer command. If $$i is not specified, then
7485         it is appended to the command (for compatibility with old syntax)
7486
7487 2002-10-14  Juergen Vigna  <jug@sad.it>
7488
7489         * undo_funcs.C (textHandleUndo): alter the order in which the
7490         new undopar is added to the LyXText, as we have to set first
7491         the right prev/next and then add it as otherwise the rebuild of
7492         LyXText is not correct. Also reset the cursor to the right paragraph,
7493         with this IMO we could remove the hack in "redoParagraphs()".
7494
7495 2002-10-09  Angus Leeming  <leeming@lyx.org>
7496
7497         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
7498         to turn off an optimisation if a new inset is to be inserted.
7499
7500 2002-10-11 André Pönitz <poenitz@gmx.net>
7501
7502         * lyxtext.h: make some functions public to allow access
7503         from inset/lyxtext for handling LFUN_PRIOR/NEXT
7504
7505 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7506
7507         * text3.C (dispatch): when changing layout, avoid an infinite loop
7508         [bug #652]
7509
7510 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7511
7512         * lyxrc.C (read): treat a viewer or converter command of "none" as
7513         if it were empty.
7514
7515         * MenuBackend.C (expandFormats): for an update, also allow the
7516         formats that are not viewable
7517
7518         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
7519         script if it is newer than the lyxrc.defaults in user directory
7520
7521 2002-10-07 André Pönitz <poenitz@gmx.net>
7522
7523         * text.C: Vitaly Lipatov's small i18n fix
7524
7525 2002-09-25  Angus Leeming  <leeming@lyx.org>
7526
7527         * ispell.h: doxygen fix.
7528
7529 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
7530
7531         * buffer.h (readFile): Add a new argument to the method, to allow
7532         reading of old-format templates.
7533
7534 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
7535
7536         * toc.C (getTocList): Get TOC from InsetWrap.
7537
7538 2002-09-16  John Levon  <levon@movementarian.org>
7539
7540         * lyxfunc.C: check tabular for cut/copy too
7541
7542 2002-09-12  John Levon  <levon@movementarian.org>
7543
7544         * LyXAction.C: tidy
7545
7546         * factory.h:
7547         * factory.C: add header
7548
7549         * paragraph_funcs.h:
7550         * paragraph_funcs.C: cleanup
7551
7552 2002-09-11  John Levon  <levon@movementarian.org>
7553
7554         * PrinterParams.h: odd/even default to true
7555
7556 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
7557
7558         * PrinterParams.h: update printer parameters for new xforms dialog
7559
7560 2002-09-11  Angus Leeming  <leeming@lyx.org>
7561
7562         * lyxserver.C (read_ready): re-write to make it more transparent
7563         and to make it work in coherent fashion under Tru64 Unix.
7564
7565 2002-09-11  André Pönitz <poenitz@gmx.net>
7566
7567         * commandtags.h:
7568         * LyXAction.C:
7569         * text3.C: implement LFUN_WORDSEL
7570
7571 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7572
7573         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
7574         make floatlist_ a boost::shared_ptr<FloatList>
7575
7576         * lyxtextclass.C: include FloatList.h
7577         (LyXTextClass): initialize floatlist_
7578         (TextClassTags): add TC_NOFLOAT
7579         (Read): match "nofloat" to TC_NOFLOAT and use it.
7580         (readFloat): modify call to floatlist_
7581         (floats): ditto
7582         (floats): ditto
7583
7584         * FloatList.[Ch] (FloatList): remove commented out float
7585         initialization.
7586         (erase): new function
7587
7588 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7589
7590         * MenuBackend.C (expandToc): fix crash when there is no document
7591         open
7592
7593 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
7594
7595         * many files: Add insetwrap.
7596
7597 2002-09-09  John Levon  <levon@movementarian.org>
7598
7599         * text2.C: remove confusing and awkward depth wraparound
7600
7601 2002-09-09  John Levon  <levon@movementarian.org>
7602
7603         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
7604
7605         * buffer.h:
7606         * buffer.C: remove getIncludeonlyList()
7607
7608         * paragraph.C:
7609         * lyxfunc.C: remove headers
7610
7611 2002-09-09  Juergen Vigna  <jug@sad.it>
7612
7613         * text.C (getColumnNearX): fix form Michael this is most
7614         probably a cut&paste bug.
7615
7616 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7617
7618         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
7619
7620         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
7621         references, ws changes.
7622
7623         * text2.C (init): update counters after init
7624         (insertParagraph): no need to set counter on idividual paragraphs.
7625         (setCounter): access the counters object in the textclass object
7626         on in the buffer object.
7627         (updateCounters): ditto
7628
7629         * lyxtextclass.C: include counters.h, add variable ctrs_ as
7630         shared_ptr<Counters> to avoid loading counters.h in all
7631         compilation units.
7632         (LyXTextClass): initialize ctrs_
7633         (TextClassTags): add TC_COUNTER, and ...
7634         (Read): use it here.
7635         (CounterTags): new tags
7636         (readCounter): new function
7637         (counters): new funtion
7638         (defaultLayoutName): return a const reference
7639
7640         * counters.C (Counters): remove contructor
7641         (newCounter): remove a couple of unneeded statements.
7642         (newCounter): simplify a bit.
7643         (numberLabel): some small formatting changes.
7644
7645         * buffer.[Ch]: remove all traces of counters, move the Counters
7646         object to the LyXTextClass.
7647
7648 2002-09-06  Alain Castera  <castera@in2p3.fr>
7649
7650         * tabular.C: uses \tabularnewline; uses >{...} construct from array
7651         package to set the horizontal alignment on fixed width columns.
7652
7653         * lyx_sty.C:
7654         * lyx_sty.h: added tabularnewline macro def.
7655
7656         * LaTeXFeatures.C: added NeedTabularnewline macro feature
7657
7658 2002-09-06  John Levon  <levon@movementarian.org>
7659
7660         * LyXAction.C: tooltips for sub/superscript
7661
7662         * MenuBackend.C: a bit more verbose
7663
7664         * lyxfunc.C: tiny clean
7665
7666         * undo_funcs.C: document undo_frozen
7667
7668 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * counters.C (Counters): add missing algorithm counter.
7671
7672         * text2.C (setCounter): lookup the counter with layouts latexname
7673         instead of by section number.
7674         (setCounter): use a hackish way to lookup the correct enum
7675         counter.
7676         a float name->type change
7677         reset enum couners with counter name directly instead of depth value.
7678
7679         * counters.C (Counters): remove the push_backs, change to use the
7680         float type not the float name.
7681         (labelItem): remove unused string, float name->type change
7682
7683         * counters.h: don't include vector, loose the enums and sects vectors
7684
7685 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * lyxtextclass.C (TextClassTags): add TC_FLOAT
7688         (Read): add float->TC_FLOAT to textclassTags
7689         (Read): and handle it in the switch
7690         (readFloat): new function
7691
7692         * FloatList.C (FloatList): comment out the hardcoded float
7693         definitions.
7694
7695         * lyxlayout.h: ws change.
7696
7697 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
7698
7699         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
7700
7701 2002-09-03  Angus Leeming  <leeming@lyx.org>
7702
7703         * BufferView_pimpl.h: qualified name is not allowed in member
7704         declaration: WorkArea & Pimpl::workarea() const;
7705
7706         * factory.C: added using std::endl directive.
7707
7708         * text3.C: added using std::find and std::vector directives.
7709
7710 2002-08-29  André Pönitz <poenitz@gmx.net>
7711
7712         * lyxtext.h:
7713         * text2.C: remove unused member number_of_rows
7714
7715         * Makefile.am:
7716         * BufferView2.C: remove file, move contents to...
7717         * BufferView.C: ... here
7718
7719         * BufferView_pimpl.C:
7720         * factory.C: move more inset creation to factory
7721
7722         * vspace.C: avoid direct usage of LyXText, ws changes
7723
7724         * BufferView.[Ch]:
7725                 don't provide direct access to WorkArea, use two simple
7726                 acessors haveSelction() and workHeight() instead
7727
7728
7729 2002-08-29  John Levon  <levon@movementarian.org>
7730
7731         * BufferView_pimpl.C (dispatch): do not continue when
7732           no buffer
7733
7734 2002-08-28  André Pönitz <poenitz@gmx.net>
7735
7736         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
7737
7738         * BufferView.h:
7739         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
7740
7741 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
7742
7743         * buffer.C: increment LYX_FORMAT to 221
7744
7745         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
7746         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
7747
7748         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
7749
7750         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
7751
7752 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7753
7754         * factory.C (createInset): use LyXTextClass::floats
7755
7756         * MenuBackend.C (expandFloatListInsert):
7757         (expandFloatInsert):
7758         (expandToc):
7759
7760         * text2.C (setCounter):
7761
7762         * LaTeXFeatures.C (useFloat):
7763         (getFloatDefinitions):
7764
7765         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
7766
7767         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
7768         floatlist_, with accessor floats().
7769
7770         * FloatList.h: remove global FloatList
7771
7772 2002-08-26  André Pönitz <poenitz@gmx.net>
7773
7774         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
7775
7776         * BufferView.h:
7777         * BufferView2.C:
7778         * BufferView_pimpl.C:
7779         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
7780
7781 2002-08-25  John Levon  <levon@movementarian.org>
7782
7783         * LyXAction.C: fix margin note description
7784
7785 2002-08-24  John Levon  <levon@movementarian.org>
7786
7787         * buffer.C:
7788         * bufferlist.C:
7789         * bufferview_funcs.C:
7790         * lyxfont.C:
7791         * undo_funcs.C: cleanups
7792
7793         * lyxfunc.C: disable CUT/COPY when no selection
7794
7795 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
7796
7797         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
7798         in "enum UNIT"; e.g. PTW for Percent of TextWidth
7799
7800         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
7801         Add backward compatibility to "mono", "gray" and "no".
7802
7803 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
7804
7805         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
7806         (and file_format >= 200).
7807
7808 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7809
7810         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
7811
7812 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7813
7814         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
7815
7816 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
7817
7818         * BufferView_pimpl.C:
7819         * LyXAction.C:
7820         * buffer.C:
7821         * commandtags.h:
7822         * lyxfunc.C:
7823         * paragraph.[Ch]:
7824         * text2.C:
7825         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
7826         inset and code to make it  work with the paragraph code. The inset
7827         can be anywhere in the paragraph, but will only do the expected
7828         thing in LaTeX if the layout file contains the parameter line
7829                         OptionalArgs    1
7830         (or more generally, a nonzero value) for that layout.
7831
7832 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7833
7834         * paragraph.h: remove the declaration of undefined counters class
7835         function.
7836
7837 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
7838
7839         * text2.C (setCounter):  fixed enumeration mis-count as reported by
7840         Dr. Richard Hawkins.
7841
7842 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7843
7844         * paragraph_funcs.h: remove some unneeded includes
7845
7846         * text.C (backspace): pasteParagraph now in global scipe
7847
7848         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
7849         (pasteSelection): ditto
7850
7851         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
7852         * paragraph_funcs.C (pasteParagraph): ... here
7853
7854 2002-08-20  André Pönitz <poenitz@gmx.net>
7855
7856         * commandtags.h: new LFUNs for swapping/copying table row/colums
7857
7858         * LyXAction.C:
7859         * lyxfunc.C: support for new lfuns
7860
7861 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * tabular.C:
7864         * buffer.[Ch]: remove NO_COMPABILITY stuff
7865
7866 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
7867
7868         * boost.C (throw_exception): new file, with helper function for
7869         boost compiled without exceptions.
7870
7871         * paragraph.h:
7872         * lyxlength.C:
7873         * buffer.C:
7874         * ParameterStruct.h:
7875         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
7876
7877         * bufferlist.C (emergencyWriteAll): use boost bind
7878
7879         * BufferView_pimpl.C (moveCursorUpdate): remove inline
7880
7881         * text.C: include paragraph_funcs.h
7882         (breakParagraph): breakParagraph is now in global scope
7883
7884         * paragraph_funcs.[Ch]: new files
7885
7886         * paragraph.C (breakParagraph,breakParagraphConservative): move to
7887         global scope
7888
7889         * buffer.C: include paragraph_funcs.h
7890         (insertStringAsLines): breakParagraph is now in global scope
7891
7892         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
7893         paragraph_funcs.C
7894
7895         * CutAndPaste.C: include paragraph_funcs.h
7896         (cutSelection): breakParagraphConservative is now in global scope
7897         (pasteSelection): ditto
7898
7899         * buffer.h: declare oprator== and operator!= for
7900         Buffer::inset_iterator
7901
7902         * bufferlist.C (emergencyWrite): don't use fmt(...)
7903
7904         * text3.C: add using std::endl
7905
7906         * BufferView.C (moveCursorUpdate): remove default arg
7907
7908 2002-08-20  André Pönitz <poenitz@gmx.net>
7909
7910         * buffer.[Ch]: move inline functions to .C
7911
7912         * BufferView2.C:
7913         * BufferView_pimpl.C:
7914         * text.C:
7915         * buffer.[Ch]: use improved inset_iterator
7916
7917         * buffer.C:
7918         * paragraph.[Ch]: write one paragraph at a time
7919
7920 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
7921
7922         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
7923         style if style is not specified.
7924
7925 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7926
7927         * text2.C (setCounter): when searching for right label for a
7928         caption, make sure to recurse to parent insets (so that a caption
7929         in a minipage in a figure float works) (bug #568)
7930
7931 2002-08-20  André Pönitz <poenitz@gmx.net>
7932
7933         * text3.C: new file for LyXText::dispatch() and helpers
7934
7935         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
7936
7937         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
7938
7939 2002-08-19  André Pönitz <poenitz@gmx.net>
7940
7941         * lyxtext.h:
7942         * text.C: new LyXText::dispatch()
7943
7944         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
7945
7946 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
7947
7948         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
7949
7950         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
7951         Hebrew text.
7952
7953 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7954
7955         * Makefile.am: use $(variables) instead of @substitutions@
7956
7957 2002-08-15  André Pönitz <poenitz@gmx.net>
7958
7959         * lyxfunc.C:
7960         * BufferView_pimpl.C: streamlining mathed <-> outer world
7961         interaction
7962
7963         * commandtags.h:
7964         * LyXAction.C: remove unused LFUN_MATH
7965
7966 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7967
7968         * paragraph.[Ch]: add some NO_NEXT ifdefs.
7969
7970 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7971
7972         * paragraph.C (Paragraph): reformat a bit
7973         (cutIntoMinibuffer): use builtin InsetList function instad of
7974         doing it manually.
7975         (getInset): ditto
7976
7977         * buffer.C: include boost/bind.hpp, add using std::for_each
7978         (writeFileAscii): use ParagraphList iterators
7979         (validate): use for_each for validate traversal of paragraphs
7980         (getBibkeyList): use ParagraphList iterators
7981         (resizeInsets): use for_each to resizeInsetsLyXText for all
7982         paragraphs.
7983         (getParFromID): use ParagraphList iterators
7984
7985         * BufferView2.C (lockInset): use paragraph list and iterators
7986
7987 2002-08-14  John Levon  <levon@movementarian.org>
7988
7989         * lyxserver.C: remove spurious xforms include
7990
7991 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7992
7993         * lyxfunc.C (getStatus): disable math-extern outside of math mode
7994
7995 2002-08-13  André Pönitz <poenitz@gmx.net>
7996
7997         * LyXAction.[Ch]:
7998         * lyxfunc.C: further cleaning
7999
8000 2002-08-13  André Pönitz <poenitz@gmx.net>
8001
8002         * funcrequest.h: new constructor
8003
8004         * funcrequest.C: move stuff here from .h
8005
8006         * Makefile.am:
8007         * BufferView_pimpl.C:
8008         * LyXAction.C:
8009         * toc.C:
8010         * lyxfunc.C: subsequent changes
8011
8012         * lyxfunc.h: new view() member function
8013
8014         * lyxfunc.C: subsequent changes
8015
8016 2002-08-13  Angus Leeming  <leeming@lyx.org>
8017
8018         * BufferView2.C:
8019         * BufferView_pimpl.C:
8020         * buffer.C:
8021         * converter.C:
8022         * importer.C:
8023         * lyxfunc.C:
8024         * lyxvc.C:
8025         * toc.C:
8026         * vc-backend.C:
8027         changes due to the changed LyXView interface that now returns references
8028         to member variables not pointers.
8029
8030 2002-08-13  Angus Leeming  <leeming@lyx.org>
8031
8032         * WordLangTuple (word, lang_code): return references to strings,
8033         not strings.
8034
8035         * BufferView.h:
8036         * SpellBase.h:
8037         * lyxtext.h: forward-declare WordLangTuple.
8038
8039         * BufferView2.C:
8040         * ispell.C:
8041         * pspell.C:
8042         * text.C: #include "WordLangTuple.h".
8043
8044         * lyxtext.h:
8045         * text.C: (selectNextWordToSpellcheck): constify return type.
8046
8047 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
8048
8049         * buffer.C:
8050         * buffer.h:
8051         * lyxtext.h:
8052         * paragraph.C:
8053         * paragraph_pimpl.h:
8054         * text.C:
8055         * text2.C:
8056         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8057         suggested by Angus.
8058         Made updateCounter always count from start of buffer, and removed
8059         second argument (par).
8060         Reverted floats number display to '#'. Perhaps I'll try again when the
8061         code base is sanitized a bit.
8062
8063 2002-08-12  Angus Leeming  <leeming@lyx.org>
8064
8065         * buffer.[Ch] (getLabelList): constify.
8066
8067 2002-08-07  André Pönitz <poenitz@gmx.net>
8068
8069         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8070
8071         * funcrequest.h: extension to keep mouse (x,y) position
8072
8073 2002-08-12  Juergen Vigna  <jug@sad.it>
8074
8075         * BufferView2.C (insertErrors): forbid undo when inserting error
8076         insets.
8077
8078         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8079
8080 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8081
8082         * ParagraphList.[Ch]: new files
8083
8084         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8085
8086         * BufferView2.C (lockInset): ParagraphList changes
8087         * toc.C: ditto
8088         * text2.C: ditto
8089         * bufferlist.C: ditto
8090         * buffer.h: ditto
8091         * buffer.C: ditto
8092
8093 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
8096         unused class variable counter_,
8097
8098         * paragraph.[Ch] (getFirstCounter): delete unused function
8099
8100         * counters.C: include LAssert.h
8101         (reset): add a new function with no arg, change other version to
8102         not have def. arg and to not allow empty arg.
8103
8104         * text2.C (setCounter): remove empty arg from call to Counters::reset
8105
8106 2002-08-11  John Levon  <levon@movementarian.org>
8107
8108         * Makefile.am: add WordLangTuple.h
8109
8110 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8111
8112         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
8113         lyxfunc.C lyxlex_pimpl.C: ws changes only.
8114
8115         * insets/insettext.C: InsetList changes
8116
8117         * graphics/GraphicsSupport.C (operator()): InsetList changes
8118
8119         * toc.C (getTocList): InsetList changes
8120
8121         * paragraph_pimpl.[Ch]: InsetList changes
8122
8123         * paragraph.[Ch]: InsetList changes
8124
8125         * buffer.C (inset_iterator): InsetList changes
8126         (setParagraph): ditto
8127         * buffer.h (inset_iterator): ditto
8128         * iterators.C (operator++): ditto
8129         * iterators.h: ditto
8130
8131         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
8132
8133         * InsetList.[Ch]: new files, most InsetList handling moved out of
8134         paragraph.C.
8135
8136         * BufferView2.C (removeAutoInsets): InsetList changes
8137         (lockInset): ditto
8138         (ChangeInsets): ditto
8139
8140 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8141
8142         * paragraph_pimpl.h (empty): new function
8143
8144         * paragraph.[Ch] (empty): new function
8145
8146         * other files: use the new Paragraph::empty function
8147
8148 2002-08-09  John Levon  <levon@movementarian.org>
8149
8150         * lyxtext.h: remove unused refresh_height
8151
8152 2002-08-09  John Levon  <levon@movementarian.org>
8153
8154         * Makefile.am:
8155         * sgml.h:
8156         * sgml.C:
8157         * buffer.C:
8158         * paragraph.h:
8159         * paragraph.C: move sgml char escaping out of paragraph
8160
8161         * paragraph.h:
8162         * paragraph.C: remove id setter
8163
8164         * buffer.C:
8165         * paragraph.C:
8166         * paragraph_pimpl.C: remove dead tex_code_break_column
8167
8168         * bufferview_funcs.C: small cleanup
8169
8170         * lyxfunc.C: remove dead proto
8171
8172         * lyxtext.h: make some stuff private. Remove some dead stuff.
8173
8174         * lyxgluelength.C: make as[LyX]String() readable
8175
8176 2002-08-08  John Levon  <levon@movementarian.org>
8177
8178         * LyXAction.h:
8179         * LyXAction.C:
8180         * MenuBackend.C:
8181         * ToolbarDefaults.C:
8182         * lyxfunc.C:
8183         * lyxrc.C:
8184         * toc.C: lyxaction cleanup
8185
8186 2002-08-08  John Levon  <levon@movementarian.org>
8187
8188         * BufferView2.C: small cleanup
8189
8190         * lyxfind.h:
8191         * lyxfind.C: move unnecessary header into the .C
8192
8193 2002-08-08  John Levon  <levon@movementarian.org>
8194
8195         * funcrequest.h: just tedious nonsense
8196
8197         * lyx_main.h:
8198         * lyx_main.C: cleanups
8199
8200         * buffer.C:
8201         * vspace.C: remove dead header lyx_main.h
8202
8203 2002-08-07  Angus Leeming  <leeming@lyx.org>
8204
8205         * Paragraph.[Ch]:
8206         * paragraph_pimpl.h:
8207         Forward declare class Counters in paragraph.h by moving the ctrs member
8208         variable into Paragraph::Pimpl.
8209         (counters): new method, returning a reference to pimpl_->ctrs.
8210
8211         * text2.C: ensuing changes.
8212
8213 2002-08-07  John Levon  <levon@movementarian.org>
8214
8215         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
8216
8217         * BufferView_pimpl.C: announce X selection on double/triple
8218           click
8219
8220         * lyx_main.C: use correct bool in batch dispatch
8221
8222         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
8223
8224 2002-08-07  André Pönitz <poenitz@gmx.net>
8225
8226         * funcrequest.h: new class to wrap a kb_action and its argument
8227
8228         * BufferView.[Ch]:
8229         * BufferView_pimpl[Ch]:
8230         * LaTeX.C:
8231         * LyXAction.[Ch]:
8232         * lyxfunc.[Ch]:
8233         * lyxrc.C: subsequent changes
8234
8235
8236 2002-08-07  John Levon  <levon@movementarian.org>
8237
8238         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
8239           document options change.
8240
8241 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
8242
8243         * counters.[Ch]
8244         * text2.C
8245         * paragraph.[Ch]
8246         * makefile.am: move counters functionality over from
8247         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
8248
8249 2002-08-06  John Levon  <levon@movementarian.org>
8250
8251         * WordLangTuple.h: new file for word + language code tuple
8252
8253         * SpellBase.h:
8254         * pspell.h:
8255         * pspell.C:
8256         * ispell.h:
8257         * ispell.C:
8258         * lyxtext.h:
8259         * text.C:
8260         * text2.C:
8261         * BufferView.h:
8262         * BufferView2.C: use WordLangTuple
8263
8264         * layout.h:
8265         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
8266
8267 2002-08-06  John Levon  <levon@movementarian.org>
8268
8269         * lyx_main.C: fix cmdline batch handling
8270
8271 2002-08-06  André Pönitz <poenitz@gmx.net>
8272
8273         * lyxrc.C: set default for show_banner to true
8274
8275 2002-08-06  John Levon  <levon@movementarian.org>
8276
8277         * pspell.C: fix a crash, and allow new aspell to work
8278
8279 2002-08-06  John Levon  <levon@movementarian.org>
8280
8281         * lyxfunc.C:
8282         * kbmap.C: small cleanup
8283
8284         * vspace.h:
8285         * vspace.C: add const
8286
8287 2002-08-05  John Levon  <levon@movementarian.org>
8288
8289         * LyXAction.C: back to tabular-insert
8290
8291 2002-08-04  John Levon  <levon@movementarian.org>
8292
8293         * BufferView.h:
8294         * BufferView.C: cosmetic change
8295
8296         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
8297
8298         * bufferlist.C:
8299         * buffer.h:
8300         * buffer.C:
8301         * lyxcb.h:
8302         * lyxcb.C:
8303         * lyxserver.C:
8304         * lyxvc.C:
8305         * vc-backend.C:
8306         * BufferView2.C: purge all "Lyx" not "LyX" strings
8307
8308         * lyxcursor.h:
8309         * lyxcursor.C: attempt to add some documentation
8310
8311         * lyxfunc.C:
8312         * commandtags.h:
8313         * LyXAction.C:
8314         * ToolbarDefaults.C:
8315         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
8316           merge with LFUN_TABULAR_INSERT
8317
8318         * Makefile.am:
8319         * SpellBase.h:
8320         * ispell.h:
8321         * ispell.C:
8322         * pspell.h:
8323         * pspell.C: split up i/pspell implementations into separate
8324           files, many cleanups
8325
8326         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
8327
8328         * text2.C: some cleanup
8329
8330         * lyxfunc.C: don't check for isp_command == "none" any more, it
8331           didn't make any sense
8332
8333 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
8334
8335         * counters.[Ch]
8336         * text2.C
8337         * paragraph.[Ch]
8338         * makefile.am: move counters functionality over
8339         from text2.C/paragraph.[Ch] to counters.[Ch], and
8340         make proper C++.
8341 2002-08-02  John Levon  <levon@movementarian.org>
8342
8343         * buffer.C: s/lyxconvert/lyx2lyx/
8344
8345 2002-08-02  Angus Leeming  <leeming@lyx.org>
8346
8347         * lyxlex.C: revert John's change as it breaks reading of the user
8348         preamble.
8349
8350 2002-08-02  Angus Leeming  <leeming@lyx.org>
8351
8352         * importer.C (Import):
8353         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
8354         changes due to LyXView::view() now returning a boost::shared_ptr.
8355
8356 2002-08-02  John Levon  <levon@movementarian.org>
8357
8358         * lyxlex.C: small cleanup
8359
8360 2002-08-02  John Levon  <levon@movementarian.org>
8361
8362         * text2.C (status): small cleanup, no logic change
8363
8364 2002-08-01  John Levon  <levon@movementarian.org>
8365
8366         * buffer.h:
8367         * buffer.C (writeFile): don't output alerts, caller
8368           handles this
8369
8370         * bufferlist.C:
8371         * lyx_cb.C: from above
8372
8373         * lyxfunc.C: allow to open non-existent files
8374
8375 2002-07-31  John Levon  <levon@movementarian.org>
8376
8377         * lyxserver.C: don't let incidental errors get
8378           in the way (errno)
8379
8380 2002-07-30  John Levon  <levon@movementarian.org>
8381
8382         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
8383
8384 2002-07-30  John Levon  <levon@movementarian.org>
8385
8386         * lyxserver.h:
8387         * lyxserver.C: remove I/O callback too
8388
8389 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8390
8391         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
8392         log.
8393
8394 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8395
8396         * many files: strip,frontStrip -> trim,ltrim,rtrim
8397
8398 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8399
8400         * PrinterParams.h: remove extern containsOnly, and include
8401         support/lstrings.h instead.
8402
8403         * LaTeX.C (scanAuxFile): modify because of strip changes
8404         (deplog): ditto
8405         * buffer.C (makeLaTeXFile): ditto
8406         * bufferparams.C (writeFile): ditt
8407         * lyxfont.C (stateText): ditto
8408         * lyxserver.C (read_ready): ditto
8409         * vc-backend.C (scanMaster): ditto
8410
8411         * BufferView_pimpl.h: ws changes
8412
8413         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
8414
8415 2002-07-26  André Pönitz <poenitz@gmx.net>
8416
8417         * kb_sequence.C: remove unnedred usings
8418
8419 2002-07-26  Juergen Vigna  <jug@sad.it>
8420
8421         * lyxfind.C (LyXReplace): we have to check better if the returned
8422         text is not of theLockingInset()->getLockingInset().
8423
8424 2002-07-25  Juergen Vigna  <jug@sad.it>
8425
8426         * lyxfind.C (LyXReplace): don't replace if we don't get the
8427         right LyXText.
8428
8429         * undo_funcs.C (createUndo): remove debugging code.
8430
8431 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
8432
8433         * buffer.C (parseSingleLyXformat2Token): Use default placement
8434         when reading old floats.
8435
8436         * FloatList.C (FloatList): Change the default placement of figure
8437         and tables to "tbp".
8438
8439 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
8440
8441         * MenuBackend.C: using std::max
8442
8443 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8444
8445         * MenuBackend.C (expandToc):
8446         (expandToc2): code moved from xforms menu frontend. It is now
8447         generic and TOCs are transparent to menu frontends.
8448
8449 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8450
8451         * toc.C (getTocList): protect against buf=0
8452
8453         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
8454         Menu as first parameter. Now, this calls itself recursively to
8455         expand a whole tree (this will be useful for TOC handling)
8456         (expandFloatInsert): remove 'wide' version of floats
8457
8458         * MenuBackend.h (submenuname): returns the name of the submenu.
8459         (submenu): returns the submenu itself, provided it has been
8460         created by MenuBackend::expand
8461
8462 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8463
8464         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
8465         insets which have noFontChange == true. (bug #172)
8466
8467 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8468
8469         * BufferView_pimpl.C: add connection objects and use them...
8470         (Pimpl): here.
8471
8472 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8473
8474         * MenuBackend.C (expandLastfiles):
8475         (expandDocuments):
8476         (expandFormats):
8477         (expandFloatListInsert):
8478         (expandFloatInsert):
8479         (expand): split expand in parts
8480
8481 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8482
8483         * lyx_gui.C: use lyx_gui::exit()
8484
8485 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8486
8487         * LyXAction.C: show the failing pseudo action
8488
8489 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
8490
8491         * buffer.C (readFile): Run the lyxconvert script in order to read
8492         old files.
8493
8494 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8495
8496         * LyXAction.C:
8497         * commandtags.h:
8498         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
8499
8500 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
8501
8502         * LyXAction.C:
8503         * commandtags.h:
8504         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
8505
8506 2002-07-22  Herbert Voss  <voss@lyx.org>
8507
8508         * lengthcommon.C:
8509         * lyxlength.[Ch]: add support for the vertical lengths
8510
8511 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
8512
8513         * toc.[Ch]: std:: fixes
8514
8515 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8516
8517         * lyxrc.C: do not include lyx_main.h
8518
8519         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
8520         for layouts
8521
8522         * lyxrc.C:
8523         * encoding.C:
8524         * bufferlist.C:
8525         * BufferView2.C: include "lyxlex.h"
8526
8527         * tabular.h:
8528         * bufferparams.h: do not #include "lyxlex.h"
8529
8530         * lyxtextclasslist.C (Add): remove method
8531         (classlist): renamed to classlist_
8532
8533         * paragraph_pimpl.C:
8534         * paragraph.C:
8535         * text2.C:
8536         * CutAndPaste.C:
8537         * bufferview_funcs.C:
8538         * bufferlist.C:
8539         * text.C:
8540         * LaTeXFeatures.C:
8541         * buffer.C:
8542         * toc.C (getTocList): use BufferParams::getLyXTextClass
8543
8544         * toc.C (getTocList): use InsetFloat::addToToc
8545
8546         * toc.[Ch]: new files, containing helper functions to handle table
8547         of contents
8548
8549         * lyxfunc.C (dispatch): no need to remove spaces around command
8550         given as a string
8551         (getStatus): handle LFUN_SEQUENCE by returning the status of the
8552         first command of the sequence; it is not very clever, but I do not
8553         have a better idea, actually
8554
8555         * LyXAction.C (LookupFunc): make sure to remove space at the
8556         beginning and end of the command
8557
8558 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8559
8560         * MenuBackend.C (getMenubar): new method: return the menubar of
8561         this menu set
8562         (read): treat differently reading of menu and menubar (in
8563         particular, the menubar has no name now)
8564         (Menu::menubar): remove
8565
8566         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
8567         saving is finished
8568
8569 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8570
8571         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
8572         a bibitem inset in a RTL paragraph.
8573
8574 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
8575
8576         * paragraph_pimpl.C: constify
8577
8578         * BufferView_pimpl.C:
8579         * LaTeX.C:
8580         * lyxfunc.C: fix dispatch in a nicer way
8581
8582 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8583
8584         * lyxfunc.C (dispatch):
8585         * BufferView_pimpl.C:
8586         * BufferView_pimpl.h:
8587         * BufferView.C:
8588         * BufferView.h: rename Dispatch() to dispatch()
8589
8590         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
8591
8592         * lyxlayout.C (Read): honor DependsOn tag
8593
8594         * lyxlayout.[Ch] (depends_on): new method
8595
8596         * version.C.in: update lyx_docversion
8597
8598         * LaTeXFeatures.C (getMacros): only define \LyX when needed
8599
8600         * paragraph.C (validate): remove from here...
8601         * paragraph_pimpl.C (validate): ... and move here
8602         (isTextAt): make it const
8603
8604         * buffer.C (getLists): ws cleanup
8605
8606 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
8607
8608         * language.C (read): Use iso8859-1 encoding in latex_lang
8609         (this prevents LyX from crashing when using iso10646-1 encoding).
8610
8611 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8612
8613         * text2.C (toggleInset): if cursor is inside an inset, close the
8614         inset and leave cursor _after_ it
8615
8616 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8617
8618         * lyxfunc.C: move minibuffer completion handling out of here
8619
8620 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
8621
8622         * BufferView_pimpl.C:
8623         * LaTeX.C: fix dispatch calls
8624
8625 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
8626
8627         * text.C (drawChars): Fix Arabic text rendering.
8628
8629 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
8630
8631         * LyXAction.C:
8632         * commandtags.h:
8633         * lyxfunc.C: remove message-push/pop
8634
8635         * lyxserver.C:
8636         * lyxfunc.h:
8637         * lyxfunc.C: rationalise some code by removing verboseDispatch
8638           in favour of a bool argument to dispatch()
8639
8640 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8641
8642         * lyx_main.C (init): make sure to read symlinks as absolute paths
8643
8644 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8645
8646         * lyxfunc.h:
8647         * lyxfunc.C: no need for commandshortcut to be a member
8648
8649 2002-07-15  André Pönitz <poenitz@gmx.net>
8650
8651         * converter.C: add support for $$s (scripts from lib/scripts dir)
8652         * lyx_main.C: white space
8653
8654 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8655
8656         * bufferlist.C:
8657         * lyxrc.h:
8658         * lyxrc.C: remove second exit confirmation
8659
8660 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
8661
8662         * BufferView.h:
8663         * BufferView.C:
8664         * BufferView2.C:
8665         * BufferView_pimpl.h:
8666         * BufferView_pimpl.C:
8667         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
8668
8669 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8670
8671         * MenuBackend.C (expand): add numeric shortcuts to document menu
8672
8673         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
8674
8675 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8676
8677         * lyxfont.C (setLyXFamily):
8678         (setLyXSeries):
8679         (setLyXShape):
8680         (setLyXSize):
8681         (setLyXMisc):
8682         (lyxRead):
8683         * debug.C (value):
8684         * buffer.C (asciiParagraph): use ascii_lowercase
8685
8686 2002-07-15  Mike Fabian  <mfabian@suse.de>
8687
8688         * lyxlex_pimpl.C (search_kw):
8689         * lyxlex.C (getLongString):
8690         * converter.h (operator<):
8691         * converter.C (operator<):
8692         * buffer.C (parseSingleLyXformat2Token):
8693         (asciiParagraph):
8694         * ToolbarDefaults.C (read):
8695         * MenuBackend.C (checkShortcuts):
8696         (read):
8697         * LColor.C (getFromGUIName):
8698         (getFromLyXName): use the compare_ascii_no_case instead of
8699         compare_no_case, because in turkish, 'i' is not the lowercase
8700         version of 'I', and thus turkish locale breaks parsing of tags.
8701
8702 2002-07-16  Angus Leeming  <leeming@lyx.org>
8703
8704         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
8705         now takes a Buffer const & argument.
8706
8707 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
8708
8709         * BufferView.C (resize): check there's a buffer to resize
8710
8711 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
8712
8713         * lyxfunc.C: remove dead code
8714
8715         * lyxserver.h:
8716         * lyxserver.C: use lyx_guii::set_read_callback
8717
8718 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
8719
8720         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
8721         an inset in a RTL paragraph.
8722
8723 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8724
8725         * lyxfunc.C: repaint after a font size update
8726
8727 2002-07-15  André Pönitz <poenitz@gmx.net>
8728
8729         * lyxlength.C: inBP should be able to return negative values
8730
8731 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8732
8733         * lyxfunc.C: use lyx_gui::update_fonts()
8734
8735 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
8736
8737         * lyxfunc.C: use lyx_gui::update_color()
8738
8739 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8740
8741         * bufferlist.C:
8742         * lyxfunc.h:
8743         * lyxfunc.C:
8744         * lyxrc.h:
8745         * lyxrc.C: remove file->new asks for name option, and let
8746           buffer-new take an argument
8747
8748 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
8749
8750         * BufferView_pimpl.C: remove unneeded extra repaint()
8751
8752 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
8753
8754         * LyXAction.C: allow command-sequence with NoBuffer
8755
8756         * lyxfunc.C: don't insist on trailing ';' for command-sequence
8757
8758 2002-07-10  Angus Leeming  <leeming@lyx.org>
8759
8760         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
8761
8762 2002-07-09  Angus Leeming  <leeming@lyx.org>
8763
8764         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
8765
8766 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8767
8768         * lengthcommon.h: whitespace
8769
8770         * lyxfunc.C: update scrollbar after goto paragraph
8771
8772         * lyxtext.h: factor out page break drawing, and fix it so
8773           page break/added space paints as selected nicely
8774
8775 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
8776
8777         * BufferView_pimpl.C: add FIXMEs, clean up a little
8778
8779 2002-07-09  André Pönitz <poenitz@gmx.net>
8780
8781         * lyxfont.[Ch]: support for wasy symbols
8782
8783 2002-07-08  André Pönitz <poenitz@gmx.net>
8784
8785         * BufferView_pimpl.C: apply John's patch for #93.
8786
8787 2002-07-05  Angus Leeming  <leeming@lyx.org>
8788
8789         * BufferView_pimpl.C (buffer): generate previews if desired.
8790
8791         * LColor.h: add "preview" to the color enum.
8792
8793         * LColor.C (LColor): add a corresponding entry to the items array.
8794
8795         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
8796         with this buffer.
8797
8798 2002-07-05  Angus Leeming  <leeming@lyx.org>
8799
8800         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
8801         The body of the code is now in the method that is passed an ostream &
8802         rather than a file name.
8803         Pass an additional only_preamble parameter, useful for the forthcoming
8804         preview stuff.
8805
8806 2002-07-03  André Pönitz <poenitz@gmx.net>
8807
8808         * lyxfunc.C: simplify getStatus() a bit for math stuff
8809
8810 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8811
8812         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
8813
8814 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * text.C (changeRegionCase): do not change case of all the
8817         document when region ends at paragraph end (bug #461)
8818
8819 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8820
8821         * paragraph.C (startTeXParParams):
8822         (endTeXParParams): add \protect when necessary
8823
8824 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8825
8826         * BufferView_pimpl.C (workAreaExpose): remove warning
8827
8828 2002-06-27  Angus Leeming  <leeming@lyx.org>
8829
8830         * Makefile.am: add lyxlayout_ptr_fwd.h.
8831
8832 2002-06-26  André Pönitz <poenitz@gmx.net>
8833
8834         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
8835
8836 2002-06-25  Angus Leeming  <leeming@lyx.org>
8837
8838         * lyxfunc.C (dispatch): Comment out the call to
8839         grfx::GCache::changeDisplay. The method no longer exists now that the
8840         pixmap generation part of the graphics loader has been moved into
8841         InsetGraphics.
8842
8843 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8844
8845         * text2.C: layout as layout
8846
8847         * text.C: layout as layout
8848
8849         * tabular.C (OldFormatRead): layout as layout
8850
8851         * paragraph_pimpl.C (TeXDeeper): layout as layout
8852         (realizeFont): layout as layout
8853
8854         * paragraph.C (writeFile): layout as layout
8855         (validate): layout as layout
8856         (getFont): layout as layout
8857         (getLabelFont): layout as layout
8858         (getLayoutFont): layout as layout
8859         (breakParagraph): layout as layout
8860         (stripLeadingSpaces): layout as layout
8861         (getEndLabel): layout as layout
8862         (getMaxDepthAfter): layout as layout
8863         (applyLayout): layout as layout
8864         (TeXOnePar): layout as layout
8865         (simpleTeXOnePar): layout as layout
8866         (TeXEnvironment): layout as layout
8867         (layout): layout as layout
8868         (layout): layout as layout
8869
8870         * lyxtextclass.C (compare_name): new functor to work with
8871         shared_ptr, layout as layout
8872         (Read): layout as layout
8873         (hasLayout): layout as layout
8874         (operator): layout as layout
8875         (delete_layout): layout as layout
8876         (defaultLayout): layout as layout
8877
8878         * lyxlayout_ptr_fwd.h: new file
8879
8880         * lyxlayout.C (Read): layout as layout
8881
8882         * lyx_cb.C (MenuInsertLabel): layout as layout
8883
8884         * bufferlist.C (newFile): layout as layout
8885
8886         * buffer.C (readLyXformat2): layout as layout
8887         (parseSingleLyXformat2Token): layout as layout
8888         (insertStringAsLines): layout as layout
8889         (asciiParagraph): layout as layout
8890         (latexParagraphs): layout as layout
8891         (makeLinuxDocFile): layout as layout
8892         (simpleLinuxDocOnePar): layout as layout
8893         (makeDocBookFile): layout as layout
8894         (simpleDocBookOnePar): layout as layout
8895         (getLists): layout as layout
8896
8897         * LaTeXFeatures.C (getTClassPreamble): layout as layout
8898
8899         * CutAndPaste.C (cutSelection): layout as layout
8900         (pasteSelection): layout as layout
8901         (SwitchLayoutsBetweenClasses): layout as layout
8902
8903         * BufferView_pimpl.C (Dispatch): layout as layout
8904         (smartQuote): layout as layout
8905
8906         * BufferView2.C (unlockInset): layout as layout
8907
8908 2002-06-24  André Pönitz <poenitz@gmx.net>
8909
8910         * lyxfunc.C: fix #487
8911
8912 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8913
8914         * lyxrc.h:
8915         * lyxrc.C:
8916         * lyxfunc.C: remove display_shortcuts, show_banner
8917
8918 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8919
8920         * Buffer_pimpl.C: oops, update on resize
8921
8922 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8923
8924         * buffer.C:
8925         * converter.C:
8926         * exporter.C:
8927         * lyxfunc.C:
8928         * BufferView.h:
8929         * BufferView.C: use repaint()
8930
8931         * BufferView_pimpl.h:
8932         * BufferView_pimpl.C: s/updateScreen()/repaint()/
8933           as it's a clearer description. Remove superfluous
8934           redraws.
8935
8936 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
8937
8938         * text.C: fix bug 488. Not ideal, but getting
8939           getWord() to work properly for the insets that
8940           matter is more difficult ...
8941
8942 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8943
8944         * BufferView_pimpl.C:
8945         * LyXAction.C:
8946         * commandtags.h:
8947         * lyxfunc.C: remove the six million index lyxfuncs to just
8948           one, and DTRT (bug 458)
8949
8950 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8951
8952         * BufferView.h:
8953         * BufferView.C:
8954         * BufferView_pimpl.h:
8955         * BufferView_pimpl.C: clean up resize() stuff,
8956           and unnecessary updateScreen()s
8957
8958 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * BufferView.h:
8961         * BufferView.C:
8962         * BufferView_pimpl.h:
8963         * BufferView_pimpl.C:
8964         * lyxfind.h:
8965         * lyxfind.C:
8966         * minibuffer.C: remove focus management of workarea,
8967           not needed. Use screen's greyOut()
8968
8969 2002-06-17  Herbert Voss  <voss@lyx.org>
8970
8971         * converter.C: (convert) do not post a message, when converting
8972         fails, let the calling function decide what to do in this case
8973
8974 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
8975
8976         * lyxfunc.C: tidy up a little
8977
8978 2002-06-16    <alstrup@diku.dk>
8979
8980         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
8981         Got rid of FORMS_H_LOCATION include. Now we are
8982         GUII.
8983
8984 2002-06-15  LyX Development team  <lyx@rilke>
8985
8986         * buffer.[Ch] (sgmlOpenTag):
8987         (sgmlCloseTag): Added support for avoiding pernicious mixed
8988         content. Return number of lines written.
8989
8990         (makeLinuxDocFile):
8991         (makeDocBookFile): Fixed calls to sgml*Tag.
8992         Simple white space clean.
8993
8994         (simpleDocBookOnePar): Simple white space clean.
8995
8996         * tabular.[Ch] (docBook): Renamed to docbook and got another
8997         argument to related with the pernicious mixed content.
8998
8999         (docbookRow): Fixed calls for docbook inset method.
9000
9001 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9002
9003         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9004         so it's X11 independent.
9005
9006         * kb*.[Ch]: ditto.
9007
9008         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9009
9010 2002-06-15  Lyx Development team  <lyx@electronia>
9011
9012         * intl.h: Renamed getTrans to getTransManager.
9013
9014 2002-06-14  Angus Leeming  <leeming@lyx.org>
9015
9016         * Makefile.am: nuke forgotten stl_string_fwd.h.
9017
9018 2002-06-12  Angus Leeming  <leeming@lyx.org>
9019
9020         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9021
9022 2002-06-13  Angus Leeming  <leeming@lyx.org>
9023
9024         * LaTeX.C:
9025         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9026
9027 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
9028
9029         * kbmap.C (getiso): add support for cyrillic and greek
9030
9031 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9032
9033         * BufferView.h:
9034         * BufferView.C:
9035         * BufferView_pimpl.h:
9036         * BufferView_pimpl.C: move bogus scrolling logic
9037           to xforms
9038
9039 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9040
9041         * lyxfunc.C:
9042         * BufferView_pimpl.C: view->resize() change
9043
9044 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9045
9046         * BufferView_pimpl.C: topCursorVisible
9047           prototype change
9048
9049 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9050
9051         * Makefile.am:
9052         * lyx_gui.h:
9053         * lyx_gui.C: move to frontends/
9054
9055         * main.C:
9056         * lyx_main.h:
9057         * lyx_main.C: changes from above
9058
9059 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9060
9061         * intl.C:
9062         * intl.h:
9063         * kbmap.C:
9064         * kbsequence.C:
9065         * lyx_cb.C:
9066         * lyx_main.C: minor tidy
9067
9068 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9069
9070         * BufferView_pimpl.h:
9071         * BufferView_pimpl.C:
9072         * BufferView.h:
9073         * BufferView.C: make painter() const,
9074           remove dead code
9075
9076         * BufferView2.C: use screen() accessor
9077
9078         * lyx_main.h:
9079         * lyx_main.C: some minor cleanup
9080
9081 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9082
9083         * BufferView_pimpl.h:
9084         * BufferView_pimpl.C: remove enter/leaveView,
9085           use workHeight()
9086
9087 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
9088
9089         * BufferView.h:
9090         * BufferView.C:
9091         * BufferView2.C:
9092         * BufferView_pimpl.h:
9093         * BufferView_pimpl.C: only construct screen once,
9094           rename
9095
9096         * lyxrc.C: remove pointless comment
9097
9098 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9099
9100         * BufferView.h:
9101         * BufferView.C: remove active() and belowMouse()
9102
9103         * BufferView_pimpl.h:
9104         * BufferView_pimpl.C: use workarea() not workarea_,
9105           and make it use a scoped_ptr instead
9106
9107 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
9108
9109         * lyx_gui.C: add debug message on BadWindow
9110
9111 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9112
9113         * sp_spell.C: fdopen is not part of the C++ standard.
9114
9115         * paragraph.C (InsetIterator): use >= instead of ==
9116
9117 2002-06-07  Angus Leeming  <leeming@lyx.org>
9118
9119         Fixes needed to compile with Compaq cxx 6.5.
9120         * BufferView_pimpl.C:
9121         * DepTable.C:
9122         * buffer.C:
9123         * converter.C:
9124         * encoding.C:
9125         * lyx_gui.C:
9126         * lyx_main.C:
9127         * lyxtextclasslist.C:
9128         * minibuffer.C:
9129         * sp_spell.C:
9130         * tabular_funcs.C:
9131         * vc-backend.C:
9132         all c-library variables have been moved into namespace std. Wrap
9133         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
9134
9135         * lyxlength.C:
9136         * tabular-old.C:
9137         * tabular.C:
9138         Add a using std::abs declaration.
9139
9140         * kbmap.h (modifier_pair):
9141         * paragraph.h (InsetTable, InsetList):
9142         * lyxfont.h (FontBits):
9143         type definition made public.
9144
9145         * bufferlist.C (emergencyWriteAll): the compiler complains that
9146         there is more than one possible lyx::class_fun template to choose from.
9147         I re-named the void specialisation as lyx::void_class_fun.
9148
9149         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
9150
9151         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
9152         the compiler is is unable to find tostr in write_attribute.
9153
9154 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9155
9156         * buffer.C (sgmlError): hide #warning
9157
9158 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9159
9160         * xtl/*: get rid of xtl, which is not in use anyway
9161
9162         * LyXAction.C (init):
9163         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
9164         were unimplemented xtl experimentation
9165
9166 2002-06-04  André Pönitz <poenitz@gmx.net>
9167
9168         * lyxfunc.C: disable array operation on simple formulae
9169
9170 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
9171
9172         * converter.C: constify a bit
9173
9174 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
9175
9176         * lyx_gui.C: check xforms version correctly
9177
9178 2002-04-30  Herbert Voss  <voss@lyx.org>
9179
9180         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
9181         "keep" option
9182
9183 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
9184
9185         * lyxvc.C: fix bug 416 (make sure buffer is saved before
9186           attempt to register it with a VCS)
9187
9188 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9189
9190         * lyx_main.C (init): honor variables LYX_DIR_13x and
9191         LYX_USERDIR_13x
9192
9193 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9194
9195         * buffer.h:
9196         * buffer.C:
9197         * lyx_main.C: fix a crash on bad command line,
9198           and give a useful exit status on error
9199
9200         * lyxfunc.C (doImport): allow -i lyx to work
9201
9202 2002-03-30  André Pönitz <poenitz@gmx.net>
9203
9204         * lyxfunc.C: mathed font changes
9205
9206 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
9207
9208         * LaTeX.C:
9209         * importer.h:
9210         * importer.C:
9211         * lyx_sty.h:
9212         * lyx_sty.C:
9213         * lyxlex.C:
9214         * lyxrow.h:
9215         * lyxtext.h:
9216         * paragraph.h:
9217         * paragraph.C:
9218         * texrow.h:
9219         * texrow.C:
9220         * text.C:
9221         * trans_mgr.h: srcdocs, and some minor cleanups
9222
9223 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9224
9225         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
9226         call getFont all the time)
9227
9228 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9229
9230         * switch from SigC signals to boost::signals
9231
9232 2002-05-29  André Pönitz <poenitz@gmx.net>
9233
9234         * paragraph_pimpl.C (getChar): don't call size() too often...
9235
9236 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9237
9238         * paragraph_pimpl.C (insertChar): do not try to update tables when
9239         appending (pos == size())
9240
9241         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
9242         in order to reduce drastically the number of comparisons needed to
9243         parse a large document
9244
9245 2002-05-29  André Pönitz <poenitz@gmx.net>
9246
9247         * text.C:
9248         * text2.C:
9249         * lyxtextclass.C:
9250         * sp_pspell.h:
9251         * textclasslist.[Ch]:
9252         * sp_ispell.h: whitespace change
9253
9254 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9255
9256         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
9257         lyxaction directly now.
9258
9259 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
9260
9261         * trans.C:
9262         * lyxfont.C:
9263         * lyxvc.C: remove unused headers
9264
9265 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9266
9267         * Makefile.am:
9268         * buffer.h:
9269         * undostack.h:
9270         * undostack.C:
9271         * undo_funcs.h:
9272         * undo_funcs.C: some cleanups. Use shared_ptr
9273           and a template for the undo stacks.
9274
9275 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
9276
9277         * BufferView_pimpl.h:
9278         * BufferView_pimpl.C:
9279         * kbmap.h:
9280         * kbmap.C:
9281         * kbsequence.h:
9282         * kbsequence.C:
9283         * lyxfunc.h:
9284         * lyxfunc.C:
9285         * text2.C: use key_state/mouse_state
9286
9287 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9288
9289         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
9290         and LSubstring
9291
9292         * chset.C: change include order
9293         (loadFile): use boost regex and get rid of LRegex and LSubstring
9294
9295         * Makefile.am (BOOST_LIBS): new variable
9296         (lyx_LDADD): use it
9297
9298         * LaTeX.C: change include order.
9299         (scanAuxFile): use boost regex and get rid of LRegex and
9300         LSubstring
9301         (deplog): ditto
9302
9303 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9304
9305         * ColorHandler.h:
9306         * ColorHandler.C:
9307         * FontInfo.h:
9308         * FontInfo.C: moved to frontends/xforms/
9309
9310         * FontLoader.h:
9311         * FontLoader.C: moved into frontends for GUIIzation
9312
9313         * Makefile.am:
9314         * lyx_gui.C:
9315         * lyxfont.C:
9316         * lyxfunc.C: changes from above
9317
9318 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
9319
9320         * LColor.C: remove spurious X include
9321
9322         * BufferView_pimpl.C:
9323         * Makefile.am:
9324         * font.h:
9325         * font.C:
9326         * text.C:
9327         * text2.C: move font metrics to frontends/
9328
9329 2002-05-24  Juergen Vigna  <jug@sad.it>
9330
9331         * undo_funcs.C (textHandleUndo): fix the cursor selection after
9332         setting the undo_cursor.
9333
9334         * ParagraphParameters.h: include local includes first.
9335
9336 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9337
9338         * BufferView_pimpl.C:
9339         * BufferView_pimpl.h:
9340         * Makefile.am:
9341         * WorkArea.h:
9342         * WorkArea.C:
9343         * screen.C: move WorkArea into frontends/
9344
9345         * lyxscreen.h:
9346         * screen.C:
9347         * text.C:
9348         * BufferView.C:
9349         * BufferView2.C: move LyXScreen into frontends/
9350
9351         * lyxlookup.h:
9352         * lyxlookup.C:
9353         * lyx_gui.C: move lyxlookup into frontends/xforms/
9354
9355 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9356
9357         * BufferView2.C:
9358         * BufferView_pimpl.C:
9359         * FontLoader.C:
9360         * LyXView.h:
9361         * LyXView.C:
9362         * Makefile.am:
9363         * WorkArea.C:
9364         * XFormsView.h:
9365         * XFormsView.C:
9366         * buffer.C:
9367         * bufferlist.C:
9368         * bufferview_funcs.C:
9369         * converter.C:
9370         * importer.C:
9371         * lyx_cb.C:
9372         * lyx_gui.C:
9373         * lyx_main.C:
9374         * lyx_find.C:
9375         * lyxfunc.C:
9376         * lyxvc.C:
9377         * minibuffer.C:
9378         * text.C:
9379         * text2.C:
9380         * trans.C:
9381         * vc-backend.C: move LyX/XFormsView into frontends/
9382
9383 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
9384
9385         * Makefile.am:
9386         * PainterBase.C:
9387         * PainterBase.h:
9388         * Painter.C:
9389         * Painter.h:
9390         * WorkArea.C:
9391         * WorkArea.h:
9392         * screen.C:
9393         * tabular.C:
9394         * text.C:
9395         * text2.C: move Painter to frontends/
9396
9397 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9398
9399         * buffer.C: comment out some some code that depend upon lyx_format
9400         < 220
9401
9402         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
9403         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
9404
9405         * buffer.h (NO_COMPABILITY): turn off compability
9406
9407         * ColorHandler.C: include scoped_array.hpp
9408
9409         * font.C: Use more specific smart_ptr header.
9410         * Painter.C: ditto
9411         * gettext.C: ditto
9412         * ShareContainer.h: ditto
9413         * lyx_main.h: ditto
9414         * kbmap.h: ditto
9415         * FontInfo.h: ditto
9416         * BufferView_pimpl.h: ditto
9417         * ColorHandler.h: ditto
9418
9419         * kbmap.C (defkey): change call to shared_ptr::reset
9420
9421 2002-05-21  Juergen Vigna  <jug@sad.it>
9422
9423         * buffer.C (insertErtContents): fix to insert ert asis if it is
9424         non empty. Skip it completely if it contains only whitespaces.
9425
9426 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
9427
9428         * BufferView_pimpl.C:
9429         * BufferView2.C: clear selection on paste (bug 393)
9430
9431 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9432
9433         * DepTable.C: include ctime
9434
9435 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
9436
9437         * buffer.C (latexParagraphs): Add new argument (moving_arg).
9438
9439 2002-05-14  Juergen Vigna  <jug@sad.it>
9440
9441         * text.C (breakParagraph): fixed function to honor the keepempty
9442         layout in the right maner and also to permit the right breaking
9443         algorithm on empty or non empyt keepempty paragraphs.
9444
9445         * paragraph.C (breakParagraph): we have to check also if the par
9446         is really empty (!size()) for isempty otherwise we do the wrong
9447         paragraph break.
9448
9449 2002-05-10  Juergen Vigna  <jug@sad.it>
9450
9451         * buffer.[Ch] : The following are only changes to the ert
9452         compatibility read reading old LaTeX layout and font stuff and
9453         convert it to ERTInsets.
9454
9455         * buffer.h: added isErtInset().
9456
9457         * buffer.C (struct ErtComp): add a fromlayout bool to check
9458         if we're inside a LaTeX layout.
9459         (isErtInset): new helper function.
9460         (insertErtContents): look for other ert insets before this one
9461         and insert the contents there, so that we don't have subsequent
9462         ERT insets with nothing between them. This way we create only one
9463         inset with multiple paragraphs. Also check if we don't insert only
9464         spaces ' ' as they are ignored anyway afterwards in the .tex file
9465         so if we have only spaces we will ignore this latex part in the
9466         new file.
9467         (parseSingleLyXformat2Token \\layout): better compatibility when
9468         reading layout-latex stuff.
9469         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
9470         language tag.
9471         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
9472         stuff after reading the inset only get the information back from
9473         the stack.
9474
9475 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
9476
9477         * buffer.C (makeLaTeXFile): Put language options after loading babel.
9478
9479         * LaTeXFeatures.C (getBabelOptions): New method.
9480
9481 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9482
9483         * BufferView_pimpl.C (Dispatch): work around missing argument for
9484         'layout'
9485
9486 2002-05-08  Juergen Vigna  <jug@sad.it>
9487
9488         * text.C (leftMargin): handle paragraph leftindent.
9489
9490         * paragraph.C (writeFile): write the new \\leftindent tag.
9491         (validate): handle leftindent code.
9492         (TeXEnvironment): handle paragraphleftindent code again.
9493
9494         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
9495
9496         * buffer.C (parseSingleLyXformat2Token): added compatibility code
9497         for paragrap_extra indent code and new token \\leftindent.
9498         (latexParagraphs): handle the leftindent as environment.
9499
9500         * ParameterStruct.h: added leftindent support.
9501
9502         * ParagraphParameters.C (leftIndent): added support functions for
9503         the paragraph left indent.
9504
9505         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
9506         more appropriate.
9507
9508 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
9509
9510         * paragraph.C (isRightToLeftPar): Return false for a paragraph
9511         inside insetERT.
9512
9513         * text.C (computeBidiTables): No bidi in insetERT.
9514
9515         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
9516         in RTL documents.
9517
9518 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9519
9520         * version.C.in: pre 5
9521
9522 2002-05-02  José Matos  <jamatos@fep.up.pt>
9523         * buffer.C (makeDocBookFile): white space changes, add newline to
9524         command styles.
9525         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
9526
9527         * tabular.C (docBook): fix typo.
9528
9529 2002-05-03  Juergen Vigna  <jug@sad.it>
9530
9531         * screen.C (drawFromTo): recalculate the rowpointer if we had a
9532         change in LyXText as we can not be sure it was not freed.
9533         (drawOneRow): remove unused code.
9534
9535         * text.C (drawInset): redo the calculation of the need_break_row as
9536         it could have a row which was already freed.
9537         (draw): look at the return value of drawInset and return false if
9538         it also returned false.
9539         (paintRowText): look at the return value of draw and return false if
9540         it also returned false.
9541
9542         * lyxtext.h: added bool return type to drawInset() and draw() so that
9543         if we have a change in the row so that the rowbreak has to be redone
9544         we abort drawing as it will be called again.
9545
9546 2002-05-02  Juergen Vigna  <jug@sad.it>
9547
9548         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
9549         a change in the maintext also if we're inside an inset.
9550         (Dispatch): set the cursor again after a break line and after the
9551         screen has been updated as it could be we're in a different row.
9552
9553         * text2.C (fixCursorAfterDelete): check to make sure we don't request
9554         to set the cursor behind the pargraph with > size().
9555         (setCursor): check also for the same paragraph when checking where
9556         to put the cursor if we have a NFR inset.
9557
9558         * buffer.C (parseSingleLyXformat2Token): move the compatibility
9559         parts of layout read further up as it still was in the wrong
9560         position.
9561
9562 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9563
9564         * screen.C (drawFromTo): change sine fullRebreak always return
9565         true.
9566
9567         * buffer.C (parseSingleLyXformat2Token): reindent some
9568
9569         * BufferView_pimpl.C (update): change since fullRebreak always
9570         return true.
9571         (Dispatch): git rid of the last hardcoded "Standard"s.
9572
9573 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9574
9575         * text2.[Ch] (fullRebreak): make it return void now that we always
9576         returned true.
9577
9578 2002-04-30  Juergen Vigna  <jug@sad.it>
9579
9580         * buffer.C (parseSingleLyXformat2Token): reset the font before the
9581         ert compatibility check for "latex" layout.
9582
9583 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
9584
9585         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
9586         minipages: use col% instead of p%, and also use the current font.
9587         (makeLaTeXFile): Fix use babel condition.
9588         (parseSingleLyXformat2Token): Correct font when reading old floats.
9589
9590 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
9591
9592         * BufferView_pimpl.C (Dispatch): Check that float type exists when
9593         inserting list of floats.
9594
9595 2002-04-25  Herbert Voss  <voss@lyx.org>
9596
9597         * MenuBackend.C (expand): don't add the graphics extensions to the
9598         export menu
9599
9600 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9601
9602         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
9603         non-existing layout, do not complain if it was the default layout
9604         of the original class (bug #342)
9605
9606 2002-04-24  Juergen Vigna  <jug@sad.it>
9607
9608         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
9609         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
9610
9611 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
9612
9613         * buffer.C (getBibkeyList): If using \bibliography, return the
9614         option field with the reference itself. Enables us to provide natbib
9615         support when using \bibliography.
9616
9617 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
9618
9619         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
9620
9621         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
9622         natbib is provided by the LaTeX class.
9623
9624 2002-04-23  Juergen Vigna  <jug@sad.it>
9625
9626         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
9627         Wakeup functions.
9628
9629         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
9630
9631 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9632
9633         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
9634
9635         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
9636         ensuremath around textordmasculine, textordfeminine and
9637         textdegree.
9638
9639 2002-04-19  Juergen Vigna  <jug@sad.it>
9640
9641         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
9642         reinitializing the buffer otherwise row-dimensions may be wrong.
9643         (update): reset also the selection cursors if they do exits otherwise
9644         their x/y positions may be wrong.
9645
9646         * text2.C (cursorDown): don't enter the inset if we came from a row
9647         above and are one row over the inset.
9648
9649         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
9650         really leaving an inset.
9651
9652 2002-04-18  Juergen Vigna  <jug@sad.it>
9653
9654         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
9655         of the selected paragraph does not have the selected layout also if
9656         the last one had!
9657
9658         * text2.C (setLayout): fixed bug which did not change last selected
9659         paragraph.
9660
9661         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
9662         changed the read and substituted \\end_float with \\end_inset!
9663
9664         * BufferView_pimpl.C (cursorPrevious):
9665         (cursorNext): fixed to make it work with rows heigher than the work
9666         area without moving the cursor only the draw of the row.
9667         (workAreaMotionNotify): fix jumping over high rows.
9668
9669 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9670
9671         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
9672         Ressler.
9673
9674 2002-04-16  Juergen Vigna  <jug@sad.it>
9675
9676         * text2.C (setCursor): set also the irow().
9677         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
9678         (cursorUp):
9679         (cursorDown): support for locking an inset if the x_fix value goes
9680         inside it. That way I can transverse insets too with cursor up/down.
9681
9682         * lyxrow.h: added irow helper function same as other (i) functions.
9683
9684         * BufferView_pimpl.C (cursorPrevious):
9685         (cursorNext): fixed for insets!
9686
9687 2002-04-15  Juergen Vigna  <jug@sad.it>
9688
9689         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
9690         position otherwise it is wrong in some cases.
9691
9692         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
9693         inside the inset before the call.
9694
9695 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
9696
9697         * buffer.[Ch] (getBibkeyList): make it const.
9698
9699 2002-04-12  Juergen Vigna  <jug@sad.it>
9700
9701         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
9702
9703         * text2.C (getCursorX): new helper function
9704         (setCursor): compute also ix_
9705         (setCursorFromCoordinates): set also ix.
9706
9707         * lyxcursor.h: added ix_ and helper functions.
9708
9709         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
9710
9711         * buffer.C (insertStringAsLines): dont break paragraph if the this
9712         paragraph is inside an inset which does not permit it!
9713
9714         * text.C (breakParagraph): honor keepempty flag and break the paragraph
9715         also with no chars on this paragraph.
9716         (paintRowText): only paint stuff if it's inside the workarea!
9717
9718         * paragraph.C (breakParagraph): honor keepempty flag and break the
9719         paragraph always below not above.
9720
9721         * BufferView2.C (unlockInset): update the paragraph layout on inset
9722         unlock as we changed paragraph in such a case.
9723
9724         * lyxfind.C (LyXFind): clear the former selection if not found!
9725
9726         * text2.C (insertInset): freeze Undo after setUndo so that it is not
9727         again called in insertChar().
9728
9729         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
9730         an inset which uses the whole row!
9731         (rightMargin): ditto.
9732         (insertChar): force a rebreak if we inserted an inset!
9733
9734 2002-03-28  Herbert Voss  <voss@lyx.org>
9735
9736         * lyxlength.[Ch]: add inBP() to get the right PS-point
9737         units (BigPoint). With inPixels we have rounding errors
9738
9739 2002-04-11  Juergen Vigna  <jug@sad.it>
9740
9741         * text2.C (setCursorFromCoordinates): set iy to the right value.
9742         (setCursor): add check if row->previous exists!
9743
9744         * buffer.C (parseSingleLyXformat2Token): reset font after read of
9745         an old float_type as this was the case in the old code!
9746
9747         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
9748
9749         * BufferView2.C (showLockedInsetCursor): use iy
9750         (fitLockedInsetCursor): ditto
9751
9752         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
9753         locked insets as there we have the right value now.
9754
9755         * lyxcursor.C: added iy_ variable and iy functions to set to the
9756         baseline of cursor-y of the locked inset.
9757
9758         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
9759         (setCursor): fixed for insets which need a full row.
9760
9761         * text.C (rowLastPrintable): don't ignore the last space when before
9762         an inset which needs a full row.
9763         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
9764         as last character of a row when before a inset which needs a full row.
9765
9766 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9767
9768         * version.C.in: update date
9769
9770         * text2.C (fullRebreak): try to always return true and see what
9771         happens...
9772
9773 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * MenuBackend.C (expand): use Floating::listName
9776
9777         * FloatList.C (FloatList): add listName argument to the built-in
9778         floats
9779
9780         * Floating.[Ch]: add listName member, which is the 'List of XXX'
9781         text associated with the float.
9782
9783 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9784
9785         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
9786
9787 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9788
9789         * ShareContainer.h: add a couple of missing typenames.
9790
9791 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
9792
9793         * lyxrc.C (getDescription): use _() correctly rather than N_().
9794
9795 2002-03-28  Herbert Voss  <voss@lyx.org>
9796
9797         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
9798         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
9799
9800 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9801
9802         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
9803         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
9804
9805 2002-03-29  Juergen Vigna  <jug@sad.it>
9806
9807         * lyxfunc.C (dispatch): add a missing fitCursor call.
9808
9809         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
9810         it was scrolled by a cursor move, so return the bool status.
9811
9812         * BufferView.C (fitCursor): return the bool flag also to the outside
9813         world as this is needed.
9814
9815         * screen.C (toggleToggle): don't subtract the offset if it's positive.
9816
9817         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
9818         call the edit() as it is not needed (and wrong) IMO.
9819         (workAreaButtonPress): set the screen_first variable before evt.
9820         unlock the inset as this may change screen_first and then we have
9821         a wrong y position for the click!
9822
9823 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * MenuBackend.C (expand): another translation that I missed
9826
9827 2002-03-28  Juergen Vigna  <jug@sad.it>
9828
9829         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
9830
9831         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
9832
9833 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9834
9835         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
9836
9837         * MenuBackend.C (expand): fix export/view/update when there is no
9838         document open.
9839
9840 2002-03-27  Herbert Voss  <voss@lyx.org>
9841
9842         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
9843         and text%
9844
9845 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9846
9847         * bufferview_funcs.C (currentState): only show paragraph number
9848         for is DEVEL_VERSION is set.
9849
9850         * lyxfunc.C (dispatch): put warning in INFO channel
9851
9852         * MenuBackend.C (expand): translate the name of floats
9853
9854         * FloatList.C (FloatList): mark the float names for translation
9855
9856         * converter.C (convert): use LibScriptSearch
9857
9858 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9859
9860         * MenuBackend.C (defaults): fix default menu (we might as well get
9861         rid of it...)
9862
9863 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9864
9865         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
9866         directory.
9867
9868 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9869
9870         * lyxvc.C: reorder includes.
9871
9872 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
9873
9874         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
9875           properly
9876
9877 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * CutAndPaste.C: change layouts earlier on paste
9880           to avoid crashing when calling getFont()
9881
9882 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
9883
9884         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
9885         irritating #error.
9886
9887 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9888
9889         * WorkArea.C: remove 'Pending' debug message.
9890
9891         * most files: ws cleanup
9892
9893         * buffer.[Ch]: ws changes
9894
9895         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
9896
9897 2002-03-21  Juergen Vigna  <jug@sad.it>
9898
9899         * tabular.C (SetMultiColumn): collapse also the contents of the
9900         cells and set the last border right. Added a Buffer const * param.
9901
9902 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9903
9904         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
9905         linking or not.
9906
9907 2002-03-19  Juergen Vigna  <jug@sad.it>
9908
9909         * text2.C (clearSelection): reset also xsel_cache.
9910
9911         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
9912         where it needs to be called (John tells us to do so too :)
9913         (selectionLost): reset sel_cache.
9914
9915         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
9916
9917 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9918
9919         * text2.C (setCursorIntern): put debuging code in INSETS channel
9920
9921 2002-03-19  André Pönitz <poenitz@gmx.net>
9922
9923         * lyxfunc.C: tiny whitespace change
9924
9925 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9926
9927         * ToolbarDefaults.C (init):
9928         * LyXAction.C (init):
9929         * commandtags.h:
9930         * BufferView_pimpl.C (Dispatch):
9931         * lyxfunc.C (dispatch): remove LFUN_DEPTH
9932
9933 2002-03-19  Allan Rae  <rae@lyx.org>
9934
9935         * exporter.C (Export): removeAutoInsets before doing anything else.
9936         While I've just introduced a dependency on BufferView this really is
9937         the best place to clean the buffer otherwise you need to cleanup in
9938         a dozen places before calling export or cleanup in a dozen functions
9939         that export calls.
9940
9941         * converter.C (runLaTeX):
9942         (scanLog): Better handling of removeAutoInsets and screen updates.
9943
9944         * lyxfunc.C (dispatch): small whitespace changes
9945
9946 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9947
9948         * WorkArea.C (C_WorkAreaEvent): return a value.
9949         (event_cb): return 1 if we handled the event, 0 otherwise.
9950
9951         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
9952
9953 2002-03-18  Juergen Vigna  <jug@sad.it>
9954
9955         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
9956         (GetAdditionalWidth): ditto.
9957         (RightLine): ditto.
9958         (LeftLine): ditto.
9959
9960         * BufferView2.C (copy): use getLyXText() so that we do it inside an
9961         inset if we're there actually (probably not used right now but this
9962         is the direction to go for unifying code).
9963         (paste): disable code to clear the selection.
9964
9965         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
9966         inside an InsetText and move the check further up as it is in the
9967         wrong place.
9968
9969         * text2.C (pasteSelection): set a selection over the pasted text.
9970
9971 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
9972
9973         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
9974         and libgraphics to build on Cygwin.
9975
9976 2002-03-15  Juergen Vigna  <jug@sad.it>
9977
9978         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
9979         inserting an Inset into the paragraph. I know this is not the best
9980         fix but we already use current_view in CutAndPaste so we will remove
9981         all of it's using at the same time.
9982
9983         * buffer.C (sgmlError): deactivated function till it is rewritten in
9984         the right mode, now it can create problems.
9985
9986         * paragraph.C (isLineSeparator): check if getInset returns != 0,
9987         before accessing it.
9988
9989 2002-03-14  Juergen Vigna  <jug@sad.it>
9990
9991         * undo_funcs.C (textHandleUndo): do the right thing when updating
9992         the inset after the undo/redo.
9993
9994         * text2.C (setCursor): just some testcode for #44 not ready yet.
9995
9996         * undo_funcs.C (textHandleUndo): set the next() and previous()
9997         pointers of the paragraph to 0 before deleting otherwise we have
9998         problems with the Paragraph::[destructor].
9999
10000         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10001         on a paragraph insertion.
10002
10003 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10004
10005         * buffer.C (asciiParagraph): use += operator for char append to
10006         string.
10007
10008         * paragraph.C (getFontSettings): compare >= not just >
10009         (highestFontInRange): ditto
10010         (setFont): ditto
10011
10012 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10013
10014         * paragraph.C: change several algorithm to be more appripriate for
10015         the problem domain. This is lookip in FontList and in the InsetList.
10016
10017 2002-03-13  André Pönitz <poenitz@gmx.net>
10018
10019         * commandtags.h:
10020         * LyXAction.C: remove unused LFUN_MATH_MACROARG
10021
10022 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
10023
10024         * commandtags.h:
10025         * LyXAction.C:
10026         * lyxfunc.C:
10027         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10028
10029 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10030
10031         * Painter.C (display): anon helper function, adjust code for this
10032         change.
10033         (pixmap): remove function.
10034
10035         * Painter.h: remove private display variable.
10036
10037         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10038
10039 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
10040
10041         * WorkArea.[Ch]: remove figinset_canvas cruft.
10042
10043 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10044
10045         * lyxtextclass.C (operator): add one item cache optimization.
10046
10047         * bufferlist.h: doxy changes
10048
10049         * bufferlist.C: ws changes
10050
10051         * DepTable.[Ch] (ext_exist): place const in the right spot.
10052
10053         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10054         call resizeInsets.
10055         (workAreaExpose): call resizeInsets when the with BufferView changes.
10056         (Dispatch): adjust for protectedBlank removal
10057         (specialChar): call updateInset if the insert went ok.
10058
10059         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10060         specialChar instead.
10061
10062         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10063
10064         * BufferView.h: doxy change
10065
10066         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10067
10068         * lyxtextclass.C (operator[]): remove non-const version
10069         (defaultLayout): remove non-const version
10070
10071 2002-03-12  Juergen Vigna  <jug@sad.it>
10072
10073         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10074         did resize the LyXText too.
10075
10076         * buffer.C (readLyXformat2): set layout information on newly allocated
10077         paragraphs.
10078
10079         * tabular.C (OldFormatRead): set layout information on the paragraph.
10080
10081 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10082
10083         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10084
10085 2002-03-11  Juergen Vigna  <jug@sad.it>
10086
10087         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
10088         plainly wrong.
10089         (resizeCurrentBuffer): force also the insets to resize themselfes.
10090         (moveCursorUpdate): fixed up for InsetText.
10091
10092 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
10093
10094         * commandtags.h:
10095         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
10096         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
10097         value of Dialogs::tooltipsEnabled().
10098         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
10099
10100 2002-03-08  Juergen Vigna  <jug@sad.it>
10101
10102         * BufferView_pimpl.C (updateInset): update inset inside inset also
10103         if it isn't inside theLockingInset().
10104
10105 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10106
10107         * buffer.C (asciiParagraph): redo some of the word and line length
10108         handling.
10109         (getLists): look for Caption instead of caption.
10110
10111 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10112
10113         * buffer.C (Buffer): initialize niceFile to true
10114         (makeLaTeXFile):
10115         (makeLinuxDocFile):
10116         (makeDocBookFile): make sure niceFile is true on exit
10117
10118 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10119
10120         * buffer.C (makeLaTeXFile): escape ~ in \input@path
10121
10122 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
10123
10124         * LyXSendto.C: remove.
10125         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
10126         * lyx_gui.C: remove now-redundant comment.
10127         * ColorHandler.h: remove forward declaration of class WorkArea.
10128         * lyxfunc.C: remove #include "WorkArea.h".
10129
10130 2002-03-07  Juergen Vigna  <jug@sad.it>
10131
10132         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
10133         got moved away with the DEPM and also set the inset_owner always
10134         right which before could have been omitted.
10135
10136 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10137
10138         * buffer.C (parseSingleLyXformat2Token): use default layout is the
10139         wanted layout is not found.
10140
10141 2002-03-07  Juergen Vigna  <jug@sad.it>
10142
10143         * CutAndPaste.C (cutSelection): another layout settings forgotten.
10144
10145 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10146
10147         * paragraph.C (breakParagraph): use default layout not layout of
10148         prev paragraph.
10149         (Paragraph): clear ParagraphParameters.
10150
10151 2002-03-06  Juergen Vigna  <jug@sad.it>
10152
10153         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
10154         otherwise it would not be a valid lenght. Fixed a special case in
10155         the minipage compatibility read where we end the document with a
10156         minipage.
10157
10158         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
10159         was set as it could be 0 for InsetTexts first entry.
10160
10161 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10162
10163         * paragraph.C (writeFile): if layout is empty write out
10164         defaultLayoutName().
10165
10166         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
10167         file without named layout we set layout to defaultLayoutName().
10168
10169 2002-03-06  Juergen Vigna  <jug@sad.it>
10170
10171         * CutAndPaste.C (copySelection): set layout for new paragraph.
10172
10173         * text.C (prepareToPrint): leave ERT inset left aligned
10174         (leftMargin): don't indent paragraphs inside ERT insets
10175
10176 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10177
10178         * paragraph.C (breakParagraph): dont call clear do the work manually
10179
10180         * paragraph.[Ch] (clear): remove function
10181
10182 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10183
10184         * paragraph.C (Paragraph): dont call clear, the work has already
10185         been done.
10186
10187         * lyxtextclass.C (operator): assert if n is empty
10188
10189         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
10190         work manually instead.
10191
10192 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10193
10194         * BufferView_pimpl.C: protect selectionLost against text == 0
10195
10196 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10197
10198         * text.C (breakParagraph): fix a setting layout to '0' problem.
10199
10200 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10201
10202         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
10203         final location of file, for the included files, and graphics.
10204
10205 2002-03-05  Juergen Vigna  <jug@sad.it>
10206
10207         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
10208
10209 2002-03-04  Juergen Vigna  <jug@sad.it>
10210
10211         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
10212
10213         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
10214         last column of multicolumn cells.
10215         (SetWidthOfMulticolCell): recalculate NMC and real columns.
10216
10217 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
10218
10219         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
10220         file if it doesn't go to a temporary file.
10221
10222         * buffer.C (sgmlOpenTag):
10223         (sgmlCloseTag):  remove extra newline insertion.
10224
10225 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10226
10227         * text.C (getRowNearY): comment out debug msg
10228
10229 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10230
10231         * text2.C: first -> first_y
10232
10233         * text.C (getRowNearY): add some attemts at a possible
10234         optimization, not working.
10235
10236         * tabular.[Ch]: add BufferParams to several function so that newly
10237         created paragraph can be initialized to he default layotu for the
10238         buffers textclass.
10239
10240         * tabular-old.C (ReadOld): add buf->params to call of Init
10241
10242         * screen.C: rename text->first to text->first_y
10243
10244         * paragraph.C (breakParagraph): always set layout in the broken
10245         paragraph
10246
10247         * lyxtextclass.C (Read): remove lowercase
10248         (hasLayout): ditto
10249         (operator): ditto
10250         (delete_layout): ditto
10251
10252         * lyxtext.h: rename first -> first_y
10253
10254         * lyxlayout.C (Read): remove lowercase
10255         (name): ditto
10256         (setName): ditto
10257         (obsoleted_by): ditto
10258
10259         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
10260
10261         * buffer.C (insertErtContents): add params are to InsetERT
10262         (parseSingleLyXformat2Token): add code to check if a paragraphs
10263         layout really exist.
10264         (parseSingleLyXformat2Token): add params to several inset
10265         constructors
10266         (asciiParagraph): remove lowercase, do the layout comparisons with
10267         no_case
10268
10269         * BufferView_pimpl.C (cursorNext): first -> first_y
10270         (resizeCurrentBuffer): first -> first_y
10271         (updateScrollbar): first -> first_y
10272         (scrollCB): first -> first_y
10273         (workAreaMotionNotify): first -> first_y
10274         (workAreaButtonPress): first -> first_y
10275         (checkInsetHit): first -> first_y
10276         (cursorPrevious): first -> first_y
10277         (cursorNext): first -> first_y
10278         (Dispatch): add buffer_->params to severl inset contructors
10279
10280 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10281
10282         * lyxlayout.C (Read): remove some debug info that I forgot.
10283
10284         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
10285         clean up the code slightly.
10286         (makeLinuxDocFile): ditto
10287         (makeDocBookFile): ditto
10288
10289         * text2.C: layout as string
10290
10291         * text.C: layout as string
10292
10293         * paragraph_pimpl.C: layout as string
10294
10295         * paragraph.[Ch]: layout as string
10296
10297         * lyxtextclasslist.[Ch]: layout as string
10298
10299         * lyxtextclass.[Ch]: layout as string
10300
10301         * lyxtext.h: layout as string
10302
10303         * lyxlayout.[Ch]: layout as string
10304
10305         * lyx_cb.C: layout as string
10306
10307         * bufferview_funcs.C: layout as string
10308
10309         * bufferparams.C: layout as string
10310
10311         * buffer.C: layout as string
10312
10313         * LyXView.[Ch]: layout as string
10314
10315         * LaTeXFeatures.[Ch]: layout as string
10316
10317         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
10318
10319         * BufferView_pimpl.C: change current_layout to string, remove
10320         lyx::layout_type.
10321         (Dispatch):
10322         (smartQuote):
10323         (insertInset):
10324         (workAreaButtonRelease): layout as string
10325
10326         * BufferView2.C (unlockInset): adjust
10327
10328         * vspace.C (asLatexCommand): use an explict temp variable.
10329
10330 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
10331
10332         * Makefile.am: use FRONTEND_*
10333
10334 2002-03-01  Juergen Vigna  <jug@sad.it>
10335
10336         * tabular.C (SetWidthOfMulticolCell): changed to something better
10337         I hope but still work in progress.
10338         (recalculateMulticolumnsOfColumn): renamed function from
10339         recalculateMulticolCells as it is more appropriate now.
10340         (SetWidthOfCell): calculate multicols better.
10341
10342 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10343
10344         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
10345
10346         * lyxfunc.C (processKeySym): print sequence also if it is
10347         `deleted' (complete)
10348
10349         * kbsequence.C (print): print sequence even if it is deleted
10350         (complete would be a better word, actually).
10351
10352         * lyxfunc.C (dispatch): print complete options after a prefix key
10353
10354         * vspace.C (asLatexCommand): rewrite in a slightly different form.
10355
10356 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
10357
10358         * text2.C (setCharFont): eliminate setCharFont code duplication.
10359
10360 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10361
10362         * BufferView_pimpl.C (Dispatch): remove bogus handling of
10363         LFUN_TABULAR_FEATURE (bug #177)
10364
10365 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
10366
10367         * Makefile.am: remove figure.h
10368
10369 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
10370
10371         * Bufferview_pimpl.C:
10372         * CutAndPasteC:
10373         * LaTeX.C:
10374         * LyXSendto.C:
10375         * buffer.C:
10376         * bufferlist.C:
10377         * converter.C:
10378         * language.C:
10379         * lyxfunc.C:
10380         * lyxvc.C:
10381         * paragraph.C:
10382         * text.C:
10383         * text2.C: remove #include "lyx_gui_misc.h".
10384
10385         * LaTeX.C: added #include <cstdio>
10386
10387 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
10390         that the paragraph following this one can have.
10391
10392         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
10393
10394         * vspace.C (asLatexCommand): fix bogus gcc warning
10395
10396         * Makefile.am (lyx_SOURCES): remove vms_defines.h
10397
10398 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
10399
10400         * text2.C (setLayout): get rid of redundant code
10401
10402 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
10403
10404         * text2.C (incDepth): make sure depth cannot be increased beyond
10405         reasonable values.
10406
10407 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
10408
10409         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
10410         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
10411
10412         * PainterBase.h (image):
10413         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
10414         a LyXImage const *.
10415
10416 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10417
10418         * BufferView.C:
10419         * BufferView.h:
10420         * BufferView_pimpl.C:
10421         * BufferView_pimpl.h:
10422         * LaTeXFeatures.C:
10423         * LyXAction.C:
10424         * LyXView.C:
10425         * Makefile.am:
10426         * UpdateList.h:
10427         * UpdateList.C:
10428         * buffer.C:
10429         * figure.h:
10430         * figureForm.C:
10431         * figureForm.h:
10432         * figure_form.C:
10433         * figure_form.h:
10434         * lyx_cb.C:
10435         * lyx_gui.C:
10436         * lyx_gui_misc.C:
10437         * lyxfunc.C:
10438         * sp_base.h:
10439         * sp_ispell.h:
10440         * sp_pspell.h:
10441         * sp_spell.C: remove fig inset, and the crap house of
10442           cards that follows it
10443
10444 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
10445
10446         * Makefile.am:
10447         * lyxserver.C:
10448         * os2_defines.h:
10449         * os2_errortable.h:
10450         * nt_defines.h: move .h into support/
10451
10452         * vms_defines.h: remove
10453
10454         * WorkArea.C: add space in debug output
10455
10456         * text2.C:
10457         * paragraph.C:
10458         * buffer.C: add WITH_WARNINGS
10459
10460         * vc-backend.h:
10461         * vc-backend.C:
10462         * bufferlist.C: s/retrive/retrieve/, add docs
10463
10464         * vspace.h:
10465         * vspace.C:
10466         * kbmap.h:
10467         * lyxlength.h:
10468         * lyxgluelength.h:
10469         * length_common.h:
10470         * chset.h:
10471         * chset.C: add docs
10472
10473         * lyxgui.C: add ID to X error handler
10474
10475         * lyxtestclass.c: fix typo
10476
10477 2002-02-26  Juergen Vigna  <jug@sad.it>
10478
10479         * tabular_funcs.C (write_attribute): changed so that some default
10480         attributes are not written at all.
10481         (getTokenValue): set default values before trying to read the
10482         value so we have the return value always set as default if we don't
10483         find the token we search for.
10484
10485         * tabular.C (Write): write bools as bools not as strings!
10486
10487 2002-02-22  Juergen Vigna  <jug@sad.it>
10488
10489         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
10490         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
10491
10492         * text.C (leftMargin): don't add an indent for paragraphs inside
10493         tabular cells (fix #208).
10494
10495 2002-02-21  José Matos  <jamatos@fep.up.pt>
10496
10497         * tabular.C (docBook): fixed support for long tables.
10498
10499 2002-02-20  Juergen Vigna  <jug@sad.it>
10500
10501         * text2.C (getFont): get the drawing font of the Inset if this
10502         paragraph is inside an inset (only important for InsetERT for now).
10503
10504         * buffer.C (insertErtContents): use new lanugage params in ERT
10505         constructor.
10506
10507         * CutAndPaste.C: commenting out seemingly uneeded code.
10508
10509 2002-02-19  Allan Rae  <rae@lyx.org>
10510
10511         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
10512         Iterators might be simple to use but they also get invalidated.
10513         (removeAutoInsets): renamed saved cursor tracking variables and added
10514         some comments to clarify what everything does.
10515
10516 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
10517
10518         * Chktex.C:
10519         * LaTeX.C:
10520         * LyXSendto.C:
10521         * converter.C:
10522         * lyx_cb.C:
10523         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
10524         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
10525
10526         * lyxfunc.C:
10527         * vc-backend.h: remove #include "support/syscall.h"
10528
10529         * LaTeX.C:
10530         * LyXSendto.C:
10531         * converter.C: rearrange #includes in Lars' approved fashion.
10532
10533         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
10534         forward declare class Timeout in the header file.
10535
10536         * XFormsView.C: changes due to the above.
10537
10538         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
10539         similar to LyXView.
10540
10541         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
10542         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
10543
10544 2002-02-18  José Matos  <jamatos@fep.up.pt>
10545
10546         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
10547         insets contents.
10548
10549 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
10550
10551         * a lot of small ws changes
10552         * add a lot of using std::XXX
10553         * use std construcs some places where approp.
10554         * use some exisint stuff from lyxfunctional where approp.
10555         * Make file changes to use partial linking (lets test this now...)
10556
10557 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10558
10559         * Chktex.C:
10560         * buffer.C:
10561         remove #include "support/syscontr.h" as it's redundant. Always has been.
10562
10563         * Chktex.C:
10564         * LaTeX.C:
10565         * LyXSendto.C:
10566         * converter.C:
10567         * lyx_cb.C:
10568         * vc-backend.C:
10569         change Systemcalls::System to Systemcalls::Wait and
10570         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
10571         No change of functionality, just reflects the stripped down Systemcalls
10572         class.
10573
10574 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
10575
10576         * debug.[Ch]: add a GRAPHICS type to the enum.
10577
10578 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10579
10580         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
10581
10582         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
10583         there is an inset.
10584
10585 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
10588         match the changes below.
10589
10590         * text2.C (toggleInset): if there is not editable inset at cursor
10591         position, try to see if cursor is _inside_ a collapsable inset
10592         and close it.
10593
10594 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10595
10596         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
10597         document menu has a nice checkbox
10598
10599 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10600
10601         * lyxlength.C (asLatexString): change PW to output as percent of
10602         \textwidth.
10603
10604         * lengthcommon.C: change '%' to 't%'
10605
10606         * lyxfunc.C (dispatch): a few comments from Martin
10607
10608 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * WorkArea.h:
10611         * WorkArea.C:
10612         * BufferView_pimpl.h:
10613         * BufferView_pimpl.C: clear our selection when X tells us we've lost
10614           the X selection.
10615
10616 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10617
10618         * vspace.C (inPixels): fix compiler warning
10619
10620 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * lyxfunc.C (getStatus): fix status message for disabled commands.
10623
10624 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
10625
10626         * BufferView_pimpl.C: fix crash on close buffer
10627         during selection (#227)
10628
10629 2002-01-27  Herbert Voss  <voss@lyx.org>
10630
10631         * buffer.C: link old Figure to new graphic inset
10632
10633 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
10634
10635         * FontLoader.C (getFontinfo): Change the latex font names in order
10636         to match the names of type1inst.
10637
10638 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10639
10640         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
10641
10642         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
10643         (extchanged): ditto
10644         (ext_exist): ditto
10645         (remove_files_with_extension): ditto
10646         (remove_file): ditto
10647         (write): ditto
10648
10649         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
10650         document is smaller than the work area height. Do not initialize
10651         static variables to 0.
10652
10653 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10654
10655         * lyx_gui.C (init): give the toolbar tooltips a normal font.
10656
10657         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
10658         LFUN_LAYOUT_PARAGRAPHS.
10659
10660         * tabular.C (GetCellFromInset): new method. Finds an inset in a
10661         tabular. It is possible to provide a possible cell, which will
10662         typically be the actcell from the corresponding insettabular
10663
10664         * lyxfunc.C (getStatus): small cleanup; disable
10665         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
10666         true
10667
10668 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10669
10670         * tabular.C (Validate): remove broken optimization (fixes bug #201)
10671
10672         * paragraph.C (startTeXParParams):
10673         (endTeXParParams): new methods. The LaTeX code to
10674         start/end paragraph formatting
10675         (simpleTeXOnePar): call startTeXParParams also when paragraph is
10676         empty (fixes bug #200)
10677
10678         * vspace.C (inPixels): adapt to the change below
10679         (inPixels): [later] more cleanups (remove unused variables)
10680
10681         * lyxlength.C (inPixels): change to use a width and a height as
10682         parameter.
10683
10684 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10685
10686         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
10687         Replaced with \paperwidth
10688
10689         * DepTable.C (insert): add std:: qualifier
10690
10691 2002-01-18  Allan Rae  <rae@lyx.org>
10692
10693         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
10694         updated also?
10695
10696         * text.C (drawInset): Turned out I didn't know enough about how
10697         rebreaking worked.  This fixes most of the redraw problems.  I see
10698         an occasional cursor trail when a line is broken now and the cursor
10699         placement can seem out by a few pixels also after a rebreak.
10700
10701 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10702
10703         * buffer.C (parseSingleLyXformat2Token): update because minipage
10704         width is now a LyXLength
10705
10706         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
10707
10708         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
10709         math insets
10710
10711 2002-01-17  Juergen Vigna  <jug@sad.it>
10712
10713         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
10714
10715         * BufferView2.C (lockInset): call edit() so that theLockingInset()
10716         is set correctly and the inset is updated correctly.
10717
10718 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10719
10720         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
10721         the beginning of the loop.
10722
10723 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
10724
10725         * lyxrc.C: improve help for use_scalable_fonts
10726
10727 2002-01-17  Allan Rae  <rae@lyx.org>
10728
10729         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
10730
10731 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10732
10733         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
10734         make sure to set their inset_owner to the right value (bug #171)
10735
10736 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
10737
10738         * DepTable.h
10739         * DepTable.C: Implement mtime checking to reduce time spent doing
10740         CRCs.
10741
10742 2002-01-16  Juergen Vigna  <jug@sad.it>
10743
10744         * tabular.C (GetAdditionalHeight): one of error fixed.
10745
10746         * lyxrc.C (output): small fix in writing use_pspell.
10747
10748 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
10749
10750         * sp_base.h: #include LString.h
10751
10752 2002-01-16  Allan Rae  <rae@lyx.org>
10753
10754         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
10755         Can someone check this please?
10756
10757         * text.C (drawInset): It was possible that p.row would be removed by
10758         breakAgainOneRow upsetting a few other settings.  There may be another
10759         small tweak possible by setting need_break_row = 0 when p.row has been
10760         removed but I don't know enough about the logic here.
10761
10762 2002-01-15  Allan Rae  <rae@lyx.org>
10763
10764         * text.C (insertChar): removed conditional truism.
10765
10766         * BufferView2.C (removeAutoInsets): More tweaks.
10767         cur_par_prev could be a stray pointer.  Check for trailing empty line
10768         in case last line was cur_par and only had an error inset on it.
10769
10770 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10771
10772         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
10773         absolute
10774
10775         * vc-backend.C (most methods):
10776         * exporter.C (Export):
10777         * converter.C (convert):
10778         (runLaTeX):
10779         * LyXSendto.C (SendtoApplyCB):
10780         * lyxfunc.C (dispatch):
10781         (menuNew):
10782         (open):
10783         (doImport):
10784         * lyx_cb.C (AutoSave):
10785         (InsertAsciiFile):
10786         * BufferView_pimpl.C (MenuInsertLyXFile):
10787         * buffer.C (runChktex): use Buffer::filePath().
10788
10789         * buffer.h: rename filename to filename_; rename filepath to
10790         filepath_ and make it private
10791         (filePath): new method
10792
10793         * buffer.C (writeFile): use fileName()
10794         (getLatexName):
10795
10796         * lyx_main.C (init): fix starting  of LyX when the binary is a
10797         link from so,ewhere else.
10798
10799         * minibuffer.C: include <cctype> for isprint
10800
10801 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10802
10803         * buffer.C (parseSingleLyXformat2Token): changes associated with the
10804         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
10805         name clash with InsetCollapsable's width function.
10806
10807 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10808
10809         * lastfiles.C: include <iterator>
10810
10811 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10812
10813         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
10814         std::count.
10815
10816         * buffer.C (makeLaTeXFile): ditto.
10817         Also make loop operation more transparent.
10818
10819 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
10820
10821         * ToolbarDefaults.C: remove trailing comma closing namespace.
10822
10823         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
10824
10825         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
10826         as in WorkArea.
10827
10828         * trans.C (Load): comment out unused variable, allowed.
10829
10830 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10831
10832         * minibuffer.[Ch] (append_char): new method to recieve input from the
10833         drop-down completion browser. If a key was pressed, then recieve this
10834         char and append it to the existing string.
10835         (peek_event): modify the positioning data passed to the completion
10836         browser so that it can be placed above the minibuffer rather than below.
10837 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10838
10839         * LyXAction.C (init): alloe error-next for readonly documents.
10840
10841         * BufferView2.C (ChangeRefsIfUnique): use standard version of
10842         count.
10843
10844 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10845
10846         * bufferlist.C (readFile): create the buffer _after_ checking that
10847         the file exists.
10848
10849         * lyxfunc.C (verboseDispatch): fix handling of arguments
10850
10851         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
10852
10853         * lyxrc.C: use string::erase() instead of initializing to "".
10854
10855
10856 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10857
10858         * BufferView_pimpl.h:
10859         * BufferView_pimpl.C:
10860         * WorkArea.h:
10861         * WorkArea.C:
10862         * text2.C: tell X when we have made a selection for copying
10863
10864 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10865
10866         * BufferView_pimpl.C (MenuInsertLyXFile):
10867         * lyxfunc.C (menuNew):
10868         (open):
10869         (doImport): add shortcuts to directory buttons
10870
10871         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
10872         open a float)
10873
10874         * lyxfunc.C (setStatusMessage):
10875         (getStatusMessage): new methods
10876         (getStatus):use setStatusMessage instead of setErrorMessage
10877         (dispatch): when function is disabled, set error message here
10878         [instead of in getStatus previously]
10879
10880         * BufferView_pimpl.C (workAreaButtonRelease): update
10881         toolbar/menubar here too.
10882
10883 2002-01-13  Allan Rae  <rae@lyx.org>
10884
10885         * BufferView2.C (removeAutoInsets): finished off earlier fix.
10886         Now seems indestructible.  Remaining task is to audit all other
10887         code affected by deleteEmptyParagraphMechanism.  One small quirk
10888         left is that an empty document with an error in the preamble can
10889         be made to report an error but no error box appears.  I don't know
10890         where it goes.
10891         (removeAutoInsets): Improved comments.
10892
10893 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
10894
10895         * Thesaurus.h:
10896         * Thesaurus.C: update for Aiksaurus 0.14
10897
10898 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10899
10900         * text2.C (firstParagraph): removed member function, all uses
10901         replaces with ownerParagraph
10902         (redoParagraphs): here
10903         (updateInset): here
10904         (toggleAppendix): here
10905         * BufferView2.C (insertErrors): here
10906         (setCursorFromRow): here
10907
10908 2002-01-13  Allan Rae  <rae@lyx.org>
10909
10910         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
10911         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
10912         There is still a way to segfault this although you may have to do this
10913         multiple times: Have an InsetERT with an unknown command in it.
10914         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
10915         <down-arrow>, <Enter> again, View->DVI, BANG!
10916
10917         * text2.C (setCursor):
10918         (deleteEmptyParagraphMechanism):
10919         * lyxtext.h (setCursor):
10920         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
10921         Making use of the return value may help fix other bugs.
10922
10923 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10924
10925         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
10926
10927         * LyXView.C (updateMenubar): call MenuBar::update here
10928         (updateToolbar): but not here
10929         (showState): do not update toolbar/menubar
10930
10931         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
10932         should need to care about that.
10933
10934         * lyxfunc.C (verboseDispatch): simplify a bit
10935         (getStatus): have a version which takes a pseudoaction, and
10936         another which requires a (kb_action,string).
10937
10938         * LyXAction.C (retrieveActionArg): make it work also when action
10939         is not a pseudo-action.
10940         (getActionName): simplify a bit
10941         (helpText):
10942
10943 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10944
10945         * lyxfunc.C (verboseDispatch): new families of methods with
10946         several ways to specify a command and a bool to indicate whether
10947         the command name and shortcut should be displayed in minibuffer
10948         (eventually, we could extend that to a finer bitmask like
10949         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
10950         (dispatch): the pristine dispatch command which just, well,
10951         dispatchs! Note it still sets its result to minibuffer; I'm not
10952         sure we want that.
10953
10954         * lyxfunc.h: remove setHintMessage
10955
10956         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
10957
10958 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10959
10960         * BufferView_pimpl.C (specialChar): delete new inset if we have
10961         not been able to insert it.
10962
10963         * kbmap.C: revert to using int instead of kb_action, since all we
10964         are dealing with is pseudo-actions.
10965
10966         * LyXAction.C (searchActionArg): change to return int instead of
10967         kb_action, since the result is a pseudoaction.
10968
10969 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
10970
10971         * buffer.C (insertErtContents): Fix (partially) the font bug.
10972
10973 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
10974
10975         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
10976         as the other one is broken on my machine!
10977
10978 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
10979
10980         * commandtags.h:
10981         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
10982
10983 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
10984
10985         * lyxrc.[Ch]: change names and descriptions of popup font variables to
10986         reflect their actual use. Provide compatibility code for older lyxrc
10987         files.
10988
10989         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
10990         FL_NORMAL_STYLE.
10991         change names of popup font variables in line with the changes to lyxrc.C
10992
10993 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10994
10995         * buffer.C (asciiParagraph): avoid outputing a word twice after
10996         an inset.
10997
10998         * lyxrc.C (getDescription): document that document_path and
10999         template_path can be empty.
11000
11001 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11002
11003         * LaTeXFeatures.C (getMacros):
11004         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11005
11006         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11007
11008         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11009         getPackages.
11010         (getPackages): rename feature "floats" to "float". Use an array to
11011         iterate over 'simple' features (i.e. just a \usepackage). Add
11012         handling of "amsmath" (renamed from "amsstyle").
11013
11014 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11015
11016         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11017         features list.
11018
11019 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
11020
11021         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11022         FuncStaus::FuncStatus & FuncStaus::some_method().
11023
11024 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
11025
11026         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11027         of the func_satus stuff. Edited and massaged in various ways by
11028         JMarc.
11029
11030         * lyxfunc.C (getStatus): use FuncStatus
11031
11032 2002-01-08  Juergen Vigna  <jug@sad.it>
11033
11034         * text.C (nextBreakPoint): use function Inset::isChar().
11035
11036         * paragraph.C (TeXOnePar): use function
11037         Inset::forceDefaultParagraphs.
11038
11039         * buffer.C (latexParagraphs): use function
11040         Inset::forceDefaultParagraphs.
11041
11042 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11043
11044         * lyx_gui.C (init): set the style of the menu popups to
11045         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11046
11047 2002-01-07  Juergen Vigna  <jug@sad.it>
11048
11049         * text.C (setHeightOfRow): small fix
11050         (prepareToPrint): don't look at alignment if we don't have the place
11051         for doing it.
11052
11053 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11054
11055         * box.C: New file. Move the Box methods and functions out of box.h,
11056         following Lars' suggestion.
11057
11058 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
11059
11060         * box.h: #include "support/LOstream.h", needed for inlined function.
11061
11062         * lyxtextclass.C:
11063         * lyxtextclasslist.C: added some using std declarations.
11064
11065 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
11066
11067         * box.h: make signed dimensions to allow insets wider than
11068           the screen (bug #162)
11069
11070         * BufferView_pimpl.C: add some insetHit debug
11071
11072 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
11073
11074         * vc-backend.C: add FIXME
11075
11076 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11077
11078         * lyxfunc.C (getStatus): enable code for showing math font status
11079         in toolbar/menu.
11080
11081 2002-01-07  Juergen Vigna  <jug@sad.it>
11082
11083         * text.C (nextBreakPoint): removed debug output not needed anymore.
11084
11085 2002-01-06  Juergen Vigna  <jug@sad.it>
11086
11087         * text.C (nextBreakPoint): fixed up this function we had this bug
11088         since ever but now hopefully we break row better.
11089         (insertChar): we have to check if an inset is the next char as it
11090         could now happen that a large inset is causing a break.
11091
11092 2002-01-05  Juergen Vigna  <jug@sad.it>
11093
11094         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
11095         if it doesn't like to be drawed.
11096
11097 2002-01-04  Juergen Vigna  <jug@sad.it>
11098
11099         * BufferView2.C (lockInset): forgot to set a cursor.
11100
11101         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
11102
11103 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
11104
11105         * FormMathsPanel.C:
11106         * FormMathsPanel.h
11107         * MathsSymbols.C:
11108         * form_maths_panel.C:
11109         * form_maths_panel.h:
11110         * form_maths_panel.fd: implemented sub- and super- buttons in math
11111         panel.
11112
11113         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
11114         (or ^ space) to be used as in TeX (req'd by André).
11115
11116         * lyxfunc.C: Allow ^ and _ again to be used both as
11117         super/subscript (mathed) and as themselves (in text).
11118
11119 2002-01-03  Allan Rae  <rae@lyx.org>
11120
11121         * LyXView.C (updateWindowTitle): Setup a short icon title of either
11122         "LyX" or the filename of the current buffer if it has one.  This is a
11123         modified form of John Levon's patch.
11124
11125         * XFormsView.C (setWindowTitle): also set icon title.
11126
11127         * LyXView.h (setWindowTitle): signature changed.
11128         * XFormsView.h (setWindowTitle): ditto.
11129
11130 2002-01-02  Juergen Vigna  <jug@sad.it>
11131
11132         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
11133
11134 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11135
11136         * screen.C (topCursorVisible): introduce a temp var for
11137         text->cursor.row(), handle the case where this row is null. (kindo
11138         hachish)
11139
11140         * text2.C (setCursor): add a couple of asserts.
11141
11142         * paragraph.h (inset_iterator): add -> operator
11143
11144         * paragraph.[Ch] (autoDeleteInsets): remove member function
11145
11146         * BufferView2.C (removeAutoInsets): rewrite to handle the old
11147         cursor pos correctly and handle inset deletion by itself.
11148         (insertErrors): move iterator declaration out of for expression
11149
11150         * lyxtextclass.C: add <algorithm>
11151
11152         * Makefile.am: added the new files to sources, removed layout.C
11153
11154         * layout.C: removed file
11155
11156         * layout.h: remove LYX_DUMMY_LAYOUT
11157
11158         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
11159         layout.
11160
11161         * lyxlayout.[Ch]:
11162         * lyxtextclass.[Ch]:
11163         * lyxtextclasslist.[Ch]: new files
11164
11165         * include order changes to a lot of files, also changes because of
11166         the six new files.
11167
11168 2001-12-27  Juergen Vigna  <jug@sad.it>
11169
11170         * buffer.C (asciiParagraph): more fixes.
11171
11172         * tabular.C (ascii): make ascii export support export of only the
11173         data separated by a column-delimiter.
11174         (ascii): better support for ascii export.
11175
11176         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
11177
11178 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11179
11180         * tabular_funcs.C: use a "using std::getline" instead of the
11181         previous fix from Angus (necessary for cxx + lyxstring)
11182
11183 2001-12-24  Juergen Vigna  <jug@sad.it>
11184
11185         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
11186
11187         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
11188         problems. First check a minipage also if we have some ert-contents
11189         (not only on par->size(), second set the right depth of the paragraph
11190         on the relink to the root-paragraph-list!
11191
11192         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
11193         which then did not anymore update the main paragraphs on undo/redo!
11194
11195 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11196
11197         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
11198         code. Support all font-changing funcs (even those which are not in
11199         menu currently). Support for reporting font settings in
11200         mathed (disabled until Andre provides a function on mathed's side).
11201
11202         * func_status.h (toggle): small helper function to set toggle
11203         state on a flag.
11204
11205 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
11206
11207         * tabular_funcs.C: getline -> std::getline
11208
11209 2001-12-21  Juergen Vigna  <jug@sad.it>
11210
11211         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
11212         accessed and could be 0 (I couldn't generate this but it seems
11213         Michael could!).
11214
11215 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11216
11217         * tabular_funcs.C: add LIstream.h, move write_attribute to..
11218         * tabular_funcs.h: here and include iosfwd
11219
11220 2001-12-20  Juergen Vigna  <jug@sad.it>
11221
11222         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
11223         inside inset but undo_par was.
11224
11225 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11226
11227         * Thesaurus.C: always include <config.h> in sources.
11228
11229         * Painter.h:
11230         * lyxlookup.h:
11231         * box.h: do not include <config.h> in header files
11232
11233         * text.C (paintLastRow): remove unused variable
11234
11235         * text.C (transformChar):
11236         (insertChar):
11237         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
11238
11239         * Painter.C (text):
11240         * font.C (width): rewrite to use uppercase() instead of
11241         islower/toupper.
11242
11243         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
11244
11245 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
11246
11247         * lyxfind.C: clean up of find failure position change
11248
11249 2001-12-20  Juergen Vigna  <jug@sad.it>
11250
11251         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
11252
11253         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
11254         (TeXRow): added to LaTeX a single tabular row.
11255         (TeXLongtableHeaderFooter): added to output LT-h/f data.
11256         (Latex): simplified and finally good LT-h/f support.
11257         (various_functions): just small adaptions for LT-h/f support.
11258
11259         * tabular_funcs.[hC]: added and moved here all not classfunctions
11260         of LyXTabular.
11261
11262 2001-12-19  Juergen Vigna  <jug@sad.it>
11263
11264         * tabular.[Ch]: better support for longtabular options (not finished
11265         yet!)
11266
11267 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11268
11269         * text.C (paintLastRow): use the label font instead of the font of
11270         the last character to compute the size of *_BOX. This makes more
11271         sense and avoids a crash with empty paragraphs.
11272         Use Painter::rectangle to draw EMPTY_BOX.
11273
11274 2001-12-19  Juergen Vigna  <jug@sad.it>
11275
11276         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
11277         the paragraphs if the replaced paragraph is not the first one!
11278         Tried to delete not used paragraphs but does not work yet so for
11279         now it's inside #ifdef's and by default off!
11280
11281 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * MenuBackend.C: include "lyx_main.h" instead of declaring
11284         lastfiles (actually was declared as LastFiles* instead of a
11285         scoped_ptr).
11286
11287 2001-12-17  Juergen Vigna  <jug@sad.it>
11288
11289         * tabular.C (AppendColumn): applied John's fix
11290
11291 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * BufferView.h:
11294         * BufferView.C:
11295         * BufferView_pimpl.h:
11296         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
11297
11298         * Makefile.am:
11299         * box.h: new start of class for above
11300
11301         * lyxfunc.C: ignore space-only minibuffer dispatches.
11302           Show the command name when it doesn't exist
11303
11304         * minibuffer.C: don't add empty lines to the history
11305
11306         * minibuffer.C: add a space on dropdown completion
11307
11308 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
11309
11310         * text.C: fix line above/below drawing in insets
11311
11312 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11313
11314         * lyxlength.C (LyXLength): Initialize private variables.
11315
11316 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
11317
11318         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
11319         when inserting error insets.
11320
11321 2001-12-13  Juergen Vigna  <jug@sad.it>
11322
11323         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
11324         actually sometimes the before-paragraph.
11325         (setUndo): don't clear the redostack if we're not actually undoing!
11326
11327 2001-12-06  Juergen Vigna  <jug@sad.it>
11328
11329         * undo_funcs.C (textHandleUndo): well after John's hint I got here
11330         and fixed redoing of main paragraph, so we can use it now ;)
11331
11332         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
11333
11334 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11335
11336         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
11337         Juergen's request
11338
11339 2001-12-13  André Pönitz <poenitz@gmx.net>
11340
11341         * undostack.[Ch]:
11342         * undo_func.C: minor cleanup
11343
11344 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11345
11346         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
11347         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
11348         font in urw-fonts package which is marked as -urw-fontspecific and
11349         does not work (incidentally, changing the encoding in the
11350         fonts.dir of this package to -adobe-fontspecific fixes the
11351         problem).
11352
11353         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
11354         is a crash when undoing first paragraph (Juergen, please take a
11355         look). THis does not mean the undo fix is wrong, just that it
11356         uncovers problems.
11357
11358         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
11359         the (Paragraph*) version when needed instead of duplicating the
11360         code.
11361
11362         * text.C (workWidth): use Inset::parOwner to find out where the
11363         inset has been inserted. This is a huge performance gain for large
11364         documents with lots of insets. If Inset::parOwner is not set, fall
11365         back on the brute force method
11366
11367         * paragraph_pimpl.C (insertInset):
11368         * paragraph.C (Paragraph):
11369         (cutIntoMinibuffer): set parOwner of insets when
11370         inserting/removing them
11371
11372         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11373
11374 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
11375
11376         * commandtags.h:
11377         * LyXAction.C:
11378         * lyx_main.C:
11379         * lyxfunc.C:
11380         * mathed/formulabase.C:
11381         * mathed/math_cursor.[Ch]:
11382         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
11383
11384
11385 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11386
11387         * lyxlength.[Ch] (operator!=): new function
11388
11389 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11390
11391         * text.C (workWidth): use Inset::parOwner to find out where the
11392         inset has been inserted. This is a huge performance gain for large
11393         documents with lots of insets. If Inset::parOwner is not set, fall
11394         back on the brute force method
11395
11396         * paragraph_pimpl.C (insertInset):
11397         * paragraph.C (Paragraph):
11398         (cutIntoMinibuffer): set parOwner of insets when
11399         inserting/removing them
11400
11401         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
11402
11403 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11404
11405         * tabular-old.C (getTokenValue):
11406         * tabular.C (getTokenValue):
11407         (write_attribute): new versions for LyXLength
11408         (everywhere): adjust the use of widths
11409
11410         * tabular.h: change the type of widths from string to LyXLength
11411
11412 2001-12-11  Ben Stanley <bds02@uow.edu.au>
11413
11414         * paragraph.C: fixed missing line number count when exporting
11415         Environments to LaTeX file
11416
11417         * buffer.C: added informational message for checking line numbers.
11418
11419 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11420
11421         * text2.C (deleteEmptyParagraphMechanism): if there is only one
11422         paragraph, do the 'double space' part, but not the 'empty
11423         paragraph' one.
11424
11425         * text.C (workWidth): small optimization
11426         (getLengthMarkerHeight): use minimal size for negative lengths.
11427
11428 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
11429
11430         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
11431
11432         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
11433
11434 2001-12-11  André Pönitz <poenitz@gmx.net>
11435
11436         * FontLoader.C:
11437         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
11438
11439 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11440
11441         * text2.C: keep selection on a setFont()
11442
11443 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11444
11445         * lyx_cb.C: another bv->text misuse, from insert label
11446
11447 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11448
11449         * kbsequence.h:
11450         * kbsequence.C: re-instate nmodifier mask
11451
11452 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
11453
11454         * lyx_main.h: make lyxGUI private.
11455
11456 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * lyxfind.C: place the cursor correctly on failed search
11459
11460 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11461
11462         * text.C (getLengthMarkerHeight): for small heights, the arrows
11463         are not always on top/bottom of the text
11464         (drawLengthMarker): smaller arrows; take the left margin in
11465         account; draw also vfills.
11466         (paintFirstRow):
11467         (paintLastRow): remove special code for vfill and standard spaces,
11468         since everything is handled in drawLengthMarker now.
11469
11470 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * buffer.C (insertErtContents): try to handle font and language
11473         interaction a bit better.g
11474
11475         * ColorHandler.C (updateColor): change the hash to cover the whole
11476         LColor enum, ws cleanup
11477         (getGCLinepars): ditto
11478         (getGCLinepars): only lookup in the linecache once.
11479
11480 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
11481
11482         * iterators.C (operator++): Make the iterator more robust
11483
11484         * BufferView2.C (removeAutoInsets): Use paragraph iterators
11485         (John's patch)
11486         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
11487
11488 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11489
11490         * lyxtext.h:
11491         * text.C: better added space drawing
11492
11493 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11494
11495         * LyXView.C:
11496         * BufferView2.C: fix layout combo update on inset unlock
11497
11498 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11499
11500         * Makefile.am: don't compile unused files
11501
11502 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11503
11504         * lyxfunc.C:
11505         * commandtags.h:
11506         * LyXAction.C: remove old LFUN_LAYOUTNO
11507
11508 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11509
11510         * paragraph_pimpl.h:
11511         * paragraph_pimpl.C: isTextAt() doesn't need font param
11512
11513 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * lyxlex.h:
11516         * lyxlex.C: little cleanup
11517
11518 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
11519
11520         * BufferView_pimpl.C: fix insertAscii for insets
11521
11522 2001-12-05  Juergen Vigna  <jug@sad.it>
11523
11524         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
11525         set the right font on the "multi" paragraph paste!
11526
11527 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * trans_decl.h:
11530         * trans_mgr.[Ch]:
11531         * trans.[Ch]:
11532         * lyxgluelength.C:
11533         * lyxlength.C: remove out-commented code.
11534
11535         * BufferView_pimpl:
11536         * CutAndPaste.C:
11537         * DepTable.C:
11538         * buffer.C:
11539         * chset.C:
11540         * lastfiles.C:
11541         * lyxlex.C:
11542         * lyxlex_pimpl.C:
11543         * lyxserver.C:
11544         * screen.C:
11545         * tabular-old.C:
11546         * tabular.C:
11547         * text.C:
11548         * trans_mgr.C:
11549         * vc-backend.C: change "while(" to "while ("
11550
11551         * lyxlength.[Ch]: add zero function to check if length is zero or
11552         not
11553         * lyxgluelength.C: use it
11554
11555 2001-12-05  Allan Rae  <rae@lyx.org>
11556
11557         * lyxlength.C: Attempted a fix for the abs(int) header selection.
11558         Works for 2.95.3, from what I understand of Garst's reports this should
11559         work for other g++ versions.  We're screwed if the abs(int) definition
11560         changed between bugfix releases of gcc.
11561
11562 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * text.C: fix chapter label offset !
11565
11566 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
11567
11568         * lyxtext.h:
11569         * text.C: fix hfill at end of line, clean up
11570
11571 2001-12-04  Juergen Vigna  <jug@sad.it>
11572
11573         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
11574         that we force an update of the inset and it's owners if neccessary.
11575
11576 2001-12-03  Juergen Vigna  <jug@sad.it>
11577
11578         * text.C (rowLast): simplified code
11579
11580 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * lyxfunc.C: fix show options on timeout
11583
11584 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11585
11586         * screen.C (topCursorVisible): scroll half a page when the cursor
11587         reached top of bottom of screen
11588
11589 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * minibuffer.C: deactivate on loss of focus
11592
11593 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11594
11595         * vspace.[Ch] (operator!=): add operator.
11596
11597 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * BufferView_pimpl.C: refuse to open an inset when
11600         there's a selection.
11601
11602 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * BufferView_pimpl.C: allow to click on RHS of full row insets
11605
11606 2001-11-30  Juergen Vigna  <jug@sad.it>
11607
11608         * tabular.C (LyXTabular): add a same_id to set the same id's in the
11609         insets for undo reasons.
11610
11611 2001-11-28  André Pönitz <poenitz@gmx.net>
11612
11613         * vspace.[Ch]: cosmetical changes
11614
11615 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * LyXAction.h:
11618         * LyXAction.C:
11619         * lyxfunc.h:
11620         * lyxfunc.C:
11621         * kbmap.h:
11622         * kbmap.C:
11623         * lyxrc.C:
11624         * kbsequence.h:
11625         * kbsequence.C: part re-write of old kb code
11626
11627         * Painter.C:
11628         * WorkArea.C: remove Lgb_bug_find_hack
11629
11630 2001-11-30  José Matos <jamatos@fep.up.pt>
11631
11632         * buffer.C (makeDocBookFile): add a comment to point a hack.
11633         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
11634         Fixed a double write of labels.
11635
11636 2001-11-29 Ben Stanley <bds02@uow.edu.au>
11637
11638         * LaTeX.C:
11639         * LaTeX.h Fixed bug in LaTeX class where it would not
11640         re-run latex if no depfiles were changed, but the .dvi was removed.
11641
11642 2001-11-28  André Pönitz <poenitz@gmx.net>
11643
11644         * all the files from the change on 2001/11/26:
11645         use lyx::layout_type instead of LyXTextClass::size_type
11646         use lyx::textclass_type instead of LyXTextClassList::size_type
11647
11648 2001-11-29  Juergen Vigna  <jug@sad.it>
11649
11650         * text.C: added support for paragraph::isFreeSpacing()
11651
11652         * buffer.C: same as above
11653
11654         * paragraph.h: inserted isFreeSpacing() function to enable
11655         FreeSpacing inside InsetERT.
11656
11657         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
11658         of the paragraph's in the cut/copy buffer to 0!
11659
11660         * text2.C (removeRow): remove the assert as it can!
11661
11662         * lyxtext.h: added helper function firstRow returning firstrow and
11663         made firstrow private again.
11664
11665         * BufferView2.C (lockInset): don't relock if we're already locked!
11666
11667         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
11668         the only paragraph.
11669         (removeRow): added Assert::(firstrow)
11670
11671         * debug.C: forgot to add INSETTEXT here.
11672
11673 2001-11-28  Juergen Vigna  <jug@sad.it>
11674
11675         * sp_spell.C (initialize): changed error text to more general
11676         spellchecker command use (not only ispell!)
11677
11678         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
11679
11680         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
11681
11682 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11683
11684         * vspace.C: initialise lyxgluelength on failure
11685
11686 2001-11-28  Allan Rae  <rae@lyx.org>
11687
11688         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
11689         declaration & definition that looks like a function declaration.
11690
11691 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11692
11693         * BufferView2.C (copy):
11694         (copyEnvironment): do not clear the selection when doing a copy.
11695
11696         * text.C (paintFirstRow): compilation fix
11697
11698 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
11699
11700         * tabular.C (Latex): correct line count when writing latex.
11701
11702 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
11703
11704         * paragraph_pimpl.h:
11705         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
11706           bug a bit
11707
11708 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11709
11710         * text.C:
11711         * LColor.h:
11712         * LColor.C: change vfillline->added_space
11713
11714         * text.C: add markers and text for added space
11715
11716         * vspace.C: fix comment
11717
11718 2001-11-28  André Pönitz <poenitz@gmx.net>
11719
11720         * paragraph.C: whitespace changes
11721         * all the other files from the change on 2001/11/26:
11722         change *::pos_type into lyx::pos_type
11723
11724 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
11725
11726         * buffer.C (parseSingleLyXformat2Token): Set the language to the
11727         language of the document when inserting error insets.
11728
11729 2001-11-26  André Pönitz <poenitz@gmx.net>
11730
11731         * BufferView_pimpl.[Ch]:
11732         *       CutAndPaste.C:
11733         * buffer.[Ch]:
11734         * lyxcursor.[Ch]:
11735         * lyxfind.C:
11736         * lyxfunc.C:
11737         * lyxrow.[Ch]:
11738         * paragraph.[Ch]:
11739         * paragraph_pimpl.[Ch]:
11740         * sp_spell.C:
11741         * text.C:
11742         * text2.C: reduce header dependencies, introduce type for positions
11743
11744 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11745
11746         * <various>: change to use Alert.h
11747
11748 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
11749
11750         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
11751         when encountering an unknown token.
11752         (readLyXformat2): Show an error message if there were unknown tokens.
11753
11754 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
11755
11756         * BufferView2.C:
11757         * BufferView_pimpl.C:
11758         * buffer.C:
11759         * paragraph.h:
11760         * text.C:
11761         * text2.C: use par->isInset()
11762
11763 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * paragraph_pimpl.h:
11766         * paragraph_pimpl.C: cleanup
11767
11768 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11769
11770         * text2.C (removeRow):
11771         * text.C (setHeightOfRow): remove useless (and costly) call to
11772         getRow.
11773
11774 2001-11-20  Allan Rae  <rae@lyx.org>
11775
11776         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
11777         Now need Inset*::checkInsertChar() to return true for appropriate
11778         cases so that the characters in the minibuffer will actually be
11779         inserted.
11780
11781 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11782
11783         * text.C: change the order of the includes.
11784         (workWidth): initialize it at once.
11785         (workWidth): make maxw unsigned
11786         (setHeightOfRow): remove unused variable (inset)
11787         (selectSelectedWord): remove unused variable (inset)
11788         (paintRowText): fix drawing of hfill characters, and clean up a bit.
11789
11790 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11791
11792         * lyxserver.C (emergencyCleanup): do not try to close pipes if
11793         server is not running.
11794         (openConnection):
11795         (closeConnection): add debug info when server is disabled.
11796
11797         * ColorHandler.C (getGCForeground): send debug message to GUI
11798         channel.
11799
11800         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
11801
11802         * kbmap.C (bind): modify because return conventions of
11803         kb_sequence::parse have changed.
11804
11805         * kbsequence.C (parse): only ignore spaces and not any stupid
11806         control character. This avoids tests like s[i] <= ' ', which are
11807         guaranteed to fail with 8bit characters and signed chars.
11808         Change return code to string::npos when there have been no error
11809         (0 was a bad idea when error is at first character)
11810
11811 2001-11-14  José Matos  <jamatos@fep.up.pt>
11812
11813         * buffer.h:
11814         * buffer.C (simpleDocBookOnePar): removed unused argument.
11815
11816 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11817
11818         * text.C (selectNextWordToSpellcheck): do not test explicitely for
11819         insets which are part of a word. Paragraph::isLetter takes care of
11820         that now. Use Paragraph::isInset to identify insets.
11821         (selectSelectedWord): do not test for hyphenation break.
11822
11823         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
11824         that protected spaces are considered as spaces.
11825
11826         * paragraph.C (isLetter): cleanup the code for ispell extras; use
11827         Inset::isLetter.
11828
11829 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * lyxserver.h:
11832         * lyxserver.C: fix it. and small cleanup.
11833
11834 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * BufferView_pimpl.C: use inline helpers
11837
11838         * LaTeXFeatures.h:
11839         * LaTeXFeatures.C: fix typos
11840
11841         * Spacing.h:
11842         * Spacing.C: move spacing_string into class
11843
11844         * ToolbarDefaults.C: move stuff into namespace anon
11845
11846         * layout.h: update enum
11847
11848         * lyxfunc.C: use better debug
11849
11850         * minibuffer.h: fix typo
11851
11852         * debug.h:
11853         * debug.C:
11854         * WorkArea.C: add and use Debug::WORKAREA
11855
11856         * lyxtext.h:
11857         * text.C:
11858         * text2.C: code re-organisation, inline helpers
11859
11860 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
11861
11862         * Layout.C: replaced a few cases of std::vector.size() == 0 with
11863         std::vector.empty().
11864
11865 2001-11-09  Allan Rae  <rae@lyx.org>
11866
11867         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
11868         '\n's after tables.  Tabular and ERT inset work now makes this no
11869         longer necessary.
11870
11871 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * minibuffer.h:
11874         * minibuffer.C: fix crash, improve drop-down completion
11875
11876 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
11877
11878         * lyxserver.h:
11879         * lyxserver.C: invalidate fd's when doing endPipe()
11880
11881 2001-11-08  José Matos  <jamatos@fep.up.pt>
11882
11883         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
11884         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
11885
11886         * paragraph.h:
11887         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
11888
11889 2001-11-07  José Matos  <jamatos@fep.up.pt>
11890
11891         * buffer.h:
11892         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
11893         const qualifier.
11894
11895         * buffer.C (sgmlOpenTag):
11896         * buffer.C (sgmlCloseTag): removed debug info.
11897
11898         * buffer.h (sgmlOpenTag):
11899         * buffer.h (sgmlCloseTag): made public.
11900
11901 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11902
11903         * buffer.C (saveParamsAsDefaults):
11904         * lyx_cb.C (MenuLayoutSave): remove
11905
11906         * LyXAction.C (init):
11907         * commandtags.h:
11908         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
11909
11910 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11911
11912         * buffer.C (setPaperStuff): removed from here...
11913
11914         * bufferparams.C (setPaperStuff): ... and moved there.
11915
11916 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
11917
11918         * minibuffer.h:
11919         * minibuffer.C:
11920         * XFormsView.C: add support for drop-down completion
11921
11922 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
11923
11924         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
11925         commands.
11926
11927 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11928
11929         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
11930         disabled.
11931
11932 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * lyx_main.C: change ref to known bugs
11935
11936 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
11937
11938         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
11939         to work around older babel problems.
11940
11941 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11942
11943         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
11944
11945 2001-10-24  Juergen Vigna  <jug@sad.it>
11946
11947         * tabular-old.C (ReadOld): below variable changes reflected.
11948
11949         * tabular.[Ch]: added ltType struct for longtable header/footer
11950         defines and changed all instances where they are used. Added
11951         future support for double top/bottom rows.
11952
11953 2001-10-24  José Matos  <jamatos@fep.up.pt>
11954
11955         * buffer.h (docbookHandleCaption):
11956         * buffer.C (docbookHandleCaption): removed unused function.
11957         (makeDocBookFile): moved docbook supported version to v4.1.
11958
11959 2001-10-24  José Matos  <jamatos@fep.up.pt>
11960
11961         * tabular.h:
11962         * tabular.C (docbookRow): new function to export docbook code of a row.
11963         (DocBook): now honors the longtable flags.
11964
11965 2001-10-23  José Matos  <jamatos@fep.up.pt>
11966
11967         * LaTeXFeatures.h:
11968         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
11969         of the lyx defined sgml entities used in a docbook/linuxdoc document.
11970
11971         * buffer.C (makeLinuxDocFile):
11972         (makeDocBookFile): reworked the preamble, more clean, and with
11973         support for lyx defined entities. Changed the document declaration
11974         to be more XML friendly.
11975
11976         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
11977         if we need to output XML that should be done with a filter.
11978
11979 2001-10-22  Juergen Vigna  <jug@sad.it>
11980
11981         * sp_pspell.h (class PSpell): add alive function needed in the
11982         controller to see if the spellchecker could be started.
11983
11984 2001-10-22  Juergen Vigna  <jug@sad.it>
11985
11986         * buffer.C (insertStringAsLines): modify the font for inserting
11987         chars in certain conditions by calling checkInsertChar(font).
11988
11989 2001-10-19  Juergen Vigna  <jug@sad.it>
11990
11991         * text.C (workWidth): use getRow instead of wrong algorithm.
11992         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
11993
11994 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
11995
11996         * lyxserver.h:
11997         * lyxserver.C:
11998         * lyx_main.h:
11999         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12000
12001 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12002
12003         * text.C (workWidth): do not search for the exact row when
12004         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12005         optimization for big documents.
12006
12007 2001-10-18  Juergen Vigna  <jug@sad.it>
12008
12009         * text.C (workWidth): new function with added Inset * parameter.
12010
12011 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12012
12013         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12014
12015         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12016         change return type of getColumnNearX.
12017
12018
12019         * text.C (changeRegionCase): use uppercase/lowercase instead of
12020         toupper/tolower.
12021         (leftMargin):
12022         (rightMargin): simplify code by factoring out the uses of
12023         textclasslist.
12024         (labelFill):
12025         (numberOfHfills):
12026         (setHeightOfRow):
12027         (appendParagraph): use Paragraph::size_type
12028
12029 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12030
12031         * vspace.C (asLatexString): add a missing break
12032
12033 2001-10-15  Herbert Voss  <voss@perce.de>
12034
12035         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12036
12037 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12038
12039         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12040         is not available.
12041
12042 2001-10-10  André Pönitz <poenitz@gmx.net>
12043
12044         * lyxfunc.C: removed greek_kb_flag.
12045
12046 2001-10-10  Herbert Voss  <voss@perce.de>
12047
12048         * lyx_main.C: delete global string help_lyxdir.
12049
12050 2001-10-09  Herbert Voss  <voss@perce.de>
12051
12052         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12053
12054         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12055
12056         * lyx_main.C: added global string help_lyxdir.
12057
12058         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12059
12060 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12061
12062         * lyxrc.C (set_font_norm_type): support iso8859-4
12063
12064 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
12065
12066         * LaTeX.C (deplog): add another regex for MikTeX
12067
12068 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12069
12070         * lyxrc.C (set_font_norm_type): support iso8859-3
12071
12072 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12073
12074         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12075
12076         * LaTeXFeatures.C: remove special case of french and index
12077
12078         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12079         before \begin{document}). This solves several incompatibilities.
12080
12081 2001-10-03  Garst Reese  <reese@isn.net>
12082
12083         * lyx_cb.C: change CheckTex error msg.
12084
12085 2001-10-03  José Matos  <jamatos@fep.up.pt>
12086
12087         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
12088
12089 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12090
12091         * .cvsignore: update
12092
12093         * lyx_main.C (commandLineVersionInfo): use new style version info.
12094
12095         * buffer.C (writeFile):
12096         (makeLaTeXFile):
12097         (makeLinuxDocFile):
12098         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
12099
12100         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
12101
12102         * version.h: update to use stuff in version.C
12103
12104         * version.C.in: new file. Contains version information determined
12105         at compile time. This is a merging of version.h and
12106         version_info.h.in.
12107
12108 2001-10-03  Juergen Vigna  <jug@sad.it>
12109
12110         * BufferView_pimpl.C (update): don't change "dirty" status in
12111         updateInset call.
12112
12113 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
12114
12115         * WorkArea.C (c-tor): re-position version string slightly.
12116
12117 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
12118
12119         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
12120         revert to previous code.
12121
12122         WorkArea.[Ch]: (show, destroySplash): methods removed.
12123
12124         WorkArea.C: rework code so that it's an amalgam of the codes before and
12125         after the splash screen was moved to WorkArea.
12126
12127 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12128
12129         * lyxrc.C (read):
12130         * vspace.C (inPixels):
12131         (lyx_advance):
12132         * kbmap.C (bind):
12133         * buffer.C (insertStringAsLines):
12134         (asciiParagraph): fix types to be large enough
12135
12136         * lyxlex_pimpl.h: change member status from short to int
12137
12138         * layout.h: fix type of endlabeltype
12139
12140         * kbmap.C (bind):
12141         * kbsequence.C (parse): change return type to string::size_type
12142
12143         * LaTeX.C (updateBibtexDependencies): comment out unneeded
12144         variable
12145
12146         * Bullet.C (bulletSize):
12147         (bulletEntry): do not use short ints as parameters
12148
12149         * BufferView2.C (insertLyXFile): change a char to an int.
12150
12151         * WorkArea.C (WorkArea): remove unneeded floats in computation
12152
12153 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
12154
12155         * buffer.C (asciiParagraph): Treat '\\' as other chars.
12156
12157         * paragraph.C (asString): Do not ignore newline/hfill chars when
12158         copying to the clipboard.
12159
12160 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
12161
12162         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
12163         after a multi-line inset.
12164
12165 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
12166
12167         * paragraph.C (validate): Set NeedLyXFootnoteCode
12168
12169 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12170
12171         * lyxfont.C (LyXSizeNames): changed increase-error to increase
12172         and decrease-error to decrease.
12173
12174 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12175
12176         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
12177         it more readable (should be equivalent)
12178
12179 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
12180
12181         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
12182
12183 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12184
12185         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
12186         of a cursor (row, etc.) after a character has been deleted
12187         (deleteEmptyParagraphMechanism): call the method above on _all_
12188         cursors held by the LyXText when a double space has been
12189         detected/deleted.
12190
12191 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
12192
12193         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
12194         pixmap.
12195         (resizeCurrentBuff): remove code to destroy the old splash dialog.
12196
12197         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
12198         background. Use greyOut() and the new show() methods to toggle between
12199         the foreground and background. Add code to remove the splash after
12200         its initial showing.
12201
12202         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
12203         (create_forms): no longer call Dialogs::showSplash.
12204
12205 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12206
12207         * .cvsignore: add version_info.h
12208
12209 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12210
12211         * version_info.h.in: new file
12212
12213         * Makefile.am: add version_info.h.in
12214
12215         * lyx_main.C (commandLineVersionInfo): use version_info defined in
12216         version_info.h instead of VERSION_INFO
12217
12218 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
12219
12220         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
12221         The ERT inset now returns string().
12222
12223 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
12224
12225         * lyxtext.h, text.C (selectNextWord): renamed as
12226         selectNextWordToSpellcheck.
12227
12228         * text.C (selectNextWordToSpellcheck): Modified to not select
12229         words inside an ERT inset.
12230
12231 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12232
12233         * lyx_cb.C (MenuLayoutSave): change a bit the question
12234
12235         * sp_base.h: include <sys/types.h>
12236
12237 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
12240
12241 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
12242
12243         * several files: fix typos in user-visible strings
12244
12245 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12246
12247         * text2.C (pasteSelection): do not set the selection, since it
12248         will be cleared later. Actually, the intent was to fix the way the
12249         selection was set, but I figured rmoving the code was just as good.
12250
12251 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
12252
12253         * FontLoader.C (available): Check if font is available without
12254         loading the font.
12255
12256 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12257
12258         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
12259
12260 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
12261
12262         * lyxrc.[Ch]: added display_graphics variable and associated code.
12263
12264 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12265
12266         * bufferparams.C (hasClassDefaults): new method. Returns true if
12267         the buffer parameters correspond to known class defaults
12268
12269 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
12270
12271         * XFormsView.C (show): set minimum size to the main window.
12272
12273 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12274
12275         * text2.C (copySelection):
12276         (cutSelection):
12277         * lyxfind.C (LyXReplace):
12278         * BufferView_pimpl.C (Dispatch): pass the correct flag to
12279         LyXText::selectionAsString.
12280
12281         * paragraph.C (asString): add "label" argument to the second form
12282
12283         * text2.C (selectionAsString): add "label" argument and pass it to
12284         Paragraph::asString.
12285
12286 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12287
12288         * lyx_main.C (commandLineHelp): remove version information
12289
12290 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
12291
12292         * lyx_main.C: add -version commandline option
12293
12294 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12295
12296         * paragraph.h: make the optional constructor arg required instead.
12297         some modifications to other files because of this.
12298
12299         * minibuffer.C (C_MiniBuffer_peek_event): make it static
12300
12301         * lyxserver.C (C_LyXComm_callback): make it static
12302
12303         * lyx_main.C (error_handler): make it static
12304
12305         * lyx_gui.C (LyX_XErrHandler): make it static
12306
12307         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
12308
12309         * WorkArea.C: make the extern "C" methods static.
12310
12311         * Makefile.am (lyx_LDADD): simplify
12312
12313 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12314
12315         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
12316         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
12317
12318         * LyXAction.C (init):
12319         * lyxfunc.C (dispatch): associated code removal.
12320
12321 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12322
12323         * lyxfont.h (isSymbolFont): shut off warning
12324
12325         * text.C (setHeightOfRow):
12326         (getVisibleRow): fix crash with empty paragraphs which have a
12327         bottom line
12328
12329 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
12330
12331         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
12332         code.
12333
12334 2001-09-04  José Matos  <jamatos@fep.up.pt>
12335         * buffer.C
12336         * buffer.h
12337         * tabular.C (docbook): rename docBook method to docbook.
12338
12339 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12340
12341         * Makefile.am: add dependencies to main.o.
12342
12343 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
12344
12345         * FontLoader.C (available): Return false if !lyxrc.use_gui
12346
12347 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
12348
12349         * FontInfo.C (query):
12350         * converter.C (view):
12351         * importer.C (Import):
12352         * exporter.C (Export): Can not -> cannot.
12353
12354 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
12355
12356         * BufferView_pimpl.C: allow to create index inset even if
12357           string is empty
12358
12359 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
12360
12361         * buffer.C (getLists): replace boost::tie code with an explicit pair
12362         as boost::tie can break some compilers.
12363
12364         * iterators.h: Added a std:: declaration to the return type of
12365         ParIterator::size.
12366
12367 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
12368
12369         * lyxrc.C: add help for view_dvi_paper_option, default to safe
12370           case.
12371
12372 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
12373
12374         * iterators.[Ch]: New files. Provide paragraph iterators.
12375
12376         * buffer.C (changeLanguage): Use paragraph iterators.
12377         (isMultiLingual): ditto
12378
12379         * BufferView2.C (ChangeInsets): Use paragraph iterators.
12380
12381 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
12382
12383         * FontLoader.C: Support for cmr font.
12384
12385 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
12386
12387         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
12388         (available): New method.
12389
12390         * FontInfo.C (getFontname): Use scalable fonts even when
12391         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
12392         found.
12393
12394 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12395
12396         * converter.C (Formats::view): reverted! Incorrect fix.
12397
12398 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
12399
12400         * converter.C (Formats::view): only output the -paper option
12401         if the dvi viewer is xdvi, thereby fixing bug #233429.
12402
12403 2001-08-23  Herbert Voss  <voss@perce>
12404
12405         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
12406
12407 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
12408
12409         * Spacing.h (Spacing): Set space to Default on in the default
12410         constructor.
12411
12412 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12413
12414         * vc-backend.h (RCS::versionString): add RCS to version
12415         (CVS::versionString): add CVS to version
12416
12417         * vc-backend.C (scanMaster): do not add CVS to version.
12418         (scanMaster): do not add RCS to version
12419
12420         * lyxvc.C (versionString): new method
12421
12422         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
12423
12424 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * Spacing.C (set): initialize fval
12427
12428 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
12429
12430         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
12431         " or \.
12432
12433 2001-08-16  Juergen Vigna  <jug@sad.it>
12434
12435         * lyxfunc.C (dispatch): implemented the new FINISHED states.
12436
12437 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * BufferView_pimpl.C:
12440         * figureForm.C:
12441         * lyxtext.h:
12442         * text2.C: setParagraph takes linespacing now
12443
12444 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
12445
12446         * LyxAction.C: add internal LFUN_CITATION_INSERT
12447
12448         * LyXView.C: actually apply fix
12449
12450         * bufferlist.C: fix open non-existent file
12451
12452         * lyxfind.C: fix indentation
12453
12454         * lyxfunc.C: remove unneeded assert, fix typo
12455
12456 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
12457
12458         * MenuBackend.C: use "Floatname List"
12459
12460 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
12461
12462         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
12463         when converting LaTeX layout to insetERT.
12464         Generate a non-collapsed float when reading old float
12465
12466 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12467
12468         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
12469         ERT insets.
12470
12471 2001-08-13  Juergen Vigna  <jug@sad.it>
12472
12473         * text.C (fill): return 0 instead of 20 as this seems to be the more
12474         correct value.
12475
12476 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
12477
12478         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
12479         lyxrc.font_norm.
12480
12481 2001-08-13  Juergen Vigna  <jug@sad.it>
12482
12483         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
12484         casesensitive off.
12485         (SearchBackward): comment out the unlocking of the inset_owner this
12486         should not be needed!
12487
12488 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
12489
12490         * Many files: Remove inherit_language, and add latex_language
12491
12492         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
12493         collapsible insets.
12494
12495 2001-08-10  Juergen Vigna  <jug@sad.it>
12496
12497         * text.C (prepareToPrint): fixed hfill-width in draw!
12498
12499         * BufferView2.C (selectLastWord): save the selection cursor as this
12500         now is cleared in the function LyXText::clearSelection!
12501
12502 2001-08-08  Juergen Vigna  <jug@sad.it>
12503
12504         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
12505         BACKSPACE type functions.
12506
12507         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
12508         is only cutted from the document but not put in the cut-buffer, where
12509         still the old stuff should be.
12510
12511         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
12512
12513         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
12514
12515         * tabular.C (SetWidthOfCell): fixed special case where the width
12516         was not updated!
12517         (LeftLine): handle '|' in align_special.
12518         (RightLine): ditto
12519         (LeftAlreadyDrawed): ditto
12520         (SetWidthOfCell): ditto
12521
12522 2001-08-07  Juergen Vigna  <jug@sad.it>
12523
12524         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
12525
12526 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12527
12528         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
12529         * lyxlex.[hC]: ditto
12530
12531 2001-08-06  Juergen Vigna  <jug@sad.it>
12532
12533         * text.C (getVisibleRow): fix up row clearing a bit.
12534
12535 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12536
12537         * minibuffer.C: make sure the X server sees the changes in the input.
12538
12539 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12540
12541         * paragraph.C (getFont): split into...
12542         (getLabelFont): this
12543         (getLayoutFont): and this
12544         * paragraph_pimpl.C (realizeFont): calling this
12545
12546         * text2.C (getFont): split into...
12547         (getLayoutFont): this
12548         (getLabelFont): and this
12549         (realizeFont): all three calling this
12550
12551         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
12552         files where used.
12553
12554 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12555
12556         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
12557
12558 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
12559
12560         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
12561         layouts from the Quote inset insertion.
12562
12563 2001-08-03  Juergen Vigna  <jug@sad.it>
12564
12565         * BufferView_pimpl.C (update): do the fitCursor only at the end!
12566
12567         * screen.C (drawFromTo): don't call fitcursor here and do the loop
12568         only if status not is already CHANGED_IN_DRAW (second level).
12569
12570         * text.C (draw): don't set the need_break_row when inside an
12571         InsetText LyXText.
12572
12573 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12574
12575         * buffer.C (parseSingleLyXformat2Token): handle more latex
12576         conversion cases.
12577
12578         * bufferview_funcs.[hC]: change function names to
12579         begin with small char, adjust other files.
12580
12581 2001-08-02  André Pönitz <poenitz@gmx.net>
12582
12583         * lyxfunc.C:
12584         BufferView_pimpl.C: remove broken special code for math-greek
12585
12586 2001-08-02  Juergen Vigna  <jug@sad.it>
12587
12588         * BufferView_pimpl.C (update): redone this function so that we
12589         update the text again if there was a CHANGE_IN_DRAW.
12590
12591         * screen.C (cursorToggle): removed LyXText parameter and recoded.
12592         (drawFromTo): added a new internal bool which is used by draw() and
12593         redraw() function.
12594         (general): some cursor drawing problems fixed.
12595
12596 2001-08-01  Juergen Vigna  <jug@sad.it>
12597
12598         * lyxfind.C (LyXFind): fixed
12599         (SearchForward): ditto
12600         (SearchBackward): ditto
12601
12602         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
12603         spurius drawing of the cursor in the main area.
12604
12605         * text2.C (status): small fix which could lead to a segfault!
12606         (clearSelection): remove unneeded BufferView param.
12607
12608 2001-08-01  André Pönitz <poenitz@gmx.net>
12609
12610         * lyxfunc.C: small change due to changed mathed interface
12611
12612 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12613
12614         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
12615
12616 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * lyxfunc.c: fail gracefully if file doesn't exist
12619
12620         * LyXSendto.C:
12621         * buffer.C:
12622         * lyxfunc.C:
12623         * BufferView_pimpl.C: IsDirWriteable() proto changed
12624
12625         * LyXView.C: fix updateWindowTitle() to store the last title
12626
12627 2001-07-31  Juergen Vigna  <jug@sad.it>
12628
12629         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
12630         the font (wrong since using of Paragraph::highestFontInRange).
12631
12632         * paragraph.C (highestFontInRange): added a default_size parameter.
12633
12634         * text.C (getVisibleRow): minor clear row changes (still not perfect).
12635         (setHeightOfRow): reformat
12636
12637 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12638
12639         * converter.[hC] + affected files: move to (inital-char)lowercase
12640         function names.
12641
12642         * ParagraphParameters.C (ParagraphParameters): remove commented code
12643
12644         * PainterBase.[Ch]: remove commented code
12645
12646         * LaTeXFeatures.h: add "bool floats" for float.sty
12647
12648         * LaTeXFeatures.C (LaTeXFeatures): init floats
12649         (require): handle float
12650         (getPackages): do it with floats
12651
12652 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12653
12654         * BufferView_pimpl.C (Dispatch): improve handling of
12655         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
12656
12657         * commandtags.h: #include lyxfont.h here temporarily to avoid
12658         keybinding bug.
12659
12660         * bufferlist.h: include LString.h here.
12661
12662 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12663
12664         * text2.C (getStringToIndex): new method.
12665
12666 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
12667
12668         * *: Reduced header file dependencies all over.
12669
12670 2001-07-30  Baruch Even  <baruch@lyx.org>
12671
12672         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
12673
12674 2001-07-29  Baruch Even  <baruch@lyx.org>
12675
12676         * buffer.C (readInset): Changed GRAPHICS to Graphics.
12677
12678 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12679
12680         * ParameterStruct.h (endif): add a default constructor to make
12681         sure that all variables is initialized.
12682
12683         * ParagraphParameters.C (ParagraphParameters): adjust
12684
12685 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12686
12687         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
12688         index; also, check that there is something to index, and that it
12689         does not span over several paragraphs.
12690         (doubleClick): use WHOLE_WORD_STRICT for double click.
12691
12692         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
12693
12694         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
12695         scheme.
12696
12697 2001-07-26  Baruch Even  <baruch@lyx.org>
12698
12699         * buffer.C (readInset): Changed to call up InsetGraphics when reading
12700         an InsetFig figure, backwards compatible reading of old figure code.
12701
12702 2001-07-27  Juergen Vigna  <jug@sad.it>
12703
12704         * text2.C: font.realize function adaption.
12705
12706         * text.C (draw): add a warnings lyxerr text if needed.
12707
12708         * layout.C: font.realize function adaption.
12709
12710         * language.C: add inherit_language and implement it's handlings
12711
12712         * bufferview_funcs.C (StyleReset): remove language parameter from
12713         font creation (should be language_inherit now).
12714
12715         * bufferparams.C (writeFile): handle ignore_language.
12716
12717         * paragraph.C (getFontSettings): the language has to be resolved
12718         otherwise we have problems in LyXFont!
12719
12720         * lyxfont.C (lyxWriteChanges): added document_language parameter
12721         (update): removed unneeded language parameter
12722
12723         * paragraph.C (validate): fixed wrong output of color-package when
12724         using interface colors for certain fonts in certain environments,
12725         which should not seen as that on the final output.
12726
12727 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * BufferView_pimpl.C:
12730         * Thesaurus.h:
12731         * Thesaurus.C:
12732         * Makefile.am:
12733         * commandtags.h:
12734         * LyXAction.C: add thesaurus support
12735
12736         * lyxfind.h:
12737         * lyxfind.C: add "once" parameter, for thesaurus, to not
12738           move to the next match
12739
12740 2001-07-26  Juergen Vigna  <jug@sad.it>
12741
12742         * lyxfont.C (realize): honor ignore_language too!
12743         (resolved): ditto.
12744
12745         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
12746
12747         * text.C (draw): one place more for ignore_language to not draw
12748         itself!
12749
12750 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
12751
12752         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
12753
12754 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12755
12756         * buffer.C (parseSingleLyXformat2Token): a more general fix for
12757         the minipage conversion problem.
12758
12759 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12760
12761         * buffer.C (parseSingleLyXformat2Token): check minipage if we
12762         insert an inset.
12763
12764 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12765
12766         * BufferView.h: don't forward declare WorkArea
12767
12768         * BufferView.C: don't include WorkArea.h
12769
12770 2001-07-25  André Pönitz <poenitz@gmx.net>
12771
12772         * commandtags.h:
12773         * LyXAction.C:
12774         * lyxfunc.C:  new LFUN 'math-space'
12775
12776         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
12777
12778 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12779
12780         * text2.C (toggleInset): call open/close
12781
12782 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * lyxfunc.C (dispatch): add debug for the disabled case
12785
12786         * font.C (buttonText): make similar to rectText
12787
12788         * buffer.C (readInset): comment out parsing of insetlist and
12789         insttheorem
12790
12791         * PainterBase.C (rectText): small correction
12792
12793         * BufferView_pimpl.C: comment out insettheorem and insetlist
12794         * LyXAction.C: ditto
12795         * commandtags.h: ditto
12796
12797 2001-07-24  Juergen Vigna  <jug@sad.it>
12798
12799         * text.C (draw): honor the ignore_language.
12800
12801         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
12802
12803 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12804
12805         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
12806         char inset.
12807
12808 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12809
12810         * lyxtext.h: remove unused (and unimplemented) methods
12811
12812 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12813
12814         * text.C (getVisibleRow): honor background color
12815
12816         * PainterBase.h:
12817         * Painter.h: remove default color argument for fillRectangle
12818
12819         * text.C (backgroundColor): new method
12820
12821 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12822
12823         * text.C (getVisibleRow): adjust
12824
12825         * font.[Ch] (rectText): new method, metrics
12826         (buttonText): new method, metrics
12827
12828         * PainterBase.[hC]: make rectText and buttonText always draw and take
12829         fewer paramteres.
12830
12831 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12832
12833         * ToolbarDefaults.C (read):
12834         * MenuBackend.C (read): allow escaping in all strings
12835
12836         * BufferView_pimpl.C (insertAndEditInset): new method.
12837         (Dispatch): use insertAndEditInset whenever appropriate.
12838
12839         * BufferView_pimpl.C (insertNote): removed
12840
12841         * BufferView_pimpl.C (smartQuote): new method, moved from
12842         BufferView; if an insetquote cannot be inserted, insert a '"'
12843         character instead.
12844
12845         * BufferView2.C: remove insertCorrectQuote();
12846
12847         * lyxfunc.C (getStatus): Add support for all remaingin
12848         inset-insert lfuns.
12849
12850         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
12851
12852         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
12853         command (necessary to pass " as parameter of self-insert.
12854
12855         * text.C (selectWordWhenUnderCursor):
12856         (selectWord): add word_location parameter
12857         (selectWordWhenUnderCursor): same + remove special code for word
12858         boundary.
12859         (selectNextWord): use kind() to guess type of insetspecialchar,
12860         not latex().
12861
12862         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
12863         (insertErtContents): create ert insets as collapsed.
12864         (readInset): better compatibility code for Info inset.
12865
12866 2001-07-20  Juergen Vigna  <jug@sad.it>
12867
12868         * lyxfunc.C (dispatch): use always LyXFind now!
12869
12870         * text2.C (init): add a reinit flag so that the LyXText can be
12871         reinited instead of deleted and reallocated (used in InsetText).
12872
12873         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
12874
12875         * text.C: ditto
12876
12877         * text2.C: ditto
12878
12879 2001-07-18  Juergen Vigna  <jug@sad.it>
12880
12881         * text.C (selectNextWord): handle insets inside inset by calling
12882         always the bv->text functions so that we can go up the_locking_inset!
12883
12884         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
12885         in strange locations when inside an inset!
12886
12887         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
12888         handling to include insets.
12889
12890         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
12891
12892 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12893
12894         * LyXAction.C (init):
12895         * commandtags.h:
12896         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
12897         LIGATURE_BREAK, since the name is so stupid.
12898
12899 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12900
12901         * buffer.C (readInset): enable reading of new InsetNotes as well as old
12902         InsetInfos.
12903
12904         * FontLoader.C: remove FORMS_H_LOCATION cruft.
12905
12906         * sp_form.[Ch]: remove.
12907
12908         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
12909
12910         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
12911         InsetInfo.
12912
12913         * src/buffer.C (readInset): ditto.
12914
12915 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12916
12917         * BufferView_pimpl.C (specialChar): new method. Obsoletes
12918         menuSeparator(), endOfSentenceDot(), ldots() and
12919         hyphenationPoint(), which are therefore removed.
12920         (Dispatch): handle LFUN_HYPHENATION_BREAK.
12921
12922         * LyXAction.C (init):
12923         * commandtags.h: add LFUN_HYPHENATION_BREAK.
12924
12925         * paragraph.C (getWord): removed.
12926
12927         * BufferView_pimpl.C (Dispatch): use last word or selection for
12928         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
12929
12930         * lyx_main.C (queryUserLyXDir): do not ask before creating
12931         user_dir, except if it has been named explicitely.
12932
12933 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
12934
12935         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
12936         a document of zero size.
12937
12938 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
12939
12940         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
12941         approriately in the c-tor and in require().
12942         (getPackages): output the appropriate LaTeX for natbib support.
12943
12944         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
12945         variables "use_natbib" and "use_numerical_citations" when reading the
12946         LyX file.
12947         (readInset): read the various natbib cite commands.
12948         (validate): white-space change.
12949
12950         * bufferparams.[Ch]: new variables "bool use_natbib" and
12951         "bool use_numerical_citations".
12952         (writeFile): output them in the LyX file.
12953
12954 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12955
12956         * lyxfunc.C (getStatus): add support for all the inset insertion
12957         commands.
12958
12959         * text2.C (insertInset):
12960         * paragraph.C (insetAllowed):
12961         * BufferView_pimpl.C (insertInset): update to take in account the
12962         renaming of insertInsetAllowed
12963
12964         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
12965
12966         * text2.C (getInset): new method. returns inset at cursor position.
12967
12968         * BufferView_pimpl.C (Dispatch): changes because of this.
12969
12970         * LyXAction.C (init): rename open-stuff to inset-toggle.
12971
12972         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
12973
12974         * text2.C (toggleInset): renamed from openStuff; use
12975         Inset::open().
12976
12977 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
12978
12979         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
12980
12981         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
12982
12983 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
12984
12985         * buffer.C (readLyXformat2): Add filename to the error dialog
12986
12987 2001-07-18  Juergen Vigna  <jug@sad.it>
12988
12989         * tabular.C (GetCellNumber): put an assert here instead of the check!
12990
12991 2001-07-17  Juergen Vigna  <jug@sad.it>
12992
12993         * BufferView_pimpl.C (toggleSelection): adapted too.
12994
12995         * text.C (selectNextWord): adapted for use with insets.
12996         (selectSelectedWord): ditto
12997
12998 2001-07-17  Juergen Vigna  <jug@sad.it>
12999
13000         * sp_spell.C (PSpell): fix initialitation order.
13001
13002 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13003
13004         * paragraph.C: spacing
13005
13006 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13007
13008         * sp_spell.C: repair language selection for pspell
13009
13010 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13011
13012         * lyxfunc.h: change more methods to begin with lower char.
13013
13014 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13015
13016         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13017         for unknown layouts.
13018
13019 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
13020
13021         * buffer.C (readLyXformat2): Generate an error dialog if there are
13022         unknown layouts.
13023
13024 2001-07-16  Juergen Vigna  <jug@sad.it>
13025
13026         * sp_spell.C: always compile ISpell part.
13027
13028         * lyxrc.C: added use_pspell entry and it's handling.
13029
13030 2001-07-13  Juergen Vigna  <jug@sad.it>
13031
13032         * sp_spell.C: removed double includes.
13033
13034 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
13035
13036         Consistent use of Lsstream.h:
13037         * Lsstream.h: added using std::stringstream for consistencies sake.
13038
13039         * buffer.C: removed using std::stringstream
13040
13041         * lyxfont.C (stateText):
13042         * paragraph.C (asString):
13043         * text.C (selectNextWord, selectSelectedWord):
13044         * text2.C (setCounter):
13045         * vspace.C (asString, asLatexString):
13046         std::ostringstream -> ostringstream.
13047
13048 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13049
13050         * LyXAction.C: add LFUN_HELP_ABOUTLYX
13051         * commandtags.h: add LFUN_HELP_ABOUTLYX
13052         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13053
13054 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
13055
13056         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13057         cursorToggle()
13058         * lyx_gui_misc.C: remove spellchecker
13059         * lyxfunc.C: showSpellchecker
13060         * sp_base.h: added
13061         * sp_ispell.h: added
13062         * sp_pspell.h: added
13063         * sp_spell.C: added
13064         * sp_form.[Ch]: removed
13065         * spellchecker.[Ch]: removed
13066
13067 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
13068
13069         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13070         is set.
13071         (simpleTeXSpecialChars): Simply print the input character without
13072         any special translation if pass_thru is set.
13073
13074         * layout.h: Added bool pass_thru to layout class for being able to
13075         implement pass through of a paragraph for Literate Programming.
13076
13077         * layout.C: add LT_PASS_THRU to LayoutTags enum.
13078         * layout.C (LyXLayout): set pass_thru to flase in constructor.
13079         * layout.C (Read): add "passthru" to list of layout tags and add
13080         code to set the pass_thru boolean when it is read.
13081
13082 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13083
13084         * trans_decl.h: remove allowed from KmodInfo
13085
13086         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13087         remove allowed code
13088         (Load): adjust
13089
13090         * paragraph_pimpl.C (erase): use boost::prior
13091
13092         * Painter.C (text): use data() instead of c_str() when length is
13093         also provided.
13094         * WorkArea.C (putClipboard): ditto
13095         * font.h (width): ditto
13096
13097         * BufferView2.C: use it-> instead of (*it). for iterators
13098         * texrow.C: ditto
13099         * paragraph_pimpl.C: ditto
13100         * paragraph.C: ditto
13101         * minibuffer.C: ditto
13102         * language.C: ditto
13103         * kbmap.C: ditto
13104         * encoding.C: ditto
13105         * counters.C: ditto
13106         * converter.C: ditto
13107         * chset.C: ditto
13108         * Variables.C: ditto
13109         * TextCache.C: ditto
13110         * MenuBackend.C: ditto
13111         * LyXAction.C: ditto
13112         * LColor.C: ditto
13113         * FloatList.C: ditto
13114         * DepTable.C: ditto
13115         * ColorHandler.C (LyXColorHandler): ditto
13116
13117 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13118
13119         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
13120
13121         * text2.C (openStuff): reintroduce this method (which had been
13122         nuked in NEW_INSETS frenzy).
13123
13124         * lyxfunc.C (Dispatch): when an action has not been handled, use
13125         its name in the error message, not its number.
13126
13127         * paragraph.C (inInset): change method name to begin with lowercase.
13128
13129         * undo_funcs.C:
13130         * text2.C: updates because of this.
13131
13132 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13133
13134         * ToolbarDefaults.C (add): add spaces in error message
13135
13136 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13137
13138         * buffer.C (readLyXformat2): initialize the ert comp. variables.
13139         (readLyXformat2): rename return_par to first_par, use lyxlex's
13140         pushToken and remove the manual push handling.
13141         (parseSingleLyXformat2Token): add another ert comp. variable:
13142         in_tabular, rename return_par to first_par. handle newlines better
13143
13144 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13145
13146         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
13147
13148 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13149
13150         * text2.C (getParFromID): removed
13151
13152         * buffer.C (getParFromID): new method moved form lyxtext.
13153         * BufferView2.C (insertErrors): adjust
13154         (setCursorFromRow): adjust
13155         * BufferView_pimpl.C (restorePosition): adjust
13156         * lyxfunc.C (Dispatch): adjust
13157         * undo_funcs.C (textUndo): adjust
13158         (textRedo): adjust
13159         (textHandleUndo): adjust
13160         (textHandleUndo): adjust
13161
13162 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13163
13164         * buffer.C: up' the LYX_FORMAT
13165
13166         * lyxfont.h: turn NO_LATEX on as default
13167
13168         * buffer.C (insertErtContents): new methods of tex style compability.
13169         (parseSingleLyXformat2Token): use it several places.
13170         * tabular.C (OldFormatRead): and here
13171
13172 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13173
13174         * text2.C: remove some commented code.
13175         reindent file.
13176
13177         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
13178         * trans.C: changes because of the above.
13179
13180 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
13181
13182         * text2.C (setCounter): Fix counters bug with bibliography layout.
13183
13184 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13185
13186         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
13187         own member functions
13188         (simpleTeXSpecialChars): ditto
13189
13190 2001-07-06  Juergen Vigna  <jug@sad.it>
13191
13192         * a lot of files: changed the access to LyXText::status and the
13193         call of undo-functions.
13194
13195         * undo.[Ch]: added a inset_id to the undo informations.
13196
13197         * undo_funcs.[Ch]: added and moved here all undo functions.
13198
13199         * lyxtext.h: give the status enum a weight, made status_ a private
13200         variable and made accessor functions for it, removed the whole bunch
13201         of undo-functions as they are now in their own file, make some
13202         functions publically available. Added function ownerParagraph with
13203         int parameter.
13204
13205         * paragraph.[Ch]: added "bool same_ids" to the constructor,
13206         made InInset() a const function, added getParFromID() function.
13207
13208         * buffer.[Ch]: added const version for inset_iterator functions,
13209         added getInsetFromID() function.
13210
13211         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
13212         changed undo functions for new version.
13213
13214 2001-07-05  Juergen Vigna  <jug@sad.it>
13215
13216         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
13217         unknow mechanism does not call the proper constructor but only this
13218         one also if I request the other!?
13219
13220 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13221
13222         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
13223
13224         * text2.C (LyXText): use initialization lists.
13225
13226         * lyxtext.h (Selection): initialize set_ and mark_
13227         (init): remove method
13228
13229 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
13230
13231         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
13232
13233 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13234
13235         * screen.[Ch]: change method names to begin with lowercase
13236
13237         * BufferView_pimpl.C (updateScrollbar): simplify further and
13238         hopefully make it a bit faster.
13239
13240 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13241
13242         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
13243         calling directly xforms functions.
13244
13245         * Painter.C (Painter):
13246         * lyx_cb.C (MenuWrite):
13247         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
13248         fl_display.
13249
13250         * lyx_gui.C: remove bogus guiruntime extern declaration.
13251
13252 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13253
13254         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
13255         in NEW_INSETS
13256         (redoDrawingOfParagraph): ditto
13257         (redoParagraphs): ditto
13258         (cutSelection): don't create a object for CutAndPaste use the
13259         static method directly
13260         (pasteSelection): ditto
13261
13262         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
13263         LyXview (+ rename)
13264
13265 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13266
13267         * modifications to some other files because of this.
13268
13269         * Makefile.am (lyx_SOURCES): add XFormsView
13270
13271         * XFormsView.[Ch]: new files
13272
13273         * LyXView.[Ch]: make LyXView a base class for the gui handling for
13274         the main window. Move the gui dependent stuff to XFormsView
13275
13276 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * tabular.C (GetCellInset): update cur_cell also in the row/col
13279         version of this function.
13280
13281         * lyxfunc.C: no need to include figure_form.h here.
13282
13283         * FontLoader.h:
13284         * lyxfunc.h:
13285         * lyxscreen.h:
13286         * text2.C:
13287         * lyxvc.C: no need to include forms.h here.
13288
13289 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13290
13291         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
13292
13293         * lyxfunc.C (Dispatch):
13294         * Spacing.C (set):
13295         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
13296         constructor argument.
13297
13298 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13299
13300         * paragraph.C (Paragraph): dont't clear, and just set layout.
13301         (makeSameLayout): use params's copy contructor.
13302
13303         * ParagraphParameters.[Ch] (makeSame): delete method
13304
13305 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
13306
13307         * Variables.[Ch]: fix indentation, rename set to isSet
13308
13309 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13310
13311         * lyxfunc.C (Dispatch): fix typo
13312
13313 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13314
13315         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
13316         upper_bound.
13317
13318         * bufferlist.C: include assert.h for emergencyWrite().
13319
13320 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13321
13322         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
13323           give up at last (bug #425202) !
13324
13325 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
13326
13327         * lyx_gui_misc.C:
13328         * sp_form.h:
13329         * sp_form.C:
13330         * spellchecker.h:
13331         * spellchecker.C: strip spellchecker options and bring up
13332           preferences tab instead
13333
13334 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13335
13336         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
13337         the istringstream constructor
13338
13339 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13340
13341         * paragraph.C (getLayout): fix return value
13342
13343         * paragraph.h: do not declare getLayout as inline.
13344
13345         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
13346
13347 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13348
13349         * lyxcursor.h (operator<): new func
13350         (operator>): new func
13351         (operator>=): new func
13352         (operator<=): new func
13353
13354         * text.C (changeCase): use selection.start and selection.end
13355         (changeRegionCase): require from to be <= to. Require par to be a
13356         valid paragraph.
13357
13358         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
13359
13360 2001-06-27  Juergen Vigna  <jug@sad.it>
13361
13362         * text.C (cursorLeftOneWord): changed to return the cursor and added
13363         overlay with BufferView * parameter which calls this one.
13364         (getWord): added
13365         (selectWord): use new getWord function.
13366         (changeCase): renamed from changeWordCase as and extended to work
13367         also on selections.
13368
13369         * lyxtext.h: added enum word_location
13370
13371         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
13372         changeCase as this operates now also on selections.
13373
13374 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
13375
13376         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
13377
13378         * many files: send debug output to Debug::INFO instead of
13379         Debug::ANY.
13380
13381         * converter.C (View):
13382         (Convert):
13383         (Move): send debug output to Debug::FILES instead of console.
13384
13385 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
13386
13387         * lyxfunc.C (getStatus): use func_status
13388
13389         * func_status.h: new header, describing the results of
13390         LyXFunc::getStatus;
13391
13392         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
13393         LFUN_MATH_HALIGN.
13394
13395 2001-06-25  The LyX Project  <jug@sad.it>
13396
13397         * buffer.C (sgmlOpenTag):
13398         (sgmlCloseTag):
13399         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
13400
13401 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13402
13403         * text2.C: remove some dead code
13404
13405         * tabular.C (GetCellInset): store the last cell checked (gotten)
13406
13407         * tabular.h: add the helper for the speedup
13408
13409         * lyxtext.h: remove some dead code
13410
13411 2001-06-26  The LyX Project  <Asger>
13412
13413         * paragraph.C: Change export to LaTeX of alignment to
13414         \begin{center} and family for better roundtrip work with reLyX.
13415
13416         * Tune the math drawing a bit.
13417
13418 2001-06-25  The LyX Project  <Asger>
13419
13420         * LColor.C (LColor): New color for math background. New color
13421         for buttons.
13422
13423 2001-06-25  The LyX Project  <jug@sad.it>
13424
13425         * lyxfunc.C (MenuNew): remove extra check for .lyx file
13426
13427         * lyxfunc.C (Open):
13428         * bufferlist.C (newFile): do not restrict to files ending with
13429         .lyx
13430
13431         * BufferView_pimpl.C (MenuInsertLyXFile):
13432
13433 2001-06-24  The LyX Project  <jug@sad.it>
13434
13435         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
13436         of compare_no_case
13437
13438 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13439
13440         * lyxtext.h: rename most methods to begin with a small char.
13441         Lots of changes because of this.
13442
13443         * paragraph.C (Paragraph): do not call fitToSize
13444         (erase): call Pimpl::erase
13445         (insertChar): call Pimpl::insertChar
13446         (insertInset): call Pipl::insertInset
13447         (breakParagraph): do not call fitToSize
13448         (breakParagraphConservative): do not call fitToSize
13449         (fitToSize): remove method
13450
13451         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
13452
13453 2001-06-24  The LyX Project  <Asger>
13454
13455         * Fix Qt compilation^2
13456
13457 2001-06-24  The LyX Project  <jug@sad.it>
13458
13459         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
13460         depthHook(getDepth()-1).
13461
13462         * paragraph.h:
13463         * ParagraphParameters.h:
13464         * ParameterStruct.h: change type of depth to unsigned int ==
13465         depth_type. Many adaptations to other files before of that.
13466
13467 2001-06-24  The LyX Project  <Asger>
13468
13469         * Fix Qt compilation.
13470
13471 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13472
13473         * paragraph.h: renamed several methods to begin with small letter.
13474         several changes to many parts of the code because of this.
13475
13476 2001-06-23  The LyX Project  <jug@sad.it>
13477
13478         * text2.C (InsertStringAsLines): renamed from InsertStringA;
13479         rewritten to discard all double spaces when KeepEmpty is off
13480         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
13481         to only handle newlines but not fiddle with spaces and friends.
13482
13483         * lyxfunc.C (MenuNew): when doing 'new from template', use
13484         template_path as default directory
13485
13486 2001-06-23  The LyX Project  <Asger>
13487
13488         * Clean-up of header file includes all over
13489         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
13490
13491 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13492
13493         * paragraph.h: renamed from lyxparagraph.h
13494
13495 2001-06-23  Asger  <lyx@violet.home.sad.it>
13496
13497         * Buffer.h: Removed Buffer::resize
13498         * BufferList.h: Removed BufferList::resize
13499         * LyXView.h: Added LyXView::resize. This way, we will only reflow
13500         the document lazily when we change the width, or the font settings.
13501
13502 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13503
13504         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
13505
13506 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13507
13508         * buffer.h: remove out of date comment
13509
13510 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
13511
13512         * lyxscreen.h:
13513         * screen.C: fix "theoretical" GC leak
13514
13515 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13516
13517         * LaTeX.C (scanAuxFile):
13518         (deplog): remove trailing \r when reading stream (useful under
13519         win32)
13520
13521 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
13522
13523         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
13524         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
13525         and BufferView::theLockingInset(Inset*), so should use them and not
13526         access bv_->text->the_locking_inset directly.
13527
13528         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
13529
13530 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * Makefile.am:
13533         * tex-defs.h: remove old unused file
13534
13535 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
13536
13537         * BufferView_pimpl.C: fix typo, remove minibuffer message
13538           when buffer has loaded
13539
13540 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13541
13542         * lyxfunc.C (Dispatch): use stringstream
13543         (MenuNew): use stringstream
13544         (Open): use stringstream
13545
13546         * importer.C (Import): use stringstream
13547
13548         * bufferview_funcs.C (CurrentState): use stringstream
13549
13550         * LaTeX.C (run): use stringstream
13551
13552         * BufferView_pimpl.C (savePosition): use stringstream
13553         (restorePosition): use stringstream
13554         (MenuInsertLyXFile): use stringstream
13555
13556 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
13557
13558         * BufferView.C:
13559         * Bullet.C:
13560         * ColorHandler.C:
13561         * FontInfo.C:
13562         * FontLoader.C:
13563         * LColor.C:
13564         * LaTeXFeatures.C:
13565         * Painter.C:
13566         * gettext.C:
13567         * lyx_gui_misc.C:
13568         * lyxserver.C:
13569         * vspace.C: removed // -*- C++ -*- as first line.
13570
13571         * lyxfind.h:
13572         * version.h: added // -*- C++ -*- as first line.
13573
13574 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13575
13576         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
13577
13578         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
13579         of string
13580
13581 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13582
13583         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
13584         of floats.
13585
13586 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13587
13588         * gettext.C: include LString.h even when --disable-nls is on.
13589
13590 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
13591
13592         * converter.h (Get): changed argument type from int to
13593         FormatList::size_type to avoid unnecessary conversion.
13594
13595         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
13596         before using it.
13597
13598 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13599
13600         * gettext.h: include LString.h even when --disable-nls is on.
13601
13602 2001-06-07  Juergen Vigna  <jug@sad.it>
13603
13604         * text.C (BreakAgain): subst spaces with tabs.
13605
13606         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
13607         (resizeInsetsLyXText): set force on resizeLyXText.
13608
13609 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13610
13611         * gettext.h (gettext_init):
13612         (locale_init): use a real definition instead of a macro
13613
13614 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * Bufferview_pimpl.C:
13617         * LColor.h:
13618         * LColor.C: further lcolor tidies
13619
13620 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13621
13622         * BufferView_pimpl.C (updateScrollbar): simplify.
13623
13624         * BufferView2.C: don't include insets/insetinfo.h, change
13625         prototype for insertInset and call the Pimpl version. let
13626         updateInset call Pimpl version.
13627
13628         * BufferView.h: move inset_slept to BufferView::Pimpl, move
13629         gotoInset to BufferView::Pimpl
13630
13631 2001-06-01  Juergen Vigna  <jug@sad.it>
13632
13633         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
13634         inside a LockingInset (is the update needed at all?).
13635
13636 2001-05-31  Juergen Vigna  <jug@sad.it>
13637
13638         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
13639         here not the old one otherwise how should we compare it afterwards
13640         if it's the same!
13641
13642 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * lyxfont.C:
13645         * tabular.C:
13646         * tabular-old.C:
13647         * FontInfo.C: bring C functions into global namespace when
13648         necessary
13649
13650 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * LString.h: make sure config.h has been loaded before LString.h.
13653
13654         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
13655         (one for each char read by EatLine!).
13656
13657         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
13658         variables.
13659
13660 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13661
13662         * paragraph.C (BreakParagraph): set the inset_owner in the new par
13663         to the same as the par we break from
13664
13665 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13666
13667         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
13668
13669         * MenuBackend.C (expand): also create menu entries for wide
13670         versions of the floats.
13671
13672         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
13673
13674         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
13675
13676         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
13677         frontends/Makefile.am
13678
13679         * text2.C: adjust
13680         * text.C: adjust
13681
13682
13683         * tabular.C (getTokenValue): add std::
13684
13685         * tabular-old.C (getTokenValue): add std::
13686         (getTokenValue): ditto
13687         (getTokenValue): ditto
13688
13689         * screen.C (ToggleSelection): adjust
13690
13691         * lyxtext.h: put selection cursors inside a Selection struct.
13692
13693         * lyxfunc.C (moveCursorUpdate): adjust
13694
13695         * lyxfont.C (latexWriteStartChanges): add std::
13696
13697         * lyxfind.C: adjust
13698
13699         * font.h: delete with(char const *, LyXFont const &)
13700
13701         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
13702
13703         * FontInfo.C (getFontname): add std::
13704
13705         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
13706         (workAreaButtonPress): adjust
13707         (tripleClick): adjust
13708         (update): adjust
13709         (moveCursorUpdate): adjust
13710         (Dispatch): adjust
13711
13712         * BufferView2.C (gotoInset): adjust
13713
13714 2001-05-30  Juergen Vigna  <jug@sad.it>
13715
13716         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
13717         to check pspell I add this as default as I now have new pspell
13718         libraries and they seem to use this.
13719
13720 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13721
13722         * text2.C (CutSelection): make the cursor valid before the call to
13723         ClearSelection.
13724
13725 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13726
13727         * kbsequence.C (parse): de-uglify a bit the parsing code, which
13728         relied on 0 terminated strings and other horrors. Bug found due to
13729         the new assert in lyxstring!
13730
13731         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
13732         KP_ keys.
13733
13734 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13735
13736         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
13737         to latinkeys.bind.
13738
13739         * lyxfunc.C (processKeySym): change method of getting to the
13740         self-insert char.
13741
13742         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
13743         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
13744         * BufferView_pimpl.[Ch]: here as private methods.
13745
13746 2001-05-28  Juergen Vigna  <jug@sad.it>
13747
13748         * text.C (SetHeightOfRow): added the update() call again as it is
13749         needed to initialize inset dimensions!
13750
13751 2001-05-16  Juergen Vigna  <jug@sad.it>
13752
13753         * text2.C (SetCharFont): Add new function with BufferView * and
13754         bool toggleall parameters for setting insets internal fonts.
13755         (SetFont): Freeze the undo as we may change fonts in Insets and
13756         all this change should be inside only one Undo!
13757
13758         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
13759         setting font's in insets as for them we have the SetFont function!
13760
13761 2001-05-15  Juergen Vigna  <jug@sad.it>
13762
13763         * text2.C (ClearSelection): to be sure we REALLY don't have any
13764         selection anymore!
13765
13766         * tabular.C (TeXCellPreamble): fixed the left border problem for
13767         multicolumn cells.
13768
13769 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
13770
13771         * LaTeX.C (deplog): Make sure that the main .tex file is in the
13772         dependancy file
13773
13774 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13775
13776         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
13777         LFUN_BREAKPARAGRAPH.
13778
13779         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
13780         help test to "internal only", similar for LFUN_INSERT_URL
13781
13782         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
13783         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
13784         auto_region_delete and deadkeys.
13785
13786 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
13787
13788         * LColor.h:
13789         * LColor.C: remove some dead entries, tidy a little
13790
13791 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13792
13793         * lyxfunc.C (processKeySym): comment the Escape handling, remove
13794         commented code.
13795         (Dispatch): implement LFUN_ESCAPE
13796
13797         * commandtags.h: add LFUN_ESCAPE
13798
13799         * LyXAction.C (init): add entry for LFUN_ESCAPE
13800
13801         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
13802         Remove commented code.
13803         (insertNote): moved here
13804         (open_new_inset): moved here
13805
13806         * BufferView[2].[Ch]: move insertNote and open_new_inset to
13807         BufferView_pimpl
13808
13809 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13810
13811         * kbmap.C (findbinding): clean it up and make it work correctly.
13812
13813         * lyx_main.C (init): do not pass argc and argv as parameters
13814
13815 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
13816
13817         * buffer.C: fix path for OS/2 & Win32
13818
13819         * lyx_gui.C:
13820         * lyx_main:
13821         * lyx_main.C: Added os:: class.
13822
13823         * os2_defines.h: update
13824
13825 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13826
13827         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
13828         better by trying again with reduced state.
13829
13830 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13831
13832         * lyxrc.C (read): print error about invalid key sequence only when
13833         debugging (because not all latinX keysyms are known to some X
13834         servers)
13835
13836         * kbsequence.C (getiso): add a few std:: qualifiers
13837         (getiso): comment out extra return statement.
13838
13839 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13840
13841         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
13842         handling.
13843         (Dispatch): enhance the accent inset a bit. (not perfect)
13844
13845 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13846
13847         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
13848
13849 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13850
13851         * bufferlist.C (emergencyWrite): fix assert() call
13852
13853 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
13854
13855         * text.C (InsertChar): Added trivial patch to only send the "you
13856         can not do multiple spaces this way" message once during a
13857         session.
13858
13859 2001-05-08  Baruch Even  <baruch@lyx.org>
13860
13861         * Makefile.am: Changed order of libraries to get LyX to link properly
13862         with the gnome frontend.
13863
13864 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13865
13866         * LaTeXFeatures.h: add a std:: qualifier
13867
13868 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13869
13870         * paragraph.C (String): use stringstream
13871
13872 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13873
13874         * paragraph.C (writeFile): remove footflag arg
13875
13876         * buffer.C (makeLaTeXFile): use stringstream
13877         (latexParagraphs): remove footnot gurba
13878
13879         * LaTeXFeatures.C (getPackages): use stringstream
13880         (getMacros): likewise
13881         (getTClassPreamble): likewise
13882         (getFloatDefinitions): new method
13883
13884         * paragraph.C (writeFile): reindent
13885         (Erase): reindent
13886
13887         * WorkArea.h: revert the xpos + etc changes.
13888
13889         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
13890
13891         * lyxparagraph.[Ch]: add copy constructor, remove Clone
13892
13893         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
13894         (pasteSelection): likewise
13895         * text2.C (CreateUndo): likewise
13896
13897 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13898
13899         * minibuffer.C (peek_event): temporarily reduce the functionality
13900         of the minibuffer (to allow args on lfuns)
13901
13902         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
13903         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
13904
13905         * buffer.C (readInset): add compability reading of old float
13906         lists, add reading of new style float list.
13907         (readInset): avoid reevaluation of inscmd.getCmdName()
13908         (getLists): reindent
13909
13910         * MenuBackend.C (MenuItem): implement parsing of
13911         md_floatlistinsert and md_floatinsert.
13912         (expand::LastFiles): move initalizaton of iterators out of loop,
13913         avoid reevaluation.
13914         (expand::Documents): introduce typdedef vector<string> Strings,
13915         and use it.
13916         (expand::ExportFormats): introduce typedef vector<Format const *>
13917         Formats, and use it.
13918         (expand): implement FloatListInsert and FloatInsert.
13919
13920         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
13921         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
13922         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
13923
13924         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
13925         handling.
13926         (Dispatch::LFUN_FLOAT_LIST): implement
13927
13928 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13929
13930         * LaTeX.C (run): Fix problem with --export code.
13931
13932 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
13933
13934         * BufferView.[Ch] (workarea): removed.
13935         (getClipboard) new method; wrapper for workarea()->getClipboard()
13936
13937         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
13938         bug.
13939
13940         * WorkArea.h (width, height, xpos, ypos): These methods all
13941         returned the dimensions of the work_area sub-area of WorkArea,
13942         resulting in a position error if the WorkArea were resized. Now
13943         return the dimensions of the entire WorkArea.
13944
13945         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
13946
13947 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13948
13949         * LaTeX.C (deplog): correct the syntax of regex reg1
13950
13951 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13952
13953         * undo.C: remove !NEW_INSETS cruft
13954
13955 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13956
13957         * text2.C: remove !NEW_INSETS cruft
13958
13959         * text.C: remove !NEW_INSETS cruft
13960
13961         * tabular.C: remove !NEW_INSETS cruft
13962
13963         * spellchecker.C: remove !NEW_INSETS cruft
13964
13965         * lyxtext.h: remove !NEW_INSETS cruft
13966
13967         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
13968
13969         * lyxfunc.C: remove !NEW_INSETS cruft
13970
13971         * lyxfind.C: remove !NEW_INSETS cruft
13972
13973         * lyx_cb.C: remove !NEW_INSETS cruft
13974
13975         * figureForm.C: remove  !NEW_INSETS cruft
13976
13977         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
13978
13979         * buffer.[Ch]: remove !NEW_INSETS cruft
13980
13981         * ToolbarDefaults.C: remove !NEW_INSETS cruft
13982
13983         * CutAndPaste.C: remove !NEW_INSETS cruft
13984
13985         * BufferView_pimpl.C: remove !NEW_INSETS cruft
13986
13987         * BufferView2.C: remove !NEW_INSETS cruft
13988
13989         * BufferView.h: remove !NEW_INSETS cruft
13990
13991 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13992
13993         * Lsstream.h: include LString.h before the sstream headers to
13994         fix problem with gcc 2.95.3 and lyxstring
13995
13996 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13997
13998         * lyx_main.C: add using directives when needed for C functions
13999         declared in std:: namespace.
14000
14001 2001-04-27  Juergen Vigna  <jug@sad.it>
14002
14003         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14004         (SetHeightOfRow): comment out the update call should not be needed!
14005
14006 2001-04-13  Juergen Vigna  <jug@sad.it>
14007
14008         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14009         (LyXTabular): tried to minimize operator= operations (and realized
14010         hopfully Lars wish).
14011
14012 2001-04-27  Juergen Vigna  <jug@sad.it>
14013
14014         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14015
14016 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14017
14018         * lyxfunc.C (Dispatch): hack to make listof algorithm work
14019
14020         * buffer.C (readInset): hack to make listof algorithm work
14021
14022         * BufferView_pimpl.C: hack to make listof algorithm work
14023
14024 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14025
14026         * LyXAction.C: removed all !NEW_INSETS cruft
14027         (init): moved lfun_item in method
14028
14029         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14030
14031 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14032
14033         * BufferView2.C (theLockingInset): white space.
14034
14035 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14036
14037         * minibuffer.C: include <iostream>
14038
14039         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14040
14041         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14042
14043         * commandtags.h: add LFUN_TRANSPOSE_CHARS
14044
14045         * text.[Ch] (TransposeChars): new method
14046
14047 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14048
14049         * call message directly through LyXView instead of through LyXFunc
14050         * BufferView2.C: adjust
14051         * BufferView_pimpl.C: adjust
14052         * FontLoader.C: adjust
14053         * buffer.C: adjust
14054         * bufferview_funcs.C: adjust
14055         * converter.C: adjust
14056         * figureForm.C: adjust
14057         * importer.C: adjust
14058         * lyx_cb.C: adjust
14059         * lyx_gui_misc.C: adjust
14060         * lyxfunc.C: adjust
14061         * lyxvc.C: adjust
14062         * text2.C: adjust
14063         + more files in subdirs
14064
14065         * lyxparagraph.h (size): move up int file
14066         (GetLayout): ditto
14067
14068         * adjust all uses of Assert to lyx::Assert.
14069
14070         * BufferView2.C (ChangeCitationsIfUnique): adjust for
14071         lyxfunctional in namespace lyx
14072         * layout.C (hasLayout): ditto
14073         (GetLayout): ditto
14074         (GetLayout): ditto
14075         (delete_layout): ditto
14076         (NumberOfClass): ditto
14077         * converter.C (GetFormat): ditto
14078         (GetNumber): ditto
14079         (Add): ditto
14080         (Delete): ditto
14081         (SetViewer): ditto
14082         * bufferlist.C (getFileNames): ditto
14083         (emergencyWriteAll): ditto
14084         (exists): ditto
14085         (getBuffer): ditto
14086         * MenuBackend.C (hasSubmenu): ditto
14087         (hasMenu): ditto
14088         (getMenu): ditto
14089         * BufferView_pimpl.C (getInsetByCode): ditto
14090
14091 2001-04-18  Juergen Vigna  <jug@sad.it>
14092
14093         * vspace.C (asLatexString): fixed the 100% problem.
14094
14095 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14096
14097         * lyxfunc.C (Dispatch):
14098         * minibuffer.C:
14099         * minibuffer.h: add a few std:: qualifiers
14100
14101 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14102
14103         * minibuffer.[Ch]: reimplement so that commands is initiated and
14104         run from lyxfunc, simplified som handling, and made the completion
14105         and history code for complete. wip.
14106
14107         * lyxfunc.C (processKeySym): call message
14108         (miniDispatch): new temporary method
14109         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
14110         (LFUN_MESSAGE): implement
14111         (LFUN_MESSAGE_PUSH): implement
14112         (LFUN_MESSAGE_POP): implement
14113         (initMiniBuffer): the initial/defualt minibuffer message.
14114
14115         * lyxfont.[Ch]: inline some more getters
14116
14117         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
14118
14119         * lyx_gui_misc.[Ch] (WriteStatus): remove method
14120
14121         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
14122         (AutoSave): use LFUN_MESSAGE
14123         (Reconfigure): ditto
14124
14125         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
14126
14127         * figureForm.C: use LFUN_MESSAGE
14128
14129         * converter.C (runLaTeX): use LFUN_MESSAGE
14130
14131         * bufferview_funcs.C: use LFUN_MESSAGE
14132         (Melt): ditto
14133         (changeDepth): ditto
14134
14135         * bufferparams.h: use boost::
14136
14137         * bufferlist.h: inherit privately from noncopyable
14138
14139         * bufferlist.C (loadLyXFile): remove some commented code.
14140
14141         * buffer.C (runChktex): use LFUN_MESSAGE
14142
14143         * ShareContainer.h: inherit privately from noncopyable
14144
14145         * ParagraphParameters.[hC] (depth): inline it.
14146
14147         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
14148         methods.
14149         (message): new method
14150         (messagePush): ditto
14151         (messagePop): ditto
14152         (show): init minibuffer
14153         (showState): direct call
14154
14155         * LaTeX.[Ch]: inherit privately from noncopyable
14156         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
14157         instead of WriteStatus.
14158
14159         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
14160
14161         * BufferView_pimpl.C (buffer): don't init minibuffer
14162         (workAreaButtonPress): use LFUN_MESSAGE
14163         (workAreaButtonRelease): ditto
14164         (savePosition): ditto
14165         (restorePosition): ditto
14166         (MenuInsertLyXFile): ditto
14167         (workAreaExpose): don't init minibuffer
14168         (update): remove commented code, simplify
14169
14170         * BufferView2.C (openStuff): use LFUN_MESSAGE
14171         (toggleFloat): ditto
14172         (menuUndo): ditto
14173         (menuRedo): ditto
14174         (copyEnvironment): ditto
14175         (pasteEnvironment): ditto
14176         (copy): ditto
14177         (cut): ditto
14178         (paste): ditto
14179         (gotoInset): ditto
14180         (updateInset): remove some commented code
14181
14182         * lastfiles.h: inherit privately from noncopyable
14183         * layout.h: ditto
14184         * lyx_gui.h: ditto
14185         * lyx_main.h: ditto
14186         * lyxlex.h: ditto
14187         * lyxlex_pimpl.h: ditto
14188
14189         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
14190         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
14191         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14192
14193         * LyXAction.h: inherit privately from noncopyable, add methods
14194         func_begin, func_end, returning iterators to the func map.
14195
14196         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
14197         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
14198         (func_begin): new method
14199         (func_end): new method
14200
14201         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
14202         and not)
14203         (copySelection): ditto
14204         (pasteSelection): ditto
14205
14206         * BufferView.C: whitespace change
14207         * BufferView.h: inherit privately from noncopyable
14208
14209 2001-04-16  Allan Rae  <rae@lyx.org>
14210
14211         * tabular-old.C (l_getline):
14212         * spellchecker.C (sc_check_word):
14213         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
14214         an unrecognised preprocessor directive.  So ensure they're wrapped.
14215
14216 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
14217
14218         * src/exporter.C (Export): Give an error message when path to file
14219         contains spaces.
14220
14221 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
14222
14223         * LaTeX.C (deplog): Always check that foundfile exists.
14224
14225 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14226
14227         * lyx_main.h:
14228         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
14229
14230 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14231
14232         * tabular.[Ch] (getLabelList): implement new method
14233
14234         * minibuffer.h: comment ouf setTiimer
14235
14236         * minibuffer.C (ExecutingCB): constify res
14237         (peek_event): constify s
14238         (Set): constify ntext
14239         (Init): constify nicename
14240
14241         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
14242
14243         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
14244         (savePosition): use two params to Minibuffer::Set
14245         (restorePosition): ditto
14246
14247 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14248
14249         * lyx_main.C: include language.h
14250
14251         * Makefile.am (lyx_main.o): add language.h
14252
14253 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14254
14255         * exporter.C:
14256         * paragraph.C:
14257         * screen.C:
14258         * tabular.C:
14259         * CutAndPaste.C: include gettext.h
14260
14261         * lyxfont.h: remove old hack with ON and OFF.
14262
14263         * lyxparagraph.h:
14264         * lyxfont.h: do not include language.h...
14265
14266         * BufferView2.C:
14267         * LaTeXFeatures.C:
14268         * Painter.C:
14269         * bufferview_funcs.C:
14270         * font.C:
14271         * lyxfont.C:
14272         * text.C:
14273         * text2.C:
14274         * trans_mgr.C:
14275         * paragraph.C: ... but do it here instead
14276
14277 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14278
14279         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
14280
14281         * tabular.C: small reformat
14282
14283         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
14284         NEW_INSETS version
14285         (GetChar): ditto
14286         (BreakParagraph): ditto
14287         (SetOnlyLayout): ditto
14288         (SetLayout): ditto
14289
14290         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
14291         with one arg less.
14292
14293         * lastfiles.C: removed most using decl, add std:: where needed
14294
14295         * buffer.C: ws changes
14296
14297         * MenuBackend.C (class compare_format): put into anon namespace
14298         (expand): constify label, names, action, action2
14299         (expand):
14300
14301         * text.C (SingleWidth): constify font
14302         (IsBoundary): constify rtl2
14303         (GetVisibleRow): constify ww
14304
14305         * LaTeX.C (deplog): constify logfile
14306
14307         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
14308         start_x, end_x
14309         (workAreaExpose): constify widthChange, heightChange
14310
14311         * lyxrow.C (par): moved
14312         (height): moved
14313         (next): moved
14314         * lyxrow.h: as inlines here
14315
14316         * lyxfont.h (shape): moved from lyxfont.C
14317         (emph): moved from lyxfont.C
14318
14319         * lyxfont.C (LyXFont): use initialization list for all
14320         constructors
14321         (shape): move to lyxfont.h as inline
14322         (emph): move to lyxfont.h as inline
14323
14324
14325 2001-04-04  Juergen Vigna  <jug@sad.it>
14326
14327         * vspace.C: had to include stdio.h for use of sscanf
14328
14329 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
14330
14331         * BufferView.h:
14332         * BufferView_pimpl.h: remove xforms cruft. Both classes are
14333         independent of xforms.
14334
14335 2001-04-02  Juergen Vigna  <jug@sad.it>
14336
14337         * spellchecker.C: fixed namespace placing!
14338
14339 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
14340
14341         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
14342         the LyXParagraph * is 0.
14343
14344 2001-03-29  Juergen Vigna  <jug@sad.it>
14345
14346         * vspace.C: added support for %, c%, p%, l%.
14347         (stringFromUnit): added helper function.
14348         (asLatexString): changed to give right results for the %-values.
14349
14350         * buffer.C: convert the widthp in a width%.
14351
14352 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
14353
14354         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
14355         figureForm.[Ch].
14356
14357         * figureForm.[Ch]: stripped the FD_from_figure manipulation
14358         code out of lux_cb.[Ch], ready for its (imminent?) removal.
14359
14360         * lyx_cb.[Ch]: see above.
14361
14362         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
14363         form1.[Ch].
14364
14365         * form1.[Ch]:
14366         * lyx.[Ch]: replaced by figure_form.[Ch].
14367
14368         * lyx_gui.C:
14369         * lyx_gui_misc.C:
14370         * lyxfunc.C: changed headers associated with above changes.
14371
14372 2001-03-27  Juergen Vigna  <jug@sad.it>
14373
14374         * BufferView_pimpl.C: set the temporary cursor right!
14375
14376 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
14377
14378         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
14379
14380 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
14381
14382         * LString.h: removed "using std::getline"!
14383
14384         * BufferView_pimpl.C (Dispatch): changes due to changes in
14385         InsetInclude::Params.
14386
14387         * buffer.C (tag_name): removed redundant break statements as they were
14388         producing lots of warnings with my compiler.
14389
14390 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14391
14392         * LString.h: add "using std::getline" when using the real <string>.
14393
14394 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
14395
14396         * buffer.C: removed bitset usage.
14397         PAR_TAG moved to an anonymous name space.
14398         (tag_name): new funtion, also in the anonymous namespace.
14399         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
14400         (makeDocBookFile): clean code. Completed transition from string arrays
14401         to string vectors.
14402         (SimpleDocBookOnePar): code clean.
14403
14404 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14405
14406         * tabular.C: add some comments.
14407
14408 2001-03-22  Juergen Vigna  <jug@sad.it>
14409
14410         * buffer.C (parseSingleLyXformat2Token): redone the minipage
14411         compatibility read a bit and fixed bug with minipage in different
14412         depth.
14413
14414 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
14415
14416         * buffer.C (pop_tag): removed.
14417         (push_tag): removed.
14418         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
14419         array replaced with vector. Added support for CDATA sections.
14420         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
14421         at any nest level.
14422         (makeDocBookFile): XML conformant declaration of CDATA section,
14423         fixed bug related to <emphasis> in the first paragraph char.
14424         (sgmlOpenTag): exclude empty tags.
14425         (sgmlCloseTag): ditto.
14426
14427         * buffer.h (pop_tag): removed.
14428         (push_tag): removed.
14429
14430 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
14431
14432         * language.h (Languages): added size_type and size().
14433
14434 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14435
14436         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
14437         response on compability reading of minipages. One probliem is that
14438         the old usage of minipages was «flertydig»
14439
14440         * several files here and in subdirs: don't use static at file
14441         scope use anon namespaces instead.
14442
14443 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
14444
14445         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
14446         LaTeX output. This is necessary for Literate document
14447         processing.
14448
14449 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14450
14451         * buffer.C: insert hfill when needed.
14452
14453         * tabular.C (l_getline): use string::erase, small whitespace change.
14454
14455         * BufferView_pimpl.C: try the anon namespace.
14456         * WorkArea.C: ditto
14457
14458 2001-03-16  Juergen Vigna  <jug@sad.it>
14459
14460         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
14461         otherwise it won't open options-dialogs.
14462
14463         * buffer.C: honor pextraWidth(p) on converting minipages.
14464
14465         * tabular.C (l_getline): changed the functions to strip trailing \r.
14466
14467 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
14468
14469         * BufferView_pimpl.C:
14470         * minibuffer..C: added "using SigC::slot" declaration.
14471
14472 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14473
14474         * lyxlex_pimpl.h: noncopyable is in namespace boost.
14475
14476         * text2.C: ditto
14477
14478         * text.C: ditto
14479
14480         * paragraph.C: ditto
14481
14482         * lyxtext.h: NO_PEXTRA
14483
14484         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
14485
14486         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
14487         * ParameterStruct.h: ditto
14488         * ParagraphParameters.h: ditto
14489         * lyxparagraph.h: ditto
14490
14491 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14492
14493         * buffer.C: add compability for minipage alignment.
14494         (latexParagraphs): remove unwanted pextra check.
14495
14496         * several files: remove CXX_WORKING_NAMESPACES
14497
14498         * buffer.C (pop_tag): tie is in namespace boost
14499
14500         * BufferView.h: noncopyable is in namespace boost
14501         * lyxlex.h: ditto
14502         * lyx_main.h: ditto
14503         * lyx_gui.h: ditto
14504         * layout.h: ditto
14505         * lastfiles.h: ditto
14506         * bufferlist.h: ditto
14507         * ShareContainer.h: ditto
14508         * LyXView.h: ditto
14509         * LyXAction.h: ditto
14510         * LaTeX.h: ditto
14511
14512 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14513
14514         * Merging changes from BRANCH_MVC back into HEAD.
14515
14516         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
14517
14518 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
14519
14520         * BufferView_pimpl.C: change from intl.C
14521
14522         * combox.h:
14523         * combox.C:
14524         * Makefile.am: move combox.*
14525
14526         * form1.h:
14527         * form1.C:
14528         * lyx_gui.C:
14529         * intl.h:
14530         * intl.C: remove dialog (covered by prefs)
14531
14532 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
14533
14534         * lyxfunc.C (Dispatch): removed redundant break statement.
14535
14536 2001-03-14  Juergen Vigna  <jug@sad.it>
14537
14538         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
14539
14540 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14541
14542         * buffer.C: add hack to fix compability reading of minipages.
14543
14544 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
14545
14546         * buffer.C (getLists): Cleanup.
14547
14548 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * lyxfont.C (update): don't honor toggleall on font size.
14551
14552 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
14553
14554         * bmtable.c:
14555         * bmtable.h:
14556         * Makefile.am: moved to frontends/xforms/
14557
14558         * lyx_gui_misc.C:
14559         * lyxfunc.C:
14560         * BufferView_pimpl.C: changes for moved mathpanel
14561
14562 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14563
14564         * gettext.h: fix gettext_init() in --disable-nls
14565
14566 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14567
14568         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
14569
14570 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * lyx.C:
14573         * lyx.h: strip external form
14574
14575 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14576
14577         * BufferView_pimpl.C: add comment, destroySplash()
14578
14579 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
14580
14581         * BufferView_pimpl.C:
14582         * LyXAction.C:
14583         * buffer.C:
14584         * commandtags.h:
14585         * lyxfunc.C: use re-worked insetinclude
14586
14587 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14588
14589         * buffer.C: add using std::stringstream.
14590
14591         * lyx_cb.C: readd using std::ios.
14592
14593         * buffer.C: add using std::map.
14594
14595         * BufferView_pimpl.C: add using std::vector.
14596
14597         * ShareContainer.h: add std:: to swap.
14598
14599         * buffer.h: add some typedefs
14600         * buffer.C (getLists): use them
14601         (getLists): renamed from getTocList.
14602         add a counter for the different float types and use it in the
14603         generated string.
14604         (getLists): use the same counter for the NEW_INSETS and the "non"
14605         NEW_INSETS
14606
14607         * lyx_cb.h: remove unused items, includes, using etc.
14608
14609         * ShareContainer.h: remove some commented code, add more comments
14610         and "documentation".
14611
14612 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14613
14614         * buffer.C (getTocList): make the list also when NEW_INSETS is
14615         defined.
14616
14617         * buffer.h: remove TocType
14618
14619         * buffer.C (getTocList): change to return a map<string,
14620         vector<TocItem> >, implement for dynamic number of list.
14621
14622         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
14623         * text2.C (PasteSelection): adjust
14624         * CutAndPaste.C (pasteSelection): adjust
14625
14626         * FloatList.C (FloatList): update from the new_insets branch.
14627         * Floating.[Ch]: ditto
14628         * LaTeXFeatures.C: ditto
14629         * buffer.C: ditto
14630         * lyxlex_pimpl.C: ditto
14631
14632         * paragraph.C (Last): remove when NEW_INSETS is defined.
14633
14634         * other file: changes because of the above.
14635
14636 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14637
14638         * lyxparagraph.h: rename next to next_, previous to previous_,
14639         make them private for NEW_INSETS. Rename Next() to next(),
14640         Previous() to previous().
14641
14642         * other files: changes because of the above.
14643
14644 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
14645
14646         * BufferView.h:
14647         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
14648         problem.
14649
14650 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14651
14652         * main.C (main): pass lyx_localedir to gettext_init().
14653
14654         * gettext.h: remove locale_init and gettext_init macros
14655
14656         * gettext.C (locale_init): new function
14657         (gettext_init): new function
14658
14659         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
14660         setlocale().
14661
14662 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
14663
14664         * Moved credits to frontends:
14665         * credits.[Ch]: removed
14666         * credits_form.[Ch]: removed
14667         * lyx_gui_misc.C: remove credits stuff
14668         * Makefile.am:
14669
14670 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14671
14672         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
14673
14674         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
14675         unneeded destructor.
14676
14677         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
14678         a standalone pointer again.
14679
14680         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
14681
14682 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
14683
14684         * Makefile.am:
14685         * filedlg.h:
14686         * filedlg.C:
14687         * LyXAction.C:
14688         * ToolbarDefaults.C:
14689         * bufferlist.C:
14690         * commandtags.h:
14691         * form1.C:
14692         * form1.h:
14693         * lyx_cb.C:
14694         * lyx_cb.h:
14695         * lyxfunc.h:
14696         * lyxfunc.C:
14697         * BufferView_pimpl.C: use new file dialog in GUII
14698
14699         * lyx_cb.h:
14700         * lyx_cb.C: remove LayoutsCB to Toolbar
14701
14702 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14703
14704         * ShareContainer.h (get): add std:: qualifier
14705
14706 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14707
14708         * ShareContainer.h: define a proper ShareContainer::value_type
14709         type (and use typename to please compaq cxx)
14710
14711 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14712
14713         * lyxparagraph.h: move serveral local vars to
14714         ParameterStruct/ParagraphParameters., use ShareContainer in
14715         FontTable., make vars in FontTable private and add getter and
14716         setter.
14717
14718         * paragraph.C: changes because of the above.
14719
14720         * lyxfont.h: remove copy constructor and copy assignment. (the
14721         default ones is ok), move number inside FontBits. move inlines to
14722         lyxfont.C
14723
14724         * lyxfont.C: add number to initializaton of statics, move several
14725         inlines here. constify several local vars. some whitespace
14726         cleanup. Dont hide outerscope variables.
14727
14728         * Spacing.h: add two new constructors to match the set methods.
14729
14730         * ShareContainer.h: new file, will perhaps be moved to support
14731
14732         * ParameterStruct.h: new file
14733
14734         * ParagraphParameters.h: new file
14735
14736         * ParagraphParameters.C: new file
14737
14738         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
14739         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
14740
14741         * BufferView_pimpl.C: ParagraphParameter changes.
14742         * buffer.C: Likewise.
14743         * bufferview_funcs.C: Likewise.
14744         * text.C: Likewise.
14745         * text2.C: Likewise.
14746
14747 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14748
14749         * lyxfind.C (LyXReplace): do not redefine default argument in
14750         implementation.
14751         (IsStringInText): ditto
14752         (SearchForward): ditto
14753         (SearchBackward): ditto
14754
14755 2001-03-06  Juergen Vigna  <jug@sad.it>
14756
14757         * lyxfind.C (IsStringInText): put parentes around expressions.
14758
14759 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
14760
14761         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
14762
14763 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
14764
14765         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
14766
14767         * stl_string_fwd.h: add comment
14768
14769         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
14770
14771         * tabular.h:
14772         * tabular.C: remove unused DocBook methods
14773
14774         * intl.C:
14775         * language.C:
14776         * paragraph.C:
14777         * buffer.C:
14778         killed DO_USE_DEFAULT_LANGUAGE
14779
14780 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14781
14782         * lyx_gui.C: do not include language.h.
14783
14784         * bufferview_funcs.C (ToggleAndShow): do not provide optional
14785         arguments in function implementation.
14786
14787 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14788
14789         * BufferView_pimpl.C: add <ctime>
14790
14791 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14792
14793         * BufferView_pimpl.C: add using std::find_if
14794
14795 2001-02-27  José Matos  <jamatos@fep.up.pt>
14796
14797         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
14798         by OnlyPath.
14799
14800 2001-02-11  José Matos  <jamatos@fep.up.pt>
14801
14802         * buffer.C (makeDocBookFile): command styles now have a parameter as
14803         "title" by default.
14804
14805 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
14806
14807         * layout_forms.[Ch]: removed
14808         * lyx_cb.[Ch]: out character
14809         * lyx_gui.C: out character
14810         * lyx_gui_misc.C: out character
14811         * bufferview_funcs.C: : out character,
14812         added toggleall as parameter in ToggleAndShow
14813
14814 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
14815
14816         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
14817
14818         * text2.C (SetCurrentFont): Disable number property at boundary.
14819
14820 2001-02-26  Juergen Vigna  <jug@sad.it>
14821
14822         * lyxfunc.C (getStatus): added a string argument override function so
14823         that this is correctly called from LyXFunc::Dispatch if it contains a
14824         do_not_use_argument which is used!
14825         (Dispatch): added check for "custom" export and call appropriate func.
14826
14827 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
14828
14829         * lyxrc.C: Add language_command_local, language_use_babel and
14830         language_global_options.
14831
14832         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
14833
14834         * buffer.C (makeLaTeXFile): Use language_use_babel and
14835         language_global_options.
14836
14837 2001-02-23  Juergen Vigna  <jug@sad.it>
14838
14839         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
14840         which works with LyXText and putted it inside BufferView. Here now we
14841         only call for that part the BufferView::Dispatch() function.
14842
14843         * BufferView.C (Dispatch): added.
14844
14845         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
14846         functions which needs to use a LyXText over from LyXFunc.
14847         (MenuInsertLyXFile): added
14848         (getInsetByCode): added
14849         (moveCursorUpdate): added
14850         (static TEXT): added
14851
14852 2001-02-22  Juergen Vigna  <jug@sad.it>
14853
14854         * BufferView_pimpl.C (update): call a status update to see if LyXText
14855         needs it.
14856
14857 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
14858
14859         * vc-backend.C (revert): implement for CVS
14860         (getLog): implement for CVS
14861
14862 2001-02-20  Juergen Vigna  <jug@sad.it>
14863
14864         * text2.C (ClearSelection): added BufferView param for inset_owner call
14865
14866         * lyxfunc.C (TEXT): added this function and use it instead of
14867         directly owner->view()-text of getLyXText().
14868
14869 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
14870
14871         * src/layout_forms.C: out preamble
14872         * src/layout_forms.h: out preamble
14873         * src/lyx_cb.C: out preamble
14874         * src/lyx_cb.h: out preamble
14875         * src/lyx_gui.C: out preamble
14876         * src/lyx_gui_misc.C: out preamble
14877         * src/lyxfunc.C: connect with guii preamble
14878
14879 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
14880
14881         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
14882
14883 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
14884
14885         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
14886         whether to run bibtex.
14887
14888 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
14889
14890         * Makefile.am (lyx_SOURCES): Remove BackStack.h
14891
14892 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
14893
14894         * Makefile.am (lyx_SOURCES): removed bibforms.h
14895
14896         * vspace.h: doxygen
14897
14898         * text.C (GetVisibleRow): make several local vars const
14899
14900         * tabular.C: small cleanup.
14901
14902         * lyxserver.C (callback): use compare instead of strncmp
14903
14904         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
14905         inlines to after class or to paragraph.C
14906
14907         * lyxfont.h: remove friend operator!=
14908
14909         * converter.h: move friend bool operator< to non friend and after
14910         class def.
14911
14912         * combox.h: small cleanup
14913
14914         * buffer.h: doxygen, remove unused constructor, move inclas inlies
14915         to inlines after class def.
14916
14917         * buffer.C (pop_tag): use string operations instead of strcmp
14918
14919         * bmtable.c: doxygen, small cleanup
14920
14921         * LaTeX.h: remove friend operator==
14922
14923 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
14924
14925         * screen.C:
14926         * lyxrc.[Ch]:
14927         * lyxfunc.C:
14928         * lyxfont.[Ch]:
14929         * lyx_cb.C:
14930         * intl.[Ch]:
14931         * commandtags.h:
14932         * buffer.C:
14933         * WorkArea.[Ch]:
14934         * LyXAction.C:
14935         * BufferView_pimpl.C:
14936         * BufferView.[Ch]: remove cruft
14937
14938 2001-02-14  Juergen Vigna  <jug@sad.it>
14939
14940         * lyxfunc.C: removed #if 0 unused code
14941
14942         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
14943
14944         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
14945
14946         * text2.C (SetSelection): added a BufferView * parameter
14947
14948 2001-02-13  Juergen Vigna  <jug@sad.it>
14949
14950         * lyxfunc.C (Dispatch): fixed protected blank problem.
14951         * BufferView2.C (protectedBlank): added LyxText * parameter.
14952
14953         * tabular.C (AppendRow): forgot to set row_info of newly added row.
14954         (AppendColumn): same as above for column_info.
14955
14956         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
14957         (moveCursorUpdate): use a LyXText param for support of InsetText.
14958
14959         * BufferView_pimpl.C (doubleClick): added support for InsetText.
14960         (tripleClick): ditto
14961
14962         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
14963
14964         * BufferView_pimpl.C (update): added LyXText param to honor insets.
14965
14966         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
14967
14968         * text2.C (SetSelection): set correct update status if inset_owner
14969         (ToggleFree): ditto
14970
14971 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
14972
14973         * tabular.C: remove some commented code.
14974
14975 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
14976
14977         * BufferView_pimpl.C: call hideSplash()
14978
14979         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
14980
14981         * include_form.h:
14982         * bibforms.h: remove
14983
14984         * lyxfunc.C:
14985         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
14986           add LFUN_CHILD_CREATE
14987
14988         * counters.h: fix tiny typo
14989
14990         * lyx_cb.C:
14991         * lyx.h:
14992         * lyx_gui.C:
14993         * lyx.C: move splash to frontends/xforms/
14994
14995         * lyx_gui_misc.C: move Include and Bibform to frontends
14996
14997         * lyxvc.h: clarify comment
14998
14999         * vspace.C: tiny housekeeping
15000
15001 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15002
15003         * text.C (PrepareToPrint): RTL Fix.
15004
15005         * paragraph.C (GetUChar): New method.
15006         (String):  Use GetUChar.
15007
15008         * buffer.C (asciiParagraph): Use GetUChar.
15009
15010 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15011
15012         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15013
15014 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15015
15016         * buffer.h:
15017         * buffer.C: rename to getLogName(), handle
15018           build log / latex log nicely
15019
15020 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15021
15022         * MenuBackend.C:
15023         * MenuBackend.h: remove support for reference menuitem type.
15024
15025 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * BufferView_pimpl.C: housekeeping
15028         * BufferView_pimpl.h:
15029         * LyXView.h:
15030         * Makefile.am:
15031         * Timeout.C:
15032         * Timeout.h:
15033         * minibuffer.h: move Timeout GUI-I
15034
15035 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
15036
15037         * lyxrc.C (read): Update converters data-structures.
15038
15039 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
15040
15041         * LaTeX.h (operator!=): add operator != for Aux_Info
15042
15043 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
15044
15045         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15046
15047         * LaTeXLog.C: deleted, useful code moved to Buffer
15048
15049         * buffer.h:
15050         * buffer.C: new function getLatexLogName()
15051
15052         * lyx_gui_misc.C:
15053         * lyx_gui.C:
15054         * lyxvc.C:
15055         * lyxvc.h:
15056         * lyxfunc.C: use frontends for LaTeX and VC logs
15057
15058 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15059
15060         * LaTeX.h: yet another std:: that Allan forgot.
15061
15062         * Variables.C (set): renamed from isset(), because this clashes
15063         with some HP-UX macros (grr).
15064
15065 2001-02-06  Allan Rae  <rae@lyx.org>
15066
15067         * LaTeX.h: Another bug fix.  Missing std:: this time.
15068
15069 2001-02-04  Allan Rae  <rae@lyx.org>
15070
15071         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15072         floats problem. I've left it commented out because it's not quite
15073         correct.  It should also test that the current object is a table or
15074         figure inset.  But I haven't gotten around to figuring out how to do
15075         that.  I *think* it'll be something like: "table" == inset.type()
15076
15077         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15078         bool.
15079
15080 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
15081
15082         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15083         all the citation/databases/styles in the auxilary file.
15084         (run): Rerun latex if there was a babel language error.
15085
15086 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
15087
15088         * text.C (Backspace): Preserve the font when changing newline char
15089         with a space.
15090         (BreakParagraph): If the cursor is before a space, delete the space.
15091
15092         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
15093
15094 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
15095
15096         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
15097         new argument (code).
15098         (ChangeCitationsIfUnique): New method.
15099
15100         * paragraph.C (GetPositionOfInset): Handle bibkey.
15101
15102 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15103
15104         * BufferView_pimpl.h: change type of Position::par_pos to
15105         LyXParagraph::size_type.
15106
15107 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
15108
15109         * BufferView_pimpl.C (savePosition, restorePosition): Write
15110         messages to minibuffer.
15111
15112 2001-01-28  José Matos  <jamatos@fep.up.pt>
15113
15114         * buffer.C (makeDocBookFile): adds support for document language.
15115         A silly restriction on the name of LatexCommand types where removed.
15116         Added support for CDATA sections, allows to chars unescaped, used
15117         among others in code, to avoid escape < and >.
15118
15119 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15120
15121         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
15122         saved positions instrad of a stack. Furthermore, a position is
15123         stored using paragraph id/paragraph position.
15124
15125         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
15126         Remove LFUN_REF_BACK.
15127
15128 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
15129
15130         * converter.C (dvipdfm_options): New method.
15131
15132 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
15133
15134         * vspace.C (isValidLength): Fix for empty input string.
15135
15136 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15137
15138         * LyXAction.C (init): change description of LFUN_FIGURE to
15139         "Insert Graphics"
15140
15141 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15142
15143         * LaTeX.C: add using directive
15144
15145 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15146
15147         * MenuBackend.C (expand): Fix the sorting of the formats.
15148
15149 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
15150
15151         * lyx_main.C: tiny error message fix
15152
15153 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15154
15155         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
15156         calling fl_initialize(). This fixes the problem with ',' as
15157         decimal separator in text files.
15158
15159 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
15160
15161         * trans.C (process): Fix the keymap bug.
15162
15163 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
15164
15165         * LaTeX.C (scanAuxFiles): New method. Provides support for
15166         multiple bibliographies (when using the bibtopic/bibunits pacakges).
15167         (scanLogFile) Scan for "run BibTeX" messages.
15168
15169         * buffer.C (makeLaTeXFile): Do not load the ae package when using
15170         OT1 font encoding. Also, load the aecompl package if the ae
15171         package is loaded.
15172
15173         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
15174
15175 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15176
15177         * texrow.C (increasePos): turn two error messages into debug
15178         messages.
15179
15180 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
15181
15182         * LaTeX.C (scanAux): Handle the \@input macro.
15183         (runBibTeX): Use scanAux().
15184
15185         * language.C (latex_options_): New field.
15186
15187         * LaTeXFeatures.C (getMacros): Add language macros.
15188
15189         * buffer.C (makeLaTeXFile): Small fix.
15190
15191 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15192
15193         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
15194
15195         * text2.C: add a using directive.
15196
15197 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
15198
15199         * BufferView2.C:
15200         * lyx_gui_misc.h:
15201         * lyxfr1.C:
15202         * lyxfunc.C: kill LyXBell.
15203
15204 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
15205
15206         * text.C (IsBoundary): Remove the error message
15207
15208         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
15209
15210         * lyxrc.C (setDefaults): Correct initialization value for
15211         font_norm_type.
15212
15213 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
15214
15215         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
15216         gotoError().
15217
15218         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
15219         and GotoNextNote().
15220
15221         * src/LyXAction.C: Added reference-next.
15222
15223         * text.C (InsertChar): Use contains instead of strchr.
15224
15225         * lyx_cb.C (MenuInsertLabel): Enable default value code.
15226
15227 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
15228
15229         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
15230         alignment commands (when needed).
15231
15232         * text.C (InsertChar): Add ':' to number separator chars.